@font-face {
  font-family: "Russo One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/russo-one.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-700.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/montserrat-900.woff2") format("woff2");
}

@layer reset, base, components, overlays;

:root {
  --bg-void: #090312;
  --bg-surface: rgb(20 8 38 / 0.84);
  --bg-surface-strong: rgb(26 10 48 / 0.95);
  --border-neon: rgb(255 42 133 / 0.45);
  --border-gold: rgb(255 209 102 / 0.65);

  --text-primary: #fff8ff;
  --text-muted: #d9bfe8;
  --neon-pink: #ff2a85;
  --neon-cyan: #00f5d4;
  --neon-gold: #ffd166;
  --neon-amber: #ff9e2c;
  --raid-red: #ff2855;
  --raid-blue: #2292ff;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --target-size: 44px;

  --font-display: "Russo One", sans-serif;
  --font-ui: "Montserrat", sans-serif;
}

@layer reset {
  html,
  body,
  main,
  header,
  section,
  aside,
  footer,
  dialog,
  div,
  button,
  canvas,
  img,
  h1,
  h2,
  p,
  span,
  label,
  output,
  input {
    box-sizing: border-box;
  }

  html,
  body {
    margin: 0;
    padding: 0;
    block-size: 100dvh;
    background: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-ui);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    overscroll-behavior: none;
  }

  h1,
  h2,
  p {
    margin: 0;
  }

  button {
    font: inherit;
    color: inherit;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    touch-action: manipulation;
    min-block-size: var(--target-size);
    min-inline-size: var(--target-size);
  }

  img {
    display: block;
    max-inline-size: 100%;
    block-size: auto;
  }
}

@layer base {
  body {
    display: flex;
    justify-content: center;
    align-items: stretch;
    background:
      radial-gradient(circle at 20% 20%, rgb(255 42 133 / 0.18), transparent 45%),
      radial-gradient(circle at 80% 80%, rgb(0 245 212 / 0.14), transparent 45%),
      var(--bg-void);
  }

  :where(button, input, [tabindex]):focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
  }

  .app-shell {
    position: relative;
    inline-size: min(100dvw, 430px);
    block-size: 100dvh;
    max-block-size: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    padding-block-start: max(8px, env(safe-area-inset-top, 0px));
    padding-block-end: max(8px, env(safe-area-inset-bottom, 0px));
    padding-inline: max(10px, env(safe-area-inset-left, 0px)) max(10px, env(safe-area-inset-right, 0px));
    gap: 6px;
    isolation: isolate;
    box-shadow: 0 0 50px rgb(0 0 0 / 0.85);
  }

  .app-shell.is-shaking {
    @media (prefers-reduced-motion: no-preference) {
      animation: combo-shake 170ms ease-out;
    }
  }
}

