*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, dl, dd, dt, ol, ul, li { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { text-decoration: none; color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
:root {
  --bg: #0a0e14;
  --bg-2: #0f151f;
  --bg-3: #131b28;
  --surface: #111826;
  --surface-2: #18212f;
  --line: #223047;
  --line-soft: #1a2434;
  --yellow: #ffd23f;
  --yellow-deep: #f5b400;
  --cyan: #35d0e8;
  --cyan-deep: #12a6bd;
  --red: #ff5c5c;
  --ink: #eef3fa;
  --ink-2: #b9c6d8;
  --ink-3: #7c8ba3;
  --ink-4: #55657e;
  --radius: 12px;
  --radius-sm: 8px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  background-image:
    radial-gradient(900px 420px at 82% -6%, rgba(53, 208, 232, 0.10), transparent 62%),
    radial-gradient(760px 380px at 8% 4%, rgba(255, 210, 63, 0.07), transparent 60%);
  background-repeat: no-repeat;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px 8px;
  max-width: 1400px;
  margin: 0 auto;
}
.brand-name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-name::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 5px 3px 0 -2px var(--cyan);
  flex: none;
}
a[data-contract="site-name"] { color: var(--ink); text-decoration: none; }
a[data-contract="site-name"]:hover { color: var(--yellow); }
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
a.nav-link {
  display: inline-block;
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
a.nav-link:hover, a.nav-link:focus-visible {
  color: var(--bg);
  background: var(--cyan);
  border-color: var(--cyan);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 18px 10px;
  max-width: 1400px;
  margin: 0 auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  transition: background .15s, color .15s, border-color .15s;
}
a.runtime-category:hover {
  color: var(--bg);
  background: var(--yellow);
  border-color: var(--yellow);
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 18px 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero-banner {
  position: relative;
  overflow: hidden;
  padding: 40px 26px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 88% 8%, rgba(53, 208, 232, 0.20), transparent 55%),
    radial-gradient(90% 120% at 4% 96%, rgba(255, 210, 63, 0.16), transparent 58%),
    linear-gradient(160deg, #0d1421 0%, #0a0e14 60%, #0b1220 100%);
}
.hero-curve {
  position: absolute;
  inset: -30% -12% auto auto;
  width: 78%;
  height: 190%;
  border-radius: 50%;
  border: 2px solid rgba(53, 208, 232, 0.30);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(22deg);
  pointer-events: none;
  z-index: 0;
}
.hero-curve::after {
  content: "";
  position: absolute;
  inset: 7% 6%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 210, 63, 0.22);
  border-top-color: transparent;
  transform: rotate(-14deg);
}
.hero-banner > *:not(.hero-curve) { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--yellow);
  padding: 4px 12px;
  border: 1px solid rgba(255, 210, 63, 0.42);
  border-radius: 999px;
  background: rgba(255, 210, 63, 0.07);
  margin-bottom: 14px;
}
.hero-tagline {
  font-size: clamp(28px, 5.4vw, 58px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0.01em;
  max-width: 16em;
  background: linear-gradient(100deg, #ffffff 18%, var(--yellow) 58%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(53, 208, 232, 0.16);
}
.hero-sub {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
a.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #10151f;
  text-decoration: none;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(255, 210, 63, 0.7);
  transition: transform .15s, box-shadow .15s;
}
a.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(255, 210, 63, 0.85); }
a.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  border: 1px solid rgba(53, 208, 232, 0.55);
  border-radius: 999px;
  background: rgba(53, 208, 232, 0.06);
  transition: background .15s, color .15s;
}
a.btn-ghost:hover { background: rgba(53, 208, 232, 0.18); color: #ffffff; }
.movie-overview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  padding: 16px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-wrap {
  align-self: start;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  position: relative;
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(53, 208, 232, 0.16), transparent 42%);
  pointer-events: none;
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.overview-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.title-block { display: flex; flex-direction: column; gap: 4px; }
.movie-title {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.movie-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--cyan));
}
.movie-tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.player-shell {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #05080d;
}
.player-shell video { width: 100%; display: block; background: #05080d; }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-3);
  white-space: nowrap;
  transition: color .15s, background .15s, border-color .15s;
}
.ctrl-btn:hover { color: var(--bg); background: var(--cyan); border-color: var(--cyan); }
.ctrl-range {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--cyan));
  outline: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--cyan-deep);
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid var(--cyan-deep);
  border-radius: 50%;
  background: #ffffff;
}
.ctrl-volume { flex: 0 1 90px; min-width: 70px; }
.player-shell.is-playing .ctrl-btn[data-player-action="play"] { color: var(--bg); background: var(--yellow); border-color: var(--yellow); }
.player-shell.is-muted .ctrl-btn[data-player-action="mute"] { color: #ffdede; background: #4a1a1a; border-color: #7c2d2d; }
.player-shell.is-fast .ctrl-btn[data-player-action="speed"] { color: var(--bg); background: var(--yellow); border-color: var(--yellow); }
.player-shell.is-pip .ctrl-btn[data-player-action="pip"] { color: var(--bg); background: var(--cyan); border-color: var(--cyan); }
.player-shell.is-theater .ctrl-btn[data-player-action="theater"] { color: var(--bg); background: var(--cyan); border-color: var(--cyan); }
.player-shell.is-fullscreen .ctrl-btn[data-player-action="fullscreen"] { color: var(--bg); background: var(--yellow); border-color: var(--yellow); }
.player-shell.is-light-off { filter: brightness(0.72) saturate(0.85); }
.player-shell.is-light-off .ctrl-btn[data-player-action="light"] { color: var(--bg); background: var(--yellow); border-color: var(--yellow); }
.player-shell.is-fullscreen { border-radius: 0; }
.player-shell.is-theater { box-shadow: 0 0 0 1px rgba(53, 208, 232, 0.4), 0 22px 50px -20px rgba(53, 208, 232, 0.5); }
.panel-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--yellow);
  margin-bottom: 10px;
}
.panel-heading::before {
  content: "";
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: var(--cyan);
  flex: none;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-heading::before {
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--yellow), var(--cyan));
  flex: none;
}
.cast-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(24, 33, 47, 0.6);
  min-width: 0;
}
.cast-avatar {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  color: #10151f;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  box-shadow: inset 0 0 0 2px rgba(10, 14, 20, 0.35);
}
.cast-card:nth-child(even) .cast-avatar { background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)); }
.cast-card > span:not(.cast-avatar) { display: block; min-width: 0; }
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 11px;
  color: var(--ink-3);
}
.synopsis-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-2);
}
.synopsis-para + .synopsis-para { margin-top: 8px; }
.episode-status {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-3);
  white-space: nowrap;
}
.status-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 208, 232, 0.18);
  flex: none;
}
.details-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 4px 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: none;
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
}
.detail-val {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: 16px;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 6px 18px;
  padding-left: 20px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(180deg, var(--yellow) 0 7px, transparent 7px 13px),
    linear-gradient(180deg, var(--yellow), var(--cyan));
  opacity: 0.85;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding: 7px 10px 7px 12px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(255, 210, 63, 0.55);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(19, 27, 40, 0.72);
  min-width: 0;
}
.node-dot {
  position: absolute;
  left: -21px;
  top: 13px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 208, 232, 0.20), inset 0 0 0 1px #05080d;
}
.timeline-node:nth-child(3n/**/+1) .node-dot { background: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.20), inset 0 0 0 1px #05080d; }
.node-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--yellow);
  white-space: nowrap;
}
.node-label {
  font-size: 13px;
  color: var(--ink-2);
  min-width: 0;
  overflow-wrap: anywhere;
}
.episodes-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 16px;
}
.episode-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(212px, 1fr);
  grid-template-rows: 1fr;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  min-width: 0;
  transition: border-color .15s, transform .15s;
}
.episode-card:hover { border-color: rgba(255, 210, 63, 0.55); transform: translateY(-2px); }
.episode-keyframe {
  height: 84px;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 78% 26%, rgba(53, 208, 232, 0.55), transparent 42%),
    radial-gradient(circle at 20% 82%, rgba(255, 210, 63, 0.42), transparent 46%),
    linear-gradient(150deg, #172438 0%, #0b1220 100%);
  position: relative;
  overflow: hidden;
}
.episode-keyframe::after {
  content: "";
  position: absolute;
  inset: -50% 30% -50% -10%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-right-color: transparent;
  transform: rotate(18deg);
}
.episode-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.episode-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-3);
  flex: 1 1 auto;
}
.episode-duration {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-4);
  padding-top: 6px;
  border-top: 1px dashed var(--line-soft);
}
.cast-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: 16px;
}
.cast-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.cast-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(53, 208, 232, 0.10), transparent 60%),
    var(--bg-3);
  text-align: center;
  min-width: 0;
  transition: border-color .15s, transform .15s;
}
.cast-tile:hover { border-color: rgba(53, 208, 232, 0.55); transform: translateY(-2px); }
.tile-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 900;
  color: #10151f;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--cyan), var(--cyan-deep));
  box-shadow: inset 0 0 0 3px rgba(10, 14, 20, 0.4), 0 6px 14px -8px rgba(53, 208, 232, 0.9);
  flex: none;
}
.cast-tile:nth-child(2n) .tile-avatar { background: linear-gradient(140deg, var(--yellow), var(--yellow-deep)); box-shadow: inset 0 0 0 3px rgba(10, 14, 20, 0.4), 0 6px 14px -8px rgba(255, 210, 63, 0.9); }
.tile-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.tile-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  padding: 2px 9px;
  border: 1px solid rgba(53, 208, 232, 0.4);
  border-radius: 999px;
  background: rgba(53, 208, 232, 0.08);
  white-space: nowrap;
}
.cast-tile:nth-child(2n) .tile-tag { color: var(--yellow); border-color: rgba(255, 210, 63, 0.4); background: rgba(255, 210, 63, 0.08); }
.comments-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 16px;
}
.comment-masonry {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 9px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  min-width: 0;
}
.comment-avatar {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  color: #10151f;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--cyan));
  flex: none;
}
.comment-nick {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  grid-column: 2;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.rec-region {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: 14px 16px;
}
.rec-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 12px;
}
.rec-heading::before {
  content: "";
  width: 5px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--yellow), var(--cyan));
  flex: none;
}
.rec-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.rec-grid-1 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.rec-grid-2 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.rec-grid-3 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.rec-grid-4 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.rec-grid > li { min-width: 0; }
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  color: var(--ink-2);
  text-decoration: none;
  min-width: 0;
  height: 100%;
  transition: border-color .15s, transform .15s, background .15s;
}
a.rec-item:hover {
  border-color: rgba(255, 210, 63, 0.6);
  background: #1a2434;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  background: #0a0e14;
  display: block;
}
.rec-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-3);
  overflow-wrap: anywhere;
}
a.rec-item:hover .rec-name { color: var(--yellow); }
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), #070a10);
  padding: 20px 18px 26px;
  margin-top: 10px;
}
.footer-top {
  max-width: 1400px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-link {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-3);
  white-space: nowrap;
  transition: color .15s, background .15s, border-color .15s;
}
a[data-contract="footer-home"] { color: var(--cyan); text-decoration: none; }
a[data-contract="footer-home"]:hover { color: var(--bg); background: var(--cyan); border-color: var(--cyan); }
a[data-contract="footer-sitemap"] { color: var(--yellow); text-decoration: none; }
a[data-contract="footer-sitemap"]:hover { color: var(--bg); background: var(--yellow); border-color: var(--yellow); }
.footer-friends {
  max-width: 1400px;
  margin: 0 auto 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(19, 27, 40, 0.6);
}
.friends-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  white-space: nowrap;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
a.runtime-friend-link:hover { color: var(--cyan); background: rgba(53, 208, 232, 0.10); border-color: rgba(53, 208, 232, 0.35); }
.footer-disclaimer {
  max-width: 1400px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-4);
  border-top: 1px dashed var(--line-soft);
  padding-top: 12px;
}
@media (max-width: 1024px) {.overview-grid { grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 14px; }
.comment-masonry { columns: 2; }}
@media (max-width: 760px) {.page-main { padding: 12px 12px 26px; gap: 20px; }
.header-bar { padding: 9px 12px 7px; }
.category-strip { padding: 0 12px 9px; }
.hero-banner { padding: 28px 16px 24px; }
.hero-curve { width: 120%; right: -40%; }
.overview-grid { grid-template-columns: minmax(0, 1fr); }
.poster-wrap { max-width: 240px; }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: minmax(0, 1fr); padding-left: 18px; }
.episode-scroll { grid-auto-columns: minmax(200px, 82%); }
.cast-matrix { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.comment-masonry { columns: 1; }
.rec-grid-1, .rec-grid-2, .rec-grid-3, .rec-grid-4 { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.site-footer { padding: 16px 12px 22px; }}
@media (max-width: 480px) {.hero-tagline { font-size: 27px; }
.hero-sub { font-size: 13px; }
.cast-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.cast-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid-1, .rec-grid-2, .rec-grid-3, .rec-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-scroll { grid-auto-columns: minmax(190px, 88%); }
a.btn-primary, a.btn-ghost { padding: 9px 18px; font-size: 13px; }
.ctrl-btn { padding: 4px 9px; 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}
