/* Рулетка: the top arc of the wheel (canvas) over a table of raised tiles, all on the dark stage */
.rlt-frame .g-stage { position: relative; padding: 0 12px 7px; }
/* history chips: only the right corner, clear of the pointer; the number is the chip, its colour the pocket */
.rlt-frame .history { left: auto; width: 126px; top: 6px; }
.rlt-frame .hchip { min-width: 34px; color: #ffffff; }
.rlt-frame .hchip.rlt-hr { background: #e5323e; }
.rlt-frame .hchip.rlt-hb { background: #262838; }
.rlt-frame .hchip.rlt-hg { background: #17a862; }
.rlt-frame .hchip.w { box-shadow: inset 0 0 0 2px #d4ff3a, 0 0 10px rgba(212,255,58,.35); }

.rlt-wheel { position: relative; height: 112px; }
.rlt-cv { display: block; width: 100%; height: 112px; }
/* the number that came, large in its colour, under the pointer */
.rlt-num { position: absolute; left: 50%; top: 64px; height: 44px; min-width: 66px; padding: 0 14px; border-radius: 12px; display: grid; place-items: center; opacity: 0; transform: translateX(-50%); pointer-events: none; color: #ffffff; }
.rlt-num b { font-size: 36px; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.rlt-num.rlt-r { background: #e5323e; box-shadow: 0 4px 0 #9e1c27, 0 0 26px rgba(229,50,62,.45); }
.rlt-num.rlt-b { background: #262838; box-shadow: 0 4px 0 #111219, inset 0 0 0 1.5px rgba(255,255,255,.16), 0 0 22px rgba(0,0,0,.6); }
.rlt-num.rlt-g { background: #17a862; box-shadow: 0 4px 0 #0c6b3c, 0 0 26px rgba(23,168,98,.5); }

/* table: 0, the numbers 6 × 6 (two rows = one dozen), the dozens, two rows of outside bets */
.rlt-table { margin-top: 4px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding-bottom: 3px; }
.rlt-c { --f: #2f3248; --e: #181a26; height: 36px; border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 55%) var(--f); box-shadow: 0 3px 0 var(--e); color: #ffffff; font-size: 15px; font-weight: 800; min-width: 0; }
.rlt-c.kt:not(:disabled):not(.kt-open):active { top: 2px; background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 55%) var(--f); box-shadow: 0 1px 0 var(--e); }
.rlt-c.rlt-r { --f: #e5323e; --e: #9e1c27; }
.rlt-c.rlt-b { --f: #262838; --e: #101118; }
.rlt-c.rlt-g { --f: #17a862; --e: #0c6b3c; }
.rlt-zero { grid-column: 1 / -1; font-size: 16px; }
.rlt-c.rlt-o { grid-column: span 2; font-size: 13px; font-weight: 800; }
.rlt-l { pointer-events: none; white-space: nowrap; }
.rlt-lock .rlt-c { pointer-events: none; }
/* the chip on a spot: a gold disc with the amount */
.rlt-chip { position: absolute; z-index: 3; top: -5px; right: -4px; height: 17px; min-width: 17px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; background: #ffc337; color: #1a1206; font-size: 10.5px; font-style: normal; font-weight: 900; line-height: 1; white-space: nowrap; box-shadow: 0 0 0 1.5px #0a0b10, inset 0 0 0 1.5px #d99a14, 0 2px 4px rgba(0,0,0,.5); pointer-events: none; }
.rlt-chip[hidden] { display: none; }
/* the number that came stays outlined; winning spots flash lime */
.rlt-c.rlt-last { box-shadow: 0 3px 0 var(--e), inset 0 0 0 2px #ffffff; z-index: 1; }
.rlt-c.rlt-hit { box-shadow: 0 3px 0 var(--e), inset 0 0 0 2px #d4ff3a, 0 0 18px rgba(212,255,58,.55); z-index: 2; }

/* undo and clear sit either side of the main button */
.rlt-ctl { grid-template-columns: 62px minmax(0, 1fr) 62px; }
.rlt-ctl > :not(.rlt-tool):not(.play) { grid-column: 1 / -1; }
.rlt-tool { height: 52px; margin-bottom: 4px; padding: 0; flex-direction: column; gap: 2px; box-shadow: 0 4px 0 #181a26; }
.rlt-tool svg { flex: none; }
.rlt-tool small { font-size: 10.5px; font-weight: 700; color: var(--fg2); }
.rlt-tool:not(:disabled):active { transform: translateY(3px); box-shadow: 0 1px 0 #181a26; }
.rlt-tool:disabled { opacity: .45; }
