/* Casino Score Live — Lightning Roulette page components */

/* roulette number tokens */
.rt-num{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;font-weight:800;font-size:.92rem;color:#fff;line-height:1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 1px 3px rgba(0,0,0,.4)}
.rt-num.red{background:linear-gradient(180deg,#e5544b,#c23c34)}
.rt-num.black{background:linear-gradient(180deg,#2b2f3b,#171a22)}
.rt-num.green{background:linear-gradient(180deg,#46c988,#2f9c66)}
.rt-num.sm{width:26px;height:26px;font-size:.8rem}
.rt-num.lg{width:40px;height:40px;font-size:1.05rem}

/* live spin history strip of recent results */
.result-strip{display:flex;flex-wrap:wrap;gap:8px;align-items:center}

/* lightning multiplier badge */
.mult-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:999px;font-weight:800;font-size:.82rem;color:#161018;background:linear-gradient(180deg,#ffdd80,#f7c948);box-shadow:0 1px 4px rgba(247,201,72,.35)}
.mult-badge::before{content:"\26A1";font-size:.8rem}
.mult-dash{color:var(--faint)}

/* number board (0 + 3x12 grid) */
.rt-board-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.rt-board{display:flex;gap:6px;min-width:640px}
.rt-zero{display:flex;align-items:stretch}
.rt-grid{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:1fr;gap:6px;flex:1}
.rt-cell{position:relative;border-radius:8px;padding:8px 4px 6px;text-align:center;background:var(--surface-2);border:1px solid var(--border);overflow:hidden}
.rt-cell .rt-num{width:28px;height:28px;font-size:.82rem;margin:0 auto}
.rt-zero .rt-cell{display:flex;flex-direction:column;justify-content:center;min-width:46px}
.rt-cell .rt-c{display:block;margin-top:5px;font-size:.72rem;color:var(--muted);font-weight:700}
.rt-cell .rt-heat{position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--gold)}
.rt-cell.hot{border-color:rgba(229,84,75,.55);box-shadow:0 0 0 1px rgba(229,84,75,.25) inset}
.rt-cell.cold{opacity:.72}
.rt-legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:12px;font-size:.85rem;color:var(--muted)}
.rt-legend span{display:inline-flex;align-items:center;gap:6px}
.rt-legend i{width:12px;height:12px;border-radius:3px;display:inline-block}

/* horizontal bar stats */
.statbars{display:grid;grid-template-columns:repeat(2,1fr);gap:16px 26px}
.bar-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px}
.bar-card h4{margin:0 0 12px}
.bar-row{margin:9px 0}
.bar-top{display:flex;justify-content:space-between;font-size:.9rem;margin-bottom:5px}
.bar-top b{font-weight:700}
.bar-top .v{color:var(--muted);font-variant-numeric:tabular-nums}
.bar-track{height:9px;border-radius:999px;background:var(--surface-2);overflow:hidden;border:1px solid var(--border)}
.bar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#5e9fe8,#8ab8f0)}
.bar-fill.red{background:linear-gradient(90deg,#e5544b,#f07b74)}
.bar-fill.black{background:linear-gradient(90deg,#454a5a,#2b2f3b)}
.bar-fill.green{background:linear-gradient(90deg,#46c988,#6bd7a1)}
.bar-fill.gold{background:linear-gradient(90deg,#f7c948,#ffdd80)}

@media(max-width:760px){.statbars{grid-template-columns:1fr}}
@media(max-width:520px){.rt-num{width:28px;height:28px;font-size:.82rem}}
