:root {
  --soot: #17100c;
  --soot-2: #1f1611;
  --soot-3: #2a1e17;
  --smoke: #3a2a20;
  --rice: #f0e6d8;
  --rice-dim: #c9bba8;
  --ember: #e2561f;
  --ember-dim: #b8420f;
  --wood: #0f0a07;
  --radius: 4px;
  --radius-lg: 6px;
  --gap: 12px;
  --gap-tight: 8px;
  --font-title: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background: var(--soot);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--soot);
  color: var(--rice);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
}
button, input {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--ember);
  color: var(--soot);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(23, 16, 12, 0.94);
  border-bottom: 1px solid var(--soot-3);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap);
  padding: 8px 14px;
  max-width: 1440px;
  margin: 0 auto;
}
.brand-mark {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--rice);
  text-decoration: none;
  padding-right: 12px;
  border-right: 1px solid var(--smoke);
}
a[data-contract="site-name"] {
  color: var(--rice);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--ember);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12px;
  color: var(--rice-dim);
  text-decoration: none;
  background: var(--soot-2);
  border: 1px solid var(--soot-3);
  border-radius: var(--radius);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--soot);
  background: var(--ember);
  border-color: var(--ember);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-stage {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding-top: 14px;
}
.hero-slab {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 18px;
  align-items: start;
  background: linear-gradient(150deg, var(--soot-2), var(--soot));
  border: 1px solid var(--soot-3);
  border-radius: var(--radius-lg);
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.hero-slab::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(226, 86, 31, 0.14), transparent 75%);
  pointer-events: none;
}
.poster-wrap {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  transform: rotate(-2.4deg) translateY(2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
  border: 1px solid var(--smoke);
  align-self: start;
}
.poster-img {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}
.hero-words {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
  min-width: 0;
}
.movie-tagline {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0.05em;
  color: var(--rice);
  writing-mode: vertical-rl;
  text-orientation: upright;
  align-self: flex-end;
  max-height: 60vh;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.movie-title {
  font-size: clamp(19px, 2vw, 26px);
  letter-spacing: 0.22em;
  color: var(--ember);
  order: -1;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.85;
  color: var(--rice-dim);
  max-width: 62ch;
  border-top: 1px solid var(--soot-3);
  padding-top: 10px;
}
.player-shell {
  position: relative;
  width: 100%;
  background: var(--wood);
  border: 1px solid var(--soot-3);
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ctrl-btn {
  font-size: 12px;
  padding: 4px 10px;
  color: var(--rice-dim);
  background: var(--soot-3);
  border: 1px solid var(--smoke);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ctrl-btn:hover {
  color: var(--rice);
  background: var(--smoke);
}
.ctrl-btn.play, .ctrl-btn.is-active {
  color: var(--soot);
  background: var(--ember);
  border-color: var(--ember);
}
.ctrl-range {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--smoke);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ember);
  border: none;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--ember);
}
.player-shell.is-theater {
  padding: 10px;
  border-color: var(--ember-dim);
}
.player-shell.is-lightoff {
  background: #050302;
}
.player-shell.is-lightoff .player-controls {
  opacity: 0.35;
}
.player-shell .play, .player-shell .progress, .player-shell .volume, .player-shell .timeupdate, .player-shell .input, .player-shell .mute, .player-shell .speed, .player-shell .pip, .player-shell .fullscreen, .player-shell .theater, .player-shell .light, .player-shell .click {
  transition: color 0.15s, background 0.15s, border-color 0.15s, opacity 0.15s;
}
.overview-strips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.overview-strips > * {
  background: var(--soot-2);
  border: 1px solid var(--soot-3);
  border-radius: var(--radius-lg);
  padding: 10px 12px;
  min-width: 0;
}
.strip-heading {
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--ember);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--soot-3);
}
.detail-strip {
  grid-column: span 1;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
}
.detail-row {
  display: flex;
  gap: 6px;
  font-size: 12px;
  line-height: 1.5;
  min-width: 0;
}
.detail-key {
  color: var(--rice-dim);
  flex: 0 0 auto;
  opacity: 0.8;
}
.detail-key::after {
  content: "·";
  margin-left: 4px;
  color: var(--smoke);
}
.detail-val {
  color: var(--rice);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-row:nth-child(8) .detail-val {
  color: var(--ember);
  font-weight: 600;
}
.status-strip {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.status-line {
  font-family: var(--font-title);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--rice);
}
.status-note {
  font-size: 12px;
  color: var(--rice-dim);
}
.status-note::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
  margin-right: 6px;
  vertical-align: 1px;
}
.cast-strip {
  min-width: 0;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-bowl {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 34px;
  height: 62px;
  background: linear-gradient(180deg, var(--smoke), var(--soot-3));
  border: 1px solid var(--smoke);
  border-radius: var(--radius);
  padding: 4px;
  overflow: hidden;
}
.cast-bowl::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--ember);
  opacity: 0.5;
}
.cast-name {
  font-family: var(--font-title);
  font-size: 11px;
  line-height: 1.15;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: var(--rice);
  white-space: nowrap;
}
.synopsis-strip {
  grid-column: 1 / -1;
}
.synopsis-body {
  columns: 2;
  column-gap: 20px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--rice-dim);
  margin-bottom: 8px;
  break-inside: avoid;
  text-align: justify;
}
.synopsis-para:first-child::first-letter {
  font-family: var(--font-title);
  font-size: 2.1em;
  line-height: 1;
  color: var(--ember);
  float: left;
  margin: 2px 6px 0 0;
}
.section-heading {
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--rice);
  padding-left: 12px;
  border-left: 3px solid var(--ember);
  margin-bottom: 10px;
}
.timeline-stage {
  display: flex;
  flex-direction: column;
  min-height: 76vh;
  justify-content: center;
  background: var(--soot-2);
  border: 1px solid var(--soot-3);
  border-radius: var(--radius-lg);
  padding: 14px 0 14px 14px;
  overflow: hidden;
}
.timeline-stage .section-heading {
  margin-right: 14px;
}
.timeline-rail {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  padding: 26px 14px 26px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--smoke) transparent;
}
.timeline-rail::-webkit-scrollbar {
  height: 8px;
}
.timeline-rail::-webkit-scrollbar-track {
  background: var(--soot-3);
  border-radius: 4px;
}
.timeline-rail::-webkit-scrollbar-thumb {
  background: var(--ember-dim);
  border-radius: 4px;
}
.timeline-rail:active {
  cursor: grabbing;
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: max-content;
  position: relative;
  padding: 0 8px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 26px;
  transform: translateY(-50%);
  background:
    repeating-linear-gradient(
      90deg,
      var(--smoke) 0 10px,
      transparent 10px 18px
    ),
    linear-gradient(180deg, var(--soot-3), var(--soot-3));
  border-radius: 3px;
  opacity: 0.85;
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 168px;
  flex: 0 0 168px;
  gap: 8px;
  padding: 0 8px;
}
.node-ep {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--rice-dim);
  background: var(--soot);
  border: 1px solid var(--soot-3);
  border-radius: var(--radius);
  padding: 1px 7px;
  white-space: nowrap;
}
.node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(226, 86, 31, 0.18), 0 0 14px rgba(226, 86, 31, 0.5);
  flex: 0 0 auto;
}
.node-label {
  font-family: var(--font-title);
  font-size: 13px;
  line-height: 1.4;
  color: var(--rice);
  text-align: center;
  max-width: 150px;
}
.timeline-node:nth-child(even) .node-label {
  color: var(--rice-dim);
}
.episodes-stage {
  display: flex;
  flex-direction: column;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-tight);
}
.episode-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--soot-2);
  border: 1px solid var(--soot-3);
  border-radius: var(--radius);
  padding: 8px 10px 10px;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.episode-cell:hover {
  border-color: var(--ember-dim);
  background: var(--soot-3);
  transform: translateY(-2px);
}
.ep-no {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ember);
}
.ep-title {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--rice);
}
.ep-summary {
  font-size: 12px;
  line-height: 1.65;
  color: var(--rice-dim);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ep-duration {
  font-size: 11px;
  color: var(--ember);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease;
  margin-top: 0;
}
.episode-cell:hover .ep-duration {
  max-height: 24px;
  opacity: 1;
  margin-top: 2px;
}
.comments-stage {
  display: flex;
  flex-direction: column;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.comment-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.comment-col-left {
  margin-top: 0;
}
.comment-col-right {
  margin-top: 26px;
}
.comment-card {
  background: var(--soot-2);
  border: 1px solid var(--soot-3);
  border-left: 2px solid var(--smoke);
  border-radius: var(--radius);
  padding: 9px 12px;
  transition: border-left-color 0.15s, background 0.15s;
}
.comment-card:hover {
  border-left-color: var(--ember);
  background: var(--soot-3);
}
.comment-nick {
  display: block;
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ember);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--rice-dim);
  text-align: justify;
}
.rec-region {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  background: var(--soot-2);
  border: 1px solid var(--soot-3);
  border-radius: var(--radius-lg);
  padding: 12px;
}
.rec-heading {
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--rice);
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.3;
  padding: 4px 2px;
  border-right: 1px solid var(--soot-3);
  align-self: stretch;
  display: flex;
  align-items: center;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--gap-tight);
  align-items: start;
  min-width: 0;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--soot);
  border: 1px solid var(--soot-3);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 0;
  color: var(--rice);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
