*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure, figcaption, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
:root {
  --ink: #14171a;
  --ink-2: #1c2126;
  --panel: #20262c;
  --panel-2: #262d34;
  --steel: #39434c;
  --steel-lt: #556069;
  --rust: #a83c2b;
  --rust-lt: #c25a3d;
  --amber: #d9a441;
  --paper: #d8d2c4;
  --paper-dim: #b6b0a2;
  --text: #d4d8db;
  --text-dim: #8f979e;
  --grid-gap: 14px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    linear-gradient(180deg, #191d21 0%, #14171a 40%, #101316 100%);
  color: var(--text);
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 21, 24, 0.94);
  border-bottom: 1px solid var(--steel);
  backdrop-filter: blur(4px);
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 8px 14px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #f2efe8;
  text-decoration: none;
  text-transform: none;
  border-left: 4px solid var(--rust);
  padding-left: 9px;
  line-height: 1.2;
}
a[data-contract="site-name"]:hover { color: var(--amber); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--steel);
  background: #1a1f24;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #f2efe8;
  border-color: var(--rust);
  background: #2a1f1b;
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-heading {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #eceae4;
  border-left: 5px solid var(--rust);
  padding-left: 10px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.movie-overview { position: relative; }
.overview-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  background:
    linear-gradient(160deg, #232a31 0%, #1b2025 55%, #171b1f 100%);
  border: 1px solid var(--steel);
  padding: 14px;
}
.poster-column {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}
.poster-wrap {
  position: relative;
  margin: 0;
  border: 1px solid var(--steel-lt);
  background: #0f1215;
  filter: saturate(0.85) contrast(1.05);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.45);
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.poster-caption {
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  padding: 5px 8px;
  border-top: 1px dashed var(--steel);
  background: #171b1f;
}
.poster-overlay-log {
  position: relative;
  border: 1px solid rgba(168, 60, 43, 0.55);
  background:
    repeating-linear-gradient(0deg, rgba(216, 210, 196, 0.03) 0 21px, rgba(216, 210, 196, 0.08) 21px 22px),
    rgba(24, 28, 32, 0.92);
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.handlog-line {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 13px;
  line-height: 1.4;
  color: var(--paper);
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(216, 210, 196, 0.12);
  padding-bottom: 4px;
}
.handlog-line:last-child { border-bottom: none; padding-bottom: 0; }
.handlog-line::before {
  content: "▸ ";
  color: var(--rust-lt);
  font-family: "Menlo", "Consolas", monospace;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
}
.movie-title {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", sans-serif;
  font-weight: 900;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #f4f1ea;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6), 0 0 18px rgba(217, 164, 65, 0.14);
  border-bottom: 3px solid var(--rust);
  padding-bottom: 8px;
  align-self: start;
}
.movie-tagline {
  font-family: "Songti SC", "SimSun", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--amber);
  letter-spacing: 0.04em;
  padding-left: 10px;
  border-left: 3px solid var(--steel-lt);
}
.movie-seo-description {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
  padding: 9px 11px;
  background: rgba(15, 18, 21, 0.55);
  border: 1px solid rgba(85, 96, 105, 0.45);
  border-left: 3px solid var(--steel-lt);
}
.player-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--steel-lt);
  background: #0f1215;
}
.player-block video {
  width: 100%;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #262d34 0%, #1b2025 100%);
  border-top: 1px solid var(--steel-lt);
}
.player-controls.is-theater {
  background: linear-gradient(180deg, #1a1f24 0%, #101316 100%);
  border-top-color: var(--rust);
}
.player-controls.is-lights-off {
  background: #08090b;
}
.player-controls.is-lights-off .ctrl-btn {
  color: var(--amber);
  border-color: rgba(217, 164, 65, 0.4);
}
.ctrl-btn {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  background: #22282e;
  border: 1px solid var(--steel);
  padding: 4px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.ctrl-btn:hover {
  color: #f2efe8;
  border-color: var(--rust);
  background: #2f2521;
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  color: #f2efe8;
  background: var(--rust);
  border-color: var(--rust-lt);
}
.ctrl-btn.is-muted {
  color: var(--rust-lt);
  border-color: var(--rust);
  background: #2a1d1a;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 6px;
  background: #171b1f;
  border: 1px solid var(--steel);
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--amber);
  border: 1px solid #6b4e16;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border-radius: 0;
  background: var(--amber);
  border: 1px solid #6b4e16;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-cell {
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: #1a1f24;
  border: 1px solid var(--steel);
  border-top: 2px solid var(--rust);
  padding: 4px 9px;
  white-space: nowrap;
}
.cast-strip { min-width: 0; }
.cast-heading { margin-bottom: 8px; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px;
  background: #1c2126;
  border: 1px solid var(--steel);
  border-left: 3px solid var(--steel-lt);
  position: relative;
}
.cast-card:nth-child(even) {
  margin-left: 0;
  background: #20262c;
  border-left-color: var(--rust);
}
.cast-card:nth-child(3n) {
  transform: translateX(6px);
  z-index: 2;
  box-shadow: -3px 3px 0 rgba(0, 0, 0, 0.4);
}
.cast-name {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: #f0ede6;
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.synopsis-block {
  border-top: 1px solid var(--steel);
  padding-top: 12px;
}
.synopsis-paragraph {
  font-size: 14px;
  line-height: 1.78;
  color: var(--text);
  text-align: justify;
  margin-bottom: 8px;
  padding-left: 11px;
  border-left: 2px solid rgba(85, 96, 105, 0.5);
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.synopsis-paragraph::first-letter {
  font-family: "Heiti SC", "SimHei", sans-serif;
  font-size: 1.2em;
  color: var(--amber);
}
.details-block {
  border-top: 1px solid var(--steel);
  padding-top: 12px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(85, 96, 105, 0.4);
  border-left: 1px solid rgba(85, 96, 105, 0.4);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 8px;
  border-right: 1px solid rgba(85, 96, 105, 0.4);
  border-bottom: 1px solid rgba(85, 96, 105, 0.4);
  background: rgba(15, 18, 21, 0.35);
  min-width: 0;
}
.detail-key {
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  flex: 0 0 auto;
  min-width: 62px;
}
.detail-value {
  font-size: 13px;
  color: var(--paper);
  margin-left: auto;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section { min-width: 0; }
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  border-top: 2px solid var(--steel);
  border-bottom: 2px solid var(--steel);
  background:
    linear-gradient(180deg, rgba(32, 38, 44, 0.5), rgba(15, 18, 21, 0.5));
}
.timeline-node {
  position: relative;
  flex: 0 0 208px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 11px 12px;
  background: #1e242a;
  border: 1px solid var(--steel);
  border-top: 3px solid var(--rust);
  scroll-snap-align: start;
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 18px;
  right: -11px;
  width: 10px;
  height: 1px;
  background: var(--steel-lt);
}
.timeline-node:last-child::after { display: none; }
.node-code {
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rust-lt);
  background: rgba(168, 60, 43, 0.12);
  border: 1px solid rgba(168, 60, 43, 0.4);
  padding: 2px 6px;
  align-self: start;
}
.node-timecode {
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.node-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}
.episodes-section { min-width: 0; }
.episode-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
.episode-item {
  display: flex;
  gap: 10px;
  padding: 8px 9px;
  background: #1c2126;
  border: 1px solid var(--steel);
  border-bottom-width: 2px;
}
.episode-number {
  flex: 0 0 auto;
  align-self: flex-start;
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f2efe8;
  background: var(--rust);
  padding: 4px 6px;
  min-width: 52px;
  text-align: center;
}
.episode-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.episode-title {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: #eceae4;
  line-height: 1.3;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.episode-duration {
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--amber);
  align-self: start;
}
.comments-section {
  min-width: 0;
  border: 1px solid var(--steel);
  background: linear-gradient(180deg, #1b2025 0%, #161a1e 100%);
  padding: 12px;
}
.comment-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  align-items: start;
}
.comment-item {
  padding: 7px 9px;
  background: rgba(32, 38, 44, 0.6);
  border: 1px solid rgba(85, 96, 105, 0.4);
  border-left: 3px solid var(--steel-lt);
}
.comment-nick {
  display: block;
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rust-lt);
  margin-bottom: 3px;
}
.comment-nick::before { content: "@ "; color: var(--steel-lt); }
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text);
  overflow-wrap: anywhere;
}
.recommend-region {
  padding-top: 8px;
  border-top: 2px solid var(--steel);
}
.recommend-region + .recommend-region { margin-top: 4px; }
.recommend-heading {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #f0ede6;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px dashed var(--steel-lt);
  display: inline-block;
}
.recommend-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.recommend-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 8px;
  background: #1c2126;
  border: 1px solid var(--steel);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  min-width: 0;
}
a.recommend-card:hover {
  border-color: var(--rust);
  background: #241f1e;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-bottom: 2px solid var(--rust);
  filter: saturate(0.8) contrast(1.05);
}
.recommend-name {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #eceae4;
  line-height: 1.35;
  padding: 0 8px;
  margin-top: 4px;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-dim);
  padding: 0 8px;
}
.site-footer {
  max-width: 1440px;
  margin: 20px auto 0;
  padding: 14px;
  border-top: 3px solid var(--rust);
  background: #101316;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
  border-left: 3px solid var(--steel);
  padding-left: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  text-decoration: none;
  border: 1px solid var(--steel);
  padding: 4px 12px;
  background: #1a1f24;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f2efe8;
  border-color: var(--rust);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friends-label {
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steel-lt);
  text-transform: uppercase;
  border-right: 1px solid var(--steel);
  padding-right: 10px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px dashed var(--steel);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
@media (min-width: 640px) {body { font-size: 15px; }
.page-main { padding: 14px 18px 6px; gap: 16px; }
.overview-shell { padding: 16px; }
.movie-title { font-size: 32px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (min-width: 900px) {.overview-shell {
    grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
    gap: 18px;
  }
.movie-title { font-size: 36px; }
.details-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (min-width: 1100px) {.overview-shell {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1.55fr) minmax(0, 20rem);
    grid-template-areas:
      "poster info info"
      "poster info info";
    align-items: start;
  }
.poster-column { grid-area: poster; position: sticky; top: 56px; }
.overview-info { grid-area: info; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episodes-section { min-width: 0; }
.comment-list { grid-template-columns: minmax(0, 1fr); }
.recommend-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recommend-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (min-width: 1280px) {.overview-shell {
    grid-template-columns: minmax(0, 21rem) minmax(0, 1.7fr) minmax(0, 22rem);
  }
.timeline-node { flex-basis: 236px; }}
@media (min-width: 1100px) {.page-main { display: grid; grid-template-columns: minmax(0, 1fr); }}
@media (min-width: 1100px) {.episodes-section, .comments-section, .timeline-section, .movie-overview, .recommend-region { grid-column: 1 / -1; }}
@media (min-width: 1100px) {.episodes-section { display: grid; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 420px) {.header-bar { padding: 7px 10px; gap: 8px; }
a[data-contract="site-name"] { font-size: 16px; }
.page-main { padding: 10px 10px 4px; }
.overview-shell { padding: 10px; gap: 12px; }
.movie-title { font-size: 22px; }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.cast-card:nth-child(3n) { transform: none; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.detail-key { min-width: 54px; }
.recommend-grid-3, .recommend-grid-4 { grid-template-columns: minmax(0, 1fr); }
.timeline-node { flex-basis: 176px; }
.ctrl-range { flex: 1 1 60px; }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; animation: none !important; }}

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}
