/* Gaming Portal v3 player. The iframe cannot override scrollbars inside cross-origin games. */
.gp-player-shell{width:100%;min-width:0;margin:0 0 18px}.gp-player-shell .gp-player-wrap{position:relative;width:100%;max-width:100%;aspect-ratio:var(--gp-aspect,16 / 9);overflow:hidden;background:#070d1c;border:1px solid #34415d;border-radius:18px}.gp-player-shell iframe.gp-player{display:block;position:absolute;inset:0;width:100%;height:100%;border:0}.gp-player-shell .gp-mode-portrait{max-width:min(100%,620px);margin:auto}.gp-player-shell .gp-display-tall{aspect-ratio:auto!important;height:max(740px,85dvh);max-height:1250px}.gp-player-shell .gp-display-fixed{aspect-ratio:auto!important;height:var(--gp-min-height,760px)}.gp-player-shell .gp-player-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:12px 0 18px}.gp-player-toolbar button{border:1px solid #405779;border-radius:10px;background:#202e49;color:#fff;font-weight:700;padding:10px 16px;cursor:pointer}.gp-player-toolbar button:hover{background:#354d79}.gp-player-note{font-size:12px;color:#a8b8d1}.gp-player-shell:fullscreen{background:#080e1d;padding:10px;display:flex;flex-direction:column}.gp-player-shell:fullscreen .gp-player-wrap{flex:1;width:100%;height:auto!important;max-height:none!important;max-width:none!important;aspect-ratio:auto!important}.gp-player-shell:fullscreen .gp-player-toolbar{padding:8px 0 0}@media(max-width:700px){.gp-player-shell .gp-display-tall{height:80dvh;min-height:520px}.gp-player-shell .gp-display-fixed{height:min(var(--gp-min-height,760px),90dvh)}.gp-player-note{width:100%}}

/* v3.2: preserve iframe click/touch focus, avoid overlays and unexpected mobile aspect overrides */
.gp-player-shell{position:relative;isolation:isolate}.gp-player-shell .gp-player-wrap{z-index:1;touch-action:auto}.gp-player-shell iframe.gp-player{pointer-events:auto;touch-action:auto;z-index:1}.gp-player-shell .gp-player-toolbar{position:relative;z-index:2}.gp-player-toolbar .gp-open-external{display:inline-flex;align-items:center;border:1px solid #405779;border-radius:10px;background:#202e49;color:#fff;font-weight:700;padding:10px 16px;text-decoration:none}.gp-player-toolbar .gp-open-external:hover{background:#354d79}.gp-player-shell:fullscreen{height:100dvh}.gp-player-shell:fullscreen .gp-player-wrap{min-height:0}

/* v3.3: Auto is an adaptive viewport, not 16:9. Never transform or scale cross-origin game content. */
.gp-player-shell .gp-player-wrap.gp-mode-auto.gp-display-responsive{aspect-ratio:auto!important;height:clamp(600px,78dvh,960px)!important;min-height:0}
.gp-player-shell .gp-player-wrap.gp-mode-auto.gp-display-responsive iframe{width:100%;height:100%;transform:none!important}
.gp-player-shell .gp-player-wrap.gp-mode-portrait{max-width:min(100%,620px);margin-inline:auto}
.gp-player-shell .gp-player-wrap.gp-mode-square{max-width:min(100%,900px);margin-inline:auto}
@media(max-width:700px){.gp-player-shell .gp-player-wrap.gp-mode-auto.gp-display-responsive{height:clamp(500px,76dvh,820px)!important}}
