/* ============================================================
   GANGBIGBANG - design system
   Light/dark via html[data-theme]. Chunky playful cartoon style.
   ============================================================ */

:root {
  --accent: #ff5f2e;
  --accent-2: #ffb020;
  --accent-grad: linear-gradient(135deg, #ff5f2e, #ff2e63);
  --gold: #f6c344;
  --danger: #e02440;
  --blood: #b3121f;

  --bg: #fdf3e3;
  --bg-2: #f7e8cf;
  --card: #ffffff;
  --card-2: #fff8ec;
  --line: #ecdcc2;
  --text: #2c1e12;
  --text-dim: #8a7358;
  --shadow: 0 10px 30px rgba(90, 60, 20, .12);
  --stage-sky: radial-gradient(120% 90% at 50% 10%, #ffe9c4 0%, #ffd9a0 55%, #ffc987 100%);

  --guy-skin: #f2b98a;
  --guy-skin-dark: #d99a63;
  --guy-shirt: #4d9de0;
  --guy-shirt-dark: #3a7cb8;
  --guy-pants: #40527a;
  --guy-shoe: #2c3652;
  --guy-hair: #4a2f1d;
  --guy-eye: #26170c;
  --guy-mouth: #7a2c1e;
  --guy-tongue: #e0685e;
  --guy-flush: #e86a4e;
  --guy-sweat: #6fc3ff;
  --guy-button: #dfe9f5;
  --guy-crumb: #8a5a26;
  --guy-shadow: rgba(90, 50, 10, .18);
}

html[data-theme="dark"] {
  --bg: #12141f;
  --bg-2: #191c2b;
  --card: #1f2335;
  --card-2: #262b40;
  --line: #323852;
  --text: #f0ecff;
  --text-dim: #9a95b8;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --stage-sky: radial-gradient(120% 90% at 50% 10%, #2a2f4d 0%, #20243c 55%, #181b2d 100%);

  --guy-skin: #e8a873;
  --guy-skin-dark: #c4854e;
  --guy-shirt: #4d9de0;
  --guy-shirt-dark: #35659c;
  --guy-pants: #333f61;
  --guy-shoe: #232b42;
  --guy-shadow: rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
.display { font-family: 'Lilita One', 'Arial Black', sans-serif; letter-spacing: .5px; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
a { color: var(--accent); }

/* ------------------------------- header ------------------------------ */
.site-header {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px;
  max-width: 1400px; margin: 0 auto;
  flex-wrap: wrap;
}
.logo {
  font-family: 'Lilita One', sans-serif;
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  text-decoration: none;
}
.logo em { font-style: normal; -webkit-text-fill-color: var(--gold); }
.global-stats {
  display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap;
}
.gstat {
  background: var(--card); border: 2px solid var(--line);
  border-radius: 999px; padding: 4px 12px;
  font-size: .78rem; font-weight: 800; color: var(--text-dim);
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.gstat b { color: var(--text); font-size: .92rem; }
.icon-btn {
  background: var(--card); border: 2px solid var(--line); border-radius: 999px;
  width: 38px; height: 38px; font-size: 1.05rem; line-height: 1;
  transition: transform .15s;
}
.icon-btn:hover { transform: scale(1.12) rotate(8deg); }
.icon-btn.off { opacity: .4; filter: grayscale(1); }

/* ------------------------------- banner ------------------------------ */
.banner {
  max-width: 900px; margin: 4px auto 10px; padding: 10px 18px;
  background: var(--card); border: 3px dashed var(--gold);
  border-radius: 18px; text-align: center;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px;
}
.banner-label { font-size: .68rem; font-weight: 900; letter-spacing: 1.5px; color: var(--text-dim); text-transform: uppercase; overflow-wrap: anywhere; }
.banner-msg { font-family: 'Lilita One', sans-serif; font-size: clamp(1rem, 2.6vw, 1.5rem); line-height: 1.25; overflow-wrap: anywhere; }
.banner-empty { color: var(--text-dim); font-weight: 700; font-size: .95rem; }

/* ------------------------------- layout ------------------------------ */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 30px;
  align-items: start;
}

/* ------------------------------- cards ------------------------------- */
.card {
  background: var(--card); border: 2px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow);
  overflow: hidden;
}
.card-title {
  font-family: 'Lilita One', sans-serif; font-size: .95rem;
  padding: 12px 16px 8px; display: flex; align-items: center; gap: 8px;
  border-bottom: 2px solid var(--line);
}

/* ------------------------------- stage -------------------------------- */
.stage-card { position: relative; }

/* slim status bar ABOVE the stage - never covers the guy */
.stage-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; padding: 8px 16px;
  border-bottom: 2px solid var(--line);
}
.stage-info { font-weight: 900; font-size: .8rem; line-height: 1.3; }
.stage-info small { display: block; font-size: .62rem; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; }
.stage-info b { font-size: 1.15rem; }

#stage {
  position: relative;
  background: var(--stage-sky);
  overflow: hidden;
  height: clamp(320px, 48vh, 500px);
  display: flex; align-items: flex-end; justify-content: center;
}
#guy-wrap { height: 96%; display: flex; align-items: flex-end; }
#guy { height: 100%; width: auto; max-width: 92vw; }
#guy.gone { visibility: hidden; }

/* gauge */
.gauge-wrap { text-align: center; flex: 0 0 auto; }
.gauge { width: 104px; height: 61px; display: block; margin: 0 auto; }
.gauge-label { font-size: .58rem; font-weight: 900; letter-spacing: 1.2px; color: var(--text-dim); text-transform: uppercase; }

/* flying food + floating text */
.fly-food { position: absolute; width: 74px; height: 74px; top: 0; left: 0; z-index: 5; pointer-events: none; }
.fly-food svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.float-text {
  position: absolute; z-index: 6; transform: translate(-50%, 0);
  font-family: 'Lilita One', sans-serif; font-size: 1.5rem; color: var(--accent);
  text-shadow: 0 2px 0 rgba(0,0,0,.15); pointer-events: none; white-space: nowrap;
}
.float-text.small { font-size: .95rem; color: var(--text); opacity: .85; }

/* particles */
.particle { position: absolute; z-index: 7; pointer-events: none; }
.particle.food-bit { width: 46px; height: 46px; }
.particle.food-bit svg { width: 100%; height: 100%; }
.particle.blob { width: 22px; height: 22px; border-radius: 50% 40% 55% 45%; background: var(--blood); }

/* burst panel */
#burst-panel {
  position: absolute; inset: 0; z-index: 8;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 18px;
  background: color-mix(in srgb, var(--bg) 42%, transparent);
  backdrop-filter: blur(2px);
}
#burst-panel.show { display: flex; }
.burst-title {
  font-family: 'Lilita One', sans-serif;
  font-size: clamp(2rem, 7vw, 3.6rem);
  color: var(--danger);
  text-shadow: 0 3px 0 rgba(0,0,0,.2);
  animation: burst-pop .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes burst-pop { from { transform: scale(.2) rotate(-8deg); } to { transform: scale(1); } }
#burst-winner { font-weight: 900; font-size: clamp(1rem, 3vw, 1.4rem); overflow-wrap: anywhere; max-width: 100%; }
.burst-next { font-size: .85rem; font-weight: 800; color: var(--text-dim); }
#burst-countdown {
  font-family: 'Lilita One', sans-serif; font-size: clamp(2.2rem, 6vw, 3rem);
  color: var(--accent);
}

