/* style.base.css (generated) — shared styles (no mode-specific overrides) */
/* style.css - Bingo Crypt (Roy) - Crypt UI Clean Build */
:root{
  --bg:#1e0396;
  --panel:rgba(13, 252, 5, 0.06);
  --text:#e8eeff;

  --border:rgba(27, 2, 2, 0.11);
  --border2:rgba(12, 0, 0, 0.12);

  --shadow:0 16px 30px rgba(0,0,0,.35);
  --shadow2:0 18px 40px rgba(0,0,0,.45);

  --glass:rgba(27, 0, 0, 0.22);
}*{box-sizing:border-box}body{
  margin:0;
  padding:16px;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:radial-gradient(circle at 20% 0%, #1a2b5f 0%, var(--bg) 55%) fixed;
  color:var(--text);
}.container{max-width:820px;margin:0 auto}.container.crypt{max-width:820px}.row{display:flex;gap:12px;flex-wrap:wrap}.panel{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  box-shadow:var(--shadow);
}.smallText{font-size:12px;opacity:.85;margin-top:6px}/* Duel badge */
.duelBadge{
  display:none;
  margin: 8px auto 4px;
  opacity:.9;
}.duelBadge img{
  height: 48px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
}/* ===== HUD (TOP PANEL) — LOCKED ===== */
.hud{
  position: relative;
  z-index: 50;
  margin-bottom: 12px;

  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px;

  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 18px 38px rgba(12,0,0,.45), inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}/* columns */
.hud-left{ flex:1 1 auto; min-width:0; display:flex; align-items:flex-start; gap:10px; }.hud-right{ display:flex; align-items:flex-start; gap:10px; }/* IMPORTANT: hide mid controls in HUD (status/join moved later) */
.hud-mid{ display:none !important; }/* brand wrapper */
.brand{ display:flex; align-items:flex-start; gap:10px; }/* layout inside left block: title row then info row */
.brand-text{
  flex:1 1 auto;
  min-width:0;
  width:100%;

  display:flex;
  flex-direction:column;
  gap:10px;
}/* Row that holds left meta + right chips */
.brand-sub-row{
  width:100%;
  display:flex;
  align-items:flex-start;
  justify-content:space-between; /* key */
  gap:12px;
}/* left stack pinned to left edge */
.meta-pills{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}/* right stack pinned to right edge */
.chip-row{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
}/* 4) ONE pill style used for ALL pills in top HUD */
.hud .pill,
.hud .chip,
.hud .meta-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;

  padding:4px 10px;
  border-radius:999px;

  font-size:11px;
  font-weight:800;
  line-height:1;

  background: rgba(1, 17, 63, 0.92);
  border: 1px solid rgba(10, 253, 2, 0.18);
  color: rgba(255,255,255,.92);

  white-space:nowrap;
}/* label/value hierarchy */
.hud .chip-k,
.hud .meta-k{ opacity:.78; font-weight:700; letter-spacing:.4px; }.hud .chip-v,
.hud .meta-v{ opacity:1; font-weight:900; }/* right-align chip content internally */
.hud .chip{ justify-content:flex-end; text-align:right; }/* left-align meta content internally */
.hud .meta-pill{ justify-content:flex-start; text-align:left; }.brand-text{ gap: 0px; }/* was 10+ */
.brand-title{ margin-bottom: 0; }.hud-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}/* Center logo: softer, blends into HUD */
.brand-title-img{
  /* kill heavy dark outline feel */
  filter:
    drop-shadow(0 0 16px rgba(255,255,255,.22))
    drop-shadow(0 10px 22px rgba(0,0,0,.28));
  /* optional but usually looks great */
  mix-blend-mode: screen;
  opacity: .98;
}
.hud-action{
  height:38px;
  padding:0 14px;
  font-weight:900;
}.hud-action{
  margin-right:10px;
  white-space:nowrap;
}@media (max-width: 720px){
  .hud-action{ margin-right:0; }
}/* Hide referrals button inside the game UI */
#referralsBtn {
  display: none !important;
}/* ===== Buttons ===== */
button{
  cursor:pointer;
  border:none;
  border-radius:14px;
  padding:10px 12px;
  font-weight:800;
  color:var(--text);
  background:rgba(255,255,255,.08);
  border:1px solid var(--border2);
  box-shadow:0 10px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.10);
  transition: transform 0.10s ease, filter 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}button:active{transform: translateY(1px) scale(0.99)}button:disabled{opacity:.45;cursor:not-allowed;filter:none}button:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(255,255,255,.18)}button.closed{background:rgba(255,82,82,.16)}/* JS toggles */
button.hostBtn{
  background:#22c55e;
  border:1px solid rgba(255,255,255,0.22);
  box-shadow:0 6px 18px rgba(34,197,94,0.18);
}button.notHostBtn{
  background:#7f1d1d;
  opacity:0.55;
  cursor:not-allowed;
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:none;
}button.pausedState{
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}/* ===== Host row ===== */
.hostRow{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:space-between;
}.joinBtn{min-width:92px}.hostControls{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
  flex:1 1 auto;
  min-width:220px;
  pointer-events:auto;
}.hostLabel{
  font-size:10px;
  opacity:0.75;
  font-weight:900;
  letter-spacing:0.6px;
  text-transform:uppercase;
}.hostButtons{
  display:flex;
  gap:6px;
  padding:6px;
  border-radius:14px;
  background:rgba(255,255,255,0.06);
  border:1px solid var(--border);
  backdrop-filter: blur(6px);
  flex-wrap:wrap;
  justify-content:flex-start;
}.hostButtons button:active{transform: scale(0.96); filter: brightness(1.06)}/* Small pill buttons used in host area */
.btn-compact{
  padding:6px 12px;
  font-size:0.78rem;
  border-radius:999px;
  font-weight:800;
  min-width:72px;
  min-height:30px;
  line-height:1;
}/* ===== Big ball (single source of truth) ===== */
/* Canonical sizing:
   - Base: desktop/default
   - <=520px: mobile
   - <=420px: small mobile
*/

/* Base (desktop/default) */
.big.ball{
  width: 112px;
  height: 112px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
  margin: 6px auto;
  border: 5px solid rgba(255,255,255,0.88);
  box-shadow: 0 22px 55px rgba(0,0,0,.55),
              0 0 28px rgba(255,255,255,.18),
              inset 0 2px 0 rgba(255,255,255,.14);
  position: relative;
}.big.ball .ballInner{
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  color: #111;
}/* Spotlight sizing (base) */
.spotlight-ring{ width: 190px; height: 190px; }.spotlight-glow{ width: 200px; height: 200px; }/* Mobile browsers */
@media (max-width: 520px){
  .big.ball{
    width: 110px;
    height: 110px;
    border-width: 5px;
    margin: 6px auto;
  }
  .big.ball .ballInner{
    width: 58px;
    height: 58px;
    font-size: 18px;
  }
  .spotlight-ring{ width: 200px; height: 200px; }
  .spotlight-glow{ width: 240px; height: 240px; }
}/* Small mobile */
@media (max-width: 420px){
  .big.ball{
    width: 104px;
    height: 104px;
  }
  .big.ball .ballInner{
    width: 54px;
    height: 54px;
    font-size: 17px;
  }
  .spotlight-ring{ width: 150px; height: 150px; }
  .spotlight-glow{ width: 215px; height: 215px; }
}/* Optional: give idle ball a touch more presence */
.idle-ball{
  transform: scale(1.05);
}/* Reveal pulse */
@keyframes ballPulse {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.12); }
  70%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}.big.ball.reveal{animation: ballPulse 420ms ease-out}/* Ball colours */
.ball-b{background:linear-gradient(145deg,#1e88ff,#0d47a1)}.ball-i{background:linear-gradient(145deg,#9c27b0,#4a148c)}.ball-n{background:linear-gradient(145deg,#00c853,#1b5e20)}.ball-g{background:linear-gradient(145deg,#ffd600,#ff8f00);color:#000}.ball-o{background:linear-gradient(145deg,#ff5252,#b71c1c)}.ball.small{
  width:36px;height:36px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:900;margin:4px;
  border:1px solid var(--border2);
  box-shadow:0 10px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.10)
}/* Drawn balls layout */
#drawn{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  padding-top:4px;
}/* ===== Card grid ===== */
#cardGrid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.cell{
  position:relative;
  background:rgba(255,255,255,.06);
  border:1px solid var(--border2);
  border-radius:14px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  font-size:18px;
  box-shadow:0 10px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08)
}.cell.free{font-size:12px;letter-spacing:.6px}/* Stronger dab feedback (works for both modes) */
.cell.daubed{
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%),
    rgba(43,124,255,.16);
  border-color: rgba(43,124,255,.45);
  box-shadow:
    0 0 0 2px rgba(255,255,255,.08) inset,
    0 0 22px rgba(43,124,255,.40);
  transform: translateY(-1px);
}/* Dab “stamp” */
.cell.daubed::before{
  content:"";
  position:absolute;
  width:34px;
  height:34px;
  border-radius:999px;
  background: rgba(43,124,255,.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 8px 18px rgba(0,0,0,.28);
  opacity:.95;
}/* Dab check mark */
.cell.daubed::after{
  content:"";
  position:absolute;
  font-size:22px;
  font-weight:1000;
  color: rgba(255,255,255,.92);
  text-shadow: 0 6px 14px rgba(0,0,0,.45);
}.cell.win{
  box-shadow:0 0 0 2px rgba(255,214,0,.22) inset, 0 0 22px rgba(255,214,0,.45);
  border-color:rgba(255,214,0,.55);
  filter:brightness(1.15)
}.claimedGold{
  color: #ffd66b;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255,215,0,.25);
}/* Live Feed – claim success */
.feedItem.win{
  border-color: rgba(255,215,0,.45);
  background: rgba(255,215,0,.12);
  color: #fff8d6;
  box-shadow: 0 12px 26px rgba(0,0,0,.35);
}/* Live Feed – claim rejection */
.feedItem.err{
  border-color: rgba(255,82,82,.45);
  background: rgba(255,82,82,.12);
  color: #ffecec;
  box-shadow: 0 12px 26px rgba(0,0,0,.35);
}/* Most recent */
.cell.last{
  outline: 3px solid rgba(255,255,255,0.95);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.35), 0 0 14px rgba(255,255,255,0.35);
  transform: scale(1.06);
  position: relative;
  z-index: 2;
  animation: lastPing 300ms ease-out;
}.cell.last.daubed{filter: brightness(1.2) saturate(1.4)}@keyframes lastPing {
  0% { transform: scale(1); }
  40% { transform: scale(1.10); }
  100% { transform: scale(1.06); }
}#cardGrid.fullhouse{animation:fullHousePulse 1s ease-out 2}@keyframes fullHousePulse{
  0%{transform:scale(1);filter:brightness(1)}
  45%{transform:scale(1.02);filter:brightness(1.2)}
  100%{transform:scale(1);filter:brightness(1)}
}/* ===== Column headers ===== */
.colHeader{
  display:flex;align-items:center;justify-content:center;
  font-size:17px;font-weight:900;letter-spacing:1px;color:#fff;
  padding:10px 0;line-height:1;border-radius:12px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35), 0 6px 14px rgba(0,0,0,0.25);
}.colHeader[data-c="0"]{box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35), 0 6px 14px rgba(0,0,0,0.25), 0 0 10px rgba(37,99,235,0.75), 0 0 18px rgba(37,99,235,0.55)}.colHeader[data-c="1"]{box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35), 0 6px 14px rgba(0,0,0,0.25), 0 0 10px rgba(220,38,38,0.75), 0 0 18px rgba(220,38,38,0.55)}.colHeader[data-c="2"]{box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35), 0 6px 14px rgba(0,0,0,0.25), 0 0 10px rgba(22,163,74,0.75), 0 0 18px rgba(22,163,74,0.55)}.colHeader[data-c="3"]{box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35), 0 6px 14px rgba(0,0,0,0.25), 0 0 10px rgba(250,204,21,0.85), 0 0 20px rgba(250,204,21,0.6)}.colHeader[data-c="4"]{box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35), 0 6px 14px rgba(0,0,0,0.25), 0 0 10px rgba(249,115,22,0.8), 0 0 18px rgba(249,115,22,0.6)}@keyframes headerGlowPulse{
  0%{filter:brightness(1)}
  50%{filter:brightness(1.15)}
  100%{filter:brightness(1)}
}.gameRunning .colHeader{animation: headerGlowPulse 2.5s ease-in-out infinite}/* ===== Join button states ===== */
#joinBtn.joinOpen{
  background:#22c55e;
  border:1px solid rgba(255,255,255,0.22);
  box-shadow:0 8px 18px rgba(34,197,94,0.18);
}#joinBtn.joinRegistered{
  background:#f59e0b;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 8px 18px rgba(245,158,11,0.16);
}#joinBtn.joinClosed{
  background:#7f1d1d;
  opacity:0.65;
  cursor:not-allowed;
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:none;
}/* Idle ball image */
.idle-ball{
  width:80%;
  height:auto;
  display:block;
  margin:0 auto;
  animation: idlePulse 2s ease-in-out infinite;
}@keyframes idlePulse{
  0%{transform:scale(1);opacity:0.9}
  50%{transform:scale(1.05);opacity:1}
  100%{transform:scale(1);opacity:0.9}
}/* Banner */
#banner{
  padding:10px 12px;
  border-radius:14px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
  margin-bottom:10px;
  font-weight:800;
}#banner.hidden{display:none}/* Winner “pop” styling */
#banner.winnerBanner{
  margin: 10px 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  background: linear-gradient(135deg, rgba(255,215,0,.95), rgba(255,105,180,.95));
  color: #111;
  transform: translateY(8px) scale(.96);
  opacity: 0;
  pointer-events: none;
}#banner.winnerBanner.show{
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: winnerPop 420ms cubic-bezier(.2, .9, .2, 1), winnerGlow 1400ms ease-in-out infinite;
}@keyframes winnerPop{
  0%{transform: translateY(14px) scale(.90); filter: blur(1px);}
  60%{transform: translateY(-2px) scale(1.03); filter: blur(0);}
  100%{transform: translateY(0) scale(1);}
}@keyframes winnerGlow{
  0%,100%{box-shadow: 0 10px 30px rgba(0,0,0,.18), 0 0 0 rgba(255,215,0,0);}
  50%{box-shadow: 0 10px 30px rgba(0,0,0,.18), 0 0 28px rgba(255,215,0,.55);}
}/* Grid layout */
.grid-2{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
  margin-top:12px;
}@media (min-width: 720px){
  .grid-2{grid-template-columns: 1fr 1fr;}
}/* ================================
   CLAIM BUTTON (shared)
   ================================ */

.claimRow{
  display:flex;
  justify-content:center;
  align-items:center;
}/* ================================
   CLAIM BUTTON — PNG IS THE BUTTON
   ================================ */

.claimBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0;

  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;

  cursor:pointer;
}/* Hide text everywhere (badge already contains wording) */
.claimBtn span{
  display:none;
}/* The image IS the button */
.claimIcon{
  width: 220px;          /* desktop width for wide badge */
  height: auto;          /* prevents squashing */
  display:block;

  /* Make it feel like a button */
  filter:
    drop-shadow(0 18px 36px rgba(0,0,0,.55))
    drop-shadow(0 0 18px rgba(255,255,255,.10));

  transition: transform .12s ease, filter .12s ease, opacity .12s ease;
}/* Hover/press feedback */
.claimBtn:hover .claimIcon{
  transform: translateY(-1px) scale(1.02);
  filter:
    drop-shadow(0 22px 44px rgba(0,0,0,.60))
    drop-shadow(0 0 22px rgba(255,255,255,.14));
}.claimBtn:active .claimIcon{
  transform: translateY(0) scale(.98);
}/* Disabled */
.claimBtn:disabled{
  cursor:not-allowed;
}.claimBtn:disabled .claimIcon{
  opacity: .45;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}/* ================================
   Mobile tuning
   ================================ */
@media (max-width: 420px){
  .claimIcon{ width: 180px; }
}/* Hide mode selector entirely (TG is source of truth) */
.modeSelect {
  display: none !important;
}/* Mobile tightening */
@media (max-width: 420px){
  body{padding:12px}
  .hud{top:8px}
  .chip{min-width:84px}
  .spotlight-ring{width:210px;height:210px}
  .spotlight-glow{width:260px;height:260px}
}/* Wider layout */
@media (min-width: 560px){
  .hostRow{ flex-wrap:nowrap; }
  .hostControls{ min-width: 320px; }
}/* ===== Mobile browser layout fixes ===== */
@media (max-width: 520px){

  /* Keep chips visible and not off-screen */
  .chip{
    flex:1 1 calc(50% - 8px);
    min-width: 0;
  }

  /* Hide the “Status: Running” line (you wanted it gone) */
  #gameStatus{
    display:none;
  }

  /* Make host controls left-aligned */
  .hostRow{
    justify-content:flex-start;
  }
  .hostControls{
    align-items:flex-start;
  }
  .hostButtons{
    justify-content:flex-start;
  }

}@keyframes duelPulse {
  0%   { box-shadow: 0 0 0 2px rgba(255,82,82,.10) inset, 0 0 16px rgba(255,82,82,.10); }
  50%  { box-shadow: 0 0 0 2px rgba(255,82,82,.16) inset, 0 0 22px rgba(255,82,82,.16); }
  100% { box-shadow: 0 0 0 2px rgba(255,82,82,.10) inset, 0 0 16px rgba(255,82,82,.10); }
}/* When paused, dim the hero slightly and make status pill pop */
body.gamePaused .hero{
  filter: saturate(0.9) brightness(0.92);
}body.gamePaused #bingoStatusBtn{
  box-shadow: 0 10px 18px rgba(0,0,0,.35),
              0 0 26px rgba(255,214,0,.25),
              inset 0 1px 0 rgba(255,255,255,.10);
}/* PAUSED overlay ribbon */
body.gamePaused .hero::after{
  content:"⏸️ PAUSED";
  position:absolute;
  left:12px;
  right:12px;
  top:12px;
  padding:10px 12px;
  border-radius:14px;
  text-align:center;
  font-weight:1000;
  letter-spacing:1px;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  pointer-events:none;
}/* Running: subtle “live” glow */
body.gameRunning #bingoStatusBtn{
  box-shadow: 0 10px 18px rgba(0,0,0,.35),
              0 0 26px rgba(0,200,83,.18),
              inset 0 1px 0 rgba(255,255,255,.10);
}/* Ended: stronger stop look */
body.gameEnded #bingoStatusBtn{
  box-shadow: 0 10px 18px rgba(0,0,0,.35),
              0 0 26px rgba(255,82,82,.18),
              inset 0 1px 0 rgba(255,255,255,.10);
}body.gamePaused .big.ball.reveal{
  animation: none;
}.chip-v{
  font-size:11px;
  letter-spacing:0.4px;
  opacity:0.85;
}.modeBtn:disabled{
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.35);
}.modeBtn:disabled::after{
  content: "🔒";
  margin-left: 6px;
  opacity: .6;
}/* Fix crown floating + lock it next to "Host Controls" */
.hostLabel{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:6px !important;
  line-height:1 !important;
  margin-bottom:6px; /* gives it breathing room above buttons */
}/* Host crown – make it visible & intentional */
.hostCrown{
  display:none;
  width:30px;
  height:30px;
  flex:0 0 24px;
  filter: drop-shadow(0 0 8px rgba(255,215,0,.75));
}body.isHost .hostCrown{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}.hostCrown img{
  display:block;
  width:30px;
  height:30px;
  object-fit:contain;
}@media (min-width: 560px){
  .hostCrown,
  .hostCrown img{
    width:30px;
    height:30px;
  }
}/* =========================================================
   HERO PANEL (Classic mini) — Logo + Countdown + Next Ball
   ========================================================= */

.hero.hero-mini{
  position:relative;
  border:1px solid var(--border2);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius:25px;
  box-shadow:0 12px 24px rgba(0,0,0,.35);
  overflow:hidden;
}.hero-mini-top{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:14px 14px;
}.hero.hero-mini .hero-divider{
  height:1px;
  background:rgba(255,255,255,.08);
}.hero.hero-mini .hero-focus{
  padding:16px 14px 14px;
  text-align:center;
}.hero.hero-mini .focus-label{
  font-size:12px;
  letter-spacing:.25em;
  opacity:.8;
  font-weight:900;
  margin-bottom:10px;
}/* rely on existing .big.ball sizing */
.hero.hero-mini .big.ball{
  margin:8px auto 4px;
}.hero.hero-mini.is-paused .big.ball{ opacity:.55; filter:saturate(.7); }.hero.hero-mini.is-ended  .big.ball{ opacity:.75; }/* Ensure TOP HUD scrolls normally (not sticky/fixed) */
header.hud,
.hud{
  position: relative !important;
  top: auto !important;
}/* HOST BAR (Host Only controls) */
.hostBar{
  width:100%;
  margin-top:8px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}.hostBar-label{
  font-size:11px;
  letter-spacing:.22em;
  opacity:.75;
  font-weight:900;
  white-space:nowrap;
}.hostBar-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}@media (max-width: 420px){
  .hostBar{
    flex-direction:column;
    align-items:stretch;
  }
  .hostBar-actions{
    justify-content:center;
  }
}/* Countdown row compact + dedicated */
.hero-mini-top{
  padding:10px 14px;
  justify-content:center;
}.hero-countdown{
  font-weight:1000;
  letter-spacing:.4px;
  opacity:.95;
  font-size:14px;
  white-space:nowrap;
}/* Next Ball label readability */
.hero.hero-mini .focus-label{
  font-weight:1000;
  letter-spacing:.3em;
  font-size:25px;
  margin: 10px 0 14px;
  text-shadow: 0 12px 12px rgba(185, 8, 8, 0.55);
}/* ===== Watermark: TOP HUD (BBB) ===== */
.hud{
  position:relative;
  overflow:hidden;
}.hud-watermark{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;

  /* full width, controlled height feel */
  background-image:url("assets/classic-bingo-king.png");
  background-repeat:no-repeat;
  background-position:50% 45%;
  background-size:100% auto;      /* fills width */
  opacity:0.22;                   /* tune */
  filter:blur(1px);

  /* reduce perceived height by fading out bottom */
  -webkit-mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 55%,
    rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 55%,
    rgba(0,0,0,0) 100%);
}.hud > *{
  position:relative;
  z-index:1;
}.hud-watermark{
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  left:0 !important;  

}/* ===== HERO: status + join moved from HUD ===== */
.hero-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  margin-top:10px;
}/* Keep your state colours */
.hero-actions .bingoStatus.running{ background: rgba(0,200,83,.28); }.hero-actions .bingoStatus.paused { background: rgba(255,214,0,.24); }.hero-actions .bingoStatus.stopped{ background: rgba(255,82,82,.22); }/* ===== HERO ACTIONS (Status + Join) ===== */
.hero-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  margin-top:10px;
}/* make both feel like primary controls */
.hero-actions .bingoStatus,
.hero-actions .joinInHud{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:8px 16px;
  border-radius:999px;

  font-size:12px;
  font-weight:900;
  letter-spacing:.3px;
  line-height:1;

  /* match HUD pill family (your chosen style) */
  background: rgba(1, 17, 63, 0.92);
  border: 1px solid rgba(10, 253, 2, 0.18);
  color: rgba(255,255,255,.92);

  box-shadow: 0 10px 18px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08);
}/* status state colours */
.hero-actions .bingoStatus.running{ background: rgba(0,200,83,.28); }.hero-actions .bingoStatus.paused { background: rgba(255,214,0,.24); }.hero-actions .bingoStatus.stopped{ background: rgba(255,82,82,.22); }/* ===== HERO STATUS (replaces NEXT BALL text) ===== */
.hero-status{
  display:flex;
  justify-content:center;
  margin-bottom:12px;
}.heroStatus{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding:8px 18px;
  border-radius:999px;

  font-size:13px;
  font-weight:900;
  letter-spacing:.4px;
  line-height:1;

  background: rgba(1, 17, 63, 0.92);
  border: 1px solid rgba(10, 253, 2, 0.18);
  color: rgba(255,255,255,.95);

  box-shadow:
    0 10px 20px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.12);
}/* States */
.heroStatus.waiting{
  background: linear-gradient(
    135deg,
    rgba(140,90,0,.35),
    rgba(90,40,0,.35)
  );
}.heroStatus.running{
  background: linear-gradient(
    135deg,
    rgba(0,160,90,.45),
    rgba(0,110,70,.45)
  );
}.heroStatus.paused{
  background: linear-gradient(
    135deg,
    rgba(180,140,0,.45),
    rgba(120,90,0,.45)
  );
}.heroStatus.ended{
  background: linear-gradient(
    135deg,
    rgba(160,0,40,.45),
    rgba(90,0,30,.45)
  );
}.hero-status{
  display:flex;
  justify-content:center;
  margin-bottom:12px;
}.heroStatus{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding:8px 18px;
  border-radius:999px;

  font-size:13px;
  font-weight:900;
  letter-spacing:.4px;
  line-height:1;

  background: rgba(1, 17, 63, 0.92);
  border: 1px solid rgba(10, 253, 2, 0.18);
  color: rgba(255,255,255,.95);

  box-shadow: 0 10px 20px rgba(0,0,0,.35),
              inset 0 1px 0 rgba(255,255,255,.12);
}.heroStatus.waiting{ background: rgba(226, 121, 24, 0.28); }.heroStatus.running{ background: rgba(5, 199, 63, 0.32); }.heroStatus.paused { background: rgba(226, 74, 4, 0.3); }.heroStatus.ended  { background: rgba(247, 2, 2, 0.28); }/* HERO focus becomes a clean vertical stack */
.hero-focus{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}/* status pill centered */
.hero-status{
  width:100%;
  display:flex;
  justify-content:center;
  margin:0;
}/* keep the ball centered */
.focus-ball{
  margin:0 auto;
}/* actions row (Join) */
.hero-actions{
  display:flex;
  justify-content:center;
  margin-top:10px;
}/* Join pill sizing (stable width, slimmer) */
.hero-actions .joinInHud{
  min-width: 132px;         /* keeps width stable across labels */
  justify-content: center;
  padding: 6px 12px;
  font-size: 12px;
}@media (max-width:520px){
  .hero-actions{
    flex-direction:column;
    align-items:center;     /* not stretch */
  }
  .hero-actions .joinInHud{
    width:auto;             /* prevents full width */
  }
}/* ===== HUD: pills either side of centered logo ===== */
.brand-text.hudTopRow{
  width:100%;
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:flex-start;   /* 👈 KEY FIX */
  column-gap:16px;
}/* left stack pinned */
.brand-text.hudTopRow .meta-pills{
  justify-self:start;
  align-items:flex-start;
}/* right stack pinned */
.brand-text.hudTopRow .chip-row{
  justify-self:end;
  align-items:flex-end;
}/* ===== HUD TOP ROW: FINAL LOCK ===== */
.brand-text.hudTopRow{
  width:100%;
  display:grid;
  grid-template-columns: auto 1fr auto;   /* pills | logo | pills */
  column-gap:16px;
  align-items:start;
}/* left pills pinned */
.brand-text.hudTopRow .meta-pills{
  justify-self:start;
  align-items:flex-start;
  margin:0;
}/* right pills pinned */
.brand-text.hudTopRow .chip-row{
  justify-self:end;
  align-items:flex-end;
  margin:0;
}/* ===== HUD (TOP PANEL) — FINAL ===== */
.hud{
  position: relative;
  z-index: 50;
  margin-bottom: 12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 18px 38px rgba(12,0,0,.45), inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}.hud-left{ flex:1 1 auto; min-width:0; display:flex; align-items:flex-start; gap:10px; }.hud-right{ display:flex; align-items:flex-start; gap:10px; }/* IMPORTANT: status/join moved to hero */
.hud-mid{ display:none !important; }/* ===== HUD: pills either side of centered logo ===== */
.brand-text.hudTopRow{
  width:100%;
  display:grid;
  grid-template-columns: auto 1fr auto;   /* left pills | logo | right pills */
  column-gap:16px;
  align-items:start;
}/* left stack */
.brand-text.hudTopRow .meta-pills{
  justify-self:start;
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}/* right stack */
.brand-text.hudTopRow .chip-row{
  justify-self:end;
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
}/* unified pill style */
.hud .chip,
.hud .meta-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  line-height:1;
  background: rgba(1, 17, 63, 0.92);
  border: 1px solid rgba(10, 253, 2, 0.18);
  color: rgba(255,255,255,.92);
  white-space:nowrap;
}.hud .chip-k,
.hud .meta-k{ opacity:.78; font-weight:700; letter-spacing:.4px; }.hud .chip-v,
.hud .meta-v{ opacity:1; font-weight:900; }.hud .chip{ justify-content:flex-end; text-align:right; }.hud .meta-pill{ justify-content:flex-start; text-align:left; }/*Status Message and Timer */
#status{
  text-align:center;
}#status{
  margin-top:10px;
  font-size:12px;
  letter-spacing:.3px;
  opacity:.75;
}#status{
  font-weight:600;
  font-variant-numeric: tabular-nums; /* great for timers */
}.winners .panelTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 12px;
}.winner-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}.winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,215,0,0.12);
  transition: all 0.2s ease;
}.winner-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,215,0,0.15);
}.winner-label {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 700;
}.winner-value {
  font-size: 1rem;
  font-weight: 900;
  color: #ffd54f;
  text-shadow: 0 0 8px rgba(255,215,0,0.4);
}.winner-value:not(:empty):not(—) {
  animation: goldPulse 2s infinite;
}@keyframes goldPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}/* Mobile adjustments */
@media (max-width: 520px) {
  .winner-item {
    font-size: 0.9rem;
    padding: 10px;
  }
}.live-feed .panelTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 12px;
}.status-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(1, 17, 63, 0.92);
  border: 1px solid rgba(10, 253, 2, 0.18);
  color: white;
  font-weight: 900;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}.feed-container {
  max-height: 140px;
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}.feed-item {
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border-left: 4px solid #4caf50;
  opacity: 0;
  transform: translateY(10px);
  animation: feedIn 0.4s forwards;
}@keyframes feedIn {
  to { opacity: 1; transform: translateY(0); }
}.feed-banner {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,193,7,0.15);
  border: 1px solid rgba(255,193,7,0.4);
  text-align: center;
  font-weight: 700;
}/* Scrollbar styling */
.feed-container::-webkit-scrollbar {
  width: 5px;
}.feed-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}/* ========================================
   RESPONSIVE GRID FOR WINNERS + LIVE FEED
   ======================================== */
