*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0a0908;
  --ink-2: #141210;
  --ink-3: #1d1a16;
  --ink-4: #262119;
  --line: #332c22;
  --amber: #e8a13a;
  --amber-hot: #ffc266;
  --amber-dim: #7a5c28;
  --amber-glow: rgba(232, 161, 58, 0.55);
  --text: #d8cfc0;
  --text-dim: #9a8f7d;
  --text-soft: #6f6656;
  --stage-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand-font: "Xingkai SC", "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", cursive, var(--stage-font);
  --tight: 0.02em;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(120% 60% at 50% -10%, #201a12 0%, #0d0b09 55%, #070606 100%),
    var(--ink);
  color: var(--text);
  font-family: var(--stage-font);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: var(--tight);
  min-height: 100vh;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2 { font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10,9,8,0.96), rgba(10,9,8,0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
}
.site-brand, a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--amber-hot);
  text-decoration: none;
  text-shadow: 0 0 14px var(--amber-glow);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #fff0d4; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color .18s, border-color .18s, background .18s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--amber-hot);
  border-color: var(--amber-dim);
  background: rgba(232, 161, 58, 0.08);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-stage {
  position: relative;
  margin: 0 -16px;
}
.hero-backdrop {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background:
    radial-gradient(70% 55% at 62% 42%, rgba(255, 194, 102, 0.20) 0%, rgba(232, 161, 58, 0.07) 34%, transparent 72%),
    linear-gradient(160deg, #171310 0%, #0b0a09 60%, #060505 100%);
  display: flex;
  align-items: flex-end;
}
.hero-silhouette {
  position: absolute;
  top: 6%;
  right: 9%;
  width: 40%;
  max-width: 380px;
  height: 88%;
  background:
    radial-gradient(38% 22% at 50% 12%, #100e0c 0%, #100e0c 98%, transparent 100%),
    radial-gradient(46% 34% at 52% 40%, #0e0c0a 0%, #0e0c0a 96%, transparent 100%),
    radial-gradient(40% 40% at 50% 78%, #0d0b09 0%, #0d0b09 96%, transparent 100%);
  filter: drop-shadow(6px 0 22px rgba(255, 194, 102, 0.42)) drop-shadow(-4px 0 12px rgba(232, 161, 58, 0.28));
  clip-path: polygon(48% 0%, 62% 3%, 68% 14%, 66% 24%, 74% 34%, 80% 52%, 78% 72%, 88% 100%, 12% 100%, 22% 74%, 20% 54%, 26% 34%, 34% 24%, 32% 13%, 38% 3%);
  opacity: 0.96;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(6,5,5,0.92) 78%);
  pointer-events: none;
}
.hero-tagline {
  position: relative;
  z-index: 2;
  margin: 0 0 22px;
  padding: 0 20px;
  font-size: clamp(20px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--amber-hot);
  text-shadow: 0 0 22px rgba(232, 161, 58, 0.55), 0 2px 0 #000;
}
.movie-overview {
  background: linear-gradient(180deg, #131110 0%, #100e0c 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 194, 102, 0.06);
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-column {
  display: block;
  align-self: start;
}
.main-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #0b0a09;
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(232, 161, 58, 0.08);
}
.overview-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.title-block { display: flex; flex-direction: column; gap: 3px; }
.movie-title {
  font-size: clamp(20px, 2.6vw, 28px);
  color: #f4ecdf;
}
.movie-tagline {
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.05em;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
  background: #050403;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.main-player {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, #17130f, #0d0b09);
  border-top: 1px solid var(--line);
}
.player-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #1b1713;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .16s, border-color .16s, background .16s, box-shadow .16s;
}
.player-btn:hover { color: var(--amber-hot); border-color: var(--amber-dim); }
.player-btn.is-active, .player-btn.is-playing {
  color: #1a1206;
  background: var(--amber);
  border-color: var(--amber-hot);
  box-shadow: 0 0 12px var(--amber-glow);
}
.player-range {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  flex: 1 1 160px;
  min-width: 90px;
  background: linear-gradient(90deg, var(--amber-dim), #241f18);
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--amber-hot);
  box-shadow: 0 0 8px var(--amber-glow);
  border: none;
}
.player-range::-moz-range-thumb {
  width: 11px; height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--amber-hot);
  box-shadow: 0 0 8px var(--amber-glow);
}
.player-volume { flex: 0 1 90px; min-width: 60px; }
.player-range.is-muted { background: linear-gradient(90deg, #3a352c, #241f18); }
.player-speed {
  appearance: none;
  background: #1b1713;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 2px;
  cursor: pointer;
}
.player-speed.is-changed {
  color: var(--amber-hot);
  border-color: var(--amber-dim);
  box-shadow: 0 0 8px rgba(232, 161, 58, 0.28);
}
.section-heading {
  font-size: 15px;
  color: #f0e6d6;
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 3px solid var(--amber);
  margin-bottom: 10px;
}
.section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.cast-strip {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  max-width: 66px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 194, 102, 0.34), rgba(232, 161, 58, 0.06) 58%, transparent 72%),
    linear-gradient(150deg, #2a2318, #14110d);
  border: 1px solid var(--amber-dim);
  box-shadow: 0 0 12px rgba(232, 161, 58, 0.14), inset 0 0 14px rgba(0,0,0,0.7);
}
.cast-name {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.synopsis-lead {
  font-size: 13px;
  font-weight: 600;
  color: #e4d8c4;
  line-height: 1.62;
  margin-bottom: 6px;
}
.synopsis-para {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 5px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.status-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 2px;
  color: var(--text-dim);
  background: #1a1612;
  border: 1px solid var(--line);
}
.status-current {
  color: #1a1206;
  background: linear-gradient(180deg, var(--amber-hot), var(--amber));
  border-color: var(--amber-hot);
  box-shadow: 0 0 12px var(--amber-glow);
}
.detail-list {
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 4px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  padding: 2px 0;
  border-bottom: 1px dashed rgba(120, 104, 78, 0.28);
}
.detail-row dt {
  color: var(--text-soft);
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: 56px;
}
.detail-row dd {
  color: var(--text);
  font-weight: 500;
  min-width: 0;
}
.timeline-section { min-width: 0; }
.timeline-rail {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--amber-dim) #14110d;
}
.timeline-rail::-webkit-scrollbar { height: 7px; }
.timeline-rail::-webkit-scrollbar-track { background: #14110d; }
.timeline-rail::-webkit-scrollbar-thumb { background: var(--amber-dim); border-radius: 4px; }
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 16px 4px 4px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-dim) 6%, var(--amber-dim) 94%, transparent);
  box-shadow: 0 0 10px rgba(232, 161, 58, 0.22);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.node-dot {
  position: relative;
  display: block;
  width: 11px;
  height: 11px;
  margin: 0 0 8px 2px;
  border-radius: 50%;
  background: #2a251d;
  border: 2px solid #46402f;
  box-shadow: none;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.node-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-soft);
}
.timeline-node.is-active .node-dot, .timeline-node.is-current .node-dot {
  background: var(--amber-hot);
  border-color: #fff0d4;
  transform: scale(1.7);
  box-shadow: 0 0 0 5px rgba(232, 161, 58, 0.16), 0 0 20px 6px var(--amber-glow);
}
.timeline-node.is-active .node-timecode, .timeline-node.is-current .node-timecode { color: var(--amber-hot); }
.timeline-node.is-active .node-label, .timeline-node.is-current .node-label { color: #ded2bd; }
.episodes-section { min-width: 0; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px;
  background: linear-gradient(180deg, #17140f, #110f0c);
  border: 1px solid var(--line);
  border-left: 2px solid #2b251c;
  border-radius: 2px;
  transition: border-color .18s, box-shadow .18s, background .18s, transform .18s;
}
.episode-card:hover {
  border-color: var(--amber-dim);
  border-left-color: var(--amber);
  background: linear-gradient(180deg, #1d1812, #131009);
  box-shadow: 0 0 16px rgba(232, 161, 58, 0.22), inset 0 0 0 1px rgba(232, 161, 58, 0.12);
  transform: translateY(-1px);
}
.episode-head {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}
.episode-number {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.episode-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #eee2cf;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  align-self: flex-start;
}
.episode-current {
  border-color: var(--amber-dim);
  border-left-color: var(--amber-hot);
  background: linear-gradient(180deg, #221b11, #15110a);
  box-shadow: 0 0 18px rgba(232, 161, 58, 0.24);
}
.episode-current .episode-number { color: var(--amber-hot); }
.episode-current .episode-title { color: #fff3df; }
.comments-section { min-width: 0; }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px 12px;
  align-items: start;
  padding: 4px 2px 6px;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 12px;
  background: linear-gradient(150deg, #1f1a12 0%, #16120c 100%);
  border: none;
  border-radius: 1px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 161, 58, 0.06);
  transform: rotate(-1.6deg);
}
.comment-note:nth-child(2n) { transform: rotate(1.4deg); }
.comment-note:nth-child(3n) { transform: rotate(-2.3deg); }
.comment-note:nth-child(4n) { transform: rotate(2deg); }
.comment-note:nth-child(5n) { transform: rotate(-0.9deg); }
.comment-nickname {
  font-family: var(--hand-font);
  font-size: 14px;
  color: var(--amber-hot);
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(232, 161, 58, 0.28);
}
.comment-text {
  font-size: 12px;
  line-height: 1.58;
  color: var(--text-dim);
}
.rec-region { min-width: 0; }
.rec-heading {
  font-size: 14px;
  color: #ece1cd;
  letter-spacing: 0.05em;
  text-align: left;
  padding-left: 10px;
  border-left: 3px solid var(--amber-dim);
  margin-bottom: 8px;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 7px;
  align-items: start;
}
.rec-item { min-width: 0; }
a[data-runtime="recommendation"] {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "thumb name"
    "thumb blurb";
  column-gap: 9px;
  row-gap: 2px;
  align-items: start;
  padding: 6px;
  background: linear-gradient(180deg, #16130f, #100e0b);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--amber-dim);
  background: linear-gradient(180deg, #1c1710, #12100b);
  box-shadow: 0 0 14px rgba(232, 161, 58, 0.2);
}
[data-runtime="recommendation"] img {
  grid-area: thumb;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  background: #0a0908;
  border: 1px solid #2a241b;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  grid-area: name;
  font-size: 12.5px;
  font-weight: 700;
  color: #ecdfc8;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  grid-area: blurb;
  font-size: 11px;
  line-height: 1.42;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-soft);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber-hot);
  border-color: var(--amber-dim);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--amber);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-soft);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--amber-hot);
  text-decoration: underline;
}
body.theater-mode .page-main { max-width: 100%; }
body.theater-mode .player-shell { box-shadow: 0 0 0 1px var(--amber-dim), 0 0 30px rgba(232, 161, 58, 0.25); }
body.lights-off { background: #040303; }
body.lights-off .hero-backdrop { filter: brightness(0.55); }
body.lights-off .movie-overview, body.lights-off .site-header { filter: brightness(0.7); }
@media (max-width: 1000px) {.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }}
@media (max-width: 760px) {body { font-size: 13px; }
.overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-column {
    max-width: 190px;
  }
.hero-backdrop { min-height: 240px; }
.hero-silhouette { width: 58%; right: 4%; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.rec-list { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }}
@media (max-width: 560px) {.page-main { padding: 0 11px 20px; gap: 16px; }
.hero-stage { margin: 0 -11px; }
.movie-overview { padding: 11px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cast-avatar { max-width: 60px; }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-note { transform: rotate(-1deg); }
.comment-note:nth-child(2n) { transform: rotate(1deg); }
.comment-note:nth-child(3n) { transform: rotate(-1.4deg); }
.comment-note:nth-child(4n) { transform: rotate(1.2deg); }
.rec-list { grid-template-columns: minmax(0, 1fr); }
.detail-grid { grid-template-columns: minmax(0, 1fr); }
.hero-tagline { font-size: clamp(17px, 6vw, 24px); }
.player-controls { gap: 5px; }
.player-range { flex: 1 1 100%; order: 10; }
.player-volume { flex: 1 1 100%; order: 11; }}

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}
