/* Compact global navigation: brand and destinations together; utilities at the edge. */
body:has(#home) .header.global-header{height:72px;min-height:72px;padding:0 32px;gap:32px;justify-content:flex-start;border-bottom:1px solid #17171908;background:transparent;position:relative;z-index:30}
body:has(#home) .global-header .brand{gap:5px;font-size:23px;font-weight:750;letter-spacing:-.85px;flex-shrink:0}
body:has(#home) .global-header .brand>b{font-weight:400}
body:has(#home) .global-header .hior-mark{width:27px;height:30px;margin-right:5px;border-radius:5px}
body:has(#home) .global-header .global-nav{display:flex;align-items:center;gap:4px;font-size:12px;color:#303035;width:auto;order:initial;border:0;padding:0}
.global-nav>a,.space-menu>summary{display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:22px;white-space:nowrap;font-weight:450;line-height:18px;cursor:pointer;transition:background .15s}
body:has(#home) .global-header .nav-current{font-weight:550;color:#171719}
.global-nav>a:hover,.space-menu>summary:hover,.space-menu[open]>summary{background:#22222607}
.space-menu{position:relative}.space-menu>summary{list-style:none}.space-menu>summary::-webkit-details-marker{display:none}
.global-header svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.space-menu>summary svg{width:12px;height:12px;transition:transform .15s}.space-menu[open]>summary svg{transform:rotate(180deg)}
.space-menu-panel{position:absolute;left:0;top:calc(100% + 15px);width:280px;padding:16px;background:#fff;border:1px solid #e7e7ed;border-radius:18px;box-shadow:0 16px 50px #17171912;z-index:60}
.space-menu-panel p{margin:4px 10px 12px;font-size:10px;color:#85858d;letter-spacing:.5px}
.space-menu-panel>a{display:flex;align-items:center;justify-content:space-between;padding:12px 10px;border-radius:9px;color:#26262a;font-size:14px;line-height:1.25;transition:background .15s}
.space-menu-panel>a:hover{background:#f3f3f8}.space-menu-panel small{display:block;font-size:11px;color:#7a7a84;margin-top:6px;font-weight:400}
body:has(#home) .global-header nav .space-menu-panel>a>span{margin:0}.space-menu-panel>a>span:last-child{color:#85858d}
body:has(#home) .global-header .header-controls{margin-left:auto;gap:10px;align-items:center}
body:has(#home) .global-header .lobby-sound{height:34px;border:0;background:transparent;color:#686872;gap:0;border-radius:22px}
body:has(#home) .global-header #musicToggle{width:30px;height:34px;padding:0;justify-content:center;gap:0;border-radius:50%;color:#686872}
#musicToggle>span:nth-child(2),body:has(#home) .global-header #motionLabel{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body:has(#home) .global-header #musicToggle>span:first-child{font-size:12px}
body:has(#home) .global-header #musicToggle[aria-pressed=true]>span:first-child{display:none}
body:has(#home) .global-header #musicToggle[aria-pressed=true] .music-bars{color:#34343b;height:14px;gap:3px}
body:has(#home) .global-header #musicOptions>summary{padding:10px 7px 10px 1px;font-size:12px;color:#888891}
body:has(#home) .global-header .motion{width:34px;height:34px;min-width:34px;border:0;border-radius:50%;padding:8px;display:grid;place-items:center;background:transparent;color:#71717c;margin:0}
body:has(#home) .global-header .motion[aria-pressed=false]{color:#aaaab2}.global-header .motion svg{width:17px;height:17px}
body:has(#home) .global-header #musicToggle:hover,body:has(#home) .global-header .motion:hover{background:#22222608;color:#202024}
.header-cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;white-space:nowrap;padding:10px 17px;border-radius:24px;background:#171719;color:#fff;font-size:12px;line-height:17px;transition:background .15s}
.header-cta:hover{background:#343438}.header-cta svg{width:13px;height:13px}
.global-header .music-panel{top:calc(100% + 15px);padding:21px;border-color:#e7e7ed;box-shadow:0 16px 50px #17171912;border-radius:18px}
.global-header .music-panel strong{font-size:14px;font-weight:550;letter-spacing:0}
.global-header :is(a,button,summary):focus-visible{outline:2px solid #70707e;outline-offset:3px}
@media(max-width:850px){body:has(#home) .header.global-header{padding:0 22px;gap:20px}body:has(#home) .global-header .header-controls{gap:6px}.global-nav>a,.space-menu>summary{padding:9px}}
@media(max-width:620px){
 body:has(#home) .header.global-header{height:auto;min-height:100px;flex-wrap:wrap;padding:14px 20px 9px;gap:9px 18px}
 body:has(#home) .global-header .brand{font-size:21px}.header-cta{font-size:11px;padding:9px 13px;gap:8px}
 body:has(#home) .global-header .global-nav{order:3;flex-basis:100%;gap:12px;justify-content:flex-start;padding:1px 0 0;margin-left:-9px;font-size:11px}
 body:has(#home) .global-header .header-controls{gap:3px}.global-header .hior-mark{width:25px;height:28px}
 body:has(#home) .global-header .motion{display:grid}.space-menu-panel{left:-78px;top:calc(100% + 8px);width:min(290px,calc(100vw - 40px))}
}
@media(prefers-reduced-motion:reduce){.global-header *{transition:none!important}}
@media(max-width:360px){body:has(#home) .header.global-header{padding-left:14px;padding-right:14px;column-gap:8px}body:has(#home) .global-header .brand{font-size:18px;gap:3px}body:has(#home) .global-header .hior-mark{width:23px;height:26px;margin-right:3px}.header-cta{padding:9px 10px;gap:5px}body:has(#home) .global-header .header-controls{gap:0}}

.global-header .register-entry{display:inline-flex;align-items:center;min-height:38px;padding:0 8px;font-size:12px;color:#292930;white-space:nowrap}
@media(max-width:370px){.global-header .register-entry{padding:0 4px;font-size:11px}}

.workspace-mode .global-header .lobby-sound{display:flex}
