/* On-board actions are usable without scrolling on phones and tablets. */
.hg-main,.hs-view{position:relative;isolation:isolate}
.game-screen-overlay{position:absolute;z-index:30;inset:0;display:flex;align-items:center;justify-content:center;
 min-height:100%;border-radius:15px;padding:16px;background:linear-gradient(150deg,#18191eea,#24242af2);
 text-align:center;overflow:auto}
.game-screen-overlay[hidden]{display:none!important}
.game-screen-panel{max-width:min(100%,320px);display:flex;flex-direction:column;align-items:center;gap:12px}
.game-screen-icon{font:600 40px/1 Georgia,serif;color:var(--game-accent,var(--accent-local,var(--accent,#a8a8ae)));
 text-shadow:0 0 17px color-mix(in srgb,var(--game-accent,var(--accent-local,var(--accent,#a8a8ae))) 40%,transparent)}
.game-screen-panel h2{font:760 clamp(19px,3.2vw,29px)/1.2 Inter,system-ui,-apple-system,sans-serif;color:#f3f1ed;margin:0}
.game-screen-panel p{font-size:clamp(12px,1.6vw,14px);line-height:1.55;color:#ccc8c4;margin:0}
.game-screen-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:5px}
.game-screen-actions button{min-height:46px;min-width:110px;border-radius:11px!important;padding:11px 16px!important;font-size:14px!important;font-weight:750!important}
.game-screen-primary{background:var(--game-accent,var(--accent-local,var(--accent,#a8a8ae)))!important;
 color:#16171b!important;border:1px solid color-mix(in srgb,var(--game-accent,var(--accent-local,var(--accent,#a8a8ae))) 67%,white)!important}
.game-screen-secondary{background:#383941!important;color:#f5f3ee!important;border:1px solid #777780!important}
.game-screen-actions button:focus-visible{outline:3px solid #f7f5ee;outline-offset:3px}
@media(max-width:650px){.game-screen-overlay{padding:8px}.game-screen-panel{gap:9px}
 .game-screen-icon{font-size:30px}.game-screen-actions button{min-height:44px;min-width:98px;padding:10px 12px!important}}
@media(prefers-reduced-motion:reduce){.game-screen-overlay *{transition:none!important}}
