/*
 * Switchyard Arcade — Sublevel Dark Grid Design System
 * Inspired by aestro.page: pure black 48px engineering grid, dark modular surfaces,
 * electric signal orange (#f59e0b) accents, floating glass sticky header with live
 * status & scroll progress, pointer-follow spotlight cards, and terminal footer.
 */

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #080808;
  --surface-raised: #0f0f10;
  --surface-soft: #151517;
  --ink: #e6e6e6;
  --ink-soft: #a6a6ab;
  --ink-muted: #7a7a82;
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --accent-ring: rgba(245, 158, 11, 0.42);
  --line: rgba(230, 230, 230, 0.1);
  --line-strong: rgba(230, 230, 230, 0.22);
  --shadow-panel: 0 20px 44px rgba(0, 0, 0, 0.65);
  --shadow-card: 0 12px 26px rgba(0, 0, 0, 0.48);
  --panel-radius: 14px;
  --card-radius: 14px;
  --control-radius: 10px;
  --header-height: 68px;
  --container-max: 1340px;
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: #000000;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(68rem 32rem at 50% -10%, rgba(245, 158, 11, 0.11), transparent 70%),
    linear-gradient(rgba(230, 230, 230, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 230, 230, 0.036) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  overflow-x: clip;
}

/* Custom dark scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: #36363c #050505;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: #2f2f35;
  border-radius: 999px;
  border: 2px solid #050505;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Dedicated Switchyard animated rail-signal background */
.switchyard-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.switchyard-bg canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.92;
}

.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--control-radius);
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ===========================
   Floating Glass Sticky Header
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 10px 16px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 75%, transparent 100%);
}

.header-inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  min-height: 58px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
  border-radius: 9px;
  padding: 2px 4px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.16));
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), filter 240ms ease;
}

.brand-casing {
  fill: #131318;
  stroke: rgba(245, 158, 11, 0.48);
  stroke-width: 1.6;
  transition: stroke 240ms ease, fill 240ms ease;
}

.brand-well {
  fill: #07080b;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.brand-rail-base,
.brand-rail-gold,
.brand-rail-cyan,
.brand-blade {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-rail-base {
  stroke: #d4d4dc;
  stroke-width: 2.6;
}

.brand-rail-gold {
  stroke: #f59e0b;
  stroke-width: 2.4;
  opacity: 0.95;
  transition: opacity 240ms ease, stroke-width 240ms ease;
}

.brand-rail-cyan {
  stroke: #38bdf8;
  stroke-width: 2.2;
  opacity: 0.38;
  transition: opacity 240ms ease, stroke-width 240ms ease;
}

.brand-blade {
  stroke: #ffffff;
  stroke-width: 2.8;
  transform-origin: 19px 24px;
  transition: transform 320ms cubic-bezier(0.34, 1.45, 0.64, 1), stroke 220ms ease;
}

.brand-hub {
  fill: #18181f;
  stroke: #f59e0b;
  stroke-width: 1.8;
  transition: stroke 240ms ease;
}

.brand-hub-core {
  fill: #ffffff;
}

.brand-lamp {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 240ms ease, transform 240ms ease, filter 240ms ease;
}

.brand-lamp-gold {
  fill: #fbbf24;
  opacity: 1;
  animation: brand-lamp-breathe 3.2s ease-in-out infinite;
}

.brand-lamp-cyan {
  fill: #38bdf8;
  opacity: 0.35;
}

.brand-link:hover .brand-mark,
.brand-link:focus-visible .brand-mark {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.38));
}

.brand-link:hover .brand-casing,
.brand-link:focus-visible .brand-casing {
  stroke: #38bdf8;
  fill: #161820;
}

.brand-link:hover .brand-blade,
.brand-link:focus-visible .brand-blade {
  transform: rotate(83.2deg);
  stroke: #e0f2fe;
}

.brand-link:hover .brand-rail-gold,
.brand-link:focus-visible .brand-rail-gold {
  opacity: 0.35;
}