.grid-2.responsive-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0;
}@media (min-width: 640px) {
  .grid-2.responsive-stack {
    flex-direction: row;
    gap: 20px;
  }
  .grid-2.responsive-stack > * {
    flex: 1;
  }
}/* ========================================
   SHARED PANEL STYLES (enhanced)
   ======================================== */
.panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease;
}.panel:hover {
  transform: translateY(-2px);
}.panelTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}.icon {
  font-size: 1.4rem;
}/* ========================================
   WINNERS PANEL
   ======================================== */
.winner-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}.winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,215,0,0.15);
  transition: all 0.25s ease;
}.winner-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255,215,0,0.2);
  border-color: rgba(255,215,0,0.35);
}.winner-label {
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.9;
}.winner-value {
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffd54f;
  text-shadow: 0 0 10px rgba(255,215,0,0.5);
}.winner-value:not(:empty):not(—) {
  animation: goldPulse 2.5s infinite;
}@keyframes goldPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}/* ========================================
   LIVE FEED PANEL
   ======================================== */
.status-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(1, 17, 63, 0.92);
  border: 1px solid rgba(10, 253, 2, 0.22);
  color: white;
  font-weight: 900;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}.status-pill.running {
  background: linear-gradient(90deg, rgba(0,200,83,0.35), rgba(0,140,60,0.25));
  border-color: rgba(0,200,83,0.4);
}.status-pill.paused {
  background: linear-gradient(90deg, rgba(255,193,7,0.35), rgba(255,140,0,0.25));
  border-color: rgba(255,193,7,0.4);
}.status-pill.ended {
  background: linear-gradient(90deg, rgba(244,67,54,0.35), rgba(211,47,47,0.25));
  border-color: rgba(244,67,54,0.4);
}.feed-container {
  max-height: 160px; /* adjust as needed */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
  font-size: 0.9rem;
}.feed-item {
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border-left: 4px solid #4caf50;
  opacity: 0;
  transform: translateY(10px);
  animation: feedIn 0.4s forwards;
}.feed-item.win {
  border-left-color: #ffd54f;
  background: rgba(255,215,0,0.08);
}.feed-item.error {
  border-left-color: #ff6b6b;
  background: rgba(255,107,107,0.10);
}.feed-item.announcement {
  border-left-color: #2196f3;
  background: rgba(33,150,243,0.08);
}@keyframes feedIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}/* Scrollbar styling */
.feed-container::-webkit-scrollbar {
  width: 5px;
}.feed-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}.feed-banner {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,193,7,0.15);
  border: 1px solid rgba(255,193,7,0.4);
  text-align: center;
  font-weight: 700;
  margin-top: 12px;
}/* Mobile adjustments */
@media (max-width: 520px) {
  .panel {
    padding: 14px;
  }
  .winner-item, .feed-item {
    font-size: 0.88rem;
    padding: 10px 12px;
  }
  .status-pill {
    font-size: 0.9rem;
    padding: 10px 14px;
  }
}/* Add these classes to style.css */
.status-pill.waiting {
  background: linear-gradient(90deg, #f57c00, #ef6c00);
  border-color: #ff9800;
}.status-pill.running {
  background: linear-gradient(90deg, #4caf50, #388e3c);
  border-color: #66bb6a;
}.status-pill.paused {
  background: linear-gradient(90deg, #ff9800, #f57c00);
  border-color: #ffb74d;
}.status-pill.ended {
  background: linear-gradient(90deg, #d32f2f, #b71c1c);
  border-color: #ef5350;
}.drawn {
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}.drawn::-webkit-scrollbar { display: none; }.drawn .ball.small {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  font-size: 12px;
  opacity: .75;
  transform: scale(.9);
}.drawn .ball.small:first-child {
  opacity: 1;
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(255,255,255,.25);
}.heroProgress{
  height:6px;
  width:100%;
  background:rgba(255,255,255,.12);
  border-radius:6px;
  overflow:hidden;
  margin-top:6px;
}.heroProgressLabel{
  font-size:11px;
  opacity:.85;
  text-align:center;
  margin-top:4px;
}#heroProgressFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    #f5a104,
    #f75003,
    #f10303
  );
  box-shadow: 0 0 10px rgba(59,130,246,.7);
  transition: width .35s ease;
}.brand-mark{
  width: 200px;
  height: 150px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.08);
  border: 1px solid var(--border2);

  box-shadow:
    0 12px 24px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.15);
}.brand-mark img{
  width: 200%;
  height: 200%;
  object-fit: contain;
  display: block;
}header.hud { overflow: visible; }/* === HUD LOGO (single source of truth) === */
header.hud .brand-title{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;          /* ensures room for logo */
  margin: 0;
}/* main hud logo image */
header.hud .brand-title-img{
  height: 150px;              /* <-- increase this */
  width: auto;
  max-width: 200%;
  display: block;
  filter:
    drop-shadow(0 10px 18px rgba(0,0,0,.55))
    drop-shadow(0 2px 0 rgba(255,255,255,.12));
}@media (max-width: 520px){
  header.hud .brand-title{
    min-height: 70px;
  }
  header.hud .brand-title-img{
    height: 500px;
  }
}/* =========================
   MOBILE FIX (Roy V3)
   Goal: stop hero eating the screen, tighten HUD, keep content above the fold
   ========================= */
@media (max-width: 520px){

  /* Keep layout scrollable and safe on mobile */
  html, body { height: auto; }
  body { overflow-x: hidden; }

  .container.crypt{
    padding-top: 10px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  /* TOP HUD: reduce overall vertical footprint */
  .hud{
    padding: 10px 10px 8px;
    border-radius: 18px;
  }

  /* If your top row is a 3-column grid, tighten gaps */
  .brand-text.hudTopRow{
    gap: 8px;
  }

  /* Left pills + right chips: make them smaller so they don't dominate */
  .meta-pill, .chip{
    transform: scale(0.92);
    transform-origin: top left;
  }

   /* Give the logo more vertical room */
  .brand-title{
    min-height: 88px !important;   /* doubled visual space */
    margin-bottom: 6px !important;
    width: 100% !important;
  }
  /* Scale logo itself up */
   .brand-title-img{
    height: 96px !important;      /* keep height as-is */
    width: auto !important;
     max-width: 180% !important;
     margin: 0 auto;
    display: block;
   }
  /* HERO: this is the big fix — clamp height + reduce padding */
  .hero.hero-mini{
    padding: 10px 10px 12px !important;
    min-height: 0 !important;
    height: auto !important;
  }

  /* If hero watermark makes it feel “empty”, soften it on mobile */
  .hero-watermark{
    opacity: 0.18 !important;
    background-size: 90% auto !important;
    background-position: 50% 45% !important;
  }

  /* Tighten hero internals */
  .hero-divider{ margin: 10px 0 !important; }

  .hero-focus{
    gap: 10px !important;
    padding: 0 !important;
  }

  /* Next ball: smaller so hero doesn't balloon */
  .focus-ball.big,
  #nextBall.big{
    width: 86px !important;
    height: 86px !important;
    font-size: 22px !important;
  }

  /* Status pill: keep it compact */
  #heroStatus{
    font-size: 12px !important;
    padding: 8px 12px !important;
    border-radius: 14px !important;
  }

  /* Progress bar area: shrink */
  .heroProgress{ height: 8px !important; }
  .heroProgressLabel{ font-size: 12px !important; margin-top: 6px !important; }

  /* Give panels a little more room and reduce excessive rounding */
  .panel{
    border-radius: 18px !important;
    padding: 12px !important;
  }
}@media (max-width: 520px){
  .brand-title-img{
    filter:
      drop-shadow(0 12px 22px rgba(0,0,0,.55))
      drop-shadow(0 2px 0 rgba(255,255,255,.12));
  }
}#duelBadge { display: none !important; }.hud-right{ flex: 0 0 auto; }/* No hero watermark (we only use the HUD watermark) */
#hero .hero-watermark { display: none !important; }
/* Ensure right chips sit flush to the right edge */
.brand-text.hudTopRow{
  display: grid;
  grid-template-columns: auto 1fr auto; /* left | center | right */
  align-items: center;
  column-gap: 10px;
}

.brand-text.hudTopRow .meta-pills{ justify-self: start; }
.brand-text.hudTopRow #brandTitle{ justify-self: center; }
.brand-text.hudTopRow .chip-row{ 
  justify-self: end; 
  justify-content: flex-end; 
}
/* Prevent long Game IDs from compressing the center logo */
.chip-row .chip .chip-v{
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bingoStatus.countdown{
  letter-spacing: .8px;
  text-transform: uppercase;
  font-weight: 1000;
}
body.mode-knockout .bingoStatus.countdown{
  box-shadow: 0 0 0 1px rgba(255,205,90,.22), 0 18px 34px rgba(0,0,0,.55);
}


/* =========================
   V8: Card Join Overlay + Claim Click Safety
   ========================= */
.cardPanel{ position:relative; overflow:hidden; }

.card-watermark{
  position:absolute;
  inset:-10px; /* slight bleed for fullness */
  background: url("assets/bingo-crypt-title.png") center 18% / min(96vw, 640px) auto no-repeat;

  opacity: .22; /* <-- KEY: readable dominance */
  filter:
    drop-shadow(0 22px 44px rgba(0,0,0,.55))
    saturate(1.05)
    contrast(1.05);

  mix-blend-mode: screen; /* makes it punchy without opacity */
  pointer-events:none;
  z-index:1;
  transition: opacity .35s ease, transform .35s ease;
  transform: scale(1.02);
}


.cardPanel.hasCard .card-watermark{
  opacity:0;
  transform: scale(1.02);
}



/* Join Game badge — single source of truth */
#joinBtnCard{
  pointer-events: auto;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;

  position: relative;
  top: -6px;                 /* lift it UP into the logo */

  cursor: pointer;
  transition: transform .14s ease, filter .14s ease;
}



#joinBtnCard:hover{
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.55));
}
#joinBtnCard:active{
  transform: translateY(0) scale(.98);
}
#joinBtnCard{ left: 0; }


.joinImg{
  display:block;
  height: 86px;              /* <-- good for this badge */
  width:auto;
  max-width: min(92vw, 560px);
}
@media (max-width: 420px){
  .joinImg{ height: 72px; max-width: 92vw; }
  #joinBtnCard{ top: 12px; }
}



/* Lobby: hide claim visuals until card exists */
.cardPanel:not(.hasCard) .claimRow{ display:none !important; }

/* Ensure claim stays clickable above backgrounds */
.claimRow, #claimBtn{ position:relative; z-index:7; pointer-events:auto; }

/* Optional: hide legacy hero join everywhere (use card join as single source) */
#joinBtn{ display:none !important; }
/* Ensure host bar never overlaps next panel */
.hostBar{
  position: relative;
  z-index: 5;
  margin-bottom: 14px;  /* <-- KEY */
}
/* Card panel should always sit below host bar */
.cardPanel{
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
}
.hostBar + .panel{
  margin-top: 18px;
}
.cardPanel.hasCard .cardJoinOverlay{ display:none !important; }
.cardPanel.hasCard #cardGrid{
  position: relative;
  z-index: 10;
  min-height: 320px;
}
.registeredRow{
  position: relative;
  z-index: 12;
  display:flex;
  justify-content:center;
  margin: 0 0 12px;
}
.registeredRow[hidden]{ display:none !important; }
.registeredBtn{
  min-width: 220px;
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  color: #170f04;
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffe08a, #f2a93b);
  box-shadow: 0 10px 22px rgba(0,0,0,.28), inset 0 0 0 2px rgba(255,255,255,.35);
  cursor: default;
}
.registeredBtn.joinCanLeave{
  cursor:pointer;
  background: linear-gradient(180deg, #d8f7ff, #64c7e8);
}
.registeredBtn.joinCanLeave::after{
  content:"  / click to leave";
  font-size: 11px;
  font-weight: 900;
  opacity:.72;
}
.registeredBtn:disabled{
  opacity:.78;
}
/* Don’t let panels “lift” into the host bar */
.panel.cardPanel:hover{
  transform: none !important;
}

/* And on touch/mobile, hovering doesn’t make sense anyway */
@media (hover: none){
  .panel:hover{ transform:none !important; }
}
.hostBar{
  background: rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 10px 14px;
}
.winTargetControl{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:min(100%, 360px);
  font-size:12px;
  color:rgba(255,255,255,.72);
}
.winTargetControl span{
  font-weight:800;
  letter-spacing:.04em;
  white-space:nowrap;
}
.winTargetControl select{
  width:100%;
  min-width:180px;
  color:#fff;
  background:rgba(0,0,0,.34);
  border:1px solid rgba(255,255,255,.18);
  border-radius:8px;
  padding:8px 10px;
  outline:none;
}
.winTargetControl select:disabled{
  opacity:.54;
  cursor:not-allowed;
}

.localModeBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(0,0,0,.12);
}
.localModeBar[hidden]{ display:none !important; }
.localModeBar-label{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: rgba(255,255,255,.62);
  white-space: nowrap;
}
.localModeBar-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.localHarness{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}
.localHarness[hidden]{ display:none !important; }
.localHarness-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.localHarness-label{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: rgba(255,255,255,.66);
}
.localHarness-status{
  margin-top:4px;
  font-size: 12px;
  color: rgba(255,255,255,.74);
}
.localHarness-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.localHarness .btn-compact.active{
  border-color: rgba(76,175,80,.62);
  box-shadow: 0 0 0 1px rgba(76,175,80,.18) inset;
}
.localJoinDebug{
  margin: 0 0 16px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.35;
}
.localJoinDebug[hidden]{ display:none !important; }
@media (max-width: 520px){
  .localModeBar{
    align-items:flex-start;
    flex-direction:column;
  }
  .localModeBar-actions{
    justify-content:flex-start;
  }
  .localHarness-head{
    flex-direction:column;
  }
}
/* Remove any legacy Join Game text in card title */
.cardPanel .panelTitle{
  justify-content: flex-start;
}

.cardPanel .panelTitle{
  position: relative;
  z-index: 3;
}

/* JOIN badge must always be visible in lobby */
.cardPanel{
  position: relative;
  overflow: hidden;
  min-height: 170px;      /* ensures room for badge + logo */
}

#joinBtnCard{
  pointer-events: auto;
  position: relative;
  top: 0;
  z-index: 60;
}

.joinImg{
  height: 82px;
  width: auto;
  max-width: min(92vw, 560px);
  display: block;
}

.hostBar{
  position: relative;
  z-index: 5;
  margin-bottom: 18px;
}

.hostBar + .panel{
  margin-top: 18px !important;
}
/* JOIN GAME BADGE — FORCE PNG */
#joinBtnCard{
  font-size: 0;              /* hides text */
  color: transparent;
  background: none !important;
}

#joinBtnCard::before{
  content: "";
  display: block;

  height: 150px;
  width: 420px;
  max-width: 92vw;

  background: url("assets/join-game-badge.png") center / contain no-repeat;
}
#joinBtnCard.joinRegistered .joinImg{
  display:none;
}
#joinBtnCard.joinRegistered::before{
  content:"Registered";
  display:flex;
  align-items:center;
  justify-content:center;
  height:72px;
  width:260px;
  max-width:86vw;
  color:#180f04;
  font-size:22px;
  font-weight:1000;
  letter-spacing:.02em;
  text-transform:uppercase;
  border-radius:999px;
  background: linear-gradient(180deg, #ffe08a, #f2a93b);
  box-shadow: 0 12px 28px rgba(0,0,0,.34), inset 0 0 0 2px rgba(255,255,255,.35);
}
#joinBtnCard.joinRegistered.joinCanLeave::before{
  content:"Registered";
  background: linear-gradient(180deg, #d8f7ff, #64c7e8);
}
#joinBtnCard.joinRegistered:disabled::before{
  opacity:.72;
}
/* Slightly taller card panel in lobby */
.cardPanel{
  min-height: 260px;   /* was ~160 */
  padding-top: 18px;   /* gives space above badge */
  padding-bottom: 18px;
}
/* ===== JOIN OVERLAY (single source of truth) ===== */
.cardJoinOverlay{
  position:absolute;
  inset:0;

  display:flex;
  justify-content:center;
  align-items:flex-start;

  padding-top: 14px;     /* vertical placement dial */

  z-index: 50;           /* above watermark + panel internals */
  background: transparent;
  pointer-events: none;  /* overlay never steals clicks */
}

/* Hide join overlay once card exists */
.cardPanel.hasCard .cardJoinOverlay{
  display:none !important;
}

/* =========================
   V10: Refined App Polish
   ========================= */
:root{
  --bg:#07131d;
  --panel:rgba(12,24,34,.82);
  --panel-strong:rgba(14,31,43,.94);
  --text:#eef7fb;
  --muted:#9fb4c0;
  --line:rgba(255,255,255,.12);
  --line-strong:rgba(255,255,255,.20);
  --accent:#32d3c8;
  --accent-2:#f4c95d;
  --danger:#ef476f;
  --shadow:0 14px 30px rgba(0,0,0,.34);
  --shadow2:0 18px 42px rgba(0,0,0,.45);
  --glass:rgba(5,12,18,.72);
}

body{
  padding:14px;
  background:
    linear-gradient(160deg, #07131d 0%, #102234 46%, #171a2b 100%) fixed;
  color:var(--text);
  letter-spacing:0;
}

.container,
.container.crypt{
  width:min(100%, 760px);
  max-width:760px;
  margin:0 auto;
}

.panel,
.hud,
.hero,
.hostBar,
.localModeBar,
.localHarness,
.localJoinDebug{
  border-radius:8px;
  border:1px solid var(--line);
  background:var(--panel);
  box-shadow:var(--shadow);
  backdrop-filter: blur(8px);
}

.hud{
  padding:10px;
  margin-bottom:10px;
  background:var(--panel-strong);
}

.brand-text.hudTopRow{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
}

.meta-pills,
.chip-row{
  gap:5px;
}

.hud .chip,
.hud .meta-pill{
  min-height:24px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(3,10,16,.68);
  border-color:rgba(50,211,200,.18);
  box-shadow:0 1px 0 rgba(255,255,255,.06) inset;
}

.hud .chip-k,
.hud .meta-k{
  color:var(--muted);
  opacity:1;
}

.hud .chip-v,
.hud .meta-v{
  color:var(--text);
}

.hero.hero-mini{
  padding:12px;
  margin-bottom:10px;
  background:
    linear-gradient(180deg, rgba(18,38,54,.88), rgba(8,18,28,.92));
  min-height:190px;
}

.hero-divider{
  height:1px;
  background:var(--line);
  opacity:1;
}

.hero-focus{
  gap:10px;
}

.heroStatus{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:7px 14px;
  color:var(--text);
  background:rgba(255,255,255,.08);
  border:1px solid var(--line-strong);
}

.heroStatus.running,
.heroStatus.countdown{
  color:#061414;
  background:linear-gradient(180deg, #6df2e8, #32d3c8);
}

.heroStatus.ended{
  color:#1b1202;
  background:linear-gradient(180deg, #ffe08a, #f4c95d);
}

.heroProgress{
  height:7px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  overflow:hidden;
}

#heroProgressFill{
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg, var(--accent), var(--accent-2));
}

.heroProgressLabel{
  color:var(--muted);
  font-weight:800;
}

.big.ball{
  width:96px;
  height:96px;
  border-width:4px;
  box-shadow:0 14px 32px rgba(0,0,0,.42), inset 0 2px 0 rgba(255,255,255,.16);
}

.big.ball .ballInner{
  width:52px;
  height:52px;
}

.hostBar,
.localModeBar,
.localHarness{
  margin-bottom:10px;
  padding:10px;
}

.hostBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.hostBar-label,
.localModeBar-label,
.localHarness-label{
  color:var(--muted);
  font-size:10px;
  letter-spacing:.08em;
}

.hostBar-actions,
.localModeBar-actions,
.localHarness-actions{
  gap:7px;
}

button,
.btn-compact,
.registeredBtn{
  border-radius:999px;
  border:1px solid var(--line-strong);
  box-shadow:0 8px 18px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.12);
}

.btn-compact,
button.hostBtn{
  background:rgba(255,255,255,.08);
}

#startBtn,
#resetBtn,
button.hostBtn{
  color:#061414;
  background:linear-gradient(180deg, #56e59b, #22c55e);
}

#pauseToggleBtn{
  background:rgba(50,211,200,.16);
  border-color:rgba(50,211,200,.28);
}

.winTargetControl select{
  min-height:34px;
  border-radius:8px;
  background:rgba(2,9,14,.72);
  border-color:var(--line-strong);
}

.cardPanel{
  padding:12px;
  background:
    linear-gradient(180deg, rgba(16,34,48,.92), rgba(8,18,28,.94));
}

.cardPanel.hasCard{
  min-height:auto;
}

#cardGrid{
  gap:7px;
}

.colHeader,
.cell{
  border-radius:8px;
}

.colHeader{
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--text);
  font-weight:1000;
  background:rgba(50,211,200,.13);
  border:1px solid rgba(50,211,200,.28);
}

.cell{
  aspect-ratio:1.45 / 1;
  height:auto;
  min-height:50px;
  color:var(--text);
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.11);
}

.cell.daubed{
  border-color:rgba(50,211,200,.46);
  background:
    radial-gradient(circle at 36% 30%, rgba(255,255,255,.18), transparent 55%),
    rgba(50,211,200,.18);
  box-shadow:0 0 0 1px rgba(50,211,200,.25) inset, 0 10px 22px rgba(0,0,0,.25);
}

.cell.last{
  outline:2px solid var(--accent-2);
  box-shadow:0 0 0 3px rgba(0,0,0,.28), 0 0 18px rgba(244,201,93,.36);
}

.registeredBtn{
  min-height:42px;
  color:#061414;
  background:linear-gradient(180deg, #ffe08a, #f4c95d);
}

.registeredBtn.joinCanLeave{
  background:linear-gradient(180deg, #6df2e8, #32d3c8);
}

.claimRow{
  margin-top:10px;
}

.claimIcon{
  max-width:min(72vw, 220px);
}

.grid-2{
  gap:10px;
}

.winner-list{
  gap:8px;
}

.winner-item,
.feed-item{
  border-radius:8px;
  background:rgba(255,255,255,.055);
  border-color:var(--line);
}

.feed-container{
  max-height:180px;
}

#drawn{
  gap:5px;
}

.ball.small{
  width:34px;
  height:34px;
  border-color:var(--line);
}

@media (max-width: 620px){
  body{ padding:10px; }

  .brand-text.hudTopRow{
    grid-template-columns:1fr;
  }

  .chip-row{
    align-items:flex-start;
  }

  .hostBar{
    align-items:stretch;
    flex-direction:column;
  }

  .winTargetControl{
    width:100%;
  }

  .hostBar-actions{
    justify-content:flex-start;
  }

  .hero.hero-mini{
    min-height:170px;
  }

  .big.ball{
    width:86px;
    height:86px;
  }

  .big.ball .ballInner{
    width:46px;
    height:46px;
  }

  .cell{
    min-height:44px;
    font-size:16px;
  }
}

/* =========================
   V11: Compact Play Surface
   ========================= */
body{
  padding-top:10px;
}

.hud{
  margin-bottom:8px;
}

.hero.hero-mini{
  min-height:142px;
  padding:10px;
  margin-bottom:8px;
}

.hero-focus{
  gap:7px;
}

.heroStatus{
  min-height:28px;
  padding:5px 12px;
  font-size:12px;
}

.heroProgressLabel{
  font-size:11px;
}

.big.ball{
  width:78px;
  height:78px;
  border-width:3px;
  margin:4px auto;
}

.big.ball .ballInner{
  width:42px;
  height:42px;
  font-size:15px;
}

.panel{
  padding:10px;
  margin-bottom:8px;
}

.cardPanel{
  min-height:auto;
  padding:10px;
}

.cardPanel.hasCard #cardGrid{
  min-height:auto;
}

#cardGrid{
  gap:6px;
}

.colHeader{
  min-height:28px;
  font-size:13px;
}

.cell{
  min-height:42px;
  font-size:16px;
}

.cell.free{
  font-size:10px;
}

/* =========================
   V12: Dashboard + Smaller Card
   ========================= */
.hero.hero-mini{
  min-height:auto;
}

.heroLiveGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:10px;
}

.heroMiniPanel{
  min-width:0;
  padding:8px;
  border-radius:8px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.045);
}

.heroMiniPanel .panelTitle{
  margin:0 0 6px;
  font-size:12px;
}

.heroMiniPanel .winner-list{
  display:grid;
  gap:5px;
}

.heroMiniPanel .winner-item{
  min-height:30px;
  padding:6px 8px;
  border-radius:7px;
}

.heroMiniPanel .winner-label,
.heroMiniPanel .winner-value{
  font-size:12px;
}

.heroMiniPanel .feed-container{
  max-height:96px;
  gap:5px;
  padding-right:2px;
}

.heroMiniPanel .feed-item{
  padding:6px 8px;
  border-left-width:3px;
  font-size:12px;
}

.cardPanel{
  width:min(100%, 520px);
  margin-left:auto;
  margin-right:auto;
}

.cardPanel.hasCard #cardGrid{
  min-height:auto;
}

#cardGrid{
  gap:5px;
}

.colHeader{
  min-height:24px;
  font-size:12px;
}

.cell{
  min-height:34px;
  font-size:14px;
  border-radius:7px;
}

.cell.free{
  font-size:9px;
}

.cell.daubed::before{
  width:28px;
  height:28px;
}

.claimIcon{
  max-width:min(54vw, 150px);
}

.drawnPanel{
  width:min(100%, 560px);
  margin-left:auto;
  margin-right:auto;
}

@media (max-width: 620px){
  .heroLiveGrid{
    grid-template-columns:1fr;
  }

  .heroMiniPanel .feed-container{
    max-height:82px;
  }

  .cell{
    min-height:31px;
    font-size:13px;
  }

  .colHeader{
    min-height:22px;
  }
}

.registeredRow{
  margin-bottom:8px;
}

.registeredBtn{
  min-height:36px;
  min-width:190px;
  padding:8px 14px;
  font-size:14px;
}

.claimRow{
  margin-top:8px;
}

.claimIcon{
  max-width:min(64vw, 180px);
}

.drawnPanel{
  margin-top:-2px;
}

.cardPanel:not(.hasCard){
  display:none;
}

.drawnPanelTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}

.joinControlSlot{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:138px;
}

.drawnPanel .cardJoinOverlay{
  position:static;
  inset:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:0;
  z-index:auto;
  pointer-events:auto;
}

.drawnPanel #joinBtnCard{
  top:0;
  z-index:auto;
}

.drawnPanel #joinBtnCard .joinImg{
  display:none;
}

.drawnPanel #joinBtnCard::before{
  content:"Join Game";
  display:flex;
  align-items:center;
  justify-content:center;
  width:132px;
  height:38px;
  max-width:132px;
  color:#061414;
  font-size:13px;
  font-weight:1000;
  letter-spacing:.02em;
  text-transform:uppercase;
  border-radius:999px;
  background:linear-gradient(180deg, #6df2e8, #32d3c8);
  box-shadow:0 8px 18px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.28);
}

.drawnPanel .registeredRow{
  margin:0;
  justify-content:flex-end;
}

.drawnPanel .registeredBtn{
  min-width:132px;
  min-height:38px;
  padding:8px 12px;
  font-size:12px;
}

.drawnPanel .registeredBtn.joinCanLeave::after{
  content:" / leave";
  font-size:10px;
}

.drawnProgress{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:10px;
  margin-bottom:6px;
}

.drawnProgress .heroProgress{
  height:6px;
  margin:0;
}

.drawnProgress .heroProgressLabel{
  min-width:72px;
  text-align:right;
}

.drawnPanel .panelTitle{
  margin-bottom:6px;
}

#drawn{
  gap:4px;
  max-height:86px;
  overflow:auto;
  padding:2px 2px 0;
}

.ball.small{
  width:28px;
  height:28px;
  margin:2px;
  font-size:10px;
}

.winner-list{
  gap:6px;
}

/* =========================
   V15: Browser App Workspace
   ========================= */
.appTopbar{
  position:sticky;
  top:10px;
  z-index:100;
  width:min(1180px, 100%);
  min-height:62px;
  margin:0 auto 12px;
  padding:8px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:14px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(7,19,29,.94);
  box-shadow:0 16px 34px rgba(0,0,0,.38);
  backdrop-filter:blur(14px);
}

.appBrand,
.playerIdentity,
.appNavBtn{
  min-height:44px;
  border-radius:7px;
  box-shadow:none;
}

