/* Shared header and reference palette, scoped to the requested components. */
:root{--sky-purple:#300081;--sky-violet:#5600eb;--sky-gold:#ffc039;--sky-gold-hover:#eeb14e;--sky-navy:#0b0824;--sky-copy:#44416c;--sky-white:#fff;--sky-lilac:#f3f0ff;--sky-border:#e9e5fa;--sky-soft-purple:#dcd2ff;--sky-header-shadow:0 4px 24px #23105612;--sky-photo-shadow:0 12px 32px #160a3a26;--sky-violet-translucent:#5600eb12;--sky-badge-purple:#21105e;--sky-badge-border:#9073e6;--sky-gold-light:#ffdc78}
.adventure-header{margin:14px auto 0;width:100%;border:0;background:transparent;position:relative;z-index:30;color:var(--sky-navy)}
.adventure-header .header-inner{position:relative;min-height:82px;gap:20px;padding-block:9px;border:1px solid var(--sky-border);border-radius:20px;background:var(--sky-white);box-shadow:var(--sky-header-shadow);flex-wrap:nowrap}
.adventure-header .site-branding{flex:0 0 78px;line-height:1}.adventure-header .custom-logo{width:72px;height:64px;object-fit:contain}
.adventure-header .primary-navigation{margin-left:auto;min-width:0}.adventure-header .nav-menu{gap:clamp(12px,1.5vw,25px);font-size:13px;white-space:nowrap}
.adventure-header .nav-menu>li>a{position:relative;display:block;padding-block:17px;color:var(--sky-purple);font-weight:600}.adventure-header .nav-menu>li>a[aria-current=page]{text-decoration:none}.adventure-header .nav-menu>li>a[aria-current=page]::after{content:"";position:absolute;height:3px;bottom:4px;left:0;right:0;background:var(--sky-violet);border-radius:2px}
.adventure-header .nav-menu>li>a{border-radius:8px;transition:color .18s ease,background-color .18s ease}
.adventure-header .nav-menu a:hover,.adventure-header .nav-menu a:focus-visible{color:var(--sky-violet);background:var(--sky-lilac)}.adventure-header .sub-menu{border-color:var(--sky-border);border-radius:12px;background:var(--sky-white)}
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.header-action{display:flex;align-items:center;justify-content:center;width:44px;height:46px;border:1px solid var(--sky-border);border-radius:12px;color:var(--sky-navy);background:var(--sky-white);cursor:pointer;text-decoration:none;list-style:none}.header-action::-webkit-details-marker{display:none}
.header-account{color:#000000;background:#ffffff;border-color:#f0edfb}.header-account:hover{color:var(--sky-gold)}
.header-play{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:10px 20px;border-radius:12px;background:var(--sky-gold);color:var(--sky-navy);font-size:14px;font-weight:650;text-decoration:none;white-space:nowrap}.header-play:hover{background:var(--sky-gold-hover);color:var(--sky-purple)}
.header-search{position:relative}.header-search-panel{position:absolute;right:0;top:calc(100% + 20px);width:360px;max-width:calc(100vw - 40px);padding:20px;background:var(--sky-white);border:1px solid var(--sky-border);border-radius:14px;box-shadow:var(--sky-header-shadow)}
.header-search-panel .search-form{flex-wrap:nowrap;gap:8px;align-items:end}.header-search-panel label{flex:1;min-width:0}.header-search-panel .search-field{width:100%;min-width:0;background:var(--sky-white);color:var(--sky-navy);border-color:var(--sky-border)}.header-search-panel .search-submit{border:0;border-radius:6px;padding:12px;background:var(--sky-purple);color:var(--sky-white)}
.adventure-header a:focus-visible,.adventure-header summary:focus-visible,.adventure-header button:focus-visible{outline:3px solid var(--sky-violet);outline-offset:4px}
@media(min-width:1400px){.adventure-header .nav-menu{font-size:14px}}
@media(max-width:1199px){.adventure-header .header-inner{gap:12px}.adventure-header .nav-menu{gap:12px;font-size:12px}.header-play{padding-inline:14px}.header-actions{gap:7px}}
@media(max-width:1050px){.adventure-header{padding-inline:0}.adventure-header .header-inner{flex-wrap:wrap;min-height:78px;padding:8px var(--skyhigh-page-padding)}.adventure-header .menu-toggle{display:inline-flex;margin-left:auto;background:var(--sky-white);color:var(--sky-purple);border-color:var(--sky-border);border-radius:10px;min-height:44px}.adventure-header .primary-navigation{width:100%;flex:0 0 100%;order:4;margin:0}.adventure-header .nav-menu{flex-direction:column;align-items:stretch;gap:0;font-size:15px;white-space:normal}.adventure-header .nav-menu>li>a{padding:12px}.adventure-header .nav-menu>li>a[aria-current=page]::after{left:12px;right:auto;width:28px;bottom:5px}.adventure-header .menu-toggle[aria-expanded=false]+.primary-navigation{display:none}.adventure-header .sub-menu{position:static;display:block;box-shadow:none;border:0;padding:0 0 0 24px}.adventure-header .header-actions{order:3}.adventure-header .header-search-panel{right:-100px}.adventure-header .custom-logo{width:64px;height:60px}.adventure-header .site-branding{flex-basis:66px}}
@media(max-width:540px){.adventure-header{margin-top:10px;padding-inline:0}.adventure-header .header-inner{gap:7px;padding-inline:10px;border-radius:16px}.header-play{display:none}.header-action{width:40px;height:44px}.adventure-header .menu-toggle{font-size:0;padding:8px}.adventure-header .menu-toggle .skyhigh-icon{font-size:16px}.adventure-header .header-search-panel{right:-48px;width:280px}.adventure-header .site-branding{flex-basis:62px}}
@media(max-width:1050px){body.navigation-open{overflow:hidden}.adventure-header .primary-navigation{max-height:calc(100dvh - 130px);overflow-y:auto}}

@media(min-width:1051px){.adventure-header .primary-navigation{flex:1;margin-left:0}.adventure-header .nav-menu{justify-content:center}}

/* v1.3.2: the existing approved floating header remains visible during scrolling. */
.adventure-header { position:sticky; top:0; z-index:1000; transition:filter .2s ease; }
.adventure-header.is-scrolled .header-inner { box-shadow:0 10px 34px rgba(35,16,86,.19); }
.admin-bar .adventure-header { top:32px; }
.adventure-header .site-branding{display:flex;align-items:center;gap:10px;flex:0 0 232px}.header-wordmark{text-decoration:none;display:block;line-height:1.18}.header-wordmark>span{font-size:18px;font-weight:650;color:#b78cff}.header-wordmark small{display:block;font-size:9px;color:var(--sky-copy);font-weight:400;margin-top:4px;white-space:nowrap}
@media(min-width:1051px) and (max-width:1199px){.adventure-header .site-branding{flex-basis:188px;gap:7px}.header-wordmark>span{font-size:15px}.header-wordmark small{font-size:8px}.adventure-header .custom-logo{width:58px;height:58px}}
@media(max-width:1050px){.adventure-header .header-wordmark{display:none}.adventure-header .site-branding{flex-basis:66px}}
@media(min-width:1051px) and (max-width:1399px){.adventure-header .header-wordmark{display:none}.adventure-header .site-branding{flex-basis:78px}}
@media (max-width:782px) { .admin-bar .adventure-header { top:46px; } }
@media (prefers-reduced-motion:reduce){.adventure-header{transition:none}}

/* A single icon follows the accessible menu state. */
.adventure-header .menu-toggle[aria-expanded="false"] .menu-icon-close,
.adventure-header .menu-toggle[aria-expanded="true"] .menu-icon-open { display:none; }
@media (max-width:782px) {
 .admin-bar.home .adventure-header.is-scrolled { top:16px; }
}