/* winner message box - independent overlay, lives until the message is sent */
#msg-box {
  display: none; position: fixed; z-index: 130;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(480px, 92vw);
  background: var(--card); border: 3px solid var(--gold); border-radius: 18px;
  padding: 14px; box-shadow: var(--shadow);
}
#msg-box.show { display: block; }
#msg-later {
  width: 100%; margin-top: 6px; padding: 7px;
  background: none; border: none; color: var(--text-dim);
  font-weight: 800; font-size: .75rem; text-decoration: underline;
}
#msg-pill {
  position: fixed; z-index: 125; left: 50%; bottom: 74px; transform: translateX(-50%);
  background: var(--gold); color: #4a3608;
  border: none; border-radius: 999px; padding: 11px 22px;
  font-family: 'Lilita One', sans-serif; font-size: .95rem;
  box-shadow: var(--shadow); white-space: nowrap;
  animation: pill-bounce 2.2s ease-in-out infinite;
}
@keyframes pill-bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }
#msg-box h3 { font-family: 'Lilita One', sans-serif; margin-bottom: 8px; font-size: 1.05rem; }
#msg-input {
  width: 100%; border: 2px solid var(--line); border-radius: 12px;
  background: var(--card-2); color: var(--text);
  padding: 10px 12px; font: inherit; font-weight: 700; resize: none; height: 74px;
}
#msg-count { font-size: .7rem; color: var(--text-dim); font-weight: 800; }
#msg-send {
  margin-top: 8px; width: 100%;
  background: var(--accent-grad); color: #fff; border: none; border-radius: 12px;
  padding: 11px; font-family: 'Lilita One', sans-serif; font-size: 1rem;
}
.msg-done { font-weight: 800; text-align: center; padding: 8px; }

