/* ISN cabinet finish. Scoped to machines; table games and game rules are unchanged. */
body:has(.slot-lounge){background-image:linear-gradient(#08090680,#080906bd),url('/arcade/assets/arcade-room.png');background-position:center;background-size:cover}
.slot-lounge .cabinet,.slot-dialog .machine-cabinet,#gameDialog:has(.video-poker-machine) .video-poker-machine{
 background:linear-gradient(102deg,#fff1b7 0%,#b48637 1%,#261e12 3%,#080b0c 7%,#131719 48%,#030606 91%,#735629 97%,#f9d982 99%,#815b21 100%);
 border:3px solid #dcaf59;box-shadow:inset 0 0 0 2px #fff0b2,inset 0 0 0 6px #21180a,inset 0 0 0 8px #846025,0 2px 2px #fff0af55,0 22px 35px #000b,0 0 22px #e5b25a30;
 border-radius:26px 26px 12px 12px;
}
.slot-lounge .cabinet-marquee,.slot-dialog .machine-marquee,#gameDialog:has(.video-poker-machine) .video-poker-marquee{
 background:linear-gradient(105deg,#070a0c 15%,#323434 49%,#111516 50%,#040707 85%);border:1px solid #f7d48a;border-radius:10px 10px 3px 3px;box-shadow:0 0 12px #ffbb4a30,inset 0 1px 1px #ffffff70;color:#ffe8ad;
}
.slot-lounge .cabinet h1,.slot-dialog .machine-marquee strong,#gameDialog:has(.video-poker-machine) .video-poker-marquee strong{color:#ffe5a5;text-shadow:0 2px 2px #000,0 0 14px #efb54650}
.slot-lounge .reel-area,.slot-dialog .reels{border-color:#edca7b;box-shadow:0 0 0 2px #3d2d13,0 0 18px #74c9f22b,inset 0 0 12px #0008}
.slot-lounge .reel-column,.slot-dialog .reel-symbol{background:linear-gradient(#cbd9df,#fbfdff 24%,#fff 50%,#f5f9fc 76%,#c4d1da);border-color:#afbac5}
.slot-lounge .reel-symbol.is-win,.slot-dialog .reel-symbol.winning{background:radial-gradient(#fffbd3,#edd281);box-shadow:inset 0 0 0 3px #c18a23}
.slot-lounge .result-display,.slot-dialog .machine-result{background:linear-gradient(#0b2029,#050e15);border:1px solid #61777c;color:#f7e8ba;text-shadow:0 1px #000}
.slot-lounge .play-controls,.slot-lounge .live-paytable,.slot-dialog .member-machine-paytable{background:linear-gradient(125deg,#242b2beF,#060b0cf5);border-color:#d6b169;box-shadow:inset 0 0 0 2px #261c10,0 12px 30px #0007}
.slot-lounge .spin-button,.slot-dialog .spin-button{background:linear-gradient(#fff0ad,#eccb72 45%,#ac782a 49%,#efd289);color:#241600;border-color:#ffedb6;text-shadow:0 1px #fff5c1;box-shadow:inset 0 0 0 2px #6d4a1c,0 3px 0 #57401b,0 0 15px #e0ab352a}
.machine-symbol{display:block;width:100%;height:100%;filter:drop-shadow(0 2px 2px #0004)}
.slot-dialog .reel-symbol>span{display:block;width:76%;height:72%;min-height:0;line-height:1}
.slot-dialog .reel-symbol small{color:#273646;font-weight:700}
.machine-cards .card-visual{display:flex;align-items:center;justify-content:center;gap:14px}
.machine-cards .card-visual .machine-symbol{width:64px;height:64px}
.member-machine-paytable .payout-symbol{display:inline-block;width:21px;height:21px;vertical-align:middle;margin-right:6px}
.slot-dialog{background:linear-gradient(#07100cdd,#07100cf2),url('../arcade/assets/arcade-room.png') center/cover}
body:has(#memberConfig) .slot-dialog{background-image:linear-gradient(#07100cdd,#07100cf2),url('../arcade/assets/arcade-room.png')}
.slot-dialog .machine-marquee{padding:10px;margin-bottom:10px}
.slot-dialog .machine-dashboard{border-color:#cba65f}
/* The video screen sits inside the same cabinet family, with red/black cards on white. */
#gameDialog:has(.video-poker-machine){background:linear-gradient(#060b0c66,#060b0c99),url('/arcade/assets/arcade-room.png') center/cover}
#gameDialog:has(.video-poker-machine) .room-title-row{background:linear-gradient(90deg,#060b0ce8,#1b2020dc);border:1px solid #b89652;border-radius:5px;padding:8px 12px}
#gameDialog:has(.video-poker-machine) .table-stage{width:min(1100px,100%);margin-inline:auto;background:transparent;border:0;box-shadow:none;border-radius:0}
#gameDialog:has(.video-poker-machine) .table-stage::before,#gameDialog:has(.video-poker-machine) .table-stage::after,#gameDialog:has(.video-poker-machine) .table-brand,#gameDialog:has(.video-poker-machine) .table-rail{display:none}
#gameDialog:has(.video-poker-machine) .table-center{padding:12px 10px;gap:10px;justify-content:center}
#gameDialog:has(.video-poker-machine) .video-poker-machine{width:min(100%,980px);padding:20px;flex:none}
#gameDialog:has(.video-poker-machine) .video-poker-marquee{padding:15px 12px}
#gameDialog:has(.video-poker-machine) .video-poker-marquee strong{font-size:clamp(16px,2.2vw,28px);letter-spacing:.06em}
#gameDialog:has(.video-poker-machine) .video-reels{background:radial-gradient(ellipse at top,#143756,#07121e);border-color:#e7c37d;padding:12px;gap:12px}
#gameDialog:has(.video-poker-machine) .video-reel-window{background:linear-gradient(#b9c9d3,#f6fbff 25%,#fff 50%,#ccd9e2);border-color:#cdaa67;min-height:clamp(110px,20vh,210px);box-shadow:inset 0 0 0 2px #364453,inset 0 8px 12px #17263622}
#gameDialog:has(.video-poker-machine) .video-reel .playing-card{background:#fffdf9!important;color:#152031!important;border-color:#a4b3c0;box-shadow:0 4px 8px #05122140;width:clamp(50px,7vw,90px);height:clamp(78px,14vh,140px);text-shadow:none;filter:none;transition:none}
#gameDialog:has(.video-poker-machine) .video-reel .playing-card.red{color:#c81d3b!important}
#gameDialog:has(.video-poker-machine) .video-reel .playing-card.is-held{border:3px solid #e4b641;box-shadow:0 0 0 3px #f8d98750;transform:none}
#gameDialog:has(.video-poker-machine) .video-reel .card-back{background:repeating-linear-gradient(45deg,#111b25 0 5px,#344355 5px 7px);border-color:#ecc97a;color:#e9c47a;animation:none}
#gameDialog:has(.video-poker-machine) .video-reel small{font-size:10px;color:#a9bed1}
#gameDialog:has(.video-poker-machine) .video-reel b{font-size:14px;min-height:16px}
#gameDialog:has(.video-poker-machine) .machine-hand-readout{background:#071523;border-color:#7c96a7}
#gameDialog:has(.video-poker-machine) .table-inline-actions{width:min(100%,980px)}
#gameDialog:has(.video-poker-machine) .table-inline-actions .betting-panel{background:linear-gradient(115deg,#2e2e28,#0a1014 50%,#2e2b20);border:2px solid #d8b262;border-radius:8px;box-shadow:inset 0 0 0 2px #151309,0 12px 20px #0008;padding:12px;gap:8px}
#gameDialog:has(.video-poker-machine) .table-inline-actions .machine-balance{display:flex;margin:0;padding:5px 8px;gap:8px;background:#06131d;color:#cfdfed;border-color:#9c9e84}
#gameDialog:has(.video-poker-machine) .table-inline-actions .machine-action-row>button,#gameDialog:has(.video-poker-machine) .blackjack-wager-button{min-height:42px;font-size:13px;padding:8px 12px}
#gameDialog:has(.video-poker-machine) .table-status{background:#070e16dc;padding:7px;border-color:#b49961;text-shadow:0 1px #000}
@media(max-width:700px){
 .slot-dialog .machine-marquee{padding:3px;margin-bottom:5px}.slot-dialog .machine-cabinet{border-radius:14px 14px 8px 8px;padding:8px}.slot-dialog .reel-symbol>span{height:72%;width:80%}.member-machine-paytable .payout-symbol{width:17px;height:17px;margin-right:4px}
 #gameDialog:has(.video-poker-machine) .room-title-row{padding:4px 6px}
 #gameDialog:has(.video-poker-machine) .table-center{padding:4px 0;gap:6px}
 #gameDialog:has(.video-poker-machine) .room-card-row{padding:0;width:100%;min-height:0}
 #gameDialog:has(.video-poker-machine) .video-poker-machine{padding:9px;border-radius:16px 16px 8px 8px}
 #gameDialog:has(.video-poker-machine) .video-poker-marquee{padding:6px;gap:3px}
 #gameDialog:has(.video-poker-machine) .video-poker-marquee>span{font-size:6px}
 #gameDialog:has(.video-poker-machine) .video-poker-marquee strong{font-size:16px}
 #gameDialog:has(.video-poker-machine) .video-reels{padding:5px;gap:4px;margin-top:7px}
 #gameDialog:has(.video-poker-machine) .video-reel-window{min-height:85px;border-width:1px}
 #gameDialog:has(.video-poker-machine) .video-reel .playing-card,#gameDialog:has(.video-poker-machine) .video-reel .card-back{width:100%;max-width:50px;height:72px;margin:0;border-width:1px;padding:4px;font-size:20px}
 #gameDialog:has(.video-poker-machine) .video-reel .playing-card strong{font-size:20px}
 #gameDialog:has(.video-poker-machine) .video-reel .playing-card em{font-size:10px}
 #gameDialog:has(.video-poker-machine) .video-reel small{font-size:7px}
 #gameDialog:has(.video-poker-machine) .video-reel b{font-size:10px;min-height:10px}
 #gameDialog:has(.video-poker-machine) .machine-hand-readout{padding:5px;margin:5px 0}
 #gameDialog:has(.video-poker-machine) .video-poker-machine-help{font-size:9px;line-height:1.3;margin:5px 0}
 #gameDialog:has(.video-poker-machine) .table-inline-actions .betting-panel{padding:7px;gap:5px}
 #gameDialog:has(.video-poker-machine) .table-inline-actions .machine-balance{padding:3px 6px;font-size:9px}
 #gameDialog:has(.video-poker-machine) .table-inline-actions .machine-action-row>button,#gameDialog:has(.video-poker-machine) .blackjack-wager-button{min-height:36px;font-size:11px;padding:5px 8px}
 #gameDialog:has(.video-poker-machine) .table-status{padding:4px;font-size:10px;line-height:1.25}
}
@media(max-height:600px) and (min-width:701px){
 #gameDialog:has(.video-poker-machine) .video-poker-machine{padding:9px}
 #gameDialog:has(.video-poker-machine) .video-poker-marquee{padding:5px}
 #gameDialog:has(.video-poker-machine) .video-reel-window{min-height:75px}
 #gameDialog:has(.video-poker-machine) .video-reel .playing-card,#gameDialog:has(.video-poker-machine) .video-reel .card-back{height:65px;width:46px}
 #gameDialog:has(.video-poker-machine) .video-reels{margin-top:4px;padding:5px;gap:5px}
 #gameDialog:has(.video-poker-machine) .table-center{padding:4px;gap:4px}
 #gameDialog:has(.video-poker-machine) .table-inline-actions .betting-panel{padding:4px}
 .slot-dialog .machine-marquee{padding:2px;margin-bottom:3px}
}
#gameDialog:has(.video-poker-machine) .video-reel .playing-card em{font-size:clamp(18px,2vw,28px);font-weight:800;line-height:1.1}
#gameDialog:has(.video-poker-machine) .video-reel .playing-card strong{font-size:clamp(28px,3.2vw,44px);line-height:1}
@media(max-width:700px),(max-height:600px){#gameDialog:has(.video-poker-machine) .video-reel .playing-card em{font-size:16px}#gameDialog:has(.video-poker-machine) .video-reel .playing-card strong{font-size:25px}}
/* Machine-only layout: remove the empty table row reserved for opponents. */
#gameDialog:has(.video-poker-machine) .room-layout{display:flex;flex-direction:column;grid-template-rows:none;min-height:0}
#gameDialog:has(.video-poker-machine) .table-stage{height:100%;min-height:0;flex:1 1 auto}
#gameDialog:has(.video-poker-machine) .table-center{min-height:0;overflow:visible}
#gameDialog:has(.video-poker-machine) .room-card-row{flex:0 0 auto;min-height:0;overflow:visible;width:100%}
@media(max-width:700px){
 #gameDialog:has(.video-poker-machine) .video-poker-marquee>span{display:none}
 #gameDialog:has(.video-poker-machine) .video-poker-marquee strong{flex-basis:auto}
 #gameDialog:has(.video-poker-machine) .table-center{justify-content:center}
 #gameDialog:has(.video-poker-machine) .video-poker-machine{padding:7px}
 #gameDialog:has(.video-poker-machine) .video-reel{gap:3px}
}
@media(max-height:450px) and (min-width:600px){
 #gameDialog:has(.video-poker-machine) .room-title-row{display:none}
 #gameDialog:has(.video-poker-machine) .table-center{display:grid;grid-template-columns:minmax(0,1fr) 235px;grid-template-rows:minmax(0,1fr) auto auto;align-items:center;gap:5px;padding:4px}
 #gameDialog:has(.video-poker-machine) .room-card-row{grid-column:1;grid-row:1/4;padding:0}
 #gameDialog:has(.video-poker-machine) .table-inline-actions{grid-column:2;grid-row:1}
 #gameDialog:has(.video-poker-machine) .table-status{grid-column:2;grid-row:2;line-height:1.15;font-size:9px;margin:0;padding:3px}
 #gameDialog:has(.video-poker-machine) .table-controls{grid-column:2;grid-row:3;margin:0}
 #gameDialog:has(.video-poker-machine) .video-poker-marquee{padding:5px}
 #gameDialog:has(.video-poker-machine) .video-poker-marquee>span{display:none}
 #gameDialog:has(.video-poker-machine) .video-poker-marquee strong{font-size:16px}
 #gameDialog:has(.video-poker-machine) .video-reel-window{min-height:68px}
 #gameDialog:has(.video-poker-machine) .machine-hand-readout{padding:4px;margin:4px 0;gap:2px}
 #gameDialog:has(.video-poker-machine) .video-poker-machine-help{font-size:8px;margin:4px 0}
 #gameDialog:has(.video-poker-machine) .table-inline-actions .machine-action-row>button,#gameDialog:has(.video-poker-machine) .blackjack-wager-button{min-height:32px;font-size:10px;padding:4px}
}
@media(max-height:450px) and (min-width:600px){
 body:has(.slot-lounge) .lounge-header{padding:3px 10px}.slot-lounge{padding:5px 10px}
 body:has(.slot-lounge) .casino-brand img{width:28px;height:28px}body:has(.slot-lounge) .casino-brand{font-size:11px}body:has(.slot-lounge) .casino-brand small{display:none}
 .slot-lounge .machine-selector{gap:4px;margin-bottom:6px}.slot-lounge .machine-selector a{padding:3px;font-size:9px}.slot-lounge .nav-symbol{width:18px;height:18px;flex-basis:18px}
 .slot-lounge .play-layout{grid-template-columns:minmax(0,1fr) 165px 150px;gap:7px;align-items:stretch}
 .slot-lounge .cabinet{grid-column:1;grid-row:1;margin:0;padding:8px;border-radius:14px}
 .slot-lounge .live-paytable{grid-column:2;grid-row:1;padding:7px}
 .slot-lounge .play-controls{grid-column:3;grid-row:1;padding:7px;gap:4px;display:flex;flex-direction:column}
 .slot-lounge .cabinet-marquee{padding:5px;min-height:40px}.slot-lounge .cabinet h1{font-size:17px;margin:0}.slot-lounge .cabinet-marquee p{font-size:7px}
 .slot-lounge .marquee-icon,.slot-lounge .marquee-brand,.slot-lounge .stadium-panel,.slot-lounge .cabinet-base,.slot-lounge .pull-handle{display:none}
 .slot-lounge .reel-area{--cell:38px;margin-top:6px}.slot-lounge .reel-symbol{padding:3px}.slot-lounge .result-display{min-height:30px;font-size:10px;padding:4px;margin-top:5px}
 .slot-lounge .live-paytable h2{font-size:18px;margin:0}.slot-lounge .live-paytable p{font-size:8px;line-height:1.2;margin:4px 0}
 .slot-lounge .live-paytable th,.slot-lounge .live-paytable td{font-size:10px;padding:4px 1px}.slot-lounge .live-paytable tbody th>span{width:20px;height:20px}.slot-lounge .live-paytable small{display:none}
 .slot-lounge .balance-readout{padding-bottom:3px;margin:0}.slot-lounge .balance-readout strong{font-size:24px;margin:2px}.slot-lounge .balance-readout>span{font-size:8px}.slot-lounge .balance-readout small{font-size:8px}
 .slot-lounge .play-controls label{font-size:9px;margin:0}.slot-lounge .play-controls input{height:30px;font-size:16px;padding:4px}.slot-lounge .wager-note{font-size:8px;line-height:1.2;min-height:0;margin:0}
 .slot-lounge .spin-button{min-height:33px;font-size:16px}.slot-lounge .control-hint{display:none}.slot-lounge .last-spin{padding:4px 0;gap:4px}.slot-lounge .last-spin strong{font-size:14px}
}
@media(max-height:450px) and (min-width:600px){
 #gameDialog:has(.video-poker-machine) .table-inline-actions .video-poker-panel{display:grid;grid-template-columns:1fr 1fr;gap:4px;align-items:center;padding:5px}
 #gameDialog:has(.video-poker-machine) .video-poker-panel .machine-balance{grid-column:1/-1;justify-content:center;font-size:9px;padding:4px;margin:0}
 #gameDialog:has(.video-poker-machine) .video-poker-panel .machine-result{grid-column:1/-1;padding:3px;margin:0;gap:1px}
 #gameDialog:has(.video-poker-machine) .video-poker-panel .machine-result strong{font-size:12px}
 #gameDialog:has(.video-poker-machine) .video-poker-panel .betting-label{grid-row:auto;grid-column:auto;font-size:8px;justify-content:center;margin:0}
 #gameDialog:has(.video-poker-machine) .video-poker-panel label[for=machineCoinValue]{grid-column:1;grid-row:2}
 #gameDialog:has(.video-poker-machine) .video-poker-panel label[for=machineCoins]{grid-column:2;grid-row:2}
 #gameDialog:has(.video-poker-machine) #machineCoinValue{grid-column:1;grid-row:3}
 #gameDialog:has(.video-poker-machine) #machineCoins{grid-column:2;grid-row:3}
 #gameDialog:has(.video-poker-machine) .video-poker-panel:has(.machine-result) label[for=machineCoinValue],#gameDialog:has(.video-poker-machine) .video-poker-panel:has(.machine-result) label[for=machineCoins]{grid-row:3}
 #gameDialog:has(.video-poker-machine) .video-poker-panel:has(.machine-result) #machineCoinValue,#gameDialog:has(.video-poker-machine) .video-poker-panel:has(.machine-result) #machineCoins{grid-row:4}
 #gameDialog:has(.video-poker-machine) .video-poker-panel .machine-select{width:100%;font-size:10px;min-height:28px;margin:0;padding:3px}
 #gameDialog:has(.video-poker-machine) .video-poker-panel .machine-action-row,#gameDialog:has(.video-poker-machine) .video-poker-panel .machine-rules,#gameDialog:has(.video-poker-machine) .video-poker-panel .blackjack-wager-readout,#gameDialog:has(.video-poker-machine) .video-poker-panel .blackjack-wager-button{grid-column:1/-1;margin:0}
}
.slot-dialog .reels{height:clamp(180px,30vh,280px)}
.slot-dialog .reel{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));height:100%;min-height:0}
.slot-dialog .reel-symbol{aspect-ratio:auto;min-height:0;overflow:hidden}
@media(max-width:700px){.slot-dialog .reels{height:108px}.slot-dialog .member-machine-paytable th,.slot-dialog .member-machine-paytable td{padding:2px 4px}.slot-dialog .member-machine-paytable .payout-symbol{width:15px;height:15px}}
@media(max-height:600px) and (min-width:701px){.slot-dialog .reels{height:95px}}
