:root {
  --stone-blue: #2f4a5c;
  --stone-blue-deep: #1b2c38;
  --ochre: #7d5a3c;
  --ochre-warm: #a9773f;
  --silk-white: #e6ddc9;
  --silk-paper: #d8cdb4;
  --ink: #171d22;
  --ink-soft: #2a323a;
  --dark-base: #10161b;
  --lamp: #f0e6cc;
  --line: rgba(230, 221, 201, 0.16);
  --line-strong: rgba(230, 221, 201, 0.32);
  --font-serif: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --gap-tight: 8px;
  --gap: 12px;
  --pad: 12px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--dark-base);
  color: var(--silk-white);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #0d1318 0%, #131c23 100%);
  border-bottom: 1px solid var(--line-strong);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-tight) var(--gap);
  padding: 8px var(--pad);
  max-width: 100%;
}
.site-brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--silk-white);
  padding-right: 10px;
  border-right: 1px solid var(--line-strong);
}
a[data-contract="site-name"] {
  color: var(--silk-white);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--lamp);
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.runtime-category, a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12.5px;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--silk-paper);
  text-decoration: none;
  border: 1px solid rgba(125, 90, 60, 0.5);
  background: rgba(47, 74, 92, 0.28);
}
a.runtime-category:hover {
  color: var(--lamp);
  border-color: var(--ochre-warm);
  background: rgba(125, 90, 60, 0.35);
  text-decoration: none;
}
.page-main {
  display: block;
  background:
    repeating-linear-gradient(90deg, rgba(230, 221, 201, 0.014) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, #0f1519 0%, #121a20 55%, #0d1317 100%);
}
.hero-cinema {
  position: relative;
  padding: 0;
  background: #0b1014;
  border-bottom: 1px solid var(--line-strong);
}
.hero-backdrop {
  position: relative;
  overflow: hidden;
  background: #0a0e12;
}
.hero-poster {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.72) brightness(0.72) contrast(1.05);
}
.hero-titleplate {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: min(78%, 640px);
  padding: 14px 18px 16px;
  background: linear-gradient(90deg, rgba(11, 16, 20, 0.9) 0%, rgba(11, 16, 20, 0.72) 70%, rgba(11, 16, 20, 0) 100%);
  border-left: 3px solid var(--ochre-warm);
}
.movie-title {
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.06em;
  color: var(--lamp);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
.movie-tagline {
  margin-top: 6px;
  font-size: clamp(12px, 1.6vw, 14px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--silk-paper);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.movie-seo {
  padding: 10px var(--pad);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(216, 205, 180, 0.78);
  background: #131b21;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.player-frame {
  padding: var(--pad);
  background: #0c1216;
  border-bottom: 1px solid var(--line-strong);
}
.player-shell {
  width: 100%;
  background: #05080a;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 1px rgba(125, 90, 60, 0.28), 0 6px 26px rgba(0, 0, 0, 0.6);
}
.player-frame video, [data-contract="player"] {
  display: block;
  width: 100%;
  height: auto;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 8px;
  padding: 8px;
  background: linear-gradient(180deg, #1a242c 0%, #131c22 100%);
  border: 1px solid var(--line);
}
.ctl {
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--silk-paper);
  background: rgba(47, 74, 92, 0.35);
  border: 1px solid rgba(125, 90, 60, 0.45);
}
.ctl:hover {
  color: var(--lamp);
  border-color: var(--ochre-warm);
  background: rgba(125, 90, 60, 0.4);
}
.ctl.is-active, .ctl.is-playing, .ctl.is-muted {
  color: var(--ink);
  background: var(--ochre-warm);
  border-color: var(--lamp);
}
.ctl-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  white-space: nowrap;
  color: rgba(216, 205, 180, 0.82);
}
.ctl-field input[type="range"] {
  width: 96px;
  accent-color: var(--ochre-warm);
}
.ctl-speed select {
  padding: 2px 4px;
  font-size: 12px;
  background: #1b252c;
  color: var(--silk-paper);
  border: 1px solid rgba(125, 90, 60, 0.45);
}
.ctl-progress {
  flex: 1 1 160px;
}
.ctl-progress input[type="range"] {
  width: 100%;
  flex: 1 1 auto;
  min-width: 80px;
}
.block-title {
  padding: 0 0 6px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lamp);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.block-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--ochre-warm);
}
.episode-status, .cast-strip, .synopsis-block, .details-block, .timeline-silk, .episodes-scroll, .comments-stack, .recommend-region {
  padding: var(--pad);
  border-bottom: 1px solid var(--line);
}
.episode-status {
  background: linear-gradient(180deg, #141d24 0%, #111820 100%);
}
.status-line {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(216, 205, 180, 0.85);
}
.status-current, .status-total {
  font-weight: 700;
  color: var(--lamp);
  letter-spacing: 0.04em;
}
.episode-status.is-watching .status-current {
  color: var(--ochre-warm);
}
.cast-strip {
  background: #101820;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cast-card {
  display: flex;
  align-items: flex-end;
  min-height: 96px;
  padding: 8px;
  background:
    linear-gradient(160deg, rgba(47, 74, 92, 0.55) 0%, rgba(23, 29, 34, 0.9) 70%),
    #16202a;
  align-self: start;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(230, 221, 201, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.cast-card:hover {
  background:
    linear-gradient(160deg, rgba(125, 90, 60, 0.55) 0%, rgba(23, 29, 34, 0.9) 70%),
    #16202a;
}
.cast-card:hover .cast-name {
  color: var(--lamp);
}
.synopsis-block {
  background: #0f171d;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(216, 205, 180, 0.82);
  text-indent: 2em;
}
.synopsis-para + .synopsis-para {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed var(--line);
}
.details-block {
  background: #131b22;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 9px;
  background: #101820;
  align-self: start;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 4.5em;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(125, 90, 60, 0.95);
  color: var(--ochre-warm);
}
.detail-value {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(230, 221, 201, 0.88);
}
.timeline-silk {
  background: linear-gradient(180deg, #141d24 0%, #101820 100%);
}
.timeline-track {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 6px;
  background: var(--line);
  border: 1px solid var(--line);
  scrollbar-width: thin;
}
.timeline-node {
  position: relative;
  flex: 0 0 178px;
  padding: 20px 10px 10px;
  background: #131c23;
  align-self: stretch;
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(125, 90, 60, 0.35);
  z-index: 0;
}
.node-tool {
  position: absolute;
  top: 16px;
  left: 10px;
  z-index: 1;
  width: 18px;
  height: 18px;
  background: #0f171d;
  border: 1px solid var(--ochre-warm);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.node-tool::before {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--stone-blue);
  border-radius: 50%;
}
.node-time {
  display: block;
  margin: 4px 0 6px 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lamp);
}
.node-label {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(216, 205, 180, 0.78);
}
.episodes-scroll {
  background: #0e161b;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: #121a20;
  align-self: start;
}
.ep-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 1px 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lamp);
  background: rgba(125, 90, 60, 0.35);
  border-left: 2px solid var(--ochre-warm);
}
.ep-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--silk-white);
}
.ep-summary {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(216, 205, 180, 0.74);
}
.ep-duration {
  margin-top: auto;
  padding-top: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(125, 90, 60, 1);
  color: var(--ochre-warm);
  border-top: 1px dashed var(--line);
}
.comments-stack {
  background: #101820;
}
.comment-deck {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.comment-card {
  padding: 8px 10px;
  background: linear-gradient(180deg, #16202a 0%, #121a20 100%);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(125, 90, 60, 0.6);
  align-self: start;
}
.comment-deck > .comment-card:nth-child(3n + 2) {
  margin-top: 10px;
}
.comment-deck > .comment-card:nth-child(4n) {
  margin-top: 4px;
}
.comment-nick {
  display: block;
  margin-bottom: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ochre-warm);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(216, 205, 180, 0.82);
}
.recommend-region {
  background: #0e161b;
}
.region-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.rec-card, a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  color: var(--silk-white);
  text-decoration: none;
  background: #141d24;
  border: 1px solid var(--line);
  align-self: start;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.rec-card:hover {
  color: var(--lamp);
  background: #1a242c;
  border-color: var(--ochre-warm);
  text-decoration: none;
}
[data-runtime="recommendation"] img, .rec-pic {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: #0a0e12;
  filter: saturate(0.78) brightness(0.86);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--silk-white);
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(216, 205, 180, 0.7);
}
.site-footer {
  padding: var(--pad);
  background: #0b1116;
  border-top: 1px solid var(--line-strong);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px var(--gap);
  margin-bottom: 8px;
}
.footer-link, a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--silk-paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 90, 60, 0.5);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp);
  border-bottom-color: var(--ochre-warm);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 7px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.friend-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(125, 90, 60, 1);
  color: var(--ochre-warm);
}
.runtime-friend-link, a.runtime-friend-link {
  font-size: 12px;
  white-space: nowrap;
  color: rgba(216, 205, 180, 0.72);
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: var(--lamp);
  text-decoration: underline;
}
.footer-disclaimer {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(216, 205, 180, 0.55);
}
.player-shell.fullscreen, .player-shell:fullscreen {
  background: #000;
}
body.lights-dim .hero-backdrop::after, .lights-dim .hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 10, 0.55);
  pointer-events: none;
}
.theater-mode .player-shell {
  box-shadow: 0 0 0 2px var(--ochre-warm), 0 0 40px rgba(240, 230, 204, 0.18);
}
.movie-overview .change, .change {
  color: var(--ochre-warm);
}
@media (min-width: 720px) {.hero-titleplate {
    padding: 18px 26px 20px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.region-columns {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }}
@media (min-width: 1024px) {:root {
    --pad: 16px;
    --gap-tight: 10px;
  }
body {
    font-size: 14.5px;
  }
.header-inner {
    padding: 9px var(--pad);
  }
.hero-titleplate {
    max-width: min(52%, 620px);
    padding: 22px 34px 26px;
  }
.movie-seo {
    padding: 10px var(--pad);
  }
.episode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline-node {
    flex: 0 0 210px;
  }
.region-columns {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }}
@media (max-width: 560px) {.hero-poster {
    max-height: 60vh;
  }
.hero-titleplate {
    max-width: 100%;
    padding: 10px 12px 12px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.region-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-deck {
    grid-template-columns: 1fr;
  }
.comment-deck > .comment-card:nth-child(3n + 2), .comment-deck > .comment-card:nth-child(4n) {
    margin-top: 0;
  }
.detail-list {
    grid-template-columns: 1fr;
  }
.ctl-field input[type="range"] {
    width: 72px;
  }}
@media (max-width: 380px) {.region-columns {
    grid-template-columns: 1fr;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 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}
