*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, ol, li, dl, dd, dt, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --ink: #16130f;
  --ink-soft: #241d17;
  --char: #1c1814;
  --char-2: #2a231c;
  --orange: #f08a1d;
  --orange-deep: #d2691e;
  --orange-glow: #ffb martin;
  --amber: #ffc45e;
  --rust: #a3341f;
  --rust-soft: #c0472c;
  --paper: #f6efe3;
  --grey: #8b8378;
  --grey-cold: #9aa0a4;
  --line: rgba(240, 138, 29, 0.22);
  --line-cold: rgba(154, 160, 164, 0.25);
  --rule: rgba(246, 239, 227, 0.12);
}
html { background: var(--char); }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  background:
    radial-gradient(1200px 520px at 78% -6%, rgba(240, 138, 29, 0.16), transparent 62%),
    radial-gradient(720px 420px at 6% 4%, rgba(163, 52, 31, 0.14), transparent 60%),
    linear-gradient(180deg, #1a1511 0%, #14100d 46%, #100d0a 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(16, 13, 10, 0.96), rgba(16, 13, 10, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(240, 138, 29, 0.35);
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: #fff2d6;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 3px 10px;
  color: #d9cdb9;
  text-decoration: none;
  border: 1px solid var(--line-cold);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--char);
  background: var(--orange);
  border-color: var(--orange);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.overview-shell {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(42, 35, 28, 0.9), rgba(24, 19, 15, 0.92));
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}
.overview-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.014) 0 2px, transparent 2px 7px);
}
.poster-panel {
  position: relative;
  z-index: 1;
  align-self: start;
}
.poster-media {
  position: relative;
  border: 1px solid rgba(240, 138, 29, 0.4);
  background: #0d0b08;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  margin: 0;
}
.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(240, 138, 29, 0.16), transparent 42%, rgba(163, 52, 31, 0.2));
  mix-blend-mode: screen;
}
.poster-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.overview-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.movie-title {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: #fff4e2;
  text-shadow: 0 2px 0 rgba(163, 52, 31, 0.5), 0 0 30px rgba(240, 138, 29, 0.28);
}
.movie-tagline {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--orange);
  padding-left: 12px;
  border-left: 3px solid var(--rust);
  line-height: 1.4;
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.75;
  color: #bdb2a2;
  padding: 9px 11px;
  background: rgba(12, 9, 7, 0.55);
  border-left: 2px solid var(--orange-deep);
  text-align: justify;
}
.player-panel {
  position: relative;
  width: 100%;
  background: #0a0806;
  border: 1px solid rgba(240, 138, 29, 0.28);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.player-panel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
  outline: none;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 2px 0 0;
}
.player-button {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  color: #e8dcc8;
  background: linear-gradient(180deg, #2f2720, #1e1813);
  border: 1px solid rgba(240, 138, 29, 0.32);
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-button:hover, .player-button:focus-visible {
  background: linear-gradient(180deg, #453425, #2a2018);
  border-color: var(--orange);
  color: var(--amber);
}
.player-button.is-playing, .player-button.is-active {
  background: linear-gradient(180deg, var(--orange), var(--orange-deep));
  border-color: var(--amber);
  color: #1a1208;
  font-weight: 700;
}
.player-button.is-muted {
  color: var(--rust-soft);
  border-color: var(--rust);
}
.player-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--orange);
  background: transparent;
  margin: 0;
}
.block-heading {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--amber);
  padding: 0 0 5px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.block-heading::before {
  content: "";
  width: 4px;
  height: 15px;
  background: linear-gradient(180deg, var(--orange), var(--rust));
  flex: 0 0 auto;
}
.cast-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px 3px 3px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--rule);
}
.cast-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 196, 94, 0.85), transparent 52%),
    linear-gradient(150deg, #4a3624, #241a12);
  border: 1px solid rgba(240, 138, 29, 0.5);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 6px 6px 5px;
  border-radius: 50% 50% 42% 42%;
  background: rgba(255, 236, 205, 0.22);
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #ded2be;
  white-space: nowrap;
}
.synopsis-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.synopsis-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.8;
  color: #cfc4b3;
  text-align: justify;
  padding-left: 10px;
  border-left: 1px solid var(--rule);
}
.synopsis-paragraph:first-child {
  border-left-color: var(--orange-deep);
}
.synopsis-timeline {
  border-left: 1px solid var(--line);
  padding-left: 12px;
  min-width: 0;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 0 6px 14px;
  border-bottom: 1px dashed var(--rule);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 138, 29, 0.16);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 19px;
  bottom: -1px;
  width: 1px;
  background: linear-gradient(180deg, rgba(240, 138, 29, 0.4), rgba(240, 138, 29, 0.05));
}
.timeline-item:last-child::after { display: none; }
.timeline-timecode {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--rust-soft);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.55;
  color: #c9bda9;
}
.episode-status-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 12px;
  background: linear-gradient(180deg, rgba(240, 138, 29, 0.12), rgba(240, 138, 29, 0.03));
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
}
.status-key {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--grey);
}
.status-value {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--amber);
}
.details-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 18px;
  border-top: 1px solid var(--rule);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--rule);
  min-width: 0;
}
.detail-key {
  flex: 0 0 62px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--grey);
}
.detail-value {
  font-size: 12.5px;
  color: #ded2be;
  min-width: 0;
  word-break: break-word;
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.episode-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--orange-deep) rgba(255, 255, 255, 0.06);
}
.episode-rail::-webkit-scrollbar { height: 6px; }
.episode-rail::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.06); }
.episode-rail::-webkit-scrollbar-thumb { background: var(--orange-deep); }
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(42, 35, 28, 0.72), rgba(22, 18, 14, 0.82));
  border: 1px solid var(--rule);
  border-top: 2px solid var(--orange-deep);
  min-height: 100%;
}
.episode-title {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #fff0d9;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.7;
  color: #b9ad9b;
  flex: 1 1 auto;
}
.episode-duration {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--rust-soft);
  padding-top: 5px;
  border-top: 1px dotted var(--rule);
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: linear-gradient(180deg, rgba(40, 33, 26, 0.78), rgba(20, 16, 12, 0.86));
  border: 1px solid var(--rule);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  min-width: 0;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(240, 138, 29, 0.25) inset;
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: #0d0b08;
  border: 1px solid var(--rule);
}
.recommend-poster {
  display: block;
}
.recommend-name {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #f4e6cf;
  line-height: 1.4;
  display: block;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: #9d9384;
  display: block;
  border-top: 1px dotted var(--rule);
  padding-top: 4px;
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-grid {
  columns: 2;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 12px;
  padding: 9px 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--rule);
  border-left: 3px solid var(--orange-deep);
  position: relative;
}
.comment-card:nth-child(even) {
  border-left-color: var(--rust);
  margin-left: 10px;
}
.comment-card:nth-child(odd) {
  margin-right: 10px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: #d3c8b7;
  text-align: justify;
}
.comment-nickname {
  margin-top: 6px;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--grey);
}
.comment-nickname::before {
  content: "— ";
  color: var(--orange);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 9, 7, 0.9), #0a0806);
  padding: 16px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1180px;
  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: "Songti SC", "STSong", "SimSun", serif;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: #cbbfa9;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--orange);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 8px;
  border-top: 1px dotted var(--rule);
}
.friend-label {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--rust-soft);
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #a99d8b;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #6f675c;
  text-align: justify;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
.player-panel.is-theater {
  background: #050403;
  border-color: var(--orange);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
}
.player-panel.is-lights-dim video {
  filter: brightness(0.42) saturate(0.8);
}
.player-button.is-active { font-weight: 700; }
@media (max-width: 900px) {.overview-shell {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 16px;
  }
.synopsis-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 680px) {.header-inner { padding: 7px 12px; gap: 10px; }
.page-main { padding: 14px 12px 30px; gap: 20px; }
.overview-shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
.poster-panel {
    max-width: 190px;
  }
.synopsis-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.synopsis-timeline {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 8px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-grid {
    columns: 1;
  }
.comment-card:nth-child(even), .comment-card:nth-child(odd) {
    margin-left: 0;
    margin-right: 0;
  }
.episode-rail {
    grid-auto-columns: minmax(78%, 1fr);
  }
.movie-title { font-size: 26px; }}
@media (max-width: 420px) {.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-panel { max-width: 150px; }
.episode-rail { grid-auto-columns: minmax(86%, 1fr); }
.player-button { font-size: 11px; padding: 4px 7px; }}

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}
