/* ==========================================================================
   THE LAST DEBUT — Broadcast Control Room Design System
   SSOT: brand-last-debut.md (Obsidian Glassmorphism × Broadcast Tally)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

@supports not selector(:popover-open) {
  [popover]:not(.\:popover-open) {
    display: none;
  }
}

:root {
  color-scheme: dark;
  --bg-obsidian: #08090c;
  --bg-elevated: #0f1219;
  --surface-glass: rgba(22, 25, 34, 0.78);
  --surface-glass-strong: rgba(22, 25, 34, 0.92);
  --tally-red: #ff3b30;
  --tally-red-glow: rgba(255, 59, 48, 0.35);
  --trust-green: #34c759;
  --caution-amber: #ffd60a;
  --affection-coral: #ff6b81;
  --stage-gold: #f5b942;
  --stage-cyan: #38bdf8;
  --stage-violet: #a855f7;
  --stage-emerald: #10b981;
  --frost-white: #ffffff;
  --frost-border: rgba(255, 255, 255, 0.22);
  --frost-border-strong: rgba(255, 255, 255, 0.42);
  --text-primary: #f5f7fa;
  --text-secondary: #a5b0c2;
  --text-muted: #6c778b;

  --font-display: "Plus Jakarta Sans", "Prompt", "Noto Sans JP", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Prompt", "Plus Jakarta Sans", "Noto Sans JP", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --max-width: 1200px;
  --nav-height: 68px;
}

html[lang="ja"] {
  --font-display: "Noto Sans JP", "Plus Jakarta Sans", sans-serif;
  --font-body: "Noto Sans JP", "Plus Jakarta Sans", sans-serif;
}

html[lang="zh"] {
  --font-display: "Noto Sans SC", "Plus Jakarta Sans", sans-serif;
  --font-body: "Noto Sans SC", "Plus Jakarta Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 59, 48, 0.09), transparent 38%),
    radial-gradient(circle at 85% 20%, rgba(255, 107, 129, 0.08), transparent 42%),
    var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.45s ease;
}

/* Debut Stage Mode (On-Air Stage Lighting Reveal) */
body.stage-mode {
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 59, 48, 0.22), transparent 42%),
    radial-gradient(circle at 82% 24%, rgba(245, 185, 66, 0.14), transparent 44%),
    #070508;
}

body.stage-mode .monitor-frame {
  border-color: rgba(255, 59, 48, 0.72);
  box-shadow: 0 0 36px rgba(255, 59, 48, 0.22), inset 0 0 24px rgba(255, 59, 48, 0.1);
}

body.stage-mode .stage-only {
  display: inline-flex;
}

body.stage-mode .stage-block {
  display: block;
}

body.stage-mode .normal-only {
  display: none;
}

.stage-only,
.stage-block {
  display: none;
}

/* Subtle broadcast scanline overlay in Debut Stage Mode */
body.stage-mode::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 59, 48, 0.03) 0px,
    rgba(255, 59, 48, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* Focus Accessibility */
:focus-visible {
  outline: 2px solid var(--caution-amber);
  outline-offset: 2px;
}

/* Outer Studio Container */
.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* ==========================================================================
   Top Broadcast Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(8, 9, 12, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--frost-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  border-left: 1px solid var(--frost-border);
  padding-left: 0.65rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 0.45rem 0.72rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--frost-white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a[aria-current="page"] {
  border: 1px solid var(--frost-border);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: var(--surface-glass);
  border: 1px solid var(--frost-border);
  border-radius: var(--radius-pill);
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.26rem 0.52rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--frost-white);
}

.lang-btn.active {
  background: var(--frost-white);
  color: var(--bg-obsidian);
}

/* Debut Stage Mode Toggle Button */
.stage-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.36rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 59, 48, 0.14);
  border: 1px solid rgba(255, 59, 48, 0.5);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ff8e88;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.stage-toggle:hover,
body.stage-mode .stage-toggle {
  background: var(--tally-red);
  color: var(--frost-white);
  box-shadow: 0 0 18px var(--tally-red-glow);
}

