:root {
  color-scheme: dark;
  --ink-900: #070b12;
  --ink-800: #0b1220;
  --ink-700: #101a2b;
  --indigo-900: #0d1526;
  --indigo-800: #131f38;
  --indigo-600: #1d2f52;
  --moss-900: #0b1a16;
  --moss-700: #12302a;
  --moss-500: #1d4a3e;
  --gold-500: #e7b45c;
  --gold-400: #f3cb84;
  --gold-300: #ffe6b0;
  --white-memory: #f4f6f5;
  --white-soft: #cdd6d6;
  --muted: #8b9aa6;
  --line: rgba(231, 180, 92, 0.18);
  --line-soft: rgba(205, 214, 214, 0.12);
  --shadow-deep: 0 18px 44px rgba(0, 0, 0, 0.55);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, "Times New Roman", serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1200px 620px at 78% -8%, rgba(29, 74, 62, 0.42), transparent 62%),
    radial-gradient(900px 520px at 8% 4%, rgba(29, 47, 82, 0.5), transparent 66%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--indigo-900) 34%, var(--moss-900) 78%, #05080d 100%);
  color: var(--white-soft);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  min-height: 100%;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: var(--gold-300);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}
::selection {
  background: rgba(231, 180, 92, 0.32);
  color: var(--white-memory);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 10px clamp(12px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(7, 11, 18, 0.94), rgba(7, 11, 18, 0.72) 70%, rgba(7, 11, 18, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
a[data-contract="site-name"].site-brand {
  color: var(--gold-300);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(17px, 2.2vw, 21px);
  letter-spacing: 0.14em;
  padding: 2px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
a[data-contract="site-name"].site-brand:hover {
  color: var(--white-memory);
  border-bottom-color: var(--gold-500);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(19, 31, 56, 0.55);
  color: var(--white-soft);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}
a.runtime-category:hover {
  color: var(--gold-300);
  border-color: rgba(231, 180, 92, 0.55);
  background: rgba(29, 47, 82, 0.8);
  transform: translateY(-1px);
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 30px) clamp(26px, 4vw, 48px);
}
.section-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(16px, 2vw, 19px);
  letter-spacing: 0.16em;
  color: var(--white-memory);
  padding-left: 12px;
  border-left: 3px solid var(--gold-500);
  margin-bottom: 12px;
  line-height: 1.3;
}
.movie-overview {
  position: relative;
  margin-top: clamp(14px, 2.4vw, 26px);
  padding: clamp(14px, 2vw, 22px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(160deg, rgba(13, 21, 38, 0.96) 0%, rgba(11, 26, 22, 0.94) 58%, rgba(7, 11, 18, 0.98) 100%);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 300px at 82% 6%, rgba(29, 74, 62, 0.34), transparent 70%),
    radial-gradient(420px 260px at 6% 84%, rgba(29, 47, 82, 0.42), transparent 72%);
}
.hero-shell {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-900);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
}
.hero-half {
  flex: 1 1 50%;
  min-width: 0;
  position: relative;
}
.hero-half-classroom {
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.2), rgba(7, 11, 18, 0.82)),
    linear-gradient(115deg, rgba(244, 246, 245, 0.16) 0%, rgba(244, 246, 245, 0.05) 34%, rgba(7, 11, 18, 0.9) 100%),
    repeating-linear-gradient(90deg, rgba(205, 214, 214, 0.07) 0 2px, transparent 2px 46px),
    linear-gradient(200deg, #24334a 0%, #131f38 52%, #0b1220 100%);
}
.hero-half-classroom::after {
  content: "";
  position: absolute;
  inset: 12% 16% 30% 10%;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(231, 180, 92, 0.24), rgba(231, 180, 92, 0.05) 60%, transparent),
    linear-gradient(90deg, rgba(244, 246, 245, 0.18), rgba(244, 246, 245, 0.03));
  box-shadow: inset 0 0 0 1px rgba(205, 214, 214, 0.16);
  filter: blur(0.4px);
}
.hero-half-realm {
  background:
    radial-gradient(70% 60% at 60% 40%, rgba(29, 74, 62, 0.85), transparent 72%),
    radial-gradient(50% 46% at 30% 72%, rgba(29, 47, 82, 0.85), transparent 74%),
    linear-gradient(180deg, #0b1a16 0%, #0d1526 62%, #070b12 100%);
}
.hero-half-realm::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 22% 30%, rgba(255, 230, 176, 0.85), transparent 60%),
    radial-gradient(2px 2px at 68% 22%, rgba(255, 230, 176, 0.6), transparent 60%),
    radial-gradient(2px 2px at 44% 62%, rgba(205, 214, 214, 0.6), transparent 60%),
    radial-gradient(2px 2px at 82% 74%, rgba(255, 230, 176, 0.5), transparent 60%),
    radial-gradient(2px 2px at 32% 84%, rgba(205, 214, 214, 0.45), transparent 60%);
  opacity: 0.85;
}
.hero-crack-glow {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(255, 230, 176, 0.9) 22%, rgba(231, 180, 92, 0.7) 62%, transparent);
  box-shadow:
    0 0 18px 6px rgba(231, 180, 92, 0.32),
    0 0 60px 22px rgba(231, 180, 92, 0.14);
}
.hero-crack-glow::before, .hero-crack-glow::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 230, 176, 0.75), transparent);
}
.hero-crack-glow::before {
  top: 8%;
  height: 42%;
  transform: translateX(-50%) rotate(14deg);
  transform-origin: top center;
}
.hero-crack-glow::after {
  bottom: 6%;
  height: 38%;
  transform: translateX(-50%) rotate(-12deg);
  transform-origin: bottom center;
}
.hero-figure {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(12px, 2.2vw, 26px);
  align-items: start;
  padding: clamp(14px, 2.4vw, 28px);
}
.poster-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(231, 180, 92, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(7, 11, 18, 0.6);
  background: var(--ink-800);
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0) 52%, rgba(7, 11, 18, 0.55) 100%);
}
.poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-caption {
  position: relative;
  min-width: 0;
  padding-top: 4px;
}
.movie-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 4.4vw, 42px);
  line-height: 1.16;
  letter-spacing: 0.08em;
  color: var(--white-memory);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7), 0 0 34px rgba(231, 180, 92, 0.18);
}
.movie-tagline {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.06em;
  color: var(--gold-300);
  line-height: 1.5;
}
.movie-seo {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.66;
}
.movie-seo + .movie-seo {
  color: var(--white-soft);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.btn-play, .btn-theater, .btn-light {
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
  background: rgba(19, 31, 56, 0.66);
  color: var(--white-soft);
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.btn-play {
  background: linear-gradient(120deg, var(--gold-500), var(--gold-400));
  border-color: rgba(255, 230, 176, 0.6);
  color: #21160a;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(231, 180, 92, 0.28);
}
.btn-play:hover, .btn-theater:hover, .btn-light:hover {
  color: var(--white-memory);
  border-color: rgba(231, 180, 92, 0.6);
  background: rgba(29, 47, 82, 0.92);
  transform: translateY(-1px);
}
.btn-play:hover {
  color: #160f05;
  background: linear-gradient(120deg, var(--gold-400), var(--gold-300));
}
.btn-play.is-playing {
  background: linear-gradient(120deg, #2b4a3f, #1d4a3e);
  color: var(--gold-300);
  border-color: rgba(231, 180, 92, 0.5);
  box-shadow: 0 8px 22px rgba(29, 74, 62, 0.4);
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: clamp(14px, 2.2vw, 22px);
  padding: clamp(8px, 1.2vw, 12px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.9), rgba(7, 11, 18, 0.96));
  box-shadow: inset 0 0 0 1px rgba(7, 11, 18, 0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: #000;
  object-fit: contain;
}
.player-shell.is-theater {
  background: linear-gradient(180deg, rgba(7, 11, 18, 0.98), rgba(13, 21, 38, 0.98));
  box-shadow: 0 0 0 1px rgba(231, 180, 92, 0.28), 0 22px 50px rgba(0, 0, 0, 0.65);
}
.player-shell.is-dimmed {
  background: #04060a;
  box-shadow: 0 0 0 1px rgba(231, 180, 92, 0.14);
}
.player-shell.is-dimmed video {
  filter: brightness(0.5) saturate(0.85);
}
.player-shell.is-fullscreen {
  width: 100%;
  max-width: none;
  border-radius: 0;
  padding: 0;
  background: #000;
}
.player-shell.is-fullscreen video {
  border-radius: 0;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(19, 31, 56, 0.5);
  border: 1px solid var(--line-soft);
}
.player-controls button {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(205, 214, 214, 0.16);
  background: rgba(7, 11, 18, 0.6);
  color: var(--white-soft);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.player-controls button:hover {
  color: var(--gold-300);
  border-color: rgba(231, 180, 92, 0.5);
  background: rgba(29, 47, 82, 0.85);
}
.player-controls button.is-muted, .player-controls button.is-playing {
  color: var(--gold-300);
  border-color: rgba(231, 180, 92, 0.5);
  background: rgba(29, 74, 62, 0.6);
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-500), rgba(205, 214, 214, 0.22));
  cursor: pointer;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-300);
  border: 1px solid rgba(7, 11, 18, 0.8);
  box-shadow: 0 0 10px rgba(231, 180, 92, 0.55);
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(7, 11, 18, 0.8);
  border-radius: 50%;
  background: var(--gold-300);
}
.player-controls select {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(205, 214, 214, 0.16);
  background: rgba(7, 11, 18, 0.6);
  color: var(--white-soft);
  font-size: 12.5px;
}
.episode-status {
  margin-top: clamp(14px, 2vw, 20px);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(120deg, rgba(19, 31, 56, 0.55), rgba(11, 26, 22, 0.5));
  display: grid;
  gap: 10px;
}
.status-line {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.8vw, 17px);
  letter-spacing: 0.1em;
  color: var(--gold-300);
}
.status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.55);
  color: var(--white-soft);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.synopsis-block {
  margin-top: clamp(16px, 2.2vw, 24px);
}
.synopsis-paragraph {
  color: var(--white-soft);
  font-size: 14px;
  line-height: 1.78;
  text-indent: 2em;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.synopsis-paragraph:last-child {
  border-bottom: 0;
}
.cast-block {
  margin-top: clamp(18px, 2.6vw, 28px);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 5px;
  padding: 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.82), rgba(11, 26, 22, 0.6));
  align-self: start;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}
