:root {
  --paper: #d9d3c8;
  --paper-deep: #cbc3b6;
  --ink: #2e2a26;
  --ink-soft: #5a534b;
  --wood: #8c6f4e;
  --wood-dark: #6b5237;
  --teal: #6f8f86;
  --teal-deep: #4f6d66;
  --amber: #c97a34;
  --amber-soft: #e0a05c;
  --line: #b6ac9e;
  --surface: #e6e0d6;
  --surface-2: #efe9df;
  --shadow: 0 1px 0 rgba(46, 42, 38, 0.18);
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(217, 211, 200, 0.92), rgba(217, 211, 200, 0.92)),
    repeating-linear-gradient(90deg, rgba(140, 111, 78, 0.06) 0 2px, transparent 2px 9px);
  color: var(--ink);
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: var(--teal-deep);
  text-decoration: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  background: linear-gradient(180deg, #e8e2d8 0%, #ddd6ca 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.header-bar {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  padding: 9px 18px 7px;
  max-width: 1240px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--wood-dark);
  text-decoration: none;
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-left: 4px solid var(--amber);
  padding-left: 9px;
  line-height: 1.2;
}
.header-nav {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
a.header-nav-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13.5px;
  padding: 2px 9px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
a.header-nav-link:last-child {
  border-right: 0;
}
a.header-nav-link:hover {
  color: var(--amber);
  text-decoration: underline;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 18px 10px;
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px dashed rgba(140, 111, 78, 0.35);
}
a.runtime-category {
  color: var(--teal-deep);
  text-decoration: none;
  font-size: 12.5px;
  white-space: nowrap;
  padding: 1px 8px;
  border: 1px solid rgba(79, 109, 102, 0.4);
  border-radius: 2px;
  background: rgba(111, 143, 134, 0.09);
  line-height: 1.5;
}
a.runtime-category:hover {
  background: rgba(111, 143, 134, 0.22);
  text-decoration: none;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.block-title {
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--wood-dark);
  padding-left: 10px;
  border-left: 3px solid var(--amber);
  line-height: 1.3;
  margin-bottom: 10px;
}
.hero {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: #4a443c;
  border: 1px solid var(--wood-dark);
}
.hero-backdrop {
  position: relative;
  overflow: hidden;
}
.hero-notice {
  width: 100%;
  height: 100%;
  max-height: 62vh;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) contrast(1.05) sepia(0.18);
  display: block;
}
.hero-portrait-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 4% 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.6;
}
.ghost-figure {
  display: block;
  width: 12%;
  max-width: 108px;
  min-width: 42px;
  aspect-ratio: 3 / 5;
  background: linear-gradient(180deg, rgba(230, 224, 214, 0.75), rgba(79, 109, 102, 0.55));
  border-radius: 45% 45% 6px 6px / 32% 32% 6px 6px;
  margin-bottom: -6%;
}
.ghost-figure:nth-child(2) { height: 82%; }
.ghost-figure:nth-child(3) { height: 96%; }
.ghost-figure:nth-child(4) { height: 74%; }
.ghost-figure:nth-child(1) { height: 66%; }
.ghost-figure:nth-child(5) { height: 58%; }
.hero-caption {
  position: relative;
  background: linear-gradient(180deg, rgba(46, 42, 38, 0.86), rgba(46, 42, 38, 0.96));
  border-top: 1px solid rgba(201, 122, 52, 0.55);
  padding: 11px 16px 13px;
  color: var(--surface-2);
}
.hero-slogan {
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f0e6d6;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  border-left: 4px solid var(--amber);
  padding-left: 12px;
}
.hero-subline {
  margin-top: 6px;
  padding-left: 16px;
  font-size: 13px;
  color: #c3bcae;
  letter-spacing: 0.03em;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
}
.overview-poster-wrap {
  position: relative;
  width: 100%;
  border: 1px solid var(--wood);
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper-deep);
}
.overview-poster-wrap > img[data-contract="main-poster"] {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.poster-score-chip {
  position: absolute;
  left: 6px;
  bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  background: rgba(46, 42, 38, 0.85);
  border-left: 3px solid var(--amber);
  padding: 2px 8px 2px 6px;
  border-radius: 2px;
}
.score-value {
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--amber-soft);
  line-height: 1.2;
}
.score-label {
  font-size: 11px;
  color: #cbc3b6;
  letter-spacing: 0.08em;
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1.25;
}
.movie-tagline {
  font-size: 13.5px;
  color: var(--wood-dark);
  letter-spacing: 0.05em;
  margin-top: -6px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.movie-seo {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.75;
  text-align: justify;
}
.player-shell {
  width: 100%;
  background: #171512;
  border: 1px solid var(--wood-dark);
  border-radius: 3px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 4px 5px 5px;
  border-top: 1px solid rgba(201, 122, 52, 0.35);
}
.ctrl-btn {
  background: #2c2822;
  color: #e2dacd;
  border: 1px solid #4c443a;
  border-radius: 2px;
  font-size: 12.5px;
  padding: 3px 10px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.5;
}
.ctrl-btn:hover {
  background: #3a342c;
  border-color: var(--amber);
  color: var(--amber-soft);
}
.ctrl-btn.is-active, .ctrl-btn.is-muted {
  background: var(--wood-dark);
  border-color: var(--amber);
  color: #f1e5d2;
}
.ctrl-range, .ctrl-select {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #b6ac9e;
  min-width: 0;
}
.ctrl-range-label {
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.ctrl-input[type="range"] {
  width: 96px;
  max-width: 100%;
  accent-color: var(--amber);
  background: transparent;
  cursor: pointer;
}
select.ctrl-input {
  background: #2c2822;
  color: #e2dacd;
  border: 1px solid #4c443a;
  border-radius: 2px;
  padding: 2px 4px;
  font-size: 12.5px;
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border: 1px solid rgba(140, 111, 78, 0.4);
  background: var(--surface-2);
  border-radius: 2px;
  padding: 3px 10px;
}
.status-key {
  font-size: 11.5px;
  color: var(--teal-deep);
  letter-spacing: 0.08em;
}
.status-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.synopsis-body {
  border-top: 1px solid var(--line);
  padding-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  text-align: justify;
  text-indent: 2em;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.cast-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface-2);
  overflow: hidden;
}
.cast-photo-wrap {
  width: 100%;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}
.cast-photo {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) sepia(0.1);
}
.cast-line {
  font-size: 11.5px;
  color: var(--ink-soft);
  padding: 5px 6px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px dotted rgba(140, 111, 78, 0.35);
  padding: 3px 0;
  min-width: 0;
}
.detail-key {
  flex: 0 0 68px;
  font-size: 12px;
  color: var(--teal-deep);
  letter-spacing: 0.06em;
}
.detail-val {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--ink);
}
.timeline-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px 16px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  padding-top: 12px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0 34%, var(--line) 34% 100%);
  border-radius: 1px;
}
.timeline-node {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 0;
}
.node-leaf {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 60% 6px 60% 6px;
  background: var(--teal);
  color: var(--surface-2);
  font-size: 11px;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 0 0 3px var(--surface);
  transform: rotate(-8deg);
}
.timeline-node.is-active .node-leaf {
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px rgba(201, 122, 52, 0.35);
}
.node-timecode {
  font-size: 11px;
  color: var(--wood-dark);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.node-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.timeline-node.is-active .node-label {
  color: var(--ink);
  font-weight: 600;
}
.episodes-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px 15px;
}
.episodes-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.episodes-head .block-title {
  margin-bottom: 10px;
}
.episodes-count {
  font-size: 12px;
  color: var(--teal-deep);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.episode-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
  padding: 6px 8px;
  border-bottom: 1px dotted rgba(140, 111, 78, 0.4);
  border-radius: 2px;
}
.episode-item.is-current {
  background: rgba(201, 122, 52, 0.1);
  border-left: 3px solid var(--amber);
  padding-left: 6px;
}
.episode-number {
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-size: 13px;
  color: var(--wood-dark);
  white-space: nowrap;
  line-height: 1.5;
  min-width: 44px;
}
.episode-item.is-current .episode-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--amber);
  min-width: 62px;
  line-height: 1.25;
}
.episode-body {
  min-width: 0;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.episode-summary {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 1px;
}
.episode-duration {
  font-size: 11.5px;
  color: var(--teal-deep);
  white-space: nowrap;
  padding-top: 2px;
  letter-spacing: 0.03em;
}
.comments-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px 15px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  background: var(--surface-2);
  border: 1px solid rgba(140, 111, 78, 0.32);
  border-left: 2px solid var(--teal);
  border-radius: 2px;
  padding: 7px 9px 8px;
}
.comment-nick {
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-size: 11.5px;
  color: var(--wood-dark);
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.comment-text {
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: justify;
}
.rec-region {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px 14px;
}
.rec-title {
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--wood-dark);
  letter-spacing: 0.05em;
  text-align: left;
  padding-left: 10px;
  border-left: 3px solid var(--amber);
  margin-bottom: 10px;
  line-height: 1.3;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface-2);
  border: 1px solid rgba(140, 111, 78, 0.35);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.rec-card[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.82);
}
a.rec-card:hover {
  border-color: var(--amber);
  box-shadow: 0 1px 6px rgba(107, 82, 55, 0.25);
}
a.rec-card:hover .rec-name {
  color: var(--amber);
}
.rec-pic {
  background: var(--paper-deep);
}
.rec-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 5px 8px 0;
  line-height: 1.45;
}
.rec-blurb {
  font-size: 11.5px;
  color: var(--ink-soft);
  padding: 2px 8px 7px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 6px;
  background: linear-gradient(180deg, #ddd6ca 0%, #cec6b8 100%);
  border-top: 1px solid var(--wood);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: baseline;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--wood-dark);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  border-top: 1px dashed rgba(140, 111, 78, 0.4);
  padding-top: 9px;
}
.friend-links-label {
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-size: 12px;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
  border-left: 3px solid var(--amber);
  padding-left: 7px;
}
a.runtime-friend-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  line-height: 1.6;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11.5px;
  color: #7d7365;
  line-height: 1.7;
  border-top: 1px solid rgba(140, 111, 78, 0.3);
  padding-top: 8px;
}
.player-shell.is-theater {
  border-color: var(--amber);
  box-shadow: 0 0 0 2px rgba(201, 122, 52, 0.35);
}
body.lights-off {
  background-color: #171512;
  background-image: none;
}
body.lights-off .page-main {
  opacity: 0.9;
}
body.lights-off .player-shell {
  border-color: var(--amber-soft);
}
@media (max-width: 1080px) {.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 14px;
  }
.timeline-track::before {
    display: none;
  }
.comments-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.movie-overview {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    gap: 14px;
  }
.episode-grid {
    gap: 6px 12px;
  }
.episode-item.is-current .episode-number {
    font-size: 18px;
    min-width: 56px;
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 10px 12px 14px;
    gap: 16px;
  }
.header-bar {
    padding: 8px 12px 6px;
    gap: 12px;
  }
.category-strip {
    padding: 6px 12px 9px;
  }
.hero-slogan {
    font-size: 21px;
    letter-spacing: 0.1em;
  }
.hero-notice {
    max-height: 46vh;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.overview-poster-wrap {
    max-width: 220px;
  }
.movie-title {
    font-size: 22px;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-inner {
    padding: 12px 12px 16px;
  }}
@media (max-width: 520px) {.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-slogan {
    font-size: 19px;
  }
.hero-subline {
    padding-left: 0;
    font-size: 12px;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px;
  }
.ctrl-input[type="range"] {
    width: 76px;
  }}

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}
