:root {
  --rust: #6b3b28;
  --rust-deep: #3d2016;
  --rust-line: #7a4a33;
  --sand: #a89078;
  --sand-dim: #6e5c4b;
  --paper: #d9c9a8;
  --paper-dim: #b3a184;
  --ink: #e8ddc6;
  --ink-dim: #9d8b72;
  --bg: #14100d;
  --bg-2: #1c1611;
  --bg-3: #241c15;
  --cyan: #5ff2e0;
  --cyan-deep: #1e8f86;
  --cyan-glow: rgba(95, 242, 224, 0.5);
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
  --serif: "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(120% 90% at 85% 0%, #2a1d13 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 40%, #1f1811 0%, transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
  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 {
  font: inherit;
  color: inherit;
}
ul, ol, dl, dd, p, h1, h2 {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #1d1610 0%, #17110c 100%);
  border-bottom: 1px solid var(--rust-line);
  box-shadow: 0 1px 0 #000 inset, 0 6px 20px rgba(0, 0, 0, 0.55);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(122, 74, 51, 0.4);
}
a[data-contract="site-name"] {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  padding: 3px 10px 3px 8px;
  border: 1px solid var(--rust-line);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 92% 100%, 0 100%);
  background: linear-gradient(90deg, rgba(107, 59, 40, 0.55), rgba(107, 59, 40, 0));
  text-shadow: 0 0 12px rgba(95, 242, 224, 0.15);
}
a[data-contract="site-name"]:hover {
  color: var(--cyan);
  border-color: var(--cyan-deep);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}
