/* Play shell: fullscreen retains overlays, controls, and exit button. */
.ive-mgba-link {
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;
 border:1px solid #699387;border-radius:.45rem;padding:.56rem .82rem;
 text-decoration:none;color:#c7e8d3;font-size:.91rem;font-weight:650;
}
.ive-mgba-link:hover {background:#273c43;color:#f5fff5}
#play-shell{margin-top:1.25rem; position:relative;}
.ive-play-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;font-size:.88rem;color:#b4c8bc;}
.ive-play-toolbar button{margin:0;font-size:.88rem;padding:.48rem .75rem;min-height:42px;}
#playbox{margin-top:.75rem}
#play-shell:fullscreen,#play-shell:-webkit-full-screen,#play-shell.ive-fullscreen-fallback{
 background:#090f18;color:#ecf7ee;width:100vw;height:100dvh;margin:0;overflow:auto;
 display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
 padding:clamp(8px,2vw,20px);
}
#play-shell.ive-fullscreen-fallback{position:fixed;inset:0;z-index:300;}
#play-shell:fullscreen .ive-play-toolbar,#play-shell:-webkit-full-screen .ive-play-toolbar,
#play-shell.ive-fullscreen-fallback .ive-play-toolbar{min-height:42px;justify-content:center;}
#play-shell:fullscreen #playbox,#play-shell:-webkit-full-screen #playbox,#play-shell.ive-fullscreen-fallback #playbox{
 width:min(100%, max(210px,calc((100dvh - 152px) * 1.5)));
 flex:0 0 auto;max-width:none;aspect-ratio:3 / 2;margin-top:0.65rem;
}
#play-shell:fullscreen #controls,#play-shell:-webkit-full-screen #controls,
#play-shell.ive-fullscreen-fallback #controls{
 display:flex;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:12px;
}
#play-shell:fullscreen #controls .kb,#play-shell:-webkit-full-screen #controls .kb,
#play-shell.ive-fullscreen-fallback #controls .kb{margin:0.5rem 0 0;}

/* Gameplay and cutscene volume; keep the existing fullscreen UI uncluttered. */
.ive-volume{display:inline-flex;align-items:center;gap:.45rem;padding:.15rem .45rem;border:1px solid #ffffff26;border-radius:.55rem;}
.ive-volume button{min-width:4.5em}
.ive-volume input{width:clamp(4.3rem,12vw,6.7rem);margin:0;accent-color:#e8c4ff;cursor:pointer;touch-action:pan-y}
#play-shell:is(:fullscreen,:-webkit-full-screen,.ive-fullscreen-fallback) .ive-volume{display:none}
