/* Fit the actual game area between the wallet and native navigation. */
.app:has(.gf-root){padding-bottom:0;max-width:none}#content:has(.gf-root){padding:7px 12px 0;width:100%;max-width:1240px;margin:auto}
.app .gf-root{height:var(--gf-height,600px);max-width:none;width:100%;padding:0;display:flex;flex-direction:column;gap:6px;min-height:0}
.gf-root>.game-header,.gf-root>.gx-heading,.gf-root>.gx-disclaimer,.gf-root>#history,.gf-root>.cr-layout,.gf-root>.wh-layout,.gf-root>.dx-layout{display:none!important}.gf-root [hidden]{display:none!important}
.gf-top{height:25px;min-height:25px;display:flex;gap:10px;align-items:center;color:#a7a8ae}.gf-top>b{font-size:13px;color:white}.gf-top>span{flex:1}.gf-top button{font-size:9px;padding:3px;color:#b5b6bc}.gf-top .ui-icon{width:17px;height:17px}
.gf-layout{display:flex;flex-direction:column;flex:1;min-height:0;gap:9px}.gf-main{display:flex;flex-direction:column;gap:5px;min-height:80px;min-width:0;flex:1}.gf-controls{flex:0 0 auto;min-width:0;display:flex;flex-direction:column;gap:6px}.gf-stash{display:none!important}
.gf-root .rf-currency{margin:0!important;padding:3px;border-radius:10px;min-height:30px;background:#28292e;border:1px solid #383940}.gf-root .rf-currency button{padding:5px;font-size:10px;min-height:23px;border-radius:7px}.gf-root .control-row{min-height:35px!important;height:35px!important;padding:4px 7px!important;margin:0!important;flex-wrap:nowrap!important;border-radius:9px;gap:4px}.gf-root #stake{min-height:25px!important;font-size:16px!important;min-width:0;flex:1;width:100%}.gf-root .coin{padding:0 3px;font-size:15px}.gf-root [data-adjust]{height:24px!important;min-width:25px;padding:3px 6px!important;margin:0!important;flex:0 0 auto!important;font-size:9px!important}.gf-root .control-row:before{display:none!important}.gf-root .control-row>span:last-child{display:none}
.gf-root #rf-item-options{display:flex;overflow:auto;max-height:93px;gap:5px}.gf-root #rf-item-options>button{min-width:75px;padding:5px;font-size:9px}.gf-root #rf-item-options .gift-art{width:32px;height:32px}.gf-root #rf-item-total{font-size:9px;margin:3px 0}.gf-root #rf-open-inventory{padding:4px;font-size:9px;min-height:24px}
.gf-root .gf-controls>.primary,.gf-root .gf-controls .primary,.gf-root .cr-action{position:static!important;transform:none!important;max-width:none!important;width:100%!important;min-height:40px!important;height:auto;border-radius:11px!important;font-size:13px;margin:0!important;box-shadow:none!important}
.gf-root .gf-controls p{margin:0;font-size:9px;line-height:1.3;min-height:0}.gf-root .gf-controls p:empty{display:none}.gf-root #ext-pending:empty{display:none}.gf-root .gf-controls #ext-restore{font-size:9px;min-height:18px;padding:2px;border:0;text-align:right;color:#92939b}
.gf-root .cr-connection,.gf-root .wh-connection,.gf-root .dx-connection{font-size:9px;padding:3px 6px;min-height:20px;margin:0;flex-shrink:0;background:none;border:0}.gf-root .cr-connection button,.gf-root .wh-connection button,.gf-root .dx-connection button{padding:3px 6px;font-size:9px;border:0}
/* Crash */
.gf-root .cr-board{flex:1;min-height:80px;grid-template-rows:minmax(0,1fr) auto auto;padding:9px;grid-template-columns:minmax(0,1fr) 60px;border-radius:16px}.gf-root .cr-chart{height:auto;min-height:0}.gf-root .cr-board-footer{margin:3px 0;min-height:20px}.gf-root .cr-rounds{min-height:22px;padding:0;gap:4px}.gf-root .cr-pill{padding:4px 6px;font-size:9px}.gf-root .cr-stats{gap:7px;font-size:9px}.gf-root .cr-stats small{font-size:6px}.gf-root .cr-round-id{font-size:8px;padding:2px}.gf-root .cr-score b{font-size:12px}.gf-root .cr-score small{font-size:6px}.gf-root .cr-reading strong{font-size:30px}.gf-root .cr-reading>span{font-size:9px}.gf-root .cr-own-summary{padding:5px;font-size:9px;margin:0;flex-shrink:0}
.gf-root .cr-panel{padding:9px;background:#222326;border-radius:14px;display:flex;flex-direction:column;gap:5px}.gf-root .cr-label,.gf-root .cr-demo-note{display:none}.gf-root .cr-auto-heading{margin:1px 0 0;min-height:19px}.gf-root .cr-auto-heading .cr-label{display:block;font-size:9px}.gf-root .cr-auto-input{height:32px;padding:4px 9px;margin:0}.gf-root .cr-auto-input input{font-size:16px}.gf-root .cr-auto-presets{margin:0;gap:5px}.gf-root .cr-auto-presets button{padding:4px;min-height:23px;font-size:9px}.gf-root .cr-note{font-size:9px;margin:0}.gf-root .cr-action b{font-size:13px}
/* Wheel */
.gf-root .wh-stage{flex:1;height:auto!important;min-height:75px!important;width:100%;aspect-ratio:auto;border-radius:17px;overflow:hidden;display:grid;place-items:center}.gf-root .wh-wheel{width:100%;height:100%;max-height:100%;position:absolute;inset:0;overflow:visible}.gf-root .wh-counter{width:40%;gap:3px;top:50%;left:50%}.gf-root .wh-counter>strong{font-size:clamp(25px,5vh,48px)}.gf-root .wh-counter>span{font-size:7px}.gf-root .wh-counter>div{margin-top:4px;gap:12px}.gf-root .wh-counter>div>span{font-size:9px}.gf-root .wh-round{padding:4px 8px;margin:0;min-height:23px;border-radius:8px;font-size:9px}.gf-root .wh-round button{font-size:8px}.gf-root .wh-panel{padding:9px;border-radius:14px;gap:5px;display:flex;width:100%}.gf-root .wh-panel-title,.gf-root .wh-label,.gf-root .wh-panel #rf-coins:before{display:none}.gf-root .wh-colors{margin:0;gap:5px}.gf-root .wh-color{padding:7px 3px;min-height:30px;font-size:12px;border-radius:8px}.gf-root .wh-add{margin:0;gap:5px}.gf-root .wh-add button{padding:5px;font-size:10px}.gf-root .wh-quote{margin:0;font-size:9px;min-height:20px}.gf-root .wh-quote b{font-size:14px}.gf-root #wh-message{min-height:12px;margin:0;font-size:9px}.gf-root .wh-win{bottom:4px;font-size:9px;padding:3px 6px}
/* Dice: keep all decision controls together, give the cube the remaining space. */
.gf-root .dx-board{display:flex;flex-direction:column;flex:1;min-height:70px;padding:8px 10px 5px;border-radius:16px}.gf-root .dx-digit-row{gap:5px;flex-shrink:0}.gf-root .dx-digit-row>span{height:35px;font-size:22px;max-width:65px}.gf-root .dx-dice-stage{flex:1;height:auto;min-height:25px}.gf-root .dx-cube{--dx-size:48px;--dx-half:24px}.gf-root .dx-face{padding:7px;gap:3px}.gf-root .dx-floor{bottom:0}.gf-root .dx-result{font-size:9px;min-height:12px;margin:4px 0 0;flex-shrink:0}.gf-root .dx-brand{display:none}.gf-root .dx-control-panel{display:flex;flex-direction:column;padding:8px;gap:5px}.gf-root .dx-quote-grid{gap:5px}.gf-root .dx-quote-grid>div,.gf-root .dx-quote-grid>label{padding:6px;gap:3px}.gf-root .dx-quote-grid small,.gf-root .dx-chance-label{font-size:7px}.gf-root .dx-slider-label{padding:0;height:25px}.gf-root .dx-slider-label input{height:25px;margin:0}.gf-root .dx-chance-presets{margin:0;gap:3px}.gf-root .dx-chance-presets button{padding:2px 3px;font-size:9px}.gf-root .dx-funds{display:flex;flex-direction:column;gap:5px}.gf-root .dx-actions{gap:6px}.gf-root .dx-actions>button{min-height:42px;gap:3px}.gf-root .dx-actions b{font-size:14px}.gf-root .dx-actions small{font-size:8px}.gf-root .dx-add{margin:0;gap:4px}.gf-root .dx-add button{padding:4px;font-size:9px}.gf-root .dx-validation{margin:0}
/* Blackjack and Plinko */
.gf-root .ext-stage{flex:1;min-height:90px;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;padding:10px;overflow:hidden;border-radius:17px}.gf-root .ext-stage>small{font-size:10px;color:#b8b9bf}.gf-root .ext-cards{display:flex;justify-content:center;gap:6px;flex:1;min-height:0;align-items:center;width:100%;margin:3px 0;overflow:hidden}.gf-root .ext-card{height:min(11vh,105px);width:min(13vw,68px);min-width:25px;max-height:100%;font-size:20px;display:grid;place-items:center;border-radius:8px;flex-shrink:1}.gf-root .ext-controls{display:flex;gap:6px}.gf-root .ext-controls>button{flex:1;font-size:12px;padding:8px;min-height:38px}.gf-root #ext-double{min-height:27px;padding:5px;font-size:11px}.gf-root .srv-plinko{flex:1;min-height:80px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:0}.gf-root #srv-plinko-canvas{display:block;width:100%;height:100%;object-fit:contain;min-height:0;max-height:100%}.gf-root .rf-mines-options{display:flex;gap:8px;margin:0}.gf-root .rf-mines-options label{display:flex;align-items:center;gap:6px;flex:1;font-size:10px}.gf-root .rf-mines-options select{font-size:16px;padding:4px;min-width:0;flex:1;width:100%;height:31px;border-radius:8px}
.gf-root[data-fit-wide=true] .gf-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px}.gf-root[data-fit-wide=true] .gf-controls{padding:14px;background:#202124;border:1px solid #34353b;border-radius:17px;justify-content:center;overflow-y:auto}.gf-root[data-fit-wide=true] .gf-main{height:100%;min-height:0}.gf-root[data-fit-wide=true] .cr-panel,.gf-root[data-fit-wide=true] .wh-panel{border:0;background:none;padding:0}.gf-root[data-fit-wide=true] .dx-control-panel{padding:0;background:none;border:0}.gf-root[data-fit-wide=true] .ext-card{height:min(17vh,140px);width:83px;font-size:27px}.gf-root[data-fit-wide=true] .dx-digit-row>span{height:60px;font-size:34px}.gf-root[data-fit-wide=true] .dx-cube{--dx-size:85px;--dx-half:42.5px}.gf-root[data-fit-wide=true] .dx-face{padding:12px;gap:6px}.gf-root[data-fit-wide=true] .cr-board{grid-template-columns:minmax(0,1fr) 90px}.gf-root[data-fit-wide=true] .cr-score b{font-size:17px}
.gf-root[data-fit-short=true] .gf-layout{gap:6px}.gf-root[data-fit-short=true] .gf-controls{gap:4px}.gf-root[data-fit-short=true] .gf-top{height:22px;min-height:22px}.gf-root[data-fit-short=true] .cr-panel,.gf-root[data-fit-short=true] .wh-panel,.gf-root[data-fit-short=true] .dx-control-panel{padding:6px;gap:4px}.gf-root[data-fit-short=true] .cr-auto-presets,.gf-root[data-fit-short=true] .dx-add{display:none}.gf-root[data-fit-short=true] .wh-add button{padding:3px}.gf-root[data-fit-short=true] .cr-reading strong{font-size:24px}.gf-root[data-fit-short=true] .cr-rounds{display:none}.gf-root[data-fit-short=true] .dx-digit-row>span{height:27px;font-size:18px}.gf-root[data-fit-short=true] .dx-quote-grid>div,.gf-root[data-fit-short=true] .dx-quote-grid>label{padding:4px}.gf-root[data-fit-short=true] .dx-quote-grid{min-height:43px}.gf-root[data-fit-short=true] .dx-cube{--dx-size:37px;--dx-half:18.5px}.gf-root[data-fit-short=true] .dx-face{padding:5px;gap:2px}.gf-root[data-fit-short=true] .gf-controls .primary,.gf-root[data-fit-short=true] .cr-action{min-height:36px!important}.gf-root[data-fit-short=true] .ext-card{height:min(10vh,65px);font-size:17px}
#gf-details .cr-players,#gf-details .dx-history{display:block;min-height:0;margin:0}#gf-details .wh-global,#gf-details .wh-columns{display:grid}#gf-details .wh-columns{grid-template-columns:repeat(2,minmax(0,1fr))}#gf-details .wh-bets{min-height:80px}#gf-details .dx-history{background:none;border:0;padding:0}
.brand-card-arrow{display:none!important}.game-cover{image-rendering:auto;filter:none}
.gf-root .srv-plinko{background:radial-gradient(ellipse at 50% 10%,#ff922e08,transparent 65%),#1e1f23;border:1px solid #37383e;border-radius:17px}
/* A short landscape window still keeps every decision button in view. */
.gf-root[data-fit-wide=true][data-fit-short=true] .gf-controls{padding:6px;justify-content:center;gap:4px}
.gf-root[data-fit-wide=true][data-fit-short=true] .cr-panel{display:grid;grid-template-columns:1fr 1fr;padding:0;gap:4px}.gf-root[data-fit-wide=true][data-fit-short=true] .cr-panel :is(.rf-currency,#rf-coins,#rf-items,.cr-action,.cr-note){grid-column:1/-1}.gf-root[data-fit-wide=true][data-fit-short=true] .cr-auto-heading{grid-column:1;margin:0}.gf-root[data-fit-wide=true][data-fit-short=true] .cr-auto-input{grid-column:2;min-width:0}
.gf-root[data-fit-wide=true][data-fit-short=true] .wh-panel{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:0}.gf-root[data-fit-wide=true][data-fit-short=true] .wh-panel :is(.rf-currency,.wh-colors,#rf-items,#wh-message,#wh-pending){grid-column:1/-1}.gf-root[data-fit-wide=true][data-fit-short=true] .wh-panel #rf-coins{grid-column:1}.gf-root[data-fit-wide=true][data-fit-short=true] .wh-add{grid-column:2;align-self:center;gap:2px}.gf-root[data-fit-wide=true][data-fit-short=true] .wh-add button{padding:4px 1px;font-size:9px}.gf-root[data-fit-wide=true][data-fit-short=true] .wh-quote{grid-column:1;font-size:8px;gap:3px}.gf-root[data-fit-wide=true][data-fit-short=true] .wh-play{grid-column:2;font-size:10px}
.gf-root[data-fit-wide=true][data-fit-short=true] .dx-control-panel{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:0}.gf-root[data-fit-wide=true][data-fit-short=true] .dx-quote-grid{grid-column:1/-1}.gf-root[data-fit-wide=true][data-fit-short=true] .dx-slider-label{grid-column:1;align-self:center}.gf-root[data-fit-wide=true][data-fit-short=true] .dx-chance-presets{grid-column:2;align-self:center;gap:1px}.gf-root[data-fit-wide=true][data-fit-short=true] .dx-chance-presets button{min-width:0;font-size:7px;padding:2px 0;flex:1}.gf-root[data-fit-wide=true][data-fit-short=true] .dx-funds{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:4px}.gf-root[data-fit-wide=true][data-fit-short=true] .dx-funds :is(#rf-items){grid-column:1/-1}.gf-root[data-fit-wide=true][data-fit-short=true] .dx-actions,.gf-root[data-fit-wide=true][data-fit-short=true] .dx-validation,.gf-root[data-fit-wide=true][data-fit-short=true] .dx-pending{grid-column:1/-1}
.gf-root[data-fit-wide=true][data-fit-short=true]:is([data-fit-game=blackjack],[data-fit-game=plinko],[data-fit-game=arena]) .gf-controls{display:grid;grid-template-columns:1fr 1fr;align-content:center}.gf-root[data-fit-wide=true][data-fit-short=true]:is([data-fit-game=blackjack],[data-fit-game=plinko],[data-fit-game=arena]) .gf-controls>.rf-currency{grid-column:1}.gf-root[data-fit-wide=true][data-fit-short=true]:is([data-fit-game=blackjack],[data-fit-game=plinko],[data-fit-game=arena]) .gf-controls>#rf-coins{grid-column:2}.gf-root[data-fit-wide=true][data-fit-short=true] .gf-controls>:is(#rf-items,.rf-mines-options,.ext-controls,#ext-result,#ext-pending,#srv-plinko-play,#srv-plinko-result,.ar-quick,.ar-actions,.ar-facts,#ar-message,#ar-pending){grid-column:1/-1}.gf-root[data-fit-wide=true][data-fit-short=true] .gf-controls #stake{font-size:16px!important}.gf-root[data-fit-wide=true][data-fit-short=true] .gf-controls .control-row [data-adjust]:not([data-adjust=max]){display:none}