@layer components {
  .stage-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: clip;
    pointer-events: none;
  }

  .bg-club-img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    object-position: center;
    transform-origin: center;
    filter: saturate(1.12) contrast(1.06);
    @media (prefers-reduced-motion: no-preference) {
      animation: club-breathe 2.4s ease-in-out infinite alternate;
    }
  }

  .spotlight-beam {
    position: absolute;
    inset-block-start: -14%;
    inline-size: 56%;
    block-size: 92%;
    transform-origin: top center;
    mix-blend-mode: screen;
    opacity: 0.42;
    pointer-events: none;
  }

  .beam-left {
    inset-inline-start: -8%;
    background: linear-gradient(180deg, rgb(255 42 133 / 0.55) 0%, rgb(255 42 133 / 0) 80%);
    clip-path: polygon(45% 0%, 55% 0%, 100% 100%, 0% 100%);
    @media (prefers-reduced-motion: no-preference) {
      animation: beam-sway-left 3.2s ease-in-out infinite alternate;
    }
  }

  .beam-right {
    inset-inline-end: -8%;
    background: linear-gradient(180deg, rgb(0 245 212 / 0.48) 0%, rgb(0 245 212 / 0) 80%);
    clip-path: polygon(45% 0%, 55% 0%, 100% 100%, 0% 100%);
    @media (prefers-reduced-motion: no-preference) {
      animation: beam-sway-right 2.8s ease-in-out infinite alternate;
    }
  }

  .mode-tint {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 220ms ease-out;
  }

  .app-shell[data-heat="true"] .mode-tint {
    opacity: 1;
    background:
      radial-gradient(circle at 50% 45%, rgb(255 209 102 / 0.34), transparent 64%),
      linear-gradient(180deg, rgb(255 158 44 / 0.16), rgb(255 42 133 / 0.24));
  }

  .app-shell[data-gold="true"] .mode-tint {
    opacity: 1;
    background:
      radial-gradient(circle at 50% 40%, rgb(255 224 102 / 0.46), transparent 65%),
      linear-gradient(180deg, rgb(255 190 46 / 0.28), rgb(255 120 20 / 0.2));
  }

  .app-shell[data-raid="true"] .mode-tint {
    opacity: 1;
    background:
      linear-gradient(90deg, rgb(255 40 85 / 0.45) 0%, transparent 45%, rgb(34 146 255 / 0.45) 100%);
    @media (prefers-reduced-motion: no-preference) {
      animation: raid-pulse 0.72s ease-in-out infinite alternate;
    }
  }

  .stage-vignette {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgb(9 3 18 / 0.72) 0%, rgb(9 3 18 / 0.14) 28%, rgb(9 3 18 / 0.18) 65%, rgb(9 3 18 / 0.88) 100%);
  }

  /* Top HUD */
  .hud-top {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .hud-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-neon);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.45);
  }

  .brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-inline-size: 0;
  }

  .brand-logo {
    inline-size: 32px;
    block-size: 32px;
    aspect-ratio: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgb(255 42 133 / 0.7));
  }

  .club-title {
    font-family: var(--font-display);
    font-size: clamp(0.85rem, 3.6vw, 1.05rem);
    letter-spacing: 0.03em;
    color: var(--neon-pink);
    text-shadow: 0 2px 4px rgb(0 0 0 / 0.85), 0 0 10px rgb(255 42 133 / 0.75);
    line-height: 1;
  }

  .cash-readout {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-inline-size: 0;
  }

  .cash-amount {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 5.8vw, 1.8rem);
    font-variant-numeric: tabular-nums;
    line-height: 1.05;
    letter-spacing: 0.03em;
    color: var(--neon-gold);
    text-shadow: 0 2px 4px rgb(0 0 0 / 0.85), 0 0 14px rgb(255 209 102 / 0.65);
  }

  .sub-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-block-start: 2px;
  }

  .dps-pill {
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--neon-cyan);
  }

  .mult-badge {
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-amber));
    color: #fff;
    text-shadow: 0 1px 3px rgb(0 0 0 / 0.85);
    box-shadow: 0 0 10px rgb(255 42 133 / 0.5);
  }

  .shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-inline-size: 56px;
    block-size: 44px;
    padding: 0 9px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    color: var(--neon-gold);
    text-shadow: 0 2px 4px rgb(0 0 0 / 0.85);
    background: linear-gradient(135deg, rgb(146 22 96 / 0.9), rgb(64 12 86 / 0.92));
    border: 1.5px solid var(--neon-gold);
    box-shadow: 0 0 14px rgb(255 209 102 / 0.35);
    transition: scale 140ms ease-out;
  }

  .shop-btn:active {
    scale: 0.92;
  }

  .settings-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 44px;
    block-size: 44px;
    border-radius: var(--radius-sm);
    background: rgb(255 255 255 / 0.09);
    border: 1px solid rgb(0 245 212 / 0.35);
    transition: scale 140ms ease-out, background-color 140ms ease-out;
  }

  .settings-btn:active {
    scale: 0.92;
  }

  /* VIP-LOZHA Retention Card */
  .vip-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    background: linear-gradient(90deg, rgb(32 10 58 / 0.9), rgb(18 6 34 / 0.86));
    border: 1px solid var(--border-gold);
    box-shadow: 0 4px 16px rgb(0 0 0 / 0.45), inset 0 0 12px rgb(255 209 102 / 0.12);
  }

  .vip-thumb-wrap {
    position: relative;
    inline-size: 40px;
    block-size: 48px;
    border-radius: 10px;
    overflow: clip;
    border: 1.5px solid var(--neon-gold);
  }

  .vip-thumb {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    filter: blur(2.6px) brightness(0.85);
    scale: 1.12;
  }

  .vip-lock-icon {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    inline-size: 22px;
    block-size: 22px;
    translate: -50% -50%;
    filter: drop-shadow(0 2px 5px rgb(0 0 0 / 0.9));
  }

  .vip-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-inline-size: 0;
  }

  .vip-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
  }

  .vip-title {
    color: var(--neon-gold);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .vip-reward-pill {
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    background: rgb(0 245 212 / 0.18);
    border: 1px solid rgb(0 245 212 / 0.5);
    color: var(--neon-cyan);
    white-space: nowrap;
  }

  .vip-goal {
    margin-inline-start: auto;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    white-space: nowrap;
  }

  .vip-bar-track {
    position: relative;
    block-size: 10px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.12);
    overflow: clip;
  }

  .vip-bar-fill {
    inline-size: 100%;
    block-size: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-amber), var(--neon-gold));
    border-radius: 999px;
    transition: transform 180ms ease-out;
  }

  /* Center Stage */
  .stage-zone {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-block-size: 0;
    touch-action: none;
  }

  .star-podium {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    transition: transform 95ms ease-out;
  }

  .star-podium.is-hit {
    transform: scale(1.045);
  }

  .podium-aura {
    position: absolute;
    inset: -14px;
    border-radius: 28px;
    background: radial-gradient(circle, rgb(255 42 133 / 0.45) 0%, rgb(255 209 102 / 0.2) 55%, transparent 75%);
    filter: blur(14px);
    opacity: 0.72;
    transition: opacity 140ms ease-out, transform 140ms ease-out;
    pointer-events: none;
  }

  .star-podium.is-hit .podium-aura {
    opacity: 1;
    transform: scale(1.08);
  }

  .star-frame {
    position: relative;
    block-size: min(37dvh, 308px);
    inline-size: auto;
    aspect-ratio: 2 / 3;
    max-inline-size: 58vw;
    border-radius: var(--radius-lg);
    overflow: clip;
    border: 3px solid var(--neon-gold);
    box-shadow:
      0 0 0 2px rgb(255 42 133 / 0.65),
      0 14px 34px rgb(0 0 0 / 0.75),
      0 0 28px rgb(255 42 133 / 0.45);
    background: #170829;
  }

  .star-portrait {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 320ms ease-out, transform 320ms ease-out;
  }

  .star-portrait.is-active {
    opacity: 1;
    transform: scale(1);
  }

  .star-frame-gloss {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgb(255 255 255 / 0.22) 0%,
      transparent 35%,
      transparent 75%,
      rgb(255 209 102 / 0.16) 100%
    );
    pointer-events: none;
  }

  .star-pills-row {
    margin-block-start: -15px;
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .star-tag {
    display: inline-flex;
    align-items: center;
    min-block-size: 30px;
    padding: 4px 11px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    color: #160524;
    text-shadow: 0 1px 0 rgb(255 255 255 / 0.4);
    background: linear-gradient(90deg, var(--neon-gold), #fff1b8, var(--neon-amber));
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.55);
  }

  .gallery-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-block-size: 44px;
    padding: 5px 12px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.74rem;
    letter-spacing: 0.03em;
    color: #fff;
    text-shadow: 0 2px 4px rgb(0 0 0 / 0.85);
    background: linear-gradient(135deg, #c81b76, #ff2a85);
    border: 1.5px solid var(--neon-gold);
    box-shadow: 0 4px 14px rgb(255 42 133 / 0.45);
    transition: scale 120ms ease-out;
  }

  .gallery-pill-btn:active {
    scale: 0.94;
  }

  /* Vertical Heat Meter ("ГРАДУС") */
  .heat-meter-wrap {
    position: absolute;
    inset-inline-end: 2px;
    inset-block: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 6px;
    border-radius: 999px;
    background: rgb(16 5 32 / 0.78);
    border: 1px solid rgb(255 158 44 / 0.45);
    backdrop-filter: blur(6px);
  }

  .heat-flame-icon {
    inline-size: 26px;
    block-size: 26px;
    aspect-ratio: 1;
    filter: drop-shadow(0 0 8px rgb(255 158 44 / 0.85));
  }

  .heat-track {
    position: relative;
    flex: 1;
    inline-size: 14px;
    min-block-size: 104px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.12);
    overflow: clip;
    display: flex;
    align-items: flex-end;
  }

  .heat-fill {
    inline-size: 100%;
    block-size: 100%;
    transform-origin: bottom center;
    transform: scaleY(0);
    border-radius: 999px;
    background: linear-gradient(0deg, var(--neon-pink) 0%, var(--neon-amber) 55%, var(--neon-gold) 100%);
    transition: transform 110ms ease-out;
  }

  .heat-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--neon-gold);
  }

  .heat-timer {
    position: absolute;
    inset-inline-end: calc(100% + 6px);
    inset-block-start: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    white-space: nowrap;
    color: #200900;
    background: linear-gradient(90deg, var(--neon-gold), var(--neon-amber));
    box-shadow: 0 0 14px rgb(255 190 46 / 0.8);
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: opacity 180ms ease-out, transform 180ms ease-out;
  }

  .app-shell[data-heat="true"] .heat-timer {
    opacity: 1;
    transform: translateX(0);
  }

  /* Flying Champagne / VIP Chip Bonus */
  .champagne-bonus {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 22;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 4px;
    border-radius: 999px;
    background: radial-gradient(circle, rgb(255 209 102 / 0.36), rgb(24 8 44 / 0.65) 75%);
    border: 2px solid var(--neon-gold);
    box-shadow: 0 0 22px rgb(255 209 102 / 0.75);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease-out;
  }

  .champagne-bonus.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .champagne-bonus:active {
    scale: 0.9;
  }

  .champagne-label {
    font-family: var(--font-display);
    font-size: 0.68rem;
    color: var(--neon-gold);
    text-shadow: 0 1px 2px #000;
  }

  /* Boss Briefcase Pop-up (AD) */
  .boss-case-btn {
    position: absolute;
    inset-inline-start: 2px;
    inset-block-end: 24%;
    z-index: 21;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 6px 6px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgb(64 24 8 / 0.95), rgb(34 10 54 / 0.95));
    border: 2px solid var(--neon-gold);
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.7), 0 0 18px rgb(255 209 102 / 0.55);
    opacity: 0;
    visibility: hidden;
    translate: -120% 0;
    pointer-events: none;
    transition: translate 260ms cubic-bezier(0.2, 0.9, 0.25, 1.1), opacity 180ms ease-out, visibility 180ms;
  }

  .boss-case-btn.is-active {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    pointer-events: auto;
    @media (prefers-reduced-motion: no-preference) {
      animation: case-bob 1.2s ease-in-out infinite alternate;
    }
  }

  .boss-case-btn:active {
    scale: 0.93;
  }

  .boss-case-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
  }

  .boss-case-title {
    font-family: var(--font-display);
    font-size: 0.78rem;
    color: var(--neon-gold);
  }

  .boss-case-timer {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--neon-cyan);
    font-variant-numeric: tabular-nums;
  }

  /* Boss Cut-In ("ЗОЛОТОЙ ДОЖДЬ x5") */
  .boss-cutin {
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 2px;
    z-index: 19;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgb(44 18 4 / 0.94), rgb(22 7 34 / 0.94));
    border: 2px solid var(--neon-gold);
    box-shadow: 0 8px 26px rgb(0 0 0 / 0.75), 0 0 20px rgb(255 209 102 / 0.6);
    opacity: 0;
    visibility: hidden;
    translate: -50% -130%;
    pointer-events: none;
    transition: translate 280ms cubic-bezier(0.2, 0.9, 0.25, 1.1), opacity 220ms ease-out, visibility 220ms;
  }

  .boss-cutin.is-active {
    opacity: 1;
    visibility: visible;
    translate: -50% 0;
  }

  .boss-img {
    inline-size: 42px;
    block-size: 58px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 9px;
    border: 1.5px solid var(--neon-gold);
  }

  .boss-banner {
    display: flex;
    flex-direction: column;
    padding-inline-end: 6px;
    gap: 2px;
  }

  .boss-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--neon-gold);
    letter-spacing: 0.04em;
  }

  .boss-timer {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
    color: var(--neon-cyan);
  }

  /* Bottom Throw Zone */
  .throw-zone {
    position: relative;
    z-index: 12;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 2px;
  }

  .throw-pad {
    position: relative;
    inline-size: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 12px;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse at center, rgb(255 42 133 / 0.18) 0%, rgb(16 6 32 / 0.65) 75%);
    border: 1.5px dashed rgb(0 245 212 / 0.48);
    touch-action: none;
    transition: scale 90ms ease-out, border-color 140ms ease-out;
  }

  .throw-pad:active,
  .throw-pad.is-recoiling {
    scale: 0.96 0.93;
    border-color: var(--neon-gold);
  }

  .swipe-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    @media (prefers-reduced-motion: no-preference) {
      animation: float-up 1.1s ease-in-out infinite alternate;
    }
  }

  .swipe-arrow {
    inline-size: 18px;
    block-size: 18px;
    aspect-ratio: 1;
  }

  .swipe-text {
    font-family: var(--font-display);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgb(0 245 212 / 0.7);
  }

  .bill-stack-img {
    inline-size: clamp(128px, 36vw, 166px);
    block-size: auto;
    aspect-ratio: 320 / 220;
    filter: drop-shadow(0 8px 18px rgb(0 0 0 / 0.65));
    pointer-events: none;
    transition: transform 80ms ease-out;
  }

  .throw-pad.is-recoiling .bill-stack-img {
    transform: translateY(-6px) scale(1.04);
  }

  .per-swipe-pill {
    margin-block-start: -4px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: rgb(11 3 22 / 0.86);
    border: 1px solid rgb(255 209 102 / 0.55);
    color: var(--neon-gold);
  }

  /* Bottom Upgrade & Ad Bar */
  .upgrade-dock {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .upg-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    min-block-size: 66px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-strong);
    border: 1.5px solid rgb(255 255 255 / 0.16);
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.5);
    transition: scale 120ms ease-out, border-color 150ms ease-out, opacity 150ms ease-out;
  }

  .upg-btn:not(:disabled) {
    border-color: rgb(0 245 212 / 0.6);
    box-shadow: 0 4px 14px rgb(0 245 212 / 0.18);
  }

  .upg-btn:not(:disabled):active {
    scale: 0.94;
  }

  .upg-btn:disabled {
    opacity: 0.52;
    cursor: not-allowed;
  }

  .upg-btn-ad {
    background: linear-gradient(160deg, rgb(112 16 74 / 0.94), rgb(44 10 56 / 0.94));
    border-color: var(--neon-pink);
    box-shadow: 0 4px 16px rgb(255 42 133 / 0.35);
  }

  .upg-btn-ad.is-active {
    border-color: var(--neon-gold);
    background: linear-gradient(160deg, rgb(120 72 6 / 0.95), rgb(52 24 4 / 0.95));
  }

  .upg-icon {
    inline-size: 26px;
    block-size: 26px;
    aspect-ratio: 1;
  }

  .upg-name {
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--text-primary);
    white-space: nowrap;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.85);
  }

  .upg-meta {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--neon-cyan);
    line-height: 1;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.85);
  }

  .upg-cost {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    color: var(--neon-gold);
    line-height: 1.05;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.85);
  }
}

