/* CASINOIR v0.50.00 | AMERICAN ROULETTE FIRST RELEASE.
   Native DOM/SVG interaction, no decorative generated image or external audio dependency. */
#roulette{background:radial-gradient(ellipse at 48% 7%,#1e4533 0%,#10251e 50%,#050b0a 100%);gap:5px}
#roulette .rt-header{border-bottom:1px solid #ad895480;padding-bottom:4px}
#roulette .rt-header h2{font:700 clamp(15px,2vw,24px) Georgia,serif;letter-spacing:.11em;text-shadow:0 2px 4px #0008}
#roulette .rt-header h2 span{font:700 9px system-ui;letter-spacing:.07em}
#roulette .rt-main-layout{grid-template-columns:minmax(152px,26%) minmax(0,1fr);gap:8px}
#roulette .rt-wheel-area{position:relative;border:3px double #a88a51;border-radius:55px 55px 13px 13px/25px 25px 13px 13px;background:radial-gradient(ellipse at 50% 50%,#23583c 0%,#103122 70%,#071a13 100%);box-shadow:inset 0 0 35px #0008,0 3px 9px #0009;overflow:hidden;padding:8px 5px 3px;gap:4px}
#roulette .rt-wheel-area:before{content:"";position:absolute;inset:1px;border:1px solid #d6b57240;border-radius:inherit;pointer-events:none}
#roulette .rt-venue{position:relative;z-index:2;flex:none;font:700 9px Georgia,serif;letter-spacing:.1em;color:#edd098;white-space:nowrap;text-align:center;text-shadow:0 2px 3px #000a}
#roulette .rt-venue span{color:#b1d5ba}
#roulette .rt-wheel{position:relative;z-index:1;width:min(100%,220px);aspect-ratio:1;filter:drop-shadow(0 7px 6px #000b);flex-shrink:1;min-height:0}
#roulette .rt-wheel svg{width:100%;height:100%;display:block;overflow:visible}
#roulette .rt-wheel.is-spinning>svg{animation:none!important}
#roulette .rt-rotor{transform-origin:150px 150px}
#roulette .rt-ball-ring{transform-origin:150px 150px}
#roulette .rt-wheel.is-spinning .rt-rotor{animation:rt50-wheel 2.85s cubic-bezier(.15,.07,.21,1) both}
#roulette .rt-wheel.is-spinning .rt-ball-ring{animation:rt50-ball 2.85s cubic-bezier(.16,.03,.23,1) both}
#roulette .rt-wheel.is-spinning .rt-ball{animation:rt50-drop 2.85s ease-in both}
@keyframes rt50-wheel{from{transform:rotate(0)}to{transform:rotate(var(--rt-final-rotation,1440deg))}}
@keyframes rt50-ball{0%{transform:rotate(0)}68%{transform:rotate(-1600deg)}100%{transform:rotate(-1800deg)}}
@keyframes rt50-drop{0%,65%{transform:translateY(0)}78%{transform:translateY(11px)}91%,100%{transform:translateY(22px)}}
#roulette .rt-dealer{position:absolute;z-index:2;left:50%;top:-9px;width:87px;height:42px;transform:translateX(-50%);pointer-events:none;opacity:.92}
#roulette .rt-dealer-sleeve{position:absolute;top:-23px;left:18px;width:39px;height:51px;border:2px solid #d1bc91;border-radius:0 0 14px 13px;transform:rotate(-20deg);background:linear-gradient(90deg,#1b2120,#080b0d 54%,#39413d);box-shadow:0 3px 4px #0007}
#roulette .rt-dealer-sleeve:after{content:"";position:absolute;bottom:-3px;left:0;right:0;height:10px;background:#f6eee0;border:1px solid #b7a992;border-radius:2px}
#roulette .rt-dealer-hand{position:absolute;left:38px;top:20px;width:15px;height:22px;border-radius:11px 8px 10px 8px;background:linear-gradient(130deg,#f5d0aa,#976443);box-shadow:0 2px 4px #0008;transform:rotate(-13deg)}
#roulette .rt-dealer-hand:after{content:"";position:absolute;right:-4px;top:9px;width:5px;height:12px;border-radius:4px;background:#b87b58;transform:rotate(-25deg)}
#roulette .rt-dealer.is-releasing{animation:rt50-dealer-release 1.4s ease-in-out both}
#roulette .rt-dealer.is-payout{animation:rt50-dealer-payout 1.4s ease-in-out both}
@keyframes rt50-dealer-release{0%{transform:translateX(-50%) translateY(-12px)}35%{transform:translateX(-36%) translateY(14px) rotate(-11deg)}65%{transform:translateX(-44%) translateY(6px)}100%{transform:translateX(-50%) translateY(-12px)}}
@keyframes rt50-dealer-payout{0%{transform:translateX(-50%) translateY(-12px)}40%{transform:translateX(-35%) translateY(9px)}100%{transform:translateX(-50%) translateY(-12px)}}
#roulette .rt-dealer-call{flex:none;font:700 clamp(9px,1vw,12px) Georgia,serif;letter-spacing:.08em;color:#ffdb94;text-align:center;text-shadow:0 2px 3px #000a;min-height:15px}
#roulette .rt-last{font-size:10px;min-height:35px;line-height:1.1}
#roulette #rouletteLastNumber{min-width:24px;min-height:24px;font-size:14px}
#roulette #rouletteStatus{font-size:10px;margin:2px 0 0;min-height:14px}
#roulette .rt-recent{gap:2px}
#roulette .rt-pocket{font-size:9px;min-width:18px;padding:2px}
#roulette .rt-play-area{gap:4px}
#roulette .rt-bet-modes{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding:1px 0 2px}
#roulette .rt-bet-modes button{flex:none;border:1px solid #94794d;background:#1b372b;color:#e9dab8;border-radius:3px;font-size:9px;padding:6px 7px}
#roulette .rt-bet-modes button.is-active{background:linear-gradient(#e1c587,#9d763f);color:#142217;border-color:#ffdc90}
#roulette .rt-table-wrap{border:3px double #d6b777;border-radius:85px 85px 12px 12px/26px 26px 12px 12px;background:radial-gradient(ellipse at 43% 26%,#216043 0%,#12412e 58%,#08251b 100%);box-shadow:inset 0 0 28px #0008,0 2px 9px #0006;padding:8px 7px 9px;scrollbar-width:thin;overscroll-behavior:contain;touch-action:pan-x pan-y}
#roulette .rt-felt-legend{display:flex;justify-content:space-between;gap:12px;color:#dbc38e;text-shadow:0 2px 2px #0007;letter-spacing:.09em;font:700 9px Georgia,serif;min-width:460px;padding:2px 3px 6px}
#roulette .rt-table{min-width:460px;gap:3px}
#roulette .rt-layout{grid-template-columns:36px minmax(0,1fr) 37px;gap:0;min-height:93px}
#roulette .rt-zeros{gap:0}
#roulette .rt-zero{font:800 15px Georgia,serif!important;background:linear-gradient(132deg,#146849,#0a3d2b)!important;border:1px solid #d8bc77!important;border-radius:0!important;min-height:42px;color:#ffe8b0!important;text-shadow:0 2px 2px #000a;padding:0!important}
#roulette .rt-main{gap:0}
#roulette .rt-grid{gap:0;grid-template-rows:repeat(3,minmax(29px,1fr))}
#roulette .rt-number{font:800 12px Georgia,serif!important;line-height:1!important;background:#13231c!important;border:1px solid #ceb278!important;border-radius:0!important;min-height:29px;min-width:0;color:#fff1cf!important;text-shadow:0 1px 1px #000a;padding:1px 0!important}
#roulette .rt-number.rt-red{background:linear-gradient(148deg,#bc2e36,#6f1320)!important}
#roulette .rt-number.rt-black{background:linear-gradient(148deg,#222d2a,#060f0f)!important}
#roulette .rt-hotspot{width:17px;height:17px;min-width:17px;background:#ecd39d!important;border:1px solid #5b4b2c!important;color:#473413!important;font-size:11px!important;box-shadow:0 0 0 2px #11543d99,0 2px 3px #0007}
#roulette .rt-hotspot.rt-hot-c{width:19px;height:19px}
#roulette .rt-column{font:800 9px Georgia,serif!important;background:linear-gradient(#215f43,#123c2c)!important;min-height:29px;border:1px solid #cdb076!important;border-radius:0!important;padding:0!important}
#roulette .rt-columns{gap:0}
#roulette .rt-dozens,#roulette .rt-outside-row{gap:0;margin-left:36px;margin-right:37px}
#roulette .rt-dozens button,#roulette .rt-outside-row button{border-radius:0!important;border:1px solid #c5a76b!important;font:700 10px Georgia,serif!important;background:linear-gradient(#215d42,#0d3526)!important;min-height:28px!important}
#roulette .rt-outside-row .rt-out-red{background:linear-gradient(#ae333e,#70202c)!important}
#roulette .rt-outside-row .rt-out-black{background:linear-gradient(#222d2d,#080d0e)!important}
#roulette .rt-special:empty{display:none}
#roulette .rt-special-button{border-radius:2px!important;background:#1b6543!important;border-color:#d1b878!important;font-size:9px!important;min-height:22px!important}
#roulette .rt-street-strip{gap:0}
#roulette .rt-strip-button{border-radius:0!important;background:#185338!important;border:1px solid #be9e65!important;font-size:8px!important;min-height:23px!important;padding:2px 0!important}
#roulette .rt-marker,#roulette .rt-nv-chip{--rt-chip-color:#277cb4;display:grid;place-items:center;border-radius:50%;background:repeating-conic-gradient(from 5deg,#f7edce 0 10deg,var(--rt-chip-color) 11deg 37deg,#f7edce 38deg 47deg,var(--rt-chip-color) 48deg 60deg);border:2px solid #222723;box-shadow:inset 0 0 0 3px var(--rt-chip-color),inset 0 0 0 4px #e8d9b7,0 2px 5px #0008;position:relative}
#roulette .rt-marker{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;pointer-events:none;width:20px;height:20px;padding:0;right:auto;min-width:0}
#roulette .rt-marker:before,#roulette .rt-nv-chip:before{content:"";width:42%;height:42%;border:1px dashed #e8e5d6;border-radius:50%;background:var(--rt-chip-color)}
#roulette .rt-chip-count{position:absolute;right:-8px;bottom:-6px;min-width:12px;height:12px;padding:0 1px;background:#efdaa4;border:1px solid #3d2917;border-radius:7px;font:800 9px system-ui;color:#282014;text-align:center;font-style:normal;line-height:11px}
#roulette .rt-dolly{position:absolute;z-index:6;right:-4px;top:-7px;color:#fff2ac;text-shadow:0 0 3px #000,0 0 5px #e8a32b;font-size:15px;pointer-events:none;animation:rt50-dolly .55s ease-out both}
@keyframes rt50-dolly{from{transform:translateY(-16px);opacity:0}to{transform:translateY(0);opacity:1}}
#roulette .rt-denoms{gap:5px;flex-wrap:nowrap;min-width:0}
#roulette .rt-denoms span:first-child{font-size:9px;white-space:nowrap}
#roulette .rt-nv-chip{width:27px;height:27px;flex:none}
#roulette .rt-chip-value-label{font-size:9px;color:#d9c793;white-space:nowrap}
#roulette #rouletteChipValue{width:46px;height:28px;padding:0 2px;color:#f8e8bf;background:#061a13;border:1px solid #bda064;border-radius:3px;text-align:center;font:800 13px system-ui;appearance:textfield}
#roulette #rouletteChipValue::-webkit-inner-spin-button{-webkit-appearance:none}
#roulette .rt-lammer{height:25px;min-width:34px;padding:3px;border:3px double #947748;outline:1px solid #e0c386;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 25%,#edd8ae,#9f8a5e);color:#30231b;font:800 11px Georgia,serif;box-shadow:0 2px 4px #0009}
#roulette .rt-color-palette{display:flex;gap:3px;align-items:center}
#roulette .rt-color-palette button{flex:none;width:23px;height:23px;min-width:23px;border-radius:50%;padding:0;border:3px dashed #eadfc4;background:var(--rt-palette)!important;box-shadow:0 1px 2px #0006}
#roulette .rt-color-palette button.is-active{outline:2px solid #ffe9af;outline-offset:2px;border-color:#f6dd9c}
#roulette .rt-color-palette button:disabled{opacity:.55}
#roulette .rt-console{border:1px solid #b09257;background:linear-gradient(160deg,#1b2d23,#101d18);padding:4px 6px;gap:5px}
#roulette .rt-actions button{font-size:10px;padding:6px 6px}
#roulette .rt-actions .rt-spin{background:linear-gradient(#f0d9a3,#a77c43);min-width:121px;font-weight:900}
#roulette .rt-bottom{max-height:51px}
#roulette .rt-footer{font-size:8px;color:#b2c7b0}
@media(max-width:920px) and (orientation:landscape){
 #roulette{gap:3px}
 #roulette .rt-header{min-height:31px;padding-bottom:2px}
 #roulette .rt-main-layout{grid-template-columns:minmax(139px,24%) minmax(0,1fr);gap:5px}
 #roulette .rt-wheel-area{padding:4px 2px 2px;gap:2px}
 #roulette .rt-wheel{width:min(100%,145px)}
 #roulette .rt-venue{font-size:7px}
 #roulette .rt-dealer-call{font-size:9px}
 #roulette .rt-last{min-height:26px}
 #roulette #rouletteStatus{font-size:8px}
 #roulette .rt-felt-legend{font-size:7px;padding:1px 2px 3px}
 #roulette .rt-table-wrap{padding:5px 4px}
 #roulette .rt-bet-modes button{font-size:8px;padding:4px 4px}
 #roulette .rt-console{padding:3px}
 #roulette .rt-denoms{gap:3px}
 #roulette .rt-denoms span:first-child{font-size:7px}
 #roulette .rt-chip-value-label{font-size:8px}
 #roulette .rt-nv-chip{width:22px;height:22px}
 #roulette #rouletteChipValue{width:39px;height:24px;font-size:11px}
 #roulette .rt-lammer{min-width:28px;height:22px;font-size:9px}
 #roulette .rt-color-palette{gap:2px}
 #roulette .rt-color-palette button{width:18px;min-width:18px;height:18px;border-width:2px}
 #roulette .rt-actions button{font-size:8px;padding:5px 4px}
 #roulette .rt-actions .rt-spin{min-width:91px}
 #roulette .rt-bottom{max-height:31px}
}
@media(max-height:400px) and (orientation:landscape){#roulette .rt-wheel{width:min(100%,132px)}#roulette .rt-recent{display:none}#roulette .rt-bottom{max-height:24px}#roulette .rt-venue{font-size:8px}}
@media(orientation:portrait){#roulette .rt-main-layout{grid-template-columns:1fr}#roulette .rt-wheel-area{min-height:185px;max-height:none;display:flex}#roulette .rt-wheel{width:150px}#roulette .rt-dealer{display:none}#roulette .rt-play-area{min-height:365px}}
@media(prefers-reduced-motion:reduce){#roulette .rt-rotor,#roulette .rt-ball-ring,#roulette .rt-ball,#roulette .rt-dealer,#roulette .rt-dolly{animation:none!important;transition:none!important}}
/* Tablet / desktop landscape: scale the actual table rather than leaving an empty felt panel. */
@media(min-height:600px) and (orientation:landscape){
 #roulette .rt-wheel-area{justify-content:center;gap:9px}
 #roulette .rt-wheel{width:min(94%,280px)}
 #roulette .rt-dealer{top:calc(50% - 174px)}
 #roulette .rt-venue{font-size:11px}
 #roulette .rt-dealer-call{font-size:14px}
 #roulette .rt-last{font-size:12px;min-height:52px}
 #roulette #rouletteStatus{font-size:12px}
 #roulette .rt-recent{padding-top:5px}
 #roulette .rt-pocket{min-width:24px;font-size:11px}
 #roulette .rt-bet-modes button{font-size:12px;padding:8px 10px}
 #roulette .rt-table-wrap{display:flex;flex-direction:column;justify-content:center;padding:18px 10px}
 #roulette .rt-felt-legend{font-size:12px;padding-bottom:10px}
 #roulette .rt-layout{min-height:264px}
 #roulette .rt-grid{grid-template-rows:repeat(3,minmax(88px,1fr))}
 #roulette .rt-number{font-size:20px!important}
 #roulette .rt-zero{font-size:22px!important}
 #roulette .rt-column{font-size:13px!important}
 #roulette .rt-dozens button,#roulette .rt-outside-row button{min-height:55px!important;font-size:13px!important}
 #roulette .rt-hotspot{width:23px;height:23px;min-width:23px}
 #roulette .rt-hotspot.rt-hot-c{width:25px;height:25px}
 #roulette .rt-marker{width:28px;height:28px}
 #roulette .rt-chip-count{min-width:15px;height:15px;font-size:10px;line-height:14px}
 #roulette .rt-strip-button{font-size:10px!important;min-height:35px!important}
 #roulette .rt-console{padding:9px;gap:8px}
 #roulette .rt-nv-chip{width:32px;height:32px}
 #roulette .rt-color-palette button{width:27px;min-width:27px;height:27px}
 #roulette .rt-lammer{min-width:42px;height:31px;font-size:12px}
 #roulette #rouletteChipValue{height:32px;width:55px;font-size:14px}
 #roulette .rt-actions button{font-size:12px;padding:9px 10px}
 #roulette .rt-bottom{max-height:70px}
}