.appBrand{
  padding:5px 8px;
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--text);
  background:transparent;
  border-color:transparent;
  text-align:left;
}

.appBrandMark{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  flex:none;
  border-radius:7px;
  color:#061414;
  background:linear-gradient(145deg,var(--accent),var(--accent-2));
  font-size:19px;
  font-weight:1000;
}

.appBrandMark img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:inherit;
}

.appBrand strong,
.appBrand small,
.playerIdentity strong,
.playerIdentity small{
  display:block;
}

.appBrand strong{font-size:14px}
.appBrand small,
.playerIdentity small{margin-top:2px;color:var(--muted);font-size:10px;font-weight:750}

.appNav{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
}

.appNavBtn{
  position:relative;
  min-height:38px;
  padding:7px 11px;
  color:var(--muted);
  background:transparent;
  border-color:transparent;
  font-size:12px;
}

.appNavBtn:hover,
.appNavBtn.active{
  color:var(--text);
  background:rgba(255,255,255,.07);
  border-color:var(--line);
}

.rewardNavBtn{
  color:var(--accent-2);
}

.navBadge{
  min-width:18px;
  height:18px;
  margin-left:4px;
  padding:0 5px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  color:#061414;
  background:var(--accent-2);
  font-size:10px;
}

.playerIdentity{
  min-width:174px;
  max-width:235px;
  padding:5px 8px;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text);
  background:rgba(255,255,255,.055);
  border-color:var(--line);
  text-align:left;
}

.playerIdentity:hover{border-color:rgba(50,211,200,.5)}

.playerIdentity.connectWalletCta{
  min-width:188px;
  color:#061414;
  border-color:rgba(82,230,214,.68);
  background:linear-gradient(135deg,#52e6d6,#f3cf70);
  box-shadow:0 0 0 1px rgba(82,230,214,.12),0 10px 24px rgba(0,0,0,.28);
}
.playerIdentity.connectWalletCta:hover{
  border-color:#fff4bf;
  filter:brightness(1.06);
}
.playerIdentity.connectWalletCta .playerAvatar{
  color:#eefcff;
  border:1px solid rgba(255,255,255,.30);
  background:#09212a;
  font-size:9px;
}
.playerIdentity.connectWalletCta strong{max-width:140px;color:#061414;font-size:13px}
.playerIdentity.connectWalletCta small{max-width:140px;color:rgba(6,20,20,.68);font-weight:850}

.playerAvatar{
  position:relative;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:none;
  overflow:hidden;
  border-radius:7px;
  color:#061414;
  background:linear-gradient(145deg,#6df2e8,#f4c95d);
  font-size:12px;
  font-weight:1000;
}

.playerAvatar img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
}

.playerIdentityText{min-width:0}
.playerIdentity strong{
  max-width:130px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
}
.playerIdentity small{
  max-width:170px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.container,
.container.crypt{
  width:min(1180px, 100%);
  max-width:1180px;
}

.hero.hero-mini{
  min-height:0;
}

.playSurface{
  display:grid;
  grid-template-columns:minmax(430px, 1.15fr) minmax(330px, .85fr);
  align-items:start;
  gap:10px;
}

.playSurface .cardPanel,
.playSurface .drawnPanel{
  width:100%;
  max-width:none;
  margin:0;
}

.playSurface:has(.cardPanel:not(.hasCard)){
  grid-template-columns:minmax(360px, 620px);
  justify-content:center;
}

.developerTools{
  margin-bottom:10px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(9,22,31,.74);
  box-shadow:var(--shadow);
}

.developerTools > summary{
  min-height:42px;
  padding:8px 11px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  cursor:pointer;
  list-style:none;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.developerTools > summary::-webkit-details-marker{display:none}
.developerTools > summary::after{content:"+";font-size:18px;color:var(--accent)}
.developerTools[open] > summary::after{content:"-"}
.developerTools > summary small{
  margin-left:auto;
  color:var(--muted);
  font-size:10px;
  font-weight:700;
  letter-spacing:0;
  text-transform:none;
}
.developerTools .localModeBar,
.developerTools .localHarness,
.developerTools .localJoinDebug{
  margin:0 8px 8px;
  box-shadow:none;
}

.drawnPanel{
  position:sticky;
  top:84px;
}

.appModal[hidden]{display:none}
.appModal{
  position:fixed;
  inset:0;
  z-index:500;
  display:grid;
  place-items:center;
  padding:18px;
}

.appModalBackdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  border-radius:0;
  background:rgba(1,7,12,.8);
  box-shadow:none;
  backdrop-filter:blur(8px);
}

.appModalWindow{
  position:relative;
  width:min(1180px, 100%);
  height:min(88vh, 900px);
  overflow:hidden;
  display:grid;
  grid-template-rows:auto 1fr;
  border:1px solid rgba(50,211,200,.3);
  border-radius:8px;
  background:#07131b;
  box-shadow:0 28px 80px rgba(0,0,0,.62);
}

.appModalHeader{
  min-height:54px;
  padding:8px 10px 8px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid var(--line);
  background:#0d1e27;
}

.appModalHeader strong{display:block;font-size:15px}
.appModalEyebrow{display:block;margin-bottom:2px;color:var(--accent);font-size:9px;font-weight:900;letter-spacing:.1em}
.appModalClose{
  width:36px;
  height:36px;
  padding:0;
  display:grid;
  place-items:center;
  color:var(--text);
  background:rgba(255,255,255,.06);
  font-size:25px;
  line-height:1;
}

#appModalFrame{
  width:100%;
  height:100%;
  border:0;
  background:#07131b;
}

body.modalOpen{overflow:hidden}
body.prizeRevealOpen{overflow:hidden}
.prizeReveal[hidden]{display:none}
.prizeReveal{
  position:fixed;
  inset:0;
  z-index:650;
  display:grid;
  place-items:center;
  padding:18px;
}
.prizeRevealBackdrop{
  position:absolute;
  inset:0;
  background:rgba(1,5,10,.90);
  backdrop-filter:blur(12px);
}
.prizeRevealWindow{
  position:relative;
  width:min(470px,100%);
  overflow:hidden;
  padding:28px;
  border:1px solid rgba(241,201,88,.58);
  border-radius:8px;
  color:#f8fbfc;
  background:
    radial-gradient(circle at 50% 35%,rgba(82,230,214,.15),transparent 34%),
    linear-gradient(155deg,#102530,#07131b 64%);
  box-shadow:0 30px 100px #000,0 0 48px rgba(241,201,88,.11);
  text-align:center;
}
.prizeRevealWindow::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border:1px solid rgba(82,230,214,.15);
  border-radius:8px;
}
.prizeRevealEyebrow{color:#f1c958;font-size:10px;font-weight:950;letter-spacing:.15em}
.prizeRevealWindow h2{margin:8px 0 18px;font-size:27px}
.prizeRevealStage{
  position:relative;
  width:220px;
  aspect-ratio:1;
  display:grid;
  place-items:center;
  margin:0 auto 18px;
}
.prizeRevealGlow{
  position:absolute;
  inset:20px;
  border-radius:50%;
  background:rgba(82,230,214,.18);
  box-shadow:0 0 55px rgba(82,230,214,.32),0 0 85px rgba(241,201,88,.20);
  animation:prizeGlow 1.2s ease-in-out infinite alternate;
}
.prizeMysteryCard,.prizeRevealStage img{
  position:relative;
  width:180px;
  height:180px;
  border:2px solid rgba(241,201,88,.72);
  border-radius:8px;
  object-fit:cover;
  background:#061119;
  box-shadow:0 16px 40px rgba(0,0,0,.55);
}
.prizeMysteryCard[hidden],.prizeRevealStage img[hidden]{display:none!important}
.prizeMysteryCard{display:grid;place-items:center}
.prizeMysteryCard span{font-family:Georgia,serif;font-size:92px;color:#f1c958;text-shadow:0 0 24px rgba(241,201,88,.48)}
.prizeReveal.isSelecting .prizeMysteryCard{animation:prizeShuffle .34s ease-in-out infinite alternate}
.prizeReveal.isRevealed .prizeRevealStage img{animation:prizeLand .55s cubic-bezier(.2,.9,.25,1.2)}
.prizeReveal.isNearMiss.isRevealed .prizeMysteryCard{
  border-color:rgba(82,230,214,.74);
  background:radial-gradient(circle at 50% 30%,rgba(82,230,214,.2),transparent 48%),#061119;
  animation:prizeLand .55s cubic-bezier(.2,.9,.25,1.2);
}
.prizeReveal.isNearMiss.isRevealed .prizeMysteryCard span{
  color:#52e6d6;
  font-family:system-ui,-apple-system,Segoe UI,sans-serif;
  font-size:58px;
  font-weight:1000;
}
.prizeRevealCollection{color:#52e6d6;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.prizeRevealName{display:block;margin:6px 0;font-size:21px}
.prizeRevealWindow p{margin:0 auto 20px;max-width:360px;color:#a9bec4;line-height:1.5}
.prizeRevealActions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.prizeRevealActions button{
  min-height:42px;
  border:1px solid rgba(82,230,214,.45);
  border-radius:6px;
  color:#031116;
  background:#52e6d6;
  font-weight:950;
  cursor:pointer;
}
.prizeRevealActions button:last-child{color:#e9f3f5;background:#142934;border-color:#34515c}
@keyframes prizeShuffle{
  from{transform:rotate(-2deg) scale(.96);filter:hue-rotate(0deg)}
  to{transform:rotate(2deg) scale(1.035);filter:hue-rotate(70deg)}
}
@keyframes prizeGlow{from{transform:scale(.88);opacity:.55}to{transform:scale(1.08);opacity:1}}
@keyframes prizeLand{from{transform:scale(.35) rotate(-8deg);opacity:0}to{transform:scale(1) rotate(0);opacity:1}}
@media(max-width:520px){
  .prizeRevealWindow{padding:22px 16px}
  .prizeRevealWindow h2{font-size:22px}
  .prizeRevealActions{grid-template-columns:1fr}
}

@media (max-width: 900px){
  .appTopbar{
    position:static;
    grid-template-columns:1fr auto;
  }
  .appNav{
    grid-column:1/-1;
    grid-row:2;
    justify-content:flex-start;
    overflow-x:auto;
  }
  .playSurface{grid-template-columns:1fr}
  .drawnPanel{position:static}
}

@media (max-width: 620px){
  .appTopbar{
    margin-bottom:8px;
    gap:6px;
  }
  .appBrand small,
  .playerIdentityText{display:none}
  .playerIdentity{min-width:48px;padding:4px}
  .playerAvatar{width:38px;height:38px}
  .appNavBtn{white-space:nowrap}
  .appModal{padding:0}
  .appModalWindow{width:100%;height:100vh;border:0;border-radius:0}
}

/* =========================
   V16: Home + Play Workspace
   ========================= */
body{
  padding-top:12px;
  background:
    radial-gradient(circle at 48% -20%, rgba(50,211,200,.13), transparent 40%),
    linear-gradient(160deg,#061019 0%,#0c1c2b 58%,#111527 100%) fixed;
}

.appTopbar{
  min-height:84px;
  padding:10px 12px;
  border-color:rgba(50,211,200,.22);
}

.appBrand{
  min-width:245px;
  min-height:62px;
}

.appBrandMark{
  width:56px;
  height:56px;
  font-size:23px;
}

.appBrand strong{font-size:18px}
.appBrand small{font-size:11px}

.playerIdentity{
  min-width:242px;
  min-height:64px;
  padding:6px 10px;
}

.playerAvatar{
  width:54px;
  height:54px;
}

.playerIdentity strong{
  max-width:150px;
  font-size:14px;
}

.playerIdentity small{font-size:11px}

.homeDashboard{
  width:min(1180px,100%);
  margin:0 auto;
  display:grid;
  gap:14px;
}

.homeHero{
  position:relative;
  min-height:420px;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  border:1px solid rgba(50,211,200,.23);
  border-radius:8px;
  background:#07131b;
  box-shadow:0 24px 60px rgba(0,0,0,.42);
}

.homeHero > img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:68% center;
  opacity:.82;
}

.homeHeroShade{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(4,13,20,.98) 0%,rgba(4,13,20,.86) 38%,rgba(4,13,20,.20) 76%),
    linear-gradient(0deg,rgba(4,13,20,.72),transparent 58%);
}

.homeHeroContent{
  position:relative;
  z-index:1;
  width:min(650px,100%);
  padding:38px;
}

.homeEyebrow,
.homeSectionHead span{
  color:var(--accent);
  font-size:10px;
  font-weight:950;
  letter-spacing:.13em;
}

.homeHero h1{
  max-width:620px;
  margin:8px 0 12px;
  color:#f7fbfc;
  font-size:clamp(38px,6vw,68px);
  line-height:.98;
  letter-spacing:0;
}

.homeHero p{
  max-width:560px;
  margin:0;
  color:#c1d1d7;
  font-size:15px;
  line-height:1.6;
}

.homeHeroActions{
  margin-top:22px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.homePrimaryAction,
.homeSecondaryAction,
.gameFeature button,
.homeStoryPanel button,
.homeProfilePanel button,
.playWorkspaceActions button{
  min-height:40px;
  border-radius:7px;
  padding:9px 14px;
  box-shadow:none;
}

.homePrimaryAction,
.gameFeatureMain button{
  color:#061414;
  background:var(--accent);
  border-color:var(--accent);
}

.homeSecondaryAction{
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.18);
}

.homeLiveSignal{
  margin-top:22px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#d8e7ea;
  font-size:11px;
}

.homeLiveSignal span,
.liveDot::before{
  width:8px;
  height:8px;
  display:inline-block;
  border-radius:999px;
  background:#49e98a;
  box-shadow:0 0 14px rgba(73,233,138,.8);
}

.homeStats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--line);
}

.homeStats article{
  min-height:112px;
  padding:16px;
  display:grid;
  align-content:center;
  background:rgba(11,27,38,.96);
}

.homeStats span,
.homeStats small{
  color:var(--muted);
  font-size:10px;
  font-weight:800;
}

.homeStats strong{
  margin:3px 0;
  color:var(--text);
  font-size:30px;
}

.homeSection,
.homeStoryPanel,
.homeProfilePanel{
  padding:20px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(11,27,38,.84);
  box-shadow:var(--shadow);
}

.homeSectionHead{
  margin-bottom:16px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
}

.homeSection h2,
.homeLowerGrid h2{
  margin:4px 0 0;
  color:var(--text);
  font-size:23px;
}

.homeSectionHead p{
  max-width:440px;
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.gameFeatureGrid{
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr;
  gap:10px;
}

.gameFeature{
  min-height:220px;
  padding:16px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  border:1px solid var(--line);
  border-radius:8px;
  background:#0d202b;
}

.gameFeatureMain{
  border-color:rgba(50,211,200,.42);
  background:
    linear-gradient(145deg,rgba(50,211,200,.15),rgba(13,32,43,.94) 56%),
    #0d202b;
}

.gameFeatureTop{
  width:100%;
  display:flex;
  justify-content:space-between;
  gap:8px;
  color:var(--accent);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
}

.gameFeatureTop small{color:var(--muted)}
.liveDot{display:flex;align-items:center;gap:6px}
.liveDot::before{content:"";width:6px;height:6px}
.gameFeature h3{margin:30px 0 7px;font-size:19px}
.gameFeature p{margin:0 0 18px;color:var(--muted);font-size:12px;line-height:1.55}
.gameFeature button{margin-top:auto;background:rgba(255,255,255,.07)}

.homeLowerGrid{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:14px;
}

.homeRevivalFeature{
  position:relative;
  min-height:380px;
  overflow:hidden;
  border:1px solid rgba(50,211,200,.34);
  border-radius:8px;
  background:#041116;
  box-shadow:var(--shadow);
}
.homeRevivalFeature > img{
  width:100%;
  height:100%;
  min-height:380px;
  display:block;
  object-fit:cover;
  object-position:center;
}
.homeRevivalFeatureContent{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:18px 20px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  background:linear-gradient(180deg,transparent,rgba(3,13,18,.94) 38%);
}
.homeRevivalFeatureContent h2{margin:4px 0 5px;font-size:24px}
.homeRevivalFeatureContent p{max-width:680px;margin:0;color:#bcd1d5;font-size:12px;line-height:1.55}
.homeRevivalFeatureContent button{
  min-height:42px;
  flex:none;
  padding:9px 15px;
  border-radius:7px;
  color:#061414;
  background:var(--accent);
  border-color:var(--accent);
  box-shadow:none;
}

@media(max-width:620px){
  .homeRevivalFeature{min-height:330px}
  .homeRevivalFeature > img{min-height:330px;object-position:center}
  .homeRevivalFeatureContent{align-items:stretch;flex-direction:column;padding:15px}
  .homeRevivalFeatureContent button{width:100%}
}

.upcomingPanel{
  margin-bottom:30px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(11,27,38,.84);
  box-shadow:var(--shadow);
}

.upcomingList{display:grid;gap:7px}
.upcomingList article{
  min-height:66px;
  padding:10px 12px;
  display:grid;
  grid-template-columns:130px 1fr auto;
  align-items:center;
  gap:14px;
  border:1px solid var(--line);
  border-radius:7px;
  background:rgba(255,255,255,.035);
}
.upcomingList time{color:var(--accent);font-size:10px;font-weight:900;text-transform:uppercase}
.upcomingList strong,.upcomingList small{display:block}
.upcomingList strong{font-size:13px}
.upcomingList small{margin-top:3px;color:var(--muted);font-size:10px}
.upcomingState{padding:5px 8px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:9px;font-weight:900;text-transform:uppercase}
.upcomingState.live{color:#49e98a;border-color:rgba(73,233,138,.35)}

.homeStoryPanel{
  min-height:230px;
  background:
    linear-gradient(90deg,rgba(8,20,29,.97),rgba(8,20,29,.62)),
    url("/assets/bbb-card-watermark.png") center 44% / cover;
}

.homeStoryPanel p{
  max-width:570px;
  color:#b3c7ce;
  line-height:1.6;
}

.homeStoryPanel button,
.homeProfilePanel button{
  margin-top:16px;
  background:rgba(255,255,255,.08);
}

.homeProfileIdentity{
  margin-top:18px;
  display:flex;
  align-items:center;
  gap:12px;
}

.homeProfileAvatar{
  position:relative;
  width:70px;
  height:70px;
  overflow:hidden;
  display:grid;
  place-items:center;
  flex:none;
  border:1px solid rgba(50,211,200,.45);
  border-radius:8px;
  color:#061414;
  background:linear-gradient(145deg,var(--accent),var(--accent-2));
  font-weight:1000;
}

.homeProfileAvatar img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
}

.homeProfileIdentity p{margin:4px 0 0;color:var(--muted);font-size:12px}
.homeProfileProgress{height:6px;margin-top:18px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.1)}
.homeProfileProgress div{height:100%;width:0;background:linear-gradient(90deg,var(--accent),var(--accent-2))}

.playWorkspace[hidden]{display:none}
.playWorkspace{
  position:fixed;
  inset:0;
  z-index:90;
  padding:106px 14px 16px;
  display:grid;
  place-items:start center;
}

.playWorkspaceBackdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  border-radius:0;
  background:rgba(2,8,13,.84);
  box-shadow:none;
  backdrop-filter:blur(10px);
}

.playWorkspaceWindow{
  position:relative;
  width:min(1380px,100%);
  max-height:calc(100vh - 120px);
  overflow:auto;
  border:1px solid rgba(50,211,200,.28);
  border-radius:8px;
  background:#081722;
  box-shadow:0 30px 90px rgba(0,0,0,.66);
}

.playWorkspaceHeader{
  position:sticky;
  top:0;
  z-index:80;
  min-height:58px;
  padding:9px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid var(--line);
  background:rgba(10,27,38,.96);
  backdrop-filter:blur(10px);
}

.playWorkspaceHeader span{display:block;color:var(--accent);font-size:9px;font-weight:900;letter-spacing:.12em}
.playWorkspaceHeader strong{display:block;margin-top:2px;font-size:15px}
.playWorkspaceActions{display:flex;gap:7px}
.playWorkspaceActions button{min-height:36px;background:rgba(255,255,255,.07)}
.playWorkspace .container{padding:10px}
.playWorkspace .container,
.playWorkspace .container.crypt{
  width:min(1320px,100%);
  max-width:1320px;
}
body.playOpen{overflow:hidden}

.appModalContent{
  min-height:0;
  overflow:auto;
  padding:16px;
  background:#07131b;
}

.appModalContent .hostBar{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:end;
  gap:14px;
  max-width:820px;
  margin:0 auto;
  padding:18px;
  box-shadow:none;
}

.appModalContent .hostBar-label{
  grid-column:1/-1;
  color:var(--accent);
  font-size:11px;
}

.appModalContent .hostBar-actions{
  grid-column:1/-1;
  justify-content:flex-end;
}

.appModalContent .winTargetControl{
  width:100%;
  display:grid;
  gap:5px;
}

.appModalContent .winTargetControl select,
.appModalContent .winTargetControl input{
  width:100%;
  min-height:42px;
}

@media (max-width: 900px){
  .homeStats{grid-template-columns:repeat(2,1fr)}
  .gameFeatureGrid{grid-template-columns:1fr}
  .gameFeature{min-height:190px}
  .homeLowerGrid{grid-template-columns:1fr}
  .playWorkspace{padding-top:128px}
  .playWorkspaceWindow{max-height:calc(100vh - 142px)}
}

@media (max-width: 620px){
  .appBrand{min-width:0}
  .appBrand strong{font-size:14px}
  .appBrandMark{width:42px;height:42px}
  .playerIdentity{min-width:50px}
  .homeHero{min-height:460px}
  .homeHero > img{object-position:62% center}
  .homeHeroContent{padding:22px}
  .homeHero h1{font-size:42px}
  .homeHeroShade{background:linear-gradient(0deg,rgba(4,13,20,.98) 0%,rgba(4,13,20,.77) 66%,rgba(4,13,20,.35))}
  .homeStats{grid-template-columns:1fr 1fr}
  .homeStats article{min-height:94px;padding:12px}
  .homeStats strong{font-size:24px}
  .homeSectionHead{align-items:start;flex-direction:column}
  .homeSection,.homeStoryPanel,.homeProfilePanel{padding:15px}
  .playWorkspace{padding:0;z-index:200}
  .playWorkspaceWindow{width:100%;height:100vh;max-height:none;border:0;border-radius:0}
  .playWorkspaceHeader{position:sticky}
  .appModalContent .hostBar{grid-template-columns:1fr;padding:12px}
  .upcomingPanel{padding:15px}
  .upcomingList article{grid-template-columns:1fr auto;gap:8px}
  .upcomingList time{grid-column:1/-1}
}

/* =========================
   V17: Live Game Dashboard
   ========================= */
.playWorkspace .container{
  padding:12px;
}

.playWorkspace .hud{
  margin-bottom:12px;
}

.playSurface.gameplayDashboard{
  width:100%;
  max-width:none;
  margin:0;
  display:grid;
  grid-template-columns:minmax(0,1.38fr) minmax(330px,.72fr);
  align-items:start;
  gap:12px;
}

.gameMainStage,
.gameInfoRail,
.gameInsightStack{
  min-width:0;
  display:grid;
  gap:12px;
}

.gameInfoRail{
  position:sticky;
  top:70px;
}

.gameMainStage .hero.hero-mini{
  min-height:108px;
  margin:0;
  padding:13px 16px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:14px;
  background:
    linear-gradient(110deg,rgba(50,211,200,.12),transparent 48%),
    rgba(12,29,41,.92);
}

.gameMainStage .hero-top,
.gameMainStage .hero-divider{
  display:none;
}

.gameMainStage .hero-focus{
  justify-content:flex-start;
}

.gameMainStage .hero-status{
  justify-content:flex-start;
}

.gameMainStage .hero-actions{
  margin:0;
  justify-content:flex-end;
}

.gameMainStage .heroStatus{
  min-height:38px;
  padding:8px 14px;
  font-size:12px;
}

.gameMainStage .cardPanel{
  width:100%;
  max-width:650px;
  margin:0 auto;
}

.gameMainStage .cardPanel:not(.hasCard){
  display:block;
  min-height:330px;
  background:
    linear-gradient(180deg,rgba(12,29,41,.9),rgba(7,18,27,.96)),
    url("/assets/bbb-card-watermark.png") center / cover;
  opacity:.72;
}

.gameMainStage .cardPanel:not(.hasCard)::after{
  content:"Join the game to reveal your bingo card";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:30px;
  color:var(--muted);
  font-size:12px;
  font-weight:850;
  text-align:center;
}

.gameInfoRail .drawnPanel,
.gameInsightStack .heroMiniPanel{
  width:100%;
  max-width:none;
  margin:0;
  border-color:rgba(255,255,255,.14);
  background:rgba(11,27,38,.94);
  box-shadow:0 14px 30px rgba(0,0,0,.25);
}

.gameInfoRail .drawnPanel{
  position:static;
  min-height:250px;
  padding:14px;
}

.panelHeading{
  margin-bottom:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.panelHeading span,
.panelEyebrow{
  display:block;
  margin-bottom:3px;
  color:var(--accent);
  font-size:9px;
  font-weight:950;
  letter-spacing:.12em;
}

.panelHeading .panelTitle,
.drawnPanelTop .panelTitle{
  margin:0;
  font-size:15px;
}

.panelHeading small{
  color:var(--muted);
  font-size:9px;
  font-weight:750;
}

.gameInfoRail .drawnPanelTop{
  margin:0;
}

.gameInfoRail .drawnLatest{
  position:relative;
  min-height:112px;
  margin:10px 0;
  border:1px solid var(--line);
  border-radius:8px;
  background:
    radial-gradient(circle at center,rgba(50,211,200,.13),transparent 58%),
    rgba(255,255,255,.025);
}

.gameInfoRail .drawnLatest::before{
  content:"CURRENT BALL";
  position:absolute;
  top:9px;
  left:10px;
  color:var(--muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.1em;
}

.gameInfoRail .drawnLatest #nextBall.big{
  width:82px;
  height:82px;
  margin:8px 0 0;
  box-shadow:0 12px 30px rgba(0,0,0,.42),0 0 26px rgba(50,211,200,.18);
}

.gameInfoRail .drawnLatest #nextBall.big .ballInner{
  width:46px;
  height:46px;
}

.gameInfoRail .drawnProgress{
  margin-bottom:10px;
}

.gameInfoRail #drawn{
  min-height:78px;
  max-height:144px;
  padding:8px;
  display:grid;
  grid-template-columns:repeat(8,1fr);
  align-content:start;
  gap:5px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(3,12,18,.48);
}

.gameInfoRail #drawn:empty::before{
  content:"Drawn balls will build here as the game progresses.";
  grid-column:1/-1;
  align-self:center;
  color:var(--muted);
  font-size:10px;
  line-height:1.45;
  text-align:center;
}

.gameInfoRail .ball.small{
  width:30px;
  height:30px;
  margin:0 auto;
  font-size:9px;
}

.gameInsightStack{
  grid-template-columns:1fr;
}

.gameInsightStack .heroMiniPanel{
  padding:14px;
}

.gameInsightStack .winner-list{
  display:grid;
  gap:7px;
}

.gameInsightStack .winner-item{
  position:relative;
  min-height:48px;
  padding:9px 10px 9px 42px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:8px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:7px;
  background:rgba(255,255,255,.035);
}

.gameInsightStack .winner-item::before{
  content:"";
  position:absolute;
  left:10px;
  width:22px;
  height:22px;
  border:2px solid rgba(244,201,93,.38);
  border-radius:50%;
  box-shadow:0 0 0 4px rgba(244,201,93,.05);
}

.gameInsightStack .winner-item.hasWinner{
  border-color:rgba(244,201,93,.48);
  background:linear-gradient(90deg,rgba(244,201,93,.14),rgba(255,255,255,.035));
}

.gameInsightStack .winner-item.hasWinner::before{
  background:var(--accent-2);
  box-shadow:0 0 18px rgba(244,201,93,.5);
}

.gameInsightStack .winner-label{
  color:var(--text);
  font-size:12px;
  font-weight:900;
}

.gameInsightStack .winner-value{
  max-width:160px;
  overflow:hidden;
  color:var(--accent-2);
  font-size:11px;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.gameInsightStack .feed-container{
  max-height:238px;
  display:grid;
  gap:6px;
  overflow:auto;
}

.gameInsightStack .feed-item{
  min-height:44px;
  padding:8px 8px;
  display:grid;
  grid-template-columns:20px 1fr auto;
  align-items:start;
  gap:6px;
  border:1px solid var(--line);
  border-left:3px solid var(--accent);
  border-radius:7px;
  background:rgba(255,255,255,.04);
  font-size:10px;
  line-height:1.45;
}

.gameInsightStack .feed-item.win{border-left-color:var(--accent-2)}
.gameInsightStack .feed-item.error{border-left-color:var(--danger)}
.gameInsightStack .feed-item strong{font-size:11px}
.gameInsightStack .feed-message{min-width:0;color:#dce9ed}
.gameInsightStack .feed-item time{color:var(--muted);font-size:8px;white-space:nowrap}

.playWorkspace .developerTools{
  margin-top:12px;
}

@media (max-width: 960px){
  .playSurface.gameplayDashboard{
    grid-template-columns:1fr;
  }
  .gameInfoRail{position:static}
  .gameInsightStack{grid-template-columns:1fr 1fr}
}

@media (max-width: 620px){
  .gameMainStage .hero.hero-mini{
    grid-template-columns:1fr;
    text-align:center;
  }
  .gameMainStage .hero-status,
  .gameMainStage .hero-actions{
    justify-content:center;
  }
  .gameMainStage .cardPanel:not(.hasCard){min-height:210px}
  .gameInsightStack{grid-template-columns:1fr}
  .gameInfoRail #drawn{grid-template-columns:repeat(7,1fr)}
  .gameInsightStack .feed-container{max-height:190px}
}

/* =========================
   V18: Clear Play State + Card Identity
   ========================= */
.playWorkspace .hud{
  min-height:104px;
  padding:14px 16px;
  border-color:rgba(50,211,200,.28);
  background:
    linear-gradient(90deg,rgba(7,20,29,.90),rgba(7,20,29,.66)),
    url("assets/bingo-crypt-title-2.png") center 48% / cover;
}

.playWorkspace .brand-text.hudTopRow{
  min-height:74px;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:18px;
}

.playWorkspace .meta-pills,
.playWorkspace .chip-row{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}

.playWorkspace .chip-row{
  align-items:stretch;
  justify-self:stretch;
}

.playWorkspace .hud .chip,
.playWorkspace .hud .meta-pill{
  min-width:0;
  min-height:48px;
  padding:8px 10px;
  display:grid;
  align-content:center;
  justify-content:start;
  gap:4px;
  border-radius:7px;
  background:rgba(3,12,18,.76);
  border-color:rgba(50,211,200,.22);
  text-align:left;
}

.playWorkspace .hud .chip{
  justify-content:end;
  text-align:right;
}

.playWorkspace .hud .chip-k,
.playWorkspace .hud .meta-k{
  font-size:8px;
  letter-spacing:.1em;
}

.playWorkspace .hud .chip-v,
.playWorkspace .hud .meta-v{
  overflow:hidden;
  color:#fff;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.gameMainStage .hero.hero-mini{
  min-height:132px;
  grid-template-columns:minmax(0,1fr) auto;
  border-color:rgba(50,211,200,.20);
}

.gameMainStage .hero-status{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
}

.heroStatusContext{
  min-width:0;
}

.heroStatusContext span{
  display:block;
  margin-bottom:5px;
  color:var(--accent);
  font-size:9px;
  font-weight:950;
  letter-spacing:.12em;
}

.heroStatusContext small{
  display:block;
  max-width:430px;
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  line-height:1.45;
}

.gameMainStage .heroStatus{
  display:flex !important;
  min-width:160px;
  margin:0;
  white-space:nowrap;
}

.gameMainStage .hero-actions{
  min-width:160px;
}

.gameMainStage .hero-actions .joinControlSlot,
.gameMainStage .hero-actions .cardJoinOverlay,
.gameMainStage .hero-actions .registeredRow{
  display:flex;
  width:auto;
  justify-content:center;
}

.gameMainStage .hero-actions #joinBtnCard::before{
  min-width:154px;
  width:auto;
  padding:0 18px;
}

.gameMainStage .hero-actions #joinBtnCard.joinClosed::before{
  content:"Game Live";
  color:#d8e7ea;
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
  box-shadow:none;
}

.gameMainStage .hero-actions #joinBtnCard.joinEnded::before{
  content:"Round Complete";
  color:#1b1202;
  background:linear-gradient(180deg,#ffe08a,#f4c95d);
  box-shadow:none;
}

.gameMainStage .hero-actions #joinBtnCard:disabled::before{
  opacity:1;
}

.gameMainStage .cardPanel:not(.hasCard){
  min-height:350px;
  opacity:1;
  background:
    linear-gradient(180deg,rgba(6,16,23,.26),rgba(6,16,23,.70)),
    url("assets/bingo-crypt-title-2.png") center / cover no-repeat;
}

.gameMainStage .cardPanel:not(.hasCard)::after{
  content:"Join the game to reveal your bingo card";
  align-items:end;
  padding-bottom:24px;
  color:rgba(255,255,255,.78);
  text-shadow:0 2px 8px rgba(0,0,0,.8);
}

.cardPanel .card-watermark{
  display:none !important;
}

.cardPanel.hasCard::after{
  inset:0;
  opacity:.32;
  background:url("assets/bingo-crypt-title-2.png") center / cover no-repeat;
  filter:saturate(1.1) contrast(1.1) brightness(.76);
}

.cardPanel.hasCard::before{
  opacity:.38;
}

@media (max-width: 800px){
  .playWorkspace .brand-text.hudTopRow{
    grid-template-columns:1fr;
  }
  .playWorkspace .meta-pills,
  .playWorkspace .chip-row{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .gameMainStage .hero.hero-mini,
  .gameMainStage .hero-status{
    grid-template-columns:1fr;
  }
  .gameMainStage .hero-status,
  .gameMainStage .hero-actions{
    justify-items:center;
    text-align:center;
  }
  .heroStatusContext small{max-width:520px}
}

@media (max-width: 520px){
  .playWorkspace .meta-pills,
  .playWorkspace .chip-row{
    grid-template-columns:1fr;
  }
  .playWorkspace .hud .chip{
    justify-content:start;
    text-align:left;
  }
  .gameMainStage .cardPanel:not(.hasCard){min-height:250px}
}

.winner-item{
  padding:8px 10px;
}

.feed-container{
  max-height:132px;
}

.feed-item{
  padding:8px 10px;
}

@media (max-width: 620px){
  body{
    padding:8px;
  }

  .hud .chip,
  .hud .meta-pill{
    min-height:22px;
    padding:4px 8px;
    font-size:10px;
  }

  .hero.hero-mini{
    min-height:128px;
  }

  .big.ball{
    width:70px;
    height:70px;
  }

  .big.ball .ballInner{
    width:38px;
    height:38px;
    font-size:14px;
  }

  .cell{
    min-height:38px;
    font-size:15px;
  }

  .colHeader{
    min-height:26px;
  }

  #drawn{
    max-height:76px;
  }

  .drawnPanelTop{
    align-items:flex-start;
    flex-direction:column;
  }

  .joinControlSlot,
  .drawnPanel .cardJoinOverlay,
  .drawnPanel .registeredRow{
    width:100%;
    justify-content:flex-start;
  }

  .drawnProgress{
    grid-template-columns:1fr;
    gap:4px;
  }

  .drawnProgress .heroProgressLabel{
    text-align:left;
  }
}

/* =========================
   V13: Latest Ball in Drawn Panel
   ========================= */
.hero.hero-mini{
  min-height:auto;
  padding-top:12px;
}

.hero-focus{
  min-height:34px;
  margin:0;
  align-items:center;
  justify-content:center;
}

.hero-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin:8px 0 2px;
}

