/* ============================================================
   HalaPop · Pop. Fizz. Fast.  —  styles
   One fixed 1080×1920 stage (the 55-inch portrait totem), scaled
   uniformly to fit any screen, so every proportion stays put.
   Flat brand colours only: Hot Pink, Purple, Yellow, Cream,
   plus the five flavour colours. Depth comes from solid offset
   shadows in each colour's own darker shade.
   ============================================================ */

@font-face { font-family: "Nineties"; src: url("fonts/BehindTheNineties-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nineties"; src: url("fonts/BehindTheNineties-BoldItalic.otf") format("opentype"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --pink: #F919AF;
  --pink-dark: #C40F8A;
  --purple: #76178D;
  --purple-dark: #4E0E5E;
  --purple-light: #8B2AA6;
  --yellow: #FFF383;
  --yellow-dark: #DCC94A;
  --cream: #FFFAEA;
  --cream-dark: #F1E8CE;
  --cream-shade: #E4D9B9;
  --ink: #2E2A26;
  --stone: #D3D1C5;
  --white: #FFFFFF;
  --gold: #F2B134;

  --cherry: #D8312C;
  --ginger: #3FBFB0;
  --pom: #7A1B36;
  --strawberry: #E73C9D;
  --tangerine: #E86A1F;

  --display: "Nineties", "Outfit", Georgia, serif;
  --body: "Outfit", system-ui, -apple-system, sans-serif;

  --pad: 56px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.22, 1, .36, 1);
  --spark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 0C54 34 66 46 100 50C66 54 54 66 50 100C46 66 34 54 0 50C34 46 46 34 50 0Z'/></svg>");
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--body);
  font-size: 32px;
  color: var(--ink);
  background: var(--purple);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
  overscroll-behavior: none;
  line-height: 1.25;
  transition: background-color .35s ease;
}
/* the letterbox around the stage takes the colour of the screen in front */
body[data-screen="attract"], body[data-screen="result"], body.fire[data-screen="play"] { background: var(--pink); }
body[data-screen="mode"], body[data-screen="form"], body[data-screen="pin"], body[data-screen="admin"] { background: var(--cream); }

img { display: block; max-width: 100%; pointer-events: none; -webkit-user-drag: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; padding: 0; }
em { font-style: italic; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Stage ---------- */
#stage {
  position: fixed; left: 0; top: 0;
  width: 1080px; height: 1920px;
  transform-origin: 0 0;
  overflow: hidden;
}

/* ---------- Screens ---------- */
.screen {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  padding: var(--pad);
  isolation: isolate;
  overflow: hidden;
}
.screen.active { display: flex; z-index: 2; animation: screenIn .42s var(--out) both; }
.screen.leaving { z-index: 1; animation: screenOut .24s ease both; }
@keyframes screenIn { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
@keyframes screenOut { from { opacity: 1; } to { opacity: 0; transform: scale(.985); } }

/* ---------- Ambient fizz: bubbles rising behind every screen ---------- */
.fizz { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fizz i {
  position: absolute; left: var(--x); top: 100%;
  width: var(--s); height: var(--s);
  margin-left: calc(var(--s) / -2);
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.26);
  animation: rise var(--d) linear infinite;
  animation-delay: var(--delay);
  will-change: transform;
}
.fizz i.f { border: 0; background: rgba(255,255,255,.16); }
.screen-mode .fizz i, .screen-form .fizz i { border-color: rgba(118,23,141,.10); }
.screen-mode .fizz i.f, .screen-form .fizz i.f { background: rgba(249,25,175,.08); }
@keyframes rise {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(var(--sway), -540px); }
  50%  { transform: translate(0, -1080px); }
  75%  { transform: translate(calc(var(--sway) * -1), -1620px); }
  100% { transform: translate(0, -2160px); }
}