/* ==========================================================================
   Telemetry Pills & Badges (SSOT Components)
   ========================================================================== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.78rem;
  border-radius: var(--radius-pill);
  background: rgba(8, 9, 12, 0.78);
  border: 1px solid var(--frost-border);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.pill-live {
  border-color: rgba(255, 59, 48, 0.65);
  color: #ffb4b0;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tally-red);
  box-shadow: 0 0 10px var(--tally-red);
  animation: pulseDot 1.4s infinite;
}

.pill-green {
  border-color: rgba(52, 199, 89, 0.55);
  color: #8af0a2;
}

.pill-coral {
  border-color: rgba(255, 107, 129, 0.55);
  color: #ffb3be;
}

.pill-amber {
  border-color: rgba(255, 214, 10, 0.55);
  color: #ffe87a;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* ==========================================================================
   Buttons & Glassmorphic Choice Cards
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--tally-red);
  color: var(--frost-white);
  box-shadow: 0 8px 26px rgba(255, 59, 48, 0.34);
}

.btn-primary:hover {
  background: #ff5147;
  box-shadow: 0 12px 32px rgba(255, 59, 48, 0.48);
}

.btn-glass {
  background: var(--surface-glass);
  border-color: var(--frost-border-strong);
  color: var(--frost-white);
  backdrop-filter: blur(14px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--frost-white);
}

.btn-green {
  background: rgba(52, 199, 89, 0.16);
  border-color: rgba(52, 199, 89, 0.6);
  color: #a6f5b9;
}

.btn-green:hover {
  background: rgba(52, 199, 89, 0.28);
}

/* Official Steam Branded Wishlist Button (TLD Feedback Slide 2 & GTM Click-Trigger Safe) */
.btn-steam {
  background: linear-gradient(135deg, #1b2838 0%, #171a21 100%);
  border: 1px solid rgba(102, 192, 244, 0.45);
  color: var(--frost-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(199, 213, 224, 0.16);
}

.btn-steam:hover {
  background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
  border-color: #66c0f4;
  box-shadow: 0 10px 28px rgba(102, 192, 244, 0.26);
}

.btn-steam > *,
.btn-steam svg {
  pointer-events: none;
}

.steam-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding-left: 0.45rem;
  border-left: 1px solid rgba(199, 213, 224, 0.28);
  font-family: var(--font-display);
  font-size: 0.76em;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #c7d5e0;
  line-height: 1;
}

.steam-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.btn-steam-nav {
  padding: 0.38rem 0.78rem;
  font-size: 0.76rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.btn-steam-nav .steam-icon {
  width: 15px;
  height: 15px;
}

/* Mobile Popover Navigation Button & Panel */
.mobile-menu-btn {
  display: none;
  align-items: center;
  gap: 0.38rem;
  padding: 0.36rem 0.68rem;
  border-radius: var(--radius-pill);
  background: var(--surface-glass);
  border: 1px solid var(--frost-border);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--frost-white);
  anchor-name: --menu-button;
}

.mobile-menu-btn:hover {
  border-color: var(--frost-white);
}

.mobile-nav-popover {
  position: fixed;
  inset: auto;
  inset-block-start: 4.65rem;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: 1rem;
  inline-size: min(84dvw, 20rem);
  max-inline-size: calc(100dvw - 2rem);
  max-block-size: calc(100dvh - 6rem);
  margin: 0.5rem 0 0;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: rgba(11, 13, 19, 0.96);
  border: 1px solid var(--frost-border-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  color: var(--text-primary);
  overflow: auto;
}

.mobile-nav-popover:is(:popover-open, .\:popover-open) {
  display: grid;
  gap: 0.4rem;
}

.mobile-nav-popover::backdrop {
  background: rgba(4, 5, 8, 0.55);
  backdrop-filter: blur(4px);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.mobile-nav-list a:hover,
.mobile-nav-list a[aria-current="page"] {
  color: var(--frost-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--frost-border);
}

/* Official Steam Store Widget Shell */
.steam-widget-shell {
  padding: 1.4rem;
  text-align: center;
}

.steam-widget-frame-wrap {
  width: 100%;
  max-width: 646px;
  margin: 1.15rem auto 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(102, 192, 244, 0.25);
  background: #171a21;
}

.steam-widget-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 190px;
  border: 0;
}

.steam-widget-offline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  text-align: left;
  background: linear-gradient(135deg, #1b2838 0%, #171a21 100%);
}

.btn-sm {
  padding: 0.5rem 0.92rem;
  font-size: 0.82rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ==========================================================================
   Monitor Frame & Glass Cards
   ========================================================================== */
.monitor-frame {
  position: relative;
  border: 1px solid var(--frost-border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.glass-card {
  background: var(--surface-glass);
  border: 1px solid var(--frost-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.glass-card:hover {
  border-color: var(--frost-border-strong);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero-stage {
  position: relative;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  padding: 2.2rem;
  background-size: cover;
  background-position: center 20%;
}

.hero-bg-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 12, 0.92) 0%,
      rgba(8, 9, 12, 0.72) 48%,
      rgba(8, 9, 12, 0.28) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 9, 12, 0.52) 0%,
      transparent 30%,
      transparent 65%,
      rgba(8, 9, 12, 0.72) 100%
    );
  z-index: 1;
}

.hero-stage > *:not(.hero-bg-picture) {
  position: relative;
  z-index: 2;
}

.hero-telemetry {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.hero-copy {
  padding-top: 3.2rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--affection-coral);
  margin: 0 0 0.65rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  color: var(--text-secondary);
  margin: 0 0 1.6rem;
  max-width: 58ch;
}

.hero-side-panel {
  background: rgba(8, 9, 12, 0.76);
  border: 1px solid var(--frost-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  backdrop-filter: blur(14px);
}

.stat-bar-group {
  display: grid;
  gap: 0.75rem;
}

.stat-row {
  display: grid;
  gap: 0.3rem;
}

.stat-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.bar-track {
  height: 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-green { background: var(--trust-green); }
.bar-red { background: var(--tally-red); }
.bar-coral { background: var(--affection-coral); }
.bar-amber { background: var(--caution-amber); }

/* ==========================================================================
   Section Headers & Grids
   ========================================================================== */
.section {
  padding: 3.5rem 0;
  scroll-margin-top: 84px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-secondary);
  margin: 0;
  max-width: 65ch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

/* ==========================================================================
   Interactive 4-Cam Monitor & Mini-Choice Console
   ========================================================================== */
.console-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.25rem;
  padding: 1.25rem;
}

.main-feed {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--frost-border);
  aspect-ratio: 16 / 9;
  background: #050608;
}

.main-feed::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.55) 14px, transparent 14px) 0 0 / 28px 28px no-repeat,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 14px, transparent 14px) 0 0 / 28px 28px no-repeat,
    linear-gradient(to left, rgba(255, 255, 255, 0.55) 14px, transparent 14px) 100% 0 / 28px 28px no-repeat,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 14px, transparent 14px) 100% 0 / 28px 28px no-repeat,
    linear-gradient(to right, rgba(255, 255, 255, 0.55) 14px, transparent 14px) 0 100% / 28px 28px no-repeat,
    linear-gradient(to top, rgba(255, 255, 255, 0.55) 14px, transparent 14px) 0 100% / 28px 28px no-repeat,
    linear-gradient(to left, rgba(255, 255, 255, 0.55) 14px, transparent 14px) 100% 100% / 28px 28px no-repeat,
    linear-gradient(to top, rgba(255, 255, 255, 0.55) 14px, transparent 14px) 100% 100% / 28px 28px no-repeat;
  opacity: 0.38;
}