.cast-card:hover {
  border-color: rgba(231, 180, 92, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
}
.cast-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 18%, rgba(29, 74, 62, 0.75), transparent 68%),
    linear-gradient(160deg, #16233c 0%, #0d1526 58%, #0b1a16 100%);
  border: 1px solid rgba(205, 214, 214, 0.12);
}
.cast-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 46% at 50% 96%, rgba(231, 180, 92, 0.22), transparent 70%),
    repeating-linear-gradient(118deg, rgba(205, 214, 214, 0.05) 0 1px, transparent 1px 13px);
}
.cast-initial {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 600;
  color: var(--gold-300);
  text-shadow: 0 0 22px rgba(231, 180, 92, 0.45);
  letter-spacing: 0.06em;
}
.cast-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white-memory);
}
.cast-role {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.details-block {
  margin-top: clamp(18px, 2.6vw, 28px);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  border-top: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 5.2em;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.12em;
}
.detail-value {
  margin: 0;
  color: var(--white-soft);
  font-size: 13.5px;
  min-width: 0;
  word-break: break-word;
}
.timeline-section {
  margin-top: clamp(28px, 4vw, 48px);
}
.timeline-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 18px 4px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.72), rgba(7, 11, 18, 0.86)),
    radial-gradient(600px 200px at 20% 0%, rgba(29, 74, 62, 0.28), transparent 70%);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-500) rgba(7, 11, 18, 0.6);
}
.timeline-scroll::-webkit-scrollbar {
  height: 8px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(7, 11, 18, 0.6);
  border-radius: 999px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--gold-500), var(--moss-500));
  border-radius: 999px;
}
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 860px;
  padding: 0 6px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 180, 92, 0.5) 12%, rgba(231, 180, 92, 0.5) 88%, transparent);
}
.timeline-node {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 10px;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}
.timeline-petal {
  position: relative;
  width: 26px;
  height: 26px;
  margin-top: 4px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(140deg, rgba(205, 214, 214, 0.5), rgba(29, 74, 62, 0.8));
  border: 1px solid rgba(205, 214, 214, 0.28);
  transform: rotate(-45deg);
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.timeline-petal::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50% 50% 50% 0;
  background: rgba(7, 11, 18, 0.7);
}
.timeline-node.is-active .timeline-petal {
  background: linear-gradient(140deg, var(--gold-300), var(--gold-500));
  border-color: rgba(255, 230, 176, 0.85);
  box-shadow: 0 0 16px rgba(231, 180, 92, 0.6), 0 0 40px rgba(231, 180, 92, 0.25);
}
.timeline-node.is-active .timeline-petal::after {
  background: rgba(231, 180, 92, 0.85);
}
.timeline-timecode {
  font-family: var(--font-serif);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.timeline-node.is-active .timeline-timecode {
  color: var(--gold-300);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--white-soft);
  max-width: 20ch;
}
.timeline-node.is-active .timeline-label {
  color: var(--white-memory);
}
.episodes-section {
  margin-top: clamp(26px, 3.6vw, 42px);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num dur"
    "sum sum";
  column-gap: 10px;
  row-gap: 2px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.66), rgba(7, 11, 18, 0.8));
  overflow: hidden;
  transition: border-color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}
