:root {
  --abyss: #06181c;
  --abyss-2: #0a2429;
  --abyss-3: #0e3038;
  --deep-teal: #12414a;
  --teal-line: #1d5560;
  --candle: #e7b martial;
  --candle: #e7b24a;
  --candle-soft: #f0cd7a;
  --copper: #a8632c;
  --copper-deep: #6f3d1a;
  --parchment: #d9c39a;
  --parchment-dim: #b39b6f;
  --blood: #7a1f18;
  --ink: #d8e6e4;
  --ink-dim: #8aa6a6;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--abyss);
  background-image:
    radial-gradient(circle at 12% -5%, rgba(29, 85, 96, 0.55), transparent 46%),
    radial-gradient(circle at 92% 8%, rgba(168, 99, 44, 0.16), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #071c21 0%, #06181c 42%, #041214 100%);
  background-attachment: fixed, fixed, scroll, fixed;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, figure, dl, dd, dt, ol, ul {
  margin: 0;
}
ul, ol {
  list-style: none;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--candle);
  color: #1a1206;
}
.section-heading {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--candle-soft);
  padding-bottom: 0.35rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px solid rgba(168, 99, 44, 0.5);
  position: relative;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 2.6em;
  height: 2px;
  background: linear-gradient(90deg, var(--candle), rgba(231, 178, 74, 0));
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(6, 24, 28, 0.97), rgba(6, 24, 28, 0.86));
  border-bottom: 1px solid var(--teal-line);
  box-shadow: 0 1px 0 rgba(231, 178, 74, 0.18), 0 6px 18px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}