.main-feed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, filter 0.35s ease;
}

.main-feed img.is-switching {
  opacity: 0.45;
  transform: scale(1.025);
  filter: brightness(1.15);
}

.feed-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.55) 0%, transparent 32%, transparent 58%, rgba(8, 9, 12, 0.9) 100%);
}

.cam-stack {
  display: grid;
  gap: 0.7rem;
}

.cam-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(8, 9, 12, 0.65);
  border: 1px solid var(--frost-border);
  transition: all 0.2s ease;
}

.cam-btn-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.cam-thumb {
  width: 68px;
  height: 38px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #050608;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cam-btn:hover .cam-thumb,
.cam-btn.active .cam-thumb {
  border-color: rgba(255, 59, 48, 0.75);
}

.cam-btn:hover {
  border-color: var(--frost-border-strong);
  background: rgba(255, 255, 255, 0.06);
}

.cam-btn.active {
  border-color: var(--tally-red);
  background: rgba(255, 59, 48, 0.14);
  box-shadow: inset 3px 0 0 var(--tally-red);
}

.cam-btn.cam-secret {
  border-style: dashed;
}

.cam-code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--frost-white);
}

.cam-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Interactive Choice Cards */
.choice-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.choice-card {
  width: 100%;
  text-align: left;
  padding: 0.95rem 1.15rem;
  border-radius: 8px;
  background: rgba(22, 25, 34, 0.86);
  border: 1px solid var(--frost-border-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.choice-card:hover {
  border-color: var(--frost-white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.choice-card.selected {
  border-color: var(--trust-green);
  background: rgba(52, 199, 89, 0.14);
}

.choice-outcome {
  margin-top: 1.15rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(8, 9, 12, 0.85);
  border: 1px solid var(--frost-border);
  border-left: 3px solid var(--caution-amber);
}

/* ==========================================================================
   Character Cards (YAXA 5 Members)
   ========================================================================== */
.char-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-glass);
  border: 1px solid var(--frost-border);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.char-card:hover {
  transform: translateY(-4px);
  border-color: var(--frost-border-strong);
}

.char-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #10131c;
  overflow: hidden;
}

.char-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.char-card:hover .char-media img {
  transform: scale(1.04);
}

.char-height-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.52rem;
  border-radius: var(--radius-pill);
  background: rgba(8, 9, 12, 0.82);
  border: 1px solid var(--frost-border);
}

.char-stage-tag {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.58rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 59, 48, 0.88);
  color: #fff;
  letter-spacing: 0.05em;
}

