/* Boot screen: logo only. Same file styles the static markup before the app script runs and while React drives it
   (class "wake" when the stages finish, "out" as it leaves), so nothing restarts or flashes in between. */
html, body { margin: 0; background: #0b0c1e; color: #eef0ff; }
html[data-theme="day"], html[data-theme="day"] body { background: #f3f6fb; color: #141830; }
.boot { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: radial-gradient(60% 50% at 50% 46%, #132540 0%, #0b0c1e 70%); }
html[data-theme="day"] .boot { background: radial-gradient(60% 50% at 50% 46%, #ffffff 0%, #e5eef8 70%); }
.boot-logo { position: relative; width: min(42vw, 176px); aspect-ratio: 1; animation: boot-float 2.4s steps(6, end) infinite alternate; filter: drop-shadow(0 18px 0 rgb(0 0 0 / 0.18)); }
.boot-logo img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
/* The mascot's wrap-around visor shades, dimmed while loading (a slow standby pulse) and lit when the station is ready. */
.boot-visor { position: absolute; left: 19%; top: 38%; width: 62%; height: 20%; background: #0b0c1e; clip-path: polygon(0 0, 100% 0, 96% 78%, 62% 78%, 50% 62%, 38% 78%, 4% 78%); opacity: 0.62; animation: boot-standby 1.8s steps(6, end) infinite alternate; transition: opacity 160ms steps(3); }
.boot.wake .boot-visor { animation: none; opacity: 0; }
.boot.wake .boot-logo { animation: boot-hop 380ms steps(4, end) 1; }
.boot.wake .boot-logo img { animation: boot-lit 420ms steps(3, end) 1; }
.boot.out { opacity: 0; transition: opacity 280ms ease; pointer-events: none; }
.boot.out .boot-logo { transform: scale(1.12); transition: transform 280ms ease; }
@keyframes boot-float { from { transform: translateY(0); } to { transform: translateY(-6%); } }
@keyframes boot-hop { 0% { transform: translateY(0); } 50% { transform: translateY(-12%); } 100% { transform: translateY(0); } }
@keyframes boot-standby { from { opacity: 0.7; } to { opacity: 0.45; } }
@keyframes boot-lit { 0% { filter: brightness(1); } 40% { filter: brightness(1.45) drop-shadow(0 0 10px #5ee6ee); } 100% { filter: brightness(1); } }
/* The hidden skip zone: a wide strip under the logo. Invisible until focused with the keyboard. */
.boot-skip { position: absolute; left: 50%; top: calc(50% + min(21vw, 88px) + 18px); transform: translateX(-50%); width: min(80vw, 320px); min-height: 64px; border: 0; border-radius: 14px; background: transparent; color: transparent; font: 400 11px "Silkscreen", ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.boot-skip:focus-visible { color: #5ee6ee; outline: 2px dashed #5ee6ee; outline-offset: -6px; }
html[data-theme="day"] .boot-skip:focus-visible { color: #0f7e91; outline-color: #0f7e91; }
.boot-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.boot-noscript { position: absolute; bottom: 24px; left: 16px; right: 16px; text-align: center; font: 14px system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) {
  .boot-logo, .boot.wake .boot-logo { animation: none; }
  .boot-visor, .boot.wake .boot-logo img { animation: none; }
  .boot.out, .boot.out .boot-logo { transition: none; }
}
