/* ============================================
   SLAM MEDIA! - Tournament Broadcast Arcade
   Single Source of Truth CSS
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* Colors - Base */
  --color-bg: #0a0a12;
  --color-bg-elevated: #0d0d16;
  --color-surface: #12121f;
  --color-surface-elevated: #1a1a2e;
  --color-border: #2a2a3e;
  --color-border-dim: #1e1e2e;

  /* Colors - Text */
  --color-text: #e0e0e8;
  --color-text-dim: #8888a0;
  --color-text-muted: #555566;

  /* Colors - Neon Accents */
  --color-neon-cyan: #00f0ff;
  --color-neon-cyan-dim: #00a8b3;
  --color-neon-magenta: #ff00ff;
  --color-neon-magenta-dim: #b300b3;
  --color-neon-lime: #adff2f;
  --color-neon-lime-dim: #7ab321;

  /* Theme Colors (overridden per fighter) */
  --theme-primary: var(--color-neon-cyan);
  --theme-primary-dim: var(--color-neon-cyan-dim);
  --theme-secondary: var(--color-neon-magenta);
  --theme-secondary-dim: var(--color-neon-magenta-dim);
  --theme-accent: var(--color-neon-lime);

  /* Glass Effect */
  --glass-bg: rgba(18, 18, 31, 0.85);
  --glass-bg-solid: rgba(18, 18, 31, 0.95);
  --glass-border: rgba(0, 240, 255, 0.2);
  --glass-blur: 12px;

  /* Clipped Corners */
  --clip-sm: 8px;
  --clip-md: 12px;
  --clip-lg: 16px;
  --clip-xl: 24px;

  /* Timing */
  --timing-micro: 100ms;
  --timing-screen: 280ms;
  --timing-big: 700ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Typography */
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Exo 2', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Glow Effects */
  --glow-text:
    0 0 4px var(--theme-primary),
    0 0 8px var(--theme-primary),
    0 0 16px rgba(0, 240, 255, 0.5);
  --glow-border:
    0 0 4px var(--theme-primary),
    0 0 8px rgba(0, 240, 255, 0.4),
    inset 0 0 4px rgba(0, 240, 255, 0.2);

  /* Scanline */
  --scanline-opacity: 0.04;
  --noise-opacity: 0.03;

  /* Z-index Scale */
  --z-base: 0;
  --z-content: 10;
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
}

/* ============================================
   FIGHTER THEMES
   ============================================ */
.theme-kaleide {
  --theme-primary: #00f0ff;
  --theme-primary-dim: #00a8b3;
  --theme-secondary: #a855f7;
  --theme-secondary-dim: #7c3aed;
  --glow-text:
    0 0 4px #00f0ff,
    0 0 8px #00f0ff,
    0 0 16px rgba(0, 240, 255, 0.5);
}

.theme-cult45 {
  --theme-primary: #ff6b35;
  --theme-primary-dim: #e55a2b;
  --theme-secondary: #e8d44d;
  --theme-secondary-dim: #c9b840;
  --glow-text:
    0 0 4px #ff6b35,
    0 0 8px #ff6b35,
    0 0 16px rgba(255, 107, 53, 0.5);
}

.theme-merch {
  --theme-primary: #ffffff;
  --theme-primary-dim: #cccccc;
  --theme-secondary: #d4af37;
  --theme-secondary-dim: #b8982f;
  --glow-text:
    0 0 4px #ffffff,
    0 0 8px rgba(255, 255, 255, 0.6),
    0 0 16px rgba(212, 175, 55, 0.4);
}

.theme-dopplegang {
  --theme-primary: #00f0ff;
  --theme-primary-dim: #00a8b3;
  --theme-secondary: #ff6b35;
  --theme-secondary-dim: #e55a2b;
  --glow-text:
    0 0 4px #00f0ff,
    0 0 8px #ff6b35,
    0 0 16px rgba(0, 240, 255, 0.3),
    0 0 20px rgba(255, 107, 53, 0.3);
}

/* ============================================
   CSS RESET
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.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;
}

.hidden {
  display: none !important;
}

.neon-glow {
  text-shadow: var(--glow-text);
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
  color: var(--theme-primary);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--theme-primary);
  z-index: var(--z-toast);
  transition: top var(--timing-micro) var(--ease-out);
}

.skip-link:focus {
  top: var(--space-md);
}

/* ============================================
   ANIMATIONS / KEYFRAMES
   ============================================ */
