*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --ink: #0b0f16;
  --ink-2: #111722;
  --panel: #151c28;
  --panel-2: #1a2230;
  --line: #2b3646;
  --line-soft: #232c3a;
  --lip: #d8204a;
  --lip-deep: #a4133a;
  --lip-glow: rgba(216, 32, 74, 0.55);
  --ice: #e8eef7;
  --ice-dim: #9daabf;
  --ice-faint: #6b788c;
  --amber: #e0a34a;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(120% 60% at 12% 0%, rgba(224, 163, 74, 0.10), transparent 55%),
    radial-gradient(90% 50% at 92% 6%, rgba(32, 96, 176, 0.16), transparent 60%),
    linear-gradient(180deg, #0a0e15 0%, var(--ink) 40%, #090d14 100%);
  background-attachment: fixed;
  color: var(--ice);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100%;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(8, 12, 19, 0.96), rgba(8, 12, 19, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 8px 14px;
  max-width: 1520px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
  text-decoration: none;
  padding-right: 12px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
  text-shadow: 0 0 14px var(--lip-glow);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-decoration: none;
  border: 1px solid rgba(224, 163, 74, 0.45);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #0b0f16;
  background: var(--amber);
  border-color: var(--amber);
}
.page-main {
  display: block;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 14px 22px;
}
.block-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice-dim);
  padding: 0 0 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  position: relative;
}
.block-heading::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 10px;
  margin-right: 7px;
  background: var(--lip);
  vertical-align: -1px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background:
    linear-gradient(120deg, rgba(20, 27, 39, 0.96) 0%, rgba(13, 18, 27, 0.98) 58%, rgba(26, 14, 22, 0.96) 100%);
  border: 1px solid var(--line);
  padding: 14px;
  margin-top: 14px;
  position: relative;
  overflow: hidden;
}
.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 40% at 6% 4%, rgba(216, 32, 74, 0.22), transparent 62%),
    radial-gradient(60% 50% at 96% 100%, rgba(38, 104, 190, 0.18), transparent 60%);
  mix-blend-mode: screen;
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--line);
  background: #05080d;
  z-index: 1;
}
.hero-poster-wrap::after {
  content: "唇印 · 特写";
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 3px 8px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ice);
  background: linear-gradient(90deg, var(--lip-deep), rgba(164, 19, 58, 0.2));
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: contrast(1.18) saturate(1.12) brightness(0.92);
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0.02em;
  color: var(--ice);
  text-shadow: 0 0 26px rgba(216, 32, 74, 0.45);
}
.hero-tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lip);
  padding-left: 10px;
  border-left: 2px solid var(--lip);
}
.hero-seo {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ice-dim);
  max-width: 88ch;
}
.player-shell {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  background: #05080d;
  position: relative;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
  filter: contrast(1.05) saturate(1.05);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 7px;
  background: linear-gradient(180deg, var(--panel-2), var(--ink-2));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ice-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--ice);
  border-color: var(--lip);
  background: rgba(216, 32, 74, 0.14);
}
.ctrl-btn.is-active {
  color: #fff;
  background: var(--lip-deep);
  border-color: var(--lip);
  box-shadow: 0 0 12px var(--lip-glow);
}
.ctrl-range {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  background: var(--lip);
  border: 1px solid var(--ice);
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--lip);
  border: 1px solid var(--ice);
  border-radius: 0;
  cursor: pointer;
}
.player-shell.is-theater {
  max-width: 100%;
  box-shadow: 0 0 0 1px var(--lip), 0 18px 40px rgba(0, 0, 0, 0.6);
}
.player-shell.is-lights-off video {
  filter: brightness(0.32) contrast(1.1);
}
.cast-strip {
  border: 1px solid var(--line-soft);
  background: rgba(21, 28, 40, 0.5);
  padding: 8px 9px 9px;
}
.strip-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ice-faint);
  margin-bottom: 7px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  min-height: 62px;
  transition: border-color 0.15s, background 0.15s;
}
.cast-card:hover {
  border-color: var(--lip);
  background: var(--panel-2);
}
.cast-avatar {
  flex: 0 0 46px;
  width: 46px;
  background:
    radial-gradient(60% 55% at 50% 34%, #6d4458 0%, transparent 60%),
    linear-gradient(160deg, #2a3446, #131a26);
  border-right: 1px solid var(--line);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 42%, rgba(216, 32, 74, 0.34), transparent 68%);
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ice);
  line-height: 1;
}
.synopsis-block, .status-block, .details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.68;
  color: var(--ice-dim);
  max-width: 92ch;
}
.synopsis-para + .synopsis-para { margin-top: 5px; }
.status-line {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ice);
  margin-bottom: 6px;
}
.status-bar {
  height: 6px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  width: 100%;
  max-width: 620px;
}
.status-fill {
  display: block;
  height: 100%;
  width: 66.6%;
  background: linear-gradient(90deg, var(--lip-deep), var(--lip));
  box-shadow: 0 0 10px var(--lip-glow);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 12px;
  border-top: 1px solid var(--line-soft);
}
.detail-pair {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 68px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ice-faint);
  text-transform: uppercase;
}
.detail-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--ice);
  min-width: 0;
  word-break: break-word;
}
.timeline-shell {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 24, 34, 0.9), rgba(11, 15, 22, 0.9));
  padding: 10px 12px 12px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 14px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.timeline-node {
  position: relative;
  padding: 6px 0 6px 14px;
  border-left: 1px solid var(--line-soft);
  margin-left: -12px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--ice-faint);
  box-shadow: 0 0 0 3px rgba(11, 15, 22, 0.9);
}
.timeline-node-active {
  border-left-color: var(--lip);
}
.timeline-node-active::before {
  background: var(--lip);
  box-shadow: 0 0 0 3px rgba(11, 15, 22, 0.9), 0 0 12px var(--lip-glow);
}
.node-timecode {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ice-faint);
  margin-bottom: 2px;
}
.timeline-node-active .node-timecode {
  color: var(--lip);
}
.node-label {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ice-dim);
}
.timeline-node-active .node-label {
  color: var(--ice);
  font-weight: 700;
}
.episodes-shell {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: rgba(14, 19, 28, 0.86);
  padding: 10px 12px 12px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.episode-card {
  background: var(--panel);
  padding: 8px 9px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  position: relative;
  transition: background 0.15s;
}
.episode-card:hover {
  background: var(--panel-2);
}
.episode-number {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--lip);
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ice);
  line-height: 1.25;
}
.episode-summary {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ice-dim);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.episode-duration {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ice-faint);
  border: 1px solid var(--line);
  padding: 1px 6px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.18s, max-height 0.18s, margin-top 0.18s;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  opacity: 1;
  max-height: 28px;
  margin-top: 3px;
}
.comments-shell {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: rgba(14, 19, 28, 0.86);
  padding: 10px 12px 12px;
}
.short-comments, .long-comments {
  display: grid;
  gap: 6px;
}
.short-comments {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 8px;
}
.long-comments {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.comment-card {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 7px 8px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.comment-card:hover {
  border-left-color: var(--lip);
  background: var(--panel-2);
}
.comment-avatar {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background:
    radial-gradient(60% 55% at 50% 36%, #7a4a5e 0%, transparent 62%),
    linear-gradient(150deg, #2c374a, #131a26);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.comment-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 65% at 50% 40%, rgba(216, 32, 74, 0.4), transparent 70%);
}
.comment-body {
  min-width: 0;
  flex: 1 1 auto;
}
.comment-nick {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ice-dim);
  word-break: break-word;
}
.long-comments .comment-text {
  -webkit-line-clamp: unset;
}
.rec-region {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: rgba(12, 17, 25, 0.86);
  padding: 9px 10px 10px;
}
.rec-region .block-heading {
  margin-bottom: 7px;
}
.rec-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.rec-strip::-webkit-scrollbar {
  height: 6px;
}
.rec-strip::-webkit-scrollbar-track {
  background: var(--ink-2);
}
.rec-strip::-webkit-scrollbar-thumb {
  background: var(--lip-deep);
}
a.rec-item {
  flex: 0 0 158px;
  width: 158px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  color: var(--ice);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.rec-item:hover, a.rec-item:focus-visible {
  border-color: var(--lip);
  background: var(--panel-2);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05080d;
  border: 1px solid var(--line);
  filter: contrast(1.08) saturate(1.06) brightness(0.94);
}
.rec-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ice);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.rec-blurb {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ice-faint);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.9), #070a10);
  padding: 12px 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: flex-start;
  max-width: 1520px;
  margin-left: auto;
  margin-right: auto;
}
.disclaimer-text {
  flex: 1 1 320px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--ice-faint);
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
a[data-contract="footer-home"] {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--lip);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover {
  border-bottom-color: var(--lip);
}
a[data-contract="footer-sitemap"] {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ice-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--ice);
  border-bottom-color: var(--ice);
}
.friend-links {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice-faint);
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--ice-dim);
  text-decoration: none;
  border: 1px solid transparent;
  padding: 1px 5px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--amber);
  border-color: rgba(224, 163, 74, 0.5);
}
.player { position: relative; }
.play.is-active, .mute.is-active, .speed.is-active, .pip.is-active, .fullscreen.is-active, .theater.is-active, .light.is-active {
  border-color: var(--lip);
}
.is-theater .player-shell { box-shadow: 0 0 0 1px var(--lip); }
@media (max-width: 1080px) {.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-shell { grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); }}
@media (max-width: 860px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-wrap {
    max-width: 240px;
  }
.short-comments, .long-comments {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 640px) {body { font-size: 12.5px; }
.page-main { padding: 0 10px 18px; }
.header-bar { padding: 7px 10px; }
a[data-contract="site-name"] { font-size: 14px; }
.hero-shell { padding: 10px; gap: 12px; }
.hero-poster-wrap { max-width: 100%; width: 100%; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.cast-avatar { flex-basis: 38px; width: 38px; }
.ctrl-range { flex: 1 1 60px; }
a.rec-item { flex: 0 0 140px; width: 140px; }
.site-footer { padding: 10px 10px 14px; }}
@media (max-width: 420px) {.cast-list { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
.ctrl-btn { font-size: 10px; padding: 2px 7px; }
.hero-title { font-size: 20px; }}

footer{text-align:center!important}
footer *{justify-content:center!important}
footer :is(div,nav,ul,ol,p,section,address){margin-left:auto!important;margin-right:auto!important}
