*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #14161a;
  --coal: #1c1f24;
  --coal-2: #23262c;
  --coal-3: #2b2f36;
  --line: #34383f;
  --ash: #6b7078;
  --ash-2: #8d939c;
  --ash-3: #b7bcc3;
  --paper: #d8d3c8;
  --tungsten: #f0b64a;
  --tungsten-dim: #b8862f;
  --rust: #a5432a;
  --rust-dim: #6d2f20;
  --rule: #3a3f47;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Heiti SC", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--ash-3); text-decoration: none; }
a:hover { color: var(--tungsten); }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: 0.02em; }
figure { margin: 0; }
video { display: block; background: #000; }
button, input { font: inherit; color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 22, 26, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 14px;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--tungsten);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 3px solid var(--rust);
  padding-left: 8px;
  line-height: 1.1;
}
a[data-contract="site-name"]:hover { color: #ffd27a; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  color: var(--ash-2);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  background: var(--coal-2);
  letter-spacing: 0.04em;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--tungsten);
  border-color: var(--tungsten);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 26px;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.58fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0 20px;
}
.hero-shell::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 4%;
  width: 62%;
  height: 78%;
  background: radial-gradient(ellipse 60% 70% at 22% 12%, rgba(240, 182, 74, 0.16), rgba(240, 182, 74, 0.05) 42%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hero-poster-col {
  position: relative;
  z-index: 1;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--coal);
  padding: 0;
  display: flex;
  flex-direction: column;
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.92);
}
.poster-caption {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ash);
  padding: 4px 6px;
  border-top: 1px solid var(--line);
  text-transform: uppercase;
}
.hero-content-col {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.movie-title {
  font-size: 24px;
  line-height: 1.1;
  color: #f2ede2;
  letter-spacing: 0.03em;
  text-shadow: 0 0 18px rgba(240, 182, 74, 0.18);
}
.movie-tagline {
  font-size: 12.5px;
  color: var(--tungsten);
  letter-spacing: 0.06em;
  padding-left: 9px;
  border-left: 2px solid var(--rust);
}
.movie-seo {
  font-size: 12px;
  color: var(--ash-2);
  line-height: 1.6;
  max-width: 62ch;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: #0e1013;
  padding: 0;
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 7px;
  background: var(--coal-2);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  background: var(--coal-3);
  border: 1px solid var(--line);
  color: var(--ash-3);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.ctrl-btn:hover {
  background: var(--tungsten);
  border-color: var(--tungsten);
  color: var(--ink);
}
.ctrl-btn:active { background: var(--tungsten-dim); }
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  cursor: pointer;
  border-radius: 0;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 12px;
  background: var(--tungsten);
  border: none;
}
.ctrl-progress::-moz-range-thumb {
  width: 9px; height: 12px; background: var(--tungsten); border: none; border-radius: 0;
}
.ctrl-volume {
  flex: 0 1 70px;
  min-width: 54px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px; height: 12px; background: var(--rust); border: none;
}
.ctrl-volume::-moz-range-thumb {
  width: 9px; height: 12px; background: var(--rust); border: none; border-radius: 0;
}
.player-shell.is-playing .ctrl-btn[data-player-action="play"] { background: var(--rust); border-color: var(--rust); color: #f2ede2; }
.player-shell.is-speed .ctrl-btn[data-player-action="speed"] { background: var(--tungsten-dim); border-color: var(--tungsten-dim); color: var(--ink); }
.player-shell.is-theater {
  border-color: var(--tungsten);
  box-shadow: 0 0 0 1px rgba(240, 182, 74, 0.25), 0 0 26px rgba(240, 182, 74, 0.12);
}
.player-shell.is-lights-off { background: #000; }
.player-shell.is-lights-off .player-controls { background: #08090b; }
.player-shell.is-lights-off video { filter: brightness(0.72) contrast(1.1); }
.player-shell.is-lights-off .ctrl-btn { color: var(--ash); }
.player-shell.is-lights-off .ctrl-btn[data-player-action="light"] {
  background: var(--tungsten);
  border-color: var(--tungsten);
  color: var(--ink);
}
video.is-muted { filter: grayscale(0.35); }
.episode-status {
  border: 1px solid var(--line);
  border-left: 3px solid var(--tungsten);
  background: var(--coal);
  padding: 5px 9px;
}
.episode-status-line {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ash-3);
}
.status-label {
  font-size: 10px;
  color: var(--ash);
  letter-spacing: 0.12em;
  border: 1px solid var(--line);
  padding: 1px 5px;
  margin-right: 3px;
  background: var(--coal-2);
}
.status-sep { color: var(--rust); margin: 0 5px; }
.section-heading {
  font-size: 13px;
  color: var(--ash-3);
  letter-spacing: 0.14em;
  padding-bottom: 4px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  display: inline-block;
  width: 3px; height: 11px;
  background: var(--tungsten);
  margin-right: 7px;
  vertical-align: -1px;
}
.synopsis-para {
  font-size: 12px;
  color: var(--ash-2);
  line-height: 1.62;
  margin-bottom: 5px;
  max-width: 74ch;
  padding-left: 10px;
  border-left: 1px solid var(--coal-3);
}
.synopsis-para:last-child { margin-bottom: 0; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(160deg, #33373e 0%, #1e2126 58%, #15171b 100%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: auto 8% 8% 8%;
  height: 3px;
  background: var(--rust-dim);
  opacity: 0.7;
}
.cast-card:nth-child(2n) .cast-avatar::after { background: var(--tungsten-dim); }
.cast-card:nth-child(3n) .cast-avatar::after { background: var(--line); }
.cast-name {
  font-size: 11px;
  color: var(--ash-3);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-item {
  background: var(--coal);
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.detail-key {
  font-size: 10px;
  color: var(--ash);
  letter-spacing: 0.14em;
}
.detail-val {
  font-size: 12px;
  color: var(--paper);
  letter-spacing: 0.02em;
  word-break: break-word;
}
.timeline-section {
  margin-top: 22px;
  padding-top: 4px;
}
.timeline-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  background: #101216;
  border: 1px solid var(--line);
  padding: 16px 4px;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
}
.timeline-strip::before, .timeline-strip::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 8px;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0 5px,
    var(--coal-3) 5px 13px,
    transparent 13px 18px
  );
  opacity: 0.85;
  pointer-events: none;
}
.timeline-strip::before { top: 3px; }
.timeline-strip::after { bottom: 3px; }
.timeline-cell {
  min-width: 0;
  padding: 8px 7px 8px 8px;
  border-left: 2px solid var(--coal-3);
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: linear-gradient(180deg, rgba(43, 47, 54, 0.45), transparent 70%);
}
.timeline-tc {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ash);
  white-space: nowrap;
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ash-3);
  letter-spacing: 0.02em;
}
.timeline-cell:nth-child(5) {
  border-left-color: var(--tungsten);
  background: linear-gradient(180deg, rgba(240, 182, 74, 0.14), transparent 72%);
}
.timeline-cell:nth-child(5) .timeline-tc { color: var(--tungsten); }
.timeline-cell:nth-child(5) .timeline-label { color: #f2ede2; }
.episodes-section { margin-top: 22px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  border: 1px solid var(--line);
  border-top: 2px solid var(--coal-3);
  background: var(--coal);
  padding: 8px 9px 7px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  position: relative;
  transition: border-color 0.14s, background 0.14s;
}
.episode-card:hover {
  border-top-color: var(--tungsten);
  background: var(--coal-2);
}
.episode-num {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--rust);
  white-space: nowrap;
}
.episode-title {
  font-size: 13px;
  color: #cfcabf;
  letter-spacing: 0.04em;
  line-height: 1.25;
}
.episode-summary {
  font-size: 11.5px;
  color: var(--ash-2);
  line-height: 1.52;
}
.episode-duration {
  font-size: 10px;
  color: var(--ash);
  letter-spacing: 0.1em;
  align-self: flex-start;
  border-top: 1px dashed var(--rule);
  padding-top: 4px;
  margin-top: 1px;
  width: 100%;
}
.comments-section { margin-top: 22px; }
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.comment-card {
  background: var(--coal);
  border: 1px solid var(--line);
  border-left: 2px solid var(--rust-dim);
  padding: 7px 9px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.comment-card:nth-child(even) { border-left-color: var(--tungsten-dim); }
.comment-code {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--ash);
  text-transform: uppercase;
}
.comment-nick {
  font-size: 11.5px;
  color: var(--tungsten);
  letter-spacing: 0.05em;
}
.comment-text {
  font-size: 12px;
  color: var(--ash-3);
  line-height: 1.6;
}
.rec-region {
  margin-top: 20px;
  padding-top: 4px;
}
.rec-heading {
  font-size: 12.5px;
  color: var(--ash-3);
  letter-spacing: 0.1em;
  text-align: left;
  padding-bottom: 4px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--rule);
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px;
  align-items: start;
}
.rec-item { min-width: 0; }
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--coal);
  border: 1px solid var(--line);
  padding: 5px 6px 7px;
  color: var(--ash-3);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.14s, background 0.14s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--tungsten-dim);
  background: var(--coal-2);
  color: var(--tungsten);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--coal-3);
  filter: saturate(0.62) contrast(1.05) brightness(0.88);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 11.5px;
  color: var(--paper);
  letter-spacing: 0.03em;
  line-height: 1.3;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 10.5px;
  color: var(--ash);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #101216;
  padding: 14px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
  text-align: center;
}
.footer-disclaimer {
  font-size: 10.5px;
  color: var(--ash);
  line-height: 1.6;
  max-width: 68ch;
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  background: var(--coal);
}
a[data-contract="footer-home"] { color: var(--tungsten); text-decoration: none; }
a[data-contract="footer-home"]:hover { background: var(--tungsten); color: var(--ink); border-color: var(--tungsten); }
a[data-contract="footer-sitemap"] { color: var(--rust); text-decoration: underline; text-underline-offset: 2px; }
a[data-contract="footer-sitemap"]:hover { background: var(--rust); color: #f2ede2; border-color: var(--rust); text-decoration: none; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  justify-content: center;
  align-items: center;
  border-top: 1px dashed var(--rule);
  padding-top: 9px;
  width: 100%;
  max-width: 860px;
}
.friend-links-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ash);
  border-right: 1px solid var(--line);
  padding-right: 8px;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 10.5px;
  color: var(--ash-2);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
a.runtime-friend-link:hover { color: var(--tungsten); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr);
    gap: 12px;
  }
.movie-title { font-size: 20px; }
.timeline-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 720px) {.hero-shell { grid-template-columns: 1fr; }
.hero-shell::before { width: 100%; height: 46%; }
.hero-poster-col { max-width: 220px; }
.movie-title { font-size: 19px; }
.timeline-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-columns { grid-template-columns: 1fr; }
.rec-list { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }}
@media (max-width: 520px) {body { font-size: 12.5px; }
.site-header-inner { padding: 6px 10px; gap: 8px; }
.page-main { padding: 0 10px 20px; }
.hero-poster-col { max-width: 170px; }
.movie-title { font-size: 17px; }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
.detail-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.timeline-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: 1fr; }
.rec-list { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.ctrl-btn { padding: 3px 6px; font-size: 10.5px; }
.ctrl-progress { flex-basis: 100%; }}

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}