.char-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.char-name {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.char-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--affection-coral);
  margin: 0;
}

.char-bio {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin: 0.25rem 0 0;
}

.look-toggle-btn {
  margin-top: 0.6rem;
  align-self: flex-start;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--frost-border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-primary);
}

/* ==========================================================================
   Campaign Hub Cards (Routing to the 4 Landing Pages)
   ========================================================================== */
.lp-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  border: 1px solid var(--frost-border);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.lp-card:hover {
  transform: translateY(-4px);
  border-color: var(--frost-white);
  background: rgba(255, 255, 255, 0.06);
}

.lp-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caution-amber);
}

.lp-card h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.15rem;
}

.lp-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.lp-arrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--frost-white);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   OST Equalizer & Media Embeds
   ========================================================================== */
.ost-player {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.16), rgba(22, 25, 34, 0.92));
  border: 1px solid rgba(255, 59, 48, 0.4);
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
}

.eq-bars span {
  width: 4px;
  border-radius: 2px;
  background: var(--tally-red);
  height: 8px;
  transition: height 0.2s ease;
}

.eq-bars.playing span {
  animation: eqBounce 0.47s infinite ease-in-out alternate;
}

.eq-bars.playing span:nth-child(2) { animation-delay: 0.12s; }
.eq-bars.playing span:nth-child(3) { animation-delay: 0.24s; }
.eq-bars.playing span:nth-child(4) { animation-delay: 0.08s; }
.eq-bars.playing span:nth-child(5) { animation-delay: 0.31s; }
.eq-bars.playing span:nth-child(6) { animation-delay: 0.18s; }

@keyframes eqBounce {
  from { height: 6px; }
  to { height: 28px; }
}

/* ==========================================================================
   Data Table (B2B Press Specs)
   ========================================================================== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--frost-border);
}

.spec-table th {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  width: 34%;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Footer & Mobile Sticky CTA
   ========================================================================== */
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 5.5rem;
  border-top: 1px solid var(--frost-border);
  background: rgba(8, 9, 12, 0.9);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--frost-white);
}