.hero-actions .joinInHud{
  display:none;
}

.hero-actions .joinControlSlot{
  min-width:0;
  justify-content:center;
}

.hero-actions .cardJoinOverlay{
  position:static;
  inset:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  pointer-events:auto;
  z-index:auto;
}

.hero-actions #joinBtnCard{
  position:static;
  inset:auto;
  transform:none;
  width:auto;
  height:auto;
}

.hero-actions #joinBtnCard .joinImg{
  display:none;
}

.hero-actions #joinBtnCard::before{
  content:"Join Game";
  display:flex;
  align-items:center;
  justify-content:center;
  width:142px;
  height:38px;
  color:#061414;
  font-size:13px;
  font-weight:1000;
  letter-spacing:.02em;
  text-transform:uppercase;
  border-radius:999px;
  background:linear-gradient(180deg, #6df2e8, #32d3c8);
  box-shadow:0 8px 18px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.28);
}

.hero-actions .registeredRow{
  margin:0;
  justify-content:center;
}

.hero-actions .registeredBtn{
  min-width:142px;
  min-height:38px;
  padding:8px 12px;
  font-size:12px;
}

.hero-actions .registeredBtn.joinCanLeave::after{
  content:" / leave";
  font-size:10px;
}

.drawnPanel{
  width:min(100%, 560px);
}

.drawnPanelTop{
  align-items:center;
}

.drawnLatestLabel{
  color:var(--muted);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.drawnLatest{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:76px;
  margin:2px 0 8px;
}

.drawnLatest #nextBall.big{
  width:68px;
  height:68px;
}

.drawnLatest #nextBall.big .ballInner{
  width:38px;
  height:38px;
  font-size:14px;
}

.drawnPanel .joinControlSlot,
.drawnPanel .cardJoinOverlay,
.drawnPanel .registeredRow{
  display:none !important;
}

#drawn:empty{
  min-height:10px;
}

@media (max-width: 620px){
  .hero.hero-mini{
    min-height:auto;
    padding:10px;
  }

  .hero-focus{
    min-height:30px;
  }

  .hero-actions{
    margin-top:6px;
  }

  .heroLiveGrid{
    margin-top:8px;
  }

  .drawnPanelTop{
    flex-direction:row;
    align-items:center;
  }

  .drawnLatest{
    min-height:68px;
  }

  .drawnLatest #nextBall.big{
    width:62px;
    height:62px;
  }
}

/* =========================
   V14: Host Prize Settings
   ========================= */
.hostBar{
  flex-wrap:wrap;
}

.hostBar .winTargetControl{
  flex:1 1 190px;
}

.hostBar .hostSetting{
  flex:0 1 132px;
  min-width:118px;
}

.hostBar .hostSetting input{
  width:100%;
  min-height:34px;
  color:#fff;
  background:rgba(2,9,14,.72);
  border:1px solid var(--line-strong);
  border-radius:8px;
  padding:8px 10px;
  outline:none;
}

.hostBar .hostSetting input:disabled,
.hostBar .hostSetting select:disabled{
  opacity:.54;
  cursor:not-allowed;
}

.hostBar-actions{
  margin-left:auto;
}

.hostBar.hostBarLocked{
  opacity:.72;
}

.hostBar.hostBarLocked .hostBar-label::after{
  content:" - host only";
  color:var(--muted);
  font-weight:800;
  letter-spacing:.04em;
}

@media (max-width: 620px){
  .hostBar .winTargetControl,
  .hostBar .hostSetting{
    flex:1 1 100%;
  }

  .hostBar-actions{
    margin-left:0;
  }
}

/* =========================
   V15: Golden Ball Moment
   ========================= */
.ball.goldenBallHit{
  color:#1d1300;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.92), rgba(255,255,255,0) 28%),
    linear-gradient(145deg, #fff3a6 0%, #f8c94b 42%, #b46b00 100%) !important;
  border-color:rgba(255,246,178,.96);
  box-shadow:
    0 16px 36px rgba(0,0,0,.46),
    0 0 0 3px rgba(255,220,91,.22),
    0 0 28px rgba(255,210,65,.55),
    inset 0 2px 0 rgba(255,255,255,.44);
}

.ball.goldenBallHit .ballInner{
  color:#1d1300;
  background:linear-gradient(180deg, #fffdf0, #ffe58d);
  box-shadow:inset 0 0 0 1px rgba(126,78,0,.16);
}

.ball.small.goldenBallHit{
  color:#1d1300;
  border-color:rgba(255,225,91,.86);
  box-shadow:
    0 8px 18px rgba(0,0,0,.32),
    0 0 16px rgba(255,210,65,.45),
    inset 0 1px 0 rgba(255,255,255,.42);
}

/* =========================
   V18: Premium Tech Card
   ========================= */
.cardPanel.hasCard{
  width:min(100%, 460px);
  padding:12px 12px 4px;
  border-radius:8px;
  border-color:rgba(74, 246, 238, .24);
  background:
    linear-gradient(180deg, rgba(74,246,238,.055), rgba(74,246,238,0) 18%),
    linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.012)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.020) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 15px),
    #07111a;
  box-shadow:
    0 24px 55px rgba(0,0,0,.58),
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 0 0 1px rgba(74,246,238,.06);
}

.cardPanel.hasCard::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.72;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(255,255,255,.05) 9% 10%, transparent 10% 22%, rgba(255,255,255,.038) 22% 23%, transparent 23% 100%),
    radial-gradient(280px 150px at 50% 43%, rgba(74,246,238,.16), transparent 62%),
    linear-gradient(145deg, rgba(255,255,255,.07), transparent 28% 72%, rgba(0,0,0,.30));
  mix-blend-mode:screen;
}

.cardPanel.hasCard::after{
  content:"";
  position:absolute;
  inset:-22px -14px 4px;
  pointer-events:none;
  opacity:.22;
  background:url("assets/bbb-card-watermark.png") center 52% / 126% auto no-repeat;
  filter:saturate(1.38) contrast(1.14) brightness(.80);
  z-index:1;
}

.cardPanel.hasCard #cardGrid{
  position:relative;
  z-index:2;
  gap:6px;
  padding:8px;
  border-radius:8px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.10)),
    rgba(0,0,0,.12);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.055),
    inset 0 0 28px rgba(0,0,0,.26);
}

.cardPanel.hasCard #cardGrid::before{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  top:43px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg, transparent, rgba(67,241,235,.96) 10% 90%, transparent);
  box-shadow:0 0 16px rgba(67,241,235,.42);
  pointer-events:none;
  z-index:3;
}

.cardPanel.hasCard .colHeader{
  min-height:29px;
  padding:0;
  border-radius:6px;
  color:#ffffff;
  background:
    linear-gradient(180deg, rgba(12,32,38,.82), rgba(2,7,10,.76));
  border:1px solid rgba(74,246,238,.18);
  font-size:14px;
  letter-spacing:.20em;
  text-shadow:
    0 0 14px rgba(255,255,255,.34),
    0 0 12px rgba(74,246,238,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(74,246,238,.13),
    0 8px 14px rgba(0,0,0,.30);
}

.cardPanel.hasCard .cell{
  min-height:56px;
  border-radius:6px;
  color:#f8fbff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(180deg, rgba(8,13,17,.94), rgba(0,0,0,.76)),
    rgba(17,26,35,.72);
  border:1px solid rgba(255,255,255,.075);
  font-size:23px;
  font-weight:1000;
  line-height:1;
  text-shadow:
    0 2px 0 rgba(0,0,0,.42),
    0 0 12px rgba(255,255,255,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -8px 20px rgba(0,0,0,.18),
    0 9px 14px rgba(0,0,0,.34);
}

.cardPanel.hasCard .cell.free{
  font-size:10px;
  letter-spacing:.08em;
  color:#061018;
  border-color:rgba(67,241,235,.44);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.98), rgba(255,255,255,.58) 34%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(67,241,235,.60), transparent 62%),
    rgba(8,33,43,.78);
}

.cardPanel.hasCard .cell.daubed{
  border-color:rgba(67,241,235,.42);
  background:
    radial-gradient(circle at 50% 50%, rgba(67,241,235,.24), transparent 52%),
    linear-gradient(180deg, rgba(5,38,45,.74), rgba(0,0,0,.54));
  box-shadow:
    inset 0 0 0 1px rgba(67,241,235,.18),
    0 0 24px rgba(67,241,235,.20),
    0 13px 20px rgba(0,0,0,.36);
}

.cardPanel.hasCard .cell.daubed::before{
  width:34px;
  height:34px;
  background:rgba(43,124,255,.50);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    0 0 18px rgba(67,241,235,.22),
    0 8px 18px rgba(0,0,0,.30);
}

.cardPanel.hasCard .cell.last{
  outline:2px solid rgba(255,255,255,.90);
  box-shadow:
    0 0 0 3px rgba(67,241,235,.28),
    0 0 24px rgba(67,241,235,.32),
    0 13px 20px rgba(0,0,0,.36);
}

.cardPanel.hasCard .claimRow{
  position:relative;
  z-index:3;
  margin-top:0;
  min-height:28px;
}

.cardPanel.hasCard .claimIcon{
  width:136px;
  opacity:.88;
  filter:
    drop-shadow(0 14px 24px rgba(0,0,0,.44))
    drop-shadow(0 0 16px rgba(74,246,238,.10));
}

@media (max-width:620px){
  .cardPanel.hasCard{
    width:min(100%, 430px);
    padding:10px 10px 4px;
  }

  .cardPanel.hasCard #cardGrid{
    gap:5px;
    padding:4px;
  }

  .cardPanel.hasCard #cardGrid::before{
    left:6px;
    right:6px;
    top:34px;
    height:4px;
  }

  .cardPanel.hasCard .colHeader{
    min-height:26px;
    font-size:12px;
  }

  .cardPanel.hasCard .cell{
    min-height:44px;
    font-size:19px;
  }

  .cardPanel.hasCard .claimIcon{
    width:120px;
  }
}

/* =========================
   V31: Landing, identity, onboarding
   ========================= */
.appBrand{
  min-width:250px;
  min-height:68px;
  padding:7px 10px;
}

.appBrandMark{
  width:58px;
  height:58px;
}

.appBrand strong{
  font-size:20px;
  line-height:1;
}

.appBrand small{
  margin-top:5px;
  color:#c5aef0;
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.playerIdentity{
  min-width:260px;
  min-height:70px;
  padding:7px 11px;
}

.playerAvatar{
  width:58px;
  height:58px;
}

.playerIdentity strong{
  max-width:170px;
  font-size:15px;
}

.playerIdentity small{
  max-width:180px;
  margin-top:5px;
  font-size:11px;
}

.homeHero{
  min-height:500px;
  display:block;
}

.homeHeroTrack{
  position:absolute;
  inset:0;
}

.homeHeroSlide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .55s ease,visibility .55s ease;
}

.homeHeroSlide.isActive{
  opacity:1;
  visibility:visible;
}

.homeHeroSlide > img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.homeHeroSlide .homeHeroShade{
  background:
    linear-gradient(90deg,rgba(3,10,16,.92) 0%,rgba(3,10,16,.62) 45%,rgba(3,10,16,.16) 78%),
    linear-gradient(0deg,rgba(3,10,16,.86),transparent 62%);
}

.homeHeroSlide .homeHeroContent{
  position:absolute;
  left:0;
  bottom:0;
  width:min(620px,100%);
}

.homeHeroSlide h1{
  margin:8px 0 10px;
  color:#fff4c8;
  font-size:clamp(48px,7vw,86px);
  text-shadow:0 4px 30px rgba(0,0,0,.8);
}

.homeHeroControls{
  position:absolute;
  z-index:4;
  right:18px;
  bottom:18px;
  display:flex;
  align-items:center;
  gap:9px;
}

.homeHeroControls > button{
  width:38px;
  height:38px;
  padding:0;
  display:grid;
  place-items:center;
  border-color:rgba(255,255,255,.22);
  background:rgba(3,10,16,.72);
  font-size:25px;
  line-height:1;
}

.homeHeroDots{
  display:flex;
  align-items:center;
  gap:6px;
}

.homeHeroDots button{
  width:24px;
  height:6px;
  min-height:0;
  padding:0;
  border:0;
  border-radius:99px;
  background:rgba(255,255,255,.28);
  box-shadow:none;
}

.homeHeroDots button.isActive{
  width:42px;
  background:linear-gradient(90deg,#f1c958,#48d8cb);
}

.onboardingModal[hidden]{display:none}
.onboardingModal{
  position:fixed;
  inset:0;
  z-index:900;
  display:grid;
  place-items:center;
  padding:18px;
}

.onboardingBackdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  border-radius:0;
  background:rgba(1,6,11,.86);
  box-shadow:none;
  backdrop-filter:blur(12px);
}

.onboardingWindow{
  position:relative;
  width:min(580px,100%);
  min-height:390px;
  padding:34px;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(50,211,200,.38);
  border-radius:8px;
  background:
    linear-gradient(145deg,rgba(18,42,53,.98),rgba(5,17,25,.99)),
    #07131b;
  box-shadow:0 30px 90px rgba(0,0,0,.68);
}

.onboardingClose{
  position:absolute;
  top:10px;
  right:10px;
  width:38px;
  height:38px;
  padding:0;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.06);
  font-size:25px;
}

.onboardingProgress{
  width:calc(100% - 48px);
  height:5px;
  margin-bottom:46px;
  overflow:hidden;
  border-radius:99px;
  background:rgba(255,255,255,.09);
}

.onboardingProgress span{
  display:block;
  width:33.333%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#48d8cb,#f1c958);
  transition:width .25s ease;
}

.onboardingStep{display:none}
.onboardingStep.isActive{display:block}
.onboardingNumber{
  color:#f1c958;
  font-size:13px;
  font-weight:1000;
  letter-spacing:.14em;
}
.onboardingStep h2{
  margin:10px 0 14px;
  color:#f7fbfc;
  font-size:34px;
}
.onboardingStep p{
  max-width:490px;
  margin:0;
  color:#b8ccd1;
  font-size:15px;
  line-height:1.7;
}
.onboardingActions{
  margin-top:auto;
  padding-top:34px;
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.onboardingActions button{
  min-width:120px;
  min-height:44px;
}
.onboardingPrimary{
  margin-left:auto;
  color:#061414;
  border-color:#48d8cb;
  background:linear-gradient(135deg,#48d8cb,#f1c958);
}
.onboardingSecondary{background:rgba(255,255,255,.06)}
body.onboardingOpen{overflow:hidden}

@media(max-width:900px){
  .appTopbar{
    top:0;
    grid-template-columns:1fr auto;
    min-height:0;
  }
  .appNav{
    width:100%;
    justify-self:stretch;
    scrollbar-width:none;
  }
  .appNav::-webkit-scrollbar{display:none}
}

@media(max-width:620px){
  body{padding:0 8px 20px}
  .appTopbar{
    margin:0 -8px 10px;
    padding:8px;
    border-left:0;
    border-right:0;
    border-radius:0;
  }
  .appBrand{
    min-width:0;
    min-height:58px;
    padding:4px;
  }
  .appBrandMark{width:50px;height:50px}
  .appBrand strong{font-size:17px}
  .appBrand small{display:block;font-size:8px}
  .playerIdentity{
    min-width:0;
    min-height:58px;
    padding:4px 6px;
  }
  .playerAvatar{width:48px;height:48px}
  .playerIdentityText{display:block}
  .playerIdentity strong{max-width:92px;font-size:12px}
  .playerIdentity small{max-width:92px;font-size:8px}
  .appNavBtn{min-height:42px;padding:8px 12px}
  .homeHero{min-height:560px}
  .homeHeroSlide > img{object-position:center top}
  .homeHeroSlide .homeHeroShade{
    background:linear-gradient(0deg,rgba(3,10,16,.98) 0%,rgba(3,10,16,.82) 50%,rgba(3,10,16,.12) 100%);
  }
  .homeHeroSlide .homeHeroContent{
    width:100%;
    padding:22px 18px 72px;
  }
  .homeHeroSlide h1{font-size:46px}
  .homeHeroSlide p{font-size:13px}
  .homeHeroControls{
    left:18px;
    right:18px;
    justify-content:center;
  }
  .homeStats article{min-width:0}
  .homeStats small{line-height:1.35}
  .onboardingModal{padding:0}
  .onboardingWindow{
    width:100%;
    min-height:100vh;
    padding:28px 22px;
    border:0;
    border-radius:0;
  }
  .onboardingProgress{margin-top:12px}
  .onboardingStep h2{font-size:30px}
}

@media (min-width:821px){
  .playSurface.gameplayDashboard{
    grid-template-columns:minmax(180px,280px) minmax(330px,1fr) minmax(240px,350px) !important;
  }
  .gamePromoRail,
  .gameInfoRail{
    position:sticky;
    top:70px;
  }
  .gameInsightStack{
    grid-template-columns:1fr;
  }
}

/* =========================
   V20: Ball Caller Stage
   ========================= */
.gameMainStage .drawnPanel{
  position:relative;
  overflow:hidden;
  padding:14px;
  border-color:rgba(50,211,200,.28);
  background:
    radial-gradient(circle at 50% 34%,rgba(50,211,200,.13),transparent 38%),
    linear-gradient(155deg,rgba(15,37,50,.98),rgba(6,17,25,.98));
  box-shadow:0 18px 38px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.06);
}

.gameMainStage .drawnPanel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.35;
  background:
    linear-gradient(90deg,transparent 0 49.7%,rgba(50,211,200,.14) 50%,transparent 50.3%),
    linear-gradient(0deg,transparent 0 49.7%,rgba(50,211,200,.08) 50%,transparent 50.3%);
}

.gameMainStage .drawnPanel > *{
  position:relative;
  z-index:1;
}

.ballLane{
  margin:10px 0 0;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:5px;
}

.ballLane span{
  min-height:38px;
  padding:5px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:6px;
  color:var(--muted);
  background:rgba(3,12,18,.52);
  font-size:13px;
  font-weight:1000;
  transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease;
}

.ballLane small{
  display:block;
  margin-top:-3px;
  color:inherit;
  font-size:7px;
  font-weight:800;
}

.ballLane [data-lane="b"].active{color:#dceeff;border-color:#2787ee;background:rgba(39,135,238,.18)}
.ballLane [data-lane="i"].active{color:#f1d8ff;border-color:#a83bca;background:rgba(168,59,202,.18)}
.ballLane [data-lane="n"].active{color:#d9ffe6;border-color:#32c86d;background:rgba(50,200,109,.18)}
.ballLane [data-lane="g"].active{color:#fff1b8;border-color:#ffc22e;background:rgba(255,194,46,.18)}
.ballLane [data-lane="o"].active{color:#ffe0e4;border-color:#ef5368;background:rgba(239,83,104,.18)}
.ballLane span.active{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.25)}

.gameMainStage .drawnLatest{
  position:relative;
  min-height:150px;
  margin:8px 0 10px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:14px;
  overflow:hidden;
  border:1px solid rgba(50,211,200,.18);
  border-radius:8px;
  background:
    radial-gradient(circle at 50% 50%,rgba(50,211,200,.20),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(0,0,0,.12));
}

.gameMainStage .drawnLatest::before{
  content:"LIVE CALL";
  position:absolute;
  top:9px;
  left:10px;
  color:var(--accent);
  font-size:8px;
  font-weight:950;
  letter-spacing:.13em;
}

.drawPulse{
  position:absolute;
  left:50%;
  top:50%;
  width:112px;
  height:112px;
  border:1px solid rgba(50,211,200,.22);
  border-radius:50%;
  transform:translate(-50%,-50%);
  pointer-events:none;
}

.pulseTwo{
  width:140px;
  height:140px;
  opacity:.45;
}

body.gameRunning .drawPulse{
  animation:drawPulse 2.2s ease-out infinite;
}

body.gameRunning .pulseTwo{
  animation-delay:1.1s;
}

@keyframes drawPulse{
  0%{transform:translate(-50%,-50%) scale(.74);opacity:.65}
  70%,100%{transform:translate(-50%,-50%) scale(1.12);opacity:0}
}

.gameMainStage .drawnLatest #nextBall.big{
  grid-column:2;
  width:94px;
  height:94px;
  margin:0;
  border-width:4px;
  box-shadow:0 18px 36px rgba(0,0,0,.46),0 0 28px rgba(50,211,200,.22),inset 0 2px 0 rgba(255,255,255,.24);
}

.gameMainStage .drawnLatest #nextBall.big .ballInner{
  width:52px;
  height:52px;
  font-size:17px;
}

.latestBallCaption{
  grid-column:3;
  justify-self:start;
  display:grid;
  gap:1px;
}

.latestBallCaption span{
  color:var(--accent);
  font-size:9px;
  font-weight:950;
  letter-spacing:.12em;
}

.latestBallCaption strong{
  color:#fff;
  font-size:32px;
  line-height:1;
  text-shadow:0 0 18px rgba(255,255,255,.22);
}

.latestBallCaption small{
  color:var(--muted);
  font-size:8px;
}

.gameMainStage .drawnProgress{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:center;
  margin-bottom:10px;
}

.gameMainStage .drawnProgress .heroProgress{
  position:relative;
  height:9px;
  margin:0;
  overflow:visible;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(1,7,11,.72);
  box-shadow:inset 0 2px 5px rgba(0,0,0,.5);
}

.gameMainStage .drawnProgress #heroProgressFill{
  position:relative;
  overflow:hidden;
  background:linear-gradient(90deg,#32d3c8 0%,#7ce4ba 38%,#f4c95d 74%,#ef5368 100%);
  box-shadow:0 0 14px rgba(50,211,200,.34);
}

.gameMainStage .drawnProgress #heroProgressFill::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%);
  animation:progressShine 2.8s linear infinite;
}

@keyframes progressShine{
  from{transform:translateX(-100%)}
  to{transform:translateX(100%)}
}

.gameMainStage .drawnProgress .heroProgressLabel{
  min-width:82px;
  margin:0;
  color:#e5f1f4;
  font-size:10px;
  font-weight:900;
  text-align:right;
}

.drawnHistoryHead{
  margin:0 1px 5px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:var(--muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.gameMainStage #drawn{
  min-height:62px;
  max-height:116px;
  grid-template-columns:repeat(12,1fr);
  padding:8px;
  border-color:rgba(255,255,255,.10);
  background:rgba(1,7,11,.58);
}

.gameMainStage .ball.small{
  width:29px;
  height:29px;
  opacity:clamp(.46,calc(1 - (var(--history-index) * .035)),1);
  box-shadow:0 6px 12px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.18);
}

.gameMainStage .ball.small:first-child{
  transform:scale(1.12);
  opacity:1;
  box-shadow:0 0 0 2px rgba(255,255,255,.2),0 8px 18px rgba(0,0,0,.32);
}

@media (max-width:520px){
  .gameMainStage .drawnLatest{
    grid-template-columns:1fr;
    justify-items:center;
    min-height:176px;
    padding:26px 10px 10px;
  }
  .gameMainStage .drawnLatest #nextBall.big{grid-column:auto}
  .latestBallCaption{grid-column:auto;justify-self:center;text-align:center}
  .latestBallCaption strong{font-size:24px}
  .gameMainStage #drawn{grid-template-columns:repeat(7,1fr)}
}

/* Final card artwork source: Bingo Crypt only. */
.cardPanel .card-watermark{
  display:none !important;
}

.cardPanel.hasCard::after{
  inset:0 !important;
  opacity:.32 !important;
  background:url("assets/bingo-crypt-title-2.png") center / cover no-repeat !important;
  filter:saturate(1.1) contrast(1.1) brightness(.76) !important;
}

/* =========================
   V19: Play Clarity + Promotion Rail
   ========================= */
.playWorkspace .hud-watermark{
  display:none !important;
}

.playWorkspace .hud{
  background:
    linear-gradient(90deg,rgba(4,14,21,.88),rgba(4,14,21,.48),rgba(4,14,21,.88)),
    url("assets/bingo-crypt-title-2.png") center 48% / cover no-repeat !important;
}

.playWorkspace .hud .chip-k,
.playWorkspace .hud .meta-k{
  color:var(--accent);
  font-size:10px;
  font-weight:950;
  letter-spacing:.08em;
}

.playWorkspace .hud .chip-v,
.playWorkspace .hud .meta-v{
  font-size:14px;
  font-weight:1000;
}

.playSurface.gameplayDashboard{
  grid-template-columns:minmax(180px,280px) minmax(330px,1fr) minmax(240px,350px);
  align-items:start;
}

.gamePromoRail{
  min-width:0;
  display:grid;
  align-content:start;
  gap:10px;
}

.promoPanel{
  overflow:hidden;
  padding:10px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(11,27,38,.94);
  box-shadow:0 14px 30px rgba(0,0,0,.24);
}

.promoPanel > span{
  display:block;
  margin-bottom:8px;
  color:var(--accent);
  font-size:9px;
  font-weight:950;
  letter-spacing:.1em;
}

.promoPanel strong{
  display:block;
  color:var(--text);
  font-size:13px;
  line-height:1.25;
}

.promoPanel p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:10px;
  line-height:1.5;
}

