/* ============================================================
   ROYAL HEIST — base: tokens, reset, ambience, layout grids
   ============================================================ */

:root {
  --bg0: #05070b;
  --bg1: #0a0e16;
  --bg2: #10182a;
  --panel: rgba(13, 19, 32, 0.86);
  --panel-solid: #0d1320;
  --line: #1d2942;
  --line-bright: #2c3d63;

  --text: #d6dfeb;
  --dim: #76839b;
  --faint: #4a5670;

  --gold: #ffd75e;
  --gold-deep: #d9a13c;
  --red: #ff4d5e;
  --orange: #ff9f43;
  --cyan: #3fd9ff;
  --green: #41f58f;
  --purple: #b06bff;
  --pink: #ff6bd6;
  --reaction-cold-1: #397bff;
  --reaction-cold-2: #3fd9ff;
  --reaction-warm-1: #ffd75e;
  --reaction-warm-2: #ff9f43;
  --reaction-hot-1: #ff4d5e;
  --reaction-hot-2: #fff4d0;

  --hearts: #ff5d7a;
  --diamonds: #3fd9ff;
  --clubs: #58e07e;
  --spades: #c9d4ff;

  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 10px;
  --speed: 1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  background: var(--bg0);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  overflow: hidden;
}

body {
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(38, 60, 110, 0.28), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(120, 40, 80, 0.14), transparent 60%),
    var(--bg0);
}

button { font-family: inherit; cursor: pointer; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-bright); border-radius: 4px; }

/* ---------- ambience overlays ---------- */
#scanlines {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.022) 0px,
    rgba(255, 255, 255, 0.022) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

#screenfx { position: fixed; inset: 0; z-index: 95; pointer-events: none; }

#particles {
  position: fixed; inset: 0; z-index: 96; pointer-events: none;
  width: 100vw; height: 100vh;
}

/* ---------- screens ---------- */
.screen { position: fixed; inset: 0; display: flex; flex-direction: column; overflow: hidden; }
.hidden { display: none !important; }

/* ---------- shared panel chrome ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  backdrop-filter: blur(4px);
}

.panel-title {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #a8b8d0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 11, 17, 0.9);
  border: 1px solid rgba(168, 184, 208, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.count-chip {
  font-family: var(--mono);
  font-size: 10px;
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 1px 7px;
  border-radius: 20px;
  color: var(--gold);
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  border-radius: 8px;
  border: 1px solid var(--line-bright);
  background: var(--bg2);
  color: var(--text);
  padding: 9px 16px;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--gold-deep); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }

.btn-gold {
  background: linear-gradient(180deg, #443411, #2c210a);
  border-color: var(--gold-deep);
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255, 215, 94, 0.5);
}
.btn-gold:hover:not(:disabled) { box-shadow: 0 0 18px rgba(255, 215, 94, 0.25); border-color: var(--gold); }

.btn-red { border-color: #6e2733; color: var(--red); background: #26121a; }
.btn-red:hover:not(:disabled) { border-color: var(--red); box-shadow: 0 0 14px rgba(255, 77, 94, 0.2); }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--dim); }
.btn-ghost:hover:not(:disabled) { color: var(--text); }

.btn-big { font-size: 14px; padding: 12px 26px; }

.btn-debug {
  font-size: 10px; padding: 5px 9px;
  border-color: #46325c; color: var(--purple); background: #191226;
}

/* ============================================================
   PREP SCREEN LAYOUT
   ============================================================ */
.prep-header {
  display: flex; align-items: center; gap: 20px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 24, 42, 0.9), rgba(10, 14, 22, 0.7));
}

.brand {
  font-family: var(--mono);
  font-size: 20px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(255, 215, 94, 0.4);
}
.brand span { color: var(--red); text-shadow: 0 0 24px rgba(255, 77, 94, 0.45); }

.prep-title { flex: 1; }
.casino-name { font-size: 16px; font-weight: 600; }
.prep-sub { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.08em; margin-top: 2px; }
.prep-header-right { display: flex; gap: 10px; align-items: center; }

