:root { color-scheme: dark; font-family: system-ui, -apple-system, sans-serif; background: #0a1627; color: #edf5f5; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; }
#frame { position: fixed; inset: 0; inset: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
#canvas { display: block; width: 100%; height: 100%; outline: none; touch-action: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.layer { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 22px; text-align: center; background: radial-gradient(ellipse at 50% 32%, #233d54, #0a1627 70%); overflow: auto; }
[hidden] { display: none !important; }
.brand { width: min(94%, 370px); height: auto; }
.tagline { color: #b7c8d6; margin: 0 0 20px; }
h1 { margin: 8px 0; font-size: 30px; }
button { min-height: 48px; min-width: 180px; padding: 8px 16px; border-radius: 14px; border: 1px solid #d5f7ea; margin: 5px 0; background: #a7e7d6; color: #0d2937; font: 700 16px system-ui, -apple-system, sans-serif; touch-action: manipulation; }
button:active { scale: .98; }
button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
button.secondary { background: #203b52; color: #edf5f5; border-color: #5b7a99; }
progress { width: min(72%, 250px); accent-color: #a7e7d6; }
#status, .note { width: min(100%, 360px); min-height: 1em; color: #b7c8d6; font-size: 14px; line-height: 1.4; }
@media (max-height: 450px) { .brand { width: min(58%, 305px); } .tagline { margin-bottom: 5px; } }
@media (prefers-reduced-motion: reduce) { button:active { scale: 1; } }
