/* Solo tables: centered hands on a rounded casino surface.
   These overrides deliberately leave cards, chip geometry and dock behavior shared. */
body.solo-table :is(#guest-seats,.guest-seats){display:none}
body.solo-table :is(.table,.paigow-table,.baccarat-table){border-radius:32px 32px 43% 43% / 32px 32px 38% 38%}
body.solo-table[data-navigation-game=blackjack] main{max-width:1120px}
body.solo-table[data-navigation-game=baccarat] main{max-width:1320px}
body.solo-table[data-navigation-game=paigow] main{max-width:1360px}
body.solo-table[data-navigation-game=roulette] main{max-width:1480px}
body.solo-table[data-navigation-game=craps] main{max-width:1440px}
body.solo-table[data-navigation-game=craps] :is(.table-rim,.felt-surface){border-radius:42px}
body.solo-table[data-navigation-game=roulette] .felt{border-radius:30px}

/* Seven cards need a clear central lane, not space reserved for empty seats. */
@media(min-width:761px) and (min-height:551px){
 body.solo-table .paigow-table{width:min(1080px,100%);justify-self:center;margin:30px 0 18px;padding:15px 38px 22px;grid-template-rows:minmax(100px,.85fr) 48px 44px minmax(180px,1.5fr);gap:8px}
 body.solo-table .paigow-table .dealer-hands{padding-top:24px;gap:24px;align-items:end}
 body.solo-table .paigow-table .dealer-hands>.dealer{bottom:calc(100% + 4px);top:auto}
 body.solo-table .paigow-table .dealer-hands .casino-card{width:clamp(42px,6.1vh,68px);max-width:none}
 body.solo-table .paigow-table .player-area{width:min(780px,100%);gap:8px;align-self:center}
 body.solo-table .paigow-table .player-cards{display:flex;justify-content:center;gap:8px;margin-bottom:7px}
 body.solo-table .paigow-table .player-cards .casino-card{width:clamp(48px,7.4vh,82px);max-width:none}
 body.solo-table .paigow-table .player-bottom{width:min(650px,100%);--bet-spot-size:72px;gap:16px}
 body.solo-table .paigow-table .bet-spot{translate:none;border-radius:50%}
 body.solo-table .paigow-table .felt-print{position:static;transform:none;gap:3px}
 body.solo-table .paigow-table .result-banner{position:static;transform:none;min-height:0}
 body.solo-table .baccarat-table{width:min(1100px,100%);justify-self:center;grid-template-rows:auto minmax(100px,1fr) auto auto auto 22px;padding:62px 50px 24px;margin:20px 0 20px}
}
@media(min-width:761px) and (min-height:551px) and (max-height:850px){
 body.solo-table .paigow-table{margin-top:10px;padding-top:10px;grid-template-rows:minmax(80px,.85fr) 34px 36px minmax(155px,1.5fr);gap:5px}
 body.solo-table .paigow-table .dealer-hands{padding-top:14px}
 body.solo-table .paigow-table .dealer-hands .casino-card{width:40px}
 body.solo-table .paigow-table .player-cards .casino-card{width:50px}
 body.solo-table .paigow-table .player-bottom{--bet-spot-size:60px}
 body.solo-table .paigow-table .felt-print strong{font-size:20px}
 body.solo-table .paigow-table .felt-print span{font-size:10px}
 body.solo-table .paigow-table .result-banner strong{font-size:21px}
}
@media(max-width:760px){
 body.solo-table :is(.table,.paigow-table,.baccarat-table){border-radius:20px 20px 25% 25% / 20px 20px 14% 14%}
}
@media(min-height:851px) and (min-width:900px){
 body.solo-table[data-navigation-game=blackjack] .table{inset:28px 5px 46px}
 body.solo-table[data-navigation-game=blackjack] .dealer-zone{left:50%;top:-30px;width:360px}
 body.solo-table[data-navigation-game=blackjack] .felt-lettering{top:46%;display:block;font-size:14px}
 body.solo-table[data-navigation-game=blackjack] .player-seat{left:50%;top:63%;width:76%}
}
/* Poker keeps payout printing at the sides of a centered visitor/dealer lane. */
@media(min-width:1001px) and (min-height:601px){
 body.solo-table[data-navigation-game=poker] main{max-width:1120px}
 body.solo-table[data-navigation-game=poker] .table.perimeter-table{border-radius:32px 32px 43% 43% / 32px 32px 38% 38%}
 body.solo-table[data-navigation-game=poker] .table.perimeter-table .dealer-station{left:50%;top:12%;width:300px}
 body.solo-table[data-navigation-game=poker] .table.perimeter-table .player-station{left:50%;top:63%;width:320px}
 body.solo-table[data-navigation-game=poker] .table.perimeter-table .felt-payouts{top:38%}
 body.solo-table[data-navigation-game=poker] .table.perimeter-table .dealer-shuffler{left:calc(100% + 38px);right:auto}
}
@media(min-width:1001px) and (min-height:601px){
 body.solo-table[data-navigation-game=poker] .table.perimeter-table .dealer-station{top:-2%;max-width:none}
 body.solo-table[data-navigation-game=poker] .table.perimeter-table .player-station{top:49%;transform:translateX(-50%);max-width:none}
 body.solo-table[data-navigation-game=poker] .table.perimeter-table .felt-payout-mini{top:43%;bottom:auto;left:50%;width:80%;text-align:center;transform:translateX(-50%)}
 body.solo-table[data-navigation-game=poker] .table.perimeter-table .felt-payouts{top:41%}
}
@media(min-width:900px) and (min-height:851px){
 body.solo-table[data-navigation-game=blackjack] .player-seat{top:52%;width:min(700px,76%)}
 body.solo-table[data-navigation-game=blackjack] .felt-lettering{top:42%}
}
@media(min-width:761px) and (min-height:851px){
 body.solo-table .baccarat-table .hands{width:min(760px,100%);justify-self:center}
 body.solo-table .baccarat-table .cards .casino-card{width:64px;max-width:none}
 body.solo-table .paigow-table{padding-bottom:34px}
}
@media(min-width:761px) and (min-height:551px){body.solo-table[data-navigation-game=craps] .casino-table{margin-bottom:26px}}
@media(min-width:1001px) and (min-height:601px){
 body.solo-table[data-navigation-game=poker] main{max-width:1340px}
 body.solo-table[data-navigation-game=poker] .casino-stage{max-height:700px}
 /* Keep the player untransformed: the fixed chip rack must remain viewport-relative. */
 body.solo-table[data-navigation-game=poker] .table.perimeter-table .player-station{left:calc(50% - 160px);top:47%;transform:none}
 body.solo-table[data-navigation-game=poker] .table.perimeter-table .felt-payouts{inset:0}
 body.solo-table[data-navigation-game=poker] .table.perimeter-table .felt-payout-heading{top:42%}
 body.solo-table[data-navigation-game=poker] #felt-paytables>.paytable-section:nth-child(1){left:6%;top:41%;width:155px}
 body.solo-table[data-navigation-game=poker] #felt-paytables>.paytable-section:nth-child(2){left:auto;right:6%;top:18%;width:155px;transform:none}
 body.solo-table[data-navigation-game=poker] #felt-paytables>.paytable-section:nth-child(3){left:auto;right:6%;top:41%;width:155px}
}
@media(max-height:550px){
 body.solo-table :is(.table,.paigow-table,.baccarat-table){border-radius:20px 20px 20% 20% / 20px 20px 12% 12%}
 body.solo-table .paigow-table .player-bottom{width:min(470px,100%)}
 body.solo-table .paigow-table .player-bottom .bet-spot{translate:0 -5px}
}
/* Tablet landscape uses the same compact three-column dock as desktop. */
@media(min-width:1100px) and (min-height:851px){
 body.solo-table[data-navigation-game=blackjack]{grid-template-rows:76px minmax(0,1fr) 160px}
 body.solo-table[data-navigation-game=blackjack] .play-dock{min-height:150px;grid-template-columns:220px minmax(320px,1fr) 320px;grid-template-rows:auto 18px}
 body.solo-table[data-navigation-game=blackjack] .play-dock .bank{grid-column:1;grid-row:1}
 body.solo-table[data-navigation-game=blackjack] .play-dock .bet-controls{grid-column:2;grid-row:1}
 body.solo-table[data-navigation-game=blackjack] .play-dock .action-area{grid-column:3;grid-row:1}
}
@media(min-width:1001px) and (min-height:601px){body.solo-table[data-navigation-game=poker] .table.perimeter-table .player-station{top:45%}}

@media(min-width:1001px) and (min-height:601px){body.solo-table[data-navigation-game=poker] .table.perimeter-table .table-top{top:39%;bottom:auto}}
/* These two headers need the compact menu at medium tablet widths too. */
@media(min-width:901px) and (max-width:1100px) and (min-height:551px){
 body.solo-table:is([data-navigation-game=blackjack],[data-navigation-game=roulette]) header .game-navigation{display:block;order:0;flex:0 0 auto;width:auto;margin:0 0 0 auto}
 body.solo-table:is([data-navigation-game=blackjack],[data-navigation-game=roulette]) .game-navigation .game-nav-toggle{display:flex;min-height:40px;padding:8px 10px;font-size:13px}
 body.solo-table:is([data-navigation-game=blackjack],[data-navigation-game=roulette]) .game-nav-links{display:none;position:fixed;z-index:351;width:280px;max-width:calc(100vw - 16px);padding:8px;background:#0c2019;border:1px solid #b79b58;border-radius:12px;box-shadow:0 12px 30px #0009;overflow:auto;overscroll-behavior:contain}
 body.solo-table:is([data-navigation-game=blackjack],[data-navigation-game=roulette]) .game-navigation.is-open .game-nav-links{display:grid;gap:5px}
 body.solo-table:is([data-navigation-game=blackjack],[data-navigation-game=roulette]) .game-navigation :is(a,summary,.donate-button){justify-content:flex-start;min-height:44px;padding:10px 12px;font-size:15px}
 body.solo-table:is([data-navigation-game=blackjack],[data-navigation-game=roulette]) .game-navigation summary{justify-content:space-between}
 body.solo-table:is([data-navigation-game=blackjack],[data-navigation-game=roulette]) .game-menu-panel{position:static;width:auto;max-height:none!important;padding:6px 0 2px 12px;margin-top:4px;border:0;border-left:2px solid #8f7947;border-radius:0;box-shadow:none;overflow:visible}
 body.solo-table:is([data-navigation-game=blackjack],[data-navigation-game=roulette]) .game-category:is([data-category=slots],[data-category=videopoker])>.game-menu-panel{width:auto}
 body.solo-table:is([data-navigation-game=blackjack],[data-navigation-game=roulette]) .game-menu-panel a{font-size:14px}
}

/* Continuous half-round shoulders and a recessed dealer position. */
body.solo-table :is(.table,.paigow-table,.baccarat-table){background:none!important;border-color:transparent!important;box-shadow:none!important;isolation:isolate}
body.solo-table :is(.table,.paigow-table,.baccarat-table)::before,
body.solo-table :is(.table,.paigow-table,.baccarat-table)::after{display:none}
body.solo-table .casino-table-surface{position:absolute;left:-2%;top:-2%;width:104%;height:106%;max-width:none;pointer-events:none;z-index:-1;overflow:visible;filter:drop-shadow(0 12px 10px #0006)}
.casino-table-surface .felt-light{stop-color:var(--appearance-top,#104d33)}
.casino-table-surface .felt-mid{stop-color:var(--appearance-base,#073321)}
.casino-table-surface .felt-dark{stop-color:var(--appearance-bottom,#041e15)}
/* WebGL and the vector fallback use the exact same outline. */
@media(min-width:1400px){body.solo-table[data-navigation-game=blackjack] .webgl-ready .casino-table-surface{display:none}}
body.solo-table[data-navigation-game=poker] .webgl-ready .casino-table-surface{display:none}
body.solo-table[data-navigation-game=paigow] .bet-input{margin-top:7px}
body.solo-table[data-navigation-game=paigow] .bet-input button{min-height:36px;padding:7px 12px}
@media(max-height:550px){body.solo-table[data-navigation-game=paigow] .bet-input{margin-top:3px}body.solo-table[data-navigation-game=paigow] .bet-input button{min-height:30px;padding:5px 8px;font-size:11px}}

@media(min-width:1200px) and (min-height:601px){
 body.solo-table[data-navigation-game=blackjack] main{max-width:1400px}
 body.solo-table[data-navigation-game=poker] main{max-width:1540px}
 body.solo-table .paigow-table{width:min(1240px,100%)}
 body.solo-table .baccarat-table{width:min(1240px,100%)}
}
@media(min-width:761px) and (min-height:551px){
 body.solo-table .paigow-table .player-bottom{width:min(600px,100%)}
 body.solo-table .paigow-table .player-bottom .bet-spot{translate:0 -16px}
 body.solo-table .paigow-table .dealer-hands{padding-top:42px}
 body.solo-table .paigow-table .dealer-hands>.dealer{bottom:calc(100% - 36px)}
 body.solo-table .baccarat-table{padding-top:85px}
 body.solo-table .baccarat-table .bet-spots{width:min(650px,90%);justify-self:center}
 body.solo-table .baccarat-table .cards .casino-card{height:auto;aspect-ratio:5/7;align-self:center}
}
@media(min-width:1900px) and (min-height:1000px){body.solo-table[data-navigation-game=blackjack] .felt-lettering{top:38%}}
@media(min-width:601px) and (max-height:550px){
 body.solo-table .paigow-table .player-bottom{width:min(470px,100%)}
 body.solo-table .paigow-table .player-bottom .bet-spot{translate:0 -70px}
 body.solo-table .paigow-table .hand-controls{max-width:300px;justify-self:center}
}

.casino-table-surface .surface-compact{display:none}
@media(max-width:760px) and (min-height:551px){
 .casino-table-surface .surface-wide{display:none}
 .casino-table-surface .surface-compact{display:block}
 body.solo-table .paigow-table .player-bottom{width:calc(100% - 12px);translate:0 -8px}
}
@media(min-width:761px) and (min-height:551px){
 body.solo-table .casino-table-surface{height:109%}
 body.solo-table .paigow-table .dealer-hands>.dealer{bottom:calc(100% - 12px)}
 body.solo-table .paigow-table .player-bottom{width:min(520px,100%)}
}
@media(min-width:601px) and (max-height:550px){
 body.solo-table .paigow-table .hand-controls{translate:0 -12px}
}

@media(min-width:1001px) and (min-height:601px){
 body.solo-table[data-navigation-game=poker] #felt-paytables>.paytable-section:nth-child(1){left:13%}
 body.solo-table[data-navigation-game=poker] #felt-paytables>.paytable-section:nth-child(3){right:13%}
}
@media(max-width:1000px),(max-height:600px){
 body.solo-table[data-navigation-game=poker] .real-scene{display:none}
 body.solo-table[data-navigation-game=poker] .webgl-ready .casino-table-surface{display:block}
}
@media(min-width:761px) and (min-height:551px){body.solo-table .paigow-table .player-bottom .bet-spot{translate:0 -8px}}

@media(max-width:1000px),(max-height:600px){body.solo-table[data-navigation-game=poker] .casino-table-surface{left:0;top:0;width:100%;height:100%}}
@media(min-width:1100px) and (min-height:851px){body.solo-table[data-navigation-game=blackjack] .play-dock .fine-print{grid-row:2;margin:0;padding:0;align-self:end}}

/* Keep desktop surfaces round instead of stretching to the monitor width.
   The minimum width protects the seven-card row on short desktop windows. */
@media(min-width:761px) and (min-height:551px){
 body.solo-table .paigow-table,
 body.solo-table .baccarat-table{width:min(100%,clamp(760px,calc((100svh - 300px) * 1.38),1000px))}
 body.solo-table[data-navigation-game=blackjack] main{max-width:clamp(700px,calc((100svh - 350px) * 1.45),1080px)}
}
@media(min-width:1001px) and (min-height:601px){
 body.solo-table[data-navigation-game=poker] main{max-width:1060px}
 body.solo-table[data-navigation-game=poker] #felt-paytables>.paytable-section:nth-child(1){left:10%;width:135px}
 body.solo-table[data-navigation-game=poker] #felt-paytables>.paytable-section:nth-child(3){right:10%;width:135px}
}

@media(min-width:761px) and (min-height:551px){
 body.solo-table .paigow-table .player-bottom{width:min(440px,100%);gap:10px}
 body.solo-table .baccarat-table .bet-spots{width:min(540px,84%)}
}
@media(min-width:761px) and (min-height:851px) and (max-height:950px){
 body.solo-table .baccarat-table{padding-top:60px;gap:6px;grid-template-rows:48px minmax(130px,1fr) 42px 80px 24px 22px}
 body.solo-table .baccarat-table .bet-spot{height:80px}
 body.solo-table .baccarat-table .result-banner{min-height:0}
}
@media(min-width:1001px) and (min-height:601px){
 body.solo-table[data-navigation-game=poker] #felt-paytables>.paytable-section:nth-child(2){right:14%;top:24%;width:135px}
}

/* When compact desktop hides the felt title, use three real content rows. */
@media(min-width:761px) and (min-height:551px) and (max-height:850px){
 body.solo-table .paigow-table{grid-template-rows:minmax(80px,1fr) 36px auto}
 body.solo-table .paigow-table .dealer-hands>.dealer{bottom:calc(100% + 4px)}
}
@media(min-width:761px) and (min-height:851px) and (max-height:950px){
 body.solo-table .paigow-table{grid-template-rows:116px 40px 44px auto;align-content:start}
 body.solo-table .paigow-table .dealer-hands{padding-top:20px}
 body.solo-table .paigow-table .player-area{align-self:start}
}

@media(min-width:761px) and (min-height:551px) and (max-height:850px){
 body.solo-table .paigow-table .player-title{display:none}
 body.solo-table .paigow-table .player-area{align-self:start}
 body.solo-table .paigow-table .setting-actions button{font-size:12px;min-height:34px;padding:6px 8px}
}

@media(min-width:761px) and (min-height:551px) and (max-height:850px){
 body.solo-table .baccarat-table .cards .casino-card{width:44px;flex:0 0 44px}
}

/* Owner's final proportion adjustment: about 6% wider on desktop, same height. */
@media(min-width:1101px) and (min-height:601px){
 body.solo-table .paigow-table,
 body.solo-table .baccarat-table{width:min(100%,clamp(805.6px,calc((100svh - 300px) * 1.4628),1060px))}
 body.solo-table[data-navigation-game=blackjack] main{max-width:clamp(742px,calc((100svh - 350px) * 1.537),1144.8px)}
 /* Poker reserves 230px beside its surface; widen the felt itself by 6%. */
 body.solo-table[data-navigation-game=poker] main{max-width:1109.8px}
}

/* Three felt wagers; hand-setting actions have their own clear row. */
body.solo-table .paigow-table .insurance-layout{width:min(520px,100%);grid-template-columns:repeat(3,1fr);gap:10px;translate:none}
body.solo-table .paigow-table .insurance-layout .bet-spot{translate:none;justify-self:center;grid-row:1}
body.solo-table .paigow-table .insurance-layout .main-spot{grid-column:1}
body.solo-table .paigow-table .insurance-layout .bonus-spot{grid-column:2}
body.solo-table .paigow-table .insurance-layout .insurance-spot{grid-column:3}
body.solo-table .paigow-table .insurance-layout .hand-controls{grid-column:1/-1;grid-row:2;translate:none;width:100%;max-width:400px;justify-self:center}
body.solo-table .paigow-table .insurance-layout .insurance-spot{font-size:12px}
@media(min-width:761px) and (min-height:551px){
 body.solo-table .paigow-table .insurance-layout{width:min(520px,100%);grid-template-columns:repeat(3,var(--bet-spot-size)) minmax(0,1fr);gap:16px}
 body.solo-table .paigow-table .insurance-layout .hand-controls{grid-row:1;grid-column:4}
}
@media(max-width:760px) and (min-height:551px){
 body.solo-table .paigow-table .insurance-layout{gap:6px;--bet-spot-size:54px}
 body.solo-table .paigow-table .insurance-layout .insurance-spot{font-size:10px}
 body.solo-table .paigow-table .player-cards{display:flex;gap:5px;padding-top:18px;margin-bottom:4px}
 body.solo-table .paigow-table .player-cards .casino-card{width:min(11vw,48px)}
 body.solo-table .paigow-table .insurance-layout .hand-summary{font-size:11px}
 body.solo-table .paigow-table .insurance-layout .setting-actions button{min-height:34px}
}
@media(min-width:600px) and (max-height:550px){
 body.solo-table .paigow-table .insurance-layout{width:100%;gap:5px;--bet-spot-size:48px;grid-template-columns:repeat(3,48px) minmax(0,1fr)}
 body.solo-table .paigow-table .insurance-layout .hand-controls{grid-row:1;grid-column:4}
 body.solo-table .paigow-table .insurance-layout .insurance-spot{font-size:9px}
}

@media(max-width:760px) and (min-height:551px) and (max-height:680px){
 body.solo-table .paigow-table .insurance-layout{--bet-spot-size:50px;gap:4px}
 body.solo-table .paigow-table .insurance-layout .hand-summary{display:none}
 body.solo-table .paigow-table .insurance-layout .hand-controls{gap:0}
 body.solo-table .paigow-table .insurance-layout .setting-actions button{min-height:32px;padding:5px 2px}
 body.solo-table .paigow-table .player-cards{gap:4px;padding-top:18px}
 body.solo-table .paigow-table .player-cards .casino-card{width:min(9vw,30px)}
 body.solo-table .paigow-table{grid-template-rows:50px 44px minmax(0,1fr)}
}
@media(max-width:760px) and (min-height:551px) and (max-height:680px){
 body.solo-table[data-navigation-game=paigow] main{grid-template-rows:26px minmax(0,1fr) 154px}
 body.solo-table .paigow-table{margin-bottom:8px}
 body.solo-table[data-navigation-game=paigow] .play-dock{grid-template-rows:28px 60px 50px}
 body.solo-table[data-navigation-game=paigow] .chip-controls{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:2px 5px;align-items:center}
 body.solo-table[data-navigation-game=paigow] .chip-line{margin:0}
 body.solo-table[data-navigation-game=paigow] .bet-input{margin:0}
 body.solo-table[data-navigation-game=paigow] .bet-input button{font-size:10px;line-height:12px;padding:4px;min-height:36px}
 body.solo-table[data-navigation-game=paigow] .free-play-notice{grid-column:1/-1;margin:1px 0;line-height:16px}
 body.solo-table .paigow-table .insurance-layout .setting-actions button{font-size:10px;line-height:12px;padding:4px 2px}
}

@media(min-width:761px) and (min-height:551px) and (max-height:950px){
 body.solo-table .paigow-table .insurance-layout{width:min(480px,100%);gap:12px}
 body.solo-table .paigow-table .insurance-layout .insurance-spot{font-size:10px}
}
@media(min-width:600px) and (max-height:550px){
 body.solo-table .paigow-table .insurance-layout{width:min(320px,100%)}
 body.solo-table .paigow-table .insurance-layout .hand-summary{display:none}
 body.solo-table .paigow-table .player-area{position:relative;top:-8px}
}
@media(max-width:760px) and (min-height:551px) and (max-height:680px){
 body.solo-table .paigow-table .insurance-layout .insurance-spot{font-size:9px}
}