.prep-main {
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1.1fr 1.5fr;
  gap: 12px;
  padding: 12px 16px;
  min-height: 0;
}

.prep-col { overflow-y: auto; min-height: 0; }
#prep-rules { display: flex; flex-direction: column; gap: 10px; padding-right: 2px; }

.prep-crew { display: flex; flex-direction: column; }
.crew-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 8px;
  overflow-y: auto;
  align-content: start;
  padding: 2px;
}

.prep-loadout {
  margin: 0 16px 12px;
  display: flex; align-items: center; gap: 18px;
  min-height: 74px;
}

/* ============================================================
   GAME SCREEN LAYOUT
   ============================================================ */
#ai-bar {
  display: flex; align-items: center; gap: 18px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 24, 42, 0.95), rgba(10, 14, 22, 0.8));
  position: relative;
  z-index: 5;
}

.ai-identity { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.ai-name { font-family: var(--mono); font-size: 18px; font-weight: 800; letter-spacing: 0.1em; color: var(--purple); }
.ai-status { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.08em; margin-top: 2px; }

.ai-rules { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; }

.ai-bar-right { display: flex; gap: 14px; align-items: center; }
.counter { font-family: var(--mono); text-align: right; }
.counter-label { display: block; font-size: 9px; color: var(--faint); letter-spacing: 0.14em; }
.counter span:last-child, .counter > span + span { font-size: 16px; }
.counter-gold span:last-child { color: var(--gold); text-shadow: 0 0 12px rgba(255, 215, 94, 0.35); }

.game-body {
  flex: 1;
  display: grid;
  grid-template-columns: 265px 1fr 295px;
  gap: 10px;
  padding: 10px 12px;
  min-height: 0;
}

#left-rail, #right-rail {
  display: flex; flex-direction: column; gap: 10px;
  overflow-y: auto; min-height: 0;
}

#center { display: flex; flex-direction: column; gap: 8px; min-height: 0; min-width: 0; }

#log-panel { flex: 1; min-height: 120px; display: flex; flex-direction: column; }
#event-log { flex: 1; overflow-y: auto; font-family: var(--mono); font-size: 10.5px; line-height: 1.55; }

#preview-panel { min-height: 96px; }

#sequence-area { min-height: 128px; }
.section-focus#sequence-area,
.section-focus#hand-area {
  position: relative;
  z-index: 88;
  border-radius: 14px;
  background: rgba(8, 11, 17, 0.58);
  box-shadow: 0 0 0 1px var(--focus-border, rgba(255, 215, 94, 0.45)), 0 0 28px var(--focus-glow, rgba(255, 215, 94, 0.18));
}
.section-focus#sequence-area .zone-label {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--focus-bg, rgba(41, 31, 8, 0.94));
  border: 1px solid var(--focus-border, rgba(255, 215, 94, 0.45));
  color: var(--focus-title, var(--gold));
}
.zone-label {
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  color: #8b9cb8; margin-bottom: 5px; padding-left: 4px;
}
.zone-hint { color: var(--faint); opacity: 0.7; letter-spacing: 0.04em; text-transform: none; }
#sequence-slots { display: flex; gap: 8px; align-items: stretch; min-height: 100px; }

#hand-area {
  flex: 1;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 150px;
  padding-bottom: 4px;
}
#hand-cards {
  display: flex;
  justify-content: center;
  padding: 18px 10px 6px;
  max-width: 100%;
}

#actions {
  display: flex; gap: 8px; align-items: center;
  padding: 4px 2px 2px;
}
.action-spacer { flex: 1; }

/* ---------- debug drawer ---------- */
#debug-drawer {
  position: fixed; bottom: 0; right: 14px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end;
}
#debug-toggle {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em;
  background: #191226; color: var(--purple);
  border: 1px solid #46325c; border-bottom: none;
  border-radius: 8px 8px 0 0; padding: 4px 12px;
  opacity: 0.65;
}
#debug-toggle:hover { opacity: 1; }
#debug-controls {
  display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end;
  background: rgba(20, 14, 33, 0.95);
  border: 1px solid #46325c;
  border-radius: 8px 0 0 0;
  padding: 8px; max-width: 460px;
}
#debug-drawer.collapsed #debug-controls { display: none; }

