:root {
  --base: #10161d;
  --base-2: #161e27;
  --base-3: #1c2630;
  --line: #2b3742;
  --line-rust: #6b3f2a;
  --warm: #e08a3c;
  --warm-hot: #f2a252;
  --warm-deep: #b4611f;
  --ink: #dfe6ec;
  --ink-soft: #9aa8b5;
  --ink-dim: #6d7b88;
  --rust: #8a4b2a;
  --font-head: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-body: "Songti SC", "SimSun", "Noto Serif CJK SC", Georgia, serif;
}
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  background: var(--base);
}
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(120% 70% at 12% -10%, rgba(224, 138, 60, 0.10), transparent 55%),
    linear-gradient(180deg, #0d1319 0%, #10161d 40%, #0e141a 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
img, video { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2 { margin: 0; font-family: var(--font-head); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 18px;
  background: rgba(13, 19, 25, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
a[data-contract="site-name"] {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--warm-hot);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--warm-deep);
  padding-left: 8px;
}
a[data-contract="site-name"]:hover { color: #ffc37e; }
.category-bar {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--warm-hot);
  border-color: var(--line-rust);
  background: rgba(224, 138, 60, 0.07);
}
.page-main {
  display: block;
  padding: 12px 18px 22px;
  max-width: 1360px;
  margin: 0 auto;
}
.page-main > section + section {
  margin-top: 22px;
}
.panel-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--warm);
  text-transform: none;
  padding: 0 0 0 9px;
  border-left: 3px solid var(--warm-deep);
  margin-bottom: 9px;
  line-height: 1.2;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas:
    "media caption synopsis"
    "media details synopsis"
    "media status synopsis"
    "media cast synopsis"
    "media player player";
  gap: 10px 20px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 138, 60, 0.45), transparent);
}
.hero-media {
  grid-area: media;
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 200px;
  background: #06090c;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}
.hero-still {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05) brightness(0.9);
}
.hero-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 8px 7px;
  background: linear-gradient(180deg, transparent, rgba(6, 9, 12, 0.9) 62%);
  pointer-events: none;
}
.hero-scrim-note {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--warm-hot);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.hero-caption {
  grid-area: caption;
  align-self: end;
  padding: 2px 0 0;
  min-width: 0;
}
.hero-title {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: #f4f7fa;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.hero-tagline {
  margin-top: 7px;
  display: inline-block;
  font-size: 13.5px;
  color: #f0c79a;
  border-left: 2px solid var(--warm-deep);
  padding-left: 9px;
  max-width: 34ch;
}
.synopsis-panel {
  grid-area: synopsis;
  align-self: start;
  min-width: 0;
  padding: 0 0 0 2px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-soft);
  text-indent: 2em;
  margin-bottom: 7px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.details-card {
  grid-area: details;
  align-self: start;
  min-width: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 38, 48, 0.5), rgba(16, 22, 29, 0.35));
  padding: 9px 10px 10px;
}
.details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  line-height: 1.5;
}
.detail-row { border-bottom: 1px solid rgba(43, 55, 66, 0.7); }
.detail-row:last-child { border-bottom: 0; }
.detail-key {
  text-align: left;
  font-weight: 400;
  font-family: var(--font-head);
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 3px 10px 3px 0;
  width: 1%;
  vertical-align: top;
}
.detail-value {
  color: var(--ink);
  padding: 3px 0;
  vertical-align: top;
}
.episode-status {
  grid-area: status;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 7px 10px;
  border-left: 3px solid var(--rust);
  background: rgba(138, 75, 42, 0.10);
}
.status-line {
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
  margin: 0;
}
.status-total {
  color: var(--ink);
  font-weight: 700;
  margin-left: 4px;
}
.status-current {
  color: var(--warm-hot);
  font-weight: 700;
  margin-left: 4px;
}
.cast-strip {
  grid-area: cast;
  align-self: start;
  min-width: 0;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.cast-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(242, 162, 82, 0.55), transparent 58%),
    linear-gradient(160deg, #35424e, #1a232c);
  border: 1px solid var(--line-rust);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}
