:root {
  --ink: #0a0710;
  --ink-2: #120a1c;
  --panel: #170d24;
  --panel-2: #1d1030;
  --violet: #6a1fb8;
  --violet-deep: #3d0f73;
  --magenta: #ff2e9a;
  --magenta-soft: #ff6fc0;
  --cold-blue: #39c6ff;
  --tungsten: #ffc76b;
  --text: #f4eefc;
  --text-dim: #b6a8c9;
  --text-faint: #7d6f92;
  --line: rgba(255, 46, 154, 0.22);
  --line-soft: rgba(255, 255, 255, 0.09);
  --gap: 14px;
  --gap-tight: 10px;
  --radius: 10px;
  --radius-sm: 6px;
  --glow-magenta: 0 0 0 1px rgba(255, 46, 154, 0.35), 0 0 22px rgba(255, 46, 154, 0.28);
  --glow-cold: 0 0 0 1px rgba(57, 198, 255, 0.3), 0 0 20px rgba(57, 198, 255, 0.2);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Heiti SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
body {
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(255, 46, 154, 0.16), transparent 62%),
    radial-gradient(900px 540px at 6% 12%, rgba(106, 31, 184, 0.2), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 46%, #0b0613 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
body.lights-off {
  background:
    radial-gradient(900px 520px at 78% -6%, rgba(57, 198, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #04020a 0%, #07030f 60%, #04020a 100%);
}
body.lights-off .hero-stage, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .rec-region {
  filter: brightness(0.72) saturate(0.86);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10, 7, 16, 0.96), rgba(10, 7, 16, 0.78));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-tight) 16px;
  padding: 9px clamp(12px, 3vw, 30px);
  max-width: 1320px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding-right: 12px;
  border-right: 1px solid var(--line);
  text-shadow: 0 0 14px rgba(255, 46, 154, 0.55), 0 0 3px rgba(255, 46, 154, 0.8);
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: var(--magenta-soft);
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 11px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  background: rgba(106, 31, 184, 0.16);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 46, 154, 0.28);
  border-color: rgba(255, 46, 154, 0.6);
  box-shadow: 0 0 14px rgba(255, 46, 154, 0.35);
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px clamp(12px, 3vw, 30px) 24px;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--text);
  padding-left: 11px;
  border-left: 3px solid var(--magenta);
  text-shadow: 0 0 12px rgba(255, 46, 154, 0.4);
  margin-bottom: 9px;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.5fr);
  grid-template-areas:
    "media status"
    "media player"
    "media details"
    "media cast"
    "media synopsis";
  gap: 12px 18px;
  align-items: start;
  padding: 18px clamp(14px, 2.4vw, 26px) 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(620px 420px at 8% 4%, rgba(106, 31, 184, 0.4), transparent 64%),
    radial-gradient(560px 400px at 96% 100%, rgba(255, 46, 154, 0.16), transparent 62%),
    linear-gradient(158deg, var(--panel-2) 0%, #130a20 62%, #0e0718 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 46px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% 34%;
  height: 320px;
  background: radial-gradient(closest-side, rgba(255, 46, 154, 0.22), transparent 72%);
  pointer-events: none;
}
.hero-media {
  grid-area: media;
  position: relative;
  align-self: start;
  justify-self: start;
  width: 100%;
  max-width: 268px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 46, 154, 0.4);
  box-shadow: 0 0 26px rgba(255, 46, 154, 0.24), 0 14px 34px rgba(0, 0, 0, 0.62);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(57, 198, 255, 0.1) 0%, transparent 34%, rgba(10, 7, 16, 0.68) 100%);
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 12px 12px 14px;
  background: linear-gradient(180deg, transparent, rgba(8, 4, 14, 0.9) 62%);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-title {
  font-size: clamp(21px, 3.4vw, 30px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.5), 0 0 18px rgba(255, 46, 154, 0.85), 0 0 40px rgba(255, 46, 154, 0.45);
}
.hero-tagline {
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-shadow: 0 0 10px rgba(57, 198, 255, 0.3);
}
.episode-status {
  grid-area: status;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  align-self: start;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 46, 154, 0.1);
  border: 1px solid var(--line);
  border-left: 3px solid var(--magenta);
}
.status-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.status-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--tungsten);
  text-shadow: 0 0 12px rgba(255, 199, 107, 0.5);
}
.status-total {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-dim);
  padding-left: 8px;
  border-left: 1px solid var(--line-soft);
}
.hero-player {
  grid-area: player;
  position: relative;
  align-self: start;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(57, 198, 255, 0.24);
  background: #05030a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 16px 40px rgba(0, 0, 0, 0.6);
}
.hero-player video {
  display: block;
  width: 100%;
  background: #05030a;
}
.hero-player.is-theater {
  box-shadow: 0 0 0 1px var(--magenta), 0 0 34px rgba(255, 46, 154, 0.4);
  border-color: rgba(255, 46, 154, 0.7);
}
.hero-player.is-fullscreen {
  border-radius: 0;
  border-color: transparent;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  background: linear-gradient(180deg, rgba(23, 13, 36, 0.96), rgba(10, 6, 18, 0.98));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  background: rgba(106, 31, 184, 0.2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: #fff;
  background: rgba(255, 46, 154, 0.3);
  border-color: rgba(255, 46, 154, 0.65);
  box-shadow: 0 0 12px rgba(255, 46, 154, 0.35);
}
.ctrl-btn.is-playing {
  color: #0a0710;
  background: var(--tungsten);
  border-color: var(--tungsten);
  box-shadow: 0 0 14px rgba(255, 199, 107, 0.5);
}
.ctrl-btn.is-off {
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.ctrl-btn.is-active {
  color: #fff;
  background: var(--violet);
  border-color: var(--magenta-soft);
  box-shadow: 0 0 14px rgba(255, 46, 154, 0.45);
}
.ctrl-progress {
  flex: 1 1 130px;
  min-width: 96px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--magenta), var(--violet-deep));
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tungsten);
  box-shadow: 0 0 10px rgba(255, 199, 107, 0.8);
  border: none;
}
.ctrl-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--tungsten);
  box-shadow: 0 0 10px rgba(255, 199, 107, 0.8);
}
.ctrl-volume {
  flex: 0 1 78px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--cold-blue), rgba(57, 198, 255, 0.2));
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cold-blue);
  box-shadow: 0 0 10px rgba(57, 198, 255, 0.7);
  border: none;
}
.ctrl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--cold-blue);
  box-shadow: 0 0 10px rgba(57, 198, 255, 0.7);
}
.ctrl-speed {
  padding: 4px 8px;
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(106, 31, 184, 0.22);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-speed:hover, .ctrl-speed:focus-visible {
  color: #fff;
  border-color: rgba(255, 46, 154, 0.6);
}
.overview-details {
  grid-area: details;
  align-self: start;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(18, 10, 28, 0.9);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}
.overview-cast {
  grid-area: cast;
  align-self: start;
  min-width: 0;
}
.cast-strip {
  display: flex;
  gap: var(--gap-tight);
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--violet) transparent;
}
.cast-strip::-webkit-scrollbar {
  height: 5px;
}
.cast-strip::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--violet), var(--magenta));
  border-radius: 999px;
}
.cast-strip::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
.cast-card {
  position: relative;
  flex: 0 0 112px;
  height: 148px;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 46, 154, 0.28);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(106, 31, 184, 0.75), rgba(23, 13, 36, 0.95) 68%),
    linear-gradient(180deg, var(--violet-deep), #140a22);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1px;
  padding: 9px 9px 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cast-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(57, 198, 255, 0.14) 0%, transparent 42%, rgba(6, 3, 12, 0.86) 100%);
  pointer-events: none;
}
.cast-card::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255, 199, 107, 0.5), rgba(255, 46, 154, 0.4));
  box-shadow: 0 0 22px rgba(255, 46, 154, 0.45);
  opacity: 0.85;
  pointer-events: none;
}
.cast-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 46, 154, 0.7);
  box-shadow: 0 0 20px rgba(255, 46, 154, 0.35);
}
.cast-name {
  position: relative;
  z-index: 1;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}