.header-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.42rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--candle);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(231, 178, 74, 0.35), 0 1px 0 #000;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: var(--candle-soft);
  text-decoration: none;
}
.header-nav {
  flex: 1 1 auto;
  min-width: 0;
}
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.35rem;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.55rem;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid rgba(29, 85, 96, 0.9);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(18, 65, 74, 0.4), rgba(6, 24, 28, 0.2));
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--candle-soft);
  border-color: var(--copper);
  background: linear-gradient(180deg, rgba(168, 99, 44, 0.35), rgba(6, 24, 28, 0.3));
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.8rem 0.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.hero-chart {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  grid-template-areas:
    "fragments poster"
    "titles    poster"
    "player    poster"
    "synopsis  synopsis"
    "status    status"
    "cast      cast"
    "details   details";
  gap: 0.85rem 1.1rem;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(10, 36, 41, 0.72), rgba(4, 18, 20, 0.9));
  border: 1px solid var(--teal-line);
  border-radius: 3px;
  padding: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(231, 178, 74, 0.08), 0 10px 30px rgba(0, 0, 0, 0.5);
}
.chart-fragments {
  grid-area: fragments;
  position: relative;
  min-height: 190px;
  margin: 0;
  isolation: isolate;
}
.chart-shard {
  position: absolute;
  background-color: var(--parchment);
  background-image:
    radial-gradient(circle at 30% 30%, rgba(122, 31, 24, 0.28), transparent 34%),
    radial-gradient(circle at 72% 68%, rgba(122, 31, 24, 0.2), transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(111, 61, 26, 0.18) 0 1px, transparent 1px),
    linear-gradient(115deg, rgba(111, 61, 26, 0.2), transparent 55%),
    repeating-linear-gradient(0deg, rgba(90, 66, 32, 0.16) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgba(90, 66, 32, 0.12) 0 1px, transparent 1px 11px);
  background-size: auto, auto, 7px 7px, auto, auto, auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
}
.chart-shard-west {
  left: 0;
  top: 16%;
  width: 38%;
  height: 72%;
  clip-path: polygon(4% 12%, 86% 0, 100% 34%, 88% 62%, 96% 96%, 40% 100%, 0 78%, 10% 48%);
  transform: rotate(-3.4deg);
  filter: saturate(0.92);
}
.chart-shard-center {
  left: 30%;
  top: 4%;
  width: 40%;
  height: 92%;
  clip-path: polygon(10% 0, 92% 6%, 100% 44%, 78% 58%, 86% 100%, 24% 94%, 0 62%, 14% 32%);
  transform: rotate(1.6deg);
  z-index: 2;
  background-color: #e0caa2;
}
.chart-shard-east {
  right: 0;
  top: 20%;
  width: 36%;
  height: 70%;
  clip-path: polygon(0 22%, 62% 0, 100% 18%, 92% 54%, 100% 84%, 48% 100%, 6% 74%, 16% 46%);
  transform: rotate(4.2deg);
  filter: saturate(0.9) brightness(0.96);
}
.chart-shard-west::after, .chart-shard-center::after, .chart-shard-east::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 88%, rgba(122, 31, 24, 0.55), transparent 26%),
    radial-gradient(circle at 88% 14%, rgba(30, 14, 6, 0.45), transparent 22%),
    linear-gradient(200deg, transparent 60%, rgba(111, 61, 26, 0.35));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.chart-compass {
  position: absolute;
  left: 46%;
  top: 50%;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%) rotate(9deg);
  z-index: 5;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(231, 178, 74, 0.16) 0 30%, transparent 31%),
    conic-gradient(from 0deg, rgba(231, 178, 74, 0.85) 0 1deg, transparent 1deg 45deg, rgba(231, 178, 74, 0.85) 45deg 46deg, transparent 46deg 90deg, rgba(231, 178, 74, 0.85) 90deg 91deg, transparent 91deg 135deg, rgba(231, 178, 74, 0.85) 135deg 136deg, transparent 136deg 180deg, rgba(231, 178, 74, 0.85) 180deg 181deg, transparent 181deg 225deg, rgba(231, 178, 74, 0.85) 225deg 226deg, transparent 226deg 270deg, rgba(231, 178, 74, 0.85) 270deg 271deg, transparent 271deg 315deg, rgba(231, 178, 74, 0.85) 315deg 316deg, transparent 316deg 360deg);
  border: 1px solid rgba(231, 178, 74, 0.75);
  box-shadow: 0 0 0 3px rgba(6, 24, 28, 0.6), 0 3px 12px rgba(0, 0, 0, 0.6);
}
.chart-compass::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 46%;
  background: linear-gradient(180deg, var(--blood) 0 48%, var(--candle) 48% 100%);
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(-14deg);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.chart-compass::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--candle-soft);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px rgba(6, 24, 28, 0.85);
}
.hero-titles {
  grid-area: titles;
  position: relative;
  z-index: 6;
  margin-top: -0.4rem;
  padding: 0.35rem 0.2rem 0.15rem;
  max-width: 34rem;
}
.movie-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #241505;
  background: linear-gradient(178deg, #f4dc9d 0%, var(--candle) 46%, var(--copper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.85)) drop-shadow(0 0 22px rgba(231, 178, 74, 0.28));
  padding: 0.1em 0.12em;
  margin-left: -0.12em;
  border-left: 3px solid var(--copper);
}
.movie-tagline {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  color: var(--parchment-dim);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
}
.overview-poster-wrap {
  grid-area: poster;
  align-self: start;
  justify-self: stretch;
  width: 100%;
  border: 1px solid var(--copper-deep);
  padding: 3px;
  background: linear-gradient(160deg, rgba(168, 99, 44, 0.4), rgba(6, 24, 28, 0.4));
  clip-path: polygon(0 1.5%, 97% 0, 100% 98%, 3% 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
}
.overview-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}
.player-shell {
  grid-area: player;
  position: relative;
  border: 1px solid var(--teal-line);
  background: #030f11;
  padding: 3px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(231, 178, 74, 0.12);
}
.player-video {
  width: 100%;
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.38rem;
  padding: 0.4rem 0.35rem 0.15rem;
  border-top: 1px solid rgba(29, 85, 96, 0.8);
  margin-top: 0.3rem;
}
.player-btn {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.26rem 0.5rem;
  color: var(--ink-dim);
  background: linear-gradient(180deg, rgba(18, 65, 74, 0.55), rgba(6, 24, 28, 0.5));
  border: 1px solid var(--teal-line);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover, .player-btn:focus-visible {
  color: var(--candle-soft);
  border-color: var(--copper);
  background: linear-gradient(180deg, rgba(168, 99, 44, 0.4), rgba(6, 24, 28, 0.5));
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 6rem;
  min-width: 4.5rem;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--copper), var(--teal-line));
  cursor: pointer;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--candle);
  border: 1px solid #2a1c05;
  box-shadow: 0 0 6px rgba(231, 178, 74, 0.7);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #2a1c05;
  border-radius: 50%;
  background: var(--candle);
  box-shadow: 0 0 6px rgba(231, 178, 74, 0.7);
}
.player-range::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--copper), var(--teal-line));
}
.player-shell.is-playing {
  border-color: var(--candle);
  box-shadow: 0 0 0 1px rgba(231, 178, 74, 0.45), 0 8px 22px rgba(0, 0, 0, 0.6);
}
.player-shell.is-muted .player-range[data-player-action="volume"] {
  background: repeating-linear-gradient(90deg, var(--blood) 0 6px, transparent 6px 10px), var(--teal-line);
}
body.is-lights-off .page-main {
  filter: brightness(0.55) contrast(1.08);
  transition: filter 0.3s ease;
}
body.is-lights-off .player-shell, body.is-lights-off .player-shell * {
  filter: none;
}
body.is-theater .hero-chart {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "player"
    "fragments"
    "titles"
    "poster"
    "synopsis"
    "status"
    "cast"
    "details";
}
body.is-theater .player-video {
  max-height: 76vh;
  object-fit: contain;
  background: #000;
}
.overview-synopsis {
  grid-area: synopsis;
  border-top: 1px solid rgba(29, 85, 96, 0.9);
  padding-top: 0.7rem;
}
.synopsis-lead {
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--parchment);
  padding-left: 0.75rem;
  border-left: 2px solid var(--copper);
  margin-bottom: 0.65rem;
}
.synopsis-body {
  columns: 2;
  column-gap: 1.4rem;
  column-rule: 1px solid rgba(29, 85, 96, 0.7);
}
.synopsis-para {
  break-inside: avoid;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink-dim);
  margin-bottom: 0.6rem;
}
.synopsis-para:first-child::first-letter {
  font-size: 1.7em;
  float: left;
  line-height: 0.9;
  padding: 0.05em 0.12em 0 0;
  color: var(--candle);
  font-family: var(--serif);
}
.overview-status {
  grid-area: status;
  border-top: 1px solid rgba(29, 85, 96, 0.9);
  padding-top: 0.7rem;
}
.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.status-chip {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.34rem 0.7rem 0.4rem;
  min-width: 5.4rem;
  border: 1px solid var(--teal-line);
  border-left: 3px solid var(--copper);
  background: linear-gradient(180deg, rgba(18, 65, 74, 0.45), rgba(6, 24, 28, 0.35));
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
}
.status-chip-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
}
.status-chip-value {
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--parchment);
}
.status-chip-current {
  border-color: var(--candle);
  border-left-color: var(--candle);
  background: linear-gradient(180deg, rgba(231, 178, 74, 0.28), rgba(111, 61, 26, 0.3));
  box-shadow: 0 0 14px rgba(231, 178, 74, 0.28);
}
.status-chip-current .status-chip-label {
  color: var(--candle-soft);
}
.status-chip-current .status-chip-value {
  color: var(--candle-soft);
}
.overview-cast {
  grid-area: cast;
  border-top: 1px solid rgba(29, 85, 96, 0.9);
  padding-top: 0.7rem;
}
.cast-roster {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
}
.cast-cell {
  min-width: 0;
}
.cast-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--teal-line);
  background: linear-gradient(180deg, rgba(18, 65, 74, 0.4), rgba(4, 18, 20, 0.6));
  overflow: hidden;
}
.cast-portrait {
  height: 0;
  padding-top: 118%;
  background-color: var(--deep-teal);
  background-image:
    radial-gradient(circle at 50% 32%, rgba(217, 195, 154, 0.35) 0 18%, transparent 20%),
    radial-gradient(ellipse at 50% 92%, rgba(231, 178, 74, 0.22) 0 42%, transparent 44%),
    linear-gradient(180deg, rgba(29, 85, 96, 0.85), rgba(6, 24, 28, 0.95)),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 5px);
  background-repeat: no-repeat;
  filter: contrast(1.05);
  transition: filter 0.2s;
}
.cast-portrait-1 { background-position: 50% 22%, 50% 100%, 0 0, 0 0; }
.cast-portrait-2 { background-position: 42% 26%, 50% 100%, 0 0, 0 0; filter: hue-rotate(-6deg); }
.cast-portrait-3 { background-position: 58% 20%, 50% 100%, 0 0, 0 0; filter: hue-rotate(8deg); }
.cast-portrait-4 { background-position: 48% 30%, 50% 100%, 0 0, 0 0; filter: brightness(0.94); }
.cast-portrait-5 { background-position: 54% 24%, 50% 100%, 0 0, 0 0; filter: hue-rotate(-12deg); }
.cast-portrait-6 { background-position: 46% 18%, 50% 100%, 0 0, 0 0; filter: hue-rotate(6deg) brightness(1.04); }
.cast-portrait-7 { background-position: 52% 28%, 50% 100%, 0 0, 0 0; filter: brightness(0.9); }
.cast-portrait-8 { background-position: 44% 22%, 50% 100%, 0 0, 0 0; filter: hue-rotate(-4deg); }
.cast-cell:hover .cast-portrait {
  filter: contrast(1.15) brightness(1.08);
}
.cast-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 0.25rem 0.22rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--parchment);
  background: linear-gradient(180deg, transparent, rgba(3, 15, 17, 0.94) 62%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.overview-details {
  grid-area: details;
  border-top: 1px solid rgba(29, 85, 96, 0.9);
  padding-top: 0.7rem;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.1rem 1rem;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.2rem 0;
  border-bottom: 1px dashed rgba(29, 85, 96, 0.55);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  color: var(--parchment);
  overflow-wrap: anywhere;
}
.timeline-section {
  border: 1px solid var(--teal-line);
  border-radius: 3px;
  padding: 0.8rem 0.9rem 0.95rem;
  background: linear-gradient(180deg, rgba(10, 36, 41, 0.6), rgba(4, 18, 20, 0.75));
}
.voyage-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.4rem;
  padding-top: 1.5rem;
}
.voyage-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1.5rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-line) 0 8px, transparent 8px 14px);
}
.voyage-node {
  position: relative;
  min-width: 0;
  padding: 0.85rem 0.15rem 0.1rem;
  text-align: center;
  cursor: default;
}
.voyage-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--abyss-3);
  border: 2px solid var(--teal-line);
  box-shadow: 0 0 0 3px rgba(6, 24, 28, 0.9);
}
.voyage-node::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.55rem;
  width: 1px;
  height: 0.55rem;
  background: var(--teal-line);
  transform: translateX(-50%);
}
.voyage-timecode {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  margin-bottom: 0.2rem;
}
.voyage-label {
  display: block;
  font-size: 0.7rem;
  line-height: 1.42;
  color: var(--ink-dim);
  overflow-wrap: anywhere;
}
.voyage-node-current::before {
  background: var(--candle);
  border-color: var(--candle-soft);
  box-shadow: 0 0 0 3px rgba(6, 24, 28, 0.9), 0 0 14px 2px rgba(231, 178, 74, 0.7);
}
.voyage-node-current .voyage-timecode {
  color: var(--candle-soft);
}
.voyage-node-current .voyage-label {
  color: var(--parchment);
}
.voyage-node-current {
  background: linear-gradient(180deg, rgba(231, 178, 74, 0.14), transparent 80%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 4% 50%);
}
.episodes-section {
  border: 1px solid var(--teal-line);
  border-radius: 3px;
  padding: 0.8rem 0.9rem 0.95rem;
  background: linear-gradient(180deg, rgba(10, 36, 41, 0.6), rgba(4, 18, 20, 0.75));
}
.episode-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(11.5rem, 1fr);
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-color: var(--copper) var(--abyss-2);
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.episode-rail::-webkit-scrollbar {
  height: 8px;
}
.episode-rail::-webkit-scrollbar-track {
  background: var(--abyss-2);
  border-radius: 4px;
}
.episode-rail::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--copper), var(--copper-deep));
  border-radius: 4px;
}
.episode-card {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.6rem 0.55rem 0.7rem;
  border: 1px solid var(--teal-line);
  border-left: 3px solid var(--copper);
  background:
    repeating-linear-gradient(0deg, rgba(217, 195, 154, 0.09) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, rgba(14, 48, 56, 0.75), rgba(4, 18, 20, 0.85));
  overflow: hidden;
}
.episode-card::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 0;
  bottom: 0;
  width: 12px;
  background: repeating-linear-gradient(180deg, rgba(231, 178, 74, 0.7) 0 1px, transparent 1px 7px);
  opacity: 0.4;
  pointer-events: none;
}
.episode-tide-mark {
  position: absolute;
  right: 0.45rem;
  top: 0.5rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: 1px solid var(--teal-line);
  background: radial-gradient(circle, rgba(231, 178, 74, 0.5) 0 30%, transparent 32%);
}
.episode-number {
  font-family: var(--sans);
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--parchment);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
}
.episode-title {
  font-family: var(--serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--candle-soft);
}
.episode-summary {
  flex: 1 1 auto;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--ink-dim);
}
.episode-duration {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--copper);
  padding-top: 0.2rem;
  border-top: 1px solid rgba(29, 85, 96, 0.8);
}
.episode-card-current {
  border-color: var(--candle);
  border-left-color: var(--candle);
  background:
    repeating-linear-gradient(0deg, rgba(231, 178, 74, 0.14) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, rgba(111, 61, 26, 0.5), rgba(6, 24, 28, 0.9));
  box-shadow: 0 0 18px rgba(231, 178, 74, 0.22), inset 0 0 0 1px rgba(231, 178, 74, 0.25);
}
.episode-card-current .episode-number {
  color: var(--candle);
}
.episode-card-current .episode-title {
  color: var(--candle-soft);
}
.episode-card-current .episode-summary {
  color: var(--parchment-dim);
}
.comments-section {
  border: 1px solid var(--teal-line);
  border-radius: 3px;
  padding: 0.8rem 0.9rem 0.95rem;
  background: linear-gradient(180deg, rgba(10, 36, 41, 0.6), rgba(4, 18, 20, 0.75));
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  align-items: start;
}
.comment-card {
  position: relative;
  padding: 0.55rem 0.7rem 0.6rem 2.1rem;
  border: 1px solid rgba(29, 85, 96, 0.85);
  border-top: 2px solid rgba(168, 99, 44, 0.55);
  background: linear-gradient(180deg, rgba(14, 48, 56, 0.6), rgba(4, 18, 20, 0.8));
  clip-path: polygon(0 0, 100% 0, 100% 92%, 96% 100%, 0 100%);
}
.comment-card:nth-child(even) {
  transform: translateY(0.9rem);
  border-top-color: rgba(231, 178, 74, 0.5);
}
.comment-compass {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 1px solid var(--copper);
  background:
    conic-gradient(from 0deg, var(--candle) 0 2deg, transparent 2deg 90deg, var(--candle) 90deg 92deg, transparent 92deg 180deg, var(--candle) 180deg 182deg, transparent 182deg 270deg, var(--candle) 270deg 272deg, transparent 272deg 360deg),
    radial-gradient(circle, rgba(231, 178, 74, 0.25) 0 40%, transparent 42%);
}
.comment-compass::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 60%;
  background: linear-gradient(180deg, var(--blood), var(--candle));
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(38deg);
}
.comment-nickname {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--candle-soft);
  margin-bottom: 0.2rem;
}
.comment-text {
  font-size: 0.78rem;
  line-height: 1.58;
  color: var(--ink-dim);
}
.recommend-region {
  border: 1px solid var(--teal-line);
  border-radius: 3px;
  padding: 0.75rem 0.9rem 0.9rem;
  background: linear-gradient(180deg, rgba(10, 36, 41, 0.6), rgba(4, 18, 20, 0.75));
}
.recommend-title {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--candle-soft);
  padding: 0.05rem 0.6rem 0.28rem;
  margin-bottom: 0.6rem;
  display: inline-block;
  border: 1px solid rgba(168, 99, 44, 0.75);
  clip-path: polygon(0 0, 100% 10%, 98% 100%, 2% 92%);
}
.recommend-columns {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.recommend-column {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(29, 85, 96, 0.85);
  border-left: 3px solid var(--copper);
  background: linear-gradient(180deg, rgba(14, 48, 56, 0.55), rgba(4, 18, 20, 0.8));
  padding: 0.35rem;
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}
a.recommend-item:hover, a.recommend-item:focus-visible {
  border-color: var(--candle);
  border-left-color: var(--candle);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(231, 178, 74, 0.25);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 7.4rem;
  object-fit: cover;
  object-position: center 28%;
  border: 1px solid rgba(29, 85, 96, 0.7);
  filter: saturate(0.92) contrast(1.05);
  transition: filter 0.16s;
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1.05) contrast(1.1);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--parchment);
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--teal-line);
  background: linear-gradient(180deg, rgba(6, 24, 28, 0.9), rgba(3, 12, 14, 1));
  padding: 0.9rem 0.9rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 0.7rem;
  line-height: 1.62;
  color: var(--ink-dim);
  max-width: 62rem;
  border-left: 2px solid var(--copper-deep);
  padding-left: 0.6rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--candle-soft);
  border-bottom-color: var(--candle);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(29, 85, 96, 0.7);
}
.friend-links-label {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--copper);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--candle-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--candle);
  outline-offset: 2px;
}
@media (max-width: 1024px) {.hero-chart {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
.cast-roster {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.voyage-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 1.1rem;
  }
.voyage-bar::before {
    display: none;
  }
.voyage-node::after {
    display: none;
  }}
@media (max-width: 780px) {.page-main {
    padding: 0.6rem 0.6rem 1.2rem;
    gap: 1rem;
  }
.hero-chart {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "fragments"
      "titles"
      "poster"
      "player"
      "synopsis"
      "status"
      "cast"
      "details";
    gap: 0.75rem;
    padding: 0.7rem;
  }
.chart-fragments {
    min-height: 160px;
  }
.overview-poster-wrap {
    max-width: 20rem;
    justify-self: start;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.cast-roster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(even) {
    transform: none;
  }
.recommend-columns {
    flex-wrap: wrap;
  }
.recommend-column {
    flex: 1 1 14rem;
  }}
@media (max-width: 520px) {body {
    font-size: 14px;
  }
.header-bar {
    padding: 0.4rem 0.6rem;
  }
.cast-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.voyage-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-rail {
    grid-auto-columns: minmax(10rem, 1fr);
  }
.recommend-columns {
    flex-direction: column;
  }
.recommend-column {
    flex: 1 1 auto;
    width: 100%;
  }
[data-runtime="recommendation"] img {
    height: 8.5rem;
  }
.movie-title {
    font-size: 1.85rem;
  }
.footer-nav, .friend-links {
    gap: 0.3rem 0.6rem;
  }}

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}