/* blood overlay */
#blood-overlay {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0; transition: opacity .25s;
}
#blood-overlay svg { width: 100%; height: 100%; }
body.blooded #blood-overlay { opacity: .92; }
body.shaking { animation: screenshake .55s linear; }
@keyframes screenshake {
  0%,100% { transform: translate(0,0); }
  12% { transform: translate(-10px, 6px) rotate(-.6deg); }
  25% { transform: translate(9px, -7px) rotate(.5deg); }
  38% { transform: translate(-8px, -5px); }
  50% { transform: translate(8px, 6px) rotate(.4deg); }
  65% { transform: translate(-6px, 3px); }
  80% { transform: translate(4px, -3px); }
}

/* ------------------------------ tiers -------------------------------- */
.feed-zone { padding: 12px; background: var(--card); border-radius: 0 0 18px 18px; }
.feed-zone-title {
  text-align: center; font-family: 'Lilita One', sans-serif;
  font-size: 1.05rem; margin-bottom: 10px;
}
#tiers {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
}
.tier-btn {
  position: relative;
  background: var(--card-2); border: 2px solid var(--line); border-radius: 16px;
  padding: 10px 6px 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transition: transform .12s, border-color .12s, box-shadow .12s;
}
.tier-btn:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(255, 95, 46, .25);
}
.tier-btn:active { transform: scale(.97); }
.tier-art { width: 52px; height: 52px; }
.tier-art svg { width: 100%; height: 100%; }
.tier-name { font-weight: 900; font-size: .74rem; line-height: 1.1; }
.tier-kcal { font-size: .62rem; color: var(--text-dim); font-weight: 700; }
.tier-price {
  font-family: 'Lilita One', sans-serif; font-size: .95rem;
  color: #fff; background: var(--accent-grad);
  border-radius: 999px; padding: 2px 12px; margin-top: 2px;
}

