/* ============================================================
   WAGERFI: soft dark theme (charcoal, white, calm purple accent)
   No gold, no glow, no shine. Green = wins, red = losses.
   ============================================================ */
:root {
  --bg: #0d0b14; --surface: #151220; --surface2: #1c1829; --line: rgba(255,255,255,0.07);
  --accent: #7c5cf0; --accent2: #a78bfa; --accent-d: #6847dd;
  --text: #ece9f5; --muted: #8d89a3;
  --win: #34d399; --lose: #f87171; --blue: #60a5fa;
  --nav-h: 70px; --maxw: 980px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); min-height: 100vh; -webkit-font-smoothing: antialiased; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
a { color: inherit; }
.hide { display: none !important; }
.center { text-align: center; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.goldtext, .accent-text { color: var(--accent2); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(13,11,20,0.94); border-bottom: 1px solid var(--line); }
.header-in { max-width: var(--maxw); margin: 0 auto; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; display: block; }
.logo-text { font-weight: 900; font-size: 1.15rem; letter-spacing: 1px; }
.logo-text span { color: var(--accent2); }
.header-right { display: flex; align-items: center; gap: 8px; }
.bal { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: 0.86rem; background: var(--surface); border: 1px solid var(--line); }

/* ---------- buttons ---------- */
.btn { border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-weight: 700; font-size: 0.92rem; color: var(--text); background: var(--surface2); transition: background .15s, transform .1s; }
.btn:hover { background: #241f35; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.gold, .btn.primary { border-color: transparent; background: var(--accent); color: #fff; }
.btn.gold:hover, .btn.primary:hover { background: var(--accent-d); }
.btn.teal, .btn.ghost { background: transparent; border-color: rgba(167,139,250,0.45); color: var(--accent2); }
.btn.teal:hover, .btn.ghost:hover { background: rgba(124,92,240,0.12); }
.btn.green { border-color: transparent; background: #1f9d6b; color: #fff; }
.btn.sm { padding: 8px 13px; font-size: 0.78rem; border-radius: 10px; }
.btn.block { display: block; width: 100%; }
.link { background: none; border: none; color: var(--accent2); font-weight: 600; font-size: inherit; padding: 0; }
.link:hover { text-decoration: underline; }
.plain-link { color: var(--muted); font-size: 0.86rem; text-align: center; margin-top: 16px; }

/* ---------- cards ---------- */
.card { border-radius: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; }
.card.teal, .card.green { background: var(--surface); }
.page { max-width: var(--maxw); margin: 0 auto; padding: 18px 18px calc(var(--nav-h) + 36px); }
.page-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 14px; }
.sec-hd { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 0 12px; }
.sec-hd h2 { font-size: 1.08rem; font-weight: 700; }
.sub-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sub-title { font-size: 1.25rem; font-weight: 800; }
.back-btn { width: 38px; height: 38px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 1.5rem; line-height: 1; }
.reserved { min-height: 240px; border: 1px dashed rgba(255,255,255,0.12); border-radius: 16px; }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 14px; text-align: left; }
.field > span { display: block; font-size: 0.74rem; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.input { width: 100%; padding: 13px 14px; border-radius: 12px; color: #fff; font-size: 0.98rem; outline: none; background: #0f0d18; border: 1px solid rgba(255,255,255,0.09); }
.input:focus { border-color: var(--accent); }
.err { color: var(--lose); font-size: 0.82rem; min-height: 20px; margin: 4px 0 8px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 0.84rem; color: #cfcce0; margin: 6px 0 10px; line-height: 1.4; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(167,139,250,0.6); background: #0f0d18; margin-top: 1px; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.auth { max-width: 420px; margin: 0 auto; }
.code-input { letter-spacing: 12px; text-align: center; font-size: 1.6rem; font-weight: 800; }

/* ---------- avatars ---------- */
.av { position: relative; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: #fff; background: linear-gradient(135deg, #5b4bd6, #8b5cf6); border: 2px solid rgba(255,255,255,0.1); }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #1c1829; }
.av.sm { width: 28px; height: 28px; font-size: 0.7rem; } .av.lg { width: 54px; height: 54px; font-size: 1.2rem; } .av.xl { width: 80px; height: 80px; font-size: 1.8rem; border-color: rgba(167,139,250,0.7); }

/* ---------- jackpot banner on home (rectangle: info left, picture right) ---------- */
.jpx { display: grid; grid-template-columns: 1.15fr 0.85fr; border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; min-height: 190px; }
.jpx-left { padding: 18px 16px; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.jpx-title { font-weight: 800; font-size: 1rem; letter-spacing: 3px; color: var(--accent2); }
.jpx-label { margin-top: 8px; font-size: 0.64rem; letter-spacing: 2.5px; color: var(--muted); font-weight: 600; }
.jpx-bank { font-weight: 900; font-size: 2rem; line-height: 1.1; letter-spacing: -0.5px; }
.jpx-meta { font-size: 0.78rem; color: var(--muted); } .jpx-meta b { color: #fff; }
.jpx .btn { margin-top: 10px; align-self: flex-start; padding: 10px 16px; }
.jpx-art { position: relative; background: linear-gradient(160deg, #3b2a7a, #1d1538 70%); }
.jpx-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-line { margin: 4px 2px 18px; font-size: 0.82rem; font-weight: 600; color: var(--win); display: flex; align-items: center; gap: 8px; }
.live-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--win); }
.pill { font-size: 0.7rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); }

/* ---------- banners ---------- */
.banner { position: relative; border-radius: 18px; overflow: hidden; min-height: 150px; padding: 20px 18px; margin-bottom: 14px; background: var(--grad, linear-gradient(135deg, #1d1538, #2a1f52)); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.banner img { position: absolute; right: 0; top: 0; height: 100%; width: 55%; object-fit: cover; }
.banner h3 { position: relative; font-size: 1.3rem; font-weight: 800; margin-bottom: 14px; max-width: 55%; line-height: 1.2; }
.banner .btn { position: relative; }

/* ---------- latest wins slider (left to right) ---------- */
.slider { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.slide-track { display: flex; gap: 10px; width: max-content; animation: slideRight 55s linear infinite; }
@keyframes slideRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.wcard { display: flex; align-items: center; gap: 11px; min-width: 240px; padding: 11px 15px 11px 11px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.wcard .nm { font-weight: 700; font-size: 0.88rem; } .wcard .gm { font-size: 0.7rem; color: var(--muted); }
.wcard .amt { margin-left: auto; font-weight: 800; color: var(--win); }

/* ---------- games ---------- */
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gcard { cursor: pointer; -webkit-tap-highlight-color: transparent; min-width: 0; }
.gart { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; display: flex; align-items: flex-end; border: 1px solid rgba(255,255,255,0.08); background: var(--grad, linear-gradient(160deg, #6d4ae0, #db2777)); transition: transform .15s; }
.gart img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gart::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.4)); pointer-events: none; }
.gart.has::after { background: none; }
.gcard:hover .gart { transform: translateY(-3px); }
.gtitle { position: relative; z-index: 1; padding: 10px 8px; font-weight: 800; font-size: 0.92rem; line-height: 1.1; }
.gart.has .gtitle { display: none; }
.gtag { position: absolute; z-index: 2; top: 7px; right: 7px; font-size: 0.58rem; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.gtag.HOT { background: #ef4468; color: #fff; } .gtag.NEW { background: #38bdf8; color: #06131c; }
.gcount { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 0.72rem; font-weight: 600; color: var(--text); }
.gcount i { width: 7px; height: 7px; border-radius: 50%; background: var(--win); }
@media (min-width: 900px) {
  .ggrid { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 6px; scrollbar-width: thin; }
  .ggrid .gcard { flex: 0 0 176px; }
}

/* ---------- support row + feed ---------- */
.support { display: flex; align-items: center; gap: 14px; }
.support .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--surface2); display: grid; place-items: center; color: var(--accent2); flex: none; }
.support .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.support h3 { font-size: 1rem; font-weight: 700; } .support p { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.support .btn { margin-left: auto; }
.feed .tx { display: flex; align-items: center; gap: 12px; padding: 0 4px; height: 66px; border-bottom: 1px solid var(--line); }
.feed .tx:last-child { border-bottom: none; }
.feed .tx.new { animation: dropIn .45s ease-out; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
.tx .who { font-weight: 700; font-size: 0.88rem; } .tx .what { font-size: 0.72rem; margin-top: 2px; color: var(--muted); }
.tx .right { margin-left: auto; text-align: right; } .tx .coin-amt { font-weight: 800; font-size: 0.9rem; } .tx .usd-amt { font-size: 0.72rem; color: var(--muted); }
.act { font-weight: 800; font-size: 0.66rem; letter-spacing: 0.4px; } .act.dep { color: var(--win); } .act.wd { color: var(--lose); }
.coinlogo { position: relative; width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--c, #666); color: #fff; font-weight: 900; font-size: 1rem; overflow: hidden; }
.coinlogo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--c, #666); }
.winner-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.winner-row:last-child { border-bottom: none; }
.rank { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; background: var(--surface2); color: var(--muted); flex: none; }
.rank.top { background: var(--accent); color: #fff; }
.winner-row .nm { font-weight: 700; font-size: 0.9rem; } .winner-row .gm { font-size: 0.72rem; color: var(--muted); }
.winner-row .prize { margin-left: auto; font-weight: 800; color: var(--win); }
.tabs { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 3px; margin-bottom: 14px; }
.tabs button { flex: 1; border: none; background: none; color: var(--muted); padding: 10px; border-radius: 9px; font-weight: 700; font-size: 0.86rem; }
.tabs button.on { background: var(--accent); color: #fff; }

/* ---------- bottom nav ---------- */
.bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px; height: var(--nav-h); z-index: 60; display: flex; align-items: center; justify-content: space-around; padding: 0 6px 4px; background: #110e1a; border-top: 1px solid var(--line); }
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; color: #77738d; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-item.active { color: var(--accent2); }
.nav-item .ic, .nav-jackpot .ic { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-item .ic { width: 23px; height: 23px; }
.nav-label { font-size: 0.66rem; font-weight: 600; }
.nav-center { flex: 1; display: flex; flex-direction: column; align-items: center; margin-top: -26px; cursor: pointer; }
.nav-jackpot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--accent); border: 4px solid var(--bg); }
.nav-jackpot .ic { width: 26px; height: 26px; }
.nav-center .nav-label { margin-top: 3px; color: var(--accent2); }

/* ---------- jackpot page ---------- */
.jp-title { font-weight: 800; font-size: 1.5rem; letter-spacing: 3px; margin-bottom: 14px; }
.jp-stats { display: flex; justify-content: space-between; gap: 12px; }
.jp-stats .k { font-size: 0.62rem; letter-spacing: 2.5px; color: var(--muted); font-weight: 600; } .jp-stats .v { font-weight: 800; font-size: 1.6rem; margin-top: 3px; }
.stage { position: relative; width: min(92vw, 380px); height: min(92vw, 380px); margin: 22px auto 26px; }
.wheel-rot { position: absolute; inset: 0; will-change: transform; }
.wheel-rot.idle { animation: wspin 24s linear infinite; }
@keyframes wspin { to { transform: rotate(360deg); } }
.wheel-rot canvas { width: 100%; height: 100%; display: block; border-radius: 50%; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.5)); }
.pointer { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 6; width: 30px; height: 40px; }
.pointer::before { content: ""; position: absolute; inset: 0; background: #fff; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.pointer::after { content: ""; position: absolute; top: 6px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--accent); }
.wcenter { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46%; min-height: 46%; border-radius: 22px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--surface); border: 1px solid rgba(167,139,250,0.35); box-shadow: 0 8px 26px rgba(0,0,0,0.5); }
.wc-k { font-size: 0.58rem; letter-spacing: 3px; color: var(--muted); font-weight: 600; }
.wc-big { font-weight: 800; font-size: 2.6rem; line-height: 1.15; }
.wc-name { font-weight: 800; font-size: 1.02rem; margin-top: 6px; word-break: break-all; }
.wc-prize { font-weight: 800; font-size: 1.3rem; color: var(--win); margin-top: 2px; }
.wcenter.win { animation: winpop .5s cubic-bezier(.2,1.3,.4,1); }
@keyframes winpop { from { transform: translate(-50%, -50%) scale(0.65); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.pulse { animation: pulse 1s ease-in-out infinite; } @keyframes pulse { 50% { opacity: 0.45; } }
.confetti { position: absolute; left: -15%; top: -15%; width: 130%; height: 130%; z-index: 8; pointer-events: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.bet-row { display: flex; gap: 8px; } .bet-row .input { flex: 1; min-width: 0; }
.joins { height: 330px; overflow: hidden; position: relative; }   /* short, fixed card: older players slide out at the bottom */
.joins::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--surface)); pointer-events: none; }
.jrow { display: flex; align-items: center; gap: 12px; padding: 0 4px; height: 62px; border-bottom: 1px solid var(--line); }
.jrow.new { animation: dropIn .5s ease-out; }
.jrow .nm { font-weight: 700; font-size: 0.9rem; } .jrow .me { color: var(--accent2); }
.jrow .stake { margin-left: auto; text-align: right; font-weight: 800; } .jrow .pct { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.chat-box { height: 240px; overflow-y: auto; padding-right: 4px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; scrollbar-width: thin; }
.msg { display: flex; gap: 9px; align-items: flex-start; font-size: 0.86rem; line-height: 1.35; } .msg b { color: var(--accent2); margin-right: 6px; font-weight: 700; }
.result-pos { color: var(--win); font-weight: 700; } .result-neg { color: var(--lose); font-weight: 700; }

/* ---------- Sky Pilot ---------- */
.sky { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #1a3a73; }
.sky canvas { width: 100%; height: auto; display: block; }
.sky .mult { position: absolute; top: 14px; left: 0; right: 0; text-align: center; font-weight: 900; font-size: 2.8rem; text-shadow: 0 2px 14px rgba(0,0,0,0.45); pointer-events: none; }
.sky .mult.lose { color: #fecaca; }
.sky .note { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 0.78rem; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.hist { display: flex; gap: 6px; overflow-x: auto; margin: 12px 0; scrollbar-width: none; min-height: 28px; }
.hchip { font-size: 0.72rem; font-weight: 800; padding: 4px 9px; border-radius: 8px; white-space: nowrap; background: var(--surface2); }
.hchip.low { color: var(--lose); } .hchip.mid { color: var(--win); } .hchip.high { color: #f0abfc; }
.plist { height: 260px; overflow-y: auto; scrollbar-width: thin; }
.prow { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--line); font-size: 0.84rem; }
.prow .nm { font-weight: 700; } .prow .bt { margin-left: auto; color: var(--muted); } .prow .st { min-width: 64px; text-align: right; font-weight: 800; }

/* ---------- lists (menu, wallet) ---------- */
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 4px; border-bottom: 1px solid var(--line); font-weight: 600; cursor: pointer; }
.list-row:last-child { border-bottom: none; }
.list-row .chev { color: var(--muted); font-size: 1.2rem; }
.balance-big { font-weight: 900; font-size: 2.2rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
details.faq { padding: 14px 4px; border-bottom: 1px solid var(--line); } details.faq summary { font-weight: 700; cursor: pointer; list-style: none; } details.faq summary::-webkit-details-marker { display: none; }
details.faq p { color: #bdbad0; font-size: 0.88rem; line-height: 1.55; margin-top: 8px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 18px); transform: translateX(-50%); z-index: 200; max-width: 90vw; text-align: center; padding: 12px 18px; border-radius: 12px; font-size: 0.86rem; font-weight: 600; background: #26213a; border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(0,0,0,0.5); }

@media (max-width: 440px) {
  .header-in { padding: 10px 12px; gap: 6px; }
  .logo-mark { width: 30px; height: 30px; } .logo-text { font-size: 1rem; } .logo { gap: 7px; }
  .bal { padding: 3px 9px 3px 3px; font-size: 0.78rem; gap: 6px; }
  .header-right .btn.sm { padding: 7px 11px; font-size: 0.74rem; }
  .jpx-bank { font-size: 1.7rem; } .jpx-left { padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) { .slide-track, .wheel-rot.idle { animation: none; } }

/* ---------- Instant games (Dice, Coin Flip, Plinko, Mines) ---------- */
.gstage { text-align: center; }
.big-num { font-weight: 900; font-size: 3.2rem; line-height: 1.2; margin: 6px 0 14px; transition: color .2s; }
.big-num.win { color: var(--win); } .big-num.lose { color: var(--lose); }
.dtrack { position: relative; height: 12px; border-radius: 8px; background: #3a1f28; overflow: visible; margin: 6px 4px 0; }
.dzone { position: absolute; top: 0; bottom: 0; background: #1f9d6b; border-radius: 8px; }
.dmark { position: absolute; top: -6px; width: 4px; height: 24px; margin-left: -2px; border-radius: 2px; background: #fff; transition: left .35s ease-out; }
.dscale { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted); margin: 8px 2px 4px; }
.drange { width: 100%; accent-color: var(--accent); margin: 8px 0 4px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stat-row > div { background: var(--surface2); border-radius: 12px; padding: 10px 6px; }
.stat-row span { display: block; font-size: .68rem; color: var(--muted); margin-bottom: 3px; } .stat-row b { font-size: .95rem; }
.btn.sel { background: var(--accent); border-color: transparent; color: #fff; }
select.input { appearance: none; -webkit-appearance: none; }
.coin-wrap { perspective: 700px; height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.coin { position: relative; width: 112px; height: 112px; transform-style: preserve-3d; transition: transform 1.4s cubic-bezier(.25,.8,.3,1); }
.cface { position: absolute; inset: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 2.6rem; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 5px solid rgba(255,255,255,.18); }
.cf-h { background: #7c5cf0; color: #fff; } .cf-t { background: #2b2542; color: #cfc6f5; transform: rotateY(180deg); }
.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 360px; margin: 0 auto; }
.tile { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: var(--surface2); position: relative; padding: 0; }
.tile:not(:disabled):hover { background: #2a2440; }
.tile:disabled { cursor: default; }
.tile.gem { background: #123a2e; border-color: rgba(52,211,153,.35); }
.tile.gem::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38%; height: 38%; background: var(--win); transform: translate(-50%, -50%) rotate(45deg); border-radius: 4px; }
.tile.mine { background: #3a1820; border-color: rgba(248,113,113,.4); }
.tile.mine::after { content: ""; position: absolute; left: 50%; top: 50%; width: 40%; height: 40%; background: var(--lose); border-radius: 50%; transform: translate(-50%, -50%); }
.tile.boom { background: #5a1f2a; animation: winpop .35s ease-out; }

/* ---------- equal banners (Jackpot + Blackjack): same size, picture blends into the card ---------- */
.jpx { grid-template-columns: 1.2fr 0.8fr; height: 200px; min-height: 0; }
.jpx-art { background: var(--surface); }
.jpx-art img { object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%); mask-image: linear-gradient(to right, transparent 0, #000 42%); }
.jpx-bank-sm { font-size: 1.4rem; }

/* ---------- Sky Pilot (Aviator style) ---------- */
.sky .note.top { top: 16px; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; padding: 9px 18px; border-radius: 12px; background: rgba(20,24,44,0.62); font-size: .86rem; white-space: nowrap; }
.sky .note.top b { font-size: 1rem; }
.sky .flew { position: absolute; left: 50%; top: calc(50% + 34px); transform: translateX(-50%); padding: 10px 22px; border-radius: 12px; background: #e53935; font-weight: 900; font-size: 1.05rem; letter-spacing: .5px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.sky .mult { top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.sky .mult.lose { color: #ff4d4d; }
.sky .snd { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(20,24,44,0.55); color: #fff; display: grid; place-items: center; }
.sky .snd.off .w { display: none; }
.hchip.low { color: #f5e663; } .hchip.mid { color: #5ee6a1; } .hchip.high { color: #e879f9; }

/* ---------- support chat (player) ---------- */
.sup-box { height: 380px; }
.sup-msg { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: .88rem; line-height: 1.4; word-break: break-word; }
.sup-msg.me { align-self: flex-end; background: var(--accent); color: #fff; }
.sup-msg.them { align-self: flex-start; background: var(--surface2); border: 1px solid var(--line); }

/* ---------- Games page: category dropdown + full grid ---------- */
.games-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.catdd { position: relative; }
.catbtn { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: 0.9rem; }
.catbtn svg { transition: transform .15s; } .catbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.catmenu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 200px; padding: 6px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,0.55); }
.catopt { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: none; color: var(--text); font-weight: 600; font-size: 0.9rem; text-align: left; }
.catopt:hover { background: rgba(255,255,255,0.05); } .catopt.on { background: var(--accent); color: #fff; }
.catopt small { color: var(--muted); font-weight: 700; } .catopt.on small { color: rgba(255,255,255,0.8); }
.sec-hd .link { font-size: 0.82rem; }
.ggrid.wrap { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 10px; }
@media (min-width: 900px) {
  .ggrid.wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; overflow: visible; }
  .ggrid.wrap .gcard { flex: none; }
}

/* ---------- live banners (dealer + rolling jackpot machine) ---------- */
.slider { margin-bottom: 18px; }
.jpx { position: relative; }
@media (min-width: 700px) { .jpx { height: 240px; } }
.jpx.dealer { display: block; padding: 0; background: radial-gradient(120% 120% at 50% 0%, #2b1d52, #130f20); }
.dealer .dl-img, .dealer .dl-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.dealer .dl-vid { opacity: 0; transition: opacity .5s ease; } .dealer .dl-vid.on { opacity: 1; }
.dealer::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 36px 6px rgba(13,11,20,0.55); border-radius: inherit; }
.dl-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.dl-fallback b { font-size: 1.3rem; letter-spacing: 4px; color: var(--accent2); } .dl-fallback span { font-size: .78rem; color: var(--muted); }
.dealer.has .dl-fallback { display: none; }
.jpx-art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%); mask-image: linear-gradient(to right, transparent 0, #000 42%); }
.jpx-art video.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .dealer .dl-vid, .jpx-art video { display: none; } }

/* Jackpot banner: machine drawn in code */
.jp-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.jpx:not(.dealer) { grid-template-columns: 1.05fr 0.95fr; }
.jpx-art:has(.jp-cv) { background: #1d1538; }
.jp-cv { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
@media (min-width: 700px) { .dealer .dl-img, .dealer .dl-vid { object-position: center 6%; } }
.dealer .dl-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- table games (cards, felt, roulette board) ---------- */
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .row3 .btn { padding: 10px 6px; line-height: 1.25; } .row3 .btn small { display: block; font-size: .7rem; font-weight: 600; opacity: .8; margin-top: 2px; }
.felt { background: radial-gradient(120% 100% at 50% 0%, #25465e, #162c3d 70%); border-color: rgba(255,255,255,.08); }
.bz { margin-bottom: 14px; } .bz-h { font-size: .74rem; letter-spacing: 1.6px; text-transform: uppercase; color: #b9c4d4; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tot { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,.35); color: #fff; font-size: .8rem; letter-spacing: 0; } .tot.lead { background: var(--accent); }
.hand { display: flex; justify-content: center; gap: 8px; min-height: 80px; flex-wrap: wrap; }
.pc { position: relative; width: 52px; height: 74px; border-radius: 8px; background: #f6f3fc; color: #1d1a2c; box-shadow: 0 3px 8px rgba(0,0,0,.35); flex: none; font-weight: 800; }
.pc.red { color: #d23c55; } .pc.big { width: 76px; height: 108px; border-radius: 10px; }
.pc .pr { position: absolute; left: 6px; top: 4px; font-size: .95rem; line-height: 1; } .pc.big .pr { font-size: 1.3rem; left: 8px; top: 6px; }
.pc .ps { position: absolute; left: 6px; top: 21px; width: 11px; height: 11px; } .pc.big .ps { left: 8px; top: 29px; width: 14px; height: 14px; }
.pc .pm { position: absolute; left: 50%; top: 56%; width: 26px; height: 26px; transform: translate(-50%, -50%); } .pc.big .pm { width: 40px; height: 40px; }
.pc svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.pc.back { background: repeating-linear-gradient(45deg, #6c4fd8 0 6px, #5a40bd 6px 12px); border: 3px solid #f6f3fc; }
.pc.deal { animation: dealIn .45s cubic-bezier(.2,.9,.3,1) both; } .pc.flip { animation: flipIn .5s ease both; }
@keyframes dealIn { from { transform: translate(60px, -70px) rotate(14deg) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes flipIn { 0% { transform: rotateY(90deg) scale(.9); opacity: .4; } 100% { transform: none; opacity: 1; } }
.tmsgbox { min-height: 28px; margin-top: 10px; } .tmsg { font-weight: 800; font-size: 1rem; color: #e8eaf2; } .tmsg.win { color: var(--win); } .tmsg.lose { color: var(--lose); }
.dtgrid { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 8px; } .dtside { min-width: 80px; } .dtvs { font-weight: 900; letter-spacing: 2px; color: #b9c4d4; font-size: .85rem; }
.dtgrid.war { margin-top: 6px; } .dtgrid.hide { display: none; }
.rboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 8px; } .routs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.rc { position: relative; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); font-weight: 800; font-size: .85rem; color: #fff; background: #26203a; padding: 0; }
.rc.red { background: #a8324a; } .rc.black { background: #1d1a2c; } .rc.green { background: #1b8a5e; grid-column: 1 / -1; } .rc.col, .rc.out { background: #2b2542; font-size: .78rem; font-weight: 700; } .rc.out.red { background: #a8324a; } .rc.out.black { background: #1d1a2c; }
.rc.hit { outline: 2px solid #fff; animation: winpop .35s ease-out; } .rc:active { filter: brightness(1.2); }
.rc i { position: absolute; right: 3px; top: 3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #a78bfa; color: #120c24; font-style: normal; font-size: .62rem; line-height: 18px; display: none; } .rc i.on { display: block; }
.rhist { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin-top: 8px; min-height: 22px; } .rh { width: 24px; height: 24px; border-radius: 50%; font-size: .68rem; font-weight: 800; display: grid; place-items: center; color: #fff; } .rh.red { background: #a8324a; } .rh.black { background: #2b2542; } .rh.green { background: #1b8a5e; }

/* ---------- Keno, Hi-Lo, ladder games ---------- */
.kgrid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; max-width: 380px; margin: 0 auto; }
.kn { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); font-weight: 800; font-size: .85rem; padding: 0; }
.kn.sel { background: var(--accent); border-color: transparent; color: #fff; } .kn.drawn { outline: 2px solid #a78bfa; } .kn.drawn.hit { background: #14664b; outline-color: var(--win); animation: winpop .3s ease-out; } .kn.drawn:not(.sel) { background: #3a2f55; }
.ktab { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; } .kp { padding: 5px 9px; border-radius: 8px; background: var(--surface2); font-size: .72rem; color: var(--muted); } .kp b { color: var(--text); } .kp i { font-style: normal; color: var(--win); font-weight: 800; } .kp.on { outline: 2px solid var(--win); }
.hlseen { display: flex; justify-content: center; gap: 4px; margin-bottom: 12px; min-height: 40px; } .hlseen .pc { width: 28px; height: 40px; border-radius: 5px; } .hlseen .pr { font-size: .6rem; left: 3px; top: 2px; } .hlseen .ps { display: none; } .hlseen .pm { width: 13px; height: 13px; }
#hlHi small, #hlLo small { display: block; font-size: .72rem; font-weight: 600; opacity: .85; margin-top: 2px; } #hlHi, #hlLo { line-height: 1.25; }
.ladder { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 400px; margin: 0 auto 12px; }
.lrow { display: flex; align-items: center; gap: 8px; width: 100%; } .lm { width: 56px; flex: none; text-align: right; font-size: .72rem; font-weight: 700; color: var(--muted); } .lrow.now .lm { color: var(--text); }
.ltiles { display: grid; gap: 6px; flex: 1; }
.lt { height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); padding: 0; position: relative; } .lt:not(:disabled):hover { background: #2a2440; } .lt:disabled { cursor: default; opacity: .75; }
.lrow.now .lt:not(:disabled) { background: #2f2752; border-color: rgba(167,139,250,.5); opacity: 1; }
.lt.gem { background: #123a2e; border-color: rgba(52,211,153,.4); opacity: 1; } .lt.gem::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; background: var(--win); transform: translate(-50%, -50%) rotate(45deg); border-radius: 3px; }
.lt.trap { background: #3a1820; border-color: rgba(248,113,113,.4); opacity: 1; } .lt.trap::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; background: var(--lose); border-radius: 50%; transform: translate(-50%, -50%); } .lt.boom { background: #5a1f2a; animation: winpop .35s ease-out; }
.lad.st .lt { border-radius: 4px; } .lad.py .lt { border-radius: 14px; }

/* ---------- solo crash games ---------- */
.solo { position: relative; line-height: 0; } .solo canvas { width: 100%; height: auto; display: block; }
.scm { position: absolute; left: 0; right: 0; top: 14px; text-align: center; font-weight: 900; font-size: 2.6rem; line-height: 1.1; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.45); pointer-events: none; } .scm.lose { color: #fca5a5; } .scm.win { color: #86efac; }
.scn { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-weight: 800; font-size: .9rem; line-height: 1.2; text-shadow: 0 1px 6px rgba(0,0,0,.6); color: #fff; padding: 0 10px; } .scn.lose { color: #fca5a5; } .scn.win { color: #86efac; }
.hchip.g { color: var(--win); } .hchip.r { color: var(--lose); }

/* ---- slots ---- */
.slotbox{border-radius:14px;overflow:hidden;border:1px solid var(--line,#2a2a38)}
.slotbox canvas{display:block;width:100%;height:auto}
.paytab{margin-top:12px;display:grid;gap:6px}
.paytab .ptr{display:flex;align-items:center;gap:8px;min-width:0;background:rgba(255,255,255,.04);border-radius:10px;padding:6px 10px;font-size:.76rem}
.paytab .ptr img{width:32px;height:32px}
.paytab .ptr span{flex:1;color:#cfcfe0}
.paytab .ptr b{font-weight:600;text-align:right}

/* ---------- balance in the middle of the header, with currency dropdown ---------- */
.header-in { position: relative; }
.bal-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 60; }
.bal-wrap.hide { display: none; }
.bal-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--muted); margin-left: 2px; }
.bal-drop { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 250px; background: #17142a; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 14px; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.bal-drop.hide { display: none; }
.bdrow { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.84rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.bdrow b { color: #fff; font-weight: 700; }
.bdrow.main b { font-size: 1rem; }
.bdrow.vault { margin-top: 4px; }
.bdbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }


/* ---------- wallet pages ---------- */
.btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips .btn { margin-right: 6px; }
.pill { display: inline-block; font-size: 0.64rem; font-weight: 800; padding: 2px 7px; border-radius: 99px; margin-left: 6px; letter-spacing: .3px; vertical-align: middle; }
.pill.pend { background: rgba(245,158,59,.16); color: #f5b25c; }
.pill.ok { background: rgba(74,222,128,.14); color: var(--win); }
.pill.dec { background: rgba(248,113,113,.14); color: var(--lose); }
.refcard { text-align: center; border-color: var(--accent); }
.refcode { font-weight: 900; font-size: 1.8rem; letter-spacing: 3px; margin-top: 8px; word-break: break-all; }
.tierbox { padding: 2px 0; }
.tierhead { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tierdot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.tierbar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 8px; }
.tierbar i { display: block; height: 100%; border-radius: 99px; }
.tierlist .winner-row .nm { display: flex; align-items: center; gap: 8px; }

/* ---------- casino table look (Blackjack, Baccarat, Dragon Tiger, Casino War) ---------- */
.felt { position: relative; overflow: hidden; padding: 26px 14px 54px; border: 7px solid #2c2118; border-radius: 22px 22px 90px 90px / 22px 22px 54px 54px; background: radial-gradient(130% 90% at 50% 20%, #1f6a52 0%, #14513f 55%, #0d3a2d 100%); box-shadow: inset 0 0 40px rgba(0,0,0,.5), 0 8px 22px rgba(0,0,0,.45); }
.felt::before { content: ''; position: absolute; inset: 9px 9px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px 14px 78px 78px / 14px 14px 46px 46px; pointer-events: none; }
.felt::after { content: ''; position: absolute; left: 50%; bottom: 14px; width: 44px; height: 24px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 40%, #8b6cf0 0 36%, #5b3fd1 37% 62%, #f1ecff 63% 70%, #5b3fd1 71%); box-shadow: 0 -6px 0 -1px #6b4fe0, 0 -12px 0 -2px #7c5cf0, 0 5px 8px rgba(0,0,0,.5); opacity: .9; pointer-events: none; }
.felt .bz-h { color: #cfe6dc; }
.felt .tot { background: rgba(0,0,0,.4); }
.tbl-rule { text-align: center; font-size: .62rem; letter-spacing: 2.2px; line-height: 1.7; color: rgba(255,255,255,.34); font-weight: 700; margin: 4px 0 14px; }
.felt .hand:empty::before, .felt .hand:empty::after { content: ''; width: 52px; height: 74px; border: 2px dashed rgba(255,255,255,.2); border-radius: 8px; box-sizing: border-box; }
.felt .tmsgbox { position: relative; z-index: 2; }

/* ---------- footer ---------- */
.page { padding-bottom: 24px; }
.site-foot { max-width: var(--maxw); margin: 0 auto; padding: 8px 18px calc(var(--nav-h) + 28px); border-top: 1px solid var(--line); }
.foot-in { padding-top: 22px; }
.foot-brand .logo-text { font-size: 1.1rem; margin-bottom: 8px; }
.foot-brand p { color: var(--muted); font-size: .8rem; line-height: 1.55; max-width: 460px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.foot-cols b { display: block; font-size: .74rem; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 8px; color: #fff; }
.foot-cols .link { display: block; padding: 5px 0; font-size: .82rem; color: var(--muted); text-align: left; background: none; border: none; }
.foot-line { display: flex; align-items: center; gap: 10px; font-size: .76rem; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); }
.age18 { border: 1.5px solid var(--muted); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font-weight: 800; font-size: .7rem; flex: none; }
.foot-copy { font-size: .72rem; color: var(--muted); opacity: .8; }

/* ---------- text pages, offers, tournaments, affiliate ---------- */
.doc h3 { font-size: .98rem; margin: 14px 0 4px; } .doc h3:first-child { margin-top: 0; }
.doc p { color: #bdbad0; font-size: .88rem; line-height: 1.6; }
.offer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.offer-t { font-weight: 800; font-size: 1.02rem; }
.offer-v { background: rgba(124,92,255,.16); color: #b9a8ff; font-weight: 800; border-radius: 10px; padding: 6px 12px; font-size: .9rem; white-space: nowrap; }
.offer p { color: #bdbad0; font-size: .86rem; line-height: 1.55; margin-bottom: 12px; }
.cd { font-size: .8rem; color: var(--muted); margin-bottom: 10px; } .cd b { color: #fff; }
.lbs { margin-bottom: 12px; border-top: 1px solid var(--line); }
.lb { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.lb .rk { width: 22px; height: 22px; border-radius: 50%; background: var(--surface2); display: grid; place-items: center; font-size: .72rem; font-weight: 800; } .lb .nm { flex: 1; } .lb b { color: var(--win); }
.steps > div { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: .86rem; border-bottom: 1px solid var(--line); } .steps > div:last-child { border-bottom: none; }
.steps i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .8rem; flex: none; }

/* ---------- live chat ---------- */
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); }
.rep-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #8b6cf0, #5b3fd1); display: grid; place-items: center; color: #fff; flex: none; }
.rep-av svg { width: 22px; height: 22px; } .rep-av.sm { width: 28px; height: 28px; } .rep-av.sm svg { width: 16px; height: 16px; }
.dot-on { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--win); margin-right: 6px; }
.rep-row { display: flex; align-items: flex-end; gap: 8px; align-self: flex-start; max-width: 88%; }
.rep-row .sup-msg { max-width: 100%; }
.rep-name { font-size: .68rem; font-weight: 800; color: #b9a8ff; margin-bottom: 2px; letter-spacing: .3px; }
.sup-msg.typing { display: flex; gap: 4px; padding: 12px 14px; }
.sup-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typedot 1.2s infinite ease-in-out; }
.sup-msg.typing span:nth-child(2) { animation-delay: .15s; } .sup-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typedot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (max-width: 440px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- header, Stake style: logo | balance pill + wallet button | account, messages ---------- */
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: static; }
.hdr-mid { display: flex; align-items: center; position: static; flex: 0 1 auto; min-width: 0; }
.hdr-mid.hide { display: none; }
.balpill { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 10px 0 0 10px; background: #1d1a2e; border: 1px solid var(--line); border-right: none; cursor: pointer; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.walbtn { width: 44px; height: 40px; border: none; border-radius: 0 10px 10px 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.walbtn svg { width: 20px; height: 20px; }
.icobtn { position: relative; width: 36px; height: 40px; border: none; background: none; color: #e8e5f5; display: grid; place-items: center; cursor: pointer; }
.icobtn.hide { display: none; }
.icobtn svg { width: 22px; height: 22px; }
.bdot { position: absolute; top: 7px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--lose); border: 2px solid #0d0b14; } .bdot.hide { display: none; }
.cico { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c, #666); color: #fff; font-weight: 900; font-size: .72rem; overflow: hidden; flex: none; }
.cico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--c, #666); }
.cico.usd { background: #3b82a0; }
.bal-drop { position: fixed; top: 62px; left: 50%; transform: translateX(-50%); width: min(340px, 94vw); background: #1b1830; border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: 0 16px 44px rgba(0,0,0,.55); z-index: 80; }
.bal-drop.hide { display: none; }
.cur-search .input { height: 42px; }
.cur-list { max-height: 330px; overflow-y: auto; margin: 8px -4px; scrollbar-width: thin; }
.cur-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.cur-row:hover, .cur-row.on { background: rgba(124,92,255,.14); }
.cur-sym { display: flex; align-items: center; gap: 8px; } .cur-sym b { font-weight: 700; }
.cur-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.cur-foot button { background: none; border: none; color: #d9d5ee; font-weight: 600; font-size: .78rem; padding: 10px 2px; cursor: pointer; }
@media (max-width: 520px) { .header-in { padding: 8px 10px; gap: 6px; } .balpill { padding: 0 9px; font-size: .8rem; } .logo-text { font-size: .8rem; letter-spacing: .4px; } .logo-mark { width: 26px; height: 26px; } .logo { gap: 5px; } body.in .header .header-right { gap: 4px; } }
.stgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.stbox { background: var(--surface2); border-radius: 12px; padding: 16px 14px; }
.stbox span { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 8px; } .stbox b { font-size: 1.3rem; }
.msg b.cn { cursor: pointer; } .msg b.cn:hover { text-decoration: underline; }
.rep-init { font-weight: 800; background: linear-gradient(135deg, #5b8cff, #6d4be0); }

/* sound switch on game pages */
.sfx-btn { margin-left: auto; width: 38px; height: 38px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); color: var(--text); display: grid; place-items: center; }
.sfx-btn .x { display: none; }
.sfx-btn.off { color: var(--muted, #8b88a0); }
.sfx-btn.off .x { display: block; }
.sfx-btn.off .w { display: none; }

/* poker games */
.hand.jp { gap: 6px; } .jpc { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; } .jpc:disabled { cursor: default; }
.hand.jp .pc { width: 56px; height: 80px; } .pc.held { outline: 3px solid var(--accent2); outline-offset: 1px; transform: translateY(-6px); }
.jp-name { text-align: center; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; font-size: .78rem; color: #cfe6dc; margin-bottom: 12px; }
.jp-hold { display: flex; justify-content: center; gap: 6px; margin-top: 8px; } .jp-hold span { width: 56px; text-align: center; font-size: .66rem; font-weight: 800; letter-spacing: 1px; color: var(--accent2); min-height: 14px; }
.pc.joker { background: linear-gradient(160deg, #f6f3fc, #e4dcf7); color: #7a4fe0; } .pc.joker .pj { position: absolute; left: 0; right: 0; top: 7px; text-align: center; font-size: .5rem; letter-spacing: .5px; } .pc.joker .pm { top: 58%; }
@media (max-width: 380px) { .hand.jp .pc, .jp-hold span { width: 50px; } .hand.jp .pc { height: 72px; } }

/* profile menu and vault popup */
.prof-drop { position: fixed; top: 62px; right: 10px; width: min(250px, 92vw); background: #1b1830; border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 16px 44px rgba(0,0,0,.55); z-index: 80; }
.prof-drop.hide { display: none; }
.pd-top { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; min-width: 0; } .pd-top > div { min-width: 0; } .pd-top b { display: block; font-size: .95rem; } .pd-top span { display: block; font-size: .74rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-row { display: block; width: 100%; text-align: left; background: none; border: 0; color: #e4e0f6; font: 600 .9rem Inter, sans-serif; padding: 10px 10px; border-radius: 9px; cursor: pointer; } .pd-row:hover { background: rgba(255,255,255,.06); }
.pd-row.out { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; color: var(--muted); }
.modal-back { position: fixed; inset: 0; background: rgba(6,5,12,.66); z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { width: min(400px, 100%); background: #1b1830; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 18px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.modal-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 1.05rem; } .modal-x { background: none; border: 0; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.mtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--surface2, #14121f); border-radius: 11px; padding: 4px; } .mtabs button { background: none; border: 0; color: var(--muted); font: 700 .86rem Inter, sans-serif; padding: 9px; border-radius: 8px; cursor: pointer; } .mtabs button.on { background: #2b2646; color: #fff; }
.vbox { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; } .vbox > div { background: #14121f; border-radius: 10px; padding: 10px 12px; } .vbox span { display: block; font-size: .7rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; } .vbox b { font-size: 1.15rem; }

/* painted scene behind a table, big win popup */
.gstage { position: relative; }
.gstage.scene { background: linear-gradient(rgba(8,6,18,.18), rgba(8,6,18,.5)), var(--scene) center / cover no-repeat; border: 0; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.gstage.scene::before, .gstage.scene::after { display: none; }
.gstage.scene .tbl-rule { color: rgba(255,255,255,.5); text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.gstage.scene .tmsg { text-shadow: 0 2px 6px rgba(0,0,0,.85); }
.pc { background: linear-gradient(165deg, #ffffff 0%, #f1edfa 60%, #e2dbf2 100%); box-shadow: 0 5px 12px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.6); }
.winpop { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 30; background: rgba(6,5,12,.35); animation: wpIn .25s ease both; cursor: pointer; }
.winpop.out { opacity: 0; transition: opacity .4s; }
.wp-box { background: #0b0a12; border: 2px solid #7ee787; border-radius: 22px; padding: 22px 38px; text-align: center; box-shadow: 0 0 0 6px rgba(126,231,135,.12), 0 18px 50px rgba(0,0,0,.6); animation: wpPop .45s cubic-bezier(.2,1.4,.4,1) both; }
.wp-box b { display: block; font-size: 2.3rem; font-weight: 900; color: #7ee787; letter-spacing: .5px; } .wp-box.big b { font-size: 2.8rem; }
.wp-box span { display: block; margin-top: 10px; font-weight: 700; color: #cfcbe2; } .wp-box em { display: block; margin-top: 4px; font-style: normal; font-weight: 900; font-size: 1.35rem; color: #fff; }
.wp-sp { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.wp-sp i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #7ee787; opacity: 0; animation: wpSp var(--t) ease-out .15s both; } .wp-sp i:nth-child(3n) { background: #a78bfa; } .wp-sp i:nth-child(3n+1) { background: #fff; }
@keyframes wpIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes wpPop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wpSp { 0% { opacity: 1; transform: rotate(var(--a)) translateX(30px); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(calc(var(--d) + 90px)) scale(.4); } }

/* premium slot machine (Fruit Frenzy, Wild West Gold) */
.gstage.prem { overflow: hidden; }
.marquee { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto 12px; width: 88%; padding: 7px 10px; border-radius: 14px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; font-size: .95rem; position: relative; box-shadow: 0 6px 16px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.25); }
.marquee i { flex: 1; height: 8px; background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 14px); border-radius: 4px; opacity: .9; animation: mqChase 1s steps(2) infinite; } .marquee i:last-child { animation-direction: reverse; }
.marquee b { white-space: nowrap; text-shadow: 0 2px 4px rgba(0,0,0,.5); }
.marquee.m-fruit { background: linear-gradient(180deg, #e0526b, #a42a45); color: #fff; } .marquee.m-fruit i { background: repeating-linear-gradient(90deg, #ffd6df 0 6px, transparent 6px 14px); }
.marquee.m-wildwest { background: linear-gradient(180deg, #8a5a33, #583520); color: #f5e3c3; border: 2px solid #3b2415; } .marquee.m-wildwest i { background: repeating-linear-gradient(90deg, #f0d6a4 0 6px, transparent 6px 14px); }
@keyframes mqChase { 0% { opacity: .35; } 50% { opacity: 1; } 100% { opacity: .35; } }
.slotbox.prem-fruit { border: 7px solid #c63b58; border-radius: 18px; box-shadow: 0 0 0 3px #7a1e33, inset 0 0 18px rgba(0,0,0,.6), 0 10px 24px rgba(0,0,0,.5); }
.slotbox.prem-wildwest { border: 8px solid #6b4427; border-radius: 10px; box-shadow: 0 0 0 3px #3b2415, inset 0 0 18px rgba(0,0,0,.65), 0 10px 24px rgba(0,0,0,.55); background: #20140c; }
.wp-coins { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 31; }
.wp-coins i { position: absolute; top: -24px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff2c2, #e2b64d 55%, #a67a1f); box-shadow: 0 2px 4px rgba(0,0,0,.4); animation: wpFall 1.6s ease-in both; }
@keyframes wpFall { 0% { transform: translateY(0) rotateY(0); opacity: 1; } 100% { transform: translateY(420px) rotateY(540deg); opacity: .9; } }

/* jackpot room */
.jp-scene { border-radius: 20px; margin: 10px 0 14px; padding: 4px 0; background: radial-gradient(90% 70% at 50% 35%, #2b2058, #0e0b1c 80%); border: 1px solid var(--line); overflow: hidden; }
.jp-scene.scene { background: linear-gradient(rgba(8,6,18,.15), rgba(8,6,18,.55)), var(--scene) center / cover no-repeat; border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.jp-scene .stage { margin: 18px auto 20px; }
.stage::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(167,139,250,.0), 0 0 40px rgba(124,92,240,.0); transition: box-shadow .4s; pointer-events: none; }
.stage.spin::before { animation: jpGlow 1.1s ease-in-out infinite; }
@keyframes jpGlow { 0%, 100% { box-shadow: 0 0 0 2px rgba(167,139,250,.35), 0 0 26px rgba(124,92,240,.35); } 50% { box-shadow: 0 0 0 3px rgba(196,181,253,.7), 0 0 48px rgba(124,92,240,.6); } }
.jp-scene .jp-title, .jp-scene .winpop { z-index: 30; }

/* Andar Bahar rows and Red Dog gap line */
.abrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-height: 56px; }
.abrow .pc { width: 36px; height: 52px; border-radius: 6px; } .abrow .pc .pr { font-size: .72rem; left: 4px; top: 3px; } .abrow .pc .ps { display: none; } .abrow .pc .pm { width: 17px; height: 17px; }
.rd-spread { text-align: center; font-size: .78rem; letter-spacing: 1.4px; text-transform: uppercase; color: #cfe6dc; font-weight: 700; min-height: 18px; margin-top: 10px; }

/* Coin Flip: a real looking coin that is tossed and spins in 3D */
.cf-stage { padding-top: 14px; }
.coin-wrap { perspective: 900px; height: 190px; position: relative; margin-bottom: 4px; }
.coin-toss { position: absolute; left: 50%; top: 40px; width: 112px; height: 112px; margin-left: -56px; }
.coin-toss.up { animation: coinToss 1.7s cubic-bezier(.3,.7,.4,1) both; }
@keyframes coinToss { 0% { transform: translateY(0) scale(1); } 45% { transform: translateY(-62px) scale(1.18); } 100% { transform: translateY(0) scale(1); } }
.coin { position: relative; width: 112px; height: 112px; transform-style: preserve-3d; transform: rotateX(12deg); transition: transform 1.7s cubic-bezier(.2,.75,.3,1); }
.cface { position: absolute; inset: 0; border: 0; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: block; padding: 0; background: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.cface svg { width: 100%; height: 100%; display: block; }
.cf-h { transform: translateZ(5.5px); } .cf-t { transform: rotateY(180deg) translateZ(5.5px); }
.cedge { position: absolute; inset: 0; transform-style: preserve-3d; }
.cedge i { position: absolute; inset: 0; border-radius: 50%; background: #7d6b45; }
.cedge i:nth-child(odd) { background: #94815a; }
.coin-shadow { position: absolute; left: 50%; bottom: 14px; width: 92px; height: 14px; margin-left: -46px; border-radius: 50%; background: rgba(0,0,0,.42); filter: blur(5px); }
.coin-shadow.up { animation: coinShadow 1.7s cubic-bezier(.3,.7,.4,1) both; }
@keyframes coinShadow { 0% { transform: scale(1); opacity: .9; } 45% { transform: scale(.55); opacity: .4; } 100% { transform: scale(1); opacity: .9; } }
.cf-hist { display: flex; justify-content: center; gap: 6px; min-height: 26px; margin-bottom: 8px; }
.cf-hist span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; font-family: Georgia, serif; background: #b9a678; color: #4a3f26; }
.cf-hist span.tails { background: #8f8a9f; color: #25212f; }
.gstage.scene .cf-hist span, .gstage.scene .coin-shadow { box-shadow: 0 1px 4px rgba(0,0,0,.4); }

/* Plinko */
.pk-stage { position: relative; background: radial-gradient(90% 70% at 50% 20%, #1f1b33, #0f0c1b 85%); }
.pk-recent { position: absolute; top: 10px; right: 12px; display: flex; gap: 5px; z-index: 3; }
.pk-recent span { font-size: .68rem; font-weight: 800; padding: 3px 7px; border-radius: 7px; background: rgba(20,16,34,.78); color: #e6ddc0; }
.pk-recent span.dn { color: #f0a0ad; }

/* bet box with minus and plus, bet ID line and receipt */
.bet-row .btn.step { flex: none; width: 40px; padding: 0; font-size: 1.15rem; font-weight: 700; line-height: 1; }
.bet-row .input { text-align: center; }
.betid { display: flex; align-items: center; gap: 8px; margin: 2px auto 14px; padding: 8px 14px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); color: var(--text); font-size: .76rem; cursor: pointer; width: fit-content; max-width: 100%; }
.betid span { color: var(--muted); } .betid b { letter-spacing: .6px; font-weight: 800; } .betid em { font-style: normal; color: var(--accent2); font-weight: 700; }
.winner-row.tap { cursor: pointer; } .winner-row.tap:active { background: rgba(255,255,255,.04); }
.modal.rcpt { padding-bottom: 14px; }
.rc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; } .rc-game { font-weight: 800; font-size: 1.08rem; }
.rc-tag { font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; } .rc-tag.won { background: rgba(52,211,153,.16); color: var(--win); } .rc-tag.lost { background: rgba(244,114,128,.14); color: var(--lose); } .rc-tag.push { background: rgba(255,255,255,.08); color: var(--muted); }
.rc-id { display: flex; align-items: center; gap: 8px; background: var(--surface2); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; } .rc-id span { color: var(--muted); font-size: .74rem; } .rc-id b { letter-spacing: .8px; font-size: .98rem; } .rc-id .link { margin-left: auto; }
.rc-box { border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; } .rc-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .86rem; border-bottom: 1px solid var(--line); } .rc-row:last-child { border-bottom: 0; } .rc-row span { color: var(--muted); } .rc-row b { text-align: right; }
.rc-fair { margin-top: 12px; font-size: .68rem; color: var(--muted); display: flex; flex-direction: column; gap: 3px; word-break: break-all; } .rc-fair div { font-weight: 700; color: #b9b3d4; }
.rc-brand { text-align: center; margin-top: 12px; font-weight: 900; letter-spacing: 2px; font-size: .72rem; color: #6d6790; }

/* two bets on the crash games */
.cbp { padding: 14px 14px 12px; } .cbp-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .cbp-h b { font-size: .92rem; } .cbp-h span { font-size: .74rem; color: var(--muted); font-weight: 600; }
.cbp.placed { border-color: rgba(124,92,240,.45); }
.cb-auto { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; }
.cb-x { display: flex; align-items: center; gap: 6px; } .cb-x .input { width: 72px; text-align: center; padding-left: 6px; padding-right: 6px; } .cb-x b { color: var(--muted); font-size: .85rem; } .cb-x .btn.step { width: 36px; padding: 0; font-weight: 700; }
.sw { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: .84rem; font-weight: 600; user-select: none; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw i { position: relative; width: 40px; height: 23px; border-radius: 999px; background: #2b2542; border: 1px solid var(--line); flex: none; transition: background .2s; }
.sw i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: #8d86ab; transition: transform .2s, background .2s; }
.sw input:checked + i { background: var(--accent); } .sw input:checked + i::after { transform: translateX(17px); background: #fff; }
.sw input:disabled + i { opacity: .55; } .sw input:focus-visible + i { outline: 2px solid var(--accent2); outline-offset: 2px; }

/* Mines: navy tiles, green gems, red bombs, a row of multiplier chips, boards from 3x3 to 9x9 */
.mn-stage { padding: 12px 12px 10px; }
.mn-grid { --mn-bomb: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22%3E%3Cdefs%3E%3CradialGradient id=%22b%22 cx=%2238%25%22 cy=%2234%25%22 r=%2270%25%22%3E%3Cstop offset=%220%22 stop-color=%22%236b7488%22/%3E%3Cstop offset=%22.55%22 stop-color=%22%232c3344%22/%3E%3Cstop offset=%221%22 stop-color=%22%23151a26%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx=%2230%22 cy=%2238%22 r=%2219%22 fill=%22url(%23b)%22/%3E%3Cellipse cx=%2223%22 cy=%2230%22 rx=%226%22 ry=%224%22 fill=%22%23fff%22 opacity=%22.28%22 transform=%22rotate(-30 23 30)%22/%3E%3Crect x=%2236%22 y=%2214%22 width=%2210%22 height=%229%22 rx=%222%22 fill=%22%238d95a8%22 transform=%22rotate(35 41 18)%22/%3E%3Cpath d=%22M45 15 Q50 9 55 11%22 stroke=%22%23caa56a%22 stroke-width=%222.4%22 fill=%22none%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M56 6 L58 11 L63 12 L58 14 L57 19 L54 14 L49 13 L54 11 Z%22 fill=%22%23ffb13b%22/%3E%3Ccircle cx=%2256%22 cy=%2212%22 r=%222%22 fill=%22%23fff3c4%22/%3E%3C/svg%3E"); --mn-gem: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22%3E%3Cpolygon points=%2214,24 22,10 42,10 50,24 32,56%22 fill=%22%2338bdf8%22/%3E%3Cpolygon points=%2222,10 42,10 36,24 28,24%22 fill=%22%23e0f7ff%22/%3E%3Cpolygon points=%2214,24 22,10 28,24%22 fill=%22%237dd3fc%22/%3E%3Cpolygon points=%2250,24 42,10 36,24%22 fill=%22%237dd3fc%22/%3E%3Cpolygon points=%2214,24 28,24 32,56%22 fill=%22%230ea5e9%22/%3E%3Cpolygon points=%2228,24 36,24 32,56%22 fill=%22%23bae6fd%22/%3E%3Cpolygon points=%2236,24 50,24 32,56%22 fill=%22%230284c7%22/%3E%3Cpolygon points=%2222,10 42,10 50,24 14,24%22 fill=%22none%22 stroke=%22%23fff%22 stroke-opacity=%22.55%22 stroke-width=%221%22/%3E%3Cpolygon points=%2226,13 32,13 29,20%22 fill=%22%23fff%22 opacity=%22.8%22/%3E%3C/svg%3E"); display: grid; gap: 7px; max-width: 360px; margin: 0 auto; }
.mn-grid.g3 { grid-template-columns: repeat(3, 1fr); max-width: 300px; gap: 9px; } .mn-grid.g5 { grid-template-columns: repeat(5, 1fr); } .mn-grid.g7 { grid-template-columns: repeat(7, 1fr); gap: 5px; } .mn-grid.g9 { grid-template-columns: repeat(9, 1fr); gap: 4px; }
.mt { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; background: linear-gradient(180deg, #2c3270, #232859); box-shadow: inset 0 -3px 0 rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08); cursor: pointer; transition: transform .12s, filter .12s; }
.mn-grid.g7 .mt { border-radius: 9px; } .mn-grid.g9 .mt { border-radius: 7px; }
.mn-grid.art-tile .mt { background: var(--mn-tile) center / cover no-repeat; }
.mt:not(:disabled):hover { filter: brightness(1.18); } .mt:not(:disabled):active { transform: scale(.94); } .mt:disabled { cursor: default; }
.mt.wait { filter: brightness(1.3); }
.mt.gem, .mt.mine { background: linear-gradient(180deg, #14594a, #0e4538); box-shadow: inset 0 0 0 2px rgba(94,234,212,.35); }
.mt.mine { background: linear-gradient(180deg, #7d1f2c, #5a1620); box-shadow: inset 0 0 0 2px rgba(255,140,150,.4); }
.mt.gem::after, .mt.mine::after { content: ""; position: absolute; inset: 14%; background: center / contain no-repeat; }
.mt.gem::after { background-image: var(--mn-gem); } .mt.mine::after { background-image: var(--mn-bomb); }
.mt.pop { animation: mnPop .32s cubic-bezier(.2,1.4,.4,1); } .mt.boom { animation: mnBoom .5s ease-out; box-shadow: inset 0 0 0 2px #ff9aa6, 0 0 0 2px rgba(255,120,130,.35); }
.mt.dim { opacity: .42; }
@keyframes mnPop { 0% { transform: scale(.7); } 100% { transform: scale(1); } } @keyframes mnBoom { 0% { transform: scale(.8); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.mn-ahead { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; min-height: 26px; flex-wrap: wrap; }
.mn-ahead span { font-size: .72rem; font-weight: 800; padding: 4px 9px; border-radius: 8px; background: rgba(32,36,84,.9); color: #9fe8d3; } .mn-ahead span.now { background: #1f7a60; color: #eafff7; }
.mn-lbl { font-size: .74rem; font-weight: 600; color: var(--muted); margin: 14px 0 7px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; } .seg button { flex: 1; min-width: 48px; padding: 10px 0; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); font-weight: 700; font-size: .84rem; } .seg button.on { background: var(--accent); border-color: transparent; color: #fff; } .seg button:disabled { opacity: .5; }
.mn-custom { display: flex; align-items: center; gap: 10px; margin-top: 8px; } .mn-custom .input { width: 90px; text-align: center; }

/* Mines: the bomb explodes, the diamonds sparkle */
.mn-grid { position: relative; } .mn-grid.shake { animation: mnShake .45s ease-in-out; }
@keyframes mnShake { 0%,100% { transform: translate(0,0); } 15% { transform: translate(-5px,3px); } 30% { transform: translate(5px,-3px); } 45% { transform: translate(-4px,-2px); } 60% { transform: translate(4px,2px); } 80% { transform: translate(-2px,1px); } }
.mn-fx { position: absolute; width: 0; height: 0; pointer-events: none; z-index: 8; }
.mn-fx .ring { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 3px solid #ffb13b; animation: mnRing .6s ease-out forwards; }
.mn-fx .flash { position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #ffd27a 35%, rgba(255,120,40,0) 70%); animation: mnFlash .45s ease-out forwards; }
.mn-fx .sp { position: absolute; left: -4px; top: -4px; width: var(--s, 7px); height: var(--s, 7px); border-radius: 50%; background: var(--c, #ffb13b); animation: mnSpark .75s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes mnRing { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(4.2); opacity: 0; } }
@keyframes mnFlash { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes mnSpark { 0% { transform: translate(0,0) scale(1); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.mt.mine.blast { animation: mnBlast .4s ease-out; }
@keyframes mnBlast { 0% { transform: scale(.6); filter: brightness(2.4); } 50% { transform: scale(1.2); } 100% { transform: scale(1); filter: none; } }
.mt.gem.pop::before { content: ""; position: absolute; right: 16%; top: 12%; width: 16%; height: 16%; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: mnTwinkle .7s ease-out forwards; z-index: 2; }
@keyframes mnTwinkle { 0% { transform: scale(0) rotate(0); opacity: 1; } 60% { transform: scale(1.6) rotate(45deg); opacity: 1; } 100% { transform: scale(.4) rotate(90deg); opacity: 0; } }

/* Plinko: whatever backdrop picture is used, tint it purple so it matches the rest of the site */
.pk-stage canvas { position: relative; z-index: 2; }
.pk-stage.scene::before { display: block; content: ""; position: absolute; inset: 0; border-radius: inherit; background: #7a46d6; mix-blend-mode: color; opacity: .7; pointer-events: none; z-index: 1; }
.pk-stage.scene { background: linear-gradient(rgba(14,10,34,.45), rgba(14,10,34,.7)), var(--scene) center / cover no-repeat; }

/* ---------- wallet tabs, deposit (update 35) ---------- */
.wtabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #110f1b; border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.wtabs button { background: none; border: 0; color: var(--muted); font-weight: 700; font-size: .86rem; padding: 11px 6px; border-radius: 10px; }
.wtabs button.on { background: #2a2542; color: #fff; }
.setrow { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; } .setrow + .setrow { border-top: 1px solid var(--line); }
.setrow b { font-size: .96rem; } .setrow .muted { font-size: .8rem; margin-top: 3px; line-height: 1.45; }
.dpx { position: relative; }
.dp-lbl { font-size: .74rem; font-weight: 600; color: var(--muted); margin: 14px 0 7px; } .dp-lbl:first-child { margin-top: 0; }
.dp-sel { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #0f0d18; border: 1px solid rgba(255,255,255,.09); color: #fff; text-align: left; }
.dp-sel .cico, .dp-opt .cico { width: 32px; height: 32px; font-size: .9rem; }
.dp-sel span, .dp-opt span { display: flex; flex-direction: column; line-height: 1.25; } .dp-sel b, .dp-opt b { font-size: .98rem; } .dp-sel small, .dp-opt small { color: var(--muted); font-size: .78rem; }
.dp-car { margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-right: 4px; }
.dp-list { position: absolute; left: 16px; right: 16px; z-index: 5; margin-top: 6px; background: #17142a; border: 1px solid var(--line); border-radius: 12px; max-height: 280px; overflow: auto; padding: 6px; }
.dp-opt { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 9px; background: none; color: #fff; text-align: left; } .dp-opt:hover, .dp-opt.on { background: #2a2542; }
.dp-addr { display: flex; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: #0f0d18; overflow: hidden; }
.dp-a { flex: 1; min-width: 0; padding: 12px 14px; font-size: .92rem; font-weight: 600; word-break: break-all; line-height: 1.4; }
.dp-addr button { border: 0; border-left: 1px solid var(--line); background: #2a2542; color: #fff; font-weight: 700; font-size: .8rem; padding: 0 14px; }
.dp-qr { display: grid; place-items: center; margin: 16px auto 0; width: 200px; height: 200px; background: #fff; border-radius: 14px; } .dp-qr svg { width: 176px; height: 176px; display: block; }
.dp-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted); font-size: .84rem; } .dp-or::before, .dp-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dp-conf { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; } .dp-conf b { color: #fff; }
#dpNet { background-image: linear-gradient(45deg, transparent 50%, #8d89a3 50%), linear-gradient(135deg, #8d89a3 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

/* ---------- connection lost (update 37) ---------- */
.net-off { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: rgba(8,7,14,.88); backdrop-filter: blur(3px); text-align: center; color: var(--text); }
.net-off div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px; }
.net-off i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--accent2); animation: netspin .9s linear infinite; }
.net-off b { font-size: 1.1rem; } .net-off span { color: var(--muted); font-size: .86rem; }
@keyframes netspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .net-off i { animation: none; } }
.msg.tome { background: rgba(124,92,240,.16); border-radius: 10px; }

/* ---------- withdraw (update 38) ---------- */
.wd-sel em, .wd-opt em { margin-left: auto; text-align: right; font-style: normal; display: flex; flex-direction: column; line-height: 1.25; } .wd-sel em b, .wd-opt em b { font-size: .92rem; } .wd-sel em small, .wd-opt em small { color: var(--muted); font-size: .76rem; }
.wd-sel .dp-car { margin-left: 8px; }
.wd-list { padding: 8px; } .wd-search { padding: 2px 2px 8px; } .wd-search .input { padding: 11px 14px; font-size: .92rem; } #wdRows { max-height: 250px; overflow: auto; }
.wd-between { display: flex; justify-content: space-between; align-items: baseline; } .req { color: var(--lose); font-style: normal; }
.wd-in { display: flex; align-items: stretch; border-radius: 12px; border: 1px solid rgba(255,255,255,.09); background: #0f0d18; overflow: hidden; }
.wd-in .input { border: 0; border-radius: 0; background: none; flex: 1; min-width: 0; }
.wd-in #wdIco { display: grid; place-items: center; padding: 0 12px; }
.wd-in button { border: 0; border-left: 1px solid var(--line); background: #2a2542; color: #fff; font-weight: 700; font-size: .82rem; padding: 0 16px; }
.wd-sep { height: 1px; background: var(--line); margin: 18px 0 6px; }
.wd-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; color: var(--muted); font-size: .92rem; } .wd-row b { color: #fff; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.wd-row .cico { width: 18px; height: 18px; font-size: .6rem; }

/* Jackpot banner: the real slot machine video over its still picture */
.jpx-art .jp-img, .jpx-art .jp-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%); mask-image: linear-gradient(to right, transparent 0, #000 42%); }
.jpx-art .jp-vid { opacity: 0; transition: opacity .5s ease; } .jpx-art .jp-vid.on { opacity: 1; }
.jpx-art.has { background: #0b0a12; }
@media (prefers-reduced-motion: reduce) { .jpx-art .jp-vid { display: none; } }

/* Jackpot banner: bring the machine closer so it fills its box */
.jpx-art .jp-img, .jpx-art .jp-vid { transform: scale(1.3); transform-origin: 50% 10%; object-position: center 20%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%); mask-image: linear-gradient(to right, transparent 0, #000 16%); }
/* Blackjack banner: words on the empty sides of the dealer */
.dealer .dl-side { position: absolute; top: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; gap: 4px; pointer-events: none; width: 29%; }
.dealer .dl-l { left: 0; padding-left: 16px; align-items: flex-start; }
.dealer .dl-r { right: 0; padding-right: 14px; align-items: flex-end; text-align: right; }
.dl-tag { font-size: .6rem; letter-spacing: 2.5px; font-weight: 700; color: var(--accent2); }
.dl-big { font-size: 1.45rem; line-height: 1.05; letter-spacing: 2px; font-weight: 900; color: #fff; }
.dl-num { font-size: 2.2rem; line-height: 1; font-weight: 900; color: #fff; letter-spacing: -1px; }
.dl-sub { font-size: .7rem; color: var(--muted); line-height: 1.25; }
.dl-play { margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; font-size: .74rem; }
.dealer .dl-l, .dealer .dl-r { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (min-width: 700px) { .dealer .dl-side { width: 26%; } .dl-big { font-size: 2.2rem; } .dl-num { font-size: 3.2rem; } .dl-sub { font-size: .85rem; } .dl-play { padding: 10px 18px; font-size: .86rem; } .dealer .dl-l { padding-left: 28px; } .dealer .dl-r { padding-right: 28px; } }

/* Top winners: every rank number sits in a clear round badge (4 and 5 used to blend into the card) */
.rank { background: transparent; border: 1.5px solid #4a3f7a; color: #cfc8ea; }
.rank.top { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Deposit: waiting for confirmation, then confirmed */
.dp-state { text-align: center; padding: 22px 6px 6px; }
.dp-state h2 { font-size: 1.25rem; font-weight: 800; margin: 14px 0 8px; }
.dp-state p { color: var(--muted); font-size: .88rem; line-height: 1.55; margin: 0 auto 18px; max-width: 320px; }
.dp-spin { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; border: 5px solid rgba(124,92,240,.22); border-top-color: var(--accent); animation: dpSpin 1s linear infinite; }
@keyframes dpSpin { to { transform: rotate(360deg); } }
.dp-tick { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: #1f9d6b; display: grid; place-items: center; animation: dpPop .45s ease both; }
.dp-tick svg { width: 34px; height: 34px; }
@keyframes dpPop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.dp-sum { background: var(--surface2); border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; margin: 0 0 18px; text-align: left; }
.dp-sum > div { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.dp-sum > div:last-child { border-bottom: 0; }
.dp-sum span { color: var(--muted); } .dp-sum b { font-weight: 700; }
.dp-pend { color: #e0b24c; } .dp-done { color: var(--win, #34d399); }
@media (prefers-reduced-motion: reduce) { .dp-spin { animation-duration: 3s; } .dp-tick { animation: none; } }

/* the "I am not a robot" box */
.cf-box { display: flex; justify-content: center; margin: 2px 0 12px; min-height: 0; }
.cf-box iframe { max-width: 100%; }

/* ---------- Update 51: winners tabs, game page extras, footer, cookie ---------- */
.wtabs { display: flex; gap: 6px; margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.wtabs button { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--muted); padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 0.82rem; }
.wtabs button.on { background: rgba(124,92,240,0.18); border-color: rgba(167,139,250,0.5); color: #fff; }
.wtabs.sm button { padding: 7px 12px; font-size: 0.78rem; }
.wdays { display: flex; gap: 6px; margin-bottom: 10px; }
.wdays button { border: none; background: none; color: var(--muted); font-weight: 700; font-size: 0.76rem; padding: 4px 8px; border-radius: 8px; }
.wdays button.on { color: var(--accent2); background: rgba(124,92,240,0.12); }
.gx { margin-top: 16px; }
.gx-guest { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gx-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: center; }
.gx-info div span { display: block; font-size: 0.68rem; color: var(--muted); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.gx-info div b { font-size: 0.95rem; }
.gx-info .btn { grid-column: 1 / -1; }
.hof-hd { margin-bottom: 10px; }
.hof-row { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 12px; background: var(--surface2); margin-bottom: 8px; }
.hof-row b { font-size: 0.92rem; } .hof-row em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--win); }
.hof-rank { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; flex: none; background: transparent; border: 1.5px solid #4a3f7a; color: #cfc8ea; }
.hof-rank.r1, .hof-rank.r2, .hof-rank.r3 { background: var(--accent); border-color: var(--accent); color: #fff; }
.vipban { display: flex; align-items: center; gap: 14px; cursor: pointer; border-color: rgba(167,139,250,0.35); }
.vipban .vip-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(124,92,240,0.2); color: var(--accent2); flex: none; }
.vipban b { display: block; } .vipban span { font-size: 0.78rem; color: var(--muted); } .vipban .chev { margin-left: auto; color: var(--muted); font-size: 1.4rem; font-style: normal; }
.foot-extra { display: grid; gap: 22px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.foot-coins b, .foot-faq b { display: block; margin-bottom: 12px; font-size: 0.9rem; }
.foot-coins > div { display: flex; flex-wrap: wrap; gap: 8px; }
.fc { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: var(--surface2); font-size: 0.76rem; font-weight: 700; }
.fc img { width: 18px; height: 18px; border-radius: 50%; }
.foot-faq details { background: var(--surface2); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.foot-faq summary { cursor: pointer; font-weight: 700; font-size: 0.86rem; }
.foot-faq details p { margin-top: 8px; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.cookie { position: fixed; left: 12px; right: 12px; bottom: calc(var(--nav-h) + 10px); z-index: 80; max-width: 440px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); }
.cookie small { display: block; color: var(--muted); font-size: 0.74rem; }
@media (min-width: 720px) { .foot-extra { grid-template-columns: 1fr 1fr; } .gx-info { grid-template-columns: repeat(4, 1fr) auto; } .gx-info .btn { grid-column: auto; } }

/* Blackjack: live dealer behind the table */
.gstage.bjv { position: relative; overflow: hidden; }
.bj-bg { position: absolute; inset: 0; z-index: 0; background: #0d0b14; }
.bj-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: .9; display: block; }
.bj-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,11,20,.35) 0%, rgba(13,11,20,.15) 38%, rgba(13,11,20,.72) 100%); }
.gstage.bjv > *:not(.bj-bg) { position: relative; z-index: 1; }
.gstage.bjv { padding-top: 150px; }
.gstage.bjv .tbl-rule { opacity: .55; }

/* Blackjack banner on a computer screen: the whole dealer is shown (not just her head), and the picture fades into the dark sides */
@media (min-width: 700px) {
  .jpx.dealer { height: 360px; background: #09070c; }
  .dealer .dl-img, .dealer .dl-vid { inset: 0 auto 0 50%; width: auto; height: 100%; aspect-ratio: 960 / 548; transform: translateX(-50%); object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%); }
}
/* scroll bars under the game rows were plain white: dark and thin now */
body { scrollbar-color: #3a3160 transparent; }
.ggrid::-webkit-scrollbar { height: 6px; } .ggrid::-webkit-scrollbar-track { background: transparent; } .ggrid::-webkit-scrollbar-thumb { background: #3a3160; border-radius: 6px; }

/* promo cards (home): glide sideways and pause */
.promo { overflow: hidden; margin: 6px 0 18px; border-radius: 18px; }
.promo-track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.promo-card { position: relative; flex: 0 0 auto; width: min(64vw, 250px); aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #120f1d; border: 1px solid var(--line); cursor: pointer; }
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.promo-card:after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: linear-gradient(180deg, rgba(13,11,20,0), rgba(13,11,20,.88) 55%, #0d0b14); }
.promo-txt { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.promo-tag { font-size: .66rem; font-weight: 700; letter-spacing: 2px; color: var(--accent2); }
.promo-big { font-size: 2rem; font-weight: 800; line-height: 1.05; }
.promo-sub { font-size: .74rem; color: #aeb2c0; margin-bottom: 8px; }
.promo-btn { display: block; width: 100%; padding: 9px 0; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; font-size: .86rem; }
@media (min-width: 900px) { .promo-card { width: 260px; } }
@media (prefers-reduced-motion: reduce) { .promo-track { transition: none !important; } }

.cookie .ck-btns { display: flex; gap: 8px; flex: 0 0 auto; }