/* ---------- modal ---------- */
#modal-wrap {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(3px);
}
#modal {
  width: 460px; max-width: 92vw;
  background: var(--panel-solid);
  border: 1px solid var(--line-bright);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* ---------- resolution phase banner ---------- */
#phase-banner {
  position: fixed;
  top: var(--banner-top, 64px);
  left: var(--banner-left, 50%);
  width: var(--banner-width, min(760px, 86vw));
  transform: var(--banner-transform, translateX(-50%));
  z-index: 97;
  font-family: var(--mono); font-size: 14px; font-weight: 800; letter-spacing: 0.16em;
  color: var(--gold);
  background: rgba(10, 14, 22, 0.92);
  border: 1px solid var(--gold-deep);
  border-radius: 8px;
  padding: 7px 22px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 215, 94, 0.12);
  pointer-events: none;
  text-align: center;
}
#phase-banner.phase-ribbon {
  top: var(--banner-top, 64px);
  min-width: 0;
  text-align: center;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--ribbon-color, var(--gold));
  border-color: var(--ribbon-border, var(--gold));
  border-radius: 8px;
  padding: 14px 24px;
  background:
    linear-gradient(90deg, transparent, var(--ribbon-wash, rgba(255, 215, 94, 0.16)), transparent),
    rgba(7, 9, 15, 0.9);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.68),
    0 0 34px var(--ribbon-glow, rgba(255, 215, 94, 0.28)),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  text-shadow: 0 0 16px var(--ribbon-glow, rgba(255, 215, 94, 0.36));
}
#phase-banner.ribbon-damage {
  --ribbon-color: var(--orange);
  --ribbon-border: rgba(255, 159, 67, 0.9);
  --ribbon-glow: rgba(255, 159, 67, 0.34);
  --ribbon-wash: rgba(255, 159, 67, 0.18);
}
#phase-banner.ribbon-barrier {
  --ribbon-color: var(--hearts);
  --ribbon-border: rgba(255, 93, 122, 0.9);
  --ribbon-glow: rgba(255, 93, 122, 0.34);
  --ribbon-wash: rgba(255, 93, 122, 0.18);
}
#phase-banner.ribbon-crew {
  --ribbon-color: var(--green);
  --ribbon-border: rgba(65, 245, 143, 0.9);
  --ribbon-glow: rgba(65, 245, 143, 0.3);
  --ribbon-wash: rgba(65, 245, 143, 0.16);
}
#phase-banner.ribbon-reaction {
  --ribbon-color: var(--cyan);
  --ribbon-border: rgba(63, 217, 255, 0.9);
  --ribbon-glow: rgba(63, 217, 255, 0.32);
  --ribbon-wash: rgba(63, 217, 255, 0.16);
}
#phase-banner.ribbon-economy {
  --ribbon-color: var(--gold);
  --ribbon-border: rgba(255, 215, 94, 0.95);
  --ribbon-glow: rgba(255, 215, 94, 0.34);
  --ribbon-wash: rgba(255, 215, 94, 0.18);
}
#phase-banner.ribbon-heat {
  --ribbon-color: var(--red);
  --ribbon-border: rgba(255, 91, 110, 0.95);
  --ribbon-glow: rgba(255, 91, 110, 0.34);
  --ribbon-wash: rgba(255, 91, 110, 0.18);
}
#phase-banner.ribbon-payload {
  --ribbon-color: #d9b5ff;
  --ribbon-border: rgba(165, 108, 255, 0.95);
  --ribbon-glow: rgba(165, 108, 255, 0.34);
  --ribbon-wash: rgba(165, 108, 255, 0.18);
}
#phase-banner.ribbon-turn {
  --ribbon-color: #fff7c8;
  --ribbon-border: rgba(255, 215, 94, 1);
  --ribbon-glow: rgba(255, 215, 94, 0.44);
  --ribbon-wash: rgba(255, 215, 94, 0.24);
}
#phase-banner.ribbon-huge {
  font-size: 48px;
  padding: 20px 34px;
}