@keyframes glow-pulse {
  0%, 100% {
    filter: brightness(1);
    text-shadow: var(--glow-text);
  }
  50% {
    filter: brightness(1.15);
    text-shadow:
      0 0 8px var(--theme-primary),
      0 0 16px var(--theme-primary),
      0 0 32px rgba(0, 240, 255, 0.6);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.9;
  }
}

@keyframes border-glow {
  0%, 100% {
    box-shadow: var(--glow-border);
  }
  50% {
    box-shadow:
      0 0 8px var(--theme-primary),
      0 0 16px rgba(0, 240, 255, 0.5),
      inset 0 0 8px rgba(0, 240, 255, 0.3);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scanline-scroll {
  0% { background-position: 0 0; }
  100% { background-position: 0 100vh; }
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  3% { opacity: 0.85; }
  6% { opacity: 1; }
  8% { opacity: 0.9; }
  10% { opacity: 1; }
}

@keyframes progress-fill {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes unlock-burst {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes text-type {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   SCANLINES OVERLAY
   ============================================ */
.scanlines {
  position: relative;
}

.scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, var(--scanline-opacity)) 2px,
    rgba(0, 0, 0, var(--scanline-opacity)) 4px
  );
  z-index: 1;
  animation: scanline-scroll 10s linear infinite;
}

/* ============================================
   REDUCE MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

[data-reduce-motion="true"] *,
[data-reduce-motion="true"] *::before,
[data-reduce-motion="true"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

/* ============================================
   APP CONTAINER
   ============================================ */
.app {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* ============================================
   SCREEN BASE
   ============================================ */
.screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--timing-screen) var(--ease-out),
    visibility var(--timing-screen);
  z-index: var(--z-base);
}

.screen.active {
  opacity: 1;
  visibility: visible;
  z-index: var(--z-content);
}

.screen__bg,
.screen > [class$="__bg"] {
  position: absolute;
  inset: 0;
  background: var(--color-bg);
  z-index: -1;
}

/* ============================================
   PANEL (Glass Card)
   ============================================ */
.panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: var(--space-lg);
  position: relative;
  clip-path: polygon(
    var(--clip-md) 0,
    calc(100% - var(--clip-md)) 0,
    100% var(--clip-md),
    100% calc(100% - var(--clip-md)),
    calc(100% - var(--clip-md)) 100%,
    var(--clip-md) 100%,
    0 calc(100% - var(--clip-md)),
    0 var(--clip-md)
  );
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--theme-primary);
  opacity: 0.3;
  clip-path: inherit;
  pointer-events: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-arcade {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-md) var(--space-xl);
  border: 2px solid var(--theme-primary);
  background: transparent;
  color: var(--theme-primary);
  position: relative;
  overflow: hidden;
  transition:
    background var(--timing-micro) var(--ease-out),
    color var(--timing-micro) var(--ease-out),
    box-shadow var(--timing-micro) var(--ease-out),
    transform var(--timing-micro) var(--ease-out);
  clip-path: polygon(
    var(--clip-sm) 0,
    calc(100% - var(--clip-sm)) 0,
    100% var(--clip-sm),
    100% calc(100% - var(--clip-sm)),
    calc(100% - var(--clip-sm)) 100%,
    var(--clip-sm) 100%,
    0 calc(100% - var(--clip-sm)),
    0 var(--clip-sm)
  );
}

.btn-arcade:hover,
.btn-arcade:focus-visible {
  background: var(--theme-primary);
  color: var(--color-bg);
  box-shadow: var(--glow-border);
}

.btn-arcade:active {
  transform: scale(0.98);
}

.btn-arcade:focus-visible {
  outline: 2px solid var(--theme-secondary);
  outline-offset: 4px;
}

.btn-arcade--primary {
  background: var(--theme-primary);
  color: var(--color-bg);
  box-shadow: var(--glow-border);
}

.btn-arcade--primary:hover,
.btn-arcade--primary:focus-visible {
  background: var(--color-bg);
  color: var(--theme-primary);
}

.btn-arcade--ghost {
  border-color: var(--color-border);
  color: var(--color-text-dim);
}

