/* ============================================================
   The Bone Wheel (roulette, a page of the Gambler tab, js/roulette.js). Everything is prefixed .rl-
   ============================================================ */
.rl-root { display: flex; flex-direction: column; gap: 16px; }
.rl-small { font-size: 12px; }
.rl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rl-head h2 .muted { font-size: 13px; letter-spacing: 0; }
.rl-limit { font-size: 13px; }
.rl-top { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; margin-top: 6px; }
.rl-wheelcol { display: flex; flex-direction: column; gap: 10px; align-items: center; width: 300px; }
#rl-cv { width: 300px; height: 300px; border-radius: 50%; box-shadow: 0 0 0 2px #3a2814, 0 0 30px rgba(0,0,0,.8), 0 0 60px rgba(200,120,40,.12); }
.rl-hist { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; max-width: 300px; }
.rl-hist .rl-small { width: 100%; text-align: center; }
.rl-pill { min-width: 26px; padding: 2px 4px; text-align: center; border-radius: 4px; font: bold 13px var(--f-text); font-variant-numeric: lining-nums tabular-nums; color: #f2e2bc; border: 1px solid rgba(232,190,110,.25); }
.rl-pill.first { outline: 2px solid #e8b04a; outline-offset: 1px; }
.rl-pill.rl-red { background: #8e1b14; } .rl-pill.rl-black { background: #17120e; } .rl-pill.rl-green { background: #1e5b34; }

.rl-boardcol { display: flex; flex-direction: column; gap: 10px; flex: 1 1 680px; min-width: 0; }
.rl-board { position: relative; flex: none; background: #120d09; border: 2px solid #8a6430; border-radius: 6px; box-shadow: inset 0 0 30px #000, 0 0 0 4px #1d140c, 0 6px 24px rgba(0,0,0,.6); user-select: none; }
.rl-board > div { position: absolute; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rl-num, .rl-out { border: 1px solid rgba(201,154,72,.55); }
.rl-num .rl-lbl { font: bold 17px var(--f-text); font-variant-numeric: lining-nums; color: #f2e2bc; text-shadow: 0 1px 2px #000; }
.rl-num.rl-red { background: radial-gradient(circle at 50% 40%, #a8261c, #6e140e); }
.rl-num.rl-black { background: radial-gradient(circle at 50% 40%, #2a221b, #110d0a); }
.rl-num.rl-green { background: radial-gradient(circle at 50% 50%, #2a7445, #123a22); border-radius: 4px 0 0 4px; }
.rl-num.rl-green .rl-lbl { font-size: 20px; }
.rl-out { background: rgba(26,18,11,.9); }
.rl-out .rl-lbl { font: 13px var(--f-ui); letter-spacing: .03em; color: #d8c49a; text-align: center; line-height: 1.1; }
.rl-out.rl-red .rl-lbl { color: #d8352a; font-size: 22px; } .rl-out.rl-black .rl-lbl { color: #0a0806; font-size: 22px; -webkit-text-stroke: 1px #8a6430; }
.rl-num:hover, .rl-out:hover, .rl-cov { box-shadow: inset 0 0 0 2px #ffd27a, inset 0 0 18px rgba(255,200,90,.35); z-index: 1; }
.rl-hot { z-index: 3; border-radius: 50%; }
.rl-hot:hover { background: rgba(255,210,122,.45); box-shadow: 0 0 8px #ffd27a; }
.rl-hit { box-shadow: inset 0 0 0 3px #fff1b0, 0 0 22px rgba(255,220,140,.8) !important; z-index: 2; animation: rl-pulse 1s ease-in-out infinite alternate; }
@keyframes rl-pulse { from { filter: brightness(1); } to { filter: brightness(1.35); } }

/* chips, on the board and in the rack */
.rl-chip { --c: #8a8a8a; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font: bold 10.5px var(--f-text); font-variant-numeric: lining-nums; color: #fff; text-shadow: 0 1px 1px #000;
  background: radial-gradient(circle, var(--c) 0 52%, transparent 53%), repeating-conic-gradient(var(--c) 0 30deg, #f2e2bc 30deg 45deg); box-shadow: 0 2px 4px rgba(0,0,0,.7), inset 0 0 0 2px rgba(0,0,0,.35); pointer-events: none; }
.rl-board .rl-chip { position: absolute; z-index: 4; }
.rl-hot .rl-chip { width: 24px; height: 24px; font-size: 9.5px; }
.rl-chip.c10 { --c: #6f6a62; } .rl-chip.c25 { --c: #2f6e3a; } .rl-chip.c50 { --c: #2b55a0; } .rl-chip.c100 { --c: #1b1410; }
.rl-chip.c250 { --c: #7a2fa8; } .rl-chip.c500 { --c: #a8261c; } .rl-chip.c1000 { --c: #b8862a; } .rl-chip.c5000 { --c: #d8d0c0; color: #2a1c10; text-shadow: none; }
.rl-chip.won { box-shadow: 0 0 0 2px #fff1b0, 0 0 14px #ffd27a; }
.rl-chip.lost { opacity: .35; filter: grayscale(.8); }
.rl-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rl-chipbtn { background: none; border: 2px solid transparent; border-radius: 50%; padding: 3px; cursor: pointer; }
.rl-chipbtn .rl-chip { width: 40px; height: 40px; font-size: 12px; }
.rl-chipbtn:hover:not(:disabled) { transform: translateY(-2px); }
.rl-chipbtn.sel { border-color: #ffd27a; box-shadow: 0 0 12px rgba(255,210,122,.5); }
.rl-chipbtn:disabled { opacity: .3; cursor: not-allowed; }
.rl-msg { min-height: 22px; font: 15px var(--f-text); color: #e8d8b8; }
.rl-msg b { color: #ffd76a; }
.rl-ctrl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rl-on { margin-right: auto; font-variant-numeric: lining-nums tabular-nums; }
.rl-on b { color: #ffd76a; }
.rl-spin { min-width: 110px; font-size: 16px; }
.rl-oddsbox { flex: 2 1 520px; }
.rl-stats { flex: 1 1 260px; }
.rl-odds td, .rl-odds th { font-variant-numeric: lining-nums tabular-nums; }
