:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #10151d; color: #e4edf4; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; width: 100%; min-height: 100%; }
body[data-view="engine"] { height: 100dvh; overflow: hidden; }
#input-surface { display: block; position: fixed; inset: 0; width: 100%; height: 100%; border: 0; outline: 0; touch-action: none; background: #10151d; }
body[data-loading="true"] { cursor: progress; }
#fallback { max-width: 760px; margin: 0 auto; padding: max(12vh, 48px) max(24px, env(safe-area-inset-right)) 48px max(24px, env(safe-area-inset-left)); }
.eyebrow { color: #94b8d8; font-size: .8rem; font-weight: 650; letter-spacing: .18em; }
h1 { font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1.06; letter-spacing: -.045em; margin: 1.1em 0 .5em; }
p { line-height: 1.7; color: #b7c6d4; max-width: 58ch; }
#fallback-reason { margin-top: 2rem; font-size: .95rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
a { color: #b8dcff; text-underline-offset: .25em; }
a.primary { background: #355b80; color: #fff; padding: .85rem 1.15rem; border-radius: 6px; text-decoration: none; }
a:focus-visible { outline: 2px solid #c4e4ff; outline-offset: 5px; }
#website-gpu-diagnostics { position: fixed; z-index: 10; bottom: 0; right: 0; max-width: 100%; max-height: 35vh; overflow: auto; margin: 0; padding: 12px; background: #10151df0; font-size: 12px; }