/* Official Video Embed & Social Pills */
.video-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--frost-border);
  background: #050608;
}

.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-poster-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 1.5rem;
}

.yt-poster-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(8, 9, 12, 0.35), rgba(8, 9, 12, 0.84));
}

.yt-poster-fallback > * {
  position: relative;
  z-index: 1;
}

.yt-play-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--tally-red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  padding-left: 5px;
  box-shadow: 0 10px 34px rgba(255, 59, 48, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yt-poster-fallback:hover .yt-play-circle {
  transform: scale(1.08);
  box-shadow: 0 14px 42px rgba(255, 59, 48, 0.72);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--surface-glass);
  border: 1px solid var(--frost-border);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.social-pill:hover {
  border-color: var(--frost-white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  padding: 0.75rem 1rem;
  background: rgba(8, 9, 12, 0.94);
  border-top: 1px solid var(--frost-border-strong);
  backdrop-filter: blur(14px);
}

/* ==========================================================================
   Cinematic Scene Gallery / Broadcast Filmstrip (16:9 Official Clip Stills)
   ========================================================================== */
.filmstrip-shell {
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 59, 48, 0.05) 0%, rgba(12, 14, 21, 0.9) 24%, rgba(8, 9, 12, 0.94) 100%);
}

.filmstrip-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.filmstrip-bar-left,
.filmstrip-bar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.filmstrip-hint {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.stills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
}

.stills-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.still-card {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0a0c12;
  border: 1px solid var(--frost-border);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.28s ease;
}

.still-card:hover,
.still-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 59, 48, 0.72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.56), 0 0 24px rgba(255, 59, 48, 0.18);
}

.still-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050608;
}

.still-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.still-card:hover .still-frame img,
.still-card:focus-visible .still-frame img {
  transform: scale(1.06);
  filter: contrast(1.04) brightness(1.04);
}

.still-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.42) 0%, transparent 32%, transparent 62%, rgba(8, 9, 12, 0.72) 100%);
  pointer-events: none;
}

.still-tc {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.52rem;
  border-radius: 5px;
  background: rgba(8, 9, 12, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--frost-white);
  backdrop-filter: blur(8px);
}

.still-tc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tally-red);
  box-shadow: 0 0 8px var(--tally-red);
}

.still-expand {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  background: rgba(255, 59, 48, 0.88);
  color: var(--frost-white);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.still-card:hover .still-expand,
.still-card:focus-visible .still-expand {
  opacity: 1;
  transform: translateY(0);
}

.still-meta {
  padding: 0.82rem 0.95rem 0.95rem;
  background: linear-gradient(180deg, rgba(16, 19, 28, 0.96), rgba(10, 12, 18, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  flex: 1;
}

.still-tag {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caution-amber);
}

.still-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--frost-white);
  line-height: 1.3;
}

.still-caption {
  font-size: 0.79rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   Vertical 9:16 TikTok Backstage Reels Strip (@the.last.debut.official)
   ========================================================================== */
.reels-shell {
  padding: 1.25rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 107, 129, 0.12), transparent 42%),
    rgba(13, 16, 24, 0.88);
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.95rem;
}

.reels-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reels-grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.reel-card {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--frost-border);
  background: #080a0f;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.3s ease;
}

.reel-card:hover,
.reel-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 129, 0.78);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.62), 0 0 26px rgba(255, 107, 129, 0.22);
}

.reel-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reel-card:hover img,
.reel-card:focus-visible img {
  transform: scale(1.06);
}

.reel-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
    180deg,
    rgba(8, 9, 12, 0.56) 0%,
    transparent 26%,
    transparent 52%,
    rgba(8, 9, 12, 0.94) 100%
  );
}

.reel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.reel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.48rem;
  border-radius: var(--radius-pill);
  background: rgba(8, 9, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--frost-white);
  backdrop-filter: blur(8px);
}

.reel-play-chip {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 129, 0.22);
  border: 1px solid rgba(255, 107, 129, 0.65);
  color: var(--frost-white);
  font-size: 0.72rem;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.reel-card:hover .reel-play-chip,
