/* ============================================================
   RCKT Originals — Casino revamp layer
   Loaded AFTER style.css. One cohesive "vault at night" look for
   the lobby, every game stage, and the shared controls.
   Additive only: no markup, layout or sizing contracts change.
   ============================================================ */

:root{
  --vault-ink:#06080d;
  --vault-ink-2:#0a0e16;
  --vault-panel:#11161f;
  --vault-panel-2:#161c27;
  --vault-line:rgba(255,255,255,.085);
  --vault-line-2:rgba(255,255,255,.16);
  --vault-gold:#f5c542;
  --vault-gold-2:#ffe9a3;
  --vault-mint:#3ddc97;
  --vault-violet:#a855f7;
  --vault-ease:cubic-bezier(.22,1,.36,1);
}

body{
  background:
    radial-gradient(1100px 620px at 8% -12%, rgba(255,90,31,.13), transparent 60%),
    radial-gradient(900px 520px at 100% -4%, rgba(245,197,66,.10), transparent 58%),
    radial-gradient(780px 560px at 50% 116%, rgba(61,220,151,.09), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 46px),
    var(--vault-ink);
  background-attachment:fixed;
  color:var(--text);
}

/* ---------------- shell ---------------- */
.sidebar{
  background:linear-gradient(180deg, rgba(10,13,20,.96), rgba(6,8,12,.98));
  border-right:1px solid var(--vault-line);
  box-shadow:1px 0 0 rgba(255,255,255,.02), 18px 0 50px -30px rgba(0,0,0,.9);
}
.side-item{
  border-radius:12px;
  transition:background .18s var(--vault-ease), color .18s var(--vault-ease), box-shadow .18s var(--vault-ease);
}
.side-item:hover{ background:rgba(255,255,255,.05); }
.side-item.active{
  background:linear-gradient(150deg, rgba(245,197,66,.18), rgba(245,197,66,.04));
  color:var(--vault-gold-2);
  box-shadow:inset 0 0 0 1px rgba(245,197,66,.28);
}
.side-item.active::before{
  background:linear-gradient(180deg, var(--vault-gold), #ff9f1c);
  box-shadow:0 0 12px rgba(245,197,66,.65);
}

.console{
  background:linear-gradient(180deg, rgba(7,9,14,.92), rgba(7,9,14,.78));
  border-bottom:1px solid var(--vault-line);
  box-shadow:0 1px 0 rgba(255,255,255,.03), 0 18px 40px -28px rgba(0,0,0,.95);
  backdrop-filter:blur(18px) saturate(150%);
}
.logo em{ color:var(--vault-gold); text-shadow:0 0 14px rgba(245,197,66,.45); }

.readout{
  border-radius:12px;
  border:1px solid rgba(245,197,66,.24);
  background:
    linear-gradient(180deg, rgba(245,197,66,.10), rgba(245,197,66,.02)),
    var(--vault-panel);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.readout:hover, .readout:focus-within, .readout.expanded{
  border-color:rgba(245,197,66,.55);
  box-shadow:0 0 26px rgba(245,197,66,.18), inset 0 1px 0 rgba(255,255,255,.08);
}
.readout-label{ color:#9aa1b0; }
.readout-value{ color:var(--vault-gold-2); }
.readout-value.up{ color:var(--vault-mint); }
.readout-value.down{ color:var(--red); }
.readout-extra b{ color:var(--vault-mint); }

/* ---------------- buttons + chips ---------------- */
.btn{
  border-radius:10px;
  border-color:var(--vault-line);
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)), var(--vault-panel);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  transition:transform .15s var(--vault-ease), border-color .15s var(--vault-ease), box-shadow .15s var(--vault-ease);
}
.btn:hover{
  border-color:rgba(245,197,66,.45);
  box-shadow:0 10px 26px -14px rgba(0,0,0,.9), 0 0 18px -6px rgba(245,197,66,.35);
}
.btn-accent{
  background:linear-gradient(100deg, #ff5a1f, #ffb000 55%, #ff5a1f);
  background-size:200% auto;
  color:#1a0900;
  box-shadow:0 10px 28px -12px rgba(255,90,31,.65), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-accent:hover{
  box-shadow:0 14px 34px -12px rgba(255,144,40,.7), inset 0 1px 0 rgba(255,255,255,.4);
  filter:saturate(110%);
}
.chip{
  border-radius:999px;
  border-color:var(--vault-line);
  background:rgba(255,255,255,.025);
  color:#aab1bf;
}
.chip:hover{ border-color:rgba(255,255,255,.28); color:#fff; }
.chip.active{
  background:linear-gradient(135deg, var(--vault-gold-2), var(--vault-gold));
  color:#241a05;
  box-shadow:0 8px 20px -10px rgba(245,197,66,.75);
}

/* ---------------- hero ---------------- */
.lobby{ padding-top:32px; }
.hero{ gap:20px; margin-bottom:30px; }
.hero-copy{
  border-radius:24px;
  border:1px solid var(--vault-line);
  background:
    radial-gradient(120% 90% at 86% -18%, rgba(255,90,31,.24), transparent 58%),
    radial-gradient(90% 70% at 8% 120%, rgba(61,220,151,.10), transparent 60%),
    linear-gradient(158deg, #121721, #0a0d14 76%);
  box-shadow:0 34px 80px -46px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.05);
  padding:clamp(26px, 4vw, 44px);
}
.hero-copy::after{
  width:340px; height:340px; right:-120px; top:-140px;
  background:radial-gradient(circle, rgba(245,197,66,.24), transparent 68%);
  animation:vaultOrbit 14s ease-in-out infinite alternate;
}
@keyframes vaultOrbit{ to{ transform:translate(-18px, 22px) scale(1.08); } }
.hero-copy .eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 11px;
  border:1px solid rgba(245,197,66,.28);
  border-radius:999px;
  background:rgba(245,197,66,.07);
  color:var(--vault-gold-2);
  letter-spacing:1.4px;
  text-shadow:none;
}
.hero-copy .eyebrow::before{
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--vault-gold);
  box-shadow:0 0 10px var(--vault-gold);
}
.hero-copy h1{
  font-size:clamp(34px, 4.6vw, 58px);
  line-height:1.02;
  letter-spacing:-.035em;
  margin:18px 0 16px;
  background:linear-gradient(120deg, #ffffff 12%, #ffe9a3 52%, #ff9f5a 88%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-copy p{ max-width:520px; color:#a4abb9; font-size:15px; line-height:1.65; }

.hero-panel{
  border-radius:24px;
  border:1px solid var(--vault-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%),
    linear-gradient(160deg, #121722, #0a0d13);
  box-shadow:0 34px 80px -50px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.05);
  padding:clamp(20px, 3vw, 30px);
}
.stat{ border-bottom:1px solid var(--vault-line); }
.stat-num{
  font-size:clamp(26px, 3vw, 34px);
  letter-spacing:-.02em;
  color:#fff;
}
.stat:first-child .stat-num{ color:var(--vault-gold-2); }
.stat:last-child .stat-num{ color:var(--vault-mint); }
.stat-label{ color:#7f8797; letter-spacing:.5px; text-transform:uppercase; font-size:10px; }

/* ---------------- lobby grid ---------------- */
.grid-head h2{ font-size:28px; letter-spacing:-.03em; }
.game-grid{ grid-template-columns:repeat(auto-fill, minmax(236px, 1fr)); gap:20px; }
.game-card{
  border-radius:18px;
  border:1px solid var(--vault-line);
  background:linear-gradient(180deg, #121722, #0c1018);
  box-shadow:0 20px 44px -32px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.04);
  transition:transform .22s var(--vault-ease), border-color .22s var(--vault-ease), box-shadow .22s var(--vault-ease);
  isolation:isolate;
}
.game-card::after{
  content:'';
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(120deg, transparent 30%, rgba(255,255,255,.09) 48%, transparent 62%);
  opacity:0;
  transform:translateX(-40%);
  transition:opacity .25s var(--vault-ease), transform .6s var(--vault-ease);
}
.game-card:hover{
  transform:translateY(-5px);
  border-color:rgba(245,197,66,.42);
  box-shadow:0 28px 60px -34px rgba(0,0,0,1), 0 0 32px -12px rgba(245,197,66,.35);
}
.game-card:hover::after{ opacity:1; transform:translateX(30%); }
.game-thumb{ height:146px; }
.game-thumb::after{
  box-shadow:inset 0 -54px 44px -30px rgba(0,0,0,.75);
}
.game-info{ padding:15px 16px 17px; }
.game-tag{
  font-size:9px;
  letter-spacing:1.5px;
  color:#8a92a2;
}
.game-name{ font-size:17px; letter-spacing:-.015em; }
.game-card .badge{
  position:absolute;
  z-index:3;
  border-radius:999px;
  padding:4px 9px;
  font-family:var(--font-mono);
  letter-spacing:.8px;
  box-shadow:0 6px 16px -8px rgba(0,0,0,.9);
}
.game-card .fav-star{
  background:rgba(5,7,12,.62);
  backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.10);
}
.game-card .fav-star.active{ border-color:rgba(255,206,84,.45); }

/* ---------------- fresh games row ---------------- */
.fresh-section{
  position:relative;
  margin-bottom:32px;
  padding:18px 18px 20px;
  border-radius:22px;
  border:1px solid rgba(245,197,66,.18);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(245,197,66,.10), transparent 55%),
    linear-gradient(180deg,#10151e,#0a0d13);
  box-shadow:0 26px 60px -46px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.04);
}
.fresh-section.hidden{ display:none; }
.fresh-section .grid-head{ margin-bottom:14px; }
.fresh-kicker{
  display:block; font-family:var(--font-mono); font-size:9px;
  letter-spacing:.22em; color:var(--vault-gold); margin-bottom:4px;
}
.fresh-section h2{ font-size:23px; }
.fresh-note{
  font-family:var(--font-mono); font-size:10px; letter-spacing:.08em;
  color:#8b93a3; border:1px solid var(--vault-line);
  border-radius:999px; padding:5px 10px;
}
/* two classes so the fresh row outranks the base .game-grid mobile rule */
.game-grid.fresh-grid{ grid-template-columns:repeat(auto-fit, minmax(176px, 1fr)); gap:14px; }
.fresh-grid .game-thumb{ height:104px; }
.fresh-grid .thumb-icon{ font-size:36px; }
.fresh-grid .game-info{ padding:11px 13px 13px; }
.fresh-grid .game-name{ font-size:14.5px; }
.fresh-grid .game-tag{ font-size:8px; letter-spacing:1.1px; }
@media (max-width:560px){
  .fresh-section{ padding:14px; border-radius:18px; }
  .fresh-note{ display:none; }
  .game-grid.fresh-grid{ grid-template-columns:repeat(2, 1fr); gap:10px; }
  .game-grid.fresh-grid .game-thumb{ height:82px; }
  .game-grid.fresh-grid .thumb-icon{ font-size:28px; }
  .game-grid.fresh-grid .game-info{ padding:9px 10px 11px; }
  .game-grid.fresh-grid .game-name{ font-size:12.5px; }
  .game-grid.fresh-grid .game-tag{ font-size:6.5px; letter-spacing:.8px; }
  .game-grid.fresh-grid .fav-star{ width:24px; height:24px; font-size:13px; }
}

/* extra category tints for the new games */
.thumb-dice{background:linear-gradient(150deg,#1a1030,#4b2a8a 55%,#0d0719);}
.thumb-sport{background:linear-gradient(150deg,#062a1d,#0f7a4f 55%,#04160f);}
.thumb-pick{background:linear-gradient(150deg,#33230a,#b07a18 55%,#1c1305);}

/* ---------------- stage / games ---------------- */
.stage{ max-width:1060px; }
.stage-bar h2{ font-size:26px; letter-spacing:-.03em; }
.stage-tag{
  border-color:rgba(245,197,66,.24);
  color:var(--vault-gold-2);
  background:rgba(245,197,66,.06);
  letter-spacing:1.4px;
}
.stage-body{
  border-radius:24px;
  border:1px solid var(--vault-line);
  background:
    radial-gradient(100% 60% at 50% -10%, rgba(245,197,66,.07), transparent 60%),
    linear-gradient(180deg, #111621, #0a0d14);
  box-shadow:0 34px 80px -52px rgba(0,0,0,1), inset 0 1px 0 rgba(255,255,255,.04);
  padding:clamp(18px, 3vw, 30px);
}
.game-layout{ gap:20px; }
.controls{
  border-radius:16px;
  border:1px solid var(--vault-line);
  background:linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%), var(--vault-panel-2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.controls h4{
  font-family:var(--font-mono);
  letter-spacing:1.6px;
  color:#858d9d;
}
.input-prefix{
  border-radius:10px;
  border-color:var(--vault-line);
  background:#0a0e15;
  transition:border-color .15s var(--vault-ease), box-shadow .15s var(--vault-ease);
}
.input-prefix:focus-within{
  border-color:rgba(245,197,66,.5);
  box-shadow:0 0 0 3px rgba(245,197,66,.10);
}
.input-prefix span{ color:var(--vault-gold); }
.bet-quick button{
  border-radius:8px;
  border-color:var(--vault-line);
  background:#0b0f16;
  transition:border-color .15s var(--vault-ease), color .15s var(--vault-ease);
}
.bet-quick button:hover{ border-color:rgba(245,197,66,.5); color:#fff; }
.play-area{
  border-radius:18px;
  border:1px solid var(--vault-line);
  background:
    radial-gradient(circle at 50% -10%, rgba(245,197,66,.06), transparent 58%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 3px, transparent 3px 8px),
    #080b11;
  box-shadow:inset 0 2px 32px rgba(0,0,0,.55);
}
.result-banner{
  border-radius:999px;
  padding:10px 20px;
  font-size:14.5px;
  letter-spacing:.01em;
  backdrop-filter:blur(6px);
}
.result-banner.win{
  color:#c8ffe4;
  border-color:rgba(61,220,151,.45);
  background:linear-gradient(180deg, rgba(61,220,151,.18), rgba(61,220,151,.06));
  box-shadow:0 0 28px -10px rgba(61,220,151,.55);
}
.result-banner.lose{
  color:#ffc7cd;
  border-color:rgba(255,77,94,.4);
  background:linear-gradient(180deg, rgba(255,77,94,.16), rgba(255,77,94,.04));
}
.select-row button{
  border-radius:9px;
  border-color:var(--vault-line);
  background:#0b0f16;
}
.select-row button.active{
  background:linear-gradient(135deg, var(--vault-gold-2), var(--vault-gold));
  color:#241a05;
  box-shadow:0 8px 20px -12px rgba(245,197,66,.8);
}
.card{ border-radius:9px; box-shadow:0 10px 22px -10px rgba(0,0,0,.8); }
.card.back{ border-color:rgba(245,197,66,.65); }

/* ---------------- new game boards ---------------- */
.dt-arena{
  display:grid; grid-template-columns:1fr auto 1fr; gap:16px;
  align-items:center; width:100%; max-width:560px;
}
.dt-side{
  display:flex; flex-direction:column; align-items:center; gap:10px;
  padding:18px 12px;
  border:1px solid var(--vault-line);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), transparent 55%), #0b0f16;
  min-height:170px; justify-content:center;
}
.dt-side .dt-label{
  font-family:var(--font-mono); font-size:10px; letter-spacing:.18em;
  text-transform:uppercase; color:#8b93a3;
}
.dt-side .dt-card-slot{ display:flex; align-items:center; justify-content:center; min-height:96px; }
.dt-side.dragon{ box-shadow:inset 0 0 0 1px rgba(255,90,31,.22); }
.dt-side.tiger{ box-shadow:inset 0 0 0 1px rgba(61,220,151,.22); }
.dt-vs{
  font-family:var(--font-display); font-size:13px; letter-spacing:.2em;
  color:var(--vault-gold); padding:0 2px;
}
.dt-bets{ display:flex; gap:8px; flex-wrap:wrap; }
.dt-bets button{ flex:1; min-width:84px; }

.fpc-symbols{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:10px;
  width:100%; max-width:420px;
}
.fpc-pick{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  padding:12px 8px;
  border:1px solid var(--vault-line);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), transparent 60%), #0b0f16;
  color:var(--text-dim);
  cursor:pointer;
  font-family:var(--font-body);
  transition:transform .15s var(--vault-ease), border-color .15s var(--vault-ease), color .15s var(--vault-ease);
}
.fpc-pick span:first-child{ font-size:26px; line-height:1; }
.fpc-pick span:last-child{ font-size:10.5px; letter-spacing:.06em; }
.fpc-pick:hover{ transform:translateY(-2px); border-color:rgba(245,197,66,.4); color:#fff; }
.fpc-pick.active{
  border-color:rgba(245,197,66,.75);
  color:#fff;
  background:linear-gradient(180deg, rgba(245,197,66,.18), rgba(245,197,66,.03)), #0b0f16;
  box-shadow:0 0 24px -10px rgba(245,197,66,.7);
}
.fpc-dice{ display:flex; gap:14px; justify-content:center; }
.fpc-die{
  width:64px; height:64px; border-radius:14px;
  display:grid; place-items:center; font-size:30px;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(160deg, #1a2029, #0b0f16);
  box-shadow:0 12px 24px -14px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06);
}

.bingo-card{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:8px;
  width:100%; max-width:300px;
}
.bingo-cell{
  aspect-ratio:1/1;
  display:grid; place-items:center;
  border-radius:12px;
  border:1px solid var(--vault-line);
  background:linear-gradient(160deg, #161c26, #0b0f16);
  font-family:var(--font-mono);
  font-size:20px;
  color:#d6dbe5;
  transition:background .2s var(--vault-ease), color .2s var(--vault-ease), border-color .2s var(--vault-ease);
}
.bingo-cell.hit{
  background:linear-gradient(160deg, #ffdf8a, #f5c542);
  border-color:#ffe9a3;
  color:#241a05;
  box-shadow:0 0 22px -8px rgba(245,197,66,.9);
}
.bingo-cell.drawn:not(.hit){ border-color:rgba(255,255,255,.22); color:#8b93a3; }
.bingo-draw{
  display:flex; gap:8px; flex-wrap:wrap; justify-content:center; min-height:34px;
}
.bingo-ball{
  width:34px; height:34px; border-radius:50%;
  display:grid; place-items:center;
  font-family:var(--font-mono); font-size:12px; font-weight:700;
  border:1px solid rgba(255,255,255,.16);
  background:linear-gradient(160deg, #1b2230, #0c1119);
  color:#dfe4ed;
  animation:bingoPop .22s var(--vault-ease);
}
.bingo-ball.hot{
  background:linear-gradient(160deg, #ffe9a3, #f5c542);
  color:#241a05; border-color:#fff3c4;
}
@keyframes bingoPop{ from{ transform:scale(.6); opacity:0; } to{ transform:scale(1); opacity:1; } }

.penalty-goal{
  position:relative;
  width:100%; max-width:440px; aspect-ratio:16/9;
  border-radius:14px;
  border:2px solid rgba(255,255,255,.22);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 30px),
    linear-gradient(180deg, #0e3a24, #072416 70%);
  box-shadow:inset 0 -40px 60px -30px rgba(0,0,0,.8);
  overflow:hidden;
}
.penalty-goal::before{
  content:''; position:absolute; inset:10% 8% auto; height:56%;
  border:1px dashed rgba(255,255,255,.18); border-bottom:none;
  border-radius:4px;
}
.penalty-keeper{
  position:absolute; bottom:16%; font-size:34px;
  transition:left .4s var(--vault-ease);
  transform:translateX(-50%);
}
.penalty-ball{
  position:absolute; bottom:16%; left:50%; font-size:26px;
  transition:left .4s var(--vault-ease), bottom .4s var(--vault-ease);
  transform:translateX(-50%);
}
.penalty-zones{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:8px;
  width:100%; max-width:440px;
}
.penalty-zones button{
  padding:11px 8px; border-radius:10px;
  border:1px solid var(--vault-line);
  background:#0b0f16; color:var(--text-dim);
  font-family:var(--font-mono); font-size:11px; letter-spacing:.1em;
  cursor:pointer; transition:border-color .15s var(--vault-ease), color .15s var(--vault-ease);
}
.penalty-zones button:hover{ border-color:rgba(245,197,66,.5); color:#fff; }
.penalty-zones button.active{
  border-color:rgba(245,197,66,.75); color:#fff;
  background:linear-gradient(180deg, rgba(245,197,66,.18), rgba(245,197,66,.03));
}

.cash-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:10px;
  width:100%; max-width:360px;
}
.cash-case{
  aspect-ratio:1.15/1;
  border-radius:14px;
  border:1px solid var(--vault-line);
  background:linear-gradient(160deg, #171e29, #0a0e15);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  font-family:var(--font-mono); font-size:12px; color:#aab1bf;
  cursor:pointer;
  transition:transform .15s var(--vault-ease), border-color .15s var(--vault-ease), box-shadow .15s var(--vault-ease);
}
.cash-case .cc-ico{ font-size:24px; }
.cash-case:hover{ transform:translateY(-2px); border-color:rgba(245,197,66,.45); }
.cash-case.chosen{
  border-color:rgba(245,197,66,.8);
  box-shadow:0 0 26px -10px rgba(245,197,66,.8);
}
.cash-case.revealed{ color:#dfe4ed; }
.cash-case.win-case{ border-color:rgba(61,220,151,.55); color:#c8ffe4; }
.cash-case.lose-case{ opacity:.62; }

/* ---------------- money style skins ---------------- */
body[data-money-style="gold"] #balanceValue,
body[data-money-style="gold"] #adminBalanceValue,
body[data-money-style="gold"] .stat-num,
body[data-money-style="gold"] #drawPot,
body[data-money-style="gold"] #rakebackValue{
  background:linear-gradient(100deg, #ffe9a3, #f5c542 46%, #ffd76b);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 0 10px rgba(245,197,66,.25));
}
body[data-money-style="chips"] #balanceValue,
body[data-money-style="chips"] #adminBalanceValue,
body[data-money-style="chips"] .stat-num,
body[data-money-style="chips"] #drawPot,
body[data-money-style="chips"] #rakebackValue{
  color:#7dffc4;
  text-shadow:0 0 14px rgba(61,220,151,.35);
}
body[data-money-style="credits"] #balanceValue,
body[data-money-style="credits"] #adminBalanceValue,
body[data-money-style="credits"] .stat-num,
body[data-money-style="credits"] #drawPot,
body[data-money-style="credits"] #rakebackValue{
  color:#c9b5ff;
  text-shadow:0 0 16px rgba(168,85,247,.45);
}
body[data-money-style="crypto"] #balanceValue,
body[data-money-style="crypto"] #adminBalanceValue,
body[data-money-style="crypto"] .stat-num,
body[data-money-style="crypto"] #drawPot,
body[data-money-style="crypto"] #rakebackValue{
  color:#7ce8ff;
  text-shadow:0 0 16px rgba(0,240,255,.4);
}
body[data-money-style="tokens"] #balanceValue,
body[data-money-style="tokens"] #adminBalanceValue,
body[data-money-style="tokens"] .stat-num,
body[data-money-style="tokens"] #drawPot,
body[data-money-style="tokens"] #rakebackValue{
  background:linear-gradient(100deg, #fff, #7ce8ff 50%, #f5c542);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

.money-style-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(104px, 1fr)); gap:8px;
}
.money-style-chip{
  display:flex; flex-direction:column; gap:3px; align-items:flex-start;
  padding:9px 10px; border-radius:10px;
  border:1px solid var(--vault-line);
  background:#0b0f16;
  cursor:pointer;
  transition:border-color .15s var(--vault-ease), background .15s var(--vault-ease);
}
.money-style-chip:hover{ border-color:rgba(245,197,66,.45); }
.money-style-chip.active{
  border-color:rgba(245,197,66,.7);
  background:linear-gradient(180deg, rgba(245,197,66,.14), rgba(245,197,66,.02));
}
.money-style-chip b{ font-size:11.5px; color:#e8ebf2; font-weight:650; }
.money-style-chip span{ font-family:var(--font-mono); font-size:11px; color:var(--vault-gold-2); }

/* ---------------- modal polish ---------------- */
.modal{ border-radius:20px; border-color:var(--vault-line); box-shadow:0 40px 100px -50px rgba(0,0,0,1); }
.admin-card{ border-radius:14px; border-color:var(--vault-line); background:linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%), var(--vault-panel); }

/* ---------------- mini-pass tier rows ---------------- */
.bp-tier-list{ display:flex; flex-direction:column; gap:2px; margin-top:8px; }
.bp-tier-row{
  display:grid; grid-template-columns:42px minmax(0,1fr) 38px;
  gap:8px; align-items:center;
  padding:5px 7px; border-radius:7px;
  font-size:12px; line-height:1.35;
}
.bp-tier-row:nth-child(odd){ background:rgba(255,255,255,.025); }
.bp-tier-row.locked{ opacity:.58; }
.bp-tier-row>span:first-child{ color:#9aa4b2; font-family:ui-monospace,monospace; font-size:10.5px; }
.bp-tier-row>span:nth-child(2){ min-width:0; overflow-wrap:anywhere; }
.bp-tier-row>span:last-child{ text-align:right; }
.bp-tier-row .chip{ white-space:nowrap; }
.bp-header h4{ overflow-wrap:anywhere; }

/* ---------------- jam track listen links ---------------- */
.jam-track-row{ grid-template-columns:34px minmax(0,1fr) auto; }
.jam-listen{
  justify-self:end; align-self:center;
  display:inline-flex; align-items:center; justify-content:center; gap:4px;
  min-height:34px; padding:6px 9px; border-radius:999px;
  border:1px solid var(--vault-line-2);
  background:rgba(255,255,255,.03);
  color:var(--vault-gold-2);
  font-family:var(--font-mono);
  font-size:11px; font-weight:700; letter-spacing:.03em;
  text-decoration:none; white-space:nowrap;
  transition:border-color .15s var(--vault-ease), background .15s var(--vault-ease), color .15s var(--vault-ease);
}
.jam-listen:hover{ border-color:rgba(245,197,66,.6); background:rgba(245,197,66,.1); color:#fff; }
.jam-listen:focus-visible{ outline:2px solid var(--vault-gold); outline-offset:2px; }
.jam-listen span{ font-size:12px; }

/* ---------------- responsive ---------------- */
@media (max-width:900px){
  .hero{ grid-template-columns:1fr; }
  .hero-panel{ flex-direction:row; flex-wrap:wrap; }
  .hero-panel .stat{ flex:1 1 140px; border-bottom:none; }
}
@media (max-width:560px){
  .game-grid{ grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); gap:12px; }
  .game-thumb{ height:112px; }
  .game-name{ font-size:15px; }
  .dt-arena{ grid-template-columns:1fr; }
  .dt-vs{ text-align:center; }
}

@media (prefers-reduced-motion: reduce){
  .hero-copy::after{ animation:none; }
  .game-card, .game-card::after, .fpc-pick, .cash-case, .penalty-keeper, .penalty-ball{ transition:none !important; }
}


/* ============================================================
   PASS REVAMP — Battle Pass command center + Mini Pass vault
   ============================================================ */
.bp-kicker{
  display:block; font-family:var(--font-mono); font-size:10px; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:var(--vault-gold);
}

/* ---- Battle Pass command center ---- */
.bp-command{
  position:relative; overflow:hidden; isolation:isolate;
  display:grid; grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr); gap:18px;
  padding:24px; margin:0 0 16px;
  border:1px solid var(--vault-line); border-radius:20px;
  background:
    radial-gradient(640px 280px at 0% 0%, rgba(245,197,66,.18), transparent 62%),
    radial-gradient(520px 260px at 100% 110%, rgba(168,85,247,.18), transparent 64%),
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012)),
    var(--vault-panel);
  box-shadow:0 28px 70px -46px rgba(0,0,0,1), inset 0 1px 0 rgba(255,255,255,.06);
}
.bp-command::before{
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size:44px 44px; mask-image:linear-gradient(180deg, rgba(0,0,0,.8), transparent 78%);
}
.bp-command-copy{ display:flex; flex-direction:column; align-items:flex-start; justify-content:center; min-width:0; }
.bp-command h1{
  margin:7px 0 8px; font-family:var(--font-display); font-weight:800;
  font-size:clamp(28px,4vw,44px); line-height:1.03; letter-spacing:-.02em;
}
.bp-command h1 em{ color:var(--vault-gold); font-style:normal; text-shadow:0 0 28px rgba(245,197,66,.25); }
.bp-command-copy > p{ max-width:620px; margin:0; color:#aab1bf; font-size:13px; line-height:1.55; }
.bp-command-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.bp-chip-stat{
  display:inline-flex; align-items:baseline; gap:5px; padding:7px 10px;
  border:1px solid var(--vault-line); border-radius:999px;
  background:rgba(255,255,255,.035); color:#aab1bf;
  font-family:var(--font-mono); font-size:10px; letter-spacing:.03em;
}
.bp-chip-stat b{ color:#fff; font-size:12px; }
.bp-chip-stat.hot{ border-color:rgba(245,197,66,.45); background:rgba(245,197,66,.1); color:var(--vault-gold-2); }

.bp-command-og{
  display:flex; flex-direction:column; justify-content:center; gap:9px;
  padding:17px; border:1px solid rgba(245,197,66,.28); border-radius:16px;
  background:
    radial-gradient(240px 160px at 100% 0%, rgba(245,197,66,.16), transparent 65%),
    linear-gradient(150deg, rgba(245,197,66,.08), rgba(168,85,247,.07)),
    rgba(6,9,15,.72);
}
.bp-og-lockup{ display:flex; align-items:center; gap:11px; }
.bp-og-emoji{ font-size:30px; filter:drop-shadow(0 0 14px rgba(245,197,66,.35)); }
.bp-og-lockup b{ display:block; font-family:var(--font-display); font-size:16px; letter-spacing:.01em; }
.bp-og-lockup small{ display:block; margin-top:2px; color:var(--vault-gold-2); font-family:var(--font-mono); font-size:10px; }
.bp-command-og p{ margin:0; color:#9aa4b2; font-size:11.5px; line-height:1.45; }
.bp-command-og .btn{ align-self:flex-start; margin-top:2px; }

/* ---- Pass switcher cards ---- */
.bp-pass-switcher{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.bp-switch-card{
  --tone:var(--vault-gold);
  position:relative; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center;
  padding:14px; border:1px solid var(--vault-line); border-radius:15px;
  background:linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), var(--vault-panel);
  color:var(--text); text-align:left; cursor:pointer; font-family:var(--font-body);
  transition:border-color .15s var(--vault-ease), background .15s var(--vault-ease), transform .15s var(--vault-ease), box-shadow .15s var(--vault-ease);
}
.bp-switch-card.tone-violet{ --tone:#a855f7; }
.bp-switch-card.tone-cyan{ --tone:#3ddcff; }
.bp-switch-card:hover{ transform:translateY(-2px); border-color:color-mix(in srgb, var(--tone) 45%, transparent); }
.bp-switch-card.active{
  border-color:color-mix(in srgb, var(--tone) 55%, transparent);
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--tone) 16%, transparent), rgba(255,255,255,.012)),
    var(--vault-panel);
  box-shadow:0 0 0 1px color-mix(in srgb, var(--tone) 18%, transparent), 0 18px 34px -28px color-mix(in srgb, var(--tone) 65%, transparent);
}
.bp-switch-icon{
  display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px;
  border-radius:11px; border:1px solid color-mix(in srgb, var(--tone) 26%, transparent);
  background:color-mix(in srgb, var(--tone) 10%, transparent); font-size:18px;
}
.bp-switch-meta{ min-width:0; }
.bp-switch-meta b{ display:block; font-size:12.5px; font-weight:700; color:#eef1f6; }
.bp-switch-meta small{ display:block; margin-top:2px; color:#8e97a6; font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bp-switch-tier{ color:#fff; font-family:var(--font-mono); font-size:12px; white-space:nowrap; }
.bp-switch-tier em{ color:#7f8897; font-style:normal; font-size:10px; }
.bp-switch-bar{ grid-column:1 / -1; height:3px; overflow:hidden; border-radius:999px; background:rgba(255,255,255,.075); }
.bp-switch-bar i{ display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--tone),color-mix(in srgb, var(--tone) 45%, #fff)); transition:width .3s var(--vault-ease); }

/* ---- Battle Pass track panel ---- */
.bp-track-body{ margin-top:4px; }
#battlePassPage .bp-header{
  padding:18px; margin:0 0 12px; border:1px solid var(--vault-line); border-radius:16px;
  background:linear-gradient(160deg, rgba(255,255,255,.04), transparent 55%), var(--vault-panel);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
#battlePassPage .bp-header h4{ margin:0 0 5px; font-family:var(--font-display); font-size:22px; letter-spacing:.01em; }
#battlePassPage .bp-header > p{ margin:4px 0; }
#battlePassPage .bp-progress{ height:10px; margin:12px 0; background:rgba(255,255,255,.065); }
#battlePassPage .bp-progress-fill{ background:linear-gradient(90deg,#f5c542,#ff8a00 55%,#a855f7); box-shadow:0 0 18px rgba(245,197,66,.3); }
#battlePassPage .bp-header-actions{ gap:7px; margin-top:11px; }
#battlePassPage .bp-table{
  max-height:62vh; overflow:auto; padding:5px; border:1px solid var(--vault-line); border-radius:15px;
  background:rgba(5,8,13,.55);
}
#battlePassPage .bp-row{ grid-template-columns:64px minmax(0,1fr) minmax(0,1fr); gap:10px; padding:8px 10px; border-bottom:1px solid rgba(255,255,255,.045); }
#battlePassPage .bp-row:last-child{ border-bottom:none; }
#battlePassPage .bp-row.unlocked{ background:linear-gradient(90deg, rgba(245,197,66,.075), rgba(245,197,66,.018)); }
#battlePassPage .bp-row:not(.bp-row-head):hover{ background:rgba(255,255,255,.045); }
#battlePassPage .bp-row-head{
  position:sticky; top:0; z-index:2; border-bottom:1px solid var(--vault-line-2);
  background:#0c1119; font-family:var(--font-mono); letter-spacing:.08em;
}
#battlePassPage .bp-reward{ font-size:12.5px; gap:7px; }
#battlePassPage .btn-xs{ padding:5px 9px; font-size:10.5px; }

/* ---- Mini Pass vault ---- */
.bp-mini-hero{
  display:grid; grid-template-columns:minmax(0,1.4fr) minmax(280px,.75fr); gap:16px;
  padding:22px; margin:0 0 14px; border:1px solid var(--vault-line); border-radius:20px;
  background:
    radial-gradient(560px 260px at 0% 0%, rgba(61,220,255,.1), transparent 65%),
    radial-gradient(480px 260px at 100% 110%, rgba(245,197,66,.13), transparent 65%),
    linear-gradient(150deg, rgba(255,255,255,.05), rgba(255,255,255,.012)),
    var(--vault-panel);
  box-shadow:0 26px 62px -46px rgba(0,0,0,1);
}
.bp-mini-hero-copy{ display:flex; flex-direction:column; justify-content:center; min-width:0; }
.bp-mini-hero h3{ margin:7px 0 8px; font-family:var(--font-display); font-size:clamp(25px,3.4vw,38px); line-height:1.05; letter-spacing:-.02em; }
.bp-mini-hero h3 em{ color:var(--vault-gold); font-style:normal; }
.bp-mini-hero-copy > p{ max-width:680px; margin:0; color:#aab1bf; font-size:12.5px; line-height:1.55; }
.bp-mini-metrics{ display:flex; flex-wrap:wrap; gap:16px; margin-top:16px; }
.bp-mini-metrics span{ color:#8f98a7; font-family:var(--font-mono); font-size:10px; letter-spacing:.04em; }
.bp-mini-metrics b{ color:#fff; font-size:15px; margin-right:3px; }
.bp-mini-metrics span.hot b{ color:var(--vault-gold-2); }
.bp-og-teaser{
  display:flex; flex-direction:column; justify-content:center; gap:8px;
  padding:17px; border:1px solid rgba(245,197,66,.3); border-radius:16px;
  background:
    radial-gradient(260px 170px at 100% 0%, rgba(245,197,66,.19), transparent 64%),
    linear-gradient(150deg, rgba(245,197,66,.09), rgba(168,85,247,.08)),
    rgba(6,9,15,.7);
}
.bp-og-teaser-head{ display:flex; align-items:center; gap:10px; }
.bp-og-teaser-head b{ display:block; font-family:var(--font-display); font-size:16px; }
.bp-og-teaser-head small{ display:block; margin-top:2px; color:var(--vault-gold-2); font-family:var(--font-mono); font-size:10px; }
.bp-og-teaser p{ margin:0; color:#9aa4b2; font-size:11.5px; line-height:1.45; }
.bp-og-teaser-meta{ color:#77818f; font-family:var(--font-mono); font-size:9.5px; letter-spacing:.04em; }
.bp-og-teaser .btn{ align-self:flex-start; margin-top:2px; }

.bp-filter-bar{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0 0 12px; }
.bp-filter-label{ margin-right:2px; color:#75808f; font-family:var(--font-mono); font-size:9.5px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.bp-filter-chip{
  display:inline-flex; align-items:center; gap:6px; padding:6px 9px;
  border:1px solid var(--vault-line); border-radius:999px;
  background:rgba(255,255,255,.025); color:#9aa4b2; cursor:pointer;
  font-family:var(--font-mono); font-size:10px; font-weight:700; letter-spacing:.02em;
  transition:border-color .15s var(--vault-ease), background .15s var(--vault-ease), color .15s var(--vault-ease);
}
.bp-filter-chip span{ color:#697382; font-size:9px; }
.bp-filter-chip:hover{ border-color:var(--vault-line-2); color:#fff; }
.bp-filter-chip.active{ border-color:rgba(245,197,66,.55); background:rgba(245,197,66,.11); color:var(--vault-gold-2); }
.bp-filter-chip.active span{ color:var(--vault-gold); }

.bp-mini-list{ display:flex; flex-direction:column; gap:9px; }
.bp-mini-card{
  position:relative; overflow:hidden; padding:15px 16px; scroll-margin-top:96px;
  border:1px solid var(--vault-line); border-radius:15px;
  background:linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.008)), rgba(8,12,18,.7);
  transition:border-color .15s var(--vault-ease), transform .15s var(--vault-ease), box-shadow .15s var(--vault-ease);
}
.bp-mini-card:hover{ border-color:var(--vault-line-2); transform:translateY(-1px); box-shadow:0 18px 32px -28px rgba(0,0,0,.95); }
.bp-mini-card.is-ended{ opacity:.62; }
.bp-mini-card.is-ended:hover{ transform:none; box-shadow:none; }
.bp-mini-card.is-upcoming{ background:linear-gradient(160deg, rgba(245,197,66,.045), rgba(255,255,255,.008)), rgba(8,12,18,.7); }
.bp-mini-card.featured{
  border-color:rgba(245,197,66,.42);
  background:
    radial-gradient(420px 190px at 100% 0%, rgba(245,197,66,.12), transparent 62%),
    linear-gradient(150deg, rgba(245,197,66,.07), rgba(168,85,247,.06)),
    rgba(8,12,18,.8);
  box-shadow:0 18px 42px -32px rgba(245,197,66,.45);
}
.bp-mini-ribbon{
  position:absolute; top:0; right:16px; padding:4px 8px 3px;
  border-radius:0 0 7px 7px; background:linear-gradient(100deg,#ffe9a3,#f5c542);
  color:#231802; font-family:var(--font-mono); font-size:8.5px; font-weight:800; letter-spacing:.1em;
}
.bp-mini-card.featured .bp-mini-card-head{ padding-right:74px; }
.bp-mini-card-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.bp-mini-ident{ display:flex; align-items:flex-start; gap:10px; min-width:0; }
.bp-mini-emoji{ font-size:25px; line-height:1; filter:drop-shadow(0 4px 12px rgba(0,0,0,.5)); }
.bp-mini-ident h4{ margin:0; font-family:var(--font-display); font-size:17px; line-height:1.12; overflow-wrap:anywhere; }
.bp-mini-tags{ display:flex; flex-wrap:wrap; gap:4px; margin-top:5px; }
.bp-mini-tags .chip{ font-size:9px; padding:2px 7px; }
.bp-status{ display:inline-flex; align-items:center; padding:2px 7px; border-radius:999px; font-family:var(--font-mono); font-size:8.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; border:1px solid var(--vault-line); }
.bp-status.active{ color:#8dffc2; border-color:rgba(61,220,151,.35); background:rgba(61,220,151,.09); }
.bp-status.upcoming{ color:var(--vault-gold-2); border-color:rgba(245,197,66,.35); background:rgba(245,197,66,.08); }
.bp-status.ended{ color:#9aa4b2; border-color:var(--vault-line); background:rgba(255,255,255,.03); }
.bp-status.early{ color:#d5b8ff; border-color:rgba(168,85,247,.35); background:rgba(168,85,247,.1); }
.bp-mini-count{ flex-shrink:0; color:#fff; font-family:var(--font-mono); font-size:13px; font-weight:700; }
.bp-mini-count small{ color:#7d8796; font-size:9.5px; font-weight:400; }
.bp-mini-dates{ margin:8px 0 0; color:#7f8998; font-family:var(--font-mono); font-size:9.5px; line-height:1.45; }
.bp-mini-progress{ display:flex; align-items:center; gap:10px; margin-top:10px; }
.bp-mini-progress .bp-progress{ flex:1; margin:0; height:5px; }
.bp-mini-progress > span{ flex-shrink:0; color:#9aa4b2; font-family:var(--font-mono); font-size:9px; }
.bp-mini-summary{ margin-top:9px; color:#aab1bf; font-size:11px; line-height:1.4; }
.bp-mini-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:11px; }
.bp-mini-actions .btn{ padding:6px 10px; font-size:10.5px; }
.bp-view-tiers{
  margin-left:auto; display:inline-flex; align-items:center; gap:7px;
  padding:5px 8px; border:1px solid transparent; border-radius:8px;
  background:transparent; color:#8f99a8; cursor:pointer;
  font-family:var(--font-mono); font-size:9.5px; font-weight:700; letter-spacing:.02em;
}
.bp-view-tiers:hover{ color:var(--vault-gold-2); border-color:var(--vault-line); background:rgba(255,255,255,.03); }
.bp-view-tiers span{ color:var(--vault-gold); font-size:12px; }
.bp-mini-tiers{ margin-top:10px; max-height:44vh; overflow-y:auto; padding-top:8px; border-top:1px solid var(--vault-line); }
.bp-empty-filter{ padding:24px; border:1px dashed var(--vault-line); border-radius:14px; color:#8f99a8; text-align:center; font-size:12px; }

@media (max-width:900px){
  .bp-command, .bp-mini-hero{ grid-template-columns:1fr; }
  .bp-pass-switcher{ grid-template-columns:1fr; }
  .bp-command-og, .bp-og-teaser{ justify-content:flex-start; }
}
@media (max-width:560px){
  .bp-command, .bp-mini-hero{ padding:16px; border-radius:16px; }
  .bp-command h1{ font-size:30px; }
  .bp-mini-hero h3{ font-size:27px; }
  .bp-command-chips, .bp-mini-metrics{ gap:7px 12px; }
  .bp-mini-card{ padding:13px; }
  .bp-mini-card-head{ gap:8px; }
  .bp-mini-ident h4{ font-size:15px; }
  .bp-mini-count{ font-size:12px; }
  .bp-mini-actions .btn{ flex:1 1 auto; }
  .bp-view-tiers{ margin-left:0; }
  .bp-filter-chip{ padding:5px 8px; font-size:9.5px; }
  #battlePassPage .bp-row{ grid-template-columns:46px minmax(0,1fr) minmax(0,1fr); padding:7px; gap:6px; }
}


/* Archived seasonal event kept below the vault, collapsed by default. */
.bp-advent-fold{
  margin-top:18px; padding:0 14px;
  border:1px solid var(--vault-line); border-radius:14px;
  background:rgba(255,255,255,.018);
}
.bp-advent-fold summary{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 0; cursor:pointer; list-style:none;
  font-family:var(--font-display); font-size:15px; letter-spacing:.01em;
}
.bp-advent-fold summary::-webkit-details-marker{ display:none; }
.bp-advent-fold summary span{
  color:#77818f; font-family:var(--font-mono); font-size:8.5px; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase;
}
.bp-advent-fold[open]{ padding-bottom:14px; }
.bp-advent-fold > p{ margin:0 0 10px; }