.cast-role {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 300;
  color: var(--text-dim);
}
.overview-synopsis {
  grid-area: synopsis;
  align-self: start;
  min-width: 0;
}
.synopsis-para {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--text-dim);
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.synopsis-para:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.synopsis-para::first-line {
  color: var(--text);
}
.timeline-section {
  padding: 14px clamp(14px, 2.4vw, 26px) 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(29, 16, 48, 0.9), rgba(12, 7, 20, 0.92));
}
.timeline-scroll {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding: 6px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--magenta) transparent;
  position: relative;
}
.timeline-scroll::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 17px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--magenta) 12%, var(--violet) 55%, var(--cold-blue) 92%, transparent);
  opacity: 0.6;
  pointer-events: none;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--violet), var(--magenta));
  border-radius: 999px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
.timeline-node {
  position: relative;
  flex: 0 0 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  text-align: center;
}
.node-dot {
  position: relative;
  z-index: 2;
  width: 15px;
  height: 15px;
  margin-top: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--magenta) 62%, var(--violet-deep));
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 12px rgba(255, 46, 154, 0.85), 0 0 26px rgba(255, 46, 154, 0.4);
}
.node-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
}
.node-timecode {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--tungsten);
  padding: 4px 0 2px;
  text-shadow: 0 0 10px rgba(255, 199, 107, 0.4);
}
.node-label {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  line-height: 1.35;
  padding-bottom: 4px;
}
.timeline-node:hover .node-label {
  color: #fff;
}
.episodes-section {
  padding: 14px clamp(14px, 2.4vw, 26px) 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(23, 13, 36, 0.9), rgba(11, 6, 18, 0.94));
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid rgba(106, 31, 184, 0.75);
  background: linear-gradient(160deg, rgba(32, 18, 52, 0.94), rgba(16, 9, 27, 0.94));
  max-height: 104px;
  overflow: hidden;
  transition: max-height 0.34s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}