a.rec-card:hover {
  border-color: var(--ember);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--soot-3);
}
.rec-pic {
  display: block;
  width: 100%;
  object-fit: cover;
}
.rec-name {
  font-family: var(--font-title);
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--rice);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--rice-dim);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rec-region-1 .rec-heading {
  color: var(--ember);
}
.site-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 14px 28px;
  border-top: 1px solid var(--soot-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.disclaimer-text {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--rice-dim);
  opacity: 0.75;
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--rice-dim);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid var(--soot-3);
  border-radius: var(--radius);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ember);
  border-color: var(--ember-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.friend-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--smoke);
  filter: brightness(2.2);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--rice-dim);
  text-decoration: none;
  opacity: 0.8;
}
a.runtime-friend-link:hover {
  color: var(--ember);
  opacity: 1;
}
@media (max-width: 1024px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-slab {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-wrap {
    max-width: 230px;
    transform: rotate(-1.8deg);
  }
.movie-tagline {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    align-self: flex-start;
    max-height: none;
    font-size: clamp(24px, 7vw, 34px);
  }
.synopsis-body {
    columns: 1;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-stage {
    min-height: 60vh;
  }
.rec-region {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-heading {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    border-right: none;
    border-bottom: 1px solid var(--soot-3);
    padding: 0 0 6px;
    justify-content: flex-start;
  }}
@media (max-width: 620px) {.page-main {
    padding: 0 10px 20px;
    gap: 16px;
  }
.header-bar {
    padding: 7px 10px;
  }
.brand-mark {
    font-size: 15px;
  }
.overview-strips {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-col-right {
    margin-top: 0;
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 5px;
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 11.5px;
  }}
@media (max-width: 400px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@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}