.btn-arcade--ghost:hover,
.btn-arcade--ghost:focus-visible {
  border-color: var(--theme-primary);
  color: var(--theme-primary);
  background: transparent;
}

.btn-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-text-dim);
  transition:
    border-color var(--timing-micro),
    color var(--timing-micro),
    background var(--timing-micro);
}

.btn-icon:hover,
.btn-icon:focus-visible {
  border-color: var(--theme-primary);
  color: var(--theme-primary);
  background: rgba(0, 240, 255, 0.1);
}

.btn-icon:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}

/* ============================================
   TOGGLE SWITCH
   ============================================ */
.toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition:
    background var(--timing-micro),
    border-color var(--timing-micro);
}

.toggle-switch__thumb {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--color-text-dim);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition:
    transform var(--timing-micro) var(--ease-out),
    background var(--timing-micro);
}

.toggle-switch[aria-checked="true"] {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
}

.toggle-switch[aria-checked="true"] .toggle-switch__thumb {
  transform: translateX(24px);
  background: var(--color-bg);
}

.toggle-switch:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}

/* ============================================
   SETTINGS PANEL
   ============================================ */
.settings-panel {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-panel[hidden] {
  display: none;
}

.settings-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.settings-panel__content {
  position: relative;
  width: 90%;
  max-width: 400px;
  animation: scale-in var(--timing-screen) var(--ease-bounce);
}

.settings-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.settings-panel__header h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--theme-primary);
  letter-spacing: 0.1em;
}

.settings-panel__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
}

.setting-row label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.settings-panel__footer {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.settings-panel__hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.btn-settings {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
}

/* ============================================
   SCREEN: ATTRACT
   ============================================ */
.screen--attract {
  background:
    radial-gradient(ellipse at center, var(--color-surface) 0%, var(--color-bg) 70%);
}

.attract__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
  position: relative;
  z-index: 2;
}

.attract__banner {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--theme-primary);
  letter-spacing: 0.2em;
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--theme-primary);
  margin-bottom: var(--space-xl);
  animation: flicker 4s step-end infinite;
}

.attract__logo {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: 900;
  color: var(--theme-primary);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  animation: glow-pulse 3s ease-in-out infinite;
}

.attract__tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text-dim);
  letter-spacing: 0.3em;
  margin-bottom: var(--space-2xl);
}

.attract__credits {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
}

.attract__credits span {
  color: var(--theme-primary);
  font-weight: 600;
}

.attract__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.attract__idle-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.attract__idle-overlay[hidden] {
  display: none;
}

.idle-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  color: var(--theme-primary);
  text-shadow: var(--glow-text);
}

/* ============================================
   SCREEN: BOOT
   ============================================ */
.screen--boot {
  background: var(--color-bg);
}

.boot__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  position: relative;
  z-index: 2;
}

.boot__logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 900;
  color: var(--theme-primary);
  margin-bottom: var(--space-2xl);
}

.boot__sequence {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-text-dim);
  text-align: left;
  margin-bottom: var(--space-xl);
}

.boot__line {
  opacity: 0;
  margin-bottom: var(--space-sm);
}

.boot__line.visible {
  animation: text-type var(--timing-micro) forwards;
}

.boot__line.visible::before {
  content: '> ';
  color: var(--theme-primary);
}

.boot__progress {
  width: 200px;
  height: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.boot__progress-bar {
  height: 100%;
  background: var(--theme-primary);
  width: 0;
  box-shadow: 0 0 8px var(--theme-primary);
}

.boot__progress-bar.animating {
  animation: progress-fill 1.8s var(--ease-out) forwards;
}

/* ============================================
   SCREEN: START
   ============================================ */
.screen--start {
  background:
    radial-gradient(ellipse at center, var(--color-surface) 0%, var(--color-bg) 70%);
}

.start__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
  position: relative;
  z-index: 2;
}

.start__logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 900;
  color: var(--theme-primary);
  margin-bottom: var(--space-2xl);
}

.start__prompt {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  color: var(--theme-primary);
  text-shadow: var(--glow-text);
  margin-bottom: var(--space-xl);
}

.start__credits {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.start__credits span {
  color: var(--theme-primary);
}

.start__hint {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ============================================
   SCREEN: CHARACTER SELECT
   ============================================ */
.screen--select {
  background: var(--color-bg);
}

.select__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  background: var(--glass-bg);
  position: relative;
  z-index: 10;
}

.select__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 700;
  color: var(--theme-primary);
  letter-spacing: 0.1em;
}

