/* The approved Afterimage header. Everything here is scoped to the header. */
.nh-header{position:relative;isolation:isolate;z-index:60;background:#080d1c;color:#d4dae5;font:12px Arial,system-ui,sans-serif;box-shadow:0 4px 20px #0003}
.nh-header *{box-sizing:border-box}
.nh-header .nh-landscape{position:absolute;inset:0;overflow:hidden;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 83% 120%,#a33dbe28,transparent 65%),linear-gradient(180deg,#030710c9,transparent)}
.nh-header .nh-grid{position:absolute;width:160%;height:280px;left:-30%;bottom:-100px;background:linear-gradient(#6e63b62e 1px,transparent 1px),linear-gradient(90deg,#6e63b62e 1px,transparent 1px);background-size:68px 26px;transform:perspective(230px) rotateX(55deg);mask-image:linear-gradient(transparent,#000 50%);opacity:.95}
.nh-header .nh-main{width:calc(100% - 56px);max-width:1600px;margin:0 auto;display:flex;flex-wrap:nowrap;align-items:center;gap:18px;min-height:100px;padding:14px 0}
.nh-header .nh-identity{display:flex;align-items:center;gap:18px;flex-shrink:0}
.nh-header .nh-brand{width:194px;aspect-ratio:1360/330;display:block;position:relative;flex-shrink:0;text-decoration:none;transition:filter .35s}
.nh-header .nh-brand:hover{filter:drop-shadow(0 0 5px #38daf729)}
.nh-header .nh-logo-static{position:absolute;inset:0;overflow:hidden;mix-blend-mode:screen}
.nh-header .nh-logo-static img{position:absolute;max-width:none;width:112.941177%;height:310.303031%;left:-6.617648%;top:-33.939394%;object-fit:fill}
.nh-header .nh-logo-motion{position:absolute;inset:0;width:100%;height:100%;opacity:0}
.nh-header .nh-brand.nh-art-ready .nh-logo-motion{opacity:1}
.nh-header .nh-brand.nh-art-ready .nh-logo-static{visibility:hidden}
.nh-intro-pending .nh-header .nh-logo-static{visibility:hidden}
.nh-header .nh-community{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:5px 9px;color:#f8eacb;text-decoration:none;background:linear-gradient(120deg,#18253699,#20152b99);border-top:1px solid #54869255;border-bottom:1px solid #8a559e77;white-space:nowrap;flex-shrink:0;transition:background .3s,box-shadow .3s}
.nh-header .nh-community:after{content:"";position:absolute;left:9px;right:9px;bottom:0;height:1px;background:linear-gradient(90deg,#1bcbe2,#8064e7,#e639b5);opacity:.6}
.nh-header .nh-community:hover{background:#1c253c;box-shadow:0 0 15px #7c53b525}
.nh-header .nh-community-mark{position:relative;display:block;overflow:hidden;width:30px;height:24px;mix-blend-mode:screen;flex-shrink:0}
.nh-header .nh-community-mark img{position:absolute;max-width:none;width:740.357143%;height:344.545455%;left:-90.357143%;top:-128.181818%}
.nh-header .nh-community-copy{display:flex;flex-direction:column;gap:5px;line-height:1}
.nh-header .nh-community-copy>b{font:800 11px Arial,sans-serif;letter-spacing:1px;color:#ffefd4;text-shadow:0 1px #414478}
.nh-header .nh-community-count{display:flex;align-items:center;gap:4px;font:9px monospace;letter-spacing:.2px;color:#b9c9d9}
.nh-header .nh-community-count strong{font:inherit;color:inherit}
.nh-header .nh-presence-dot{display:block;width:4px;height:4px;background:#22c58a;border-radius:50%;box-shadow:0 0 7px #22c58a44}
.nh-header .nh-inline-nav{display:flex;align-items:center;gap:24px;flex-shrink:0;order:0;width:auto;overflow:visible!important;max-height:none!important;margin:0 auto;padding:0;border:0;background:none}
.nh-header .nh-inline-nav>a,.nh-header .nh-shop>summary{position:relative;display:flex;align-items:center;min-height:44px;padding:0;color:#b9c0cf!important;text-decoration:none;white-space:nowrap;font:12px Arial,system-ui,sans-serif;letter-spacing:.25px;background:none;border:0;border-radius:0}
.nh-header .nh-inline-nav>a:after,.nh-header .nh-shop>summary:after{content:"";position:absolute;height:2px;background:#1acde0;bottom:7px;left:0;right:0;transform:scaleX(0);transform-origin:left;transition:transform .3s}
.nh-header .nh-inline-nav>a:hover:after,.nh-header .nh-inline-nav>a[aria-current=page]:after,.nh-header .nh-selected>summary:after,.nh-header .nh-shop[open]>summary:after{transform:scaleX(1)}
.nh-header .nh-inline-nav>a[aria-current=page],.nh-header .nh-selected>summary{color:#f9efd6!important}
.nh-header .nh-inline-nav .nh-discord{display:none}
.nh-header .nh-dropdown{position:relative;flex-shrink:0}
.nh-header summary{cursor:pointer;list-style:none}
.nh-header summary::-webkit-details-marker{display:none}
.nh-header summary>span{margin-left:7px;color:#7a98ac;font-size:10px}
.nh-header .nh-popover{position:absolute;top:calc(100% + 10px);left:0;min-width:240px;padding:8px;background:#111729;border:1px solid #394562;box-shadow:0 12px 30px #0006;z-index:90;border-radius:3px}
.nh-header .nh-popover a,.nh-header .nh-signout button{display:block;width:100%;padding:13px 12px;color:#dceafa!important;text-decoration:none;text-align:left;font:13px Arial,sans-serif;border:0;background:none;cursor:pointer;border-radius:2px}
.nh-header .nh-popover a:hover,.nh-header .nh-signout button:hover{background:#263346;color:#bff4f4!important}
.nh-header .nh-signout{margin:4px 0 0;padding:4px 0 0;border-top:1px solid #394562}
.nh-header .nh-motion-toggle{display:block;width:100%;margin-top:4px;padding:12px;text-align:left;border:0;border-top:1px solid #394562;background:none;color:#a8bfd1;font:12px Arial,sans-serif;cursor:pointer}
.nh-header .nh-motion-toggle:hover{color:#d9f9ff;background:#263346}
.nh-header .nh-motion-toggle[hidden]{display:none}
.nh-header .nh-motion-replay{display:block;width:100%;margin-top:4px;padding:12px;text-align:left;border:0;background:none;color:#a8bfd1;font:12px Arial,sans-serif;cursor:pointer}
.nh-header .nh-motion-replay[hidden]{display:none}
.nh-header .nh-search-toggle{margin-left:0}
.nh-header .nh-search-toggle>summary{display:grid;place-items:center;width:36px;min-height:38px;color:#9cccd9;background:none;border:0;border-left:1px solid #3d42573f;padding:0}
.nh-header .nh-search{position:absolute;top:calc(100% + 12px);right:0;display:flex;width:min(360px,calc(100vw - 36px));height:48px;margin:0;border:1px solid #4f627e;background:#101627;box-shadow:0 12px 30px #0006;z-index:90;border-radius:3px}
.nh-header .nh-search input{width:100%;min-width:0;background:transparent;color:#e9f4ff;border:0!important;padding:10px 14px;font:14px Arial,sans-serif!important;letter-spacing:0!important;outline:none}
.nh-header .nh-search input::placeholder{color:#9aacc5}
.nh-header .nh-search button{display:grid;place-items:center;padding:0 14px;min-width:44px;border:0;background:transparent;color:#a2d6df;cursor:pointer}
.nh-header .nh-account>summary{display:flex;align-items:center;gap:7px;min-height:44px;padding:0;color:#d4dae5;font:12px Arial,sans-serif;white-space:nowrap;border:0;background:none}
.nh-header .nh-account>summary>span{margin-left:0}
.nh-header .nh-account .nh-popover{left:auto;right:0;min-width:205px}
.nh-header .nh-cart.mc-cart-link{position:static!important;display:flex;align-items:center;justify-content:center;gap:8px;height:38px;padding:0 11px;flex-shrink:0;background:#05132066;border:1px solid #37adca;border-radius:0;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);color:#dce5ed!important;font:12px Arial,sans-serif;text-decoration:none;box-shadow:none;white-space:nowrap}
.nh-header .nh-cart [data-cart-count]{padding:0;min-width:10px;text-align:center;margin-left:3px;color:#fff3d7;font:700 12px Arial,sans-serif;background:none}
.nh-header .nh-cart:hover{background:#142a3c}
.nh-header .nh-main>.owner-header-link{display:flex;align-items:center;gap:8px;flex-shrink:0;border:1px solid #274b5b;background:#0c1c29aa;min-height:38px;padding:0 11px;font:600 11px Arial,sans-serif;color:#b8d6e0!important;border-radius:3px;text-decoration:none;white-space:nowrap}
.nh-header .nh-main>.owner-header-link:before{content:">_";font:14px monospace;color:#40ccdf}
.nh-header .nh-main>.owner-header-link:hover{background:#153147}
.nh-header .nh-menu-toggle{display:none}
.nh-header .nh-edge{height:14px;background:linear-gradient(135deg,transparent calc(100% - 22px),#29bfd9 calc(100% - 21px),#29bfd9 calc(100% - 20px),transparent calc(100% - 19px));border-bottom:1px solid #248ea9;margin-right:20px;position:relative}
.nh-header :focus-visible{outline:2px solid #6de8ef;outline-offset:4px}
/* Preserve the existing homepage carousel's unobtrusive playback control. */
#preview-content .r90-title:has(.nv-controls){background:transparent!important;border:0!important;min-height:0!important;padding:0!important;position:relative;height:0!important;z-index:2}
#preview-content .r90-title:has(.nv-controls)>span{display:none}
#preview-content .nv-controls{position:absolute;right:12px;top:12px}
@media(min-width:1000px) and (max-width:1199px){
 .nh-header .nh-main{gap:10px;width:calc(100% - 36px)}
 .nh-header .nh-identity{gap:10px}
 .nh-header .nh-brand{width:151px}
 .nh-header .nh-inline-nav{gap:14px}
 .nh-header .nh-inline-nav>a,.nh-header .nh-shop>summary{font-size:11px}
 .nh-header .nh-community{padding:5px 6px;gap:5px}
 .nh-header .nh-community-mark{width:25px;height:20px}
 .nh-header .nh-main>.owner-header-link{padding:0 8px;font-size:10px}
 .nh-header .nh-account>summary{font-size:11px;gap:5px}
 .nh-header .nh-search-toggle>summary{width:29px}
 .nh-header .nh-cart.mc-cart-link{padding:0 8px;gap:5px}
}
/* All five primary destinations remain visible on phones and tablets. */
.nh-header .nh-mobile-extras:empty{display:none}
@media(max-width:999px){
 .nh-header .nh-main{display:grid;grid-template-columns:minmax(0,1fr) auto auto;width:calc(100% - 32px);gap:0 16px;min-height:0;padding:12px 0 0}
 .nh-header .nh-identity{grid-row:1;grid-column:1;min-width:0;gap:0;min-height:48px}
 .nh-header .nh-brand{width:clamp(120px,28vw,190px);max-width:100%}
 .nh-header .nh-account{grid-row:1;grid-column:2}
 .nh-header .nh-account>summary{min-height:44px}
 .nh-header .nh-cart.mc-cart-link{grid-row:1;grid-column:3;height:44px}
 .nh-header .nh-inline-nav{grid-row:2;grid-column:1 / -1;display:flex;width:100%;min-width:0;gap:0;justify-content:space-between;flex-wrap:nowrap;margin:10px 0 0;padding:0 48px 0 0;border-top:1px solid #31465566}
 .nh-header .nh-inline-nav>a,.nh-header .nh-shop>summary{min-height:48px;font-size:12px}
 .nh-header .nh-inline-nav .nh-discord{display:none}
 .nh-header .nh-search-toggle{grid-row:2;grid-column:3;justify-self:end;align-self:end;margin:0}
 .nh-header .nh-search-toggle>summary{width:38px;min-height:48px;border:0}
 .nh-header .nh-search-toggle .nh-search{left:auto;right:0;top:calc(100% + 8px);width:min(360px,calc(100vw - 32px))}
 .nh-header .nh-account .nh-popover{left:auto;right:-70px;width:min(285px,calc(100vw - 32px));max-height:calc(100dvh - 110px);overflow-y:auto}
 .nh-header .nh-shop .nh-popover{left:0;min-width:240px;max-width:calc(100vw - 32px)}
 .nh-header .nh-mobile-extras{padding:0 0 8px;margin-bottom:4px;border-bottom:1px solid #394562}
 .nh-header .nh-mobile-extras .nh-community{display:flex;min-height:48px;padding:10px 12px;gap:12px}
 .nh-header .nh-mobile-extras .nh-community-copy{display:flex;gap:6px}
 .nh-header .nh-mobile-extras .owner-header-link{display:block;min-height:44px}
 .nh-header .nh-main>.owner-header-link{grid-row:3;grid-column:1 / -1;justify-self:end;margin:8px 0}
 .nh-header .nh-identity>.nh-community{display:none}
 .nh-header .nh-edge{height:8px}
}
@media(max-width:380px){
 .nh-header .nh-main{width:calc(100% - 24px);column-gap:10px}
 .nh-header .nh-brand{width:116px}
 .nh-header .nh-account>summary{font-size:11px;gap:4px}
 .nh-header .nh-account>summary>svg{display:none}
 .nh-header .nh-cart.mc-cart-link{padding:0 8px;gap:5px}
 .nh-header .nh-cart>span{display:none}
 .nh-header .nh-inline-nav>a,.nh-header .nh-shop>summary{font-size:11px}
 .nh-header .nh-inline-nav{padding-right:40px}
}
@media(prefers-reduced-motion:reduce){.nh-header *{transition:none!important}}
/* Override the legacy theme's important button rules only inside this header. */
body.preview-v62.theme-retro90.navorra-cinematic .nh-header .nh-main>.owner-header-link{padding:0 11px!important;border:1px solid #274b5b!important;background:#0c1c29aa!important;font:600 11px Arial,sans-serif!important;border-radius:3px!important;color:#b8d6e0!important;gap:8px!important}
body.preview-v62.theme-retro90.navorra-cinematic .nh-header .nh-main>.owner-header-link:hover{background:#153147!important}
body.preview-v62.theme-retro90.navorra-cinematic .nh-header .nh-signout button,
body.preview-v62.theme-retro90.navorra-cinematic .nh-header .nh-motion-replay,
body.preview-v62.theme-retro90.navorra-cinematic .nh-header .nh-motion-toggle{background:none!important;border:0!important;border-radius:2px!important;color:#dceafa!important;font:13px Arial,sans-serif!important;padding:12px!important}
body.preview-v62.theme-retro90.navorra-cinematic .nh-header .nh-signout button:hover,
body.preview-v62.theme-retro90.navorra-cinematic .nh-header .nh-motion-replay:hover,
body.preview-v62.theme-retro90.navorra-cinematic .nh-header .nh-motion-toggle:hover{background:#263346!important}
body.preview-v62.theme-retro90.navorra-cinematic .nh-header .nh-menu-toggle{background:none!important;border:0!important;padding:0!important;color:#ccd7e7!important}
body.preview-v62.theme-retro90.navorra-cinematic .nh-header .nh-search button{background:transparent!important;border:0!important;padding:0 14px!important;color:#a2d6df!important}
@media(min-width:1000px) and (max-width:1199px){body.preview-v62.theme-retro90.navorra-cinematic .nh-header .nh-main>.owner-header-link{padding:0 8px!important;font-size:10px!important}}
