:root {
  --ink: #2a2018;
  --ink-soft: #4a3a2c;
  --paper: #efe4d2;
  --paper-deep: #e3d4bc;
  --surface: #f5ecdc;
  --gold: #a8813f;
  --gold-deep: #7c5c26;
  --gold-line: rgba(168, 129, 63, 0.38);
  --brown: #3a2c20;
  --brown-deep: #241a12;
  --brown-soft: #5c4632;
  --muted: #7d6a54;
  --shadow: 0 2px 0 rgba(60, 42, 24, 0.18), 0 10px 24px -14px rgba(36, 26, 18, 0.55);
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "Heiti SC", "SimHei", "STHeiti", "PingFang SC", "Microsoft YaHei", sans-serif;
  --rule: 1px solid var(--gold-line);
  --radius: 3px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(168, 129, 63, 0.10), transparent 42%),
    radial-gradient(circle at 88% 2%, rgba(124, 92, 38, 0.10), transparent 38%),
    repeating-linear-gradient(0deg, rgba(90, 66, 40, 0.035) 0 1px, transparent 1px 4px);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}
ul, ol {
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--gold-deep);
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
hr {
  border: 0;
  margin: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, var(--brown) 0%, var(--brown-deep) 100%);
  border-bottom: 1px solid rgba(168, 129, 63, 0.55);
  box-shadow: 0 6px 18px -12px rgba(0, 0, 0, 0.75);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  color: #e9d9b6;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
a[data-contract="site-name"]:hover {
  color: #f6ead0;
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 11px;
  color: #d8c49a;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(168, 129, 63, 0.5);
  border-radius: var(--radius);
  background: rgba(168, 129, 63, 0.08);
  transition: background-color 0.16s ease, color 0.16s ease;
}
a.runtime-category:hover {
  color: #f6ead0;
  background: rgba(168, 129, 63, 0.28);
}
.page-main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brown);
  padding-left: 11px;
  border-left: 3px solid var(--gold);
  margin-bottom: 12px;
}
.overview-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr);
  gap: 20px;
  align-items: start;
  padding: 16px;
  background:
    linear-gradient(160deg, rgba(255, 250, 240, 0.72), rgba(227, 212, 188, 0.5)),
    var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.poster-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brown-deep);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 26, 18, 0.28) 0%, transparent 34%, rgba(36, 26, 18, 0.42) 100%);
}
.poster-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-marquee {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brown-deep);
  line-height: 1.2;
}
.movie-tagline {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--brown-soft);
  letter-spacing: 0.06em;
  padding-bottom: 10px;
  border-bottom: var(--rule);
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: var(--brown-deep);
  overflow: hidden;
}
.player-frame {
  display: block;
  width: 100%;
  background: #100b07;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--gold), 0 16px 34px -18px rgba(0, 0, 0, 0.8);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(58, 44, 32, 0.96), rgba(36, 26, 18, 0.96));
  border-top: 1px solid rgba(168, 129, 63, 0.4);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #e0cfa8;
  background: rgba(168, 129, 63, 0.14);
  border: 1px solid rgba(168, 129, 63, 0.45);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.ctrl-btn:hover {
  background: rgba(168, 129, 63, 0.32);
  color: #f8eed8;
}
.ctrl-btn.is-active {
  background: var(--gold);
  color: #241a12;
  border-color: var(--gold-deep);
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 0;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(224, 207, 168, 0.28);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid var(--gold-deep);
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  background: var(--gold);
}
.ctrl-range[data-player-action="volume"] {
  flex: 0 1 84px;
}
.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: var(--rule);
}
.status-item {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--brown-soft);
  padding: 3px 9px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: rgba(168, 129, 63, 0.09);
}
.cast-shell {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cast-array {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.cast-item:hover {
  border-color: var(--gold-line);
  background: rgba(168, 129, 63, 0.08);
}
.cast-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--gold-deep);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 246, 226, 0.55), transparent 58%),
    linear-gradient(150deg, #6b5138, #2c2016);
  box-shadow: inset 0 0 0 3px rgba(239, 228, 210, 0.22);
}
.cast-name {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brown-deep);
}
.cast-role {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.synopsis-shell {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.synopsis-lead {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.78;
  color: var(--brown);
  letter-spacing: 0.03em;
  padding: 0 0 12px;
  border-bottom: var(--rule);
}
.synopsis-body {
  margin-top: 12px;
  columns: 2;
  column-gap: 22px;
  column-rule: var(--rule);
}
.synopsis-para {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  text-align: justify;
  margin-bottom: 10px;
  break-inside: avoid;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-shell {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(168, 129, 63, 0.32);
}
.detail-key {
  flex: 0 0 62px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.detail-value {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--brown);
}
.timeline-shell {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(168, 129, 63, 0.14);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(168, 129, 63, 0.12);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 168px;
  padding: 0 14px 0 16px;
  border-left: 1px solid var(--gold-line);
}
.timeline-node:last-child {
  border-right: 1px solid var(--gold-line);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--surface);
}
.node-timecode {
  display: block;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.node-label {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.6;
  color: var(--brown);
}
.episodes-shell {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(255, 250, 240, 0.62);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.episode-card:hover {
  border-color: var(--gold);
  background: rgba(255, 252, 244, 0.92);
}
.episode-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.episode-number {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  padding: 1px 7px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: rgba(168, 129, 63, 0.1);
}
.episode-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brown-deep);
  min-width: 0;
}
.episode-divider {
  height: 1px;
  background: var(--gold-line);
}
.episode-summary {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  text-align: justify;
}
.episode-duration {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px dotted rgba(168, 129, 63, 0.4);
  width: 100%;
}
.comments-shell {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.comment-masonry {
  columns: 3;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  margin: 0 0 12px;
  padding: 10px 12px;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(60, 42, 24, 0.1);
}
.comment-card:nth-child(3n + 1) {
  transform: rotate(-0.7deg);
}
.comment-card:nth-child(3n + 2) {
  transform: rotate(0.55deg);
}
.comment-card:nth-child(3n) {
  transform: rotate(-0.35deg);
}
.comment-card:hover {
  transform: rotate(0deg);
  border-color: var(--gold);
}
.comment-nick {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  padding-bottom: 5px;
  margin-bottom: 6px;
  border-bottom: 1px dotted rgba(168, 129, 63, 0.45);
}
.comment-text {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-soft);
  text-align: justify;
}
.reco-shell {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.reco-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brown);
  padding: 6px 3px;
  border-right: 2px solid var(--gold);
  background: rgba(168, 129, 63, 0.08);
  border-radius: var(--radius);
}
.reco-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
  min-width: 0;
}
a.reco-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  color: var(--brown);
  text-decoration: none;
  background: rgba(255, 250, 240, 0.66);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}
