/* CASINOIR v0.50.09 — RESULT: the ball is locked to a rotor pocket, not the stationary bowl. */
#roulette .rt-wheel.is-idle .rt-locked-pocket-ball{animation:none!important;pointer-events:none}
/* Reserve the RESULT line in every phase. Showing a result MUST NOT move NEXT SPIN. */
#roulette .rt-play-area .rt-result-dock,
#roulette .rt-play-area .rt-result-dock[hidden]{
 display:block!important;box-sizing:border-box;flex:0 0 24px!important;height:24px!important;
 min-height:24px!important;max-height:24px!important;min-width:0;width:100%;
 margin:0!important;padding:0!important;overflow:hidden;visibility:visible;
}
#roulette .rt-play-area .rt-result-dock[hidden]{visibility:hidden!important}
#roulette .rt-play-area .rt-result-overlay,
#roulette .rt-play-area .rt-result-overlay[hidden]{
 position:relative!important;inset:auto!important;display:block!important;
 width:100%;height:100%;min-height:0;box-sizing:border-box;
 padding:0!important;margin:0!important;overflow:hidden;visibility:visible;
}
#roulette .rt-play-area .rt-result-overlay[hidden]{visibility:hidden!important}
#roulette .rt-play-area .rt-result-card{
 width:100%;height:100%;max-height:24px;min-height:0;max-width:100%;
 padding:2px 5px!important;box-sizing:border-box;border-radius:6px;
 display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;
 gap:clamp(4px,.8vw,12px);white-space:nowrap;overflow:hidden;
}
#roulette .rt-play-area .rt-result-card small{font-size:clamp(9px,1vw,12px)!important;line-height:1.1;white-space:nowrap;min-width:0}
#roulette .rt-play-area .rt-result-card strong{font-size:clamp(14px,1.8vw,19px)!important;line-height:1.1;white-space:nowrap;min-width:0}
#roulette .rt-play-area .rt-result-card p{font-size:clamp(9px,1vw,11px)!important;line-height:1.1;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
/* The console stays within the existing play-area height; no dynamic push by result text. */
#roulette .rt-play-area{min-height:0!important}
#roulette .rt-play-area .rt-table-wrap{min-height:0!important;flex:1 1 0!important}
#roulette .rt-play-area .rt-console{flex:0 0 auto!important;min-width:0}
@media(max-height:400px) and (orientation:landscape){
 #roulette .rt-play-area .rt-result-card{gap:4px;padding:2px 3px!important}
 #roulette .rt-play-area .rt-result-card small{font-size:9px!important}
 #roulette .rt-play-area .rt-result-card strong{font-size:14px!important}
 #roulette .rt-play-area .rt-result-card p{font-size:9px!important}
}