/* ---------- Sparkle (the brand's four-point star) ---------- */
.spark { position: absolute; width: var(--w); height: var(--w); fill: var(--col, #fff); animation: twinkle var(--d, 2.6s) ease-in-out infinite; animation-delay: var(--delay, 0s); pointer-events: none; }
@keyframes twinkle {
  0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
  40% { transform: scale(1) rotate(45deg); opacity: 1; }
  60% { transform: scale(.85) rotate(70deg); opacity: 1; }
  80% { transform: scale(0) rotate(90deg); opacity: 0; }
}

/* ---------- Type ---------- */
.h-display {
  font-family: var(--display);
  font-weight: 700;
  font-size: 124px;
  line-height: .92;
  margin: 0 0 18px;
  color: var(--purple);
  letter-spacing: -.01em;
}
.h-display em { color: var(--pink); }
.h-display.light { color: var(--white); }
.h-display.light em { color: var(--yellow); }
.lede { font-size: 40px; font-weight: 500; margin: 0 0 44px; color: var(--ink); opacity: .78; }

/* ---------- Buttons: candy keys with a solid side ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .005em;
  --key: rgba(0,0,0,.18);
  box-shadow: 0 12px 0 var(--key);
  transition: translate .12s var(--out), box-shadow .12s var(--out), background-color .15s ease;
}
.btn:active { translate: 0 9px; box-shadow: 0 3px 0 var(--key); }
.btn-giant {
  width: 100%; height: 176px; flex-shrink: 0;
  font-family: var(--display);
  font-size: 88px;
  padding: 0 1em 10px;
  box-shadow: 0 16px 0 var(--key);
  overflow: hidden;
}
.btn-giant:active { translate: 0 12px; box-shadow: 0 4px 0 var(--key); }
.btn-big { height: 140px; padding: 0 1em 8px; font-family: var(--display); font-size: 60px; flex: 1; }
.btn-mid { min-height: 72px; padding: .45em 1.3em; font-size: 26px; box-shadow: 0 6px 0 var(--key); }
.btn-mid:active { translate: 0 4px; box-shadow: 0 2px 0 var(--key); }
.btn-small { min-height: 64px; padding: .4em 1.2em; font-size: 24px; box-shadow: 0 6px 0 var(--key); }
.btn-yellow { background: var(--yellow); color: var(--purple); --key: var(--yellow-dark); }
.btn-pink { background: var(--pink); color: var(--white); --key: var(--pink-dark); }
.btn-purple { background: var(--purple); color: var(--white); --key: var(--purple-dark); }
.btn-white { background: var(--white); color: var(--pink); --key: #EBC3DF; }
.btn-outline { background: var(--white); color: var(--purple); --key: var(--stone); box-shadow: inset 0 0 0 3px var(--purple), 0 6px 0 var(--key); }
.btn-outline-danger { background: var(--white); color: var(--cherry); --key: var(--stone); box-shadow: inset 0 0 0 3px var(--cherry), 0 6px 0 var(--key); }
.btn-danger { background: var(--cherry); color: var(--white); --key: #9E1F1B; }
.btn > span { position: relative; z-index: 1; }

/* a sheen that sweeps across the main call to action */
.shine::before {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 120px;
  background: rgba(255,255,255,.55);
  transform: skewX(-22deg) translateX(-220px);
  animation: sheen 3.8s ease-in-out infinite 1.2s;
}
@keyframes sheen { 0%, 62% { transform: skewX(-22deg) translateX(-220px); } 100% { transform: skewX(-22deg) translateX(1200px); } }
.breathe { animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.025; } }

/* ---------- Top bar (cream screens) ---------- */
.top-bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  height: 112px; margin-bottom: 36px; flex: 0 0 auto;
}
.btn-back {
  height: 92px; padding: 0 34px 4px 28px;
  background: var(--white); color: var(--purple);
  font-size: 32px; font-weight: 700;
  --key: var(--cream-shade); box-shadow: 0 8px 0 var(--key);
}
.btn-back:active { translate: 0 6px; box-shadow: 0 2px 0 var(--key); }
.top-logo { height: 100px; width: auto; }
.top-spacer { width: 196px; }

/* ============================================================
   ATTRACT
   ============================================================ */
.screen-attract {
  background: var(--pink);
  color: var(--white);
  align-items: center;
  padding: 76px var(--pad) 84px;
}
.attract-logo { width: 372px; flex-shrink: 0; }
.attract-stage { position: relative; flex: 1; width: 100%; margin: 20px 0 40px; }
.attract-panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(70px);
  transition: opacity .45s var(--out), transform .55s var(--out), visibility 0s linear .55s;
}
.attract-panel.is-on {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .5s var(--out) .2s, transform .75s var(--spring) .2s, visibility 0s;
}

.attract-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 214px;
  line-height: .86;
  letter-spacing: -.02em;
  margin: 0;
  width: 100%;
  display: flex; flex-direction: column;
  text-shadow: 0 11px 0 var(--pink-dark);
}
.attract-title .w { display: block; transform-origin: 50% 85%; animation: wordBeat 4.4s var(--out) infinite; }
.attract-title .w:nth-child(1) { align-self: flex-start; margin-left: 34px; }
.attract-title .w:nth-child(2) { align-self: center; margin-left: 40px; animation-delay: .22s; }
.attract-title .w:nth-child(3) { align-self: flex-end; margin-right: 24px; animation-delay: .44s; color: var(--yellow); font-style: italic; }
@keyframes wordBeat {
  0%, 26%, 100% { transform: none; }
  7%  { transform: scale(1.1) rotate(-3deg); }
  14% { transform: scale(.97) rotate(1.5deg); }
  20% { transform: scale(1.01) rotate(0deg); }
}

/* the line-up: five flavours, five worlds */
.lineup { display: flex; justify-content: center; align-items: flex-end; gap: 22px; height: 420px; margin-top: 56px; }
.lu { position: relative; width: 168px; height: 320px; }
.lu-pill {
  position: absolute; inset: 0;
  border-radius: 999px;
  background: var(--c);
  box-shadow: 0 0 0 7px var(--white), 0 16px 0 7px var(--pink-dark);
  animation: pillPulse 3.4s var(--out) infinite;
  animation-delay: calc(var(--i) * .17s);
}
.lu img {
  position: absolute; left: 50%; bottom: 22px;
  height: 384px; width: auto; max-width: none;
  margin-left: -74px;
  transform-origin: 50% 100%;
  animation: hop 3.4s var(--out) infinite;
  animation-delay: calc(var(--i) * .17s);
}
@keyframes hop {
  0%, 36%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  8%  { transform: translateY(-74px) scale(1.03) rotate(-5deg); }
  16% { transform: translateY(0) scale(1) rotate(0deg); }
  23% { transform: translateY(-12px) scale(1) rotate(1deg); }
  30% { transform: translateY(0) scale(1) rotate(0deg); }
}
@keyframes pillPulse {
  0%, 36%, 100% { transform: scale(1); }
  16% { transform: scale(1.04); }
  24% { transform: scale(.99); }
}
.attract-sub { font-size: 42px; font-weight: 600; margin: 64px 0 0; text-align: center; }

.attract-scores .scores-title {
  font-family: var(--display); font-size: 112px; line-height: 1; margin: 0 0 48px;
  text-shadow: 0 9px 0 var(--pink-dark);
}