.select__credits {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-text);
}

.select__credits span {
  color: var(--theme-primary);
}

.select__main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  overflow-y: auto;
}

@media (min-width: 768px) {
  .select__main {
    grid-template-columns: 2fr 1fr;
  }
}

.select__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  align-content: start;
}

@media (min-width: 1024px) {
  .select__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.select__footer {
  display: flex;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--color-border);
  background: var(--glass-bg);
}

/* ============================================
   FIGHTER TILE
   ============================================ */
.fighter-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  transition:
    border-color var(--timing-micro),
    background var(--timing-micro),
    transform var(--timing-micro),
    box-shadow var(--timing-micro);
  clip-path: polygon(
    var(--clip-sm) 0,
    calc(100% - var(--clip-sm)) 0,
    100% var(--clip-sm),
    100% calc(100% - var(--clip-sm)),
    calc(100% - var(--clip-sm)) 100%,
    var(--clip-sm) 100%,
    0 calc(100% - var(--clip-sm)),
    0 var(--clip-sm)
  );
}

.fighter-tile:hover,
.fighter-tile:focus-visible {
  border-color: var(--theme-primary);
  background: var(--color-surface-elevated);
  transform: translateY(-4px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(0, 240, 255, 0.2);
}

.fighter-tile:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--theme-primary),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

.fighter-tile[aria-selected="true"] {
  border-color: var(--theme-primary);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--glow-border);
}

.fighter-tile__portrait {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-surface-elevated), var(--color-bg));
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fighter-tile__portrait--kaleide {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(168, 85, 247, 0.2));
}

.fighter-tile__portrait--cult45 {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(232, 212, 77, 0.2));
}

.fighter-tile__portrait--merch {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(212, 175, 55, 0.2));
}

.fighter-tile__portrait--locked {
  background: var(--color-surface);
}

.fighter-tile__locked-icon {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-text-muted);
}

.fighter-tile__name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.fighter-tile__class {
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

.fighter-tile--locked {
  opacity: 0.5;
  cursor: not-allowed;
}

.fighter-tile--locked:hover,
.fighter-tile--locked:focus-visible {
  transform: none;
  border-color: var(--color-border);
  background: var(--color-surface);
  box-shadow: none;
}

.fighter-tile--unlocked {
  animation: unlock-burst var(--timing-big) var(--ease-bounce);
}

.fighter-tile--unlocked .fighter-tile__locked-icon {
  display: none;
}

/* ============================================
   BIO PANEL
   ============================================ */
.select__bio-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.bio-panel__portrait {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-surface-elevated), var(--color-bg));
  margin-bottom: var(--space-sm);
}

.bio-panel__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--theme-primary);
  text-shadow: var(--glow-text);
}

.bio-panel__class {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--color-text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bio-panel__quote {
  font-style: italic;
  color: var(--color-text);
  padding-left: var(--space-md);
  border-left: 2px solid var(--theme-primary);
}

.bio-panel__details h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.bio-panel__specialties li {
  font-size: 0.875rem;
  color: var(--color-text);
  padding: var(--space-xs) 0;
}

.bio-panel__specialties li::before {
  content: '// ';
  color: var(--theme-primary);
}

.bio-panel__signature,
.bio-panel__mechanic {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.875rem;
}

.bio-panel__signature .label,
.bio-panel__mechanic .label {
  color: var(--color-text-muted);
}

.bio-panel__signature .value,
.bio-panel__mechanic .value {
  color: var(--theme-primary);
  font-weight: 600;
}

/* ============================================
   SCREEN: VS
   ============================================ */
.screen--vs {
  background:
    linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 50%, var(--color-bg) 100%);
}

.vs__content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-xl);
  position: relative;
  z-index: 2;
}

.vs__fighter {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vs__portrait {
  width: clamp(120px, 25vw, 200px);
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-surface-elevated), var(--color-bg));
  margin-bottom: var(--space-md);
  border: 2px solid var(--color-border);
}

.vs__portrait--you {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 255, 0.2));
  border-color: var(--theme-primary);
}

.vs__name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.1em;
}

.vs__class {
  font-size: 0.875rem;
  color: var(--color-text-dim);
}

