/* Keep the existing landing navigation in flow and visible in every quiz state. */
body.prototype-landing > header{position:fixed!important;top:0!important;left:0;right:0;margin-block:0!important;z-index:40!important}
html:has(body.prototype-landing){scroll-padding-top:calc(var(--landing-header-height,80px) + 12px)}
/* Keep progress and time with the question, outside the fixed navigation layer. */
body.prototype-landing #challenge .quiztop{position:static;top:auto}
body.prototype-landing #mainMenu{max-height:calc(100dvh - var(--landing-header-height,80px) - 16px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}

body.prototype-landing > .landing-header-spacer{height:var(--landing-header-height,80px)}
@media(min-width:1001px){body.prototype-landing > .landing-header-spacer{height:calc(var(--landing-header-height,80px) + 20px)}}

/* Match the desktop navigation's soft corners without clipping its dropdown. */
@media(max-width:1000px){
 body.prototype-landing > header{border-radius:20px!important}
}

/* Navigation links must fit their dropdown, including inherited nav margins. */
body.prototype-landing #mainMenu :is(a,button){margin-inline:0;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
