:root {
  --bg-deep: #07082a;
  --bg-night: #0d0f3d;
  --bg-card: #14185a;
  --ink: #f3eedf;
  --ink-dim: #b8b4d4;
  --ink-mute: #8a86a8;
  --line: rgba(212, 166, 41, 0.22);
  --line-soft: rgba(245, 238, 223, 0.08);
  --accent: #62c7e8;
  --gold: #d4a629;
  --gold-bright: #f5d63a;
  --royal: #3a3eb0;
  --gem: #4d2bd4;
  --mauve: #6e5a8c;
  --red: #d3392a;
  --marquee-display: flex;

  --maxw: 1320px;
  --pad: clamp(20px, 4vw, 56px);
}

[data-theme="dusk"] {
  --bg-deep: #1b1142;
  --bg-night: #2a1c5e;
  --bg-card: #3a2476;
  --ink: #f6e9d2;
}
[data-theme="paper"] {
  --bg-deep: #efe7d3;
  --bg-night: #f6efdb;
  --bg-card: #ffffff;
  --ink: #161542;
  --ink-dim: #4a4870;
  --ink-mute: #76739a;
  --line: rgba(20, 24, 90, 0.18);
  --line-soft: rgba(20, 24, 90, 0.08);
}

* { box-sizing: border-box; }
html, body, #root { margin: 0; padding: 0; }
html {
  background: var(--bg-deep);
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  color: var(--ink);
  background: var(--bg-deep);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-feature-settings: 'ss01', 'ss02';
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

/* ====== HORIZONTAL LAYOUT ====== */
html[data-layout="horizontal"], html[data-layout="horizontal"] body {
  height: 100%;
  overflow: hidden;
}
html[data-layout="horizontal"] {
  scroll-behavior: auto; /* JS handles smoothness */
}
.page-h {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  scrollbar-width: none;
}
.page-h::-webkit-scrollbar { display: none; }
.page-h .h-panel {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  scroll-snap-align: start;
}
.page-h .h-panel > section,
.page-h .h-panel > footer {
  height: 100vh;
  width: 100%;
  padding: 76px clamp(20px, 4vw, 56px) 140px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: var(--maxw);
  margin: 0 auto;
}
.page-h .h-panel .section-header {
  flex: 0 0 auto;
  margin-bottom: 16px;
  padding-bottom: 12px;
}
.page-h .h-panel .section-title { font-size: clamp(22px, 2.4vw, 38px); }

/* Vertical fallback */
.page-v { display: block; }

/* Horizontal chrome (bottom bar) */
.hchrome {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 25;
  padding: 6px clamp(20px, 4vw, 56px) 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: end;
  background: linear-gradient(0deg, rgba(7,8,42,0.92) 0%, rgba(7,8,42,0.7) 60%, rgba(7,8,42,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
[data-theme="paper"] .hchrome {
  background: linear-gradient(0deg, rgba(239,231,211,0.94) 0%, rgba(239,231,211,0.65) 60%, rgba(239,231,211,0) 100%);
}
.hchrome > * { pointer-events: auto; }

/* SCRUBBER */
.hscrub {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 4px 2px;
  outline: none;
  user-select: none;
  cursor: grab;
  -webkit-touch-callout: none;
}
.hscrub.is-dragging { cursor: grabbing; }
.hscrub:focus-visible .hscrub-track { box-shadow: 0 0 0 2px var(--accent); border-radius: 999px; }
.hscrub-track {
  position: relative;
  height: 4px;
  background: rgba(245,238,223,0.1);
  border-radius: 999px;
  cursor: inherit;
}
.hscrub-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-bright) 0%, var(--accent) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.18s ease;
  border-radius: 999px;
  pointer-events: none;
}
.hscrub.is-dragging .hscrub-fill { transition: none; }
.hscrub-ticks {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hscrub-tick {
  position: absolute;
  top: 50%;
  width: 1px; height: 10px;
  background: rgba(245,238,223,0.25);
  transform: translate(-50%, -50%);
  transition: background 0.2s ease, height 0.2s ease;
}
.hscrub-tick.is-active {
  background: var(--gold-bright);
  height: 14px;
}
.hscrub-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(98,199,232,0.45));
  transition: transform 0.18s ease, filter 0.2s ease;
}
.hscrub.is-dragging .hscrub-thumb { transition: none; transform: translate(-50%, -50%) scale(1.18); filter: drop-shadow(0 8px 22px rgba(245,214,58,0.55)); }
.hscrub-thumb svg {
  position: relative; z-index: 2;
  width: 20px; height: 20px;
  transition: transform 0.4s ease;
}
.hscrub:hover .hscrub-thumb svg,
.hscrub.is-dragging .hscrub-thumb svg { transform: rotate(45deg); }
.hscrub-thumb-pulse {
  position: absolute; inset: -6px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  opacity: 0.45;
  animation: hscrub-pulse 2.4s ease-out infinite;
}
@keyframes hscrub-pulse {
  0% { transform: scale(0.7); opacity: 0.55; }
  100% { transform: scale(1.5); opacity: 0; }
}

.hscrub-readout {
  display: flex; align-items: baseline; gap: 8px;
  color: var(--ink-mute);
  padding: 0 6px;
  font-size: 0.62rem;
}
.hscrub-readout-num { color: var(--gold-bright); font-weight: 600; font-size: 0.68rem; }
.hscrub-readout-sep { color: var(--ink-mute); }
.hscrub-readout-tot { color: var(--ink-mute); }
.hscrub-readout-lbl {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: 4px;
}
.hscrub-readout-hint { margin-left: auto; color: var(--ink-mute); opacity: 0.6; }
.hscrub.is-dragging .hscrub-readout-hint { color: var(--accent); opacity: 1; }
.hchrome-dots {
  display: flex; gap: 2px; flex-wrap: wrap;
}
.hchrome-dot {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 4px 10px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--ink-mute);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.7rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.hchrome-dot:hover { color: var(--ink); background: rgba(245,238,223,0.05); }
.hchrome-dot-num { color: inherit; opacity: 0.55; }
.hchrome-dot-lbl { font-weight: 500; }
.hchrome-dot.is-active {
  color: var(--gold-bright);
  background: rgba(245,214,58,0.08);
}
.hchrome-dot.is-active .hchrome-dot-num { color: var(--gold); opacity: 1; }

/* HERO */
.page-h .hero { padding: 76px clamp(20px, 4vw, 56px) 140px; }
.page-h .hero-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  min-height: 0;
  padding: 0;
}
.page-h .hero-title { font-size: clamp(44px, 7.5vw, 116px); margin-bottom: 12px; }
.page-h .hero-title-sub { margin-top: 10px; font-size: clamp(13px, 1.1vw, 18px); }
.page-h .hero-eyebrow { margin-bottom: 14px; }
.page-h .hero-lede { font-size: clamp(13px, 1.05vw, 16px); margin-bottom: 18px; }
.page-h .hero-ctas { margin-bottom: 22px; }
.page-h .hero-stats { padding-top: 14px; gap: 16px; }
.page-h .hero-stats .stat-v { font-size: 1.1rem; }
.page-h .hero-art { min-height: 0; height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.page-h .hero-art-frame { height: 100%; max-height: 100%; aspect-ratio: auto; width: auto; max-width: 100%; }
.page-h .hero-art-img { object-fit: contain; object-position: center top; }
.page-h .hero-art-caption { display: none; }

/* WATCH (Live) */
.page-h .watch { padding: 76px clamp(20px, 4vw, 56px) 140px; }
.page-h .watch-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 0;
}
.page-h .watch-player-wrap { display: flex; flex-direction: column; min-height: 0; height: 100%; gap: 8px; }
.page-h .watch-player-frame { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; height: auto; }
.page-h .watch-player-caption { flex: 0 0 auto; }
.page-h .watch-side {
  min-height: 0; height: 100%;
  overflow: hidden;
  padding: 16px 18px 14px;
  gap: 10px;
}
.page-h .watch-side-row { gap: 3px; }
.page-h .watch-side-k { font-size: 0.62rem; }
.page-h .watch-side-v { font-size: 0.88rem; line-height: 1.3; }
.page-h .watch-side-actions { gap: 8px; padding-top: 10px; margin-top: auto; }
.page-h .watch-side-actions .btn-primary { padding: 10px 16px; font-size: 0.88rem; }
.page-h .watch-side-actions .btn-ghost { padding: 9px 14px; font-size: 0.88rem; }