.promoPanel button{
  width:100%;
  min-height:34px;
  margin-top:10px;
  padding:7px 8px;
  border-radius:6px;
  color:var(--text);
  background:rgba(255,255,255,.07);
  box-shadow:none;
  font-size:10px;
}

.promoActions{
  margin-top:10px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}

.promoActions button,
.promoActions a{
  min-height:34px;
  margin:0;
  padding:7px 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:6px;
  color:var(--text);
  background:rgba(255,255,255,.07);
  font-size:10px;
  font-weight:900;
  text-align:center;
  text-decoration:none;
}

.promoActions a{
  color:#061414;
  background:var(--accent);
  border-color:var(--accent);
}

.promoFacts{
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px;
}

.promoFacts div{
  padding:7px;
  border:1px solid var(--line);
  border-radius:6px;
  background:rgba(255,255,255,.035);
}

.promoFacts span,
.promoFacts strong{
  display:block;
}

.promoFacts span{
  color:var(--muted);
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
}

.promoFacts strong{
  margin-top:3px;
  color:var(--text);
  font-size:10px;
}

.promoFacts small{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:7px;
  line-height:1.35;
}

.promoGallery{
  margin-bottom:9px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px;
}

.promoGallery img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:5px;
  background:#061018;
}

.promoGallery img:first-child{
  grid-column:auto;
  aspect-ratio:1/1;
}

.promoPrize{
  border-color:rgba(244,201,93,.28);
  background:
    linear-gradient(145deg,rgba(244,201,93,.10),rgba(11,27,38,.94) 65%);
}

.promoSlot{
  min-height:170px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-style:dashed;
  background:
    linear-gradient(145deg,rgba(50,211,200,.07),rgba(255,255,255,.025));
}

.promoSlot button{margin-top:auto}

.heroStatusContext span{
  font-size:11px;
}

.heroStatusContext small{
  font-size:13px;
  line-height:1.5;
}

.gameMainStage .heroStatus{
  min-width:180px;
  min-height:44px;
  padding:9px 16px;
  font-size:13px;
}

.gameMainStage .hero-status{
  grid-template-columns:1fr;
  align-content:center;
}

.gameMainStage .heroStatus{
  justify-self:start;
}

.gameMainStage .drawnPanel{
  position:static;
  width:100%;
  max-width:650px;
  margin:0 auto;
  min-height:0;
}

.gameMainStage .drawnLatest{
  min-height:92px;
}

.gameMainStage .drawnLatest #nextBall.big{
  width:72px;
  height:72px;
}

.gameMainStage .drawnProgress{
  margin-bottom:8px;
}

.gameMainStage #drawn{
  min-height:54px;
  max-height:112px;
  padding:7px;
  display:grid;
  grid-template-columns:repeat(12,1fr);
  align-content:start;
  gap:4px;
  overflow:auto;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(3,12,18,.48);
}

.gameMainStage #drawn:empty::before{
  content:"Drawn balls will appear here as the game progresses.";
  grid-column:1/-1;
  align-self:center;
  color:var(--muted);
  font-size:10px;
  text-align:center;
}

.gameMainStage .ball.small{
  width:27px;
  height:27px;
  margin:0 auto;
  font-size:8px;
}

/* V21: readable call history, prize ownership clarity, and Duel stake agreement. */
.gameMainStage #drawn{
  min-height:96px;
  max-height:168px;
  grid-template-columns:repeat(8,minmax(36px,1fr));
  gap:7px;
  padding:10px;
}

.gameMainStage .ball.small{
  width:38px;
  height:38px;
  font-size:11px;
  font-weight:1000;
  opacity:clamp(.74,calc(1 - (var(--history-index) * .018)),1);
}

.hostPrizeNote{
  margin-bottom:12px;
  padding:11px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:10px;
  align-items:center;
  border:1px solid rgba(244,201,93,.30);
  border-radius:7px;
  background:rgba(244,201,93,.08);
}
.hostPrizeNote strong{color:var(--gold);font-size:11px}
.hostPrizeNote span{color:var(--muted);font-size:10px}
.hostPrizeNote button{min-height:32px;padding:6px 10px;font-size:10px}