.cast-name {
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--ink-soft);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.14em;
  line-height: 1;
  white-space: nowrap;
}
.hero-player-figure {
  grid-area: player;
  margin: 6px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  background: #06090c;
  min-width: 0;
  width: 100%;
  transition: background 0.25s, border-color 0.25s;
}
.hero-player-figure video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}
.hero-player-caption {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  padding: 6px 10px;
  border-top: 1px solid var(--line);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--line);
  background: rgba(22, 30, 39, 0.6);
}
.ctrl-btn {
  font-family: var(--font-head);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  background: #1c2630;
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: 4px 11px;
  cursor: pointer;
  transition: color 0.14s, border-color 0.14s, background 0.14s;
}
.ctrl-btn:hover {
  color: var(--warm-hot);
  border-color: var(--line-rust);
  background: #222d38;
}
.ctrl-btn:active { transform: translateY(1px); }
.player { position: relative; }
.play .ctrl-btn[data-player-action="play"], .progress .ctrl-btn[data-player-action="progress"], .volume .ctrl-btn[data-player-action="volume"], .mute .ctrl-btn[data-player-action="mute"], .speed .ctrl-btn[data-player-action="speed"], .pip .ctrl-btn[data-player-action="pip"], .fullscreen .ctrl-btn[data-player-action="fullscreen"], .theater .ctrl-btn[data-player-action="theater"], .light .ctrl-btn[data-player-action="light"], .click .ctrl-btn {
  color: var(--warm-hot);
  border-color: var(--warm-deep);
  background: rgba(224, 138, 60, 0.14);
}
.hero-player-figure.lights-dim {
  background: #000;
  border-color: #000;
}
.hero-player-figure.lights-dim .hero-player-caption, .hero-player-figure.lights-dim .player-controls {
  opacity: 0.28;
  transition: opacity 0.3s;
}
.hero-player-figure.theater-mode {
  border-color: var(--warm-deep);
  box-shadow: 0 0 0 1px rgba(224, 138, 60, 0.25), 0 18px 50px rgba(0, 0, 0, 0.7);
}
.timeline-band {
  padding: 12px 12px 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 30, 39, 0.6), rgba(14, 20, 26, 0.4));
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(158px, 1fr);
  gap: 0 14px;
  overflow-x: auto;
  padding: 12px 2px 4px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--line-rust) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line-rust);
  border-radius: 0;
}
.timeline-track::-webkit-scrollbar-track { background: rgba(43, 55, 66, 0.4); }
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 21px;
  height: 1px;
  background: linear-gradient(90deg, rgba(138, 75, 42, 0.15), var(--line-rust) 12%, var(--line-rust) 88%, rgba(138, 75, 42, 0.15));
  pointer-events: none;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 2px;
  min-width: 0;
}
.node-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rust);
  border: 2px solid #10161d;
  box-shadow: 0 0 0 1px var(--line-rust), 0 0 8px rgba(224, 138, 60, 0.25);
  margin: 9px 0 6px;
  position: relative;
  z-index: 1;
}
.node-timecode {
  font-family: var(--font-head);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--warm);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
}
.node-label {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.timeline-node:last-child .node-dot {
  width: 15px;
  height: 15px;
  margin-top: 7px;
  background: var(--warm-hot);
  box-shadow: 0 0 0 2px rgba(242, 162, 82, 0.28), 0 0 14px rgba(242, 162, 82, 0.5);
}
.timeline-node:last-child::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 24px;
  width: 2px;
  height: 16px;
  background: var(--warm-hot);
}
.timeline-node:last-child .node-timecode {
  color: var(--warm-hot);
  border-bottom-color: var(--warm-deep);
}
.timeline-node:last-child .node-label { color: #e8eef3; }
.episodes-panel {
  padding: 12px 0 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 9px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-rust);
  background: rgba(22, 30, 39, 0.5);
  min-width: 0;
  transition: background 0.16s, border-color 0.16s;
}
.episode-card:hover {
  background: rgba(34, 45, 56, 0.7);
  border-left-color: var(--warm);
}
.episode-number {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
}
.episode-title {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.episode-duration {
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}
.episode-summary {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  transition: max-height 0.28s ease, opacity 0.22s ease, margin-top 0.22s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 140px;
  opacity: 1;
  margin-top: 5px;
}
.episode-card-active {
  border-color: var(--warm-deep);
  border-left-color: var(--warm-hot);
  background: linear-gradient(180deg, rgba(224, 138, 60, 0.14), rgba(22, 30, 39, 0.6));
  box-shadow: inset 0 0 0 1px rgba(224, 138, 60, 0.18);
}
.episode-card-active .episode-number { color: var(--warm-hot); }
.episode-card-active .episode-title { color: #ffd6a6; }
.episode-card-active .episode-summary {
  max-height: 140px;
  opacity: 1;
  margin-top: 5px;
}
.recommend-wall {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0 12px;
  align-items: start;
  padding: 12px 0 0;
}
.wall-heading {
  grid-column: 1;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--warm);
  border-left: 2px solid var(--warm-deep);
  padding-left: 7px;
  line-height: 1;
  align-self: stretch;
  max-height: 260px;
}
.wall-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.wall-tag {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 9px;
  align-items: start;
  padding: 7px;
  border: 1px solid var(--line);
  background: rgba(22, 30, 39, 0.5);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
a.wall-tag:hover {
  border-color: var(--line-rust);
  background: rgba(34, 45, 56, 0.75);
  transform: translateY(-1px);
}
a.wall-tag img {
  grid-row: 1 / span 2;
  width: 64px;
  height: 90px;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.9) brightness(0.92);
}
a.wall-tag [data-runtime="name"] {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.32;
  align-self: end;
}
a.wall-tag [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  align-self: start;
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}
.comments-panel {
  padding: 12px 0 0;
}
.comment-stream {
  column-count: 2;
  column-gap: 10px;
  column-rule: 1px solid rgba(43, 55, 66, 0.6);
}
.comment-card {
  break-inside: avoid;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(22, 30, 39, 0.5);
  min-width: 0;
}
.comment-card:hover { border-color: var(--line-rust); }
.comment-card-long {
  border-left: 3px solid var(--rust);
  background: linear-gradient(180deg, rgba(28, 38, 48, 0.6), rgba(16, 22, 29, 0.4));
}
.comment-card-short {
  border-left: 3px solid var(--line);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(242, 162, 82, 0.5), transparent 60%),
    linear-gradient(160deg, #33404c, #1a232c);
  border: 1px solid var(--line-rust);
}
.comment-body {
  min-width: 0;
  flex: 1 1 auto;
}
.comment-nick {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--warm);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  word-break: break-word;
}
.site-footer {
  margin-top: 22px;
  padding: 14px 18px 22px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 19, 25, 0.6), rgba(9, 13, 17, 0.9));
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 78ch;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: var(--warm-hot); }
a[data-contract="footer-home"]:hover { color: #ffd6a6; text-decoration: underline; }
a[data-contract="footer-sitemap"] { color: var(--ink-soft); }
a[data-contract="footer-sitemap"]:hover { color: var(--warm); text-decoration: underline; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
}
.friend-links-label {
  font-family: var(--font-head);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(109, 123, 136, 0.5);
  transition: color 0.14s, border-color 0.14s;
}
a.runtime-friend-link:hover {
  color: var(--warm-hot);
  border-bottom-color: var(--warm-deep);
}
@media (max-width: 1080px) {.hero-shell {
    grid-template-columns: minmax(140px, 176px) minmax(0, 1fr);
    grid-template-areas:
      "media caption"
      "media synopsis"
      "media details"
      "media status"
      "media cast"
      "player player";
  }
.hero-media { max-width: 176px; }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 760px) {.site-header { gap: 10px; padding: 7px 12px; }
.page-main { padding: 10px 12px 18px; }
.site-footer { padding: 12px 12px 18px; }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "caption"
      "synopsis"
      "details"
      "status"
      "cast"
      "player";
    gap: 12px;
    padding-bottom: 16px;
  }
.hero-media {
    max-width: 168px;
    justify-self: start;
  }
.hero-caption { align-self: start; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-wall {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0 9px;
  }
.wall-heading { letter-spacing: 0.16em; max-height: none; }
.wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stream { column-count: 1; column-rule: 0; }}
@media (max-width: 520px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.wall-grid { grid-template-columns: minmax(0, 1fr); }
.hero-media { max-width: 148px; }
.player-controls { gap: 4px; }
.ctrl-btn { padding: 4px 9px; font-size: 11px; }
.cast-list { gap: 5px 10px; }
.cast-avatar { width: 26px; height: 26px; }
.friend-links-label { border-right: 0; padding-right: 0; }
.timeline-track { grid-auto-columns: minmax(140px, 1fr); }}

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}