/* ABOUT */
.page-h .about {
  padding: 76px clamp(20px, 4vw, 56px) 140px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.page-h .about-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 36px;
  align-items: stretch;
  min-height: 0;
}
.page-h .about .section-title { font-size: clamp(22px, 2.2vw, 36px); }
.page-h .lore { font-size: 0.92rem; display: flex; flex-direction: column; justify-content: center; }
.page-h .lore p { margin-bottom: 10px; }
.page-h .lore-drop { font-size: 1rem; line-height: 1.4; }
.page-h .drop-cap { font-size: 2.6rem; padding: 2px 8px 0 0; line-height: 0.85; }
.page-h .lore-traits { padding-top: 10px; margin-top: 10px; gap: 5px; font-size: 0.86rem; }
.page-h .profile-card {
  padding: 14px;
  display: flex; flex-direction: column;
  min-height: 0;
}
.page-h .profile-card-top { margin-bottom: 10px; flex: 0 0 auto; }
.page-h .profile-card-portrait {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 0;
  margin-bottom: 10px;
}
.page-h .profile-card-portrait img { height: 100%; object-fit: cover; object-position: 50% 15%; }
.page-h .profile-card-data { gap: 4px; flex: 0 0 auto; }
.page-h .profile-row { padding: 3px 0; font-size: 0.84rem; grid-template-columns: 80px 1fr; }
.page-h .profile-card-palette { margin-top: 10px; padding-top: 8px; flex: 0 0 auto; }
.page-h .swatch { width: 16px; height: 16px; }

/* ROTATING CARD */
.page-h .rcard-section { padding: 76px clamp(20px, 4vw, 56px) 140px; }
.page-h .rcard-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  min-height: 0;
}
.page-h .rcard-text { padding-right: 0; }
.page-h .rcard-headline { font-size: clamp(22px, 2.6vw, 38px); margin: 8px 0 14px; }
.page-h .rcard-body { font-size: 0.95rem; margin-bottom: 18px; }
.page-h .rcard-controls { margin-bottom: 18px; }
.page-h .rcard-data { padding-top: 14px; gap: 8px; font-size: 0.88rem; }
.page-h .rcard-stage {
  width: auto;
  height: 100%;
  max-height: 100%;
  aspect-ratio: 720 / 1100;
  max-width: none;
  margin-left: auto;
}

/* SCHEDULE */
.page-h .schedule { padding: 76px clamp(20px, 4vw, 56px) 140px; }
.page-h .schedule-list {
  flex: 1 1 auto;
  min-height: 0;
  justify-content: center;
  gap: 6px;
}
.page-h .sch-row { padding: 10px 16px; }
.page-h .sch-row-daynum { font-size: 1.15rem; }
.page-h .sch-row-title { font-size: 0.92rem; }
.page-h .schedule-note { flex: 0 0 auto; margin-top: 12px; font-size: 0.8rem; }

/* VODS (horizontal mode) */
.page-h .vods { padding: 76px clamp(20px, 4vw, 56px) 140px; }
.page-h .vods-layout {
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
}
.page-h .vod-featured-art { aspect-ratio: 16 / 9; max-height: 50%; }
.page-h .vod-featured-body { padding: 18px; gap: 12px; }
.page-h .vod-featured-title { font-size: clamp(18px, 2.2vw, 26px); }
.page-h .vod-chapters { padding-top: 10px; gap: 4px; }
.page-h .vod-chapter { font-size: 0.84rem; }
.page-h .vod-row { grid-template-columns: 160px minmax(0, 1fr); padding: 10px; gap: 12px; }
.page-h .vod-row-title { font-size: 0.92rem; }

/* SOCIALS (horizontal mode) */
.page-h .socials { padding: 76px clamp(20px, 4vw, 56px) 140px; }
.page-h .socials-layout {
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
}
.page-h .social-featured .social-link { padding: 22px 22px 16px; }
.page-h .social-featured-glyph { width: 52px; height: 52px; }
.page-h .social-featured-body { margin-bottom: 18px; }
.page-h .social-featured-body .social-name { font-size: clamp(22px, 2.4vw, 32px); }
.page-h .social-featured .social-foot { padding: 12px 22px; }
.page-h .socials-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
}
.page-h .social { min-height: 0; }
.page-h .social-link { padding: 14px 16px 10px; gap: 10px; }
.page-h .social-name { font-size: 1rem; }
.page-h .social-bottom .social-stat-v { font-size: 0.95rem; }
.page-h .social-bottom .social-sub { font-size: 0.72rem; }
.page-h .social-foot { padding: 8px 16px; }

/* CREDITS (horizontal mode) */
.page-h .credits {
  padding: 64px clamp(20px, 4vw, 56px) 140px;
}
.page-h .credits-inner { width: 100%; }
.page-h .credits-mast { padding-bottom: 18px; margin-bottom: 18px; gap: 20px; }
.page-h .credits-wordmark { font-size: clamp(40px, 7vw, 84px); }
.page-h .credits-wordmark-gem { transform: translateY(-8px); margin-left: 10px; }
.page-h .credits-wordmark-gem svg { width: 22px; height: 22px; }
.page-h .credits-tagline { font-size: 0.88rem; }
.page-h .credits-stamp { padding: 8px 12px; font-size: clamp(14px, 1.6vw, 20px); }
.page-h .credits-body { gap: 28px; margin-bottom: 16px; }
.page-h .credits-col-head { margin-bottom: 10px; padding-bottom: 6px; }
.page-h .credits-col-num { font-size: 1.1rem; }
.page-h .credits-contact-list { gap: 6px; }
.page-h .credits-contact-row { padding: 7px 10px; }
.page-h .credits-contact-glyph { width: 26px; height: 26px; }
.page-h .credits-contact-glyph svg { width: 13px; height: 13px; }
.page-h .credits-contact-v { font-size: 0.78rem; }
.page-h .credits-roles { gap: 8px; }
.page-h .credits-role-v { font-size: 0.9rem; }
.page-h .credits-roles-note { margin-top: 10px; padding-top: 8px; font-size: 0.78rem; }
.page-h .credits-strip { margin: 14px 0 10px; height: 5px; }
.page-h .credits-base { font-size: 0.66rem; padding-top: 8px; border-top: 1px solid var(--line); }