/* ---------- step-by-step advance button ---------- */
#step-next {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%);
  z-index: 85;
  font-family: var(--mono); font-size: 16px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--gold);
  background: linear-gradient(180deg, #443411, #2c210a);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 12px 30px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255, 215, 94, 0.3), 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: stepPulse 1.4s ease-in-out infinite;
}
#step-next span { font-size: 10px; color: var(--gold-deep); margin-left: 8px; letter-spacing: 0.06em; }
@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 215, 94, 0.25), 0 10px 30px rgba(0, 0, 0, 0.6); }
  50% { box-shadow: 0 0 34px rgba(255, 215, 94, 0.5), 0 10px 30px rgba(0, 0, 0, 0.6); }
}
#btn-stepmode.step-on { color: var(--gold); border-color: var(--gold-deep); }

/* ---------- center stage (played cards + payloads) ---------- */
#stage {
  position: fixed; inset: 0; z-index: 65;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  pointer-events: none;
  background: transparent;
  backdrop-filter: none;
}
#stage::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: min(900px, 82vw); height: 360px;
  transform: translate(-50%, -52%);
  border: 1px solid rgba(255, 215, 94, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 215, 94, 0.055), transparent 34%),
    radial-gradient(ellipse 760px 430px at center 45%, rgba(255, 215, 94, 0.08), transparent 64%),
    rgba(5, 7, 11, 0.9);
  box-shadow: inset 0 0 36px rgba(255, 255, 255, 0.03), 0 0 70px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}
#stage.stage-composed::before {
  opacity: 1;
  box-shadow:
    inset 0 0 36px rgba(255, 255, 255, 0.04),
    0 0 46px rgba(255, 215, 94, 0.13),
    0 0 96px rgba(0, 0, 0, 0.55);
}
#stage-payloads,
#stage-cards,
#stage-score {
  position: relative;
  z-index: 1;
}
#stage-payloads {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 124px;
  max-width: min(860px, 86vw);
  flex-wrap: wrap;
}
#stage-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 146px;
  max-width: min(760px, 84vw);
  flex-wrap: wrap;
  margin-top: -4px;
}
#stage .stage-tcard { width: 96px; height: 136px; margin: 0; }
#stage .stage-tcard .tc-rank { font-size: 26px; }
#stage .stage-tcard .tc-suit { font-size: 17px; }
#stage .stage-tcard .tc-big { font-size: 36px; top: 44px; }
#stage .stage-pcard {
  width: 150px;
  min-height: 100px;
  cursor: default;
  box-shadow: 0 0 0 1px rgba(255, 215, 94, 0.2), 0 14px 36px rgba(0, 0, 0, 0.46);
}
#stage .stage-pcard.hovering,
#stage .stage-tcard.hovering {
  animation: stageHover 2.7s ease-in-out infinite;
  animation-delay: var(--hov-delay, 0s);
  will-change: transform;
}
#stage .stage-pcard.hovering {
  filter: drop-shadow(0 0 18px rgba(165, 108, 255, 0.22));
}
#stage .stage-tcard.hovering {
  filter: drop-shadow(0 0 15px rgba(255, 215, 94, 0.2));
}
#stage-score { text-align: center; min-height: 92px; }
#stage-hand-name {
  font-family: var(--mono); font-size: 34px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 215, 94, 0.5);
}
#stage-total { margin-top: 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stage-total-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--dim); }
.stage-total-num {
  font-family: var(--mono); font-size: 40px; font-weight: 800;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 159, 67, 0.6);
}

/* spotlight: while staging, the attack packet dims the playfield.
   The left rail remains visible during staged scoring phases. */
