/* SHIELD797-OLD-MENU : the same Shield Hosting menu on Astro and Emergent React. */
:root{--shn-bg:rgba(9,20,37,.93);--shn-menu:#0b1a30;--shn-text:#e8f1ff;--shn-stroke:rgba(113,163,232,.23);--shn-shadow:0 16px 55px rgba(0,0,0,.22)}
html:not(.dark){--shn-bg:rgba(255,255,255,.95);--shn-menu:#ffffff;--shn-text:#182c47;--shn-stroke:rgba(50,102,177,.20);--shn-shadow:0 15px 42px rgba(28,66,112,.14)}
.shn-header,.shn-header *{box-sizing:border-box}
.shn-header{position:sticky;top:0;z-index:1000;padding:12px clamp(12px,2.3vw,32px) 0;pointer-events:none;color:var(--shn-text);font-family:'Geist',system-ui,sans-serif}
body:not(.shield-unified)>.shn-header{position:fixed;top:0;left:0;right:0}
.shn-shell{position:relative;max-width:1380px;width:100%;min-height:73px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:clamp(12px,2vw,28px);padding:6px 17px 6px 24px;border:1px solid var(--shn-stroke);border-radius:18px;background:var(--shn-bg);box-shadow:var(--shn-shadow);backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%);pointer-events:auto}
.shn-logo{display:flex;align-items:center;flex:none;min-width:0}.shn-logo img{display:block;width:clamp(155px,14vw,215px);height:auto;max-height:60px;object-fit:contain;object-position:left center}.shn-logo-light{display:none!important}html:not(.dark) .shn-logo-dark{display:none!important}html:not(.dark) .shn-logo-light{display:block!important}
.shn-nav{display:flex;align-items:center;justify-content:center;gap:clamp(8px,1.7vw,28px);white-space:nowrap;flex:1}
.shn-nav>a,.shn-nav .shn-drop>summary{color:var(--shn-text)!important;font:500 14px/1.4 'Geist',system-ui,sans-serif;opacity:.86;cursor:pointer;padding:12px 5px;transition:color .2s,opacity .2s}
.shn-nav>a:hover,.shn-nav .shn-drop>summary:hover,.shn-nav .shn-drop[open]>summary{color:#71bbff!important;opacity:1}
.shn-nav a,.shn-tools a{text-decoration:none!important}.shn-drop{position:relative}.shn-drop>summary,.shn-mobile>summary,.shn-mobile-group>summary{list-style:none;cursor:pointer;user-select:none}.shn-drop>summary::-webkit-details-marker,.shn-mobile>summary::-webkit-details-marker,.shn-mobile-group>summary::-webkit-details-marker{display:none}
.shn-chevron{display:inline-block;margin-left:4px;transform-origin:center;transition:transform .2s;opacity:.75}.shn-drop[open]>.shn-chevron,.shn-drop[open]>summary .shn-chevron{transform:rotate(180deg)}
.shn-panel{position:absolute;top:100%;left:-16px;z-index:1050;padding-top:12px;min-width:235px}.shn-panel-inner{background:var(--shn-menu);border:1px solid var(--shn-stroke);border-radius:16px;padding:12px;box-shadow:0 24px 58px rgba(0,0,0,.27);display:grid;gap:3px;max-height:min(70vh,660px);overflow:auto}.shn-panel-inner>a,.shn-panel-inner .shn-links-two a{display:block;padding:11px 13px;font:500 13px/1.35 'Geist',sans-serif;color:var(--shn-text)!important;text-decoration:none!important;border-radius:9px;white-space:nowrap}.shn-panel-inner>a:hover,.shn-panel-inner .shn-links-two a:hover{background:rgba(56,126,224,.17);color:#73b9ff!important}.shn-panel-wide{min-width:470px}.shn-links-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 6px}.shn-kicker{display:block;margin:2px 12px 7px;color:#6daeff;font:600 10px/1.4 'Geist Mono',monospace;letter-spacing:.13em}
.shn-tools{display:flex;align-items:center;gap:10px;flex:none}.shn-theme{height:39px;width:39px;display:grid;place-items:center;border:1px solid var(--shn-stroke);border-radius:12px;color:var(--shn-text);background:transparent;cursor:pointer;font-size:22px}.shn-theme:focus-visible,.shn-nav a:focus-visible,.shn-drop summary:focus-visible,.shn-client:focus-visible,.shn-mobile summary:focus-visible{outline:2px solid #69baff;outline-offset:3px}.shn-theme:hover{border-color:#61a7ff}.shn-moon{display:none}html:not(.dark) .shn-sun{display:none}html:not(.dark) .shn-moon{display:block}
.shn-language>summary{font:600 12px/1.2 'Geist Mono',monospace;color:var(--shn-text);cursor:pointer;padding:11px 0}.shn-language .shn-panel{left:auto;right:0;min-width:160px}.shn-language .shn-panel-inner{max-height:none}.shn-client{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:#102039!important;border-radius:999px;min-height:42px;padding:0 21px;font:600 13px/1 'Geist',sans-serif;white-space:nowrap}.shn-client:hover{background:#dceeff}.shn-mobile{display:none}.shn-mobile>summary{color:var(--shn-text);border:1px solid var(--shn-stroke);border-radius:11px;padding:6px 10px;font-size:23px}.shn-mobile-panel{position:absolute;top:calc(100% + 6px);right:12px;left:12px;border:1px solid var(--shn-stroke);border-radius:17px;padding:14px;background:var(--shn-menu);max-height:75vh;overflow-y:auto;box-shadow:var(--shn-shadow)}.shn-mobile-panel>a,.shn-mobile-panel .shn-mobile-group a{display:block;padding:10px 12px;color:var(--shn-text)!important;font:500 14px/1.4 'Geist',sans-serif;border-radius:8px}.shn-mobile-panel a:hover{background:rgba(50,123,235,.16)}.shn-mobile-group>summary{display:flex;justify-content:space-between;padding:12px;color:#86baff;border-bottom:1px solid var(--shn-stroke);font-weight:600}.shn-mobile-group>div{padding:4px 10px}.shn-mobile-languages{display:flex;gap:12px;justify-content:flex-start;border-top:1px solid var(--shn-stroke);padding:12px 4px 0}.shn-mobile-languages a{color:var(--shn-text)!important;padding:6px}
/* Remove React's own header only on the unified homepage, keeping React globe/motion/footer intact. */
.shn-header ~ #root header.fixed{display:none!important}
@media(max-width:1140px){.shn-nav{gap:9px}.shn-logo img{width:158px}.shn-shell{gap:13px;padding-left:17px}.shn-nav>a,.shn-nav .shn-drop>summary{font-size:13px}.shn-tools{gap:7px}.shn-client{padding-inline:15px}}
@media(max-width:980px){.shn-nav{display:none}.shn-mobile{display:block}.shn-shell{min-height:65px}.shn-logo img{width:178px}}
@media(max-width:580px){.shn-header{padding:10px 12px 0}.shn-shell{border-radius:15px;gap:7px;padding:7px 10px}.shn-logo img{width:clamp(112px,29vw,165px)}.shn-tools{gap:6px}.shn-client{display:none}.shn-language{display:none}.shn-theme{height:36px;width:36px}.shn-mobile-panel{top:calc(100% + 6px)}}
@media(prefers-reduced-motion:reduce){.shn-header *, .shn-header *::before, .shn-header *::after{transition:none!important}}