@layer overlays {
  .fx-canvas {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    z-index: 16;
    pointer-events: none;
  }

  .flash-overlay {
    position: absolute;
    inset: 0;
    z-index: 28;
    background: radial-gradient(circle, #fff8d6 0%, rgb(255 209 102 / 0.75) 55%, transparent 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease-out;
  }

  .flash-overlay.is-flashing {
    opacity: 0.92;
    transition: opacity 45ms ease-in;
  }

  /* Police Raid Overlay */
  .raid-overlay {
    position: absolute;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgb(8 4 20 / 0.66);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease-out, visibility 180ms;
  }

  .raid-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .raid-card {
    inline-size: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 16px;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgb(32 8 38 / 0.97), rgb(10 18 46 / 0.97));
    border: 3px solid var(--raid-red);
    box-shadow: 0 0 36px rgb(255 40 85 / 0.55), 0 0 36px rgb(34 146 255 / 0.45);
  }

  .raid-siren {
    inline-size: 64px;
    block-size: 64px;
    aspect-ratio: 1;
  }

  .raid-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: -2px 0 var(--raid-red), 2px 0 var(--raid-blue);
    text-align: center;
  }

  .raid-timer-track {
    inline-size: 100%;
    block-size: 10px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.14);
    overflow: clip;
  }

  .raid-timer-fill {
    inline-size: 100%;
    block-size: 100%;
    transform-origin: left center;
    background: linear-gradient(90deg, var(--raid-red), var(--neon-gold));
  }

  .raid-tap-btn {
    inline-size: 100%;
    min-block-size: 76px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-family: var(--font-display);
    font-size: 1rem;
    color: #1c0800;
    background: linear-gradient(135deg, var(--neon-gold), var(--neon-amber));
    border: 2px solid #fff6c9;
    box-shadow: 0 8px 24px rgb(255 158 44 / 0.5);
    transition: scale 70ms ease-out;
  }

  .raid-tap-btn:active {
    scale: 0.94;
  }

  .raid-count {
    font-size: 1.25rem;
    font-variant-numeric: tabular-nums;
    color: #420722;
  }

  .raid-ad-btn {
    inline-size: 100%;
    min-block-size: 48px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, #c2186e, #ff2a85);
    border: 1.5px solid var(--neon-cyan);
    box-shadow: 0 4px 18px rgb(255 42 133 / 0.45);
  }

  .raid-ad-btn:active {
    scale: 0.95;
  }

  /* Shared Modal Dialog Shell */
  .modal-dialog {
    margin: auto;
    inline-size: min(92vw, 376px);
    max-block-size: 86dvh;
    padding: 0;
    border: 2px solid var(--neon-pink);
    border-radius: var(--radius-lg);
    background: linear-gradient(165deg, #1b0830, #0d041a);
    color: var(--text-primary);
    box-shadow: 0 0 44px rgb(255 42 133 / 0.45);
    overflow: hidden;
  }

  .modal-dialog::backdrop {
    background: rgb(5 1 12 / 0.8);
    backdrop-filter: blur(6px);
  }

  .modal-dialog[open] {
    display: flex;
    flex-direction: column;
  }

  .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-block-end: 1px solid rgb(255 255 255 / 0.12);
    background: rgb(255 255 255 / 0.04);
  }

  .modal-title-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .modal-title {
    font-family: var(--font-display);
    font-size: 1.08rem;
    letter-spacing: 0.04em;
    color: var(--neon-gold);
  }

  .modal-count-pill {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    background: rgb(0 245 212 / 0.18);
    color: var(--neon-cyan);
    border: 1px solid rgb(0 245 212 / 0.4);
  }

  .modal-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 38px;
    block-size: 38px;
    min-inline-size: 38px;
    min-block-size: 38px;
    padding: 0;
    border-radius: 14px;
    border: none;
    outline: none;
    background: rgb(255 255 255 / 0.08);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16);
    transition: scale 120ms ease-out, background 120ms ease-out;
  }

  .modal-close-btn:hover {
    background: rgb(255 255 255 / 0.14);
  }

  .modal-close-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgb(255 255 255 / 0.3);
  }

  .modal-close-btn:active {
    scale: 0.92;
  }

  /* Gallery Modal */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .gallery-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: clip;
    background: linear-gradient(165deg, rgb(34 14 58 / 0.85), rgb(18 6 32 / 0.9));
    border: 1.5px solid rgb(255 255 255 / 0.16);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), 0 8px 20px rgb(0 0 0 / 0.45);
  }

  .gallery-card.is-selected {
    border-color: var(--neon-cyan);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 0 18px rgb(0 245 212 / 0.45), 0 8px 20px rgb(0 0 0 / 0.45);
  }

  .gallery-card.is-testdrive {
    border-color: var(--neon-amber);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 0 18px rgb(255 158 44 / 0.55), 0 8px 20px rgb(0 0 0 / 0.45);
  }

  .gallery-card.is-secret {
    grid-column: 1 / -1;
    border: 2px solid var(--neon-gold);
    background: linear-gradient(145deg, rgb(58 18 82 / 0.88), rgb(24 8 44 / 0.94));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 0 24px rgb(255 209 102 / 0.35), 0 8px 20px rgb(0 0 0 / 0.45);
  }

  .gallery-card.is-secret .gallery-thumb-box {
    aspect-ratio: 4 / 3;
  }

  /* VIP Stars Shop Modal */
  .shop-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .shop-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(165deg, rgb(36 14 62 / 0.88), rgb(18 6 32 / 0.94));
    border: 1.5px solid rgb(255 209 102 / 0.35);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), 0 8px 20px rgb(0 0 0 / 0.45);
  }

  .shop-item.is-owned {
    border-color: rgb(0 245 212 / 0.5);
    background: linear-gradient(165deg, rgb(10 42 40 / 0.85), rgb(6 26 24 / 0.9));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), 0 8px 20px rgb(0 0 0 / 0.45);
  }

  .shop-item-icon {
    inline-size: 52px;
    block-size: 52px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center top;
  }

  .shop-item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-inline-size: 0;
  }

  .shop-item-title {
    font-family: var(--font-display);
    font-size: 0.84rem;
    line-height: 1.15;
    letter-spacing: 0.03em;
    color: var(--neon-gold);
    text-shadow: 0 1px 3px rgb(0 0 0 / 0.85);
  }

  .shop-item-desc {
    font-size: 0.7rem;
    line-height: 1.25;
    color: var(--text-muted);
  }

  .shop-buy-btn {
    min-inline-size: 68px;
    min-block-size: 38px;
    padding: 6px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    color: #fff;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.85);
    background: linear-gradient(135deg, #d8236d, #e08316);
    border: 1.5px solid rgb(255 209 102 / 0.7);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 3px 10px rgb(0 0 0 / 0.4);
    transition: scale 120ms ease-out;
  }

  .shop-buy-btn:not(:disabled):active {
    scale: 0.93;
  }

  .shop-buy-btn:disabled {
    background: rgb(0 245 212 / 0.12);
    border-color: rgb(0 245 212 / 0.35);
    color: var(--neon-cyan);
    box-shadow: none;
    cursor: default;
    opacity: 0.88;
  }

  .gallery-thumb-box {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: clip;
    background: #140524;
  }

  .gallery-thumb {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .gallery-card.is-locked .gallery-thumb {
    filter: blur(10px) brightness(0.68);
    scale: 1.1;
  }

  .gallery-lock-badge {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    translate: -50% -50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    background: rgb(12 4 24 / 0.8);
    border: 1px solid var(--border-gold);
    text-align: center;
  }

  .gallery-lock-goal {
    font-family: var(--font-display);
    font-size: 0.78rem;
    color: var(--neon-gold);
    white-space: nowrap;
  }

  .gallery-mult-tag {
    position: absolute;
    inset-block-start: 6px;
    inset-inline-end: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #160524;
    background: var(--neon-gold);
  }

  .gallery-card-foot {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .gallery-star-name {
    font-family: var(--font-display);
    font-size: 0.78rem;
    color: var(--text-primary);
    text-align: center;
  }

  .gallery-action-btn {
    inline-size: 100%;
    min-block-size: 44px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    text-align: center;
  }

  .gallery-action-btn.is-pick {
    background: rgb(0 245 212 / 0.18);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
  }

  .gallery-action-btn.is-active {
    background: var(--neon-cyan);
    color: #0e041d;
  }

  .gallery-action-btn.is-testdrive-cta {
    background: linear-gradient(135deg, #ff2a85, #ff9e2c);
    color: #fff;
    border: 1px solid #ffe49c;
    box-shadow: 0 4px 14px rgb(255 42 133 / 0.45);
  }

  .gallery-action-btn:disabled {
    opacity: 0.5;
    background: rgb(255 255 255 / 0.08);
    color: var(--text-muted);
    cursor: not-allowed;
  }

  /* Settings Modal */
  .settings-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .setting-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(165deg, rgb(34 14 58 / 0.85), rgb(18 6 32 / 0.9));
    border: 1px solid rgb(255 255 255 / 0.12);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), 0 8px 20px rgb(0 0 0 / 0.45);
  }

  .setting-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .setting-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
  }

  .setting-value {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--neon-cyan);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 3px rgb(0 0 0 / 0.85);
  }

  /* Range Slider (Modern Web Guidance `slider` pattern) */
  .club-slider {
    --slider-track-size: 0.55rem;
    --slider-thumb-size: 1.35rem;
    --slider-track-color: rgb(255 255 255 / 0.18);
    --slider-fill-color: #00f5d4;
    --slider-thumb-color: #ffd166;
    --slider-progress: 100%;

    appearance: none;
    inline-size: 100%;
    block-size: 2.75rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .club-slider::-webkit-slider-runnable-track {
    block-size: var(--slider-track-size);
    border-radius: 999px;
    background: linear-gradient(
      to right,
      var(--slider-fill-color) var(--slider-progress),
      var(--slider-track-color) var(--slider-progress)
    );
  }

  .club-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    inline-size: var(--slider-thumb-size);
    block-size: var(--slider-thumb-size);
    margin-block-start: calc((var(--slider-track-size) - var(--slider-thumb-size)) / 2);
    border-radius: 50%;
    background: var(--slider-thumb-color);
    border: 2px solid #160524;
    box-shadow: 0 0 10px rgb(255 209 102 / 0.6);
  }

  .club-slider::-moz-range-track {
    block-size: var(--slider-track-size);
    border-radius: 999px;
    background: var(--slider-track-color);
  }

  .club-slider::-moz-range-progress {
    block-size: var(--slider-track-size);
    border-radius: 999px;
    background: var(--slider-fill-color);
  }

  .club-slider::-moz-range-thumb {
    inline-size: var(--slider-thumb-size);
    block-size: var(--slider-thumb-size);
    border: 2px solid #160524;
    border-radius: 50%;
    background: var(--slider-thumb-color);
  }

  .setting-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-block-size: 44px;
    cursor: pointer;
  }

  .club-switch {
    appearance: none;
    position: relative;
    inline-size: 52px;
    block-size: 30px;
    margin: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.2);
    border: 1.5px solid rgb(255 255 255 / 0.3);
    cursor: pointer;
    transition: background-color 160ms ease-out, border-color 160ms ease-out;
  }

  .club-switch::after {
    content: "";
    position: absolute;
    inset-block-start: 3px;
    inset-inline-start: 3px;
    inline-size: 21px;
    block-size: 21px;
    border-radius: 50%;
    background: #fff;
    transition: translate 160ms ease-out;
  }

  .club-switch:checked {
    background: var(--neon-pink);
    border-color: var(--neon-gold);
  }

  .club-switch:checked::after {
    translate: 22px 0;
  }

  .reset-zone {
    padding-block-start: 8px;
    border-block-start: 1px solid rgb(255 255 255 / 0.12);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .reset-btn {
    inline-size: 100%;
    min-block-size: 46px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    color: #ff6b8b;
    text-shadow: 0 1px 3px rgb(0 0 0 / 0.85);
    background: rgb(255 40 85 / 0.14);
    border: 1.5px solid rgb(255 40 85 / 0.55);
  }

  .reset-confirm-box {
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgb(255 40 85 / 0.14);
    border: 1.5px solid var(--raid-red);
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .reset-confirm-box[hidden] {
    display: none;
  }

  .reset-warn {
    font-weight: 800;
    color: #ffd1db;
  }

  .reset-confirm-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .reset-cancel-btn,
  .reset-confirm-btn {
    min-block-size: 44px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 3px rgb(0 0 0 / 0.85);
  }

  .reset-cancel-btn {
    background: rgb(255 255 255 / 0.12);
    color: #fff;
  }

  .reset-confirm-btn {
    background: var(--raid-red);
    color: #fff;
  }

  /* Offline Earnings Modal */
  .offline-inner {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .offline-crown {
    inline-size: 58px;
    block-size: 58px;
  }

  .offline-amount {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.03em;
    color: var(--neon-gold);
    text-shadow: 0 2px 4px rgb(0 0 0 / 0.85), 0 0 16px rgb(255 209 102 / 0.65);
  }

  .offline-actions {
    inline-size: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .offline-x3-btn {
    inline-size: 100%;
    min-block-size: 54px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.03em;
    color: #fff;
    text-shadow: 0 2px 4px rgb(0 0 0 / 0.85);
    background: linear-gradient(135deg, #ff2a85, #ff9e2c);
    border: 2px solid var(--neon-gold);
    box-shadow: 0 6px 20px rgb(255 42 133 / 0.5);
  }

  .offline-claim-btn {
    inline-size: 100%;
    min-block-size: 44px;
    border-radius: var(--radius-md);
    font-weight: 800;
    color: var(--neon-cyan);
    background: rgb(0 245 212 / 0.14);
    border: 1px solid rgb(0 245 212 / 0.45);
  }

  /* Rewarded Ad Dialog */
  .ad-dialog {
    margin: auto;
    inline-size: min(86vw, 330px);
    padding: 0;
    border: 2px solid var(--neon-pink);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, #1b0830, #0d041a);
    color: var(--text-primary);
    box-shadow: 0 0 40px rgb(255 42 133 / 0.5);
  }

  .ad-dialog::backdrop {
    background: rgb(5 1 12 / 0.78);
    backdrop-filter: blur(6px);
  }

  .ad-dialog-inner {
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .ad-icon {
    inline-size: 52px;
    block-size: 52px;
    aspect-ratio: 1;
  }

  .ad-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--neon-gold);
    letter-spacing: 0.05em;
  }

  .ad-countdown {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
  }

  .ad-progress-track {
    inline-size: 100%;
    block-size: 8px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.14);
    overflow: clip;
  }

  .ad-progress-fill {
    inline-size: 100%;
    block-size: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
  }
}

@keyframes club-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@keyframes beam-sway-left {
  from { transform: rotate(-10deg); }
  to { transform: rotate(9deg); }
}

@keyframes beam-sway-right {
  from { transform: rotate(10deg); }
  to { transform: rotate(-9deg); }
}

@keyframes float-up {
  from { transform: translateY(2px); }
  to { transform: translateY(-4px); }
}

@keyframes case-bob {
  from { transform: translateY(2px); }
  to { transform: translateY(-4px); }
}

@keyframes raid-pulse {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

@keyframes combo-shake {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-3px, 2px, 0); }
  50% { transform: translate3d(3px, -2px, 0); }
  75% { transform: translate3d(-2px, -1px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