.brand-link:hover .brand-rail-cyan,
.brand-link:focus-visible .brand-rail-cyan {
  opacity: 1;
  stroke-width: 2.7;
}

.brand-link:hover .brand-hub,
.brand-link:focus-visible .brand-hub {
  stroke: #38bdf8;
}

.brand-link:hover .brand-lamp-gold,
.brand-link:focus-visible .brand-lamp-gold {
  animation: none;
  opacity: 0.32;
  transform: scale(0.88);
}

.brand-link:hover .brand-lamp-cyan,
.brand-link:focus-visible .brand-lamp-cyan {
  opacity: 1;
  transform: scale(1.18);
  filter: drop-shadow(0 0 5px #38bdf8);
}

@keyframes brand-lamp-breathe {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 180ms ease;
}

.brand-link:hover .brand-name {
  color: #fde68a;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #b8b8bf;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.nav-link[aria-current='page'] {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.48);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.18);
}

.nav-link[aria-current='page']::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.fav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 19px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.track-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(245, 158, 11, 0.34);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(56, 189, 248, 0.08) 100%);
  color: #fbbf24;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 120ms ease;
}

.track-switch-btn:hover {
  border-color: var(--accent);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(56, 189, 248, 0.16) 100%);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.24);
}

.track-switch-btn:active {
  transform: translateY(1px);
}

.track-switch-icon {
  flex-shrink: 0;
  transition: transform 180ms ease;
}

.track-switch-btn:hover .track-switch-icon {
  transform: translateX(1px);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #050506;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 3px 4px 3px 10px;
  width: 174px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.header-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.header-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  outline: none;
}

.header-search input::placeholder {
  color: #777780;
}

.header-search button {
  border: 0;
  background: #1b1b1f;
  color: #e6e6e6;
  border-radius: 6px;
  padding: 5px 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.header-search button:hover {
  background: var(--accent);
  color: #000000;
}

.scroll-progress-bar {
  max-width: var(--container-max);
  margin: 6px auto 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  overflow: hidden;
}

.scroll-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #f59e0b 0%, #38bdf8 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.75);
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: #141417;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu-toggle:hover {
  border-color: var(--accent);
}

.mobile-drawer {
  max-width: var(--container-max);
  margin: 0 auto;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  border-radius: 12px;
  background: rgba(12, 12, 14, 0.96);
  border: 1px solid transparent;
  transition: max-height 240ms ease, opacity 200ms ease, visibility 200ms ease, margin-top 200ms ease;
}

.mobile-drawer.is-open {
  margin-top: 8px;
  max-height: min(80vh, 560px);
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  border-color: var(--line-strong);
}

.mobile-drawer-inner {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-list {
  display: grid;
  gap: 6px;
}

.mobile-nav-list .nav-link {
  min-height: 44px;
  padding: 10px 14px;
  background: #141417;
  border: 1px solid var(--line);
  border-radius: 9px;
  justify-content: flex-start;
}

.mobile-nav-list .nav-link .fav-pill {
  margin-left: auto;
}

.mobile-search {
  width: 100%;
  margin-top: 4px;
}

.mobile-search input {
  min-height: 38px;
}

.mobile-search button {
  min-height: 36px;
  padding: 6px 12px;
}

/* ===========================
   Main Layout & Dark Modular Panels
   =========================== */
.site-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 26px 24px 56px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.deck-panel {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  min-width: 0;
  max-width: 100%;
}

.deck-panel + .deck-panel,
.dual-zones {
  padding-top: 28px;
  border-top: 1px solid rgba(230, 230, 230, 0.08);
}

.deck-panel--tight {
  padding: 0;
}

.hero-deck > *,
.dual-zones > *,
.detail-grid > *,
.prose-layout > *,
.guide-grid > *,
.rules-grid > *,
.pace-grid > *,
.steps-list > *,
.notes-grid > *,
.zone-box,
.arcade-bezel {
  min-width: 0;
  max-width: 100%;
}

/* Pointer-follow spotlight for Sublevel dark surfaces */
[data-spotlight] {
  position: relative;
  overflow: hidden;
}

[data-spotlight]::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--lit, 0);
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(245, 158, 11, 0.14), transparent 65%);
  transition: opacity 220ms ease;
  z-index: 0;
}