/* ---------- Leaderboard rows (attract and leaderboard) ---------- */
.board-list { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 20px; }
.board-list li {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 28px;
  height: 128px; padding: 0 48px 0 16px;
  border-radius: 999px;
  background: var(--purple); color: var(--white);
  box-shadow: 0 10px 0 var(--purple-dark);
  animation: rowIn .62s var(--spring) both;
  animation-delay: calc(var(--i, 0) * 75ms + 120ms);
}
.board-list .rank {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 54px; line-height: 1; padding-bottom: 6px;
  background: rgba(255,255,255,.14);
}
.board-list li.top1 .rank { background: var(--yellow); color: var(--purple); }
.board-list li.top2 .rank { background: var(--pink); color: var(--white); }
.board-list li.top3 .rank { background: var(--white); color: var(--purple); }
.board-list .name { display: flex; align-items: center; gap: 20px; min-width: 0; font-size: 54px; font-weight: 600; }
.board-list .name b { font-weight: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-list .flav { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 5px var(--white); }
.board-list .score { font-family: var(--display); font-size: 76px; line-height: 1; padding-bottom: 8px; }
.board-list li.me { background: var(--yellow); color: var(--purple); box-shadow: 0 10px 0 var(--yellow-dark); }
.board-list li.me .rank { background: var(--purple); color: var(--yellow); }
.board-list li.me .flav { box-shadow: 0 0 0 5px var(--purple); }
.board-list li.empty-row { display: block; height: auto; padding: 0; background: none; box-shadow: none; text-align: center; }
.board-list .empty { display: block; font-size: 46px; font-weight: 600; opacity: .92; }
@keyframes rowIn { from { opacity: 0; transform: translateX(140px) scale(.92); } to { opacity: 1; transform: none; } }

/* ============================================================
   MODE
   ============================================================ */
.screen-mode, .screen-form, .screen-pin { background: var(--cream); }
.mode-inner { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.mode-cards { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 76px; padding: 40px 0 24px; }
.mode-card {
  position: relative;
  height: 588px; flex-shrink: 0;
  display: flex; align-items: flex-end;
  border-radius: 64px;
  padding: 60px;
  text-align: left; color: var(--white);
  box-shadow: 0 20px 0 var(--key);
  transition: translate .14s var(--out), box-shadow .14s var(--out);
}
.mode-card:active { translate: 0 15px; box-shadow: 0 5px 0 var(--key); }
.mode-cans { background: var(--pink); --key: var(--pink-dark); }
.mode-boxes { background: var(--purple); --key: var(--purple-dark); }
.mode-label { position: relative; z-index: 2; }
.mode-label strong { display: block; font-family: var(--display); font-size: 128px; line-height: .9; }
.mode-label span { display: block; font-size: 40px; font-weight: 600; margin-top: 18px; opacity: .95; max-width: 400px; }
.mode-go {
  display: inline-flex; align-items: center; margin-top: 40px; height: 88px; padding: 0 44px 6px;
  border-radius: 999px; background: var(--yellow); color: var(--purple);
  font-family: var(--display); font-style: normal; font-size: 46px;
  box-shadow: 0 8px 0 var(--key);
}
.mode-art { position: absolute; right: 40px; bottom: 56px; width: 420px; height: 560px; pointer-events: none; }
.mode-art img { position: absolute; left: 50%; bottom: 0; width: auto; max-width: none; transform-origin: 50% 100%; animation: bob 2.8s ease-in-out infinite; }
.mc { height: 540px; margin-left: -104px; }
.mc-1 { transform: translateX(-112px) rotate(-11deg) scale(.84); animation-delay: -.6s; }
.mc-3 { transform: translateX(112px) rotate(11deg) scale(.84); animation-delay: -1.3s; }
.mc-2 { transform: translateY(-22px); }
.mb { height: 330px; margin-left: -144px; }
.mb-1 { transform: translateX(-80px) rotate(-8deg) scale(.74); animation-delay: -.7s; }
.mb-3 { transform: translateX(80px) rotate(8deg) scale(.74); animation-delay: -1.4s; }
.mb-2 { transform: translateY(-10px); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -20px; } }
.mode-card:active .mode-art img { animation: jump .4s var(--spring); }
@keyframes jump { 0% { translate: 0 0; } 45% { translate: 0 -60px; } 100% { translate: 0 0; } }

/* ============================================================
   FORM
   ============================================================ */
.form-inner { flex: 1; display: flex; flex-direction: column; overflow-y: auto; touch-action: pan-y; }
/* the form sits high so the keyboard under each field stays at standing height on the totem */
.screen-form .h-display { font-size: 96px; }
.screen-form .lede { margin-bottom: 26px; }
.field { display: block; margin-bottom: 18px; }
.field-label { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 26px; color: var(--purple); margin-bottom: 12px; }
.field input {
  width: 100%; height: 112px;
  font: inherit; font-size: 50px; font-weight: 500;
  color: var(--ink);
  background: var(--white);
  border: 4px solid var(--stone);
  border-radius: 36px;
  padding: 0 40px 4px;
  outline: none;
  box-shadow: 0 8px 0 var(--cream-shade);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-user-select: text; user-select: text;
}
.field input::placeholder { color: #BDB7A6; }
.field input:focus { border-color: var(--pink); box-shadow: 0 8px 0 var(--pink-dark); caret-color: var(--pink); }
.field input.invalid { border-color: var(--cherry); box-shadow: 0 8px 0 #9E1F1B; animation: nudge .3s ease; }
@keyframes nudge { 25% { translate: -10px 0; } 75% { translate: 8px 0; } }
.field-hint { display: block; min-height: 1.2em; margin-top: 6px; font-size: 30px; color: var(--pink); font-weight: 700; }

.consent { display: flex; align-items: center; gap: 24px; cursor: pointer; margin: 6px 0 10px; min-height: 96px; }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent-box {
  flex: 0 0 auto; width: 72px; height: 72px;
  border: 4px solid var(--stone); border-radius: 22px; background: var(--white);
  box-shadow: 0 6px 0 var(--cream-shade);
  display: grid; place-items: center; transition: all .15s ease;
}
.consent-box::after { content: ""; width: 34px; height: 18px; border-left: 7px solid var(--white); border-bottom: 7px solid var(--white); transform: rotate(-45deg) translate(3px, -4px) scale(.4); opacity: 0; transition: all .25s var(--spring); }
.consent input:checked + .consent-box { background: var(--pink); border-color: var(--pink); box-shadow: 0 6px 0 var(--pink-dark); }
.consent input:checked + .consent-box::after { opacity: 1; transform: rotate(-45deg) translate(3px, -4px) scale(1); }
.consent-text { font-size: 40px; font-weight: 600; }
.privacy { font-size: 26px; opacity: .6; margin: 0 0 12px; }
.form-error { color: var(--cherry); font-weight: 700; min-height: 1.3em; margin: 0 0 18px; text-align: center; font-size: 32px; }
.form-inner .btn-giant { margin-top: 8px; margin-bottom: 20px; }

/* ============================================================
   COUNTDOWN
   ============================================================ */
.screen-countdown {
  background: var(--purple);
  color: var(--white);
  align-items: center; justify-content: center; text-align: center;
}
.cd-name { position: absolute; top: 300px; left: 0; right: 0; margin: 0; font-size: 84px; font-weight: 700; }
.cd-stage { position: relative; width: 800px; height: 800px; display: grid; place-items: center; }
.cd-disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 16px var(--white), 0 32px 0 16px var(--purple-dark);
}
.cd-disc.pop { animation: discPop .62s var(--spring) both; }
@keyframes discPop { 0% { transform: scale(.15) rotate(-40deg); } 100% { transform: none; } }
.cd-number {
  position: relative;
  font-family: var(--display);
  font-size: 560px; line-height: 1;
  padding-bottom: 70px;
  color: var(--white);
  text-shadow: 0 18px 0 rgba(0,0,0,.16);
}
.cd-number.pop { animation: numSlam .6s var(--spring) both .04s; }
.cd-number.go { font-size: 330px; padding-bottom: 50px; color: var(--purple); text-shadow: none; }
@keyframes numSlam { 0% { transform: scale(2.4) rotate(8deg); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.cd-hint { position: absolute; bottom: 300px; left: 0; right: 0; margin: 0; font-size: 46px; font-weight: 600; opacity: .92; }

/* ============================================================
   PLAY
   ============================================================ */
.screen-play {
  background: var(--purple);
  color: var(--white);
  padding: 0;
  --shade: var(--purple-dark);
  transition: background-color .35s ease;
}
.screen-play.on-fire { background: var(--pink); --shade: var(--pink-dark); }

.hud { position: absolute; top: 12px; left: var(--pad); right: var(--pad); height: 300px; transform: scale(.6); transform-origin: 50% 0; }
.hud-label { display: block; font-size: 26px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; opacity: .78; }
.hud-score { position: absolute; left: 0; top: 64px; }
.hud-value { display: block; font-family: var(--display); font-size: 140px; line-height: 1; margin-top: 4px; transform-origin: 0 70%; }
.hud-value.bump { animation: bump .3s var(--out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.16); color: var(--yellow); } 100% { transform: scale(1); } }

.hud-timer { position: absolute; left: 50%; top: 0; width: 300px; height: 300px; margin-left: -150px; display: grid; place-items: center; }
.timer-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.tr-bg { fill: var(--shade); transition: fill .35s ease; }
.tr-track { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 9; }
.tr-fill { fill: none; stroke: var(--yellow); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 307.88; stroke-dashoffset: 0; }
.hud-time { position: relative; font-family: var(--display); font-size: 150px; line-height: 1; padding-bottom: 22px; color: var(--yellow); }
.hud-timer.urgent .tr-fill { stroke: var(--white); }
.hud-timer.urgent .hud-time { color: var(--white); }
.screen-play:not(.on-fire) .hud-timer.urgent .tr-fill { stroke: var(--pink); }
.screen-play:not(.on-fire) .hud-timer.urgent .hud-time { color: var(--pink); }
.hud-time.beat { animation: beat .5s var(--out); }
@keyframes beat { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }

.hud-streak { position: absolute; right: 0; top: 64px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.streak-dots { display: flex; gap: 8px; margin-top: 22px; }
.streak-dots i {
  width: 46px; height: 46px;
  background: rgba(255,255,255,.24);
  -webkit-mask: var(--spark) center / contain no-repeat;
  mask: var(--spark) center / contain no-repeat;
  transition: background-color .15s ease;
}
.streak-dots i.on { background: var(--yellow); animation: dotPop .4s var(--spring); }
@keyframes dotPop { 0% { transform: scale(.3) rotate(-60deg); } 100% { transform: none; } }
.hud-mult {
  display: inline-block; margin-top: 18px; padding: 2px 26px 12px;
  border-radius: 999px; background: var(--yellow); color: var(--purple);
  font-family: var(--display); font-size: 58px; line-height: 1;
  box-shadow: 0 7px 0 var(--yellow-dark);
  opacity: 0; transform: scale(.3) rotate(-20deg);
  transition: opacity .2s ease, transform .4s var(--spring);
}
.hud-mult.on { opacity: 1; transform: rotate(-6deg); animation: wiggle 1.3s ease-in-out infinite .4s; }
@keyframes wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(4deg) scale(1.06); } }

/* callouts under the board */
.play-footer {
  position: absolute; top: 1252px; left: 24px; right: 24px; height: 160px; margin: 0;
  display: grid; place-items: center; text-align: center;
  font-size: 42px; font-weight: 600; opacity: .72; white-space: nowrap;
}
.play-footer.shout {
  opacity: 1; font-family: var(--display); font-size: 108px; line-height: 1; padding-bottom: 14px;
  color: var(--yellow); text-shadow: 0 9px 0 var(--shade);
  animation: slam .55s var(--spring) both;
}
.play-footer.shout.fire { animation: slam .55s var(--spring) both, throb 1.1s ease-in-out infinite .6s; }
.play-footer.shout.lost { font-size: 76px; color: var(--white); animation: drop .5s var(--out) both; }
.play-footer.shout.golden { font-size: 140px; }
.play-footer.shout.time { font-size: 140px; color: var(--white); }
@keyframes slam { 0% { transform: scale(2.6) rotate(-8deg); opacity: 0; } 50% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes throb { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes drop { 0% { transform: translateY(-40px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* the board: a cream tray of round wells */
.board-wrap { position: absolute; left: 32px; top: 204px; width: 1016px; height: 1016px; }
.play-lineup { position: absolute; left: 0; right: 0; top: 1418px; margin: 0; transform: scale(.88); transform-origin: 50% 0; pointer-events: none; }
.play-lineup .lu-pill, .play-lineup img { animation: none; }
.board-wrap.shake { animation: boardShake .18s linear; }
@keyframes boardShake { 25% { translate: -5px 3px; } 50% { translate: 4px -3px; } 75% { translate: -3px -2px; } }
.grid {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr);
  gap: 20px; padding: 28px;
  background: var(--cream);
  border-radius: 64px;
  box-shadow: 0 20px 0 var(--shade);
  transition: box-shadow .35s ease;
}
.screen-play.on-fire .grid { box-shadow: 0 0 0 12px var(--yellow), 0 22px 0 12px var(--shade); }
.screen-play.ended .grid .well { opacity: .55; transition: opacity .4s ease; }

.cell { position: relative; z-index: 1; }
.cell.lit, .cell.hit { z-index: 4; }
.cell .well {
  position: absolute; inset: 5%;
  border-radius: 50%;
  background: var(--cream-dark);
  box-shadow: inset 0 14px 0 rgba(118,23,141,.11), inset 0 -5px 0 rgba(255,255,255,.75);
}
.cell .disc {
  position: absolute; inset: 10%;
  border-radius: 50%;
  background: var(--c, var(--pink));
  box-shadow: inset 0 -12px 0 rgba(0,0,0,.16);
  transform: scale(0);
}
.cell .rays {
  position: absolute; inset: -34%;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--gold) 0deg 11deg, transparent 11deg 30deg);
  opacity: 0; transform: scale(.3);
  pointer-events: none;
}
.cell .life { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; opacity: 0; pointer-events: none; }
.cell .life circle { fill: none; stroke: var(--purple); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 289.03; stroke-dashoffset: 0; }

.cell.lit .life { opacity: 1; }
.cell.lit .life circle { animation: drain var(--life) linear both; }
.cell.lit .disc { animation: discLife var(--life) linear both; }
.cell.golden-cell .disc { background: var(--gold); }
.cell.golden-cell .rays { opacity: 1; transform: scale(1); transition: opacity .2s ease, transform .35s var(--spring); animation: spin 3s linear infinite; }
.cell.golden-cell .life circle { stroke: var(--gold); }
@keyframes drain { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 289.03; } }
@keyframes discLife {
  0%  { transform: scale(0); }
  9%  { transform: scale(1.14); }
  16% { transform: scale(.96); }
  22%, 76% { transform: scale(1); opacity: 1; }
  100% { transform: scale(.55); opacity: .5; }
}
@keyframes spin { to { rotate: 360deg; } }

.cell.hit .disc { animation: discBurst .45s var(--out) both; }
@keyframes discBurst { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.55); opacity: 0; } }

.cell.missed .well { animation: wellMiss .38s ease both; }
@keyframes wellMiss {
  0%, 100% { translate: 0 0; background: var(--cream-dark); }
  15% { translate: -9px 0; background: #F7CBC9; }
  35% { translate: 8px 0; }
  55% { translate: -5px 0; }
  75% { translate: 3px 0; }
}

/* the item: springs out of its well, wobbles, then fizzes back down */
.item {
  position: absolute; left: 50%; bottom: 15%;
  height: 126%; aspect-ratio: 247 / 640;
  translate: -50% 0;
  transform-origin: 50% 100%;
  z-index: 3;
  animation: itemLife var(--life) linear both;
}
.item::before {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -3%; height: 7%;
  border-radius: 50%; background: rgba(46,14,40,.26);
}
.item img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.item.boxes { height: 80%; aspect-ratio: 557 / 640; bottom: 25%; }
.item.golden img { animation: goldGlint .5s ease-in-out infinite alternate; }
@keyframes goldGlint { from { scale: 1; } to { scale: 1.06; } }
@keyframes itemLife {
  0%   { transform: translateY(48%) scale(.4) rotate(0deg); opacity: 0; }
  8%   { transform: translateY(-11%) scale(1.06) rotate(-2deg); opacity: 1; }
  15%  { transform: translateY(2%) scale(.98) rotate(0deg); opacity: 1; }
  22%  { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
  42%  { transform: translateY(0) scale(1) rotate(-3deg); opacity: 1; }
  60%  { transform: translateY(0) scale(1) rotate(3deg); opacity: 1; }
  74%  { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translateY(58%) scale(.6) rotate(0deg); opacity: 0; }
}
.item.popped { animation: popOut .4s var(--out) both; pointer-events: none; }
@keyframes popOut {
  0%   { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
  30%  { transform: translateY(-26%) scale(1.2) rotate(calc(var(--spin) * .35)); opacity: 1; }
  100% { transform: translateY(-105%) scale(.45) rotate(var(--spin)); opacity: 0; }
}

.float-score {
  position: absolute; left: 50%; top: -14%; z-index: 6;
  translate: -50% 0;
  padding: 4px 26px 14px;
  border-radius: 999px;
  background: var(--c, var(--pink)); color: var(--white);
  font-family: var(--display); font-size: 62px; line-height: 1;
  box-shadow: 0 0 0 6px var(--white), 0 10px 0 6px rgba(46,14,40,.18);
  white-space: nowrap; pointer-events: none;
  animation: scoreFloat .9s var(--out) both;
}
.float-score.big { background: var(--yellow); color: var(--purple); font-size: 72px; }
.float-score.gold { background: var(--gold); color: var(--white); font-size: 92px; }
@keyframes scoreFloat {
  0%   { transform: translateY(40px) scale(.3) rotate(-12deg); opacity: 0; }
  18%  { transform: translateY(-24px) scale(1.16) rotate(5deg); opacity: 1; }
  32%  { transform: translateY(-34px) scale(1) rotate(0deg); opacity: 1; }
  72%  { opacity: 1; }
  100% { transform: translateY(-150px) scale(.9) rotate(0deg); opacity: 0; }
}

.flash { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: var(--yellow); opacity: 0; }
.flash.on { animation: flash .65s ease-out both; }
@keyframes flash { 0% { opacity: .9; } 100% { opacity: 0; } }

/* particles for every screen, drawn in stage pixels */
.fx { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; z-index: 50; pointer-events: none; }

/* ============================================================
   RESULT
   ============================================================ */
.screen-result { background: var(--pink); color: var(--white); align-items: center; }
.result-inner { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; height: 100%; padding: 104px 0 28px; }
.result-kicker { font-size: 64px; font-weight: 700; margin: 0; animation: drop .5s var(--out) both .1s; }
.result-score {
  font-family: var(--display); font-size: 380px; line-height: .9; margin-top: 16px;
  text-shadow: 0 18px 0 var(--pink-dark);
  font-variant-numeric: tabular-nums;
  animation: numSlam .6s var(--spring) both .15s;
}
.result-score.land { animation: land .45s var(--spring); }
@keyframes land { 0% { transform: scale(1.18); } 100% { transform: scale(1); } }
.result-rank {
  display: inline-block; margin: 34px 0 0; padding: 8px 52px 22px;
  border-radius: 999px; background: var(--yellow); color: var(--purple);
  font-family: var(--display); font-size: 88px; line-height: 1;
  box-shadow: 0 11px 0 var(--pink-dark);
  rotate: -3deg;
  animation: badgeIn .7s var(--spring) both 1.15s;
}
@keyframes badgeIn { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: none; } }

.result-flavour {
  position: relative;
  width: 100%; height: 330px; margin-top: 120px;
  display: flex; align-items: center; text-align: left;
  padding: 0 56px 0 330px;
  border-radius: 60px;
  background: var(--c, var(--purple));
  box-shadow: 0 0 0 10px var(--white), 0 24px 0 10px var(--pink-dark);
  animation: cardIn .7s var(--spring) both 1.35s;
}
.rf-art { position: absolute; left: 92px; bottom: 34px; height: 420px; }
.rf-art img { height: 100%; width: auto; max-width: none; transform-origin: 50% 100%; animation: sway 3.2s ease-in-out infinite; }
.result-flavour.is-boxes { padding-left: 400px; }
.result-flavour.is-boxes .rf-art { left: 52px; height: 300px; }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-10px); } }
.result-flavour-label { display: block; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: 26px; opacity: .92; }
.result-flavour strong { display: block; font-family: var(--display); font-size: 80px; line-height: .98; margin: 12px 0 14px; }
.result-flavour-sub { display: block; font-weight: 600; font-size: 34px; opacity: .92; }
@keyframes cardIn { 0% { transform: translateY(120px) scale(.85); opacity: 0; } 100% { transform: none; opacity: 1; } }

