:root {
  --bg-deep: #141a22;
  --bg-panel: #1a212b;
  --bg-raised: #212a36;
  --ink: #ece6da;
  --ink-dim: #a8a496;
  --ink-faint: #77746a;
  --archive-red: #8f2f2b;
  --archive-red-bright: #b8403a;
  --cold-white: #d9e3ea;
  --wood: #6b4f34;
  --rule: rgba(217, 227, 234, 0.14);
  --rule-strong: rgba(217, 227, 234, 0.24);
  --font-narrow: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-narrow);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
ol, dl {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 26, 34, 0.94);
  border-bottom: 1px solid var(--rule-strong);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--cold-white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 2px 0;
  border-left: 3px solid var(--archive-red-bright);
  padding-left: 10px;
  transition: color 0.16s ease;
}
a[data-contract="site-name"]:hover {
  color: var(--archive-red-bright);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 3px 9px;
  background: rgba(217, 227, 234, 0.03);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  border-color: var(--archive-red-bright);
  background: rgba(143, 47, 43, 0.16);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.section-heading {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--cold-white);
  text-transform: none;
  padding-left: 9px;
  border-left: 3px solid var(--archive-red-bright);
  margin-bottom: 8px;
  line-height: 1.2;
}
.hero-standoff {
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(0, 1.65fr) minmax(260px, 0.95fr);
  grid-template-areas:
    "poster still dossier"
    "poster cast cast"
    "status synopsis details"
    "status episodes episodes";
  gap: 10px 16px;
  padding: 14px 0 18px;
  align-items: start;
}
.hero-poster-col {
  grid-area: poster;
  position: sticky;
  top: 60px;
}
.poster-frame {
  border: 1px solid var(--rule-strong);
  background: var(--bg-panel);
  padding: 4px;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-still {
  grid-area: still;
  position: relative;
  border: 1px solid var(--rule-strong);
  background: #0e1319;
  overflow: hidden;
}
.still-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.still-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(0.82);
}
.still-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 14px 16px;
  background: linear-gradient(
    180deg,
    rgba(14, 19, 25, 0) 32%,
    rgba(14, 19, 25, 0.72) 72%,
    rgba(14, 19, 25, 0.92) 100%
  );
  pointer-events: none;
}
.hero-tagline {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--archive-red-bright);
  font-weight: 700;
}
.hero-title {
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0.05em;
  color: var(--cold-white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.hero-tagline-main {
  font-size: 13px;
  color: var(--ink-dim);
  max-width: 40ch;
  line-height: 1.5;
}
.hero-dossier {
  grid-area: dossier;
  background: var(--bg-panel);
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--archive-red);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}
.dossier-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.chip {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border: 1px solid var(--rule-strong);
  color: var(--ink-dim);
  white-space: nowrap;
}
.chip-rating {
  color: var(--cold-white);
  border-color: var(--archive-red-bright);
  background: rgba(143, 47, 43, 0.22);
  font-weight: 700;
}
.chip-year, .chip-region {
  background: rgba(217, 227, 234, 0.04);
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-dim);
  border-left: 1px solid var(--rule);
  padding-left: 10px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.btn {
  cursor: pointer;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn-primary {
  background: var(--archive-red);
  border-color: var(--archive-red-bright);
  color: #f6efe6;
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--archive-red-bright);
}
.btn-ghost {
  color: var(--cold-white);
}
.btn-ghost:hover {
  border-color: var(--cold-white);
  background: rgba(217, 227, 234, 0.08);
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--archive-red-bright);
  padding: 8px 12px;
  align-self: start;
}
.status-current {
  font-size: 13px;
  font-weight: 700;
  color: var(--cold-white);
  letter-spacing: 0.08em;
}
.status-total {
  font-size: 11.5px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.cast-strip {
  grid-area: cast;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  min-width: 0;
}
.cast-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--archive-red) transparent;
}
.cast-scroller::-webkit-scrollbar {
  height: 5px;
}
.cast-scroller::-webkit-scrollbar-thumb {
  background: var(--archive-red);
}
.cast-scroller::-webkit-scrollbar-track {
  background: rgba(217, 227, 234, 0.06);
}
.cast-card {
  flex: 0 0 auto;
  width: 78px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cast-face {
  width: 78px;
  height: 78px;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  background: #0e1319;
}
.cast-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05) brightness(0.86);
  transition: filter 0.2s ease, transform 0.3s ease;
}
.cast-card:hover .cast-face img {
  filter: saturate(1) contrast(1.05) brightness(1);
  transform: scale(1.05);
}
.cast-name {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  grid-area: synopsis;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  min-width: 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.synopsis-body p {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-dim);
  text-indent: 2em;
}
.details-panel {
  grid-area: details;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  border-top: 1px solid var(--rule);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  min-width: 4.2em;
}
.detail-row dd {
  font-size: 12.5px;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.episode-grid-section {
  grid-area: episodes;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-cell {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--rule-strong);
  padding: 8px 10px 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.episode-cell:hover {
  border-left-color: var(--archive-red-bright);
  background: var(--bg-raised);
}
.ep-number {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--archive-red-bright);
}
.ep-title {
  font-size: 13.5px;
  color: var(--cold-white);
  font-weight: 700;
  line-height: 1.3;
}
.ep-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.ep-duration {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  margin-top: 2px;
}
.episode-cell:hover .ep-duration {
  opacity: 1;
  transform: translateY(0);
}
.player-zone {
  margin: 6px 0 22px;
}
.player-shell {
  background: #0b0f14;
  border: 1px solid var(--rule-strong);
  padding: 8px;
  transition: background 0.2s ease;
}
.player-shell.theater-mode {
  background: #05080b;
  border-color: var(--archive-red);
  padding: 4px;
}
.player-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid rgba(217, 227, 234, 0.1);
}
.player-wrapper video {
  display: block;
  width: 100%;
  height: auto;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
.player-controls button {
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  padding: 4px 10px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-controls button:hover {
  color: var(--cold-white);
  border-color: var(--cold-white);
}
.player-controls button.is-active {
  color: #f6efe6;
  background: var(--archive-red);
  border-color: var(--archive-red-bright);
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(217, 227, 234, 0.16);
  border-radius: 2px;
  cursor: pointer;
  outline: none;
  min-width: 90px;
}
.player-controls input[data-player-action="progress"] {
  flex: 1 1 180px;
}
.player-controls input[data-player-action="volume"] {
  flex: 0 1 110px;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--archive-red-bright);
  border: 1px solid #f6efe6;
  cursor: pointer;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--archive-red-bright);
  border: 1px solid #f6efe6;
  cursor: pointer;
}
.player-controls select {
  font-size: 12px;
  color: var(--ink-dim);
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  padding: 4px 8px;
  cursor: pointer;
}
.player-controls select:hover {
  color: var(--cold-white);
  border-color: var(--cold-white);
}
body.lights-off {
  background: #070a0e;
}
body.lights-off .site-header, body.lights-off .hero-standoff, body.lights-off .dispatch-timeline, body.lights-off .episode-grid-section, body.lights-off .comments-board, body.lights-off .rec-region, body.lights-off .site-footer {
  opacity: 0.34;
  transition: opacity 0.3s ease;
}
body.lights-off .player-zone {
  opacity: 1;
}
body.lights-off .player-shell {
  border-color: var(--archive-red-bright);
  box-shadow: 0 0 0 1px rgba(184, 64, 58, 0.4), 0 0 40px rgba(0, 0, 0, 0.9);
}
.dispatch-timeline {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  margin-bottom: 22px;
}
.dispatch-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-strong);
  position: relative;
}
.dispatch-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 12px 10px 14px;
  border-right: 1px solid var(--rule);
  min-width: 0;
}
.dispatch-entry:last-child {
  border-right: none;
}
.dispatch-entry::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 14px;
  width: 7px;
  height: 7px;
  background: var(--bg-deep);
  border: 1px solid var(--archive-red-bright);
  transform: rotate(45deg);
}
.dispatch-entry::after {
  content: "";
  position: absolute;
  top: 0;
  left: 17px;
  width: 1px;
  height: 8px;
  background: var(--rule-strong);
}
.dispatch-timecode {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--archive-red-bright);
}
.dispatch-label {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.comments-board {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  margin-bottom: 22px;
}
.comment-columns {
  columns: 2;
  column-gap: 14px;
}
.comment-note {
  break-inside: avoid;
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--archive-red);
  padding: 9px 11px;
  margin-bottom: 10px;
  transform: rotate(-0.35deg);
}
.comment-note:nth-child(2n) {
  transform: rotate(0.4deg);
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.15deg);
  border-top-color: var(--rule-strong);
}
.comment-nick {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--cold-white);
  margin-bottom: 5px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--rule);
}
.comment-text {
  font-family: var(--font-serif);
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--ink-dim);
  overflow-wrap: anywhere;
}
.rec-region {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  margin-bottom: 18px;
}
.rec-row {
  display: grid;
  gap: 10px;
  align-items: start;
}
.rec-region-1 .rec-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.rec-region-2 .rec-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rec-region-3 .rec-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--ink-dim);
  text-decoration: none;
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  padding: 6px;
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.rec-card:hover {
  border-color: var(--archive-red-bright);
  background: var(--bg-raised);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  background: #0e1319;
  filter: saturate(0.72) contrast(1.04) brightness(0.84);
  transition: filter 0.2s ease;
}
a.rec-card:hover img {
  filter: saturate(1) contrast(1.04) brightness(1);
}
a.rec-card [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cold-white);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
a.rec-card [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  border-top: 1px solid var(--rule-strong);
  background: #10161d;
  margin-top: 10px;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--cold-white);
  border-bottom-color: var(--archive-red-bright);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 80ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.friend-links-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 2px 8px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--cold-white);
  border-color: var(--archive-red-bright);
  background: rgba(143, 47, 43, 0.18);
}
@media (max-width: 1180px) {.hero-standoff {
    grid-template-columns: minmax(140px, 180px) minmax(0, 1.6fr) minmax(240px, 1fr);
  }
.rec-region-1 .rec-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 960px) {.hero-standoff {
    grid-template-columns: minmax(130px, 170px) minmax(0, 1fr);
    grid-template-areas:
      "poster still"
      "poster dossier"
      "cast cast"
      "status status"
      "synopsis synopsis"
      "details details"
      "episodes episodes";
    gap: 12px 16px;
  }
.hero-poster-col {
    position: static;
  }
.hero-dossier {
    border-top-width: 1px;
    border-left: 3px solid var(--archive-red);
  }
.episode-status {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-region-1 .rec-row, .rec-region-2 .rec-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-region-3 .rec-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    padding: 0 12px 30px;
  }
.header-inner {
    padding: 8px 12px;
  }
.hero-standoff {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "still"
      "poster"
      "dossier"
      "cast"
      "status"
      "synopsis"
      "details"
      "episodes";
    gap: 12px;
  }
.hero-poster-col {
    max-width: 200px;
  }
.hero-title {
    font-size: clamp(22px, 7vw, 32px);
  }
.hero-tagline-main {
    font-size: 12px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    columns: 1;
  }
.rec-region-1 .rec-row, .rec-region-2 .rec-row, .rec-region-3 .rec-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.dispatch-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.dispatch-entry:nth-child(2n) {
    border-right: none;
  }
.player-controls input[data-player-action="progress"] {
    flex: 1 1 100%;
    order: -1;
  }}
@media (max-width: 460px) {.dispatch-track {
    grid-template-columns: minmax(0, 1fr);
  }
.dispatch-entry {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
.rec-region-1 .rec-row, .rec-region-2 .rec-row, .rec-region-3 .rec-row {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls button {
    padding: 4px 8px;
    font-size: 11.5px;
  }}

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}