[data-spotlight] > * {
  position: relative;
  z-index: 1;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: #fbbf24;
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.breadcrumb a:hover {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.42);
}

.breadcrumb-sep {
  color: #55555e;
}

/* ===========================
   Homepage Hero Console
   =========================== */
.hero-deck {
  display: grid;
  grid-template-columns: minmax(290px, 390px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.34);
  color: #fbbf24;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-title .accent-dot {
  color: var(--accent);
}

.hero-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink-soft);
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 7px;
  background: #121215;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #d0d0d6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  background: #0c0c0e;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
}

.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.hero-stats dd {
  margin: 3px 0 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Embedded Arcade Screen Bezel */
.arcade-bezel {
  background: #050506;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 14px;
  padding: 14px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 0 36px rgba(245, 158, 11, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bezel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #a8a8b2;
}

.bezel-leds {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.led-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.led-dot--idle {
  background: #34343c;
  box-shadow: none;
}

.stage-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 250px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #06090c;
}

.stage-viewport--detail {
  min-height: 360px;
  max-height: 68vh;
}

.stage-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.86) 100%);
}

.stage-overlay[hidden] {
  display: none;
}

.stage-overlay-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.stage-overlay-meta {
  margin: 0;
  max-width: 460px;
  font-size: 14px;
  color: #d4d4dc;
}

.stage-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06090c;
}

.stage-mount[hidden] {
  display: none;
}

.stage-mount iframe,
.stage-mount canvas {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.bezel-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  background: #0d0d0f;
  border: 1px solid var(--line);
}

.bezel-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* ===========================
   Buttons & Tactile Filter Rail
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: var(--control-radius);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 110ms ease, background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.28);
}

.btn--primary:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #000000;
}

.btn--dark {
  background: #17171b;
  border-color: var(--line-strong);
  color: #e6e6e6;
}

.btn--dark:hover:not(:disabled) {
  background: #232329;
  border-color: var(--accent);
  color: #ffffff;
}

.btn--secondary {
  background: #141417;
  border-color: var(--line-strong);
  color: #e6e6e6;
}

.btn--secondary:hover:not(:disabled) {
  border-color: var(--accent);
  background: #1d1d22;
  color: #ffffff;
}

.btn--sm {
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: 7px;
}

.filter-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.filter-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #111114;
  color: #d6d6dc;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 110ms ease, background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.filter-switch:hover {
  border-color: var(--accent);
  color: #ffffff;
}

.filter-switch[aria-pressed='true'],
.filter-switch.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.3);
}

/* ===========================
   Dual Zones & Rounded Game Cards
   =========================== */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 6px 0 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.dual-zones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.zone-box {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: none;
}

.zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 12px;
  background: transparent;
  color: #ffffff;
  border-bottom: 1px solid var(--line);
}

.zone-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.zone-slash {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 900;
}

.zone-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.34);
  color: #fbbf24;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.zone-more:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
  transform: translateX(2px);
}

.zone-cards {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Rounded Game Card with grayscale-to-color hover & spotlight */
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.72);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65), 0 0 24px rgba(245, 158, 11, 0.14);
}

.game-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px;
  border-radius: calc(var(--card-radius) - 1px);
  text-decoration: none;
  color: inherit;
}

.game-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--card-radius) - 5px);
  overflow: hidden;
  background: #06080b;
  border: 1px solid var(--line);
  margin-bottom: 11px;
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 260ms ease, filter 240ms ease;
}

.game-card:hover .game-card-media img {
  transform: scale(1.035);
  filter: saturate(1.12) contrast(1.05);
}

