:root {
  --ink: #10151c;
  --ink-2: #161d27;
  --ink-3: #1d2632;
  --slate: #232e3c;
  --slate-2: #2b3848;
  --line: #35424f;
  --line-soft: #2a3542;
  --amber: #c9743a;
  --amber-dim: #a05a2c;
  --amber-wash: rgba(201, 116, 58, 0.14);
  --amber-glow: rgba(214, 138, 74, 0.22);
  --text: #d9dee4;
  --text-dim: #93a0ad;
  --text-mute: #6d7b89;
  --text-faint: #55616e;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --rule: 1px solid var(--line-soft);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, p, dl, dd, dt, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 18, 24, 0.92);
  border-bottom: var(--rule);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 14px;
}
a[data-contract="site-name"] {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-decoration: none;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
a[data-contract="site-name"]:hover {
  color: #e08a4b;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12.5px;
  color: var(--text-dim);
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 14px 30px;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  padding: 14px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(201, 116, 58, 0.07), transparent 46%);
  pointer-events: none;
}
.hero-lead {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-mask {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.poster-shell {
  position: relative;
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--line);
  background: var(--ink-3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.poster-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(16, 21, 28, 0.5) 0%, rgba(16, 21, 28, 0) 45%, rgba(16, 21, 28, 0.65) 100%);
  pointer-events: none;
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: #05080b;
}
.player-video {
  display: block;
  width: 100%;
  background: #05080b;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(16, 21, 28, 0.94), rgba(10, 14, 19, 0.94));
  border-top: 1px solid var(--line-soft);
}
.ctrl-btn {
  padding: 3px 8px;
  font-size: 11.5px;
  font-family: var(--mono);
  letter-spacing: 0.03em;
  color: var(--text-dim);
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: var(--amber);
  border-color: var(--amber-dim);
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 3px;
  margin: 0 2px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--slate-2);
  border: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 14px;
  background: var(--amber);
  border: none;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 14px;
  background: var(--amber);
  border: none;
  border-radius: 0;
}
.ctrl-range::-moz-range-track {
  height: 3px;
  background: var(--slate-2);
}
.player-video.is-playing {
  box-shadow: inset 0 0 0 1px var(--amber-dim);
}
.player-video.is-muted {
  opacity: 0.72;
}
.player-shell.fullscreen, .player-shell.theater {
  width: 100%;
}
.hero-panel.is-theater .player-shell {
  box-shadow: 0 0 0 1px var(--amber-dim), 0 0 30px rgba(201, 116, 58, 0.16);
}
.hero-panel.is-light {
  background: #f3efe8;
  color: #1b2027;
}
.hero-panel.is-light .movie-tagline, .hero-panel.is-light .synopsis-para, .hero-panel.is-light .cast-note, .hero-panel.is-light .detail-value {
  color: #4a525c;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.movie-title {
  font-size: 27px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #eef1f5;
  border-left: 3px solid var(--amber);
  padding-left: 11px;
}
.movie-tagline {
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.04em;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.cast-strip {
  border-top: var(--rule);
  padding-top: 11px;
}
.cast-heading, .synopsis-heading, .detail-heading, .timeline-heading, .episodes-heading, .comments-heading, .rec-heading {
  font-size: 12px;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 9px;
}
.cast-heading::before, .synopsis-heading::before, .detail-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before, .rec-heading::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--amber);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%);
  vertical-align: baseline;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  padding: 9px 10px;
  background: var(--ink-3);
  min-width: 0;
}
.cast-name {
  font-size: 14px;
  font-weight: 700;
  color: #e7ebf0;
  border-bottom: 1px solid var(--amber-dim);
  padding-bottom: 2px;
}
.cast-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
}
.synopsis-block {
  border-top: var(--rule);
  padding-top: 11px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: var(--amber-wash);
  border-left: 3px solid var(--amber);
}
.status-label {
  font-size: 11.5px;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  color: var(--text-mute);
}
.status-value {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.detail-grid {
  border-top: var(--rule);
  padding-top: 11px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  justify-content: space-between;
  padding: 6px 9px;
  background: var(--ink-3);
  min-width: 0;
}
.detail-key {
  font-size: 11.5px;
  color: var(--text-faint);
  white-space: nowrap;
}
.detail-value {
  font-size: 12.5px;
  color: var(--text);
  font-family: var(--mono);
  text-align: right;
  word-break: break-word;
}
.timeline-section {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  padding: 13px 14px 15px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding-top: 20px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--amber-dim), var(--line) 55%, var(--line-soft));
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 9px 0 0;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--amber);
  transform: rotate(45deg);
}
.node-code {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-dim);
}
.episodes-section {
  padding-bottom: 4px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  gap: 3px 10px;
  padding: 9px 11px;
  background: var(--ink-2);
  min-width: 0;
}
.episode-number {
  grid-area: num;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  font-weight: 700;
  color: #e4e9ee;
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comments-section {
  padding-bottom: 4px;
}
.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 620px;
  border-left: 2px solid var(--line);
  padding-left: 12px;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  background: linear-gradient(90deg, var(--ink-3), rgba(29, 38, 50, 0.35));
  border-left: 2px solid transparent;
  min-width: 0;
}
.comment-item:hover {
  border-left-color: var(--amber);
  background: linear-gradient(90deg, var(--slate), rgba(35, 46, 60, 0.3));
}
.comment-nick {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--amber-dim);
  letter-spacing: 0.04em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.rec-region {
  padding-bottom: 4px;
}
.rec-region + .rec-region {
  padding-top: 14px;
  border-top: var(--rule);
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.rec-item {
  min-width: 0;
}
a.rec-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 7px;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  color: var(--text);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
a.rec-link:hover {
  border-color: var(--amber-dim);
  background: var(--ink-3);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #05080b;
  border: 1px solid var(--line-soft);
}
[data-runtime="recommendation"]:hover img {
  border-color: var(--amber-dim);
}
.rec-name {
  font-size: 13px;
  font-weight: 700;
  color: #e4e9ee;
  line-height: 1.35;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 14px 26px;
  border-top: var(--rule);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 720px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}
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: 7px 12px;
}
.friend-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-mute);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted var(--line);
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-dim);
}
@media (max-width: 900px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-shell {
    max-width: 220px;
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 16px;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node::before {
    top: -13px;
  }
.rec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 620px) {body {
    font-size: 14px;
  }
.page-main {
    gap: 18px;
    padding: 12px 10px 24px;
  }
.header-inner {
    padding: 8px 10px;
  }
.movie-title {
    font-size: 22px;
  }
.poster-shell {
    max-width: none;
  }
.cast-list, .detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    white-space: normal;
  }
.rec-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    max-width: none;
    padding-left: 9px;
  }
.ctrl-btn {
    padding: 3px 6px;
    font-size: 11px;
  }}
@media (prefers-reduced-motion: reduce) {html {
    scroll-behavior: auto;
  }}

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}