.reel-card:focus-visible .reel-play-chip {
  background: var(--affection-coral);
  transform: scale(1.08);
}

.reel-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.reel-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--affection-coral);
}

.reel-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--frost-white);
}

.reel-caption {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.38;
}

/* ==========================================================================
   Native <dialog> Cinema Lightbox Viewer
   ========================================================================== */
dialog.cinema-lightbox {
  margin: auto;
  padding: 0;
  border: 1px solid var(--frost-border-strong);
  border-radius: var(--radius-lg);
  background: rgba(11, 13, 19, 0.97);
  color: var(--text-primary);
  width: min(94vw, 1080px);
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.86), 0 0 42px rgba(255, 59, 48, 0.16);
}

dialog.cinema-lightbox.is-vertical {
  width: min(92vw, 470px);
}

dialog.cinema-lightbox::backdrop {
  background: rgba(4, 5, 8, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

dialog.cinema-lightbox[open] {
  display: flex;
  flex-direction: column;
  animation: lightboxIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.lightbox-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 9, 12, 0.9);
}

.lightbox-bar-meta,
.lightbox-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}

.lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--frost-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--frost-white);
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover {
  background: var(--tally-red);
  border-color: var(--tally-red);
}

.lightbox-stage {
  position: relative;
  background: #040507;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  overflow: hidden;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

dialog.cinema-lightbox.is-vertical .lightbox-stage img {
  max-height: 64vh;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--frost-border-strong);
  background: rgba(8, 9, 12, 0.78);
  color: var(--frost-white);
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
  background: var(--tally-red);
  border-color: var(--tally-red);
}

.lightbox-nav.prev { left: 0.75rem; }
.lightbox-nav.next { right: 0.75rem; }

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-footer {
  padding: 0.9rem 1.15rem;
  background: rgba(14, 17, 25, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.lightbox-copy {
  min-width: 0;
  flex: 1;
}

.lightbox-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--frost-white);
}

.lightbox-caption {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.lightbox-kbd {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-4,
  .stills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reels-grid,
  .reels-grid--4,
  .reels-grid--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-stage,
  .console-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1140px) {
  .brand-sub {
    display: none;
  }
  .nav-inner {
    gap: 0.6rem;
  }
  .nav-links a {
    padding: 0.4rem 0.52rem;
    font-size: 0.78rem;
  }
  .btn-steam-nav {
    padding: 0.34rem 0.65rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 960px) {
  .nav-inner {
    gap: 0.5rem;
  }
  .nav-controls {
    gap: 0.4rem;
  }
  .nav-links,
  .brand-sub,
  .btn-steam-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .mobile-sticky-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .stills-grid,
  .stills-grid--4 {
    grid-template-columns: 1fr;
  }
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reels-grid,
  .reels-grid--4,
  .reels-grid--6 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    padding-bottom: 0.45rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  }
  .reel-card {
    flex: 0 0 68vw;
    max-width: 240px;
    scroll-snap-align: start;
  }
  .hero-stage {
    padding: 1.35rem;
    min-height: 460px;
  }
  .cam-thumb {
    width: 54px;
    height: 30px;
  }
  .lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }
  .lightbox-kbd {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header .container {
    width: calc(100% - 1.25rem);
  }
  .brand-lockup {
    font-size: 0.82rem;
    gap: 0.42rem;
    letter-spacing: 0.04em;
  }
  .lang-btn {
    padding: 0.22rem 0.38rem;
    font-size: 0.68rem;
  }
  .mobile-menu-btn {
    padding: 0.3rem 0.52rem;
    font-size: 0.7rem;
    gap: 0.25rem;
  }
  .mobile-sticky-cta {
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
  }
  .mobile-sticky-cta .pill {
    font-size: 0.66rem;
    padding: 0.24rem 0.55rem;
  }
  .mobile-sticky-cta .btn-steam {
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 0.44rem 0.7rem;
    gap: 0.42rem;
  }
  .mobile-sticky-cta .steam-icon {
    width: 14px;
    height: 14px;
  }
  .stage-toggle {
    display: none;
  }
  .steam-widget-frame-wrap iframe {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
