/* Tilt neon theme for the original pages (games, the floor, profile): the home page's look on their own layout.
   Glass black surfaces, neon mint as the lit tube (what you press), mint for figures you read,
   wide caps (Unbounded) for labels and headings, pills and circles for controls. Remaps brand/tokens.css, so it is
   linked last on each page. The amber T lamp stays amber. */
@font-face{font-family:"Unbounded";src:url("/assets/fonts/unbounded-800.woff2") format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:"Unbounded";src:url("/assets/fonts/unbounded-700.woff2") format("woff2");font-weight:500 700;font-display:swap}

:root{
  --stage:#030304; --bg:#050507; --bg-glow:#0d0d12;
  --panel:#0b0b0f; --panel-raised:#111116; --panel-hover:#1a1a21; --input:#08080b;
  --line:#1f1f28; --line-strong:#30303c;
  --text:#ffffff; --muted:#bdc1d8; --subtle:#a3a7c2; --dim:#5d6080;
  /* gold → mint and neon mint */
  --gold:#8dfbe0; --gold-bright:#d6fff4; --gold-hover:#5ff7d2; --gold-deep:#12b892; --on-gold:#06071a;
  /* teal (the main action) → neon mint */
  --teal:#22f2c2; --teal-deep:#12b892; --on-teal:#03130e;
  --green:#13ec13;
  --glow-gold:rgba(34,242,194,.4); --glow-teal:rgba(34,242,194,.3);
  --wash-gold:rgba(34,242,194,.09); --sheen:rgba(255,255,255,.05); --scrim:rgba(0,0,0,.66);
  --shadow-card:inset 0 1px 0 rgba(255,255,255,.08),inset 0 -1px 0 rgba(0,0,0,.6),0 24px 60px rgba(0,0,0,.6);
  --shadow-lift:inset 0 1px 0 rgba(255,255,255,.1),0 32px 80px rgba(0,0,0,.7);
  --shadow-glow-gold:0 0 22px rgba(34,242,194,.55),inset 0 1px 0 rgba(255,255,255,.3);
  --shadow-glow-teal:0 0 0 4px rgba(34,242,194,.22);
  --foil:linear-gradient(135deg,#d6fff4 0%,#5ff7d2 45%,#22f2c2 100%);
  --font-display:"Unbounded","Arial Black",system-ui,sans-serif;
  --radius-sm:12px; --radius-md:16px; --radius-lg:24px;
  /* glass black: lacquer with a soft top reflection */
  --glass:linear-gradient(180deg,rgba(255,255,255,.06) 0%,rgba(255,255,255,.012) 24%,rgba(255,255,255,0) 50%),linear-gradient(180deg,#121217,#07070a);
}
html,body{background:var(--bg)!important}
body{background-image:linear-gradient(180deg,rgba(255,255,255,.03),transparent 420px)!important}

/* panels: black glass */
.card,.side,.fair,.stat,.controls .cell,.cv2 .c-stake,.cv2 .c-odds,.cv2 .c-pays,.lobby .t,.f-card,.pf-card{
  background:var(--glass)!important;border-color:rgba(255,255,255,.09)!important;box-shadow:var(--shadow-card)}

/* labels and headings in wide caps */
h1,h2,h3,.display-1,.display-2,.display-hero,.title{font-family:var(--font-display)!important;letter-spacing:.01em}
.label,.eyebrow,.ph-chip,.chip,.k,.tab,.tabs button,.seg button,.pill,.play-mode .tag,.phase span,.phase li{
  font-family:var(--font-display)!important;text-transform:uppercase;letter-spacing:.06em}

/* buttons: pills; the main action is a lit electric-blue tube */
.ph-btn,a.btn,.presets button,.stepper button{border-radius:999px}
.ph-btn,.btn-primary,#rollBtn,#betBtn,#buyOk,#flipGo,.cta{
  background:#22f2c2!important;color:#03130e!important;border-color:transparent!important;
  box-shadow:inset 0 0 0 1px rgba(160,255,230,.55),0 0 22px rgba(34,242,194,.5),0 10px 30px -10px rgba(34,242,194,.8)!important}
@media(hover:hover){.ph-btn:not(:disabled):hover,#rollBtn:not(:disabled):hover,#betBtn:not(:disabled):hover{box-shadow:inset 0 0 0 1px rgba(200,255,240,.8),0 0 34px rgba(34,242,194,.8)!important}}
/* round icon buttons get a white ring */
#muteBtn{border-radius:50%!important;border:2px solid #fff!important;background:transparent!important;color:#fff!important}


/* the game stage: deep black glass under the scene */
.stage{background:#030304!important}
/* Cash out: same shape as Bet (each page's own button radius). A quiet green outline until it's live, then solid
   green lit the way Bet is: a fine inner ring and a soft glow, not a neon tube */
#cashBtn{background:transparent!important;border:1px solid rgba(74,222,128,.42)!important;color:#bdf5cf!important;box-shadow:none!important}
#cashBtn:not(:disabled){background:#4ade80!important;color:#04140a!important;border-color:transparent!important;
  box-shadow:inset 0 0 0 1px rgba(200,255,220,.55),0 0 18px rgba(74,222,128,.38),0 10px 28px -12px rgba(74,222,128,.7)!important}
#cashBtn:not(:disabled):hover{box-shadow:inset 0 0 0 1px rgba(220,255,232,.8),0 0 26px rgba(74,222,128,.55)!important}
#rollBtn.stop{background:transparent!important;color:#fff!important;box-shadow:inset 0 0 0 2px #fff!important}

/* leftovers from the old teal, hardcoded in the pages: re-lit in the neon theme */
.livebtn{border:2px solid #fff!important;background:transparent!important;color:#fff!important;font-family:var(--font-display)!important;
  font-size:11px!important;font-weight:600!important;letter-spacing:.06em;text-transform:uppercase;height:38px!important;padding:0 16px!important}
.livebtn:hover{background:#fff!important;color:#06071a!important}
.livebtn:focus-visible{outline:2px solid #22f2c2!important}
.cv2 .dirseg button.on,.pre label:has(input:checked),.cv2 .fasttog[aria-pressed="true"]{background:#22f2c2!important;color:#03130e!important;border-color:transparent!important;box-shadow:0 0 16px rgba(34,242,194,.5)!important}
/* Fast on: the bright mint pill carries dark text and icon, so "Fast" and "On" stay readable (white glowed into the mint) */
.cv2 .fasttog[aria-pressed="true"] :is(.t,.q,svg){color:#03130e!important;filter:none!important;text-shadow:none!important}
.fairbtn:hover,.cv2 .refill:hover,.verify:hover,.btnwrap .faucet:hover{background:rgba(34,242,194,.14)!important;border-color:rgba(34,242,194,.6)!important}
.verify{border-color:rgba(34,242,194,.5)!important;background:rgba(34,242,194,.1)!important;color:#d6fff4!important}
.queued,#betBtn.queued:disabled{background:rgba(34,242,194,.18)!important;color:#d6fff4!important;box-shadow:inset 0 0 0 1px rgba(34,242,194,.6)!important}
.seat.turn .plate{box-shadow:0 0 0 2px #22f2c2,0 0 18px rgba(34,242,194,.55)!important}

/* ---------- the game pages' sidebar (brand/rail.js) and phone tab bar, in the home theme ---------- */
.trail{background:rgba(8,8,11,.86)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:24px!important;
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)!important;box-shadow:0 24px 60px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.06)!important}
.trail .tl-h{font:500 10px/1 var(--font-display)!important;letter-spacing:.14em!important;text-transform:uppercase;color:var(--muted)!important}
.trail .tl-x{border-radius:50%!important;border:2px solid rgba(255,255,255,.85)!important;background:transparent!important;color:#fff!important}
.trail .tl-x:hover{background:#fff!important;color:#06071a!important}
.trail a{border-radius:999px!important}
.trail a:hover{background:rgba(255,255,255,.06)!important}
.trail a:focus-visible,.tbar a:focus-visible{outline-color:#22f2c2!important}
.trail .g .ic{border-radius:50%!important;background:radial-gradient(circle at 50% 35%,rgba(var(--c),.2),rgba(0,0,0,.4) 70%),#0b0b0f!important}
.trail .g b{font:700 12px/1.2 var(--font-display)!important;letter-spacing:.04em;text-transform:uppercase}
.trail .g small{font-size:11px!important}
/* the page you're on: a white pill with dark text, like the home sidebar */
.trail .g[aria-current],.trail .l[aria-current]{background:#fff!important;box-shadow:none!important;color:#06071a!important}
.trail .g[aria-current] b,.trail .g[aria-current] small,.trail .l[aria-current] span{color:#06071a!important}
.trail .g[aria-current]::before{display:none!important}
.trail .g[aria-current] .ic{box-shadow:0 0 0 2px rgba(var(--c),.9)!important}
.trail .sep{background:rgba(255,255,255,.08)!important}
.trail .l{font:600 11px/1 var(--font-display)!important;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)!important}
.trail .l:hover{color:#fff!important}
.trail .ft b{color:#13ec13!important;font-family:var(--font-display)!important;font-size:10px!important}
.tbar{background:rgba(6,6,9,.96)!important;border-top:1px solid rgba(255,255,255,.08)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.tbar a{font-family:var(--font-display)!important;font-size:9px!important;letter-spacing:.06em;text-transform:uppercase}
.tbar a[aria-current]{color:#fff!important}
.tbar a[aria-current] .ic{border-radius:50%!important;background:rgba(255,255,255,.08)!important;box-shadow:0 0 0 2px #fff,0 0 14px rgba(34,242,194,.5)!important}
/* no "live" status dots in the game sidebar either */
.trail .ft b::before{display:none!important}

/* phones: the tab bar's labels in a narrower face so five games fit side by side */
.tbar a{font-family:var(--font-sans)!important;font-size:10.5px!important;font-weight:600;letter-spacing:0!important;text-transform:none!important}
/* phones: every small control is at least 40px tall, so it's easy to hit with a thumb */
@media (max-width:760px){
  .presets button,.stepper button,.seg button,.dirseg button,.chips button,.qchips button,.tabs button,.filters button,.seg a,
  .refill,.navlink,.sw,.ph-btn--sm,.chipbtn,.ph-btn--ghost,.ph-btn--gold,.livebtn,.pm-wallet a,.trail .l,#stakeDn,#stakeUp{
    min-height:40px!important;display:inline-flex;align-items:center;justify-content:center}
}
@media (max-width:760px){
  .stepper button,#stakeDn,#stakeUp{min-width:40px!important}
  .ph-logo{min-height:40px;display:inline-flex!important;align-items:center}
}
/* phones and tablets: the live table's player list scrolls inside its card instead of running into the footer */
@media (max-width:980px){
  .card.lobby{overflow:hidden}
  .card.lobby .players{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
}

/* ---------- touch screens (phones and tablets): every control is at least 44px, the size of a fingertip ---------- */
@media (pointer:coarse){
  .presets button,.stepper button,.seg button,.dirseg button,.chips button,.qchips button,.tabs button,.filters button,.seg a,
  .refill,.navlink,.floorlink,.sw,.ph-btn,.chipbtn,.livebtn,.pm-wallet a,.trail .l,.trail .tl-x,#stakeDn,#stakeUp,.autotog,.fasttog,
  .play-mode a,.foot a,.ftr a{min-height:44px!important;min-width:44px;display:inline-flex;align-items:center;justify-content:center}
  .presets,.chips,.qchips{gap:6px}
  /* the live table's list never runs into what follows it */
  .card.lobby{overflow:hidden}
  .card.lobby .players{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
  /* inputs at 16px, so iPhone doesn't zoom the page when you tap one */
  input,select,textarea{font-size:16px!important}
}
/* phones: a card header holding control groups wraps them onto their own lines instead of squeezing them into one grid row */
@media (max-width:760px){.hd:has(> .ctrls){display:flex!important;flex-wrap:wrap;gap:8px;align-items:center}}
/* when the game tab bar is showing, the page ends above it, so nothing (like the action buttons) hides behind it */
html.tbar-on body{padding-bottom:calc(var(--tbar-h, 64px) + env(safe-area-inset-bottom, 0px) + 12px)!important}

/* ---------- the game coach (brand/neon/coach.js): what to do next, the result, the session total ---------- */
.coach{display:flex;align-items:center;gap:10px;min-height:48px;margin:0 0 10px;padding:10px 14px;border-radius:14px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);font:500 14px/1.35 var(--font-sans);color:#e6e8f0}
.coach-dot{display:none!important}
.coach[data-state="go"] .coach-dot{display:none!important}
.coach[data-state="wait"] .coach-dot{display:none!important}
.coach[data-state="won"]{border-color:rgba(34,242,194,.45);background:rgba(34,242,194,.08)}
.coach[data-state="won"] .coach-dot{display:none!important}
.coach[data-state="won"] b{color:var(--teal)}
.coach[data-state="lost"] b{color:#c9ccd8}
.coach-text{flex:1;min-width:0}
.coach-text b{font-weight:700}
.coach-verify{all:unset;cursor:pointer;margin-left:6px;padding:3px 10px;border-radius:999px;font:600 12px var(--font-sans);color:var(--teal);border:1px solid rgba(34,242,194,.4)}
.coach-verify:hover{background:rgba(34,242,194,.12)}
.coach-side{display:flex;align-items:center;gap:8px;flex:none}
.coach-session{font:600 12px var(--font-mono);padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.06)}
.coach-session[data-sign="up"]{color:var(--teal)}
.coach-session[data-sign="down"]{color:#c9ccd8}
.coach-how{all:unset;cursor:pointer;font:600 12px var(--font-sans);color:#c9ccd8;text-decoration:underline;text-underline-offset:3px}
.coach-how:hover{color:#fff}
.coach-verify:focus-visible,.coach-how:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
@keyframes coachPulse{50%{opacity:.4}}
@media (prefers-reduced-motion:reduce){.coach-dot{animation:none!important}}
@media (max-width:600px){.coach{flex-wrap:wrap;font-size:13.5px}.coach-side{width:100%;justify-content:space-between}}
@media (pointer:coarse){.coach-verify,.coach-how{min-height:44px;display:inline-flex;align-items:center}}
/* the last small links on phones: the footer home link, "PnL ▸", and the empty-state links on the profile get a full-size tap area */
@media (pointer:coarse){footer a,.mine .k a,.empty a{display:inline-flex;align-items:center;min-height:44px}}
/* Crash and Blackout keep a floating Bet / Cash out dock above the phone tab bar: the footer scrolls clear of both */
@media (max-width:767px){html.tsh-g-crash body>footer,html.tsh-g-blackout body>footer,html.tsh-g-dice body>footer,html.tsh-g-flip body>footer{padding-bottom:calc(150px + env(safe-area-inset-bottom))!important}}
/* the word Tilt, set as the official wordmark inside text (also in components.css, for pages without this file) */
.wm-in{display:inline-block;height:1em;width:auto;vertical-align:-.13em;margin:0 .03em}
:is(h1,h2,h3,.display) .wm-in{height:1.1em;vertical-align:-.16em}
/* touch: the stake - / + steppers reach the 44pt minimum */
@media (pointer:coarse){.bb-step button{width:44px!important;min-height:44px}}
@media (pointer:coarse){#faucetBtn,#fairBtn,.practice-choice,.turn .how{min-height:44px!important}#stakeDn,#stakeUp,.stepper button{min-width:44px!important}}
/* phones: nothing readable under 11px - table column headers, badges and step labels */
@media (max-width:767px){thead :is(th,td),.tb-hd>*,.tb-demo,.step-time,.ways-pill,.figure-tag{font-size:11px!important}}