.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; margin-top: 88px; }
.result-stats div {
  background: var(--white); color: var(--purple);
  border-radius: 44px; padding: 26px 0 30px;
  box-shadow: 0 12px 0 var(--pink-dark);
  animation: cardIn .6s var(--spring) both;
  animation-delay: calc(1.55s + var(--i) * .09s);
}
.result-stats strong { display: block; font-family: var(--display); font-size: 100px; line-height: 1; padding-bottom: 6px; }
.result-stats span { display: block; margin-top: 6px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: 25px; color: var(--pink); }
.result-actions { display: flex; gap: 32px; width: 100%; margin-top: auto; }

/* ============================================================
   LEADERBOARD
   ============================================================ */
.screen-board { background: var(--purple); color: var(--white); }
.board-inner { display: flex; flex-direction: column; align-items: center; height: 100%; width: 100%; }
.board-logo { width: 210px; margin: 24px 0 34px; flex-shrink: 0; }
.screen-board .h-display { font-size: 118px; margin-bottom: 52px; text-align: center; text-shadow: 0 10px 0 var(--purple-dark); }
.board-inner .board-list { flex: 1; min-height: 0; overflow: hidden; gap: 16px; padding-bottom: 12px; }
.board-list.big li { height: 106px; flex-shrink: 0; background: var(--purple-light); box-shadow: 0 9px 0 var(--purple-dark); }
.board-list.big li.me { background: var(--yellow); box-shadow: 0 9px 0 var(--yellow-dark); }
.board-list.big .rank { width: 80px; height: 80px; font-size: 46px; }
.board-list.big .name { font-size: 50px; }
.board-list.big .score { font-size: 70px; }
.board-inner .btn-giant { margin-top: 36px; margin-bottom: 28px; }