.vs__center {
  padding: 0 var(--space-xl);
}

.vs__badge {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 900;
  color: var(--theme-primary);
}

.vs__move-list {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  z-index: 3;
}

.vs__move-list h3 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  text-align: center;
}

.vs__moves {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .vs__moves {
    grid-template-columns: repeat(4, 1fr);
  }
}

.btn-fight {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.btn-back {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  z-index: 3;
}

/* ============================================
   MOVE BUTTON
   ============================================ */
.move-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition:
    border-color var(--timing-micro),
    background var(--timing-micro),
    transform var(--timing-micro);
}

.move-btn:hover,
.move-btn:focus-visible {
  border-color: var(--theme-primary);
  background: rgba(0, 240, 255, 0.1);
  transform: translateY(-2px);
}

.move-btn:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}

.move-btn__input {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--theme-primary);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--theme-primary);
  margin-bottom: var(--space-xs);
}

.move-btn__label {
  font-size: 0.75rem;
  color: var(--color-text);
  text-align: center;
}

.move-btn--light .move-btn__input { color: var(--color-neon-cyan); border-color: var(--color-neon-cyan); }
.move-btn--heavy .move-btn__input { color: var(--color-neon-magenta); border-color: var(--color-neon-magenta); }
.move-btn--special .move-btn__input { color: var(--theme-secondary); border-color: var(--theme-secondary); }
.move-btn--ultimate .move-btn__input { color: var(--color-neon-lime); border-color: var(--color-neon-lime); }

/* ============================================
   SCREEN: STAGE
   ============================================ */
.screen--stage {
  background: var(--color-bg);
}

.stage__hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: var(--glass-bg-solid);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
}

.hud__left,
.hud__right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hud__fighter-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--theme-primary);
}

.hud__stage-name {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hud__center {
  flex: 1;
  max-width: 400px;
  padding: 0 var(--space-lg);
}

.hud__health-bar {
  height: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.health-bar__fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
  transition: width var(--timing-micro) var(--ease-out);
  box-shadow: 0 0 8px var(--theme-primary);
}

.health-bar__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--color-text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.1em;
}

.hud__observer {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.stage__body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.stage__move-nav {
  width: 200px;
  background: var(--glass-bg);
  border-right: 1px solid var(--color-border);
  padding: var(--space-md);
  display: none;
  flex-direction: column;
  gap: var(--space-sm);
  position: sticky;
  top: 57px;
  height: calc(100vh - 57px);
  overflow-y: auto;
}

@media (min-width: 768px) {
  .stage__move-nav {
    display: flex;
  }
}

.move-nav__btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  border: 1px solid var(--color-border);
  text-align: left;
  transition:
    border-color var(--timing-micro),
    background var(--timing-micro);
}

.move-nav__btn:hover,
.move-nav__btn:focus-visible {
  border-color: var(--theme-primary);
  background: rgba(0, 240, 255, 0.05);
}

.move-nav__btn:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}

.move-nav__btn.active {
  border-color: var(--theme-primary);
  background: rgba(0, 240, 255, 0.1);
}

.move-nav__input {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--theme-primary);
  padding: var(--space-xs);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--theme-primary);
  min-width: 32px;
  text-align: center;
}

.move-nav__label {
  font-size: 0.75rem;
  color: var(--color-text);
}

.move-nav__btn--light .move-nav__input { color: var(--color-neon-cyan); border-color: var(--color-neon-cyan); }
.move-nav__btn--heavy .move-nav__input { color: var(--color-neon-magenta); border-color: var(--color-neon-magenta); }
.move-nav__btn--special .move-nav__input { color: var(--theme-secondary); border-color: var(--theme-secondary); }
.move-nav__btn--ultimate .move-nav__input { color: var(--color-neon-lime); border-color: var(--color-neon-lime); }

.stage__content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
  scroll-behavior: smooth;
}

/* ============================================
   STAGE SECTION
   ============================================ */
.stage-section {
  margin-bottom: var(--space-3xl);
  padding-top: var(--space-md);
}

.stage-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--theme-primary);
  text-shadow: var(--glow-text);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

/* ============================================
   CONTENT CARD (Placeholder)
   ============================================ */
