:root{--header-bar: 44px;--header-h: calc(var(--header-bar) + env(safe-area-inset-top, 0px))}.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:6px;box-sizing:border-box;height:var(--header-h);padding:env(safe-area-inset-top,0px) max(10px,env(safe-area-inset-right,0px)) 0 max(10px,env(safe-area-inset-left,0px));background:linear-gradient(180deg,rgb(var(--rim-rgb) / .07),transparent),rgb(var(--floor-rgb) / .78);-webkit-backdrop-filter:blur(12px) saturate(1.3);backdrop-filter:blur(12px) saturate(1.3);box-shadow:inset 0 -1px rgb(var(--rim-rgb) / .3),0 8px 24px -16px #000000e6;color:var(--text);font:700 14px/1.2 var(--face);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}.site-header *,.site-header *:before,.site-header *:after{box-sizing:border-box}.site-header :focus-visible{outline:2px solid var(--glow);outline-offset:2px}.header-back{flex:none;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--text-dim);cursor:pointer;transition:color .2s,background-color .2s,box-shadow .2s}.header-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.header-back:hover{color:var(--text);background:rgb(var(--rim-rgb) / .1);box-shadow:inset 0 0 0 1px rgb(var(--rim-rgb) / .35)}.header-home{display:inline-flex;align-items:center;gap:9px;min-width:0;padding:4px 8px 4px 4px;border-radius:10px;color:inherit;text-decoration:none;transition:background-color .2s}.header-home:hover{background:rgb(var(--rim-rgb) / .08)}.header-home span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-mark{flex:none;width:24px;height:24px;border-radius:7px;box-shadow:0 0 0 1px var(--rim),0 0 12px var(--glow-soft)}.header-end{flex:none;display:flex;align-items:center;gap:8px;margin-left:auto}.sound-button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgb(var(--floor-rgb) / .55);box-shadow:inset 0 0 0 1px var(--rim);color:var(--text-dim);cursor:pointer;transition:color .2s,box-shadow .2s}.sound-button[hidden]{display:none}.sound-button:hover{color:var(--text);box-shadow:inset 0 0 0 1px rgb(var(--rim-rgb) / .75),0 0 16px var(--glow-soft)}.sound-button:focus-visible{outline:2px solid var(--glow);outline-offset:2px}.sound-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sound-button .speaker{fill:currentColor}.sound-button .cross,.sound-button[aria-pressed=true] .waves{display:none}.sound-button[aria-pressed=true] .cross{display:inline}.sound-button[aria-pressed=true]{color:var(--faint)}.mode-picker{position:relative}.mode-picker[hidden]{display:none}.mode-button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgb(var(--floor-rgb) / .55);box-shadow:inset 0 0 0 1px var(--rim);color:var(--text-dim);cursor:pointer;transition:color .2s,box-shadow .2s}.mode-button:hover,.mode-button[aria-expanded=true]{color:var(--text);box-shadow:inset 0 0 0 1px rgb(var(--rim-rgb) / .75),0 0 16px var(--glow-soft)}.mode-button svg,.mode-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mode-button .fill,.mode-icon .fill{fill:currentColor;stroke:none}.mode-icon{display:grid;place-items:center;width:16px}.mode-picker .theme-menu{min-width:150px}.theme-picker{position:relative}.theme-button{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 10px 0 8px;border:0;border-radius:999px;background:rgb(var(--floor-rgb) / .55);box-shadow:inset 0 0 0 1px var(--rim);color:var(--text-dim);font:700 13px/1 var(--face);cursor:pointer;transition:color .2s,box-shadow .2s}.theme-button:hover,.theme-button[aria-expanded=true]{color:var(--text);box-shadow:inset 0 0 0 1px rgb(var(--rim-rgb) / .75),0 0 16px var(--glow-soft)}.theme-button .chevron{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}.theme-button[aria-expanded=true] .chevron{transform:rotate(180deg)}.swatch{flex:none;width:13px;height:13px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff 0 12%,var(--swatch) 45%);box-shadow:0 0 0 1px #00000080,0 0 8px var(--swatch)}.theme-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:180px;margin:0;padding:6px;border-radius:14px;list-style:none;background:linear-gradient(180deg,rgb(var(--rim-rgb) / .1),transparent 30%),linear-gradient(180deg,var(--glass-top),var(--glass-bottom));box-shadow:inset 0 0 0 1px var(--rim),inset 0 1px rgb(var(--pale-rgb) / .3),0 0 24px rgb(var(--rim-rgb) / .12),0 18px 40px -12px #000000e6}.theme-menu[hidden]{display:none}.theme-menu li{display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:9px;color:var(--text-dim);font-size:14px;cursor:pointer}.theme-menu li:hover,.theme-menu li.active{color:var(--text);background:rgb(var(--rim-rgb) / .1)}.theme-menu li[aria-selected=true]{color:var(--text)}.theme-menu .check{width:14px;height:14px;margin-left:auto;fill:none;stroke:var(--glow);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;visibility:hidden}.theme-menu li[aria-selected=true] .check{visibility:visible}.theme-menu:focus{outline:none}.theme-menu:focus-visible li.active{box-shadow:inset 0 0 0 1px rgb(var(--rim-rgb) / .6)}@media(max-width:420px){.theme-button .theme-name{display:none}}:root{--header-bar: 64px}.site-header{background:#101c25;box-shadow:inset 0 -1px #30404a;padding-inline:max(20px,env(safe-area-inset-left));backdrop-filter:none}.header-home{gap:10px}.header-home .brand-mark{width:30px;height:30px;border-radius:0;box-shadow:none;color:#edf4f3}.brand-name{font-size:17px;letter-spacing:-.04em;color:#edf4f3}.brand-sub{color:#58b9a6;font-weight:400}.theme-button{box-shadow:inset 0 0 0 1px #3b4a54;background:transparent;border-radius:6px}@media(max-width:380px){.brand-name{font-size:14px}.header-home{gap:6px;padding-right:0}}
