:root {
  --ink: #1b1917;
  --ink-soft: #4a443e;
  --ink-faint: #7d746a;
  --paper: #171513;
  --panel: #211e1b;
  --panel-2: #2a2622;
  --line: #3a342e;
  --amber: #d99a4e;
  --amber-bright: #f0b563;
  --amber-deep: #a86f2c;
  --warm-grey: #b3a89c;
  --page-bg: #141210;
  --radius: 3px;
  --gap: 14px;
  --pad: 12px;
  --font-hei: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-song: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--page-bg);
  color: var(--warm-grey);
  font-family: var(--font-hei);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
ul, ol {
  list-style: none;
}
h1, h2 {
  font-weight: 800;
  line-height: 1.2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 16, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 8px clamp(12px, 3vw, 28px);
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--amber-bright);
  text-decoration: none;
  font-family: var(--font-hei);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
a[data-contract="site-name"]:hover {
  color: #fff;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--warm-grey);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--amber-bright);
  border-color: var(--amber-deep);
  background: rgba(217, 154, 78, 0.08);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px clamp(12px, 3vw, 28px) 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.block-title {
  font-family: var(--font-hei);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--amber-bright);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.block-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex: none;
}
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-areas:
    "media lead"
    "body  body";
  gap: 16px;
  background: linear-gradient(160deg, #1e1b18 0%, #191614 60%, #151312 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.stage-media {
  grid-area: media;
  align-self: start;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0f0d0c;
  border: 1px solid var(--line);
}
.stage-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.stage-lead {
  grid-area: lead;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.stage-kicker {
  font-family: var(--font-song);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  color: var(--amber);
  text-transform: uppercase;
}
.stage-title {
  font-family: var(--font-hei);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 900;
  color: #f4ede4;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.stage-tagline {
  font-family: var(--font-song);
  font-size: 15px;
  color: var(--warm-grey);
  letter-spacing: 0.08em;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--line);
}
.stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 2px;
}
.play-button {
  font-family: var(--font-hei);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #1a1512;
  background: linear-gradient(180deg, var(--amber-bright), var(--amber-deep));
  padding: 8px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--amber-bright);
  transition: filter 0.15s, transform 0.1s;
}
.play-button:hover {
  filter: brightness(1.1);
}
.play-button:active {
  transform: translateY(1px);
}
.icon-button {
  font-family: var(--font-hei);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--warm-grey);
  background: transparent;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.icon-button:hover {
  color: var(--amber-bright);
  border-color: var(--amber-deep);
  background: rgba(217, 154, 78, 0.08);
}
.stage-player {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d0b0a;
  overflow: hidden;
}
.stage-player video {
  display: block;
  width: 100%;
  background: #000;
}
.player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: var(--panel);
  border-top: 1px solid var(--line);
}
.player-control {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--warm-grey);
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.player-control:hover {
  color: var(--amber-bright);
  border-color: var(--amber-deep);
}
.player-progress {
  flex: 1 1 120px;
  min-width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber-bright);
  border: none;
}
.player-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber-bright);
  border: none;
}
.player-volume {
  flex: 0 1 72px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.player-speed {
  font-size: 12px;
  color: var(--warm-grey);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 6px;
  cursor: pointer;
}
.player-speed option {
  background: var(--panel-2);
  color: var(--warm-grey);
}
.stage-status {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 4px 12px;
  align-items: baseline;
  padding: 9px 11px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
}
.status-key {
  font-family: var(--font-song);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.status-value {
  font-family: var(--font-hei);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-bright);
  white-space: nowrap;
}
.stage-body {
  grid-area: body;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.synopsis-block {
  min-width: 0;
}
.synopsis-paragraph {
  font-family: var(--font-song);
  font-size: 13.5px;
  line-height: 1.62;
  color: #c7bdb1;
  margin-bottom: 8px;
  text-indent: 2em;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.cast-block {
  min-width: 0;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber-deep);
  border-radius: var(--radius);
}
.cast-name {
  font-family: var(--font-hei);
  font-size: 13.5px;
  font-weight: 800;
  color: #efe6da;
  letter-spacing: 0.04em;
}
.cast-role {
  font-family: var(--font-song);
  font-size: 11.5px;
  color: var(--amber);
  letter-spacing: 0.06em;
}
.details-block {
  grid-column: 2;
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  align-items: baseline;
}
.details-key {
  font-family: var(--font-song);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  white-space: nowrap;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 3px;
}
.details-value {
  font-family: var(--font-hei);
  font-size: 12.5px;
  font-weight: 600;
  color: #cfc5b8;
  padding-bottom: 3px;
  border-bottom: 1px dotted var(--line);
}
.stage-body > .synopsis-block {
  grid-column: 1;
  grid-row: 1;
}
.stage-body > .cast-block {
  grid-column: 2;
  grid-row: 1;
}
.stage-body > .details-block {
  grid-column: 2;
  grid-row: 2;
  margin-top: 4px;
}
.timeline-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 18px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 14px;
  min-width: 0;
}
.timeline-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--page-bg);
  border: 2px solid var(--amber);
  transform: translateY(-4px);
}
.timeline-timecode {
  font-family: var(--font-hei);
  font-size: 12px;
  font-weight: 800;
  color: var(--amber-bright);
  letter-spacing: 0.08em;
}
.timeline-label {
  font-family: var(--font-song);
  font-size: 12.5px;
  line-height: 1.4;
  color: #c2b8ac;
}
.episodes-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-cell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum   sum";
  gap: 2px 10px;
  align-items: baseline;
  padding: 8px 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.episode-cell:hover {
  border-color: var(--amber-deep);
  background: #2f2a24;
}
.episode-cell.is-active {
  border-color: var(--amber);
  background: rgba(217, 154, 78, 0.1);
}
.episode-number {
  grid-area: num;
  font-family: var(--font-hei);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-family: var(--font-hei);
  font-size: 14px;
  font-weight: 800;
  color: #efe6da;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--font-song);
  font-size: 11px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-family: var(--font-song);
  font-size: 12px;
  line-height: 1.5;
  color: #a99e92;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.2s ease, margin-top 0.2s ease;
}
.episode-cell:hover .episode-summary, .episode-cell.is-active .episode-summary {
  max-height: 90px;
  opacity: 1;
  margin-top: 4px;
}
.comments-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.comment-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-bubble {
  position: relative;
  max-width: 92%;
  align-self: flex-start;
  padding: 8px 11px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 2px 10px 10px 10px;
}
.comment-bubble:nth-child(even) {
  align-self: flex-end;
  border-radius: 10px 2px 10px 10px;
  background: #2b2620;
  border-color: rgba(217, 154, 78, 0.28);
}
.comment-nickname {
  display: block;
  font-family: var(--font-hei);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.comment-text {
  font-family: var(--font-song);
  font-size: 12.5px;
  line-height: 1.55;
  color: #c4bab0;
}
.rec-region {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.rec-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
a.rec-card:hover {
  border-color: var(--amber-deep);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: #0f0d0c;
}
a.rec-card [data-runtime="name"] {
  font-family: var(--font-hei);
  font-size: 13px;
  font-weight: 800;
  color: #efe6da;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.rec-card [data-runtime="blurb"] {
  font-family: var(--font-song);
  font-size: 11.5px;
  line-height: 1.5;
  color: #a99e92;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #100e0d;
  padding: 18px clamp(12px, 3vw, 28px) 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1440px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-hei);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--warm-grey);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber-bright);
  border-bottom-color: var(--amber);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-family: var(--font-song);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  white-space: nowrap;
  padding-right: 6px;
  border-right: 1px solid var(--line);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-family: var(--font-song);
  font-size: 12px;
  color: #9c9288;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 1px;
  border-bottom: 1px dotted var(--line);
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--amber-bright);
  border-bottom-color: var(--amber);
}
.footer-disclaimer {
  font-family: var(--font-song);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 900px;
}
body.is-playing .stage-player {
  border-color: var(--amber-deep);
  box-shadow: 0 0 0 1px rgba(217, 154, 78, 0.25);
}
body.is-playing .play-button {
  background: linear-gradient(180deg, #f7c579, var(--amber));
}
body.is-lights-off {
  background: #080706;
}
body.is-lights-off .page-main, body.is-lights-off .site-header, body.is-lights-off .site-footer {
  filter: brightness(0.62) saturate(0.85);
}
.stage.is-theater {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "lead"
    "media"
    "body";
}
.stage.is-theater .stage-media {
  max-height: 70vh;
}
.stage.is-theater .stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player-control.is-muted {
  color: var(--amber-bright);
  border-color: var(--amber-deep);
}
.player-control.is-active, .player-control:focus-visible {
  color: var(--amber-bright);
  border-color: var(--amber);
  outline: none;
}
@media (max-width: 1024px) {.stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }
.stage-body {
    grid-template-columns: minmax(0, 1fr);
  }
.stage-body > .synopsis-block, .stage-body > .cast-block, .stage-body > .details-block {
    grid-column: 1;
  }
.stage-body > .synopsis-block {
    grid-row: 1;
  }
.stage-body > .cast-block {
    grid-row: 2;
  }
.stage-body > .details-block {
    grid-row: 3;
  }}
@media (max-width: 760px) {body {
    font-size: 13.5px;
  }
.page-main {
    gap: 16px;
    padding-top: 12px;
  }
.stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "lead"
      "media"
      "body";
    padding: 12px;
    gap: 12px;
  }
.stage-media {
    max-width: 320px;
    margin: 0 auto;
  }
.stage-title {
    font-size: clamp(26px, 8vw, 38px);
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
.timeline-track::before {
    display: none;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: auto 1fr;
  }
.player-bar {
    gap: 5px;
  }
.player-progress {
    flex-basis: 100%;
    order: 10;
  }}
@media (max-width: 480px) {.stage-actions {
    gap: 6px;
  }
.play-button {
    padding: 7px 16px;
  }
.icon-button {
    padding: 7px 10px;
    font-size: 12px;
  }
.stage-status {
    grid-template-columns: auto 1fr;
  }
.status-value {
    text-align: right;
  }
.cast-row {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
.rec-row {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.comment-bubble {
    max-width: 100%;
  }}

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}