.content-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  transition:
    border-color var(--timing-micro),
    transform var(--timing-micro);
  clip-path: polygon(
    var(--clip-sm) 0,
    calc(100% - var(--clip-sm)) 0,
    100% var(--clip-sm),
    100% calc(100% - var(--clip-sm)),
    calc(100% - var(--clip-sm)) 100%,
    var(--clip-sm) 100%,
    0 calc(100% - var(--clip-sm)),
    0 var(--clip-sm)
  );
}

.content-card:hover {
  border-color: var(--theme-primary);
  transform: translateY(-4px);
}

.content-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-surface-elevated), var(--color-bg));
  margin-bottom: var(--space-md);
}

.content-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.content-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-dim);
  margin-bottom: var(--space-sm);
}

.content-card__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--theme-primary);
}

.placeholder-image {
  background: linear-gradient(
    135deg,
    var(--color-surface-elevated) 0%,
    var(--color-bg) 50%,
    var(--color-surface-elevated) 100%
  );
  background-size: 200% 200%;
  animation: placeholder-shimmer 2s ease infinite;
}

@keyframes placeholder-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* CTA Panel */
.stage-section--cta {
  text-align: center;
}

.cta-panel {
  max-width: 600px;
  margin: 0 auto;
}

.cta-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--theme-primary);
  margin-bottom: var(--space-md);
}

.cta-panel p {
  color: var(--color-text-dim);
  margin-bottom: var(--space-lg);
}

/* ============================================
   SCREEN: HUB
   ============================================ */
.screen--hub {
  background: var(--color-bg);
  overflow-y: auto;
}

.hub__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  background: var(--glass-bg);
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
}

.hub__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--theme-primary);
}

.hub__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hub__content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hub__section h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.hub__section--featured {
  grid-column: 1 / -1;
}

.hub__card {
  display: flex;
  flex-direction: column;
}

.hub__card-image {
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: var(--space-md);
}

.hub__card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--theme-primary);
  margin-bottom: var(--space-sm);
}

.hub__card p {
  color: var(--color-text-dim);
  flex: 1;
}

.hub__card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-neon-lime);
  margin-top: var(--space-md);
}

.hub__scores {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
}

.score-row {
  display: flex;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.score-row:last-child {
  border-bottom: none;
}

.score-rank {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--theme-primary);
  width: 40px;
}

.score-name {
  flex: 1;
  font-family: var(--font-display);
  color: var(--color-text);
}

.score-value {
  font-family: var(--font-mono);
  color: var(--color-neon-lime);
}

.hub__notes,
.hub__bracket {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.note-entry,
.bracket-item {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.note-entry:last-child,
.bracket-item:last-child {
  border-bottom: none;
}

.note-version,
.bracket-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--theme-primary);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--theme-primary);
}

.note-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.note-entry p,
.bracket-event {
  width: 100%;
  font-size: 0.875rem;
  color: var(--color-text-dim);
}

/* --- Hub: Broadcast / YouTube Embed --- */
.hub__section--broadcast {
  grid-column: 1 / -1;
}

.hub__video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin-bottom: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.hub__video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hub__video-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hub__video-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--theme-primary);
  letter-spacing: 0.08em;
}

.hub__video-info p {
  color: var(--color-text-dim);
  font-size: 0.875rem;
}

/* --- Hub: Connect / Link Hub --- */
.hub__connect {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-xl);
}

.hub__connect-tagline {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* --- External link buttons (shared) --- */
.hub__external-link {
  text-decoration: none;
  display: inline-block;
  text-align: center;
  width: 100%;
  max-width: 280px;
}

/* --- CTA panel external links (Stage) --- */
.cta-panel__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  align-items: center;
}

.cta-panel__link {
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

/* --- CTA embedded players --- */
.cta-panel__embed {
  width: 100%;
  margin: var(--space-md) 0;
  border-radius: 12px;
  overflow: hidden;
}

.cta-panel__embed iframe {
  border-radius: 12px;
}

.cta-panel__video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--color-bg);
}

.cta-panel__video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   MOBILE BOTTOM NAV (Stage)
   ============================================ */