.duelStakePanel{
  margin-bottom:10px;
  padding:12px;
  border:1px solid rgba(244,201,93,.35);
  border-radius:8px;
  background:linear-gradient(135deg,rgba(244,201,93,.10),rgba(11,27,38,.96) 62%);
}
.duelStakeHead,.duelStakeBody,.duelStakeActions{display:flex;align-items:center;gap:10px}
.duelStakeHead,.duelStakeBody{justify-content:space-between}
.duelStakeHead span,.duelStakeHead strong,.duelStakeOffer strong,.duelStakeOffer span{display:block}
.duelStakeHead span{color:var(--gold);font-size:8px;font-weight:950;letter-spacing:.1em}
.duelStakeHead strong{margin-top:2px;font-size:13px}
.duelStakeHead em{color:var(--muted);font-size:9px;font-style:normal}
.duelStakeBody{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.duelStakeOffer{min-width:180px;color:var(--muted);font-size:10px;line-height:1.45}
.duelStakeOffer strong{color:var(--text);font-size:12px}
.duelStakeActions{flex:1;justify-content:flex-end;flex-wrap:wrap}
.duelStakeActions select{max-width:220px;min-height:34px}
.duelStakeActions button{min-height:34px;padding:7px 10px;font-size:10px}

@media(max-width:620px){
  .gameMainStage #drawn{grid-template-columns:repeat(5,minmax(36px,1fr))}
  .hostPrizeNote,.duelStakeHead,.duelStakeBody{display:grid;grid-template-columns:1fr}
  .duelStakeActions{justify-content:stretch}
  .duelStakeActions select,.duelStakeActions button{max-width:none;width:100%}
}

.gameInfoRail{
  position:sticky;
  top:70px;
}

.gamePromoRail{
  position:sticky;
  top:70px;
}

.gameMainStage .hero-actions{
  min-width:180px;
  flex-wrap:wrap;
  gap:8px;
}

.heroResetBtn{
  min-height:38px;
  padding:8px 13px;
  border-radius:7px;
  color:var(--text);
  background:rgba(255,255,255,.08);
  border-color:var(--line-strong);
  box-shadow:none;
  font-size:11px;
}

.heroResetBtn:hover{
  border-color:rgba(244,201,93,.48);
  background:rgba(244,201,93,.12);
}

/* =========================
   V24: ENGRAVED GAME ACTIONS
   ========================= */
.hero-actions #joinBtnCard::before,
.hero-actions .registeredBtn,
.heroResetBtn,
#startBtn,
#resetBtn,
#pauseToggleBtn,
.koHeroActions button{
  border:1px solid rgba(221,203,118,.58);
  border-radius:999px;
  color:#f3edcf;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:900;
  letter-spacing:.04em;
  text-shadow:0 1px 0 #000,0 0 8px currentColor;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),transparent 30%),
    linear-gradient(180deg,#26321c,#10160d);
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.68),
    inset 0 1px 0 rgba(255,255,255,.18),
    0 0 0 1px rgba(218,193,86,.18),
    0 7px 15px rgba(0,0,0,.42);
}

.hero-actions #joinBtnCard::before,
#startBtn,
.koHeroActions #koHeroJoinBtn,
.koHeroActions #koHeroStartBtn{
  border-color:rgba(151,220,72,.72);
  color:#ddffc1;
  background:
    linear-gradient(180deg,rgba(170,255,101,.13),transparent 30%),
    linear-gradient(180deg,#244315,#101e0b);
  box-shadow:
    inset 0 0 0 2px rgba(3,18,2,.78),
    inset 0 1px 0 rgba(226,255,199,.25),
    0 0 12px rgba(106,211,51,.22),
    0 7px 15px rgba(0,0,0,.44);
}

.hero-actions .registeredBtn.joinCanLeave,
#resetBtn,
.heroResetBtn,
.koHeroActions #koHeroLeaveBtn{
  border-color:rgba(255,91,72,.68);
  color:#ffd6cf;
  background:
    linear-gradient(180deg,rgba(255,119,98,.12),transparent 30%),
    linear-gradient(180deg,#4b1717,#230b0c);
  box-shadow:
    inset 0 0 0 2px rgba(27,2,3,.76),
    inset 0 1px 0 rgba(255,221,211,.20),
    0 0 12px rgba(255,63,45,.20),
    0 7px 15px rgba(0,0,0,.44);
}

.hero-actions .registeredBtn:not(.joinCanLeave),
#pauseToggleBtn{
  border-color:rgba(226,199,91,.68);
  color:#fff0b5;
  background:
    linear-gradient(180deg,rgba(255,230,125,.12),transparent 30%),
    linear-gradient(180deg,#443a16,#211b0a);
}

.hero-actions #joinBtnCard:hover::before,
.hero-actions .registeredBtn:hover,
.heroResetBtn:hover,
#startBtn:hover,
#resetBtn:hover,
#pauseToggleBtn:hover,
.koHeroActions button:hover{
  filter:brightness(1.16);
  transform:translateY(-1px);
}

.hero-actions #joinBtnCard:disabled::before,
.hero-actions .registeredBtn:disabled,
.heroResetBtn:disabled,
#startBtn:disabled,
#resetBtn:disabled,
#pauseToggleBtn:disabled,
.koHeroActions button:disabled{
  filter:grayscale(.55);
  opacity:.42;
  box-shadow:inset 0 0 0 2px rgba(0,0,0,.62),0 5px 12px rgba(0,0,0,.32);
}

/* =========================
   V25: GLOBAL CLASSIC CATHEDRAL
   ========================= */
body.mode-classic:not(.mode-knockout){
  --classic-gold:#f1c958;
  --classic-purple:#8f56ba;
  --accent:var(--classic-gold);
  background:
    radial-gradient(circle at 50% 0%,rgba(143,86,186,.14),transparent 40%),
    linear-gradient(160deg,#090711,#0b141b 52%,#08070e) fixed;
}

body.mode-classic:not(.mode-knockout) .playWorkspaceWindow{
  border-color:rgba(241,201,88,.38);
  background:
    linear-gradient(110deg,rgba(89,43,104,.10),transparent 38% 62%,rgba(114,73,22,.10)),
    #08151c;
}

body.mode-classic:not(.mode-knockout) .playWorkspaceHeader{
  border-bottom-color:rgba(241,201,88,.24);
  background:linear-gradient(90deg,rgba(63,31,75,.50),rgba(8,21,28,.96) 44% 56%,rgba(76,47,13,.46));
}

body.mode-classic:not(.mode-knockout) .playWorkspaceHeader span{color:#e9bf52}
body.mode-classic:not(.mode-knockout) .playWorkspaceHeader strong{
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

body.mode-classic:not(.mode-knockout) .playWorkspace .hud{
  min-height:0;
  aspect-ratio:1920 / 819;
  width:100%;
  border-color:rgba(241,201,88,.48) !important;
  background:
    linear-gradient(180deg,rgba(6,3,11,.02),rgba(7,5,12,.10)),
    url("assets/bingo-crypt-main-hall-banner.png") center / cover no-repeat !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.07),
    inset 0 -32px 44px rgba(0,0,0,.28),
    0 18px 38px rgba(0,0,0,.52);
}

body.mode-classic:not(.mode-knockout) .playWorkspace .hud::before{
  background:linear-gradient(90deg,rgba(73,31,91,.10),transparent 37% 63%,rgba(119,76,19,.10));
  mix-blend-mode:normal;
}

body.mode-classic:not(.mode-knockout) .playWorkspace .hud-watermark,
body.mode-classic:not(.mode-knockout) .playWorkspace .brand-title-img{
  opacity:0 !important;
}

body.mode-classic:not(.mode-knockout) .playWorkspace .meta-pills .meta-pill,
body.mode-classic:not(.mode-knockout) .playWorkspace .chip-row .chip{
  border-color:rgba(241,201,88,.38);
  background:rgba(9,6,13,.84);
  box-shadow:inset 3px 0 0 rgba(143,86,186,.46),0 8px 18px rgba(0,0,0,.34);
}

body.mode-classic:not(.mode-knockout) .playWorkspace .chip-row .chip{
  box-shadow:inset -3px 0 0 rgba(241,201,88,.48),0 8px 18px rgba(0,0,0,.34);
}

body.mode-classic:not(.mode-knockout) .playWorkspace .hud .meta-k{color:#d59aea}
body.mode-classic:not(.mode-knockout) .playWorkspace .hud .chip-k{color:#f3ce69}

body.mode-classic:not(.mode-knockout) .gameMainStage .hero.hero-mini{
  border-color:rgba(241,201,88,.30);
  background:
    linear-gradient(105deg,rgba(105,48,120,.15),rgba(10,26,35,.98) 45% 55%,rgba(125,83,25,.14));
}

body.mode-classic:not(.mode-knockout) .gameMainStage .cardPanel:not(.hasCard){
  min-height:420px;
  border-color:rgba(241,201,88,.38);
  background:
    linear-gradient(180deg,rgba(4,3,8,.06),rgba(5,4,9,.42)),
    url("assets/bingo-crypt-dabbers-ready.png") center / cover no-repeat;
}

body.mode-classic:not(.mode-knockout) .gameMainStage .cardPanel:not(.hasCard)::after{
  content:"Join Main Hall Bingo to receive your bingo card";
  align-items:end;
  padding-bottom:28px;
  color:#fff0c0;
  text-shadow:0 2px 8px #000;
}

body.mode-classic:not(.mode-knockout) .cardPanel.hasCard::after{
  opacity:.18 !important;
  background:url("assets/bingo-crypt-dabbers-ready.png") center / cover no-repeat !important;
  filter:saturate(.88) contrast(1.16) brightness(.56) !important;
}

body.mode-classic:not(.mode-knockout) .gameMainStage .drawnProgress #heroProgressFill{
  background:linear-gradient(90deg,#9e62c4,#f1c958,#f39b55);
}

@media(max-width:620px){
  body.mode-classic:not(.mode-knockout) .playWorkspace .hud{
    min-height:180px;
    aspect-ratio:auto;
    background-position:center;
  }
}

/* =========================
   V26: HOME LOBBY POLISH
   ========================= */
.appTopbar{
  min-height:86px;
  padding:9px 11px;
  gap:12px;
  border-color:rgba(241,201,88,.24);
  background:
    linear-gradient(90deg,rgba(143,86,186,.08),transparent 28% 72%,rgba(50,211,200,.07)),
    rgba(5,17,25,.96);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 18px 42px rgba(0,0,0,.42);
}

.appBrand{
  min-width:230px;
  padding:6px 9px;
  border-color:rgba(241,201,88,.16);
  background:linear-gradient(135deg,rgba(241,201,88,.07),rgba(143,86,186,.06));
}

.appBrandMark{
  border:1px solid rgba(241,201,88,.42);
  background:#11121a;
  box-shadow:0 0 18px rgba(241,201,88,.13);
}

.appBrand strong{color:#fff3c6}
.appBrand small{color:#aabcc2}

.appNav{
  width:max-content;
  max-width:100%;
  justify-self:center;
  padding:4px;
  gap:2px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:8px;
  background:rgba(0,0,0,.20);
}

.appNavBtn{
  min-height:40px;
  padding:8px 13px;
  border-radius:6px;
  font-size:11px;
  font-weight:900;
}

.appNavBtn::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:4px;
  height:2px;
  border-radius:2px;
  background:transparent;
}

.appNavBtn:hover,
.appNavBtn.active{
  border-color:rgba(241,201,88,.16);
  color:#fff4c8;
  background:linear-gradient(180deg,rgba(241,201,88,.09),rgba(255,255,255,.025));
}

.appNavBtn:hover::after,
.appNavBtn.active::after{
  background:linear-gradient(90deg,#9a62c1,#f1c958,#48d8cb);
  box-shadow:0 0 9px rgba(241,201,88,.35);
}

.rewardNavBtn{color:#f1c958}

.playerIdentity{
  min-width:224px;
  border-color:rgba(50,211,200,.20);
  background:
    linear-gradient(135deg,rgba(50,211,200,.09),rgba(255,255,255,.025)),
    rgba(255,255,255,.025);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.playerIdentity:hover{
  border-color:rgba(50,211,200,.48);
  background:linear-gradient(135deg,rgba(50,211,200,.14),rgba(241,201,88,.05));
}

.playerAvatar{
  border:1px solid rgba(50,211,200,.40);
  box-shadow:0 0 15px rgba(50,211,200,.14);
}

.playerIdentity strong{color:#f4fafb}
.playerIdentity small{color:#a6bdc3}

.playerIdentity.connectWalletCta{
  min-width:202px;
  max-width:232px;
  min-height:56px;
  padding:8px 14px 8px 9px;
  gap:10px;
  overflow:hidden;
  border:1px solid rgba(82,230,214,.38);
  border-radius:16px;
  color:#efffff;
  background:
    radial-gradient(circle at 10% 50%,rgba(82,230,214,.15),transparent 36%),
    linear-gradient(135deg,rgba(13,48,61,.98),rgba(6,23,32,.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 10px 25px rgba(0,0,0,.26),
    0 0 18px rgba(82,230,214,.10);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.playerIdentity.connectWalletCta:hover{
  border-color:rgba(82,230,214,.72);
  background:
    radial-gradient(circle at 10% 50%,rgba(82,230,214,.22),transparent 38%),
    linear-gradient(135deg,rgba(17,59,73,.98),rgba(7,28,38,.98));
  transform:translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 14px 30px rgba(0,0,0,.30),
    0 0 22px rgba(82,230,214,.15);
}
.playerIdentity.connectWalletCta:active{
  transform:translateY(0) scale(.99);
}
.playerIdentity.connectWalletCta .playerAvatar{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  border-color:rgba(82,230,214,.62);
  color:#061718;
  background:linear-gradient(145deg,#77f6e8,#2ebbc6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 7px 18px rgba(0,0,0,.22);
}
.playerIdentity.connectWalletCta .playerAvatar span{font-size:0}
.playerIdentity.connectWalletCta .playerAvatar span::after{
  content:"WEB3";
  font-size:9px;
  font-weight:1000;
  letter-spacing:-.04em;
}
.playerIdentity.connectWalletCta .playerIdentityText{
  min-width:0;
  display:grid;
  gap:2px;
  text-align:left;
}
.playerIdentity.connectWalletCta strong{
  position:static;
  width:auto;
  height:auto;
  overflow:visible;
  color:#f5ffff;
  font-size:12px;
  line-height:1.15;
  white-space:nowrap;
  clip:auto;
}
.playerIdentity.connectWalletCta small{
  position:static;
  width:auto;
  height:auto;
  overflow:visible;
  color:#8fc1c4;
  font-size:9px;
  line-height:1.2;
  white-space:nowrap;
  clip:auto;
}

.homeStats{
  gap:8px;
  overflow:visible;
  border:0;
  background:transparent;
}

.homeStats article{
  position:relative;
  min-height:124px;
  overflow:hidden;
  padding:18px 18px 16px 21px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:8px;
  background:
    radial-gradient(circle at 95% 10%,rgba(50,211,200,.10),transparent 38%),
    linear-gradient(145deg,rgba(18,42,54,.96),rgba(8,24,34,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 12px 26px rgba(0,0,0,.20);
}

.homeStats article::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:#49e98a;
  box-shadow:0 0 16px currentColor;
}

.homeStats article:nth-child(2)::before{background:#48d8cb}
.homeStats article:nth-child(3)::before{background:#f1c958}
.homeStats article:nth-child(4)::before{background:#b369d0}

.homeStats article::after{
  position:absolute;
  right:14px;
  top:13px;
  color:rgba(255,255,255,.10);
  font-size:22px;
  font-weight:1000;
}

.homeStats article:nth-child(1)::after{content:"GAMES"}
.homeStats article:nth-child(2)::after{content:"PLAYERS"}
.homeStats article:nth-child(3)::after{content:"XP"}
.homeStats article:nth-child(4)::after{content:"NFT"}

.homeStats span{
  color:#a9bdc4;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.homeStats strong{
  margin:6px 0 4px;
  color:#f7fbfc;
  font-size:34px;
  line-height:1;
  text-shadow:0 0 18px rgba(255,255,255,.10);
}

.homeStats small{color:#829da6}

.homeSection,
.upcomingPanel{
  border-color:rgba(255,255,255,.11);
  background:
    linear-gradient(145deg,rgba(14,34,45,.94),rgba(7,22,31,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 18px 38px rgba(0,0,0,.24);
}

.homeSectionHead{
  margin-bottom:18px;
  padding-bottom:13px;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.homeSectionHead span{color:#f1c958}
.homeSection h2,
.upcomingPanel h2{font-size:25px}

.gameFeatureGrid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.gameFeature{
  position:relative;
  min-height:272px;
  overflow:hidden;
  padding:16px;
  isolation:isolate;
  border-color:rgba(255,255,255,.12);
  background:#08141b;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 14px 28px rgba(0,0,0,.25);
}

.gameFeature::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  opacity:.28;
  background-position:center;
  background-size:cover;
  filter:saturate(.92) contrast(1.08);
  transition:opacity .2s ease,transform .25s ease;
}

.gameFeature::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(5,14,19,.18),rgba(5,16,22,.88) 53%,rgba(5,16,22,.99));
}

.gameFeature:nth-child(1)::before{background-image:url("assets/bingo-crypt-classic-banner.png")}
.gameFeature:nth-child(2)::before{background-image:url("assets/bingo-crypt-duel-banner.png")}
.gameFeature:nth-child(3)::before{background-image:url("assets/bingo-crypt-knockout-banner.png")}

.gameFeature:nth-child(1){border-color:rgba(241,201,88,.38)}
.gameFeature:nth-child(2){border-color:rgba(239,75,72,.34)}
.gameFeature:nth-child(3){border-color:rgba(121,209,77,.34)}

.gameFeature:hover::before{
  opacity:.40;
  transform:scale(1.025);
}

.gameFeatureTop{
  min-height:28px;
  align-items:center;
}

.gameFeatureTop > span{
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(0,0,0,.38);
}

.gameFeature:nth-child(1) .gameFeatureTop > span{color:#f1c958;border-color:rgba(241,201,88,.40)}
.gameFeature:nth-child(2) .gameFeatureTop > span{color:#ff827e;border-color:rgba(239,75,72,.40)}
.gameFeature:nth-child(3) .gameFeatureTop > span{color:#9be975;border-color:rgba(121,209,77,.40)}
.gameFeatureTop small{padding-top:5px;color:#c0d0d4}

.gameFeature h3{
  margin:70px 0 7px;
  color:#f8fbfc;
  font-size:22px;
  text-shadow:0 2px 8px #000;
}

.gameFeature p{
  max-width:320px;
  color:#b8cbd0;
  font-size:12px;
}

.gameFeature button{
  min-height:38px;
  border-color:rgba(255,255,255,.22);
  color:#f6fafb;
  background:rgba(4,12,16,.74);
  backdrop-filter:blur(6px);
}

.gameFeature:nth-child(1) button{border-color:rgba(241,201,88,.64);color:#fff0ae}
.gameFeature:nth-child(2) button{border-color:rgba(239,75,72,.58);color:#ffd1cd}
.gameFeature:nth-child(3) button{border-color:rgba(121,209,77,.58);color:#dfffd1}

.gameFeature button:hover{
  filter:brightness(1.18);
  background:rgba(15,30,35,.90);
}

.upcomingPanel{padding:22px}
.availableGamesGrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.availableGameCard{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:11px;
  padding:16px;
  border:1px solid rgba(82,230,214,.24);
  border-radius:8px;
  background:linear-gradient(145deg,rgba(10,31,40,.96),rgba(5,17,24,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.availableGameCard.hasNftPrize{
  border-color:rgba(241,201,88,.52);
  box-shadow:inset 0 1px 0 rgba(255,245,185,.08),0 0 28px rgba(241,201,88,.06);
}
.availableGameCard.holderGame{border-color:rgba(155,102,197,.56)}
.availableGameTop{display:flex;align-items:center;justify-content:space-between;gap:8px}
.availableGameTop span{
  padding:5px 8px;
  border:1px solid rgba(82,230,214,.32);
  border-radius:999px;
  color:#a8fff2;
  background:rgba(82,230,214,.08);
  font-size:9px;
  font-weight:950;
  text-transform:uppercase;
}
.availableGameTop span.isLive{
  color:#dffff0;
  border-color:rgba(73,233,138,.52);
  background:rgba(73,233,138,.13);
}
.availableGameTop small{color:#91aab2;font-size:10px}
.availableGameCard h3{margin:2px 0 0;color:#f7fbfc;font-size:19px}
.availableGameCard p{min-height:42px;margin:0;color:#a9bec4;font-size:12px;line-height:1.5}
.availableGameFacts{display:flex;flex-wrap:wrap;gap:6px}
.availableGameFacts span{
  padding:5px 7px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:5px;
  color:#c5d5d9;
  background:rgba(255,255,255,.035);
  font-size:9px;
  font-weight:850;
}
.availableGameCard button{
  width:100%;
  min-height:39px;
  margin-top:auto;
  border:1px solid rgba(82,230,214,.50);
  border-radius:6px;
  color:#031116;
  background:#52e6d6;
  font-weight:950;
  cursor:pointer;
}
.availableGameCard.hasNftPrize button{border-color:#f1c958;background:#f1c958}
.availableGamesEmpty{
  grid-column:1/-1;
  padding:22px;
  border:1px dashed rgba(255,255,255,.15);
  border-radius:8px;
  color:#91aab2;
  text-align:center;
}
.upcomingList{gap:9px}

.upcomingList article{
  position:relative;
  min-height:78px;
  overflow:hidden;
  grid-template-columns:145px 1fr auto;
  padding:12px 14px 12px 18px;
  border-color:rgba(255,255,255,.11);
  background:linear-gradient(90deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

.upcomingList article::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:#49e98a;
  box-shadow:0 0 14px rgba(73,233,138,.38);
}

.upcomingList article:nth-child(2)::before{background:#f1c958;box-shadow:0 0 14px rgba(241,201,88,.28)}
.upcomingList article:nth-child(3)::before{background:#9b66c5;box-shadow:0 0 14px rgba(155,102,197,.30)}

.upcomingList time{
  width:max-content;
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  color:#e7f7ed;
  background:rgba(0,0,0,.20);
}

.upcomingList strong{font-size:14px}
.upcomingList small{font-size:11px}

.upcomingState{
  min-width:92px;
  padding:6px 9px;
  text-align:center;
  background:rgba(0,0,0,.20);
}

.upcomingList article:hover{
  border-color:rgba(255,255,255,.22);
  background:linear-gradient(90deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
}

@media(max-width:900px){
  .gameFeatureGrid{grid-template-columns:1fr}
  .gameFeature{min-height:230px}
  .gameFeature h3{margin-top:45px}
}

@media(max-width:620px){
  .appTopbar{min-height:68px;padding:7px}
  .appNav{justify-self:stretch;justify-content:flex-start}
  .homeStats{gap:7px}
  .homeStats article{min-height:105px}
  .homeStats article::after{display:none}
  .upcomingList article{grid-template-columns:1fr auto}
}

/* =========================
   V27: LIVE RESULTS + ACTIVITY
   ========================= */
.gameInsightStack .heroMiniPanel{
  position:relative;
  overflow:hidden;
  padding:15px;
  border-color:rgba(255,255,255,.13);
  background:
    radial-gradient(circle at 100% 0%,rgba(50,211,200,.08),transparent 36%),
    linear-gradient(155deg,rgba(14,34,44,.98),rgba(6,20,28,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 14px 28px rgba(0,0,0,.24);
}

.gameInsightStack .heroMiniPanel::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2),transparent);
  box-shadow:0 0 12px rgba(50,211,200,.22);
}

.gameInsightStack .winners::before{
  background:linear-gradient(90deg,#f1c958,#9d67c8,transparent);
}

.gameInsightStack .panelHeading{
  margin-bottom:12px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.gameInsightStack .panelHeading span{
  margin-bottom:4px;
  font-size:8px;
  letter-spacing:.16em;
}

.gameInsightStack .panelHeading .panelTitle{
  color:#f4fafb;
  font-size:16px;
  line-height:1.1;
}

.gameInsightStack .panelHeading small{
  padding:4px 7px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  color:#91aab1;
  background:rgba(0,0,0,.18);
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
}

.gameInsightStack .winner-list{gap:8px}

.gameInsightStack .winner-item{
  min-height:62px;
  padding:10px 10px 10px 48px;
  border-color:rgba(255,255,255,.11);
  background:linear-gradient(90deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
}

.gameInsightStack .winner-item::before{
  left:12px;
  width:25px;
  height:25px;
  border:1px solid rgba(241,201,88,.46);
  background:radial-gradient(circle,rgba(241,201,88,.08),transparent 65%);
  box-shadow:0 0 0 5px rgba(241,201,88,.035);
}

.gameInsightStack .winner-item::after{
  content:"";
  position:absolute;
  left:23px;
  top:23px;
  width:4px;
  height:4px;
  border-radius:50%;
  background:rgba(241,201,88,.60);
}

.gameInsightStack .winner-item.hasWinner{
  border-color:rgba(241,201,88,.48);
  background:
    radial-gradient(circle at 12% 50%,rgba(241,201,88,.17),transparent 28%),
    linear-gradient(90deg,rgba(241,201,88,.10),rgba(157,103,200,.06));
  box-shadow:inset 0 0 18px rgba(241,201,88,.04),0 0 16px rgba(241,201,88,.07);
}

.gameInsightStack .winner-item.hasWinner::before{
  background:radial-gradient(circle,#fff5c6 0 24%,#d8a93e 27% 55%,#6d4811 58%);
  box-shadow:0 0 18px rgba(241,201,88,.38);
}

.gameInsightStack .winner-item.hasWinner::after{background:#fff8cf}
.winner-copy{min-width:0}
.gameInsightStack .winner-label{font-size:13px}
.gameInsightStack .winner-state{
  margin-top:3px;
  color:#78939c;
  font-size:8px;
  font-weight:850;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.gameInsightStack .winner-item.hasWinner .winner-state{color:#d7b85c}

.gameInsightStack .winner-value{
  max-width:145px;
  padding:5px 7px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:999px;
  color:#839ca4;
  background:rgba(0,0,0,.18);
  font-size:9px;
  text-transform:uppercase;
}

.gameInsightStack .winner-item.hasWinner .winner-value{
  border-color:rgba(241,201,88,.34);
  color:#fff0ad;
  background:rgba(93,64,15,.28);
  text-transform:none;
}

.gameInsightStack .feed-container{
  max-height:330px;
  gap:7px;
  padding-right:4px;
}

.gameInsightStack .feed-item{
  position:relative;
  min-height:52px;
  padding:8px 8px 8px 7px;
  grid-template-columns:28px 1fr auto;
  align-items:center;
  gap:8px;
  border-color:rgba(255,255,255,.10);
  border-left:0;
  background:linear-gradient(90deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  font-size:10px;
}

.gameInsightStack .feed-item::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  bottom:8px;
  width:2px;
  border-radius:2px;
  background:#52e6d6;
  box-shadow:0 0 8px rgba(82,230,214,.35);
}

.gameInsightStack .feed-icon{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border:1px solid rgba(82,230,214,.28);
  border-radius:50%;
  color:#9cf4eb;
  background:rgba(82,230,214,.08);
  font-family:Inter,Segoe UI,sans-serif;
  font-size:9px;
  font-weight:1000;
}

.gameInsightStack .feed-message{font-size:10px;line-height:1.45}
.gameInsightStack .feed-item time{align-self:start;padding-top:3px;font-size:7px}

.gameInsightStack .feed-item.player::before{background:#70df87}
.gameInsightStack .feed-item.player .feed-icon{border-color:rgba(112,223,135,.35);color:#b9f8c6;background:rgba(112,223,135,.08)}
.gameInsightStack .feed-item.draw::before{background:#58a9ff}
.gameInsightStack .feed-item.draw .feed-icon{border-color:rgba(88,169,255,.36);color:#b8dcff;background:rgba(88,169,255,.09)}
.gameInsightStack .feed-item.bonus::before{background:#f1c958}
.gameInsightStack .feed-item.bonus .feed-icon{border-color:rgba(241,201,88,.40);color:#fff0a8;background:rgba(241,201,88,.10)}
.gameInsightStack .feed-item.win::before{background:#f1c958;box-shadow:0 0 11px rgba(241,201,88,.45)}
.gameInsightStack .feed-item.win .feed-icon{border-color:rgba(241,201,88,.48);color:#fff1ab;background:rgba(241,201,88,.12)}
.gameInsightStack .feed-item.duel::before{background:#ef4b48}
.gameInsightStack .feed-item.duel .feed-icon{border-color:rgba(239,75,72,.44);color:#ffc5c1;background:rgba(239,75,72,.11)}
.gameInsightStack .feed-item.knockout::before{background:#79d14d}
.gameInsightStack .feed-item.knockout .feed-icon{border-color:rgba(121,209,77,.44);color:#d7ffc2;background:rgba(121,209,77,.10)}
.gameInsightStack .feed-item.error::before{background:#ff6e68}
.gameInsightStack .feed-item.error .feed-icon{border-color:rgba(255,110,104,.44);color:#ffd0cd;background:rgba(255,110,104,.10)}

body.mode-duel .gameInsightStack .heroMiniPanel::before{
  background:linear-gradient(90deg,var(--duel-red),#d2a64f,var(--duel-green));
}

body.mode-knockout .gameInsightStack .heroMiniPanel::before{
  background:linear-gradient(90deg,var(--ko-red),#d6c270,var(--ko-green));
}

@media(max-width:620px){
  .gameInsightStack .feed-container{max-height:280px}
  .gameInsightStack .winner-item{min-height:58px}
}

/* =========================
   V28: GAMEPLAY READABILITY
   ========================= */
.cardPanel.hasCard .colHeader{
  min-height:34px;
  font-size:16px;
}

.cardPanel.hasCard .cell{
  min-height:61px;
  font-size:27px;
}

.cardPanel.hasCard .cell.free{
  font-size:12px;
}

.cardPanel.hasCard .cell.daubed::before{
  width:39px;
  height:39px;
}

.drawnPanelTop .panelTitle,
.gameInsightStack .panelHeading .panelTitle{
  font-size:18px;
}

.panelEyebrow,
.drawnLatestLabel,
.gameInsightStack .panelHeading span{
  font-size:10px;
}

.ballLane span{
  min-height:45px;
  font-size:16px;
}

.ballLane small{
  margin-top:-2px;
  font-size:9px;
}

.gameMainStage .drawnLatest::before{
  font-size:10px;
}

.gameMainStage .drawnLatest #nextBall.big .ballInner{
  font-size:20px;
}

.latestBallCaption span{
  font-size:11px;
}

.latestBallCaption strong{
  font-size:31px;
}

.latestBallCaption small{
  font-size:9px;
}

.gameMainStage .drawnProgress .heroProgressLabel{
  min-width:96px;
  font-size:12px;
}

.drawnHistoryHead{
  margin-bottom:7px;
  font-size:10px;
}

.gameMainStage .ball.small{
  width:42px;
  height:42px;
  font-size:13px;
}

.gameMainStage #drawn{
  grid-template-columns:repeat(7,minmax(42px,1fr));
  gap:8px;
}

.gameInsightStack .panelHeading small{
  font-size:9px;
}

.gameInsightStack .winner-label{
  font-size:15px;
}

.gameInsightStack .winner-state{
  font-size:10px;
}

.gameInsightStack .winner-value{
  font-size:11px;
}

.gameInsightStack .feed-item{
  min-height:60px;
  grid-template-columns:32px 1fr auto;
  padding:9px 9px 9px 8px;
}

.gameInsightStack .feed-icon{
  width:30px;
  height:30px;
  font-size:10px;
}

.gameInsightStack .feed-message{
  font-size:12px;
  line-height:1.5;
}

.gameInsightStack .feed-item time{
  font-size:9px;
}

.promoPanel{
  padding:12px;
}

.promoPanel > span{
  font-size:10px;
}

.promoPanel strong{
  font-size:15px;
}

.promoPanel p{
  font-size:12px;
  line-height:1.55;
}

.promoFacts span{
  font-size:9px;
}

.promoFacts strong,
.promoPanel button,
.promoActions button,
.promoActions a{
  font-size:11px;
}

.heroStatusContext span{
  font-size:12px;
}

.heroStatusContext small{
  font-size:14px;
}

.playWorkspace .hud .chip-k,
.playWorkspace .hud .meta-k{
  font-size:11px;
}

.playWorkspace .hud .chip-v,
.playWorkspace .hud .meta-v{
  font-size:15px;
}

.playWorkspaceHeader span{
  font-size:10px;
}

.playWorkspaceHeader strong{
  font-size:15px;
}

@media (max-width:1100px) and (min-width:821px){
  .playSurface.gameplayDashboard{
    grid-template-columns:minmax(410px,1fr) minmax(285px,360px) !important;
  }

  .gameMainStage{grid-column:1;grid-row:1}
  .gameInfoRail{grid-column:2;grid-row:1;position:sticky}

  .gamePromoRail{
    grid-column:1/-1;
    grid-row:2;
    position:static;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .promoGallery{
    grid-template-columns:repeat(3,minmax(70px,1fr));
  }
}

@media(max-width:620px){
  .cardPanel.hasCard .colHeader{min-height:29px;font-size:14px}
  .cardPanel.hasCard .cell{min-height:48px;font-size:22px}
  .gameMainStage #drawn{grid-template-columns:repeat(5,minmax(42px,1fr))}
  .gameInsightStack .feed-message{font-size:11px}
}

@media (max-width:820px){
  .playSurface.gameplayDashboard{
    grid-template-columns:1fr;
  }
  .gamePromoRail{
    position:static;
    grid-column:auto;
    grid-row:auto;
    grid-template-columns:1fr;
    order:3;
  }
  .gameMainStage{order:1}
  .gameInfoRail{order:2;position:static}
  .gameMainStage #drawn{grid-template-columns:repeat(8,1fr)}
}

@media (max-width:620px){
  .playSurface.gameplayDashboard{
    grid-template-columns:1fr;
  }
  .gamePromoRail{
    grid-column:auto;
    grid-row:auto;
    grid-template-columns:1fr;
    order:3;
  }
  .gameMainStage{order:1}
  .gameInfoRail{order:2}
  .playWorkspace .hud .chip-k,
  .playWorkspace .hud .meta-k{font-size:9px}
  .playWorkspace .hud .chip-v,
  .playWorkspace .hud .meta-v{font-size:12px}
}

/* =========================
   V29: Shrink-safe card + complete mode label
   ========================= */
.cardPanel.hasCard{
  min-width:0;
  max-width:460px;
}

.cardPanel.hasCard #cardGrid{
  width:100%;
  min-width:0;
  grid-template-columns:repeat(5,minmax(0,1fr));
  box-sizing:border-box;
}

.cardPanel.hasCard .colHeader,
.cardPanel.hasCard .cell{
  width:auto;
  min-width:0;
  padding-left:2px;
  padding-right:2px;
  box-sizing:border-box;
}

.playWorkspace .hud .modeChipValue{
  overflow:visible;
  white-space:normal;
  text-overflow:clip;
  line-height:1.25;
}

.playWorkspace .hud #modeChip{
  display:block;
  max-width:none;
  overflow:visible;
  white-space:normal;
  text-overflow:clip;
}
@media(max-width:900px){
  .availableGamesGrid{grid-template-columns:1fr}
  .availableGameCard p{min-height:0}
}

/* V34: responsive multichain wallet chooser */
.walletConnectHelp{
  min-height:100%;
  padding:clamp(18px,4vw,40px);
  display:grid;
  place-items:center;
  color:#eefbfc;
  background:
    radial-gradient(circle at 50% 12%,rgba(82,230,214,.12),transparent 34%),
    linear-gradient(180deg,rgba(3,15,22,.52),rgba(2,10,15,.86));
}
.walletConnectPanel{
  width:min(100%,480px);
  padding:clamp(24px,5vw,38px);
  border:1px solid rgba(82,230,214,.25);
  border-radius:24px;
  text-align:left;
  background:
    linear-gradient(145deg,rgba(11,43,57,.98),rgba(5,21,31,.98));
  box-shadow:
    0 30px 90px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.07);
}
.walletConnectBrand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:22px;
}
.walletConnectMark{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:grid;
  place-items:center;
  border:1px solid rgba(82,230,214,.45);
  border-radius:14px;
  color:#061718;
  background:linear-gradient(145deg,#77f6e8,#2ebbc6);
  box-shadow:0 10px 28px rgba(34,203,197,.18),inset 0 1px 0 rgba(255,255,255,.34);
}
.walletConnectMark span{
  color:inherit;
  font-size:14px;
  font-weight:1000;
  letter-spacing:-.04em;
}
.walletConnectEyebrow{
  color:#52e6d6;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.18em;
}
.walletConnectHelp h2{
  margin:0 0 10px;
  font-size:clamp(26px,5vw,34px);
  line-height:1.05;
}
.walletConnectLead{
  margin:0 0 24px;
  color:#b7cbd0;
  font-size:14px;
  line-height:1.6;
}
.walletNetworkList{
  display:grid;
  gap:12px;
}
.walletConnectHelp .walletNetworkButton{
  width:100%;
  min-height:76px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:13px 16px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:16px;
  color:#efffff;
  text-align:left;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 12px 30px rgba(0,0,0,.20);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,filter .18s ease;
}
.walletConnectHelp .walletNetworkButton:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.34);
  filter:brightness(1.06);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 18px 34px rgba(0,0,0,.28);
}
.walletConnectHelp .walletNetworkButton:active{
  transform:translateY(0) scale(.992);
}
.walletConnectHelp .walletNetworkButton:focus-visible,
.walletConnectHelp .walletFallbackButton:focus-visible{
  outline:3px solid rgba(82,230,214,.45);
  outline-offset:3px;
}
.walletNetworkCronos{
  background:
    radial-gradient(circle at 0 50%,rgba(241,201,88,.18),transparent 42%),
    linear-gradient(135deg,rgba(44,38,17,.98),rgba(13,32,36,.98));
}
.walletNetworkSolana{
  background:
    radial-gradient(circle at 0 50%,rgba(153,69,255,.24),transparent 44%),
    linear-gradient(135deg,rgba(57,28,97,.98),rgba(17,26,62,.98));
}
.walletNetworkIcon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.20);
  border-radius:14px;
  color:#071416;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.02em;
  background:linear-gradient(145deg,#f5dc84,#b98c28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28);
}
.walletNetworkSolana .walletNetworkIcon{
  color:#f5efff;
  background:linear-gradient(145deg,#9e52ff,#29d9b3);
}
.walletNetworkCopy{
  min-width:0;
  display:grid;
  gap:4px;
}
.walletNetworkCopy strong{
  color:#f7ffff;
  font-size:15px;
  line-height:1.2;
}
.walletNetworkCopy small{
  color:#b8c9ce;
  font-size:11px;
  font-weight:650;
  line-height:1.35;
}
.walletNetworkArrow{
  color:#e8fbf8;
  font-size:21px;
  transition:transform .18s ease;
}
.walletNetworkButton:hover .walletNetworkArrow{
  transform:translateX(3px);
}
.walletConnectHelp .walletConnectReason{
  margin:14px 0 0;
  padding:11px 13px;
  border:1px solid rgba(243,207,112,.34);
  border-radius:10px;
  color:#f3cf70;
  background:rgba(243,207,112,.08);
  font-size:12px;
  line-height:1.45;
}
.walletConnectHelp .walletFallbackButton{
  width:100%;
  min-height:38px;
  margin:14px 0 0;
  padding:8px 10px;
  border:0;
  color:#a9c7cc;
  background:transparent;
  font-size:11px;
  font-weight:750;
  text-decoration:underline;
  text-decoration-color:rgba(169,199,204,.38);
  text-underline-offset:3px;
  cursor:pointer;
  transition:color .18s ease,background .18s ease;
}
.walletConnectHelp .walletFallbackButton:hover{
  color:#e7ffff;
  background:rgba(255,255,255,.035);
}
.walletDetectionStatus{
  margin:12px 0 0;
  padding:9px 11px;
  border:1px solid rgba(82,230,214,.14);
  border-radius:10px;
  color:#93b4b8;
  background:rgba(82,230,214,.045);
  font-size:10px;
  line-height:1.45;
  text-align:center;
}
.walletDetectionStatus::before{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:7px;
  border-radius:50%;
  background:#52e6d6;
  box-shadow:0 0 10px rgba(82,230,214,.58);
  vertical-align:1px;
}
.walletConnectFootnote{
  margin:12px 0 0;
  color:#77969d;
  font-size:10px;
  line-height:1.5;
  text-align:center;
}

@media(max-width:620px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  .appTopbar{
    width:calc(100% + 16px);
    min-width:0;
    grid-template-columns:minmax(0,1fr) minmax(132px,44%);
  }
  .appBrand,.playerIdentity,.appNav{width:auto;min-width:0;max-width:100%}
  .appBrandMark{width:44px;height:44px}
  .appBrand strong{font-size:15px}
  .playerAvatar{width:42px;height:42px}
  .playerIdentity strong,.playerIdentity small{max-width:84px}
  .playerIdentity.connectWalletCta{
    min-width:160px;
    max-width:176px;
    min-height:50px;
    padding:7px 9px 7px 7px;
    gap:7px;
  }
  .playerIdentity.connectWalletCta .playerAvatar{width:34px;height:34px;flex-basis:34px}
  .playerIdentity.connectWalletCta strong{font-size:11px}
  .playerIdentity.connectWalletCta small{font-size:8px}
  .appNav{
    width:100%;
    min-width:0;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
  }
  .appNavBtn{flex:0 0 auto}
  .homeDashboard{width:100%;min-width:0}
  .homeHero{min-height:520px}
  .homeHeroSlide h1{font-size:40px}
  .homeHeroSlide .homeHeroContent{padding:20px 18px 72px}
  .onboardingWindow{height:100dvh;min-height:0;overflow:auto;padding:24px 20px}
  .onboardingProgress{width:calc(100% - 42px);margin:10px 0 30px}
  .onboardingStep h2{font-size:28px;line-height:1.08}
  .onboardingStep p{font-size:14px;line-height:1.55}
  .onboardingActions{position:sticky;bottom:0;padding-top:24px;background:linear-gradient(transparent,#07131b 28%)}
  .appModalWindow{height:100dvh;max-width:100%;min-width:0}
  #appModalFrame,.appModalContent{min-width:0}
  .walletConnectHelp{padding:14px}
  .walletConnectPanel{padding:24px 18px;border-radius:20px}
  .walletConnectBrand{margin-bottom:18px}
  .walletConnectMark{width:42px;height:42px;flex-basis:42px;border-radius:12px}
  .walletConnectHelp h2{font-size:27px}
  .walletConnectLead{font-size:13px;margin-bottom:20px}
  .walletConnectHelp .walletNetworkButton{min-height:72px;grid-template-columns:44px minmax(0,1fr) auto;padding:12px}
  .walletNetworkIcon{width:44px;height:44px;border-radius:12px}
}

/* =========================
   V33: premium bingo card + compact play mode
   ========================= */
.cardPanel.hasCard{
  --card-cyan:#52e6d6;
  --card-gold:#f1c958;
  --card-green:#79df72;
  --card-red:#ff5f67;
  isolation:isolate;
  padding:14px;
  border-color:rgba(82,230,214,.36);
  background:
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.006)),
    radial-gradient(circle at 50% 18%,rgba(82,230,214,.08),transparent 34%),
    rgba(4,15,20,.94);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    inset 0 0 52px rgba(82,230,214,.055),
    0 18px 38px rgba(0,0,0,.42);
}

.cardPanel.hasCard #cardGrid{
  position:relative;
  z-index:3;
  gap:7px;
  padding:10px;
  border:1px solid rgba(82,230,214,.18);
  border-radius:8px;
  background:
    linear-gradient(rgba(82,230,214,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(82,230,214,.035) 1px,transparent 1px),
    rgba(2,10,14,.34);
  background-size:34px 34px;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.36),
    inset 0 0 42px rgba(0,0,0,.34);
}

.cardPanel.hasCard .colHeader{
  min-height:31px;
  display:grid;
  place-items:center;
  border:1px solid rgba(82,230,214,.42);
  border-radius:6px;
  color:#eafffb;
  background:
    linear-gradient(180deg,rgba(82,230,214,.18),rgba(4,17,20,.76)),
    rgba(0,0,0,.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 14px rgba(82,230,214,.16);
  font-size:15px;
  font-weight:1000;
}

.cardPanel.hasCard .cell{
  position:relative;
  min-height:58px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:7px;
  color:#eef8fb;
  background:
    radial-gradient(circle at 50% 12%,rgba(255,255,255,.09),transparent 34%),
    linear-gradient(180deg,rgba(22,32,39,.88),rgba(3,7,9,.92));
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.34),
    inset 0 -16px 26px rgba(0,0,0,.26),
    0 6px 12px rgba(0,0,0,.24);
  font-size:26px;
  font-weight:1000;
  text-shadow:0 2px 0 #000,0 0 10px rgba(255,255,255,.16);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,filter .16s ease;
}

.cardPanel.hasCard .cellValue{
  position:relative;
  z-index:2;
}

.cardPanel.hasCard .cell:not(.called):not(.free){
  color:#e5eef1;
  filter:saturate(.84) brightness(.92);
}

.cardPanel.hasCard .cell.called,
.cardPanel.hasCard .cell.daubed{
  border-color:rgba(82,230,214,.56);
  background:
    radial-gradient(circle at 50% 50%,rgba(82,230,214,.25),transparent 50%),
    linear-gradient(180deg,rgba(20,51,53,.86),rgba(2,13,16,.94));
  box-shadow:
    inset 0 0 0 1px rgba(82,230,214,.18),
    0 0 18px rgba(82,230,214,.18),
    0 8px 14px rgba(0,0,0,.30);
}

.cardPanel.hasCard .cell.daubed::before{
  content:"";
  position:absolute;
  width:38px;
  height:38px;
  border-radius:50%;
  background:
    radial-gradient(circle at 38% 32%,rgba(255,255,255,.56),transparent 18%),
    radial-gradient(circle at 50% 55%,rgba(64,145,232,.82),rgba(34,85,167,.95));
  box-shadow:0 0 20px rgba(66,143,235,.42),inset 0 -7px 12px rgba(0,0,0,.25);
  opacity:.82;
}

.cardPanel.hasCard .cell.free{
  color:#bfefff;
  font-size:11px;
  letter-spacing:.05em;
}

.cardPanel.hasCard .cell.free::before{
  background:
    radial-gradient(circle at 38% 30%,rgba(255,255,255,.62),transparent 18%),
    radial-gradient(circle at 50% 55%,rgba(82,230,214,.72),rgba(43,100,194,.95));
}

.cardPanel.hasCard .cell.last{
  border-color:rgba(255,255,255,.85);
  color:#fff;
  transform:translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.16),
    0 0 0 2px rgba(82,230,214,.46),
    0 0 30px rgba(82,230,214,.46),
    0 10px 18px rgba(0,0,0,.34);
}

.cardPanel.hasCard .cell.last::after{
  content:"";
  position:absolute;
  inset:-22%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.34),transparent 54%);
  animation:latestCellPulse 1.15s ease-out infinite;
}

.cardPanel.hasCard .cell.targetNear{
  border-color:rgba(241,201,88,.46);
  box-shadow:
    inset 0 0 0 1px rgba(241,201,88,.12),
    0 0 18px rgba(241,201,88,.18),
    0 8px 14px rgba(0,0,0,.28);
}

.cardPanel.hasCard .cell.targetNeeded{
  border-color:rgba(255,203,75,.78);
  background:
    radial-gradient(circle at 50% 50%,rgba(241,201,88,.25),transparent 50%),
    linear-gradient(180deg,rgba(45,33,10,.90),rgba(9,8,5,.95));
  color:#fff4bd;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 0 22px rgba(241,201,88,.28);
}

.cardPanel.hasCard .cell.targetNeeded::after{
  content:"";
  position:absolute;
  inset:6px;
  border:1px dashed rgba(255,229,139,.62);
  border-radius:6px;
}

.cardPanel.hasCard .cell.targetReady,
.cardPanel.hasCard .cell.win{
  border-color:rgba(145,232,92,.78);
  color:#f7ffe9;
  background:
    radial-gradient(circle at 50% 50%,rgba(145,232,92,.27),transparent 50%),
    linear-gradient(180deg,rgba(31,55,25,.90),rgba(5,13,7,.96));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    0 0 25px rgba(145,232,92,.30),
    0 8px 16px rgba(0,0,0,.32);
}

.claimBtn.claimReady{
  filter:brightness(1.12) saturate(1.08);
  animation:claimReadyPulse 1.25s ease-in-out infinite;
}

.claimBtn.claimReady .claimIcon{
  opacity:1;
  filter:drop-shadow(0 0 18px rgba(241,201,88,.50));
}

@keyframes latestCellPulse{
  from{opacity:.62;transform:scale(.62)}
  to{opacity:0;transform:scale(1.28)}
}

@keyframes claimReadyPulse{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-2px)}
}

@media(max-width:760px){
  .playWorkspaceWindow{overflow-x:hidden}
  .playWorkspaceHeader{
    gap:8px;
    padding:8px 10px;
  }
  .playWorkspaceActions{gap:6px}
  .playWorkspaceActions button{min-height:34px;padding:7px 9px;font-size:10px}
  .playWorkspace .container{padding:8px}
  .playWorkspace .hud{
    min-height:136px;
    margin-bottom:8px;
  }
  .playSurface.gameplayDashboard{
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .gameMainStage{
    display:flex;
    flex-direction:column;
    gap:10px;
    order:1;
  }
  .gameMainStage .hero.hero-mini{
    min-height:0;
    padding:10px;
  }
  .gameMainStage .hero-status{
    grid-template-columns:1fr;
    gap:9px;
    text-align:center;
  }
  .heroStatusContext small{
    max-width:none;
    font-size:12px;
  }
  .gameMainStage .hero-actions{
    width:100%;
    justify-content:center;
  }
  .gameMainStage .cardPanel.hasCard{
    width:100%;
    max-width:520px;
    margin:0 auto;
    padding:9px;
  }
  .cardPanel.hasCard #cardGrid{
    gap:5px;
    padding:7px;
  }
  .cardPanel.hasCard .colHeader{
    min-height:26px;
    font-size:13px;
  }
  .cardPanel.hasCard .cell{
    min-height:clamp(48px,14.6vw,64px);
    border-radius:6px;
    font-size:clamp(20px,6.1vw,28px);
  }
  .cardPanel.hasCard .cell.daubed::before{
    width:clamp(30px,9.5vw,40px);
    height:clamp(30px,9.5vw,40px);
  }
  .cardPanel.hasCard .claimRow{
    margin-top:8px;
  }
  .cardPanel.hasCard .claimIcon{
    width:min(190px,56vw);
  }
  .gameInfoRail{
    order:2;
    display:flex;
    flex-direction:column;
    gap:10px;
    position:static;
  }
  .gameMainStage .drawnPanel{
    padding:11px;
  }
  .ballLane{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:5px;
  }
  .ballLane span{
    min-height:38px;
    font-size:13px;
  }
  .gameMainStage .drawnLatest{
    grid-template-columns:88px 1fr;
    min-height:92px;
    padding:11px;
  }
  .gameMainStage .drawnLatest #nextBall.big{
    width:74px;
    height:74px;
  }
  .latestBallCaption strong{font-size:26px}
  .gameMainStage #drawn{
    max-height:152px;
    grid-template-columns:repeat(5,minmax(44px,1fr)) !important;
    gap:7px;
    padding:9px;
  }
  .gameMainStage .ball.small{
    width:42px;
    height:42px;
    font-size:12px;
  }
  .gamePromoRail{
    order:3;
    display:grid;
    grid-template-columns:1fr;
    position:static;
  }
  .gameInsightStack{
    order:4;
  }
  .gameInsightStack .feed-container{
    max-height:240px;
  }
  .developerTools{
    order:5;
  }
}

@media(max-width:420px){
  .playWorkspaceHeader strong{font-size:12px}
  .playWorkspaceActions button{font-size:9px}
  .cardPanel.hasCard #cardGrid{
    gap:4px;
    padding:5px;
  }
  .cardPanel.hasCard .cell{
    min-height:45px;
    font-size:20px;
  }
  .cardPanel.hasCard .cell.free{font-size:9px}
  .gameMainStage #drawn{
    grid-template-columns:repeat(4,minmax(44px,1fr)) !important;
  }
}

/* V34: stronger live-room status panel */
.gameMainStage .hero.hero-mini{
  position:relative;
  overflow:hidden;
  border-color:rgba(241,201,88,.36);
  background:
    radial-gradient(circle at 78% 22%,rgba(241,201,88,.18),transparent 32%),
    linear-gradient(135deg,rgba(21,46,54,.96),rgba(8,19,28,.96) 52%,rgba(24,20,13,.94));
}

.gameMainStage .hero.hero-mini::after{
  content:"";
  position:absolute;
  inset:auto 18px 0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(241,201,88,.72),rgba(82,230,214,.55),transparent);
  opacity:.75;
}

.gameMainStage .hero-focus{
  min-width:0;
}

.gameMainStage .hero-status{
  width:100%;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
}

.heroStatusContext{
  display:grid;
  gap:8px;
}

.heroStatusContext > span{
  color:#f1c958;
  font-size:12px;
}

.heroStatusContext small{
  max-width:640px;
  color:#c8d6da;
  font-size:14px;
}

.heroStatusMetrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  max-width:640px;
}

.heroStatusMetrics div{
  min-width:0;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:7px;
  background:rgba(2,10,15,.46);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.heroStatusMetrics span{
  display:block;
  margin:0 0 3px;
  color:#7fded8;
  font-size:9px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.heroStatusMetrics strong{
  display:block;
  overflow:hidden;
  color:#fff;
  font-size:13px;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.gameMainStage .heroStatus{
  justify-self:end;
  min-width:190px;
  min-height:48px;
  border-color:rgba(255,255,255,.18);
  border-radius:999px;
  box-shadow:0 0 24px rgba(82,230,214,.10), inset 0 1px 0 rgba(255,255,255,.16);
  text-align:center;
}

.gameMainStage .hero-actions{
  width:100%;
  align-items:center;
  justify-content:flex-end;
}

.gameMainStage .hero-actions #joinBtnCard::before{
  min-height:46px;
  border-radius:999px;
  font-size:13px;
  letter-spacing:.05em;
  box-shadow:0 0 18px rgba(109,255,51,.22), inset 0 1px 0 rgba(255,255,255,.18);
}

.gameMainStage .heroResetBtn{
  display:none !important;
}

@media(max-width:760px){
  .gameMainStage .hero-status{
    grid-template-columns:1fr;
    justify-items:stretch;
  }
  .heroStatusMetrics{
    grid-template-columns:1fr;
    max-width:none;
  }
  .gameMainStage .heroStatus{
    justify-self:stretch;
    min-width:0;
  }
  .gameMainStage .hero-actions{
    justify-content:center;
  }
}

/* V35: prevent the status panel from squeezing its content into one tiny column. */
.gameMainStage .hero.hero-mini{
  grid-template-columns:1fr !important;
  gap:12px;
  padding:18px 20px;
}

.gameMainStage .hero-focus{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
}

.gameMainStage .hero-status{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  width:100%;
  min-width:0;
}

.heroStatusContext{
  max-width:none;
}

.heroStatusContext small{
  max-width:none;
}

.heroStatusMetrics{
  width:100%;
  max-width:none;
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.heroStatusMetrics div{
  min-height:48px;
  display:grid;
  align-content:center;
}

.heroStatusMetrics strong{
  font-size:14px;
}

.gameMainStage .heroStatus{
  align-self:center;
  justify-self:end;
  min-width:188px;
}

.gameMainStage .hero-actions{
  width:100%;
  justify-content:flex-end;
}

@media(max-width:760px){
  .gameMainStage .hero.hero-mini{
    padding:14px;
  }
  .gameMainStage .hero-focus{
    grid-template-columns:1fr;
    gap:10px;
  }
  .gameMainStage .heroStatus{
    justify-self:stretch;
    min-width:0;
  }
  .heroStatusMetrics{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:460px){
  .heroStatusMetrics{
    grid-template-columns:1fr;
  }
}

/* V36: dedicated room facts strip and simpler registration panel */
.roomInfoStrip{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:8px;
  padding:10px;
  border:1px solid rgba(241,201,88,.30);
  border-radius:8px;
  background:
    linear-gradient(90deg,rgba(241,201,88,.08),transparent 38%),
    rgba(9,24,34,.94);
  box-shadow:0 14px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
}

.roomInfoStrip div{
  min-width:0;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:7px;
  background:rgba(3,12,18,.62);
}

.roomInfoStrip span{
  display:block;
  margin-bottom:4px;
  color:#f1c958;
  font-size:9px;
  font-weight:1000;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.roomInfoStrip strong{
  display:block;
  overflow:hidden;
  color:#f8ffff;
  font-size:13px;
  line-height:1.18;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.playWorkspace .hud .meta-pills,
.playWorkspace .hud .chip-row,
.playWorkspace .hud-right{
  display:none !important;
}

.playWorkspace .brand-text.hudTopRow{
  min-height:92px;
  grid-template-columns:1fr;
}

.playWorkspace .hud{
  min-height:112px;
  background-position:center;
}

.gameMainStage .hero.hero-mini{
  min-height:128px;
}

.gameMainStage .hero-focus{
  grid-template-columns:minmax(0,1fr) minmax(220px,260px) !important;
  align-items:center;
}

.gameMainStage .hero-status{
  grid-template-columns:1fr !important;
}

.gameMainStage .heroStatusContext{
  text-align:left;
}

.gameMainStage .heroStatusContext small{
  max-width:460px;
  margin:0;
}

.gameMainStage .heroStatusStack{
  display:grid;
  gap:10px;
  min-width:0;
  width:100%;
}

.gameMainStage .hero-actions{
  width:100%;
  margin:0;
  justify-content:center !important;
}

.gameMainStage .hero-actions .joinControlSlot{
  display:flex;
  width:100%;
  min-width:0;
}

.gameMainStage .hero-actions #joinBtnCard::before,
.gameMainStage .hero-actions .registeredBtn{
  width:100%;
  min-width:0;
  min-height:48px;
  font-size:13px;
}

.gameMainStage .heroStatus{
  width:100%;
  min-width:0;
}

@media(max-width:980px){
  .roomInfoStrip{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .roomInfoStrip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .gameMainStage .hero-focus{
    grid-template-columns:1fr !important;
  }
  .gameMainStage .heroStatusContext{
    text-align:center;
  }
  .gameMainStage .heroStatusContext small{
    margin:0 auto;
  }
  .gameMainStage .heroStatus,
  .gameMainStage .hero-actions .joinControlSlot,
  .gameMainStage .hero-actions #joinBtnCard::before,
  .gameMainStage .hero-actions .registeredBtn{
    width:100%;
    min-width:0;
  }
}

/* V37: Main Hall atmosphere outside the centred play window */
body{
  background:
    radial-gradient(circle at 50% 10%,rgba(143,86,186,.16),transparent 32%),
    linear-gradient(90deg,rgba(1,5,10,.96),rgba(2,8,14,.82) 42% 58%,rgba(1,5,10,.96)),
    linear-gradient(180deg,rgba(2,6,12,.90),rgba(2,6,12,.98)),
    url("assets/bingo-crypt-main-hall-banner.png") center top / cover fixed no-repeat !important;
}

.playWorkspaceBackdrop{
  background:
    radial-gradient(circle at 50% 12%,rgba(241,201,88,.08),transparent 28%),
    linear-gradient(90deg,rgba(1,5,10,.94),rgba(3,8,14,.76) 42% 58%,rgba(1,5,10,.94)),
    linear-gradient(180deg,rgba(1,5,10,.76),rgba(1,5,10,.94)),
    url("assets/bingo-crypt-main-hall-banner.png") center / cover no-repeat;
  backdrop-filter:blur(10px) saturate(.82);
}


/* V33: Bumper Game homepage and portal boundary */
.homeEventDate{
  margin-top:18px;
  display:grid;
  gap:3px;
  color:#e9f8f7;
}
.homeEventDate strong{font-size:14px}
.homeEventDate span{color:#a9c1c7;font-size:11px}
.homeCountdown{
  width:min(430px,100%);
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.homeCountdown div{
  min-width:0;
  padding:10px 12px;
  display:grid;
  gap:2px;
  border:1px solid rgba(50,211,200,.3);
  border-radius:7px;
  background:rgba(3,14,20,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.homeCountdown strong{
  color:#fff4c8;
  font-size:24px;
  line-height:1;
}
.homeCountdown span{
  color:#9fc0c5;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.portalBoundary{
  padding:20px;
  display:grid;
  grid-template-columns:minmax(190px,.65fr) minmax(0,1.35fr);
  align-items:center;
  gap:22px;
  border:1px solid rgba(50,211,200,.24);
  border-radius:8px;
  background:
    linear-gradient(135deg,rgba(50,211,200,.08),rgba(11,27,38,.88) 48%),
    #0b1b26;
  box-shadow:var(--shadow);
}
.portalBoundary > div > span{
  color:var(--accent);
  font-size:10px;
  font-weight:950;
  letter-spacing:.13em;
}
.portalBoundary h2{
  margin:5px 0 0;
  color:var(--text);
  font-size:24px;
}
.portalBoundaryGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.portalBoundaryGrid article{
  min-width:0;
  padding:14px;
  border:1px solid var(--line);
  border-radius:7px;
  background:rgba(3,13,19,.48);
}
.portalBoundaryGrid strong{
  display:block;
  color:#f7fbfc;
  font-size:13px;
}
.portalBoundaryGrid p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:11px;
  line-height:1.55;
}
@media (prefers-reduced-motion:reduce){
  .homeHeroSlide{transition:none}
}
@media(max-width:720px){
  .portalBoundary{grid-template-columns:1fr}
  .portalBoundaryGrid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .homeHero{min-height:610px}
  .homeHeroSlide .homeHeroContent{padding:24px 20px 66px}
  .homeHeroSlide h1{font-size:clamp(38px,12vw,56px)}
  .homeHeroSlide p{font-size:13px;line-height:1.55}
  .homeCountdown{gap:5px}
  .homeCountdown div{padding:9px 8px}
  .homeCountdown strong{font-size:20px}
  .homeHeroControls{right:12px;bottom:12px}
}


/* V34: Bumper Game fit and BBB navigation */
.bumperHeroSlide .homeHeroContent{
  top:0;
  bottom:0;
  width:min(610px,72%);
  padding:26px 32px 30px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.bumperHeroSlide h1{
  max-width:540px;
  margin:6px 0 10px;
  font-size:clamp(42px,5vw,62px);
  line-height:.95;
}
.bumperHeroSlide p{
  max-width:480px;
  font-size:14px;
  line-height:1.48;
}
.bumperHeroSlide .homeEventDate{margin-top:12px}
.bumperHeroSlide .homeCountdown{margin-top:10px}
.bumperHeroSlide .homeHeroActions{margin-top:14px}
@media(max-width:720px){
  .bumperHeroSlide .homeHeroContent{
    width:100%;
    padding:24px 20px 72px;
  }
  .bumperHeroSlide h1{
    max-width:480px;
    font-size:clamp(38px,11vw,52px);
  }
}
@media(max-width:420px){
  .bumperHeroSlide .homeHeroContent{
    justify-content:flex-start;
    padding-top:30px;
  }
  .bumperHeroSlide h1{font-size:38px}
  .bumperHeroSlide p{font-size:12px}
}


/* V35: stable Bumper Game composition at desktop, tablet and mobile widths. */
.bumperHeroSlide .homeHeroContent{
  width:min(560px,64%);
  max-height:100%;
  overflow:hidden;
  padding:24px 30px 28px;
}
.bumperHeroSlide h1{
  max-width:500px;
  font-size:clamp(38px,4.25vw,54px);
  line-height:1;
  text-wrap:balance;
}
.bumperHeroSlide p{max-width:460px;font-size:13px;line-height:1.45}
@media(max-width:900px) and (min-width:621px){
  .bumperHeroSlide .homeHeroContent{width:62%;padding:20px 24px 24px}
  .bumperHeroSlide h1{font-size:clamp(34px,4.9vw,44px)}
  .bumperHeroSlide p{font-size:12px;line-height:1.42}
  .bumperHeroSlide .homeEventDate{margin-top:8px}
  .bumperHeroSlide .homeCountdown{margin-top:8px}
  .bumperHeroSlide .homeHeroActions{margin-top:10px}
}
@media(max-width:620px){
  .bumperHeroSlide .homeHeroContent{width:100%;max-height:none;overflow:visible}
  .bumperHeroSlide h1{font-size:clamp(34px,11vw,46px)}
}

.homeSecondaryAction,.bumperSecondaryAction{
  border:1px solid rgba(106,225,214,.36);
  border-radius:9px;
  padding:11px 16px;
  color:#d7f7f4;
  background:rgba(6,24,30,.76);
  font:800 11px/1 inherit;
  cursor:pointer;
}
.bumperRegistrationPage{min-height:100vh;background:#061015;color:#e9fbf8;overflow:auto}
.bumperRegistrationShell{width:min(880px,calc(100% - 28px));margin:0 auto;padding:24px 0 42px}
.bumperRegistrationHero{
  padding:28px;
  border:1px solid rgba(65,210,196,.34);
  border-radius:18px;
  background:linear-gradient(120deg,rgba(7,29,35,.97),rgba(9,17,29,.9)),url('/assets/bingo-crypt-title.png?v=mainnet') center/cover;
  box-shadow:0 18px 54px rgba(0,0,0,.3);
}
.bumperRegistrationHero span,.bumperPanelHeading span{color:#4ff0ce;font-size:10px;font-weight:900;letter-spacing:.13em}
.bumperRegistrationHero h1{margin:8px 0 4px;font-size:clamp(32px,6vw,54px);line-height:1}
.bumperRegistrationHero p{margin:0;color:#bfd6d5}
.bumperRegistrationHero>strong{display:inline-block;margin-top:18px;padding:8px 11px;border-radius:999px;background:rgba(255,210,72,.12);color:#ffdb6d;font-size:12px}
.bumperEligibilityPanel,.bumperRegistrationAction{margin-top:14px;padding:22px;border:1px solid rgba(65,210,196,.2);border-radius:15px;background:rgba(8,27,33,.9)}
.bumperPanelHeading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.bumperPanelHeading h2{margin:4px 0 0;font-size:24px}
.bumperPanelHeading button{border:0;border-radius:8px;padding:9px 12px;background:#13353d;color:#dff;font-weight:800;cursor:pointer}
.bumperEligibilityList{display:grid;gap:9px;margin-top:18px}
.bumperEligibilityList article{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:12px;padding:13px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.025)}
.bumperEligibilityList i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#15323a;color:#a9c7ca;font-style:normal;font-weight:900}
.bumperEligibilityList strong,.bumperEligibilityList small{display:block}
.bumperEligibilityList small{margin-top:3px;color:#8da9ad;line-height:1.35}
.bumperEligibilityList b{color:#d3a1a1;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.bumperEligibilityList article.isPassed{border-color:rgba(67,232,168,.3);background:rgba(67,232,168,.055)}
.bumperEligibilityList article.isPassed i{background:#28795e;color:#effff9}
.bumperEligibilityList article.isPassed b{color:#63ebae}
.bumperEligibilityMessage{margin:16px 0 0;padding:11px;border-radius:9px;background:rgba(255,205,80,.08);color:#f3cf74}
.bumperEligibilityMessage.isSuccess{background:rgba(67,232,168,.08);color:#65ecb0}
.bumperRulesAccept{display:flex;gap:10px;align-items:flex-start;color:#cbe0df;font-size:12px;line-height:1.5}
.bumperRulesAccept input{margin-top:3px;accent-color:#3fe0bc}
.bumperRegistrationButtons{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.bumperRegistrationButtons button[disabled]{opacity:.45;cursor:not-allowed}
.bumperPrivacyNote{margin:14px 0 0;color:#79979b;font-size:10px;line-height:1.5}
.bumperTrap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:620px){
  .bumperRegistrationShell{width:min(100% - 18px,880px);padding-top:10px}
  .bumperRegistrationHero,.bumperEligibilityPanel,.bumperRegistrationAction{padding:17px;border-radius:12px}
  .bumperPanelHeading{align-items:flex-start}
  .bumperEligibilityList article{grid-template-columns:30px 1fr}
  .bumperEligibilityList article b{grid-column:2}
  .homeHeroActions{flex-wrap:wrap}
}


/* =========================
   V38: Navigation hierarchy + BBE campaign home polish
   ========================= */
.appTopbar{
  overflow:visible;
  grid-template-columns:minmax(210px,auto) minmax(0,1fr) auto;
}

.appNav.appNavV2{
  width:100%;
  max-width:100%;
  overflow:visible;
  justify-content:center;
  gap:5px;
  padding:5px;
}

.appNavMenu{
  position:relative;
  flex:0 0 auto;
}

.appNavMenu > summary,
.appNavQuick{
  min-height:40px;
  padding:8px 12px;
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid transparent;
  border-radius:7px;
  color:#a9c0c6;
  background:transparent;
  font-size:11px;
  font-weight:900;
  list-style:none;
  cursor:pointer;
  user-select:none;
}

.appNavMenu > summary::-webkit-details-marker{display:none}

.appNavMenu > summary::after{
  content:"▾";
  color:#6edfd5;
  font-size:9px;
  transform-origin:center;
  transition:transform .16s ease;
}

.appNavMenu[open] > summary::after{transform:rotate(180deg)}

.appNavMenu > summary:hover,
.appNavMenu[open] > summary,
.appNavQuick:hover{
  color:#fff4c8;
  border-color:rgba(241,201,88,.17);
  background:linear-gradient(180deg,rgba(241,201,88,.09),rgba(255,255,255,.025));
}

.appNavDropdown{
  position:absolute;
  top:calc(100% + 9px);
  left:50%;
  z-index:220;
  width:230px;
  padding:7px;
  display:grid;
  gap:3px;
  transform:translateX(-50%);
  border:1px solid rgba(82,230,214,.20);
  border-radius:12px;
  background:
    linear-gradient(145deg,rgba(82,230,214,.055),rgba(155,102,197,.04)),
    rgba(5,17,25,.985);
  box-shadow:0 22px 48px rgba(0,0,0,.50),inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(18px);
}

.appNavMenu:first-child .appNavDropdown{left:0;transform:none}
.appNavMenu:nth-last-child(-n+2) .appNavDropdown{left:auto;right:0;transform:none}

.appNavDropdown::before{
  content:"";
  position:absolute;
  left:50%;
  top:-5px;
  width:9px;
  height:9px;
  transform:translateX(-50%) rotate(45deg);
  border-left:1px solid rgba(82,230,214,.18);
  border-top:1px solid rgba(82,230,214,.18);
  background:#071821;
}

.appNavMenu:first-child .appNavDropdown::before{left:24px;transform:rotate(45deg)}
.appNavMenu:nth-last-child(-n+2) .appNavDropdown::before{left:auto;right:24px;transform:rotate(45deg)}

.appNavDropdown button{
  min-height:39px;
  width:100%;
  padding:8px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  border:1px solid transparent;
  border-radius:8px;
  color:#b8ccd1;
  background:transparent;
  box-shadow:none;
  text-align:left;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}

.appNavDropdown button:hover{
  color:#f7ffff;
  border-color:rgba(82,230,214,.16);
  background:linear-gradient(90deg,rgba(82,230,214,.10),rgba(241,201,88,.04));
}

.appNavDropdown .rewardNavBtn{color:#f1d774}
.appNavDropdown .navBadge{margin-left:auto}

.bbeXpHeroSlide > img{
  object-position:center;
  filter:saturate(.92) brightness(.58);
}

.bbeXpHeroSlide .homeHeroShade{
  background:
    radial-gradient(circle at 75% 35%,rgba(76,224,215,.18),transparent 34%),
    linear-gradient(90deg,rgba(3,10,17,.985) 0%,rgba(5,13,23,.90) 48%,rgba(9,6,19,.42) 76%,rgba(3,8,14,.76) 100%);
}

.bbeXpHeroSlide .homeHeroContent{
  width:min(690px,70%);
}

.bbeXpHeroSlide h1{
  max-width:660px;
  color:#fff6c8;
  text-shadow:0 6px 28px rgba(0,0,0,.65);
}

.bbeXpHeroSlide .homeEyebrow{
  color:#64eee1;
}

.bbeHeroStrip{
  width:min(560px,100%);
  margin-top:18px;
  padding:11px 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(241,201,88,.32);
  border-radius:9px;
  background:linear-gradient(90deg,rgba(241,201,88,.10),rgba(82,230,214,.07));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.bbeHeroStrip strong{
  color:#ffe37f;
  font-size:11px;
  letter-spacing:.05em;
}

.bbeHeroStrip span{
  color:#93d9d5;
  font-size:10px;
  font-weight:850;
  text-align:right;
}

.homeStats{
  border-radius:12px;
}

.homeStats article{
  position:relative;
  overflow:hidden;
}

.homeStats article::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:2px;
  opacity:.7;
  background:linear-gradient(90deg,#52e6d6,#f1c958,transparent);
}

.gameFeature,
.availableGameCard,
.homeSection,
.portalBoundary{
  border-radius:12px;
}

@media(max-width:1080px){
  .appTopbar{grid-template-columns:auto 1fr auto}
  .appBrand{min-width:190px}
  .playerIdentity{min-width:190px}
  .appNavMenu > summary,.appNavQuick{padding:8px 9px;font-size:10px}
}

@media(max-width:900px){
  .appTopbar{
    overflow:visible;
    grid-template-columns:1fr auto;
  }
  .appNav.appNavV2{
    grid-column:1/-1;
    grid-row:2;
    justify-content:flex-start;
    overflow-x:auto;
    overflow-y:visible;
    scrollbar-width:none;
  }
  .appNavMenu{position:static}
  .appNavDropdown{
    position:fixed;
    left:14px !important;
    right:14px !important;
    top:auto;
    width:auto;
    max-height:min(62vh,440px);
    transform:none !important;
    overflow:auto;
  }
  .appNavDropdown::before{display:none}
}

@media(max-width:620px){
  .appNav.appNavV2{
    padding:4px;
    gap:2px;
  }
  .appNavMenu > summary,.appNavQuick{
    min-height:38px;
    padding:7px 9px;
    white-space:nowrap;
  }
  .bbeXpHeroSlide .homeHeroContent{
    width:100%;
    padding:24px 18px 74px;
  }
  .bbeXpHeroSlide h1{
    font-size:clamp(38px,12vw,50px);
  }
  .bbeHeroStrip{
    align-items:flex-start;
    flex-direction:column;
  }
  .bbeHeroStrip span{text-align:left}
}


/* =========================
   V39: Return-player dashboard + reliable mobile navigation
   ========================= */
.playerCommandCenter{
  position:relative;
  z-index:2;
  padding:18px;
  border:1px solid rgba(82,230,214,.22);
  border-radius:16px;
  background:
    radial-gradient(circle at 12% 0%,rgba(82,230,214,.08),transparent 32%),
    radial-gradient(circle at 92% 0%,rgba(155,102,197,.09),transparent 30%),
    linear-gradient(150deg,rgba(9,28,38,.97),rgba(5,17,25,.98));
  box-shadow:0 24px 56px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.04);
}

.commandCenterHead{
  margin-bottom:14px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
}

.commandCenterHead > div:first-child > span{
  color:#52e6d6;
  font-size:9px;
  font-weight:950;
  letter-spacing:.15em;
}

.commandCenterHead h1{
  margin:4px 0 5px;
  color:#f9ffff;
  font-size:clamp(25px,3vw,36px);
  line-height:1;
}

.commandCenterHead p{
  margin:0;
  color:#8faab1;
  font-size:11px;
}

.commandCenterSignal{
  flex:none;
  padding:7px 10px;
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid rgba(82,230,214,.15);
  border-radius:999px;
  color:#a9c6ca;
  background:rgba(0,0,0,.19);
  font-size:9px;
  font-weight:850;
}

.commandCenterSignal i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#54e48c;
  box-shadow:0 0 11px rgba(84,228,140,.6);
}

.commandCenterGrid{
  display:grid;
  grid-template-columns:1fr 1.15fr 1fr;
  gap:10px;
}

.dashboardCard{
  min-width:0;
  min-height:260px;
  padding:14px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:13px;
  background:
    linear-gradient(155deg,rgba(255,255,255,.035),rgba(255,255,255,.008)),
    rgba(4,16,23,.66);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}

.dashboardCardHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.dashboardCardHead span{
  color:#5bded3;
  font-size:8px;
  font-weight:950;
  letter-spacing:.13em;
}

.dashboardCardHead h2{
  margin:3px 0 0;
  color:#f2fbfc;
  font-size:16px;
}

.dashboardCardHead button,
.dashboardEventPrompt button{
  min-height:30px;
  padding:6px 9px;
  border:1px solid rgba(82,230,214,.15);
  border-radius:8px;
  color:#b9d7da;
  background:rgba(255,255,255,.035);
  box-shadow:none;
  font-size:9px;
  font-weight:850;
}

.dashboardPlayerIdentity{
  margin:17px 0 14px;
  display:flex;
  align-items:center;
  gap:11px;
}

.dashboardAvatar{
  position:relative;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  flex:none;
  overflow:hidden;
  border:1px solid rgba(241,201,88,.30);
  border-radius:12px;
  color:#071216;
  background:linear-gradient(145deg,#52e6d6,#f1c958);
  font-size:11px;
  font-weight:1000;
  box-shadow:0 0 18px rgba(82,230,214,.10);
}

.dashboardAvatar img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.dashboardPlayerIdentity strong,
.dashboardPlayerIdentity small{
  display:block;
}

.dashboardPlayerIdentity strong{
  color:#fff;
  font-size:14px;
}

.dashboardPlayerIdentity small{
  margin-top:3px;
  color:#819ea5;
  font-size:9px;
}

.dashboardMetrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
}

.dashboardMetrics div{
  min-width:0;
  padding:9px 8px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:9px;
  background:rgba(0,0,0,.17);
}

.dashboardMetrics span,
.dashboardProgress span,
.dashboardProgress small{
  display:block;
  color:#78989f;
  font-size:8px;
  font-weight:800;
}

.dashboardMetrics strong{
  display:block;
  margin-top:3px;
  overflow:hidden;
  color:#fff0ad;
  font-size:18px;
  text-overflow:ellipsis;
}

.dashboardProgress{
  margin-top:12px;
}

.dashboardProgress > div:first-child{
  display:flex;
  justify-content:space-between;
  gap:10px;
}

.dashboardProgress > div:first-child strong{
  color:#c9ebea;
  font-size:9px;
}

.dashboardProgressTrack{
  height:7px;
  margin:6px 0;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.07);
}

.dashboardProgressTrack i{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#52e6d6,#f1c958);
  box-shadow:0 0 12px rgba(82,230,214,.23);
  transition:width .25s ease;
}

.dashboardTaskList{
  margin-top:13px;
  display:grid;
  gap:6px;
}

.dashboardTask{
  width:100%;
  min-height:42px;
  padding:7px 8px;
  display:grid;
  grid-template-columns:29px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:9px;
  color:#dcebed;
  background:rgba(255,255,255,.022);
  box-shadow:none;
  text-align:left;
  cursor:pointer;
}

.dashboardTask:hover{
  border-color:rgba(82,230,214,.22);
  background:rgba(82,230,214,.055);
}

.dashboardTask > i{
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:#061515;
  background:#55dfd2;
  font-style:normal;
  font-size:13px;
  font-weight:1000;
}

.dashboardTask > span{
  min-width:0;
}

.dashboardTask strong,
.dashboardTask small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.dashboardTask strong{font-size:10px}
.dashboardTask small{
  margin-top:2px;
  color:#78969d;
  font-size:8px;
}

.dashboardTask b{
  color:#ffe28b;
  font-size:8px;
  white-space:nowrap;
}

.dashboardTask.isComplete{
  opacity:.58;
}

.dashboardTask.isComplete > i{
  color:#eafff2;
  background:#267454;
}

.dashboardTask.isComplete b{color:#72dba8}

.dashboardConnectPrompt{
  width:100%;
  min-height:86px;
  padding:14px;
  display:grid;
  align-content:center;
  gap:4px;
  border:1px dashed rgba(82,230,214,.24);
  border-radius:10px;
  color:#dcffff;
  background:rgba(82,230,214,.035);
  box-shadow:none;
  text-align:left;
}

.dashboardConnectPrompt strong{font-size:13px}
.dashboardConnectPrompt span{color:#7f9fa6;font-size:9px}

.dashboardEmpty{
  padding:17px;
  border:1px dashed rgba(255,255,255,.08);
  border-radius:9px;
  color:#78979d;
  font-size:9px;
  text-align:center;
}

.quickPlayGrid{
  margin-top:13px;
  display:grid;
  gap:7px;
}

.quickPlayGrid button{
  min-height:51px;
  padding:8px 10px;
  display:grid;
  grid-template-columns:74px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  gap:1px 8px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:10px;
  color:#efffff;
  background:
    linear-gradient(90deg,rgba(82,230,214,.06),rgba(255,255,255,.015));
  box-shadow:none;
  text-align:left;
}

.quickPlayGrid button:hover{
  border-color:rgba(241,201,88,.26);
  background:linear-gradient(90deg,rgba(241,201,88,.08),rgba(82,230,214,.04));
}

.quickPlayGrid button > span{
  grid-row:1/3;
  align-self:stretch;
  display:grid;
  place-items:center;
  border-right:1px solid rgba(255,255,255,.07);
  color:#5fe4da;
  font-size:8px;
  font-weight:950;
  letter-spacing:.07em;
}

.quickPlayGrid strong{font-size:11px}
.quickPlayGrid small{color:#78969d;font-size:8px}

.dashboardEventPrompt{
  margin-top:10px;
  padding:9px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  border:1px solid rgba(241,201,88,.15);
  border-radius:9px;
  background:rgba(241,201,88,.035);
}

.dashboardEventPrompt span,
.dashboardEventPrompt strong{
  display:block;
}

.dashboardEventPrompt span{
  color:#b79846;
  font-size:7px;
  font-weight:950;
  letter-spacing:.09em;
}

.dashboardEventPrompt strong{
  margin-top:2px;
  color:#f7df91;
  font-size:10px;
}

.campaignSectionHead{
  margin:4px 2px -2px;
  padding:0 4px;
}

.homeHero{
  position:relative;
  z-index:1;
}

/* Ensure menus always paint over the dashboard/carousel. */
.appTopbar{
  z-index:2000;
}

.appNavMenu[open]{
  z-index:2050;
}

.appNavDropdown{
  z-index:2100;
}

@media(max-width:980px){
  .commandCenterGrid{
    grid-template-columns:1fr 1fr;
  }
  .dashboardQuickPlay{
    grid-column:1/-1;
  }
  .quickPlayGrid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .quickPlayGrid button{
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
  }
  .quickPlayGrid button > span{
    grid-row:auto;
    align-self:auto;
    justify-items:start;
    place-items:start;
    padding-bottom:4px;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.07);
  }
}

@media(max-width:900px){
  .appTopbar{
    position:relative !important;
    z-index:3000 !important;
    overflow:visible !important;
  }

  .appNav.appNavV2{
    overflow-x:auto;
    overflow-y:visible;
    position:relative;
    z-index:3010;
  }

  .appNavMenu[open]{
    z-index:3050;
  }

  .appNavDropdown{
    position:fixed !important;
    top:var(--mobile-nav-top,112px) !important;
    left:8px !important;
    right:8px !important;
    bottom:auto !important;
    width:auto !important;
    max-height:min(64vh,460px);
    overflow-y:auto;
    transform:none !important;
    z-index:9999 !important;
    border-color:rgba(82,230,214,.30);
    background:rgba(4,17,25,.995);
    box-shadow:0 28px 80px rgba(0,0,0,.72),0 0 0 9999px rgba(0,5,10,.28);
  }

  .homeDashboard,
  .homeHero,
  .homeHeroTrack,
  .homeHeroSlide{
    z-index:1 !important;
  }
}

@media(max-width:720px){
  .playerCommandCenter{
    padding:12px;
    border-radius:12px;
  }

  .commandCenterHead{
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
  }

  .commandCenterSignal{
    align-self:stretch;
    justify-content:center;
  }

  .commandCenterGrid{
    grid-template-columns:1fr;
  }

  .dashboardQuickPlay{
    grid-column:auto;
  }

  .dashboardCard{
    min-height:0;
  }

  .quickPlayGrid{
    grid-template-columns:1fr;
  }

  .quickPlayGrid button{
    grid-template-columns:72px minmax(0,1fr);
    grid-template-rows:auto auto;
  }

  .quickPlayGrid button > span{
    grid-row:1/3;
    align-self:stretch;
    display:grid;
    place-items:center;
    padding:0;
    border-right:1px solid rgba(255,255,255,.07);
    border-bottom:0;
  }

  .campaignSectionHead{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
    margin-top:4px;
  }
}


/* =========================
   V40: Missions, goals, results + streak retention panels
   ========================= */
.dashboardRetentionGrid{
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.dashboardMiniCard{
  min-width:0;
  min-height:190px;
  padding:13px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:12px;
  background:
    linear-gradient(155deg,rgba(255,255,255,.032),rgba(255,255,255,.008)),
    rgba(4,16,23,.62);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

.dashboardMiniHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.dashboardMiniHead > span{
  color:#5fe4d9;
  font-size:7px;
  font-weight:950;
  letter-spacing:.14em;
}

.dashboardMiniHead > strong{
  color:#ffe18a;
  font-size:9px;
  font-weight:950;
}

.dashboardMiniHead > button{
  min-height:26px;
  padding:5px 7px;
  border:1px solid rgba(82,230,214,.14);
  border-radius:7px;
  color:#9ec1c5;
  background:rgba(255,255,255,.025);
  box-shadow:none;
  font-size:8px;
  font-weight:850;
}

.dashboardMiniCard h3{
  margin:9px 0 5px;
  color:#f4fbfc;
  font-size:14px;
}

.dashboardMiniCard p{
  margin:0;
  color:#79979e;
  font-size:9px;
  line-height:1.45;
}

.dashboardMissionProgress,
.dashboardGoalProgress{
  height:7px;
  margin:11px 0 8px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.065);
}

.dashboardMissionProgress i,
.dashboardGoalProgress i{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  transition:width .25s ease;
}

.dashboardMissionProgress i{
  background:linear-gradient(90deg,#9b66c5,#52e6d6,#f1c958);
  box-shadow:0 0 12px rgba(155,102,197,.25);
}

.dashboardGoalProgress i{
  background:linear-gradient(90deg,#52e6d6,#f1c958);
  box-shadow:0 0 12px rgba(82,230,214,.20);
}

.dashboardMissionObjectives{
  min-height:48px;
  display:flex;
  flex-wrap:wrap;
  align-content:flex-start;
  gap:5px;
}

.dashboardMissionObjectives span{
  padding:4px 6px;
  display:inline-flex;
  align-items:center;
  gap:4px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  color:#7f9ba2;
  background:rgba(0,0,0,.15);
  font-size:7px;
  font-weight:800;
}

.dashboardMissionObjectives span i{
  width:15px;
  height:15px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#73949a;
  background:rgba(255,255,255,.055);
  font-style:normal;
  font-size:7px;
}

.dashboardMissionObjectives span.complete{
  color:#a9e8c4;
  border-color:rgba(84,228,140,.18);
  background:rgba(84,228,140,.045);
}

.dashboardMissionObjectives span.complete i{
  color:#082016;
  background:#54e48c;
}

.dashboardMissionCard > button{
  width:100%;
  min-height:31px;
  margin-top:9px;
  border:1px solid rgba(82,230,214,.16);
  border-radius:8px;
  color:#c7eceb;
  background:rgba(82,230,214,.045);
  box-shadow:none;
  font-size:8px;
  font-weight:850;
}

.dashboardGoalCard small{
  display:block;
  color:#66858c;
  font-size:8px;
}

.dashboardRecentList{
  margin-top:9px;
  display:grid;
  gap:5px;
}

.dashboardRecentList article{
  min-height:42px;
  padding:6px 7px;
  display:grid;
  grid-template-columns:27px minmax(0,1fr) auto;
  align-items:center;
  gap:7px;
  border:1px solid rgba(255,255,255,.065);
  border-radius:8px;
  background:rgba(0,0,0,.13);
}

.dashboardRecentList article > i{
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  border-radius:7px;
  color:#151007;
  background:linear-gradient(145deg,#f1c958,#e9a34f);
  font-style:normal;
  font-size:6px;
  font-weight:1000;
}

.dashboardRecentList strong,
.dashboardRecentList small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.dashboardRecentList strong{
  color:#eaf6f7;
  font-size:9px;
}

.dashboardRecentList small{
  margin-top:2px;
  color:#6f8f96;
  font-size:7px;
}

.dashboardRecentList b{
  color:#f7de8d;
  font-size:8px;
  white-space:nowrap;
}

.dashboardStreakCard{
  position:relative;
  overflow:hidden;
}

.dashboardStreakCard::after{
  content:"";
  position:absolute;
  right:-35px;
  bottom:-45px;
  width:130px;
  height:130px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(241,201,88,.10),transparent 68%);
  pointer-events:none;
}

.dashboardStreakFlame{
  width:42px;
  height:42px;
  margin:14px 0 8px;
  display:grid;
  place-items:center;
  border:1px solid rgba(241,201,88,.30);
  border-radius:13px 13px 13px 5px;
  color:#f6dc74;
  background:
    radial-gradient(circle at 50% 72%,rgba(241,201,88,.20),transparent 45%),
    rgba(241,201,88,.035);
  box-shadow:0 0 22px rgba(241,201,88,.08);
  transform:rotate(45deg);
}

.dashboardStreakFlame::first-letter{
  transform:rotate(-45deg);
}

.dashboardStreakWeek{
  margin-top:11px;
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:4px;
}

.dashboardStreakWeek span{
  min-width:0;
  padding:4px 2px;
  display:grid;
  place-items:center;
  gap:2px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:7px;
  color:#536f76;
  background:rgba(0,0,0,.12);
  font-size:6px;
}

.dashboardStreakWeek span i{
  font-style:normal;
  font-size:8px;
}

.dashboardStreakWeek span b{
  font-size:6px;
}

.dashboardStreakWeek span.active{
  color:#b7efcc;
  border-color:rgba(84,228,140,.17);
  background:rgba(84,228,140,.045);
}

@media(max-width:1120px){
  .dashboardRetentionGrid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  .dashboardRetentionGrid{
    grid-template-columns:1fr;
  }

  .dashboardMiniCard{
    min-height:0;
  }

  .dashboardStreakWeek{
    gap:6px;
  }

  .dashboardStreakWeek span{
    min-height:35px;
  }
}


/* =========================
   V41: Bingo Crypt desktop dashboard visual polish
   ========================= */
@media(min-width:721px){
  .playerCommandCenter{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    padding:22px;
    border-color:rgba(82,230,214,.34);
    background:
      radial-gradient(circle at 8% 0%,rgba(82,230,214,.16),transparent 28%),
      radial-gradient(circle at 90% 10%,rgba(155,102,197,.16),transparent 28%),
      radial-gradient(circle at 56% 110%,rgba(241,201,88,.08),transparent 34%),
      linear-gradient(145deg,rgba(7,28,38,.985),rgba(4,14,22,.99) 55%,rgba(12,12,28,.99));
    box-shadow:
      0 28px 70px rgba(0,0,0,.42),
      0 0 0 1px rgba(82,230,214,.04),
      inset 0 1px 0 rgba(255,255,255,.07);
  }

  .playerCommandCenter::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    pointer-events:none;
    opacity:.28;
    background:
      radial-gradient(circle at 7% 22%,rgba(82,230,214,.55) 0 2px,transparent 3px),
      radial-gradient(circle at 13% 36%,rgba(241,201,88,.45) 0 2px,transparent 3px),
      radial-gradient(circle at 86% 24%,rgba(155,102,197,.5) 0 2px,transparent 3px),
      radial-gradient(circle at 91% 40%,rgba(82,230,214,.4) 0 2px,transparent 3px);
  }

  .playerCommandCenter::after{
    content:"BINGO CRYPT";
    position:absolute;
    right:26px;
    top:14px;
    z-index:-1;
    color:rgba(255,255,255,.025);
    font-size:54px;
    line-height:1;
    font-weight:1000;
    letter-spacing:.13em;
    white-space:nowrap;
    pointer-events:none;
  }

  .commandCenterHead{
    margin-bottom:18px;
    padding-bottom:14px;
    border-bottom:1px solid rgba(255,255,255,.07);
  }

  .commandCenterHead > div:first-child > span{
    color:#67f0e3;
    text-shadow:0 0 18px rgba(82,230,214,.30);
  }

  .commandCenterHead h1{
    margin-top:6px;
    font-size:clamp(31px,3vw,42px);
    letter-spacing:-.025em;
    background:linear-gradient(90deg,#ffffff 0%,#d8ffff 48%,#ffe28a 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    text-shadow:none;
  }

  .commandCenterHead p{
    color:#9bbcc1;
    font-size:12px;
  }

  .commandCenterSignal{
    padding:8px 12px;
    border-color:rgba(84,228,140,.24);
    color:#bdebd0;
    background:linear-gradient(180deg,rgba(84,228,140,.08),rgba(0,0,0,.18));
    box-shadow:0 0 24px rgba(84,228,140,.05),inset 0 1px 0 rgba(255,255,255,.04);
  }

  .dashboardCard,
  .dashboardMiniCard{
    position:relative;
    overflow:hidden;
    border-color:rgba(255,255,255,.11);
    background:
      linear-gradient(160deg,rgba(255,255,255,.052),rgba(255,255,255,.012) 38%,rgba(0,0,0,.10)),
      rgba(5,20,28,.82);
    box-shadow:
      0 12px 28px rgba(0,0,0,.18),
      inset 0 1px 0 rgba(255,255,255,.045);
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
  }

  .dashboardCard:hover,
  .dashboardMiniCard:hover{
    transform:translateY(-2px);
    border-color:rgba(82,230,214,.18);
    box-shadow:
      0 18px 34px rgba(0,0,0,.24),
      0 0 24px rgba(82,230,214,.035),
      inset 0 1px 0 rgba(255,255,255,.055);
  }

  .dashboardPlayerCard::before,
  .dashboardTasksCard::before,
  .dashboardQuickPlay::before,
  .dashboardGoalCard::before,
  .dashboardRecentCard::before,
  .dashboardStreakCard::before,
  .dashboardMissionCard::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:3px;
  }

  .dashboardPlayerCard::before{
    background:linear-gradient(90deg,#52e6d6,#7ef4eb,transparent 78%);
  }

  .dashboardTasksCard::before{
    background:linear-gradient(90deg,#52e6d6,#f1c958,transparent 78%);
  }

  .dashboardQuickPlay::before{
    background:linear-gradient(90deg,#9b66c5,#52e6d6,transparent 78%);
  }

  .dashboardMissionCard::before{
    background:linear-gradient(90deg,#9b66c5,#f1c958,transparent 78%);
  }

  .dashboardGoalCard::before{
    background:linear-gradient(90deg,#f1c958,#52e6d6,transparent 78%);
  }

  .dashboardRecentCard::before{
    background:linear-gradient(90deg,#f1c958,#e89c45,transparent 78%);
  }

  .dashboardStreakCard::before{
    background:linear-gradient(90deg,#f1c958,#ff7d4f,transparent 78%);
  }

  .dashboardCardHead span,
  .dashboardMiniHead > span{
    text-shadow:0 0 12px rgba(82,230,214,.20);
  }

  .dashboardCardHead h2{
    margin-top:5px;
    font-size:18px;
    letter-spacing:-.01em;
  }

  .dashboardCardHead button,
  .dashboardMiniHead > button,
  .dashboardEventPrompt button{
    border-color:rgba(82,230,214,.20);
    color:#d7ffff;
    background:linear-gradient(180deg,rgba(82,230,214,.09),rgba(255,255,255,.025));
  }

  .dashboardCardHead button:hover,
  .dashboardMiniHead > button:hover,
  .dashboardEventPrompt button:hover{
    border-color:rgba(241,201,88,.30);
    color:#fff3ba;
    background:linear-gradient(180deg,rgba(241,201,88,.12),rgba(255,255,255,.03));
  }

  .dashboardPlayerIdentity{
    margin:19px 0 16px;
  }

  .dashboardAvatar{
    width:56px;
    height:56px;
    border-radius:15px;
    border-color:rgba(241,201,88,.48);
    box-shadow:
      0 0 0 3px rgba(241,201,88,.045),
      0 0 24px rgba(82,230,214,.14);
  }

  .dashboardPlayerIdentity strong{
    font-size:16px;
  }

  .dashboardPlayerIdentity small{
    margin-top:4px;
    color:#94b3b9;
    font-size:10px;
  }

  .dashboardMetrics{
    gap:8px;
  }

  .dashboardMetrics div{
    min-height:64px;
    padding:10px;
    border-color:rgba(255,255,255,.085);
    background:
      radial-gradient(circle at 85% 15%,rgba(82,230,214,.09),transparent 45%),
      rgba(0,0,0,.20);
  }

  .dashboardMetrics div:nth-child(2){
    background:
      radial-gradient(circle at 85% 15%,rgba(155,102,197,.11),transparent 45%),
      rgba(0,0,0,.20);
  }

  .dashboardMetrics div:nth-child(3){
    background:
      radial-gradient(circle at 85% 15%,rgba(241,201,88,.10),transparent 45%),
      rgba(0,0,0,.20);
  }

  .dashboardMetrics span{
    color:#86a7ae;
    letter-spacing:.03em;
  }

  .dashboardMetrics strong{
    margin-top:6px;
    font-size:23px;
    line-height:1;
    text-shadow:0 0 16px rgba(241,201,88,.10);
  }

  .dashboardProgress{
    margin-top:15px;
    padding:10px;
    border:1px solid rgba(82,230,214,.08);
    border-radius:10px;
    background:rgba(0,0,0,.13);
  }

  .dashboardProgressTrack{
    height:8px;
    background:rgba(255,255,255,.075);
  }

  .dashboardProgressTrack i{
    background:linear-gradient(90deg,#43d7ca,#67efe4 45%,#f1c958);
    box-shadow:0 0 16px rgba(82,230,214,.30);
  }

  .dashboardTaskList{
    gap:7px;
  }

  .dashboardTask{
    min-height:48px;
    padding:8px 9px;
    border-color:rgba(255,255,255,.085);
    background:
      linear-gradient(90deg,rgba(82,230,214,.035),rgba(255,255,255,.012)),
      rgba(0,0,0,.13);
  }

  .dashboardTask:hover{
    transform:translateX(2px);
    border-color:rgba(82,230,214,.28);
    background:
      linear-gradient(90deg,rgba(82,230,214,.09),rgba(241,201,88,.025)),
      rgba(0,0,0,.14);
  }

  .dashboardTask > i{
    width:31px;
    height:31px;
    border-radius:10px;
    box-shadow:0 0 14px rgba(82,230,214,.18);
  }

  .dashboardTask strong{
    font-size:11px;
  }

  .dashboardTask small{
    color:#8ca9af;
  }

  .dashboardTask b{
    min-width:53px;
    padding:4px 7px;
    border:1px solid rgba(241,201,88,.16);
    border-radius:999px;
    color:#ffe28b;
    background:rgba(241,201,88,.055);
    text-align:center;
  }

  .dashboardTask.isComplete{
    opacity:.68;
    background:rgba(84,228,140,.025);
  }

  .dashboardTask.isComplete b{
    border-color:rgba(84,228,140,.16);
    color:#84e6ae;
    background:rgba(84,228,140,.05);
  }

  .quickPlayGrid{
    gap:9px;
  }

  .quickPlayGrid button{
    min-height:57px;
    border-color:rgba(255,255,255,.09);
    background:
      linear-gradient(100deg,rgba(82,230,214,.08),rgba(255,255,255,.015));
  }

  .quickPlayGrid button:nth-child(2){
    background:
      linear-gradient(100deg,rgba(241,201,88,.09),rgba(255,255,255,.015));
  }

  .quickPlayGrid button:nth-child(3){
    background:
      linear-gradient(100deg,rgba(155,102,197,.12),rgba(255,255,255,.015));
  }

  .quickPlayGrid button:nth-child(1) > span{color:#67f2e5}
  .quickPlayGrid button:nth-child(2) > span{color:#ffe08a}
  .quickPlayGrid button:nth-child(3) > span{color:#c69af0}

  .quickPlayGrid button:hover{
    transform:translateX(2px);
    border-color:rgba(255,255,255,.18);
  }

  .quickPlayGrid strong{
    font-size:12px;
  }

  .dashboardEventPrompt{
    padding:10px;
    border-color:rgba(241,201,88,.22);
    background:
      radial-gradient(circle at 80% 0%,rgba(241,201,88,.10),transparent 45%),
      linear-gradient(90deg,rgba(241,201,88,.055),rgba(155,102,197,.035));
  }

  .dashboardEventPrompt strong{
    font-size:11px;
  }

  .dashboardRetentionGrid{
    margin-top:12px;
  }

  .dashboardMiniCard{
    min-height:205px;
    padding:15px;
  }

  .dashboardMiniCard h3{
    margin-top:11px;
    font-size:16px;
  }

  .dashboardMiniCard p{
    color:#89a7ad;
    font-size:9px;
  }

  .dashboardGoalCard{
    background:
      radial-gradient(circle at 90% 8%,rgba(241,201,88,.10),transparent 37%),
      linear-gradient(155deg,rgba(255,255,255,.036),rgba(255,255,255,.01)),
      rgba(5,20,28,.82);
  }

  .dashboardRecentCard{
    background:
      radial-gradient(circle at 90% 8%,rgba(232,156,69,.08),transparent 37%),
      linear-gradient(155deg,rgba(255,255,255,.036),rgba(255,255,255,.01)),
      rgba(5,20,28,.82);
  }

  .dashboardStreakCard{
    background:
      radial-gradient(circle at 80% 22%,rgba(241,201,88,.12),transparent 34%),
      radial-gradient(circle at 100% 100%,rgba(255,125,79,.08),transparent 40%),
      linear-gradient(155deg,rgba(255,255,255,.036),rgba(255,255,255,.01)),
      rgba(5,20,28,.82);
  }

  .dashboardMiniHead > strong{
    padding:4px 7px;
    border:1px solid rgba(241,201,88,.14);
    border-radius:999px;
    background:rgba(241,201,88,.045);
  }

  .dashboardGoalProgress,
  .dashboardMissionProgress{
    height:9px;
    margin-top:14px;
  }

  .dashboardRecentList article{
    min-height:48px;
    border-color:rgba(255,255,255,.075);
    background:rgba(0,0,0,.16);
  }

  .dashboardRecentList article > i{
    width:29px;
    height:29px;
    border-radius:9px;
    box-shadow:0 0 14px rgba(241,201,88,.12);
  }

  .dashboardRecentList strong{
    font-size:10px;
  }

  .dashboardStreakFlame{
    width:48px;
    height:48px;
    border-color:rgba(241,201,88,.40);
    background:
      radial-gradient(circle at 50% 72%,rgba(255,125,79,.22),transparent 38%),
      radial-gradient(circle at 50% 50%,rgba(241,201,88,.18),transparent 60%);
    box-shadow:
      0 0 24px rgba(241,201,88,.12),
      inset 0 0 12px rgba(241,201,88,.05);
  }

  .dashboardStreakWeek span{
    min-height:35px;
    border-color:rgba(255,255,255,.07);
  }

  .dashboardStreakWeek span.active{
    border-color:rgba(84,228,140,.22);
    box-shadow:inset 0 0 10px rgba(84,228,140,.025);
  }

  .campaignSectionHead{
    margin-top:10px;
  }

  .campaignSectionHead span{
    color:#f1c958;
    text-shadow:0 0 12px rgba(241,201,88,.14);
  }

  .campaignSectionHead h2{
    font-size:24px;
    letter-spacing:-.015em;
  }
}


/* =========================================================
   V44: BBE Phase 2 + Halloween campaign homepage banners
   ========================================================= */
.bbeXpHeroSlide{
  border-color:rgba(241,201,88,.32);
}
.bbeXpHeroSlide > img{
  filter:saturate(.82) brightness(.58) contrast(1.06);
  transform:scale(1.015);
}
.bbeXpHeroSlide .homeHeroShade{
  background:
    radial-gradient(circle at 78% 32%,rgba(241,201,88,.10),transparent 24%),
    linear-gradient(90deg,rgba(2,9,15,.98) 0%,rgba(3,11,18,.92) 42%,rgba(3,10,16,.32) 76%),
    linear-gradient(0deg,rgba(2,9,15,.88),transparent 60%);
}
.bbeHeroVisual{
  position:absolute;
  z-index:2;
  right:50px;
  top:50%;
  width:250px;
  min-height:250px;
  transform:translateY(-50%) rotate(2deg);
  display:grid;
  place-items:center;
  align-content:center;
  border:1px solid rgba(241,201,88,.38);
  border-radius:50%;
  background:
    radial-gradient(circle,rgba(241,201,88,.15),rgba(82,230,214,.04) 46%,rgba(4,14,22,.92) 69%);
  box-shadow:
    0 0 0 8px rgba(241,201,88,.025),
    0 0 0 17px rgba(82,230,214,.018),
    0 24px 60px rgba(0,0,0,.45),
    inset 0 0 40px rgba(241,201,88,.08);
}
.bbeHeroVisual::before,
.bbeHeroVisual::after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
.bbeHeroVisual::before{
  inset:18px;
  border:1px dashed rgba(82,230,214,.26);
}
.bbeHeroVisual::after{
  inset:-14px;
  border:1px solid rgba(158,90,255,.12);
}
.bbeHeroVisual span,
.bbeHeroVisual small,
.bbeHeroVisual i{
  display:block;
  text-align:center;
}
.bbeHeroVisual span{
  color:#8df5eb;
  font-size:9px;
  font-weight:1000;
  letter-spacing:.15em;
}
.bbeHeroVisual strong{
  margin:4px 0 2px;
  color:#fff0a8;
  font-size:54px;
  line-height:.92;
  text-shadow:0 0 24px rgba(241,201,88,.22);
}
.bbeHeroVisual small{
  color:#9fb4b9;
  font-size:9px;
}
.bbeHeroVisual i{
  margin-top:12px;
  padding:6px 9px;
  border:1px solid rgba(82,230,214,.20);
  border-radius:999px;
  color:#b9fff8;
  background:rgba(82,230,214,.06);
  font-size:8px;
  font-style:normal;
  font-weight:950;
  letter-spacing:.08em;
}
.bbeHeroStrip,
.halloweenHeroStrip{
  margin-top:16px;
  width:min(560px,100%);
  min-height:40px;
  padding:9px 11px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(241,201,88,.25);
  border-radius:9px;
  background:rgba(5,18,26,.72);
  backdrop-filter:blur(7px);
}
.bbeHeroStrip strong,
.halloweenHeroStrip strong{
  color:#ffe58d;
  font-size:9px;
  font-weight:1000;
  letter-spacing:.06em;
}
.bbeHeroStrip span,
.halloweenHeroStrip span{
  color:#8adfd8;
  font-size:9px;
  font-weight:800;
  text-align:right;
}

.halloweenHeroSlide{
  overflow:hidden;
  background:
    radial-gradient(circle at 77% 20%,rgba(180,92,255,.20),transparent 28%),
    radial-gradient(circle at 86% 78%,rgba(255,138,40,.15),transparent 26%),
    linear-gradient(135deg,#02080e,#071525 55%,#15091b);
}
.halloweenHeroBackdrop{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(2,8,14,.98) 0%,rgba(2,8,14,.90) 43%,rgba(2,8,14,.20) 76%),
    radial-gradient(circle at 68% 26%,rgba(66,233,255,.12),transparent 25%),
    radial-gradient(circle at 84% 62%,rgba(180,92,255,.18),transparent 30%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.012) 0 1px,transparent 1px 72px);
}
.halloweenHeroSlide .homeHeroShade{
  background:
    linear-gradient(90deg,rgba(2,8,14,.96) 0%,rgba(2,8,14,.72) 44%,rgba(2,8,14,.06) 76%),
    linear-gradient(0deg,rgba(2,8,14,.88),transparent 60%);
}
.halloweenHeroSlide .homeEyebrow{color:#42e9ff}
.halloweenHeroSlide h1{
  color:#f4ecff;
  text-shadow:0 0 26px rgba(180,92,255,.22),0 4px 26px rgba(0,0,0,.86);
}
.halloweenPrimaryAction{
  color:#140716!important;
  border-color:#ff8a28!important;
  background:linear-gradient(135deg,#ffb247,#ff7f31 58%,#ff64cf)!important;
}
.halloweenHeroStrip{
  border-color:rgba(180,92,255,.30);
  background:rgba(13,8,23,.72);
}
.halloweenHeroStrip strong{color:#ffba6d}
.halloweenHeroStrip span{color:#d4b7f4}

.halloweenHeroCharacters{
  position:absolute;
  z-index:2;
  right:28px;
  top:44px;
  width:470px;
  height:370px;
}
.halloweenMascot{
  position:absolute;
  width:180px;
  height:180px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:26px;
  background-size:cover;
  background-position:center;
  box-shadow:0 22px 54px rgba(0,0,0,.50),0 0 26px rgba(66,233,255,.09);
}
.halloweenGhost{left:15px;top:34px;background-image:var(--ghostly-ghost-img);transform:rotate(-7deg)}
.halloweenEye{left:133px;top:127px;background-image:var(--ghostly-eye-img);transform:rotate(4deg)}
.halloweenCro{right:92px;top:5px;background-image:var(--ghostly-cro-img);transform:rotate(7deg)}
.halloweenGranny{right:0;bottom:5px;background-image:var(--ghostly-granny-img);transform:rotate(-5deg)}
.halloweenHeroCharacters::after{
  content:"";
  position:absolute;
  inset:auto 8% -10px;
  height:80px;
  background:radial-gradient(ellipse,rgba(180,92,255,.24),transparent 68%);
  filter:blur(20px);
}

@media(max-width:1050px){
  .bbeHeroVisual{
    right:26px;
    width:205px;
    min-height:205px;
  }
  .bbeHeroVisual strong{font-size:44px}
  .halloweenHeroCharacters{
    right:-38px;
    width:400px;
    transform:scale(.88);
    transform-origin:right center;
  }
}
@media(max-width:820px){
  .bbeHeroVisual{opacity:.38;right:-42px;top:32%;transform:translateY(-50%) scale(.88)}
  .halloweenHeroCharacters{
    opacity:.48;
    right:-92px;
    top:15px;
    transform:scale(.78);
  }
}
@media(max-width:620px){
  .bbeHeroVisual{
    width:160px;
    min-height:160px;
    right:-34px;
    top:102px;
    opacity:.42;
  }
  .bbeHeroVisual strong{font-size:34px}
  .bbeHeroVisual i{display:none}
  .bbeHeroStrip,
  .halloweenHeroStrip{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
  .bbeHeroStrip span,
  .halloweenHeroStrip span{text-align:left}
  .halloweenHeroCharacters{
    top:14px;
    right:-104px;
    transform:scale(.66);
    opacity:.54;
  }
}
