/* Clean empty-universe layout (wave 1). Mobile-first: empty space, globe centred, one menu button.
   Fixed on screen and never moved: the emergency button (.eb-btn, top-right) and the 9-8-8 crisis line (bottom-left). */
body.cu { background: #000 url(../assets/globe/night-sky.png) center / cover; overflow: hidden; height: 100dvh; }
body.cu main.app { position: fixed; inset: 0; display: block; max-width: none; height: auto; min-height: 0; padding: 0; margin: 0; grid-template-columns: none; }
body.cu #globe-wrap { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; }
body.cu #globe { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

.cu-hud { position: fixed; inset: 0; pointer-events: none; z-index: 2550; }
.cu-hud > * { pointer-events: auto; position: absolute; }
.cu-menu-btn { top: calc(8px + env(safe-area-inset-top)); left: calc(8px + env(safe-area-inset-left)); min-height: 3rem; min-width: 3rem; padding: .4rem .8rem; border-radius: 12px; background: #10161dcc; color: #e8f6f5; border: 1px solid #3a4a55; font-weight: 700; font-size: .95rem; backdrop-filter: blur(4px); }
.cu-safety-dock { position: fixed; right: 8px; top: 72px; z-index: 2600; }
body.cu .cu-safety-dock { top: auto !important; right: auto; bottom: calc(12px + env(safe-area-inset-bottom)); left: calc(10px + env(safe-area-inset-left)); }
.cu-988 { display: inline-flex; align-items: center; gap: .3rem; min-height: 3rem; padding: .3rem .9rem; border-radius: 999px; background: #2fd3c4; color: #00201e; font-weight: 800; font-size: 1.05rem; text-decoration: none; box-shadow: 0 2px 10px #000a; border: 2px solid #fff; }
.cu-988:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.cu-drop { bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); min-height: 3rem; padding: .3rem 1rem; border-radius: 999px; background: #e8f6f5; color: #0b1a1a; border: 0; font-weight: 800; font-size: 1rem; box-shadow: 0 2px 10px #000a; white-space: nowrap; }
.cu-drop.cu-dropping { background: #ffd34d; }
.cu-tvbc { bottom: calc(76px + env(safe-area-inset-bottom)); right: calc(10px + env(safe-area-inset-right)); font-size: .72rem; color: #9fb3bd; opacity: .75; text-decoration: none; padding: .4rem .2rem; }
.cu-tvbc:hover, .cu-tvbc:focus-visible { opacity: 1; text-decoration: underline; }
@media (min-width: 760px) { .cu-tvbc { bottom: calc(22px + env(safe-area-inset-bottom)); } }
.cu-hud a:focus-visible, .cu-hud button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.cu-drawer { position: fixed; inset: 0; z-index: 2500; background: #0008; }
.cu-drawer[hidden] { display: none !important; }
.cu-drawer-in { position: absolute; top: 0; bottom: 0; left: 0; width: min(460px, 100%); overflow-y: auto; overscroll-behavior: contain; background: #0b0f14; color: #e8eef2; padding: calc(4.6rem + env(safe-area-inset-top)) 1rem 6rem; box-shadow: 4px 0 24px #000c; }
.cu-dh { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.cu-dh h2 { margin: 0; font-size: 1.25rem; }
.cu-x { min-width: 2.75rem; min-height: 2.75rem; }
.cu-drawer h3 { margin: 1rem 0 .3rem; font-size: 1rem; }
.cu-listen { margin-top: .6rem; padding: .7rem .8rem; border: 2px solid #2fd3c4; border-radius: 12px; background: #062a2a; }
.cu-listen h3 { margin-top: 0; }
.cu-988-big { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .3rem .9rem; margin: .15rem .2rem .15rem 0; border-radius: 999px; background: #2fd3c4; color: #00201e !important; font-weight: 800; text-decoration: none; }
.cu-lines { padding-left: 1.1rem; margin: .4rem 0 0; font-size: .88rem; }
.cu-lines li { margin: .25rem 0; }
.cu-lines a, .cu-links a { color: #8fe9df; }
.cu-links a { display: inline-block; margin: .2rem .6rem .2rem 0; min-height: 2.5rem; line-height: 2.5rem; }
.cu-tog { display: flex; gap: .5rem; align-items: center; margin: .5rem 0; min-height: 2.5rem; }
.cu-tog small { color: #9fb3bd; }
.cu-moved { margin-top: 1.2rem; border-top: 1px solid #2a3640; padding-top: .6rem; display: flex; flex-direction: column; gap: .6rem; }
.cu-moved > * { position: static !important; inset: auto !important; transform: none !important; max-width: 100% !important; width: auto !important; height: auto !important; margin: 0 !important; z-index: auto !important; }
.cu-moved .side { display: flex; flex-direction: column; gap: .6rem; overflow: visible; max-height: none; }
.cu-moved header.site nav { display: flex; flex-wrap: wrap; }
.cu-moved .celestial { display: flex; gap: 1rem; }
.cu-moved .celestial > * { position: static !important; }
.cu-unverified { margin: .5rem 0 0; padding: .35rem .55rem; border-radius: 8px; background: #3a2a00; color: #ffe39a; font-size: .85rem; }

.hold-btn { position: relative; overflow: hidden; }
.hold-btn::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: #2fd3c4; }
.hold-btn.holding::after { width: 100%; transition: width var(--hold-ms, 1500ms) linear; }
.hold-btn.hold-hint::before { content: attr(data-hold-hint); position: absolute; inset: auto 0 100% 0; font-size: .75rem; background: #000c; color: #fff; padding: .2rem .4rem; border-radius: 6px; white-space: nowrap; }

body.cu-quiet *, body.cu-quiet *::before, body.cu-quiet *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }

/* Before the menu mounts: hide the old chrome so the first paint is already the clean universe. */
body.cu > header.site, body.cu > footer.site, body.cu > #emerg, body.cu > .early, body.cu > #welcome, body.cu > .lhero, body.cu > .a11y-dock, body.cu main.app > .side, body.cu #celestial:not(.cu-moved *), body.cu #snd-mute:not(.cu-moved *) { display: none; }
.cu-moved .side, .cu-moved #celestial, .cu-moved #snd-mute { display: flex; }
.cu-moved #snd-mute { display: inline-flex; }
.cu-tog input { width: auto !important; flex: 0 0 auto; min-width: 1.4rem; min-height: 1.4rem; margin: 0; }
.cu-tog { flex-wrap: wrap; }
body.cu-open .cu-drop, body.cu-open .cu-tvbc { display: none; }