@media (max-width: 767px) {
  .stage__body {
    flex-direction: column;
  }

  .stage__move-nav {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    border-right: none;
    border-top: 1px solid var(--color-border);
    z-index: var(--z-nav);
    padding: var(--space-sm);
    overflow-x: auto;
  }

  .move-nav__btn {
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    padding: var(--space-xs) var(--space-sm);
  }

  .move-nav__input {
    margin-bottom: var(--space-xs);
  }

  .move-nav__label {
    font-size: 0.625rem;
    text-align: center;
  }

  .stage__content {
    padding-bottom: 100px;
  }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 480px) {
  .attract__actions {
    width: 100%;
    padding: 0 var(--space-md);
  }

  .btn-arcade {
    width: 100%;
  }

  .vs__content {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto 1fr;
    gap: var(--space-md);
  }

  .vs__move-list {
    position: static;
    transform: none;
    width: 100%;
    margin-top: var(--space-lg);
  }

  .btn-fight {
    position: static;
    transform: none;
    margin-top: var(--space-lg);
  }

  .btn-back {
    position: static;
    margin-top: var(--space-sm);
  }

  .select__footer {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .select__footer .btn-arcade {
    width: 100%;
  }
}

/* ============================================
   ENHANCED TRANSITIONS & JUICE
   ============================================ */

/* --- Coin Credit Pulse --- */
@keyframes credit-bump {
  0% { transform: scale(1); }
  30% { transform: scale(1.6); color: var(--color-neon-lime); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.credit-bump {
  display: inline-block;
  animation: credit-bump 0.4s var(--ease-bounce);
}

/* --- VS Slam-In --- */
@keyframes vs-slam-left {
  0% { opacity: 0; transform: translateX(-120px) scale(0.8); }
  60% { opacity: 1; transform: translateX(10px) scale(1.02); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes vs-slam-right {
  0% { opacity: 0; transform: translateX(120px) scale(0.8); }
  60% { opacity: 1; transform: translateX(-10px) scale(1.02); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes vs-badge-pop {
  0% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1.4); }
  70% { transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes vs-movelist-rise {
  0% { opacity: 0; transform: translateX(-50%) translateY(40px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.vs-slam-left {
  animation: vs-slam-left 0.5s var(--ease-bounce) forwards;
}

.vs-slam-right {
  animation: vs-slam-right 0.5s var(--ease-bounce) 0.15s forwards;
  opacity: 0;
}

.vs-badge-pop {
  animation: vs-badge-pop 0.4s var(--ease-bounce) 0.3s forwards;
  opacity: 0;
}

.vs-movelist-rise {
  animation: vs-movelist-rise 0.4s var(--ease-out) 0.45s forwards;
  opacity: 0;
}

/* --- Screen Shake --- */
@keyframes screen-shake {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-4px, 2px); }
  20% { transform: translate(4px, -2px); }
  30% { transform: translate(-3px, -3px); }
  40% { transform: translate(3px, 3px); }
  50% { transform: translate(-2px, 1px); }
  60% { transform: translate(2px, -1px); }
  70% { transform: translate(-1px, 2px); }
  80% { transform: translate(1px, -1px); }
}

.screen-shake {
  animation: screen-shake 0.35s ease-out;
}

/* --- Content Card Stagger --- */
@keyframes card-enter {
  0% { opacity: 0; transform: translateY(24px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.content-card.card-enter {
  opacity: 0;
  animation: card-enter 0.35s var(--ease-out) forwards;
}

/* --- Bio Panel Slide --- */
@keyframes bio-slide-in {
  0% { opacity: 0; transform: translateX(20px); }
  100% { opacity: 1; transform: translateX(0); }
}

.bio-slide-in {
  animation: bio-slide-in 0.3s var(--ease-out);
}

/* --- Fight Flash --- */
@keyframes fight-flash {
  0% { opacity: 0; }
  15% { opacity: 0.6; }
  30% { opacity: 0; }
  45% { opacity: 0.4; }
  60% { opacity: 0; }
  75% { opacity: 0.2; }
  100% { opacity: 0; }
}

.fight-flash {
  position: fixed;
  inset: 0;
  background: white;
  z-index: var(--z-overlay);
  pointer-events: none;
  animation: fight-flash 0.4s ease-out forwards;
}

/* --- VS mobile slam adjustments --- */
@media (max-width: 480px) {
  @keyframes vs-movelist-rise {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  .vs-movelist-rise {
    animation: vs-movelist-rise 0.4s var(--ease-out) 0.45s forwards;
    opacity: 0;
  }
}