body.staging #left-rail,
#screen-game.resolving #left-rail {
  position: relative;
  z-index: 120;
  opacity: 1 !important;
  transition: none !important;
  filter: none !important;
}
body.staging #left-rail > .panel:not(#firewall-panel):not(#barrier-panel):not(#heat-panel),
#screen-game.resolving #left-rail > .panel:not(#firewall-panel):not(#barrier-panel):not(#heat-panel) {
  opacity: 0.32;
  transition: opacity 0.3s ease;
}
body.staging #right-rail,
body.staging #ai-bar { opacity: 0.32; transition: opacity 0.3s ease; }
body.staging #center { opacity: 0.16; transition: opacity 0.3s ease; }
body.staging #firewall-panel,
body.staging #barrier-panel,
body.staging #heat-panel,
#screen-game.resolving #firewall-panel,
#screen-game.resolving #barrier-panel,
#screen-game.resolving #heat-panel {
  position: relative;
  z-index: 121;
  opacity: 1 !important;
  background: rgba(13, 19, 32, 0.98);
  backdrop-filter: none !important;
}
body.phase-aftermath #right-rail { transition: opacity 0.3s ease; }
.ai-bar-right .counter.counter-focus {
  position: relative;
  z-index: 98;
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(255, 215, 94, 0.32);
}
.section-focus {
  position: relative;
  z-index: 110;
  opacity: 1 !important;
  background: rgba(12, 16, 24, 0.98) !important;
  filter: none !important;
  box-shadow: 0 0 0 1px var(--focus-border, var(--gold-deep)), 0 0 30px var(--focus-glow, rgba(255, 215, 94, 0.2)), 0 18px 60px rgba(0, 0, 0, 0.75);
}
.section-focus .panel-title {
  color: var(--focus-title, var(--gold));
  border-color: var(--focus-border, var(--gold-deep));
  background: var(--focus-bg, rgba(41, 31, 8, 0.94));
  box-shadow: 0 0 22px var(--focus-glow, rgba(255, 215, 94, 0.26)), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.focus-barrier {
  --focus-border: rgba(255, 93, 122, 0.82);
  --focus-glow: rgba(255, 93, 122, 0.24);
  --focus-title: var(--hearts);
  --focus-bg: rgba(52, 16, 25, 0.94);
}
.focus-damage {
  --focus-border: rgba(255, 159, 67, 0.82);
  --focus-glow: rgba(255, 159, 67, 0.24);
  --focus-title: var(--orange);
  --focus-bg: rgba(54, 28, 10, 0.94);
}
.focus-heat {
  --focus-border: rgba(255, 91, 110, 0.82);
  --focus-glow: rgba(255, 91, 110, 0.24);
  --focus-title: var(--red);
  --focus-bg: rgba(56, 17, 24, 0.94);
}
.focus-crew {
  --focus-border: rgba(65, 245, 143, 0.82);
  --focus-glow: rgba(65, 245, 143, 0.24);
  --focus-title: var(--green);
  --focus-bg: rgba(10, 42, 28, 0.94);
}
.focus-reaction {
  --focus-border: rgba(63, 217, 255, 0.82);
  --focus-glow: rgba(63, 217, 255, 0.24);
  --focus-title: var(--cyan);
  --focus-bg: rgba(9, 29, 41, 0.94);
}
.focus-payload {
  --focus-border: rgba(165, 108, 255, 0.82);
  --focus-glow: rgba(165, 108, 255, 0.24);
  --focus-title: #d9b5ff;
  --focus-bg: rgba(33, 18, 48, 0.94);
}

/* ---------- small windows: scroll, don't squish ---------- */
@media (max-width: 1180px) {
  html, body { overflow: auto; }
  .screen { position: static; min-height: 100vh; }
  .game-body { min-width: 1120px; }
  .prep-main { min-width: 1040px; }
  #ai-bar, .prep-header { min-width: 1120px; }
  .prep-loadout { min-width: 1088px; }
}

/* ---------- reduced motion (spec) ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
