/* Roulette */

.balance-chip { font-size: 0.95rem; font-weight: 600; color: #2c3e50; }
.vp-mono { font-family: monospace; font-size: 0.72rem; word-break: break-all; color: #455a64; }

/* ── Spinning reel ── */
.roulette-reel-viewport {
    position: relative;
    overflow: hidden;
    height: 66px;
    border-radius: 10px;
    background: #14532d;
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.45);
}
.roulette-reel-pointer {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 0;
    transform: translateX(-50%);
    border-left: 2px solid #fbdd11;
    z-index: 2;
}
.roulette-reel-pointer::before,
.roulette-reel-pointer::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}
.roulette-reel-pointer::before { top: 0;    border-top: 8px solid #fbdd11; }
.roulette-reel-pointer::after  { bottom: 0; border-bottom: 8px solid #fbdd11; }
.roulette-reel-track {
    display: flex;
    height: 100%;
    will-change: transform;
}
.roulette-cell {
    flex: 0 0 56px;     /* must match CELL_W in roulette.pug */
    width: 56px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.35);
}

/* Colors shared by reel cells and bet buttons */
.c-red   { background: #c0392b; }
.c-black { background: #2c3e50; }
.c-green { background: #1e7a46; }

/* ── Result banner ── */
.roulette-result {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 16px;
    padding: 10px;
    border-radius: 8px;
    text-transform: capitalize;
}
.roulette-result.win  { background: #e8f8ee; color: #1e7a46; border: 1px solid #b6e3c7; }
.roulette-result.lose { background: #f4f5f7; color: #7a7a7a; border: 1px solid #e0e0e0; }

/* ── Bet selection ── */
.roulette-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.roulette-num {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.roulette-outside {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.roulette-out {
    flex: 1 1 auto;
    min-width: 90px;
    padding: 8px 10px;
    border: 1px solid #cfd8dc;
    border-radius: 6px;
    background: #f8fafc;
    font-weight: 600;
    cursor: pointer;
}
.roulette-out.c-red   { background: #c0392b; color: #fff; border: none; }
.roulette-out.c-black { background: #2c3e50; color: #fff; border: none; }

.roulette-num.sel,
.roulette-out.sel {
    outline: 3px solid #fbdd11;
    outline-offset: 1px;
    box-shadow: 0 0 8px rgba(251, 221, 17, 0.7);
}

.roulette-selected { font-weight: 700; color: #2c3e50; }

/* Result number badge (history / leaderboard) */
.roulette-chip {
    display: inline-block;
    min-width: 28px;
    text-align: center;
    padding: 2px 7px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
}