a.header-nav-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--sand);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.header-nav-link:hover {
  color: var(--cyan);
  border-color: var(--cyan-deep);
  background: rgba(30, 143, 134, 0.1);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 5px 14px 6px;
  background: rgba(0, 0, 0, 0.25);
}
a.runtime-category {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sand-dim);
  text-decoration: none;
  padding: 2px 9px;
  border: 1px solid rgba(122, 74, 51, 0.55);
  white-space: nowrap;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--cyan);
  border-color: var(--cyan-deep);
  background: rgba(95, 242, 224, 0.07);
}
.page-main {
  display: block;
  padding: 0 16px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-heading {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--paper-dim);
  text-transform: uppercase;
  padding: 0 0 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--rust-line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--rust);
  box-shadow: 0 0 0 1px var(--rust-line);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%);
  flex: none;
}
.movie-overview {
  position: relative;
  margin-top: 14px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(61, 32, 22, 0.55), rgba(20, 16, 13, 0.2) 60%),
    var(--bg-2);
  border: 1px solid var(--rust-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px);
  opacity: 0.35;
  mix-blend-mode: multiply;
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: 20px;
  align-items: start;
  padding: 16px 14px 20px;
  border-bottom: 1px solid var(--rust-line);
}
.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
.hero-title {
  font-family: var(--mono);
  font-size: clamp(24px, 4.4vw, 46px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-shadow:
    2px 0 0 rgba(107, 59, 40, 0.9),
    -1px 0 0 rgba(0, 0, 0, 0.6),
    0 0 26px rgba(0, 0, 0, 0.8);
}
.hero-tagline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-shadow: 0 0 14px var(--cyan-glow);
  padding-left: 3px;
  border-left: 2px solid var(--cyan-deep);
}
.hero-seo {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-dim);
  max-width: 60ch;
}
.hero-countdown {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding: 6px 12px 7px;
  border: 1px solid var(--rust-line);
  border-left: 3px solid var(--cyan-deep);
  background: linear-gradient(90deg, rgba(30, 143, 134, 0.1), rgba(0, 0, 0, 0.35));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.countdown-number {
  font-family: var(--mono);
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--cyan);
  text-shadow:
    0 0 10px var(--cyan-glow),
    0 0 34px rgba(95, 242, 224, 0.28);
}
.countdown-unit {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--cyan-deep);
  align-self: flex-end;
  padding-bottom: 3px;
}
.countdown-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--sand-dim);
  align-self: flex-end;
  padding-bottom: 4px;
  margin-left: auto;
  white-space: nowrap;
}
.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.btn-primary, .btn-ghost {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 7px 18px;
  cursor: pointer;
  border: 1px solid;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: color 0.15s, background 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.btn-primary {
  background: linear-gradient(180deg, #7a4326, #4a2718);
  border-color: var(--rust-line);
  color: var(--paper);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.btn-primary:hover, .btn-primary.is-active {
  background: linear-gradient(180deg, #1e8f86, #0d5a54);
  border-color: var(--cyan);
  color: #04110f;
  box-shadow: 0 0 18px rgba(95, 242, 224, 0.35);
}
a.btn-ghost {
  background: rgba(0, 0, 0, 0.4);
  border-color: var(--rust-line);
  color: var(--sand);
  text-decoration: none;
  display: inline-block;
}
a.btn-ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan-deep);
  background: rgba(30, 143, 134, 0.12);
}
.hero-visual {
  position: relative;
  justify-self: end;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  width: 100%;
  max-width: 340px;
}
.poster-wrapper {
  position: relative;
  z-index: 2;
  width: min(72%, 250px);
  align-self: flex-end;
  border: 1px solid var(--rust-line);
  background: #0c0906;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7), 12px 14px 32px rgba(0, 0, 0, 0.7);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.poster-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: contrast(1.06) saturate(0.92);
}
.poster-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(95, 242, 224, 0.05), transparent 40%);
  mix-blend-mode: screen;
}
.hero-shadow-mark {
  position: absolute;
  right: -6px;
  bottom: -30px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.shadow-figure {
  font-family: var(--mono);
  font-size: clamp(56px, 11vw, 128px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2b1d14;
  text-shadow:
    1px 0 0 #4a2c1c,
    0 0 40px rgba(0, 0, 0, 0.9);
  opacity: 0.72;
  line-height: 0.8;
  display: block;
  writing-mode: vertical-rl;
}
.player-shell {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  width: 100%;
  border: 1px solid var(--rust-line);
  background: #080604;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
  border-bottom: 1px solid var(--rust-line);
}
.player-shell.player-shell-theater {
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 1px rgba(95, 242, 224, 0.25), 0 0 40px rgba(95, 242, 224, 0.12);
}
.player-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, #1d1610, #120d09);
}
.ctrl-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  cursor: pointer;
  color: var(--sand);
  background: rgba(107, 59, 40, 0.22);
  border: 1px solid var(--rust-line);
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan-deep);
}
.ctrl-btn.is-active {
  color: #04110f;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 14px var(--cyan-glow);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  background: transparent;
  cursor: pointer;
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
}
.ctrl-volume {
  flex: 0 0 84px;
  width: 84px;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-deep), #2a1c13);
  border: 1px solid #000;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  margin-top: -6px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
  border: 1px solid #04110f;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.ctrl-range::-moz-range-track {
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-deep), #2a1c13);
  border: 1px solid #000;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border-radius: 0;
  background: var(--cyan);
  border: 1px solid #04110f;
  box-shadow: 0 0 10px var(--cyan-glow);
}
.episode-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 9px 4px 10px;
  margin-top: 10px;
  border-bottom: 1px solid rgba(122, 74, 51, 0.45);
}
.status-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sand-dim);
  white-space: nowrap;
}
.status-num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
  padding: 0 1px;
}
.status-chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 2px 9px;
  border: 1px solid var(--rust-line);
  color: var(--sand);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  margin-left: auto;
  white-space: nowrap;
}
.status-chip-airing {
  color: var(--cyan);
  border-color: var(--cyan-deep);
  background: rgba(30, 143, 134, 0.12);
  box-shadow: 0 0 14px rgba(95, 242, 224, 0.14);
}
.synopsis-block {
  padding: 12px 4px 4px;
  border-bottom: 1px solid rgba(122, 74, 51, 0.45);
  margin-bottom: 12px;
}
.synopsis-body {
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid rgba(122, 74, 51, 0.4);
}
.synopsis-para {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-dim);
  margin-bottom: 9px;
  break-inside: avoid;
}
.synopsis-para:first-child::first-letter {
  font-family: var(--mono);
  font-size: 26px;
  line-height: 0.9;
  float: left;
  padding: 2px 6px 0 0;
  color: var(--rust);
}
.cast-block {
  padding: 4px 4px 6px;
  border-bottom: 1px solid rgba(122, 74, 51, 0.45);
  margin-bottom: 12px;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: stretch;
}
.cast-card {
  flex: 1 1 96px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(107, 59, 40, 0.28), rgba(0, 0, 0, 0.3));
  border: 1px solid var(--rust-line);
  border-left: 2px solid var(--rust);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.cast-card:hover {
  border-left-color: var(--cyan);
  background: linear-gradient(180deg, rgba(30, 143, 134, 0.16), rgba(0, 0, 0, 0.35));
}
.cast-name {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--paper);
}
.cast-role {
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.45;
  color: var(--sand-dim);
}
.details-block {
  padding: 4px 4px 2px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(122, 74, 51, 0.35);
  border-left: 1px solid rgba(122, 74, 51, 0.35);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 9px;
  border-right: 1px solid rgba(122, 74, 51, 0.35);
  border-bottom: 1px solid rgba(122, 74, 51, 0.35);
  background: rgba(0, 0, 0, 0.18);
  min-width: 0;
}
.detail-key {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--sand-dim);
  flex: 0 0 auto;
  white-space: nowrap;
}
.detail-value {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--ink);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--rust-line);
}
.timeline-rail {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding: 14px 2px 16px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.35)),
    repeating-linear-gradient(90deg, rgba(122, 74, 51, 0.12) 0 1px, transparent 1px 40px);
  border: 1px solid rgba(122, 74, 51, 0.4);
  scrollbar-width: thin;
  scrollbar-color: var(--rust) transparent;
}
.timeline-rail::-webkit-scrollbar {
  height: 8px;
}
.timeline-rail::-webkit-scrollbar-track {
  background: #0d0906;
  border-top: 1px solid var(--rust-line);
}
.timeline-rail::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--rust), var(--rust-deep));
  border: 1px solid #000;
}
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: max-content;
  min-width: 100%;
  padding: 0 10px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 3px;
  background:
    repeating-linear-gradient(90deg, var(--rust) 0 8px, #241811 8px 12px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  flex: 0 0 148px;
  width: 148px;
  padding: 0 9px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.timeline-node::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 29px;
  background: #2a1c13;
  border: 2px solid var(--rust-line);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px var(--bg);
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.timeline-node:hover::before {
  border-color: var(--cyan-deep);
  background: #16302d;
}
.node-timecode {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--sand-dim);
  padding-top: 4px;
}
.node-label {
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-dim);
}
.timeline-node-active {
  transform: scale(1.06);
}
.timeline-node-active::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--bg), 0 0 18px var(--cyan-glow);
}
.timeline-node-active .node-timecode {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}
.timeline-node-active .node-label {
  color: var(--ink);
}
.timeline-rail.is-dragging {
  cursor: grabbing;
}
.episodes-section {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--rust-line);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  gap: 2px 8px;
  padding: 7px 9px 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(122, 74, 51, 0.5);
  border-left: 2px solid var(--rust);
  cursor: pointer;
  min-width: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: background 0.15s, border-color 0.15s;
}
.episode-card:hover {
  background: rgba(30, 143, 134, 0.1);
  border-color: var(--cyan-deep);
  border-left-color: var(--cyan);
}
.episode-number {
  grid-area: num;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--rust);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--sand-dim);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.5;
  color: var(--sand-dim);
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin-top 0.22s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary, .episode-card-active .episode-summary {
  max-height: 90px;
  opacity: 1;
  margin-top: 4px;
}
.episode-card-active {
  background: rgba(30, 143, 134, 0.14);
  border-color: var(--cyan-deep);
  border-left-color: var(--cyan);
  box-shadow: 0 0 18px rgba(95, 242, 224, 0.1);
}
.episode-card-active .episode-number {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}
.episode-card-active .episode-title {
  color: var(--paper);
}
.comments-section {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--rust-line);
}
.comments-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comments-col-short {
  padding-top: 0;
}
.comments-col-long {
  padding-top: 26px;
}
.comment-card {
  padding: 8px 10px;
  background: linear-gradient(160deg, rgba(107, 59, 40, 0.22), rgba(0, 0, 0, 0.28));
  border: 1px solid rgba(122, 74, 51, 0.5);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  transition: border-color 0.15s, transform 0.15s;
}
.comment-card:hover {
  border-color: var(--cyan-deep);
  transform: translateY(-1px);
}
.comments-col-short .comment-card:nth-child(2) {
  margin-left: 18px;
}
.comments-col-short .comment-card:nth-child(3) {
  margin-left: 6px;
}
.comments-col-long .comment-card:nth-child(1) {
  margin-left: 14px;
}
.comments-col-long .comment-card:nth-child(3) {
  margin-left: 22px;
}
.comment-text {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
}
.comment-nick {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--sand-dim);
}
.comment-nick::before {
  content: "— ";
  color: var(--rust);
}
.comment-card-long {
  background: linear-gradient(160deg, rgba(61, 32, 22, 0.4), rgba(0, 0, 0, 0.32));
  border-left: 2px solid var(--rust);
}
.comment-card-long .comment-nick {
  color: var(--cyan-deep);
}
.rec-region {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--rust-line);
}
.rec-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 2px 10px;
  align-items: flex-start;
  scrollbar-width: thin;
  scrollbar-color: var(--rust) transparent;
}
.rec-track::-webkit-scrollbar {
  height: 7px;
}
.rec-track::-webkit-scrollbar-track {
  background: #0d0906;
  border-top: 1px solid var(--rust-line);
}
.rec-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--rust), var(--rust-deep));
}
a.rec-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(122, 74, 51, 0.55);
  color: var(--ink-dim);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.rec-card:hover {
  border-color: var(--cyan-deep);
  background: rgba(30, 143, 134, 0.1);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #0b0805;
  border: 1px solid rgba(122, 74, 51, 0.5);
  filter: saturate(0.9) contrast(1.04);
}
.rec-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--paper);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.45;
  color: var(--sand-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region-1 .rec-card {
  width: 176px;
}
.rec-region-1 .rec-card:nth-child(2n) {
  width: 148px;
}
.rec-region-1 .rec-card:nth-child(3n) img {
  aspect-ratio: 4 / 3;
}
.rec-region-2 .rec-card {
  width: 152px;
}
.rec-region-2 .rec-card:nth-child(odd) {
  width: 190px;
}
.rec-region-2 .rec-card:nth-child(2) img {
  aspect-ratio: 1 / 1;
}
.rec-region-3 .rec-card {
  width: 160px;
}
.rec-region-3 .rec-card:nth-child(3n) {
  width: 132px;
}
.rec-region-3 .rec-card:nth-child(3n + 1) img {
  aspect-ratio: 3 / 4;
}
.rec-region-4 .rec-card {
  width: 200px;
}
.rec-region-4 .rec-card:nth-child(2) {
  width: 150px;
}
.rec-region-4 .rec-card:nth-child(3) {
  width: 178px;
}
.rec-region-4 .rec-card:nth-child(2) img {
  aspect-ratio: 4 / 3;
}
.site-footer {
  margin-top: 24px;
  padding: 14px 16px 22px;
  border-top: 1px solid var(--rust-line);
  background: linear-gradient(180deg, #17110c, #0f0b08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--sand);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid rgba(122, 74, 51, 0.5);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--cyan);
  border-color: var(--cyan-deep);
}
.footer-friends {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  min-width: 0;
}
.friends-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--rust);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--sand-dim);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(122, 74, 51, 0.6);
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan-deep);
}
.footer-disclaimer {
  flex: 1 1 100%;
  padding-top: 10px;
  margin-top: 2px;
  border-top: 1px solid rgba(122, 74, 51, 0.35);
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.6;
  color: #6a5a49;
}
body.lights-off {
  background: #050403;
}
body.lights-off .movie-overview, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .rec-region {
  opacity: 0.42;
  transition: opacity 0.3s;
}
body.lights-off .player-shell {
  opacity: 1;
  box-shadow: 0 0 60px rgba(95, 242, 224, 0.16);
}
@media (max-width: 1024px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.page-main {
    padding: 0 10px 24px;
  }
.movie-overview {
    padding: 10px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 12px 6px 18px;
  }
.hero-visual {
    justify-self: stretch;
    align-self: stretch;
    max-width: none;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
.poster-wrapper {
    width: min(46%, 190px);
    align-self: flex-start;
  }
.hero-shadow-mark {
    position: static;
    margin-left: auto;
  }
.shadow-figure {
    writing-mode: horizontal-tb;
    font-size: 46px;
  }
.hero-seo {
    font-size: 12.5px;
  }
.synopsis-body {
    columns: 1;
  }
.cast-card {
    flex: 1 1 130px;
  }
.details-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: 90px;
    opacity: 1;
    margin-top: 4px;
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-col-long {
    padding-top: 0;
  }
.comments-col-short .comment-card:nth-child(2), .comments-col-short .comment-card:nth-child(3), .comments-col-long .comment-card:nth-child(1), .comments-col-long .comment-card:nth-child(3) {
    margin-left: 0;
  }
.timeline-node {
    flex-basis: 132px;
    width: 132px;
  }
.hero-countdown {
    width: 100%;
  }
.countdown-label {
    margin-left: 0;
  }}
@media (max-width: 480px) {.header-bar {
    padding: 7px 10px;
    gap: 8px;
  }
.category-strip {
    padding: 5px 10px 6px;
  }
.hero-title {
    font-size: 26px;
  }
.ctrl-btn {
    font-size: 10px;
    padding: 4px 7px;
  }
.ctrl-progress {
    flex: 1 1 100%;
  }
.ctrl-volume {
    flex: 1 1 90px;
    width: auto;
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-region-1 .rec-card, .rec-region-1 .rec-card:nth-child(2n), .rec-region-2 .rec-card, .rec-region-2 .rec-card:nth-child(odd), .rec-region-3 .rec-card, .rec-region-3 .rec-card:nth-child(3n), .rec-region-4 .rec-card, .rec-region-4 .rec-card:nth-child(2), .rec-region-4 .rec-card:nth-child(3) {
    width: 156px;
  }
.status-chip {
    margin-left: 0;
  }}

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}