.game-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 0 2px 2px;
}

.game-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding-right: 34px;
}

.game-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.game-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #b4b4bc;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  background: #17171b;
  border: 1px solid var(--line);
}

.meta-tag--orig {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.42);
  color: #fcd34d;
}

.meta-tag--oss {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.34);
  color: #7dd3fc;
}

.game-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
  color: var(--ink-soft);
  flex: 1;
}

.game-card-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #fbbf24;
}

.card-fav-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 8, 10, 0.84);
  color: #e6e6e6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.card-fav-btn:hover {
  border-color: var(--accent);
  color: #ffffff;
}

.card-fav-btn[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
}

/* ===========================
   Rules, Pace, Steps, Notes & Guides
   =========================== */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rule-card,
.guide-tile,
.step-card,
.note-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 160ms ease;
}

.rule-card:hover,
.step-card:hover,
.note-card:hover,
.guide-tile:hover {
  border-color: rgba(245, 158, 11, 0.45);
}

.rule-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.36);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

.rule-card h3,
.guide-tile h3,
.step-card h3,
.note-card h3 {
  margin: 2px 0 0;
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
}

.rule-card p,
.guide-tile p,
.step-card p,
.note-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.pace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pace-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.pace-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
}

.pace-card h3 {
  margin: 9px 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.pace-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.pace-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #17171b;
  border: 1px solid var(--line-strong);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
}

.pace-card:hover .pace-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.notes-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.note-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fbbf24;
}

.note-card p {
  flex: 1;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.faq-item {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(245, 158, 11, 0.36);
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  transition: background-color 140ms ease, color 140ms ease, transform 160ms ease;
}

.faq-item[open] summary::after {
  content: '−';
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
}

.faq-answer {
  padding: 0 18px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.faq-answer p {
  margin: 0;
}

.text-link {
  display: inline;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.24);
  color: #fbbf24;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.text-link:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.65);
  color: #ffffff;
}

/* ===========================
   Catalog Controls & Custom Select
   =========================== */
.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #b4b4bc;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sy-input,
.sy-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--control-radius);
  border: 1px solid var(--line-strong);
  background: #060608;
  color: #ffffff;
  font-size: 14.5px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.sy-input::placeholder,
.sy-textarea::placeholder {
  color: #6d6d76;
}

.sy-input:focus,
.sy-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
  outline: none;
}

.sy-select {
  position: relative;
}

.sy-select-trigger {
  width: 100%;
  min-height: 43px;
  padding: 9px 36px 9px 12px;
  border-radius: var(--control-radius);
  border: 1px solid var(--line-strong);
  background: #0c0c0f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.sy-select-trigger::after {
  content: '▾';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9e9ea8;
}

.sy-select-trigger:hover {
  border-color: var(--accent);
}

.sy-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #111115;
  color: #f3f4f6;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.72);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sy-select-menu[hidden] {
  display: none;
}