.episode-card:hover, .episode-card:focus-within {
  border-color: rgba(231, 180, 92, 0.45);
  background: linear-gradient(180deg, rgba(19, 31, 56, 0.86), rgba(11, 26, 22, 0.86));
}
.episode-card.is-active {
  border-color: rgba(231, 180, 92, 0.7);
  background: linear-gradient(140deg, rgba(29, 47, 82, 0.9), rgba(29, 74, 62, 0.72));
  box-shadow: inset 0 0 0 1px rgba(231, 180, 92, 0.18), 0 8px 20px rgba(0, 0, 0, 0.4);
}
.episode-number {
  grid-area: num;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 0.9;
  color: rgba(205, 214, 214, 0.45);
  letter-spacing: 0.02em;
  min-width: 1.4em;
}
.episode-card.is-active .episode-number {
  color: var(--gold-300);
  text-shadow: 0 0 18px rgba(231, 180, 92, 0.45);
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white-memory);
  line-height: 1.35;
}
.episode-duration {
  grid-area: dur;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.episode-summary {
  grid-area: sum;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line-soft);
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--white-soft);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, opacity 0.28s ease, margin-top 0.28s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 12em;
  opacity: 1;
}
.comments-section {
  margin-top: clamp(26px, 3.6vw, 42px);
}
.comment-masonry {
  column-count: 2;
  column-gap: 8px;
}
.comment-card {
  break-inside: avoid;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "avatar nick"
    "text text";
  column-gap: 9px;
  row-gap: 4px;
  align-items: center;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(13, 21, 38, 0.78), rgba(11, 26, 22, 0.6));
  transition: border-color 0.24s ease, background 0.24s ease;
}
.comment-card:hover {
  border-color: rgba(231, 180, 92, 0.35);
  background: linear-gradient(160deg, rgba(19, 31, 56, 0.86), rgba(29, 74, 62, 0.5));
}
.comment-avatar {
  grid-area: avatar;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50% 50% 8px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-300);
  background: radial-gradient(120% 120% at 30% 20%, rgba(29, 74, 62, 0.9), rgba(13, 21, 38, 0.95));
  border: 1px solid rgba(231, 180, 92, 0.32);
  box-shadow: 0 0 14px rgba(231, 180, 92, 0.16);
}
.comment-nickname {
  grid-area: nick;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white-memory);
  min-width: 0;
}
.comment-text {
  grid-area: text;
  font-size: 13px;
  line-height: 1.72;
  color: var(--white-soft);
}
.reco-region {
  margin-top: clamp(28px, 4vw, 46px);
  padding: 14px 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.94), rgba(11, 18, 32, 0.9)),
    radial-gradient(500px 220px at 90% 0%, rgba(29, 74, 62, 0.26), transparent 70%);
  box-shadow: var(--shadow-deep);
}
.reco-region + .reco-region {
  margin-top: 12px;
}
.reco-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(15px, 1.8vw, 17px);
  letter-spacing: 0.14em;
  color: var(--gold-300);
  padding-left: 10px;
  border-left: 3px solid var(--moss-500);
  margin-bottom: 10px;
  line-height: 1.3;
}
.reco-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.reco-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-areas:
    "pic name"
    "pic blurb";
  column-gap: 10px;
  row-gap: 3px;
  align-items: start;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(13, 21, 38, 0.6);
  color: var(--white-soft);
  text-decoration: none;
  transition: border-color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}
