
body[data-game="roulette"] .roulette-felt{padding:clamp(12px,2.1vw,32px);gap:clamp(12px,2vh,24px);justify-content:center}
.roulette-heading{width:min(100%,1550px);display:flex;justify-content:space-between;align-items:center;gap:16px}
.roulette-heading h1{margin:2px 0;font-size:clamp(1.5rem,2.8vw,2.6rem);color:#f3dfa4}.roulette-heading .eyebrow{margin:0}
.roulette-heading .table-message{max-width:65%;font-size:clamp(.9rem,1.4vw,1.2rem);text-align:right}
.roulette-layout{width:min(100%,1550px);display:grid;grid-template-columns:minmax(220px,.88fr) minmax(0,1.65fr);grid-template-areas:"wheel board" "controls controls";align-items:center;gap:clamp(12px,2vw,32px)}
.wheel-panel{grid-area:wheel;display:grid;justify-items:center;align-content:center;gap:8px;min-width:0}
#wheel-display{width:min(100%,460px);height:auto;display:block;filter:drop-shadow(0 12px 16px #001b);overflow:visible}
#wheel-rotor,#ball-orbit{transform-origin:200px 200px;transition:transform 4.4s cubic-bezier(.11,.62,.12,1)}
#ball-position{transition:transform 4.4s cubic-bezier(.12,.62,.3,1)}
.wheel-caption{display:flex;align-items:center;gap:12px;font-size:.84rem;color:#dbcaa5}.wheel-caption strong{display:grid;place-items:center;min-width:44px;height:44px;border-radius:50%;border:1px solid #dfc17b;background:#11382c;font-size:1.2rem;color:white}
.recent-results{display:flex;gap:5px;min-height:24px;flex-wrap:wrap;justify-content:center}.recent-results span{display:grid;place-items:center;border:1px solid #fff4;border-radius:50%;width:25px;height:25px;font-size:.7rem;font-weight:700}
.board-panel{grid-area:board;min-width:0;width:100%;padding:clamp(5px,1.2vw,16px);border:1px solid #d1b87877;border-radius:14px;background:#215842;box-shadow:inset 0 0 28px #0016}
.board-title{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 4px 10px;color:#e8d19a;font-weight:700;font-size:.92rem}.board-title span:last-child{font-size:.73rem;color:#e9dfbf;text-align:right;font-weight:500}
#bet-board{width:100%;height:auto;display:block;overflow:visible;touch-action:manipulation;user-select:none}
.bet-target{cursor:pointer;outline:none}.bet-target .hit{fill:transparent;stroke:none;pointer-events:all}
.bet-target .hit:focus,.bet-target:hover .hit,.bet-target:focus-visible .hit,.bet-target.active .hit{fill:#ffe29b;fill-opacity:.27;stroke:#ffe29b;stroke-width:1.6}
.bet-target.line-target .hit{fill:#f8e7a7;fill-opacity:.10;stroke:#f8e7a7;stroke-opacity:.35;stroke-width:.7}
.bet-target.line-target:hover .hit,.bet-target.line-target:focus-visible .hit,.bet-target.line-target.active .hit{fill-opacity:.6;stroke-opacity:1}
#bet-board.locked .bet-target{cursor:default;pointer-events:none}
.chip-marker{pointer-events:none;filter:drop-shadow(0 2px 1px #0009)}
.marker-arrival{animation:marker-in .24s ease-out;transform-origin:center;transform-box:fill-box}
@keyframes marker-in{from{opacity:.2;transform:scale(1.6) translateY(-8px)}to{opacity:1;transform:scale(1)}}
.roulette-controls{grid-area:controls;display:flex;justify-content:space-between;align-items:center;gap:clamp(8px,1.8vw,25px);flex-wrap:wrap;background:#33281f;border:1px solid #b99555;border-radius:16px;padding:clamp(10px,1.8vw,22px);box-shadow:0 8px 22px #0017}
.tray-section{min-width:0}.control-label{font-size:.78rem;color:#dfc99a;margin:0 0 8px}.control-label b{color:white;margin-left:6px}
.roulette-controls .chips-tray{justify-content:flex-start}.roulette-controls .chip{touch-action:none}
.bet-summary{display:flex;flex-direction:column;gap:3px;font-size:.85rem;color:#e2d3b2}.bet-summary strong{display:block;font-size:1.6rem;color:#fff0b0}
.roulette-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.roulette-buttons .btn-gold{min-width:125px}
.drag-chip{position:fixed;z-index:40;pointer-events:none;transform:translate(-50%,-50%);opacity:.92}
@media(max-width:1000px) and (min-width:721px){.roulette-layout{grid-template-columns:minmax(180px,.7fr) minmax(0,1.6fr);gap:12px}.roulette-controls{justify-content:center}.roulette-controls .chip{width:48px;height:48px}}
@media(max-width:720px){body[data-game="roulette"] .roulette-felt{padding:12px 7px}.roulette-heading{flex-direction:column;align-items:center;gap:4px}.roulette-heading .table-message{max-width:100%;text-align:center}.roulette-layout{grid-template-columns:1fr;grid-template-areas:"wheel" "controls" "board";gap:12px}.wheel-panel{gap:5px}#wheel-display{width:min(64vw,300px)}.wheel-caption strong{width:34px;height:34px;font-size:1rem}.roulette-controls{position:sticky;top:0;z-index:6;padding:10px;gap:8px;justify-content:space-between}.tray-section{width:100%}.roulette-controls .chips-tray{justify-content:center;gap:clamp(6px,2.4vw,16px)}.roulette-controls .chip{width:clamp(39px,11vw,57px);height:clamp(39px,11vw,57px);font-size:.8rem}.control-label{margin-bottom:5px}.bet-summary{flex-direction:row;align-items:center;gap:6px;font-size:.72rem}.bet-summary strong{display:inline;font-size:1rem}.roulette-buttons{gap:4px}.roulette-buttons .btn{min-height:34px;padding:6px 8px;font-size:.75rem}.roulette-buttons .btn-gold{min-width:0}.board-panel{padding:7px;max-width:510px;margin:auto}.board-title{font-size:.85rem}.game-note{font-size:.72rem}}
@media(max-height:520px) and (orientation:landscape){.roulette-controls{position:static}}