.sy-select-option {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d6d6dc;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.sy-select-option:hover,
.sy-select-option:focus-visible {
  background: #202026;
  color: #ffffff;
}

.sy-select-option[aria-selected='true'] {
  background: var(--accent);
  color: #000000;
}

.results-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ===========================
   Game Detail & Legal Pages
   =========================== */
.detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-header h1 {
  margin: 4px 0 8px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
}

.detail-summary {
  margin: 0;
  max-width: 72ch;
  font-size: 15px;
  color: var(--ink-soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr);
  gap: 20px;
  align-items: start;
}

.detail-article,
.detail-aside,
.prose-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-section {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}

.detail-section h2 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.detail-section h3 {
  margin: 14px 0 6px;
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
}

.detail-section p,
.detail-section ul,
.detail-section ol {
  color: #c6c6ce;
}

.detail-section p {
  margin: 0 0 10px;
}

.detail-section p:last-child,
.detail-section ul:last-child,
.detail-section ol:last-child {
  margin-bottom: 0;
}

.detail-section ul,
.detail-section ol {
  margin: 0 0 10px;
  padding-left: 20px;
}

.detail-section li {
  margin-bottom: 6px;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.control-box {
  background: #08080a;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}

.facts-list {
  margin: 0;
  display: grid;
  gap: 10px;
}

.facts-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}

.facts-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.facts-list dt {
  font-weight: 700;
  color: var(--ink-soft);
}

.facts-list dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.device-notice {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: #fde68a;
  font-size: 13.5px;
  font-weight: 600;
}

.prose-layout {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.toc-box {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 16px;
}

.toc-box h2 {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fbbf24;
}

.toc-box ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
}

.toc-box a {
  display: block;
  padding: 4px 8px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: #c8c8d0;
  font-weight: 600;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, padding-left 140ms ease;
}

.toc-box a:hover {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.12);
  border-left-color: var(--accent);
  padding-left: 11px;
}

.contact-email-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.44);
  color: #fcd34d;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  user-select: all;
}

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.contact-status {
  min-height: 24px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #86efac;
  font-size: 14px;
  font-weight: 600;
}

.contact-status:empty {
  display: none;
}

.empty-state {
  padding: 36px 20px;
  text-align: center;
  background: var(--surface-raised);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ===========================
   Terminal-Style Shared Footer
   =========================== */
.site-footer {
  margin-top: auto;
  background: #060607;
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
}

.footer-command {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9e9ea8;
}

.footer-command-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.footer-command strong {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 32px 20px 24px;
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 24px;
}

.footer-col h2 {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fbbf24;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  margin-left: -7px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  color: #b8b8c2;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.footer-col a:hover {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.12);
  border-left-color: var(--accent);
  transform: translateX(2px);
}

.footer-wordmark {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 6px 20px 10px;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(230, 230, 230, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  user-select: none;
}

.footer-wordmark span {
  color: rgba(245, 158, 11, 0.24);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 20px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #8c8c96;
}

/* ===========================
   Coordinated Reveal Motion
   =========================== */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 320ms ease, transform 320ms ease;
}

.js-ready [data-reveal].is-waiting {
  opacity: 0;
  transform: translateY(10px);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js-ready [data-reveal].is-waiting {
    opacity: 1;
    transform: none;
  }
}

/* ===========================
   Responsive Breakpoints
   =========================== */
@media (max-width: 1240px) {
  .track-switch-btn {
    display: none;
  }
  .header-inner {
    gap: 10px;
  }
  .nav-link {
    padding: 7px 9px;
  }
  .header-search--desktop {
    width: 154px;
  }
}

@media (max-width: 1080px) {
  .hero-deck,
  .dual-zones,
  .detail-grid,
  .prose-layout {
    grid-template-columns: 1fr;
  }
  .rules-grid,
  .pace-grid,
  .steps-list,
  .notes-grid,
  .guide-grid,
  .catalog-toolbar,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toc-box {
    position: static;
  }
}

@media (max-width: 1060px) {
  .desktop-nav,
  .header-search--desktop,
  .track-switch-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 8px 12px 0;
  }
  .header-inner {
    padding: 8px 12px;
  }
  .site-main {
    padding: 16px 14px 40px;
    gap: 24px;
  }
  .deck-panel {
    padding: 0;
  }
  .deck-panel + .deck-panel,
  .dual-zones {
    padding-top: 20px;
  }
  .arcade-bezel {
    padding: 10px;
  }
  .card-fav-btn {
    width: 40px;
    height: 40px;
    top: 16px;
    right: 16px;
  }
  .filter-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .zone-cards,
  .guide-grid,
  .rules-grid,
  .pace-grid,
  .steps-list,
  .notes-grid,
  .faq-list,
  .controls-grid,
  .catalog-toolbar,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .stage-viewport--detail {
    min-height: 230px;
  }
  .footer-wordmark {
    display: none;
  }
}