a.reco-item:hover {
  border-color: rgba(231, 180, 92, 0.45);
  background: rgba(19, 31, 56, 0.9);
  transform: translateY(-2px);
}
a.reco-item img, [data-runtime="recommendation"] img {
  grid-area: pic;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(205, 214, 214, 0.12);
  background: var(--ink-800);
}
.reco-name {
  grid-area: name;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white-memory);
  line-height: 1.4;
}
.reco-blurb {
  grid-area: blurb;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.site-footer {
  margin-top: clamp(30px, 4.4vw, 56px);
  padding: clamp(18px, 2.6vw, 30px) clamp(14px, 3vw, 30px) clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.7), rgba(7, 11, 18, 0.98));
  display: grid;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 80ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 3px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease;
}
a[data-contract="footer-home"] {
  color: var(--gold-300);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--white-memory);
  border-bottom-color: var(--gold-500);
}
a[data-contract="footer-sitemap"] {
  color: var(--white-soft);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-300);
  border-bottom-color: var(--moss-500);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-soft);
}
.friends-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  padding-right: 4px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 12.5px;
  color: var(--white-soft);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 4px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold-300);
  background: rgba(29, 74, 62, 0.42);
}
.player-shell.is-fullscreen video {
  height: 100%;
  max-height: 100vh;
}
.player-shell.is-theater .player-controls {
  border-color: rgba(231, 180, 92, 0.32);
}
.player-shell.is-dimmed .player-controls {
  opacity: 0.72;
}
@media (max-width: 1024px) {.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.reco-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-figure {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-masonry {
    column-count: 2;
  }}
@media (max-width: 680px) {body {
    font-size: 14.5px;
  }
.hero-figure {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-wrap {
    max-width: 190px;
  }
.hero-caption {
    padding-top: 0;
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: 12em;
    opacity: 1;
  }
.comment-masonry {
    column-count: 1;
  }
.reco-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    min-width: 720px;
  }}
@media (max-width: 480px) {.site-header {
    gap: 6px 10px;
    padding: 8px 12px;
  }
.page-main {
    padding: 0 12px 24px;
  }
.movie-overview {
    padding: 12px;
  }
.hero-shell {
    border-radius: 12px;
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-portrait {
    aspect-ratio: 1 / 1;
  }
a.reco-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }
.timeline-track {
    min-width: 640px;
  }
.detail-key {
    flex-basis: 4.4em;
  }}

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}