/* Section headers */
.page-h .section-header { margin-bottom: 16px; padding-bottom: 12px; flex: 0 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.dim { color: var(--ink-mute); }
.link { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(98, 199, 232, 0.35); padding-bottom: 2px; }

.page { max-width: 100%; }

/* ---------- TOP NAV ---------- */
.topnav-wrap {
  position: fixed;
  top: 12px;
  left: 0; right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  width: 100%;
  pointer-events: none;
  padding: 0 clamp(20px, 4vw, 56px);
}
.topnav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: center;
  gap: 24px;
  max-width: 100%;
  margin-top: 12px;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  background: rgba(7,8,42,0.78);
  border: 1px solid rgba(212,166,41,0.32);
  box-shadow: 0 16px 40px -22px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(245,238,223,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-theme="paper"] .topnav {
  background: rgba(255,255,255,0.85);
  border-color: rgba(20,24,90,0.18);
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Unbounded', serif; font-weight: 700; font-size: 1rem;
  letter-spacing: 0.02em;
}
.brand svg { width: 22px; height: 22px; }
.topnav-links {
  display: flex; gap: 22px; font-size: 0.82rem; color: var(--ink-dim);
}
.topnav-links a:hover { color: var(--ink); }
.topnav-meta {
  display: flex; align-items: center; gap: 14px;
}
.topnav-meta .mono { color: var(--ink-mute); font-size: 0.68rem; }
.btn-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 0.78rem; font-weight: 600;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn-pill-accent {
  background: var(--btn-accent, var(--accent));
  color: #0a0b2e;
  border-color: transparent;
}
.btn-pill-accent:hover { transform: translateY(-1px); }
.live-dot {
  width: 8px; height: 8px; border-radius: 999px; background: #ff4438;
  box-shadow: 0 0 0 0 rgba(255, 68, 56, 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 68, 56, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(255, 68, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 68, 56, 0); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 16px var(--pad) 40px;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, rgba(58, 62, 176, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 70% 70% at 10% 90%, rgba(110, 90, 140, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-night) 100%);
}
.hero-bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(0,0,0,0.45) 100%);
}
.hero-bg-motif-l, .hero-bg-motif-r {
  position: absolute; width: 70px; height: 100%;
  top: 0;
}
.hero-bg-motif-l { left: 16px; }
.hero-bg-motif-r { right: 16px; transform: scaleX(-1); }
.hero-bg-keys {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 80px;
  align-items: end; justify-items: center;
  padding: 120px 80px 120px;
  opacity: 0.4;
}
.hero-bg-keys svg { width: 44px; height: 44px; }
.hero-bg-keys svg:nth-child(odd) { transform: rotate(180deg); }

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: end;
  padding: 40px 0 36px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--ink-dim); margin-bottom: 22px;
}
.hero-dash { width: 32px; height: 1px; background: var(--gold); opacity: 0.7; }

.hero-title {
  font-family: 'Unbounded', serif;
  font-weight: 800;
  font-size: clamp(64px, 12vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.hero-title-row { display: block; }
.hero-title-word { display: inline-block; }
.hero-title-sub {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--ink-dim);
  margin-top: 18px;
  font-style: italic;
}
.hero-lede {
  max-width: 540px;
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--ink-dim);
  margin: 0 0 30px;
}

.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 44px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--btn-accent, var(--accent));
  color: #0a0b2e;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px -8px rgba(98, 199, 232, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(98, 199, 232, 0.6); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  max-width: 600px;
}
.stat-k { color: var(--ink-mute); margin-bottom: 6px; }
.stat-v { font-family: 'Unbounded', serif; font-weight: 600; font-size: 1.4rem; letter-spacing: -0.01em; }

/* HERO ART */
.hero-art {
  position: relative;
  align-self: stretch;
  display: flex; flex-direction: column;
  justify-content: flex-end;
}
.hero-art-frame {
  position: relative;
  aspect-ratio: 720 / 1100;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(58,62,176,0.45) 0%, rgba(20,24,90,0.85) 60%, rgba(7,8,42,1) 100%);
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(212,166,41,0.4);
}
.hero-art-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 30%, rgba(98,199,232,0.18) 0%, transparent 60%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(212,166,41,0.04) 14px 15px);
}
.hero-art-img {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5));
}
.hero-art-tag {
  position: absolute; bottom: 18px; left: 18px; right: 18px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: rgba(7,8,42,0.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-dim);
}
.hero-art-corner {
  position: absolute; width: 28px; height: 28px;
  border: 2px solid var(--gold);
  z-index: 4;
}
.hero-art-corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.hero-art-corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.hero-art-corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.hero-art-corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.hero-art-caption {
  text-align: right; margin-top: 14px;
  color: var(--ink-mute);
}

/* ---------- ROTATING CARD SECTION ---------- */
.rcard-section {
  position: relative;
  padding: 100px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  overflow: visible;
}
.rcard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: center;
}
.rcard-text { padding-right: 20px; }
.rcard-headline {
  font-family: 'Unbounded', serif;
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 14px 0 22px;
  text-wrap: balance;
}
.rcard-headline em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 600;
}
.rcard-body {
  color: var(--ink-dim);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 0 28px;
}
.rcard-controls { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.rcard-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--gold-bright);
  color: #0a0b2e;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rcard-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(245,214,58,0.5); }
.rcard-btn-arrow { font-size: 1.15rem; }
.rcard-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.rcard-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.rcard-hint-inline { color: var(--ink-mute); align-self: center; }
.rcard-data {
  margin: 0; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid; gap: 12px;
}
.rcard-data > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: baseline; }
.rcard-data dt { color: var(--gold); margin: 0; }
.rcard-data dd { color: var(--ink); margin: 0; font-weight: 500; }

/* 3D STAGE */
.rcard-stage {
  position: relative;
  perspective: 1800px;
  perspective-origin: 50% 40%;
  width: 100%;
  aspect-ratio: 720 / 1100;
  max-width: 520px;
  margin: 0 auto;
  cursor: pointer;
  outline: none;
}
.rcard-stage:focus-visible { box-shadow: 0 0 0 3px var(--accent); border-radius: 6px; }
.rcard-shadow {
  position: absolute;
  left: 8%; right: 8%;
  bottom: -22px;
  height: 40px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,0,0,0.55) 0%, transparent 70%);
  filter: blur(8px);
  transition: transform 0.9s cubic-bezier(.65,.05,.35,1), opacity 0.9s ease;
}
.rcard {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(0deg) rotateX(0deg);
  transition: transform 0.6s cubic-bezier(.65,.05,.35,1);
}
.rcard-stage:hover .rcard { transform: rotateY(6deg) rotateX(-2deg); }