a.reco-item:hover {
  border-color: var(--gold);
  background: rgba(255, 252, 244, 0.95);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(168, 129, 63, 0.35);
  background: var(--brown-deep);
}
.reco-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brown-deep);
  line-height: 1.4;
}
.reco-blurb {
  font-family: var(--serif);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}
.site-footer {
  margin-top: 8px;
  background: linear-gradient(180deg, var(--brown) 0%, var(--brown-deep) 100%);
  border-top: 1px solid rgba(168, 129, 63, 0.55);
  color: #cbb894;
}
.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 16px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #e0cfa8;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f8eed8;
  border-bottom-color: var(--gold);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(168, 129, 63, 0.28);
}
.friend-links-label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
a.runtime-friend-link {
  color: #bfae8c;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 12.5px;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: #f6ead0;
  text-decoration: underline;
}
.footer-disclaimer {
  font-family: var(--serif);
  font-size: 11.5px;
  line-height: 1.7;
  color: #9b8a6d;
  letter-spacing: 0.02em;
  padding-top: 10px;
  border-top: 1px solid rgba(168, 129, 63, 0.22);
}
body.is-lights-off {
  background-color: #120d08;
  background-image: none;
  color: #d8c8a6;
}
body.is-lights-off .overview-shell, body.is-lights-off .site-header, body.is-lights-off .site-footer {
  filter: brightness(0.86);
}
.is-active {
  outline: none;
}
.ctrl-btn.is-active, .reco-item.is-active {
  border-color: var(--gold);
}
@media (max-width: 1024px) {.overview-hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  }
.cast-array {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-masonry {
    columns: 2;
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 14.5px;
  }
.page-main {
    padding: 14px 12px 24px;
    gap: 18px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
.poster-frame {
    max-width: 260px;
    width: 100%;
  }
.cast-array {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-masonry {
    columns: 1;
  }
.comment-card {
    transform: none;
  }
.reco-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.reco-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    border-right: 0;
    border-left: 3px solid var(--gold);
    padding: 3px 0 3px 9px;
  }
.reco-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    flex: 0 0 142px;
  }}
@media (max-width: 460px) {.header-inner {
    padding: 8px 12px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
  }
.cast-array {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.reco-column {
    grid-template-columns: minmax(0, 1fr);
  }
.ctrl-range {
    flex: 1 1 100%;
  }
.ctrl-range[data-player-action="volume"] {
    flex: 1 1 60px;
  }}

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}