/* ============================================================
   ADMIN PIN
   ============================================================ */
.screen-pin { align-items: center; justify-content: center; text-align: center; }
.pin-inner { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 760px; }
.pin-dots { display: flex; gap: 28px; margin: 10px 0 56px; }
.pin-dots i { width: 40px; height: 40px; border-radius: 50%; border: 5px solid var(--purple); transition: background .1s ease; }
.pin-dots i.on { background: var(--purple); }
.pin-dots.wrong { animation: nudge .3s ease; }
.pin-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; width: 100%; }
.pin-pad button {
  height: 168px;
  background: var(--white); border-radius: 44px;
  font-family: var(--display); font-size: 78px; color: var(--purple); padding-bottom: 10px;
  box-shadow: 0 10px 0 var(--cream-shade);
  transition: translate .1s ease, box-shadow .1s ease;
}
.pin-pad button:active { translate: 0 7px; box-shadow: 0 3px 0 var(--cream-shade); }
.pin-pad .pad-alt { font-family: var(--body); font-weight: 700; font-size: 34px; background: transparent; box-shadow: inset 0 0 0 4px var(--stone); }
.pin-pad .pad-alt:active { box-shadow: inset 0 0 0 4px var(--stone); }

/* ============================================================
   ADMIN
   ============================================================ */