.rcard-face {
  position: absolute; inset: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(212,166,41,0.5);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(.65,.05,.35,1);
  will-change: opacity, transform;
}
.rcard-face.is-active   { opacity: 1; transform: translateY(0)    scale(1);    z-index: 2; pointer-events: auto; }
.rcard-face.is-hidden   { opacity: 0; transform: translateY(12px) scale(0.97); z-index: 1; pointer-events: none; }
.rcard-dots {
  display: inline-flex; gap: 8px; align-items: center;
}
.rcard-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(245,238,223,0.18);
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}
.rcard-dot:hover { transform: scale(1.15); }
.rcard-dot.is-active {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(245,214,58,0.18);
}
.rcard-face-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 30%, rgba(98,199,232,0.22) 0%, transparent 60%),
    linear-gradient(180deg, rgba(58,62,176,0.5) 0%, rgba(20,24,90,0.9) 60%, rgba(7,8,42,1) 100%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(212,166,41,0.05) 14px 15px);
}
.rcard-face img {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5));
}
.rcard-face-corner {
  position: absolute; width: 28px; height: 28px;
  border: 2px solid var(--gold);
  z-index: 4;
}
.rcard-face-corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.rcard-face-corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.rcard-face-corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.rcard-face-corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.rcard-face-tag {
  position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  background: rgba(7,8,42,0.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-dim);
}
.rcard-hint {
  position: absolute; bottom: -52px; left: 50%;
  transform: translateX(-50%);
  color: var(--ink-mute);
  pointer-events: none;
}

/* ---------- TWITCH LIVE ---------- */
.watch {
  padding: 80px var(--pad) 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.watch .section-header { margin-bottom: 32px; }
.watch .section-title em {
  font-style: normal;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 0.55em;
  color: var(--ink-mute);
  letter-spacing: 0;
  margin-right: 8px;
  vertical-align: middle;
}
.watch .section-eyebrow {
  display: inline-flex; align-items: center;
  color: #ff6557;
}
.watch-trailing { display: flex; gap: 18px; align-items: center; }
.watch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
}
.watch-player-wrap { display: flex; flex-direction: column; gap: 12px; }
.watch-player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 30px 60px -30px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(212,166,41,0.4);
}
.watch-player-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Shield: catches wheel/clicks so horizontal scroll works. Click to activate iframe. */
.watch-player-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.watch-player-shield-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(7,8,42,0.55) 0%, rgba(7,8,42,0.85) 80%),
    linear-gradient(135deg, rgba(58,62,176,0.25) 0%, rgba(20,24,90,0.55) 100%);
  transition: opacity 0.25s ease;
}
.watch-player-shield-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink);
  text-align: center;
  padding: 18px 22px;
  transition: transform 0.25s ease;
}
.watch-player-shield:hover .watch-player-shield-content { transform: scale(1.04); }
.watch-player-shield-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 999px;
  background: rgba(145, 71, 255, 0.95);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 14px 40px -10px rgba(145,71,255,0.5);
}
.watch-player-shield-label {
  font-family: 'Unbounded', serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.watch-player-shield-hint {
  color: var(--ink-mute);
  font-size: 0.7rem;
}
.watch-player-frame.is-active .watch-player-shield { display: none; }
.watch-player-corner {
  position: absolute; width: 22px; height: 22px;
  border: 2px solid var(--gold);
  z-index: 4; pointer-events: none;
}
.watch-player-corner.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.watch-player-corner.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.watch-player-corner.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.watch-player-corner.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.watch-player-caption {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-mute);
  font-size: 0.72rem;
}
.watch-player-caption .live-dot { display: inline-block; vertical-align: middle; }