/* custom amount */
#custom-form {
  margin-top: 10px; display: flex; gap: 8px; justify-content: center; align-items: center;
  flex-wrap: wrap;
}
#custom-form label { font-weight: 900; font-size: .8rem; color: var(--text-dim); }
#custom-usd {
  width: 110px; padding: 9px 12px; border: 2px solid var(--line); border-radius: 12px;
  background: var(--card-2); color: var(--text); font: inherit; font-weight: 900; font-size: 1rem;
}
.btn-whale {
  background: linear-gradient(135deg, #9c6bff, #6b34e0); color: #fff;
  border: none; border-radius: 12px; padding: 10px 18px;
  font-family: 'Lilita One', sans-serif; font-size: .95rem;
  transition: transform .12s;
}
.btn-whale:hover { transform: scale(1.05); }
.whale-max {
  text-align: center; margin-top: 6px;
  font-family: 'Lilita One', sans-serif; font-size: .95rem;
  color: var(--accent); letter-spacing: .5px;
}
.whale-max:empty { display: none; }

/* ----------------------------- boards -------------------------------- */
/* ~10 rows visible, the rest scrolls */
.board { padding: 6px 10px 12px; max-height: 460px; overflow-y: auto; scrollbar-width: thin; }
.board li {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 6px; border-bottom: 1px dashed var(--line);
  font-size: .8rem; line-height: 1.25;
}
.board li:last-child { border-bottom: none; }
.board .empty { color: var(--text-dim); font-weight: 700; justify-content: center; padding: 18px 6px; }
.b-ico { width: 30px; height: 30px; flex: 0 0 30px; }
.b-ico svg { width: 100%; height: 100%; }
.b-main { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; overflow-wrap: anywhere; }
.b-main b { font-weight: 900; }
.b-main i, .b-side i { display: block; font-style: normal; font-size: .68rem; color: var(--text-dim); }
.b-side { text-align: right; font-weight: 900; white-space: nowrap; }
.b-rank {
  font-family: 'Lilita One', sans-serif; width: 22px; text-align: center;
  color: var(--text-dim); flex: 0 0 22px;
}
.b-rank.r1 { color: var(--gold); font-size: 1.1rem; }
.b-rank.r2 { color: #b8c4d6; }
.b-rank.r3 { color: #cd7f32; }
.row-winner { background: color-mix(in srgb, var(--gold) 16%, transparent); border-radius: 10px; }

.hall-item { flex-direction: column; align-items: flex-start !important; gap: 3px !important; }
.hall-item.slotted {
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  border-radius: 12px;
}
/* breathing room between the highlighted top spots (and below them) */
.hall-item.slotted + .hall-item { margin-top: 6px; }
.hall-item.slotted { margin-bottom: 2px; }
.slot-badge {
  font-family: 'Lilita One', sans-serif; font-size: .72rem;
  border-radius: 999px; padding: 1px 8px; margin-right: 6px;
  vertical-align: middle;
}
.slot-badge.s1 { background: var(--gold); color: #4a3608; }
.slot-badge.s2 { background: #b8c4d6; color: #2c3a4d; }
.bump-btn {
  margin-top: 4px;
  border: none; border-radius: 999px;
  background: var(--accent-grad); color: #fff;
  font-weight: 900; font-size: .68rem; padding: 5px 14px;
  transition: transform .12s;
}
.bump-btn:hover { transform: scale(1.06); }
.bump-btn.gold { background: linear-gradient(135deg, #ffd83d, #f6a623); color: #4a3608; }

/* a returning winner's own message, shown below the visible list */
.hall-item.mine {
  border: 2px solid var(--accent); border-radius: 12px;
  margin-top: 8px; background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.mine-badge {
  background: var(--accent-grad); color: #fff;
  font-family: 'Lilita One', sans-serif; font-size: .68rem;
  border-radius: 999px; padding: 1px 8px; margin-right: 6px;
  vertical-align: middle; letter-spacing: .5px;
}
.hall-head { font-size: .68rem; font-weight: 900; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; overflow-wrap: anywhere; }
.hall-head i { font-style: normal; text-transform: none; letter-spacing: 0; }
.hall-msg { font-family: 'Lilita One', sans-serif; font-size: .92rem; overflow-wrap: anywhere; }
.hall-msg.dim { color: var(--text-dim); font-family: inherit; font-weight: 700; font-size: .78rem; }

/* side tabs */
#side-tabs { display: flex; gap: 6px; padding: 10px 10px 0; }
.tab-btn {
  flex: 1; background: var(--card-2); border: 2px solid var(--line);
  border-radius: 12px; padding: 7px 4px; font-weight: 900; font-size: .72rem;
  color: var(--text-dim);
}
.tab-btn.active { background: var(--accent-grad); color: #fff; border-color: transparent; }

/* share row */
.share-row { display: flex; gap: 6px; padding: 10px; flex-wrap: wrap; }
.share-btn {
  flex: 1 1 40%; border: 2px solid var(--line); background: var(--card-2); color: var(--text);
  border-radius: 12px; padding: 9px 4px; font-weight: 900; font-size: .74rem;
  white-space: nowrap; transition: transform .12s;
}
.share-btn:hover { transform: scale(1.04); }

/* provably-fair fingerprint in the footer */
.fair-line { margin-top: 6px; }
.fair-line code {
  word-break: break-all; background: var(--card);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 1px 6px; font-size: .62rem;
}

/* ------------------------------ modal --------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 14px;
  background: rgba(10, 8, 20, .6); backdrop-filter: blur(3px);
}
.modal.show { display: flex; }
.modal-card {
  width: min(440px, 100%); max-height: 92vh; overflow-y: auto;
  background: var(--card); border-radius: 22px; border: 2px solid var(--line);
  padding: 18px; position: relative; box-shadow: var(--shadow);
}
#modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--card-2); color: var(--text);
  font-size: 1rem; font-weight: 900;
}
.pm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
#pm-art { width: 64px; height: 64px; flex: 0 0 64px; }
#pm-art svg { width: 100%; height: 100%; }
#pm-title { font-family: 'Lilita One', sans-serif; font-size: 1.25rem; }
#pm-sub { color: var(--text-dim); font-weight: 800; font-size: .85rem; }
.pm-field label { display: block; font-size: .7rem; font-weight: 900; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
#pm-name {
  width: 100%; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px;
  background: var(--card-2); color: var(--text); font: inherit; font-weight: 800;
  margin-bottom: 12px;
}
/* purchase consent (EU digital-content withdrawal waiver) */
.consent-row {
  display: flex; gap: 8px; align-items: flex-start;
  margin: 4px 0 10px; cursor: pointer;
  font-size: .72rem; font-weight: 700; color: var(--text-dim); line-height: 1.45;
}
.consent-row input {
  width: 17px; height: 17px; margin-top: 2px; flex: 0 0 17px;
  accent-color: var(--accent); cursor: pointer;
}
.consent-note { font-size: .68rem; font-weight: 700; color: var(--text-dim); margin: 2px 0 8px; }
.pay-locked { opacity: .45; pointer-events: none; }

#stripe-element { margin: 10px 0; min-height: 40px; }
.pay-loading { text-align: center; color: var(--text-dim); font-weight: 700; font-size: .85rem; padding: 14px; }
#stripe-submit {
  width: 100%; border: none; border-radius: 14px; padding: 13px;
  background: var(--accent-grad); color: #fff;
  font-family: 'Lilita One', sans-serif; font-size: 1.1rem;
  transition: transform .12s;
}
#stripe-submit:hover:not(:disabled) { transform: scale(1.02); }
#stripe-submit:disabled { opacity: .6; cursor: wait; }
.pay-divider {
  display: flex; align-items: center; gap: 10px; margin: 14px 0 10px;
  color: var(--text-dim); font-size: .7rem; font-weight: 900; letter-spacing: 1px;
}
.pay-divider::before, .pay-divider::after { content: ''; flex: 1; height: 2px; background: var(--line); }
#pay-error { color: var(--danger); font-weight: 800; font-size: .8rem; min-height: 1.1em; margin-top: 8px; text-align: center; }
.test-btn {
  width: 100%; margin-top: 10px; padding: 10px; border-radius: 12px;
  border: 2px dashed var(--accent); background: transparent; color: var(--accent);
  font-weight: 900; font-size: .85rem;
}
.pay-secure { text-align: center; font-size: .65rem; color: var(--text-dim); font-weight: 700; margin-top: 10px; }

/* ------------------------------ toasts --------------------------------- */
#toasts { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: 92vw; }
.toast {
  background: var(--card); border: 2px solid var(--accent); color: var(--text);
  border-radius: 999px; padding: 10px 20px; font-weight: 900; font-size: .85rem;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(14px);
  transition: opacity .3s, transform .3s; text-align: center;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.big {
  border-width: 3px; border-color: var(--gold); border-radius: 18px;
  font-size: .95rem; padding: 14px 22px; max-width: min(440px, 88vw);
  white-space: normal; line-height: 1.45; cursor: pointer;
}

/* ------------------------------ footer --------------------------------- */
.site-footer {
  max-width: 1400px; margin: 0 auto; padding: 18px 16px 30px;
  text-align: center; color: var(--text-dim); font-size: .72rem; font-weight: 700;
  line-height: 1.7;
}
.site-footer a { margin: 0 8px; }

/* ---------------------------- responsive ------------------------------- */
@media (max-width: 780px) {
  .layout { grid-template-columns: 1fr; padding: 0 10px 24px; }
  #stage { height: clamp(300px, 44vh, 420px); }
  #tiers { grid-template-columns: repeat(3, 1fr); }
  .banner { margin: 2px 10px 8px; }
  .board { max-height: 300px; }

  /* status bar shrinks, gauge stays beside the text */
  .stage-bar { padding: 6px 12px; }
  .stage-info { font-size: .72rem; }
  .stage-info b { font-size: 1rem; }
  .gauge { width: 78px; height: 46px; }
  .gauge-label { font-size: .5rem; }

  /* much smaller icons + tighter tiles on phones */
  .tier-art { width: 36px; height: 36px; }
  .tier-btn { padding: 7px 4px 6px; gap: 2px; }
  .tier-name { font-size: .66rem; }
  .tier-kcal { font-size: .54rem; }
  .tier-price { font-size: .78rem; padding: 1px 9px; }
  .b-ico { width: 22px; height: 22px; flex: 0 0 22px; }
  .board li { font-size: .74rem; padding: 6px 4px; }
  .b-side { font-size: .74rem; }
  .banner-msg { font-size: .95rem; }
  .banner { padding: 8px 12px; }
  .feed-zone-title { font-size: .9rem; }
  #pm-art { width: 48px; height: 48px; flex: 0 0 48px; }

  /* global stats: one quiet single-line row, no chips */
  .global-stats {
    order: 3; width: 100%;
    flex-wrap: nowrap; justify-content: center; gap: 4px;
    overflow: hidden;
  }
  .gstat {
    border: none; background: none; padding: 2px 5px;
    font-size: .68rem; white-space: nowrap;
  }
  .gstat b { font-size: .78rem; }
}
@media (max-width: 380px) {
  #tiers { grid-template-columns: repeat(2, 1fr); }
}

/* big screens: never overflow, cap the guy */
@media (min-width: 1500px) {
  #stage { height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  body.shaking { animation: none; }
  .tier-btn, .share-btn, .icon-btn { transition: none; }
}