.screen-admin { background: var(--cream); padding: 32px 32px 0; font-size: 27px; }
.admin-bar { gap: 24px; margin-bottom: 24px; flex-wrap: wrap; height: auto; min-height: 96px; }
.admin-bar .top-logo { height: 72px; }
.admin-tabs { display: flex; gap: 10px; flex: 1; justify-content: center; flex-wrap: wrap; }
.admin-tabs button {
  min-height: 64px; padding: .3em 1.1em; border-radius: 999px;
  font-weight: 700; color: var(--purple); font-size: 24px;
  background: transparent; box-shadow: inset 0 0 0 3px var(--stone);
}
.admin-tabs button.active { background: var(--purple); color: var(--white); box-shadow: none; }
.admin-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; padding-bottom: 40px; }
.admin-tab { display: none; }
.admin-tab.active { display: block; }
.admin-h { font-family: var(--display); color: var(--purple); font-size: 44px; margin: 1.2em 0 .5em; }
.admin-h.danger { color: var(--cherry); }
.admin-note { font-size: 22px; opacity: .65; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(236px, 1fr)); gap: 20px; }
.stat { background: var(--white); border-radius: 28px; padding: 22px 26px; box-shadow: 0 5px 0 var(--stone); min-height: 160px; }
.stat-label { display: block; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 18px; color: var(--purple); opacity: .8; }
.stat strong { display: block; font-family: var(--display); font-size: 64px; line-height: 1.05; color: var(--purple); margin-top: .15em; }
.stat-sub { display: block; font-size: 20px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.split { display: flex; border-radius: 999px; overflow: hidden; height: 56px; background: var(--white); box-shadow: 0 5px 0 var(--stone); font-weight: 700; }
.split div { display: flex; align-items: center; justify-content: center; color: var(--white); min-width: 0; white-space: nowrap; overflow: hidden; font-size: 22px; transition: width .4s ease; }
.split .cans { background: var(--pink); } .split .boxes { background: var(--purple); }
.flav-bars { display: grid; gap: .5em; }
.flav-bar { display: grid; grid-template-columns: minmax(8em, 13em) 1fr auto; align-items: center; gap: .8em; font-weight: 600; }
.flav-bar .bar { height: 30px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 2px var(--stone); overflow: hidden; }
.flav-bar .bar i { display: block; height: 100%; border-radius: 999px; transition: width .4s ease; }

.btn-row { display: flex; flex-wrap: wrap; gap: 18px; margin: .5em 0; }

.admin-toolbar { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-toolbar input[type="search"] {
  flex: 1; min-width: 12em; font: inherit; font-size: 27px; padding: .5em .9em; min-height: 70px;
  border: 3px solid var(--stone); border-radius: 999px; background: var(--white); outline: none;
  -webkit-user-select: text; user-select: text;
}
.admin-toolbar input[type="search"]:focus { border-color: var(--pink); }
.admin-count { font-weight: 600; opacity: .7; white-space: nowrap; }
.toggle-row { display: flex; align-items: center; gap: .5em; font-weight: 600; min-height: 70px; }
.toggle-row input { width: 1.6em; height: 1.6em; accent-color: var(--pink); }

.table-wrap { overflow: auto; background: var(--white); border-radius: 28px; box-shadow: 0 5px 0 var(--stone); -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
.table { width: 100%; border-collapse: collapse; font-size: 22px; }
.table th, .table td { padding: .6em .8em; text-align: left; white-space: nowrap; border-bottom: 1px solid #EEEBDD; vertical-align: middle; }
.table th { position: sticky; top: 0; background: var(--cream); color: var(--purple); text-transform: uppercase; letter-spacing: .1em; font-size: .8em; z-index: 1; }
.table td.num { font-family: var(--display); color: var(--purple); font-size: 1.15em; }
.table .pill { display: inline-block; padding: .15em .7em; border-radius: 999px; font-size: .85em; font-weight: 700; }
.table .pill.yes { background: #DDF5EF; color: #1B7F6E; }
.table .pill.no { background: #F2F0E6; color: #8A867A; }
.table .pill.cans { background: #FFE1F5; color: #B50A7E; }
.table .pill.boxes { background: #EEDDF3; color: var(--purple); }
.table .del { min-height: 52px; padding: .3em .9em; border-radius: 999px; color: var(--cherry); font-weight: 700; box-shadow: inset 0 0 0 2px var(--cherry); font-size: .9em; }
.table .del:active { background: var(--cherry); color: var(--white); }
.table .muted { opacity: .55; }
.table .empty td { text-align: center; padding: 2em; opacity: .6; }

.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 20px; }
.setting { display: flex; flex-direction: column; gap: .4em; background: var(--white); border-radius: 28px; padding: 22px 26px; box-shadow: 0 5px 0 var(--stone); }
.setting span { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 18px; color: var(--purple); }
.setting input, .setting select {
  font: inherit; font-size: 27px; font-weight: 600; padding: .4em .7em; min-height: 66px;
  border: 3px solid var(--stone); border-radius: .5em; background: var(--cream); color: var(--ink); outline: none;
  -webkit-user-select: text; user-select: text;
}
.setting input:focus, .setting select:focus { border-color: var(--pink); }

/* ---------- Modal ---------- */
.modal { position: absolute; inset: 0; z-index: 100; background: rgba(46,42,38,.55); display: flex; align-items: center; justify-content: center; padding: var(--pad); }
.modal[hidden] { display: none; }
.modal-card { background: var(--cream); border-radius: 44px; padding: 52px; max-width: 860px; width: 100%; box-shadow: 0 14px 0 var(--cream-shade); font-size: 30px; }
.modal-card h3 { font-family: var(--display); color: var(--purple); font-size: 64px; margin: 0 0 .3em; }
.modal-card p { margin: 0 0 1em; }
.modal-card .btn-row { justify-content: flex-end; }

/* ---------- Admin hotspot & toast ---------- */
#admin-hotspot { position: absolute; right: 0; bottom: 0; width: 160px; height: 160px; z-index: 90; }
.toast {
  position: absolute; left: 50%; bottom: 80px; transform: translate(-50%, 30px);
  background: var(--ink); color: var(--white); padding: .7em 1.3em; border-radius: 999px; font-weight: 600; font-size: 30px;
  opacity: 0; transition: all .25s ease; z-index: 200; pointer-events: none; max-width: 90%; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .fizz, .sparkles { display: none; }
  .breathe, .shine::before, .attract-title .w, .lu img, .lu-pill, .mode-art img, .rf-art img, .cell.golden-cell .rays, .hud-mult.on { animation: none; }
}

/* ============================================================
   KEYBOARD: our own, a small popup under the field
   ============================================================ */
.kb {
  position: absolute; z-index: 30;
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px;
  background: var(--purple);
  border-radius: 40px;
  box-shadow: 0 14px 0 var(--purple-dark);
  touch-action: none;
}
.kb[hidden] { display: none; }
.kb::before { content: ""; position: absolute; top: -20px; left: 64px; border: 22px solid transparent; border-top: 0; border-bottom: 22px solid var(--purple); }
.kb.up::before { top: auto; bottom: -20px; border-bottom: 0; border-top: 22px solid var(--purple); }
.kb.in { animation: kbIn .14s var(--out) both; }
@keyframes kbIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.kb-row { display: flex; gap: 10px; justify-content: center; width: 100%; }
.kb button {
  flex: 0 0 auto; width: var(--kw, 84px); min-width: 0; height: 88px;
  border-radius: 22px;
  background: var(--white); color: var(--purple);
  font-family: var(--body); font-weight: 700; font-size: 40px; line-height: 1;
  box-shadow: 0 6px 0 var(--cream-shade);
}
.kb[data-layout="phone"] button { height: 96px; font-size: 48px; }
.kb button.down { transform: translateY(5px); box-shadow: 0 1px 0 var(--cream-shade); background: var(--yellow); }
.kb .kb-fn { background: var(--purple-light); color: var(--white); box-shadow: 0 6px 0 var(--purple-dark); }
.kb .kb-go { background: var(--pink); color: var(--white); box-shadow: 0 6px 0 var(--pink-dark); font-size: 34px; }
.kb .kb-space, .kb .kb-com { font-size: 30px; }
.kb .kb-dom { font-size: 25px; background: var(--cream); white-space: nowrap; overflow: hidden; }
.kb .kb-fn.down, .kb .kb-go.down { box-shadow: 0 1px 0 var(--purple-dark); }
.kb.caps .kb-ch { text-transform: uppercase; }
.kb.caps .kb-shift { background: var(--yellow); color: var(--purple); }

/* ============================================================
   LITE: weak kiosk chips get the same game with less behind it
   ============================================================ */
.lite .screen.active { animation: liteIn .18s ease both; }
.lite .screen.leaving { animation: liteOut .14s ease both; }
@keyframes liteIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes liteOut { from { opacity: 1; } to { opacity: 0; } }
.lite .fizz i { will-change: auto; }
.lite .shine::after, .lite .shine::before,
.lite .breathe,
.lite .attract-title .w,
.lite .lu-pill, .lite .lu img,
.lite .mode-art img,
.lite .rf-art img,
.lite .hud-mult.on,
.lite .item.golden img { animation: none; }
.lite .spark { animation-duration: 4s; }
.lite .play-footer.shout.fire { animation: slam .55s var(--spring) both; }
.lite body, .lite .grid { transition: none; }
