@font-face{font-family:Manrope;src:url('../assets/fonts/manrope-variable.ttf') format('truetype');font-weight:200 800;font-display:swap}
html.portal-nav-enabled{--portal-header-height:80px;--portal-stage-height:max(360px,calc(100dvh - var(--portal-header-height)));height:auto!important;min-height:100%;overflow:auto!important;scroll-padding:12px}
html.portal-nav-enabled body[data-portal-nav]{height:auto!important;min-height:100dvh!important;overflow:visible!important;margin:0!important;padding:0;}
#portal-header,#portal-header *{box-sizing:border-box}
#portal-header{position:relative!important;inset:auto!important;z-index:100;display:block!important;width:100%;min-height:0;padding:0;margin:0;border:0;border-bottom:1px solid #7FC4F2;background:#F8FCFF;color:#0E3068;font:600 1rem/1.4 Manrope,sans-serif;isolation:isolate}
#portal-header .portal-header-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 20px;width:min(1360px,100%);margin:auto;padding:8px 20px}
#portal-header a,#portal-header button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:48px;margin:0;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:#0E3068;text-decoration:none;font:inherit;line-height:1.4;cursor:pointer;transform:none;white-space:normal;overflow-wrap:anywhere;box-shadow:none}
#portal-header .portal-brand{justify-content:flex-start;gap:10px;padding:0;min-width:0;flex:0 1 auto;max-width:100%;font-size:1.25em;font-weight:800;letter-spacing:-.02em}
#portal-header .portal-brand img{width:56px;height:56px;object-fit:contain;flex:none;max-width:none}
#portal-header .portal-brand span{min-width:0}
#portal-navigation{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0;max-width:100%}
#portal-navigation a:is([aria-current=page],[aria-current=location]){background:#D9EEF8;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}
#portal-header a:hover,#portal-header button:hover{background:#D9EEF8}
#portal-header :focus-visible{outline:3px solid #C8202E;outline-offset:3px}
#portal-header #portal-menu-toggle{border:2px solid #0E3068;font-weight:750;flex:none}
#portal-header [hidden]{display:none!important}
#portal-header .portal-continue:empty{display:none}
#portal-header .portal-continue-link{background:#0E3068;color:#F8FCFF}
#portal-header .portal-continue-link:hover{background:#173F7A}
#portal-header[inert]{opacity:.72}
.portal-skip{position:absolute;z-index:10000;left:12px;top:8px;padding:12px 16px;min-height:48px;border:3px solid #F8FCFF;border-radius:8px;background:#0E3068;color:#F8FCFF;font:700 1rem/1.4 Manrope,sans-serif;transform:translateY(-180%);text-decoration:underline}
.portal-skip:focus{transform:none;outline:3px solid #C8202E;outline-offset:2px}
main[data-portal-content]{min-width:0;scroll-margin-top:12px}
main[data-portal-content]:focus-visible{outline:3px solid #0E3068;outline-offset:-3px}
html.portal-nav-enabled body.scene-entry>header#portal-header{display:block!important}
html.portal-nav-enabled body.scene-entry>main[data-portal-content]{height:var(--portal-stage-height)!important;min-height:360px;overflow:visible!important}
html.portal-nav-enabled .scene-world{height:var(--portal-stage-height)!important;min-height:360px}
html.portal-nav-enabled main[data-portal-activity]{position:relative;display:block!important;width:100%;height:var(--portal-stage-height)!important;min-height:360px!important;margin:0!important;padding:0!important;max-width:none!important}
html.portal-nav-enabled [data-portal-shell]{height:var(--portal-stage-height)!important;min-height:360px!important;max-height:none!important;width:100%}
/* Native modal gate is shared by the portal and standalone adventures. */
html.portal-nav-enabled .gate-dialog{box-sizing:border-box;border:2px solid #0E3068;border-radius:16px;background:#F8FCFF;color:#0E3068;padding:24px;width:min(430px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;font:500 1rem/1.5 Manrope,sans-serif}
html.portal-nav-enabled .gate-dialog::backdrop{background:#0E306899}
html.portal-nav-enabled .gate-dialog h2{font-size:1.5em;line-height:1.2;margin:0 0 12px}
html.portal-nav-enabled .gate-dialog p{margin:10px 0}
html.portal-nav-enabled .gate-dialog input{box-sizing:border-box;width:100%;min-height:52px;border:2px solid #0E3068;border-radius:8px;padding:8px;font:inherit;font-size:1.3em;background:#F8FCFF;color:#0E3068;text-align:center}
html.portal-nav-enabled .gate-dialog .keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}
html.portal-nav-enabled .gate-dialog button{min-width:48px;min-height:48px;padding:8px;border:2px solid #0E3068;border-radius:8px;background:#D9EEF8;color:#0E3068;font:700 1rem/1.4 Manrope,sans-serif;cursor:pointer}
html.portal-nav-enabled .gate-dialog .gate-bottom{display:flex;gap:8px}
html.portal-nav-enabled .gate-dialog .gate-bottom button{flex:1}
html.portal-nav-enabled .gate-dialog :focus-visible{outline:3px solid #C8202E;outline-offset:3px}
html.portal-nav-enabled .gate-dialog .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){#portal-header .portal-header-inner{gap:8px 12px;padding:8px 12px}#portal-header .portal-brand{flex:1 1 0;max-width:calc(100% - 80px)}#portal-navigation{flex:1 0 100%;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:4px 0}#portal-navigation>a,#portal-navigation .portal-continue-link{justify-content:flex-start;width:100%;padding:10px 14px}#portal-navigation .portal-continue{width:100%}#portal-header .portal-brand img{width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){#portal-header *, .portal-skip{animation:none!important;transition:none!important}}
