*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-deep: #0a0d10;
  --bg-iron: #11161b;
  --bg-panel: #161c22;
  --bg-raised: #1d252c;
  --line-steel: #2a343d;
  --line-hard: #3a4650;
  --text-main: #c6cfd6;
  --text-dim: #7d8b96;
  --text-faint: #59666f;
  --red-warn: #d92b2b;
  --red-glow: #ff3b30;
  --red-deep: #7a1414;
  --amber-btn: #e8a33d;
  --amber-dim: #8a621f;
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(180deg, rgba(20, 26, 32, 0.9) 0%, rgba(10, 13, 16, 1) 38%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 5px);
  color: var(--text-main);
  font-family: var(--font-stack);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
body.lights-off { background-image: none; background-color: #040608; }
body.theater-mode { background-color: #05080a; }
img { display: block; max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { list-style: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 13, 16, 0.94);
  border-bottom: 1px solid var(--line-steel);
  backdrop-filter: blur(4px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding: 7px 14px;
  max-width: 1280px;
  margin: 0 auto;
  border-left: 1px solid var(--line-steel);
  border-right: 1px solid var(--line-steel);
}
a[data-contract="site-name"] {
  color: #eef3f6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-right: 14px;
  border-right: 1px solid var(--line-hard);
}
a[data-contract="site-name"]:hover { color: var(--red-glow); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border: 1px solid var(--line-steel);
  background: linear-gradient(180deg, #1a2229, #12181e);
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #1a0d00;
  background: var(--amber-btn);
  border-color: var(--amber-btn);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas:
    "slogan poster"
    "player player"
    "cast cast"
    "synopsis status"
    "details details";
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line-steel);
  border-top: 2px solid var(--red-deep);
  background:
    linear-gradient(180deg, rgba(26, 33, 40, 0.85) 0%, rgba(12, 16, 20, 0.95) 100%);
  padding: 12px;
}
.hero-slogan {
  grid-area: slogan;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px 10px 16px;
  border-left: 3px solid var(--red-warn);
  background: linear-gradient(90deg, rgba(16, 21, 26, 0.95) 0%, rgba(16, 21, 26, 0.4) 100%);
}
.slogan-line {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: none;
}
.movie-title {
  font-size: clamp(21px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #f2f6f8;
  text-shadow: 0 0 18px rgba(217, 43, 43, 0.35);
}
.slogan-sub {
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--line-steel);
  padding-top: 7px;
  max-width: 42ch;
}
.poster-shell {
  grid-area: poster;
  justify-self: end;
  align-self: start;
  display: flex;
  align-items: flex-start;
  max-width: 100%;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--line-hard);
  padding: 4px;
  background: #0b0f13;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), 0 6px 26px rgba(0, 0, 0, 0.7);
  max-width: 100%;
}
.poster-frame::before, .poster-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--red-warn);
  opacity: 0.75;
}
.poster-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.poster-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.main-poster {
  width: auto;
  height: auto;
  max-height: 460px;
  max-width: 100%;
  object-fit: contain;
  background: #05080a;
}
.player-shell {
  grid-area: player;
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid var(--line-hard);
  background: #05080a;
  padding: 4px 4px 0;
}
.main-player {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #000;
  border: 1px solid #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 4px 6px;
  margin-top: 4px;
  border-top: 1px solid var(--line-steel);
  background: linear-gradient(180deg, #141a20, #0d1116);
}
.ctrl-btn {
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  color: var(--text-main);
  background: linear-gradient(180deg, #1e262d, #141a1f);
  border: 1px solid var(--line-hard);
  white-space: nowrap;
}
.ctrl-btn:hover { color: #fff; border-color: var(--red-warn); background: linear-gradient(180deg, #2a1a1a, #1a1010); }
.ctrl-btn.play, .ctrl-btn.is-playing { color: var(--red-glow); border-color: var(--red-deep); }
.ctrl-btn.is-active { color: #1a0d00; background: var(--amber-btn); border-color: var(--amber-btn); }
.ctrl-btn.mute, .ctrl-btn.speed, .ctrl-btn.pip, .ctrl-btn.fullscreen, .ctrl-btn.theater, .ctrl-btn.light { color: var(--text-dim); }
.ctrl-btn.mute:hover, .ctrl-btn.speed:hover, .ctrl-btn.pip:hover, .ctrl-btn.fullscreen:hover, .ctrl-btn.theater:hover, .ctrl-btn.light:hover { color: #fff; }
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--red-warn), var(--red-deep));
  border: 0;
  cursor: pointer;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 14px;
  background: var(--amber-btn);
  border: 1px solid #000;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 14px;
  background: var(--amber-btn);
  border: 1px solid #000;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-range.volume, .ctrl-range.progress, .ctrl-range.timeupdate, .ctrl-range.input { background: linear-gradient(90deg, var(--amber-dim), #2a343d); }
.cast-strip {
  grid-area: cast;
  border-top: 1px solid var(--line-steel);
  padding-top: 9px;
}
.cast-title, .synopsis-title, .status-title, .details-title, .timeline-title, .episodes-title, .comments-title, .rec-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  text-transform: uppercase;
  padding-left: 9px;
  border-left: 3px solid var(--red-warn);
  margin-bottom: 8px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px 3px 3px;
  border: 1px solid var(--line-steel);
  background: linear-gradient(180deg, #1a2128, #12181d);
}
.cast-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: block;
  border: 1px solid var(--line-hard);
  background:
    linear-gradient(135deg, #2b353d 0%, #171d23 55%, #0e1317 100%);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(232, 163, 61, 0.35) 0 4px, transparent 5px),
    radial-gradient(ellipse at 50% 96%, rgba(217, 43, 43, 0.3) 0 8px, transparent 9px);
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-main);
  white-space: nowrap;
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-left: 1px solid var(--line-steel);
  padding-left: 10px;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.7;
  color: #a7b2ba;
  text-align: justify;
}
.synopsis-para::first-letter { color: var(--amber-btn); }
.episode-status {
  grid-area: status;
  min-width: 0;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 5px;
}
.status-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 9px;
  border: 1px solid var(--line-steel);
  border-left: 2px solid var(--amber-dim);
  background: linear-gradient(180deg, #171e24, #10151a);
}
.status-key {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.status-val {
  font-size: 13px;
  font-weight: 700;
  color: #f0f4f6;
  letter-spacing: -0.01em;
}
.details-block {
  grid-area: details;
  border-top: 1px solid var(--line-steel);
  padding-top: 9px;
}
.details-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1px;
  background: var(--line-steel);
  border: 1px solid var(--line-steel);
}
.detail-cell {
  background: linear-gradient(180deg, #141a20, #0f1419);
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.detail-key {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.detail-val {
  font-size: 12px;
  color: #dbe3e8;
  font-weight: 500;
  overflow-wrap: break-word;
}
.timeline-section {
  border: 1px solid var(--line-steel);
  background: linear-gradient(180deg, #12181d 0%, #0c1014 100%);
  padding: 12px 14px 14px;
}
.timeline-list {
  position: relative;
  margin-left: 8px;
  padding-left: 20px;
  border-left: 2px solid var(--red-warn);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 6px 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(58, 70, 80, 0.6);
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-node {
  position: absolute;
  left: -27px;
  top: 13px;
  width: 8px;
  height: 8px;
  background: var(--red-glow);
  border: 1px solid #2a0808;
  box-shadow: 0 0 8px rgba(255, 59, 48, 0.7);
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber-btn);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 12.5px;
  color: #b6c0c8;
  min-width: 0;
}
.episodes-section {
  border: 1px solid var(--line-steel);
  background: linear-gradient(180deg, #131920 0%, #0c1014 100%);
  padding: 12px 14px 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num name"
    "sum sum"
    "dur dur";
  gap: 3px 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line-steel);
  border-top: 2px solid var(--line-hard);
  background: linear-gradient(180deg, #1a2128 0%, #12181d 100%);
  min-width: 0;
}
.episode-card:hover {
  border-top-color: var(--red-warn);
  background: linear-gradient(180deg, #221a1a 0%, #141013 100%);
}
.episode-number {
  grid-area: num;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red-glow);
  white-space: nowrap;
  border: 1px solid var(--red-deep);
  padding: 1px 6px;
  background: rgba(122, 20, 20, 0.22);
}
.episode-name {
  grid-area: name;
  font-size: 13.5px;
  font-weight: 700;
  color: #eef3f6;
  letter-spacing: -0.01em;
  min-width: 0;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.6;
  color: #93a0a9;
}
.episode-duration {
  grid-area: dur;
  justify-self: start;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  border-top: 1px solid var(--line-steel);
  padding-top: 3px;
  margin-top: 3px;
  width: 100%;
}
.comments-section {
  border: 1px solid var(--line-steel);
  background: linear-gradient(180deg, #12181d 0%, #0c1014 100%);
  padding: 12px 14px 14px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.comment-list-a { padding-top: 0; }
.comment-list-b { padding-top: 22px; }
.comment-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-steel);
  min-width: 0;
}
.comment-item:first-child { border-top: 1px solid var(--line-steel); }
.comment-nick {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-btn);
  margin-bottom: 3px;
}
.comment-nick::before {
  content: "▍";
  color: var(--red-warn);
  margin-right: 4px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.65;
  color: #a4afb7;
}
.rec-region {
  border: 1px solid var(--line-steel);
  border-top: 2px solid var(--line-hard);
  background: linear-gradient(180deg, #131920 0%, #0c1014 100%);
  padding: 11px 14px 14px;
}
.rec-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.rec-grid-1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line-steel);
  background: linear-gradient(180deg, #1a2128 0%, #11171c 100%);
  color: var(--text-main);
  text-decoration: none;
  align-self: start;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.rec-item:hover, a.rec-item:focus-visible {
  border-color: var(--red-warn);
  background: linear-gradient(180deg, #241a1a 0%, #141013 100%);
  color: #fff;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #05080a;
  border: 1px solid #000;
  filter: saturate(0.85) brightness(0.92);
  transition: filter 0.2s ease;
}
[data-runtime="recommendation"]:hover img { filter: saturate(1.05) brightness(1.02); }
.rec-pic { display: block; }
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #e6edf1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 14px 26px;
  border-top: 1px solid var(--line-steel);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 92ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border: 1px solid var(--line-steel);
  background: #12181d;
}
a[data-contract="footer-home"] { color: var(--amber-btn); text-decoration: none; }
a[data-contract="footer-home"]:hover { color: #1a0d00; background: var(--amber-btn); border-color: var(--amber-btn); }
a[data-contract="footer-sitemap"] { color: var(--red-glow); text-decoration: none; }
a[data-contract="footer-sitemap"]:hover { color: #170606; background: var(--red-glow); border-color: var(--red-glow); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 7px;
  border-top: 1px dashed var(--line-steel);
}
.friend-links-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
  padding-right: 8px;
  border-right: 1px solid var(--line-hard);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 7px;
  border: 1px solid transparent;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: #eaf1f5;
  border-color: var(--line-hard);
  background: #171e24;
}
@media (max-width: 1024px) {.hero-rail {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "slogan"
      "poster"
      "player"
      "cast"
      "status"
      "synopsis"
      "details";
  }
.poster-shell { justify-self: start; }
.main-poster { max-height: 420px; }
.rec-grid-1, .rec-grid-2, .rec-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 760px) {.page-main { padding: 10px 10px 18px; gap: 11px; }
.header-bar { padding: 6px 10px; gap: 8px 12px; }
a[data-contract="site-name"] { font-size: 14px; }
.hero-rail { padding: 10px; gap: 10px; }
.hero-slogan { padding: 8px 10px 8px 12px; }
.main-poster { max-height: 360px; }
.player-controls { gap: 4px; padding: 5px 3px; }
.ctrl-btn { font-size: 10.5px; padding: 3px 7px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comments-columns { grid-template-columns: minmax(0, 1fr); gap: 0; }
.comment-list-b { padding-top: 0; }
.rec-grid-1, .rec-grid-2, .rec-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-item { grid-template-columns: 54px minmax(0, 1fr); gap: 4px 10px; }}
@media (max-width: 480px) {body { font-size: 12.5px; }
.page-main { padding: 8px 8px 16px; gap: 9px; }
.main-poster { max-height: 300px; }
.status-list { grid-template-columns: minmax(0, 1fr); }
.details-row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.rec-grid-1, .rec-grid-2, .rec-grid-3 { grid-template-columns: minmax(0, 1fr); }
.timeline-list { padding-left: 16px; margin-left: 6px; }
.timeline-item { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.timeline-node { left: -22px; }}

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}
