.home-game{margin-block:20px;scroll-margin-top:84px}
.main:has(.home-game){padding-top:14px}
.main:has(.home-game) .hero{padding-block:8px 4px}
.main:has(.home-game) .hero .eyebrow{display:none}
.library-personal:not(:has(#paste-panel:not([hidden]))) #library-step{display:none}
.library-personal .library-alternatives{margin-top:4px}
.home-game-frame{display:block;width:100%;height:440px;border:0}
.home-game-frame.is-loading{visibility:hidden}
.gweb-embedded,.gweb-embedded body{overflow:hidden}
.gweb-embedded body{margin:0;min-height:0;background:transparent}
.gweb-embedded body.gweb-nav-ready{padding-top:0!important}
.gweb-embedded body .shell{padding:0;max-width:none}
.gweb-embedded #mazefold-site-nav,.gweb-embedded header.topbar,.gweb-embedded footer,
.gweb-embedded .mz-skip,.gweb-embedded .ambient,.gweb-embedded #gweb-writing-guide{display:none}
.gweb-embedded .game{padding-top:0}
.gweb-embedded #main{min-height:320px}
#game .controls .control-tail{flex-wrap:wrap;max-width:100%}
.camera-pref{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 7px;color:#d6eae2;font-size:.8rem;white-space:nowrap;cursor:pointer}
.camera-pref input{accent-color:#8af2b8}
.gweb-embedded #finish.cinematic:not([hidden]){position:relative;min-height:320px;overflow:visible}
.gweb-embedded #game .viewport{height:clamp(320px,36vw,350px);min-height:320px}
.gweb-embedded .game-top{margin-bottom:4px}
.gweb-embedded .game-top p{margin-block:3px}
@media(max-width:540px){.gweb-embedded #game .viewport{height:320px}}
/* Embedded PLAY must not inherit top padding or viewport-height reservation
   intended for the standalone PLAY page. Prevent iframe resize feedback. */
html.gweb-embedded body.gweb-play{padding-top:0!important}
html.gweb-embedded body.gweb-play #main{min-height:320px}