.watch-side {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 22px 20px;
  display: flex; flex-direction: column;
  gap: 18px;
}
[data-theme="paper"] .watch-side { background: #ffffff; }
.watch-side-row { display: flex; flex-direction: column; gap: 6px; }
.watch-side-k { color: var(--ink-mute); }
.watch-side-v {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.35;
}
.watch-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.watch-tag {
  padding: 3px 9px;
  border-radius: 3px;
  background: rgba(98,199,232,0.14);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.watch-side-actions {
  margin-top: 4px;
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.watch-follow {
  background: #9147ff;
  color: #ffffff;
  box-shadow: 0 8px 24px -8px rgba(145, 71, 255, 0.5);
}
.watch-follow:hover { box-shadow: 0 14px 30px -10px rgba(145, 71, 255, 0.7); }
.watch-side-actions .btn-ghost { text-align: center; }

/* ---------- SECTION HEADER ---------- */
.section-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 32px;
  margin: 0 0 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-header-l { display: flex; align-items: baseline; gap: 14px; }
.section-index {
  font-family: 'Unbounded', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.section-eyebrow { color: var(--ink-mute); }
.section-title {
  grid-column: 2 / 3;
  font-family: 'Unbounded', serif;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.section-header-r { color: var(--ink-mute); }

/* ---------- ABOUT ---------- */
.about {
  padding: 100px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: start;
}
.lore { font-size: 1.05rem; color: var(--ink-dim); }
.lore p { margin: 0 0 22px; }
.lore-drop { font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.drop-cap {
  float: left;
  font-family: 'Unbounded', serif;
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--gold);
}
.lore-traits {
  list-style: none; padding: 24px 0 0; margin: 24px 0 0;
  border-top: 1px dashed var(--line);
  display: grid; gap: 12px;
}
.lore-traits li { display: flex; gap: 14px; align-items: baseline; }
.lore-traits .mono { color: var(--gold); min-width: 80px; }

/* Profile card */
.profile-card {
  position: relative;
  padding: 22px;
  background:
    linear-gradient(160deg, rgba(58,62,176,0.4) 0%, rgba(13,15,61,0.95) 60%),
    var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow:
    0 24px 60px -30px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(245,214,58,0.1);
}
[data-theme="paper"] .profile-card {
  background: linear-gradient(160deg, rgba(58,62,176,0.18) 0%, rgba(255,255,255,1) 70%);
}
.profile-card-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.profile-card-tag {
  padding: 4px 10px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
}
.profile-card-portrait {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(58,62,176,0.45) 0%, rgba(20,24,90,0.85) 100%);
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.profile-card-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
}
.profile-card-watermark {
  position: absolute; bottom: 10px; right: 14px;
  font-family: 'Unbounded', serif !important;
  font-size: 0.95rem; font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  text-transform: none;
}
.profile-card-data {
  margin: 0; display: grid; gap: 8px;
}
.profile-row {
  display: grid; grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
}
.profile-row:last-child { border-bottom: none; }
.profile-row dt { color: var(--ink-mute); margin: 0; }
.profile-row dd { margin: 0; color: var(--ink); font-weight: 500; }
.profile-card-palette {
  display: flex; gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.swatch { width: 22px; height: 22px; transform: rotate(45deg); border-radius: 2px; }

/* ---------- SCHEDULE (timeline list) ---------- */
.schedule {
  padding: 100px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: sch;
}
.sch-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px 80px minmax(0, 1fr) 110px 80px;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  border-left: 3px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
[data-theme="paper"] .sch-row { background: #ffffff; }
.sch-row:hover { transform: translateX(2px); border-color: var(--line); }
.sch-row.sch-off { opacity: 0.5; }

.sch-row-day {
  display: flex; align-items: baseline; gap: 8px;
}
.sch-row-dayname { color: var(--ink-mute); }
.sch-row-daynum {
  font-family: 'Unbounded', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.sch-row-tag {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  justify-self: start;
}
.sch-row-title {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.3;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sch-row-time {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}
.sch-row-dur { color: var(--ink-mute); text-align: right; }

.sch-rpg { border-left-color: var(--accent); }
.sch-rpg .sch-row-tag { background: rgba(98,199,232,0.18); color: var(--accent); }
.sch-chat { border-left-color: var(--gold); }
.sch-chat .sch-row-tag { background: rgba(212,166,41,0.18); color: var(--gold-bright); }
.sch-lore { border-left-color: var(--mauve); }
.sch-lore .sch-row-tag { background: rgba(110,90,140,0.3); color: #c5acd9; }
.sch-sing { border-left-color: var(--gold-bright); }
.sch-sing .sch-row-tag { background: rgba(245,214,58,0.2); color: var(--gold-bright); }
.sch-mys { border-left-color: var(--red); }
.sch-mys .sch-row-tag { background: rgba(211,57,42,0.22); color: #ff8a7a; }
.sch-off .sch-row-tag { background: var(--line-soft); color: var(--ink-mute); }

.schedule-note {
  margin-top: 22px;
  display: flex; gap: 18px; align-items: baseline;
  color: var(--ink-dim);
  font-size: 0.92rem;
}
.schedule-note .mono { color: var(--gold); }

/* ---------- VODS ---------- */
.vods {
  padding: 100px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.vods-trailing { display: flex; align-items: baseline; gap: 16px; }

/* Tone tokens used by both featured + rows */
.vod-tone-royal { --vtone: #3a3eb0; --vtone-soft: #1a1d6e; --vtone-light: #8588f4; }
.vod-tone-gold  { --vtone: #d4a629; --vtone-soft: #5e3f08; --vtone-light: #f5d63a; }
.vod-tone-gem   { --vtone: #6e3ed4; --vtone-soft: #2a0d6a; --vtone-light: #a886ff; }
.vod-tone-cyan  { --vtone: #62c7e8; --vtone-soft: #0a4e6b; --vtone-light: #aee3f3; }
.vod-tone-red   { --vtone: #d3392a; --vtone-soft: #5b1410; --vtone-light: #ff7a6c; }

.vods-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* CATEGORY CHIP */
.vod-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(var(--brand-rgb, 0,0,0), 0);
  background-color: color-mix(in oklab, var(--vtone) 18%, transparent);
  color: var(--vtone-light);
  font-weight: 600;
  font-size: 0.62rem;
}
.vod-chip-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--vtone-light);
  box-shadow: 0 0 8px var(--vtone-light);
}
.vod-chip-soft {
  background-color: rgba(0,0,0,0.4);
  color: var(--ink-mute);
}
.vod-chip-soft .vod-chip-dot { display: none; }
.vod-chip-ghost {
  background-color: transparent;
  color: var(--gold-bright);
  border: 1px solid rgba(245,214,58,0.4);
}
.vod-chip-ghost .vod-chip-dot { background: var(--gold-bright); box-shadow: 0 0 8px var(--gold-bright); }

/* FEATURED CARD */
.vod-featured {
  display: flex; flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--vtone) 40%, var(--line));
  background: var(--bg-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.vod-featured:hover {
  transform: translateY(-3px);
  border-color: var(--vtone-light);
  box-shadow: 0 24px 50px -22px color-mix(in oklab, var(--vtone) 60%, transparent);
}
.vod-featured-art {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px;
  overflow: hidden;
  cursor: pointer;
}
.vod-featured-art-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 100% at 30% 20%, color-mix(in oklab, var(--vtone) 70%, transparent) 0%, transparent 55%),
    linear-gradient(135deg, var(--vtone-soft) 0%, var(--vtone) 100%);
  z-index: 0;
}
.vod-featured-art-motif {
  position: absolute; inset: 0;
  z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch; justify-items: stretch;
  pointer-events: none;
  padding: 12px;
}
.vod-featured-art-motif svg { width: 100%; height: 100%; opacity: 0.7; }
.vod-featured-cat-row {
  position: relative; z-index: 2;
  display: flex; gap: 8px; align-items: center;
}
.vod-featured-cat-row .vod-chip { background-color: rgba(0,0,0,0.45); color: #ffffff; }
.vod-featured-cat-row .vod-chip-dot { background: #ffffff; box-shadow: 0 0 8px #ffffff; }
.vod-featured-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px 14px 22px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.vod-featured:hover .vod-featured-play {
  background: var(--vtone-light);
  color: #0a0b2e;
  border-color: var(--vtone-light);
  transform: translate(-50%, -50%) scale(1.04);
}
.vod-featured-meta-row {
  position: relative; z-index: 2;
  display: flex; align-items: baseline; gap: 8px;
  color: #ffffff;
}
.vod-stat-v {
  font-family: 'Unbounded', serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.vod-stat-k { color: rgba(255,255,255,0.7); font-size: 0.62rem; }
.vod-meta-sep { color: rgba(255,255,255,0.4); }
.vod-featured-meta-row .vod-dur {
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(0,0,0,0.45);
}
.vod-featured-body {
  padding: 22px;
  display: flex; flex-direction: column; gap: 16px;
  flex: 1;
}
.vod-featured-body > .mono { color: var(--vtone-light); font-size: 0.66rem; }
.vod-featured-title {
  margin: 0;
  font-family: 'Unbounded', serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.vod-chapters {
  list-style: none;
  padding: 0; margin: auto 0 0;
  display: grid; gap: 6px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.vod-chapter {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 0.92rem;
  color: var(--ink-dim);
  padding: 2px 0;
  transition: color 0.2s ease;
}
.vod-chapter:hover { color: var(--ink); }
.vod-chapter-num { color: var(--vtone-light); }
.vod-chapter-name { font-weight: 500; }

/* ROWS LIST */
.vods-list { display: flex; flex-direction: column; gap: 10px; }
.vod-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
[data-theme="paper"] .vod-row { background: #ffffff; }
.vod-row:hover {
  transform: translateX(4px);
  border-color: var(--vtone-light);
  background: linear-gradient(90deg, color-mix(in oklab, var(--vtone) 10%, var(--bg-card)) 0%, var(--bg-card) 60%);
}
.vod-row-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  overflow: hidden;
}
.vod-row-thumb-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 100% at 30% 20%, color-mix(in oklab, var(--vtone) 65%, transparent) 0%, transparent 55%),
    linear-gradient(135deg, var(--vtone-soft) 0%, var(--vtone) 100%);
}
.vod-row-thumb-motif {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.vod-row-thumb-motif svg { width: 70%; height: 80%; opacity: 0.55; }
.vod-row-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 32px; height: 32px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.vod-row:hover .vod-row-play {
  background: var(--vtone-light);
  color: #0a0b2e;
  border-color: var(--vtone-light);
  transform: translate(-50%, -50%) scale(1.1);
}
.vod-row-dur {
  position: absolute; bottom: 6px; right: 6px;
  padding: 2px 6px;
  background: rgba(0,0,0,0.7);
  color: #ffffff;
  border-radius: 3px;
  font-size: 0.62rem;
}
.vod-progress {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(0,0,0,0.4);
}
.vod-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-bright), var(--accent));
}
.vod-row-meta {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
  padding: 4px 4px 4px 0;
}
.vod-row-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.vod-row-title {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}
.vod-row-sub {
  display: flex; gap: 6px; align-items: baseline;
  color: var(--ink-mute);
  margin-top: auto;
}
.vod-stat-v-sm {
  font-family: 'Unbounded', serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- SOCIALS ---------- */
.socials {
  padding: 100px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}

/* Brand tone vars */
.social-twitch  { --brand: #9147ff; --brand-rgb: 145,71,255; }
.social-youtube { --brand: #ff3a30; --brand-rgb: 255,58,48; }
.social-x       { --brand: #e7e5e3; --brand-rgb: 231,229,227; }
.social-discord { --brand: #5865f2; --brand-rgb: 88,101,242; }
.social-tiktok  { --brand: #25f4ee; --brand-rgb: 37,244,238; }
.social-bluesky { --brand: #1185fe; --brand-rgb: 17,133,254; }

.socials-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 22px;
  align-items: stretch;
}

/* FEATURED CARD */
.social-featured {
  position: relative;
  display: flex; flex-direction: column;
  padding: 0;
  background:
    radial-gradient(ellipse 90% 90% at 0% 0%, rgba(var(--brand-rgb), 0.45) 0%, transparent 55%),
    linear-gradient(160deg, rgba(var(--brand-rgb), 0.18) 0%, var(--bg-card) 55%);
  border: 1px solid rgba(var(--brand-rgb), 0.4);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.social-featured:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 24px 50px -20px rgba(var(--brand-rgb), 0.45);
}
.social-featured .social-link {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 28px 28px 20px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.social-featured-bg {
  position: absolute; inset: 0;
  display: flex; justify-content: flex-end; align-items: center;
  padding: 20px;
  pointer-events: none;
  z-index: 0;
}
.social-featured-bg svg {
  height: 80%;
  width: auto;
  opacity: 0.5;
  color: var(--brand);
}
.social-featured-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 28px;
  position: relative; z-index: 1;
}
.social-featured-glyph {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 12px 28px -10px rgba(var(--brand-rgb), 0.7);
}
.social-featured-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--ink);
  font-size: 0.62rem;
}
.social-featured-body {
  position: relative; z-index: 1;
  margin-bottom: 28px;
}
.social-featured-body .social-name {
  font-family: 'Unbounded', serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.social-featured-body .social-handle {
  color: var(--brand);
  font-size: 0.92rem;
  display: block;
  margin-bottom: 8px;
}
.social-featured-body .social-sub {
  color: var(--ink-dim);
  font-size: 0.98rem;
}
.social-featured-foot {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.social-stat {
  display: flex; flex-direction: column; gap: 2px;
}
.social-stat-v {
  font-family: 'Unbounded', serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.social-stat-k { color: var(--ink-mute); font-size: 0.65rem; }
.social-cta { color: var(--ink); font-weight: 600; }
.social-featured:hover .social-cta { color: var(--brand); }
.social-featured .social-foot {
  margin: 0;
  padding: 14px 28px;
  border-top: 1px solid var(--line-soft);
  background: rgba(0,0,0,0.2);
  position: relative; z-index: 1;
}

/* SECONDARY GRID */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.social {
  display: flex; flex-direction: column;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
  min-height: 150px;
}
[data-theme="paper"] .social { background: #ffffff; }
.social:hover {
  transform: translateY(-3px);
  border-color: var(--brand, var(--accent));
  background: linear-gradient(160deg, rgba(var(--brand-rgb), 0.12) 0%, var(--bg-card) 60%);
}
.social-link {
  display: flex; flex-direction: column;
  flex: 1;
  padding: 18px 18px 12px;
  gap: 12px;
  color: inherit;
  cursor: pointer;
}
.social-head {
  display: flex; justify-content: space-between; align-items: center;
}
.social-glyph {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(var(--brand-rgb), 0.18);
  color: var(--brand);
  transition: background 0.2s ease, color 0.2s ease;
}
.social:hover .social-glyph { background: var(--brand); color: #ffffff; }
.social-arrow {
  font-size: 1rem; color: var(--ink-mute);
  transition: transform 0.2s ease, color 0.2s ease;
}
.social:hover .social-arrow { transform: translate(2px, -2px); color: var(--brand); }
.social-meta { display: flex; flex-direction: column; gap: 4px; }
.social-name { font-family: 'Unbounded', serif; font-weight: 600; font-size: 1.15rem; }
.social-handle { color: var(--ink-dim); font-size: 0.75rem; }
.social-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: auto;
  gap: 12px;
}
.social-bottom .social-stat { flex-direction: row; align-items: baseline; gap: 6px; }
.social-bottom .social-stat-v {
  font-family: 'Unbounded', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.social-bottom .social-sub {
  color: var(--ink-mute);
  font-size: 0.78rem;
  text-align: right;
  line-height: 1.3;
}

.social-foot {
  padding: 10px 18px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 10px;
  min-width: 0;
  background: rgba(0,0,0,0.18);
}
[data-theme="paper"] .social-foot { background: rgba(20,24,90,0.04); }
.social-copy-value {
  flex: 1; min-width: 0;
  color: var(--ink-mute);
  font-size: 0.66rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- COPY BUTTON ---------- */
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(245,238,223,0.06);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  flex-shrink: 0;
}
.copy-btn:hover {
  background: var(--gold-bright);
  color: #0a0b2e;
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}
.copy-btn:active { transform: translateY(0); }
.copy-btn.is-copied {
  background: var(--accent);
  color: #0a0b2e;
  border-color: var(--accent);
}
.copy-btn-icon { display: inline-flex; }
.copy-btn-md { padding: 8px 14px; font-size: 0.74rem; }
.copy-btn-md .copy-btn-icon svg { width: 16px; height: 16px; }
[data-theme="paper"] .copy-btn {
  background: rgba(20, 24, 90, 0.06);
}

/* ---------- CREDITS ---------- */
.credits {
  padding: 80px var(--pad) 40px;
  background:
    radial-gradient(ellipse 100% 80% at 100% 0%, rgba(58, 62, 176, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(212, 166, 41, 0.18) 0%, transparent 60%),
    var(--bg-night);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.credits::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.6;
}
.credits-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

/* MASTHEAD */
.credits-mast {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: flex-end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.credits-mast-l { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.credits-mast-l .mono { color: var(--gold); }
.credits-wordmark {
  font-family: 'Unbounded', serif;
  font-weight: 800;
  font-size: clamp(56px, 10vw, 140px);
  letter-spacing: -0.04em;
  line-height: 0.88;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.credits-wordmark-accent { color: var(--accent); }
.credits-wordmark-gem {
  display: inline-flex; align-items: center;
  margin-left: 16px;
  transform: translateY(-12px);
  filter: drop-shadow(0 0 16px rgba(98,199,232,0.6));
}
.credits-tagline {
  font-size: 1.1rem;
  color: var(--ink-dim);
  max-width: 540px;
  margin: 0;
  line-height: 1.45;
}
.credits-tagline em {
  font-style: italic;
  color: var(--gold-bright);
}
.credits-mast-r { align-self: stretch; display: flex; align-items: flex-end; }
.credits-stamp {
  font-family: 'Unbounded', serif !important;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
  text-align: right;
  letter-spacing: 0;
  text-transform: none;
  padding: 16px 20px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: rgba(245,214,58,0.06);
}
.credits-stamp::first-line { color: var(--ink-mute); font-size: 0.5em; letter-spacing: 0.2em; text-transform: uppercase; }

/* BODY: two columns */
.credits-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  margin-bottom: 36px;
}
.credits-col-head {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.credits-col-num {
  font-family: 'Unbounded', serif !important;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0;
}
.credits-col-lbl { color: var(--ink); font-size: 0.74rem; }

/* CONTACT */
.credits-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.credits-contact-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(245,238,223,0.04);
  border: 1px solid var(--line-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.credits-contact-row:hover { border-color: var(--gold); background: rgba(245,214,58,0.06); }
.credits-contact-glyph {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(245,214,58,0.12);
  color: var(--gold-bright);
  display: grid; place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.credits-contact-row:hover .credits-contact-glyph { background: var(--gold-bright); color: #0a0b2e; }
.credits-contact-stack { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.credits-contact-k { color: var(--ink-mute); font-size: 0.62rem; }
.credits-contact-v {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ROLES */
.credits-roles {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.credits-role {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 6px 0;
}
.credits-role-bar {
  background: linear-gradient(180deg, var(--gold) 0%, var(--accent) 100%);
  border-radius: 999px;
  transition: width 0.2s ease;
}
.credits-role-text { display: flex; flex-direction: column; gap: 4px; }
.credits-role-k { color: var(--ink-mute); }
.credits-role-v {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}
.credits-roles-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--ink-dim);
  line-height: 1.5;
}

/* STRIP */
.credits-strip {
  height: 8px;
  margin: 36px 0 20px;
  background-image: repeating-linear-gradient(90deg,
    transparent 0 18px,
    rgba(212,166,41,0.45) 18px 20px,
    transparent 20px 38px,
    var(--gold) 38px 40px);
  border-radius: 999px;
  opacity: 0.85;
}

/* BASE */
.credits-base {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  color: var(--ink-mute);
}
.credits-strip {
  margin: 40px auto 24px;
  height: 56px;
  overflow: hidden;
  max-width: var(--maxw);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.credits-strip-svg {
  width: 100%; height: 100%;
  display: block;
}
.credits-strip {
  background-image: repeating-linear-gradient(90deg, transparent 0 26px, rgba(212,166,41,0.16) 26px 28px);
}
.credits-strip-svg { display: none; }
.credits-base {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex; justify-content: space-between;
  color: var(--ink-mute);
  flex-wrap: wrap; gap: 8px;
}

/* ---------- TOP NAV BRAND MARK ---------- */
.brand-mark {
  width: 28px; height: 28px;
  object-fit: contain;
  display: block;
}
.brand-mark-dark { display: none; }
[data-theme="paper"] .brand-mark-light { display: none; }
[data-theme="paper"] .brand-mark-dark  { display: block; }
.brand-word { font-family: 'Unbounded', serif; }

/* ---------- WATCH SHIELD YAP GIF ---------- */
.watch-player-shield-yap {
  position: absolute;
  right: 4%;
  bottom: 12%;
  width: clamp(110px, 22%, 200px);
  height: auto;
  z-index: 1;
  opacity: 0.55;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.55));
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s ease;
}
.watch-player-shield:hover .watch-player-shield-yap {
  opacity: 0.95;
  transform: translateY(-4px) rotate(-2deg);
}

/* ---------- PROFILE CARD YAP ---------- */
.profile-card-portrait { position: relative; }
.profile-card-yap {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 64px;
  height: auto;
  border-radius: 8px;
  background: rgba(7,8,42,0.6);
  border: 1px solid var(--line);
  padding: 4px;
  z-index: 3;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6);
}

/* ---------- CREDITS LOGO ---------- */
.credits-mast-r {
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.credits-mast-logo {
  width: clamp(110px, 14vw, 160px);
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}
[data-theme="paper"] .credits-mast-logo { opacity: 1; }

/* ---------- EMPTY STATES (schedule / vods) ---------- */
.schedule-empty, .vods-empty {
  padding: 36px 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(245,238,223,0.03);
  color: var(--ink-dim);
  text-align: center;
}
.schedule-empty-msg, .vods-empty-msg {
  margin: 0;
  font-size: 0.95rem;
}
.link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--gold-bright); }

/* Make VOD cards clickable as <a> while keeping the visual */
a.vod-featured, a.vod-row { color: inherit; text-decoration: none; display: grid; }
a.vod-row { grid-template-columns: 200px 1fr; gap: 18px; align-items: center; padding: 10px; border-radius: 10px; transition: background 0.18s ease, transform 0.18s ease; }
a.vod-row:hover { background: rgba(245,238,223,0.05); transform: translateX(2px); }
a.vod-featured { transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.vod-featured:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -30px rgba(0,0,0,0.7); }
.vod-featured-art { position: relative; overflow: hidden; }
.vod-row-thumb { position: relative; overflow: hidden; }

/* ---------- EMOTES SECTION ---------- */
.emotes {
  padding: 80px var(--pad) 60px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.emotes .section-header { margin-bottom: 28px; }
.emotes-filters {
  display: flex; gap: 6px;
  flex-wrap: wrap;
  background: rgba(245,238,223,0.04);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 999px;
}
.emote-filter {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: var(--ink-mute);
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}
.emote-filter:hover { color: var(--ink); }
.emote-filter.is-active {
  background: var(--gold-bright);
  color: #0a0b2e;
}
.emotes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 32px;
  align-items: start;
}
.emotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}
.emote {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  background: linear-gradient(180deg, rgba(245,238,223,0.03) 0%, rgba(7,8,42,0.0) 100%);
}
.emote:hover, .emote.is-focus {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(98,199,232,0.10) 0%, rgba(7,8,42,0.0) 100%);
  box-shadow: 0 14px 28px -14px rgba(98,199,232,0.6);
}
.emote:focus-visible { outline: none; border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(245,214,58,0.4); }
.emote-frame {
  width: 88px; height: 88px;
  display: grid; place-items: center;
  border-radius: 12px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, rgba(98,199,232,0.18) 0%, transparent 70%),
    linear-gradient(180deg, rgba(20,24,90,0.6) 0%, rgba(7,8,42,0.4) 100%);
  overflow: hidden;
}
.emote-frame img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.emote:hover .emote-frame img { transform: scale(1.08); }
.emote-tag {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7,8,42,0.55);
}
[data-theme="paper"] .emote-tag { background: rgba(255,255,255,0.6); color: var(--gold); }
.emote-name {
  font-size: 0.72rem;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
}
.emotes-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.emotes-side-card {
  background: rgba(20,24,90,0.45);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
[data-theme="paper"] .emotes-side-card { background: rgba(255,255,255,0.85); }
.emotes-side-eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.emotes-side-title {
  font-family: 'Unbounded', serif;
  font-size: clamp(20px, 2vw, 28px);
  margin: 0;
  letter-spacing: -0.01em;
  word-break: break-word;
}
.emotes-side-body { color: var(--ink-dim); font-size: 0.92rem; margin: 0; }
.emotes-side-body .accent { color: var(--gold-bright); }
.emotes-side-stats {
  list-style: none;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 10px;
  font-size: 0.85rem;
}
.emotes-side-stats li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  color: var(--ink);
}
.emotes-side-stats .dim { color: var(--ink-mute); }
.emotes-cta { align-self: flex-start; }

/* ---------- HORIZONTAL MODE: EMOTES PANEL ---------- */
.page-h .h-panel #emotes-panel,
.page-h .h-panel .emotes {
  height: 100%;
}
.page-h .emotes-layout {
  flex: 1 1 auto;
  min-height: 0;
}
.page-h .emotes-grid {
  max-height: 100%;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
}
.page-h .emotes-grid::-webkit-scrollbar { width: 6px; }
.page-h .emotes-grid::-webkit-scrollbar-thumb { background: rgba(245,238,223,0.15); border-radius: 999px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .emotes-grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 12px; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .watch-grid { grid-template-columns: 1fr; }
  .rcard-grid { grid-template-columns: 1fr; gap: 48px; }
  .rcard-text { padding-right: 0; }
  .hero-bg-keys { padding: 60px 20px; grid-template-columns: repeat(5,1fr); }
  .hero-art-frame { max-width: 520px; margin: 0 auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .section-header { grid-template-columns: 1fr; gap: 16px; }
  .section-title { grid-column: 1; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .vods-layout { grid-template-columns: 1fr; }
  .socials-layout { grid-template-columns: 1fr; }
  .socials-grid { grid-template-columns: repeat(2, 1fr); }
  .credits-mast { grid-template-columns: 1fr; gap: 20px; align-items: flex-start; }
  .credits-mast-r { align-items: flex-start; }
  .credits-body { grid-template-columns: 1fr; gap: 36px; }
  .emotes-layout { grid-template-columns: 1fr; gap: 24px; }
  .emotes-side { position: static; }
  .emotes-side-card { max-width: 540px; }
}
@media (max-width: 760px) {
  .topnav-links { display: none; }
  .emotes-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
  .emote { padding: 10px 6px 8px; }
  .emote-frame { width: 72px; height: 72px; }
}
@media (max-width: 560px) {
  .schedule-grid { grid-template-columns: 1fr; }
  .vods-layout { grid-template-columns: 1fr; }
  .vod-row { grid-template-columns: 140px 1fr; }
  .socials-grid { grid-template-columns: 1fr; }
  .credits-contact-row { grid-template-columns: 32px 1fr; row-gap: 4px; }
  .credits-contact-row .copy-btn { grid-column: 1 / -1; justify-self: start; }
  .topnav-meta .mono { display: none; }
  .hero-bg-keys { display: none; }
  .emotes-grid { grid-template-columns: repeat(3, 1fr); }
  .emote-frame { width: 64px; height: 64px; }
}

/* ---------- MOBILE / VERTICAL LAYOUT POLISH ---------- */
html[data-layout="vertical"] {
  scroll-padding-top: 80px;
}
html[data-layout="vertical"], html[data-layout="vertical"] body {
  height: auto;
  overflow: visible;
}
.page-v {
  display: flex;
  flex-direction: column;
}
.page-v .h-panel {
  width: 100%;
  height: auto;
  min-height: auto;
  overflow: visible;
  scroll-snap-align: none;
  flex: 0 0 auto;
}
.page-v .h-panel > section,
.page-v .h-panel > footer {
  height: auto;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px var(--pad) 56px;
  display: block;
  overflow: visible;
}
/* hide horizontal chrome when vertical */
html[data-layout="vertical"] .hchrome { display: none; }
/* tighten top nav on touch */
@media (max-width: 760px) {
  .topnav-wrap { top: 8px; padding: 0 12px; }
  .topnav { gap: 12px; padding: 6px 8px 6px 14px; }
  .brand { font-size: 0.9rem; }
  .brand-mark { width: 24px; height: 24px; }
  .btn-pill { font-size: 0.72rem; padding: 5px 10px; }
}

/* ---------- VERTICAL: SECTION-SPECIFIC TIGHTENING ---------- */
.page-v .hero { min-height: auto; padding-top: 88px; padding-bottom: 48px; }
.page-v .hero-grid { grid-template-columns: 1fr; gap: 28px; }
.page-v .hero-art-frame { max-width: 420px; margin: 0 auto; }
.page-v .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.page-v .hero-bg-keys { display: none; }
.page-v .watch-grid { grid-template-columns: 1fr; gap: 24px; }
.page-v .watch-player-frame { aspect-ratio: 16/9; }
.page-v .rcard-grid { grid-template-columns: 1fr; gap: 36px; }
.page-v .rcard-text { padding-right: 0; max-width: 560px; }
.page-v .rcard-stage { max-width: 380px; }
.page-v .about-grid { grid-template-columns: 1fr; gap: 28px; }
.page-v .schedule-list { grid-template-columns: 1fr; }
.page-v .vods-layout { grid-template-columns: 1fr; gap: 24px; }
.page-v .socials-layout { grid-template-columns: 1fr; gap: 18px; }
.page-v .socials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.page-v .emotes-layout { grid-template-columns: 1fr; gap: 20px; }
.page-v .emotes-side { position: static; order: -1; }
.page-v .credits-mast { grid-template-columns: 1fr; }
.page-v .credits-body { grid-template-columns: 1fr; gap: 28px; }
.page-v .credits-mast-r { align-items: flex-start; flex-direction: row; gap: 18px; }

/* Phone-sized stack overrides for vertical */
@media (max-width: 640px) {
  .page-v .hero-art-frame { max-width: 320px; }
  .page-v .hero-title { font-size: clamp(48px, 18vw, 96px) !important; }
  .page-v .hero-stats { grid-template-columns: 1fr 1fr; }
  .page-v .rcard-stage { max-width: 300px; }
  .page-v .socials-grid { grid-template-columns: 1fr; }
  .page-v .emotes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .page-v .emote-frame { width: 64px; height: 64px; }
  .page-v .sch-row {
    grid-template-columns: 56px 60px 1fr;
    grid-template-areas:
      "day tag title"
      "day tag time";
    row-gap: 4px;
  }
  .page-v .sch-row-day  { grid-area: day; }
  .page-v .sch-row-tag  { grid-area: tag; justify-self: start; }
  .page-v .sch-row-title{ grid-area: title; }
  .page-v .sch-row-time { grid-area: time; font-size: 0.78rem; }
  .page-v .sch-row-dur  { display: none; }
  .page-v .vod-row { grid-template-columns: 1fr; }
  .page-v .vod-row-thumb { aspect-ratio: 16/9; }
  .page-v .profile-card-yap { width: 52px; }
  .page-v .credits-mast-logo { width: 90px; }
  .page-v .topnav-meta .mono { display: none; }
}
@media (max-width: 400px) {
  .page-v .emotes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-v .emote-frame { width: 80px; height: 80px; }
  .page-v .hero-stats { grid-template-columns: 1fr; }
}

/* All images respect their container */
img { max-width: 100%; height: auto; }