.episode-card:hover, .episode-card:focus-within {
  max-height: 260px;
  transform: translateY(-2px);
  border-left-color: var(--magenta);
  border-color: rgba(255, 46, 154, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 46, 154, 0.28), 0 10px 26px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 46, 154, 0.22);
}
.episode-number {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--magenta-soft);
  text-transform: uppercase;
}
.episode-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.25;
}
.episode-summary {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dim);
}
.episode-duration {
  margin-top: auto;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--tungsten);
  padding-top: 4px;
  border-top: 1px solid rgba(255, 199, 107, 0.24);
  width: 100%;
}
.comments-section {
  padding: 14px clamp(14px, 2.4vw, 26px) 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(26, 14, 42, 0.9), rgba(11, 6, 18, 0.94));
}
.comment-masonry {
  column-count: 2;
  column-gap: var(--gap-tight);
}
.comment-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--gap-tight);
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 2px solid rgba(255, 46, 154, 0.4);
  background: linear-gradient(165deg, rgba(35, 19, 58, 0.92), rgba(16, 9, 27, 0.94));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.comment-card:hover {
  border-top-color: var(--cold-blue);
  box-shadow: 0 0 0 1px rgba(57, 198, 255, 0.22), 0 0 20px rgba(57, 198, 255, 0.16);
}
.comment-nickname {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--magenta-soft);
  margin-bottom: 3px;
  text-shadow: 0 0 12px rgba(255, 46, 154, 0.3);
}
.comment-text {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.68;
  color: var(--text-dim);
}
.rec-region {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  padding: 12px clamp(14px, 2.4vw, 26px) 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(24, 13, 40, 0.9), rgba(10, 6, 18, 0.94));
}
.rec-region-title {
  grid-column: 1;
  writing-mode: vertical-rl;
  text-orientation: upright;
  align-self: stretch;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.26em;
  color: var(--text);
  padding: 4px 0;
  border-right: 2px solid rgba(255, 46, 154, 0.45);
  text-shadow: 0 0 12px rgba(255, 46, 154, 0.35);
}
.rec-row {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--gap-tight);
  align-items: start;
  min-width: 0;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  min-width: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(165deg, rgba(32, 17, 52, 0.92), rgba(14, 8, 24, 0.94));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a.rec-card {
  text-decoration: none;
  color: inherit;
}
a.rec-card:hover, a.rec-card:focus-visible {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(255, 46, 154, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 46, 154, 0.3), 0 10px 24px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 46, 154, 0.24);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(57, 198, 255, 0.18);
  background: linear-gradient(150deg, var(--violet-deep), #0d0618);
}
.rec-pic {
  display: block;
}
.rec-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.rec-blurb {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-faint);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
a.rec-card:hover .rec-name, a.rec-card:focus-visible .rec-name {
  color: var(--magenta-soft);
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px clamp(12px, 3vw, 30px) 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 7, 16, 0.4), rgba(6, 3, 12, 0.9));
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible {
  color: var(--magenta-soft);
  text-decoration: none;
  border-bottom-color: var(--magenta-soft);
}
a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--cold-blue);
  text-decoration: none;
  border-bottom-color: var(--cold-blue);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(23, 13, 36, 0.6);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  padding-right: 10px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.16s ease, text-shadow 0.16s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--tungsten);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(255, 199, 107, 0.45);
}
.footer-disclaimer {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-faint);
  max-width: 900px;
}
@media (max-width: 1024px) {.hero-stage {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "status"
      "player"
      "details"
      "cast"
      "synopsis";
    gap: 12px;
  }
.hero-media {
    max-width: 220px;
  }
.rec-region {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-region-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    border-right: none;
    border-left: 3px solid var(--magenta);
    padding: 0 0 0 10px;
    align-self: start;
  }
.rec-row {
    grid-column: 1;
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.page-main {
    gap: 12px;
    padding: 12px 12px 20px;
  }
.hero-stage {
    padding: 14px 12px 16px;
  }
.hero-media {
    max-width: 188px;
  }
.hero-title {
    font-size: 22px;
  }
.hero-tagline {
    font-size: 11.5px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card {
    max-height: 112px;
  }
.comment-masonry {
    column-count: 1;
  }
.timeline-node {
    flex: 0 0 130px;
  }
.rec-row {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  }
.player-controls {
    gap: 6px;
    padding: 7px;
  }
.ctrl-btn, .ctrl-speed {
    font-size: 11.5px;
    padding: 4px 8px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: -1;
  }
.detail-list {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }}
@media (max-width: 420px) {.header-inner {
    gap: 8px 10px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
    border-right: none;
    padding-right: 0;
  }
.cast-card {
    flex: 0 0 96px;
    height: 132px;
  }
.rec-row {
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }}

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}
