:root { color-scheme: dark; font-family: "Segoe UI", system-ui, sans-serif; color: #e8eee9; background: #0f1723; }
* { box-sizing: border-box; }
body { margin: 0; overflow: hidden; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; color: inherit; border: 1px solid #40515e; background: #182432; border-radius: 8px; padding: 10px 17px; }
button:hover { background: #223441; border-color: #64dcc3; }
button:focus-visible, a:focus-visible { outline: 2px solid #64dcc3; outline-offset: 5px; }
button:disabled { cursor: wait; opacity: .6; }
#theCanvas { display: block; width: 100vw; height: 100dvh; outline: none; touch-action: none; }
.hud { position: fixed; inset: 28px 32px auto; display: flex; justify-content: space-between; align-items: center; pointer-events: none; z-index: 2; }
.wordmark { display: flex; gap: 12px; align-items: center; font-size: 19px; font-weight: 650; letter-spacing: .2em; }
.star { color: #64dcc3; font-size: 39px; line-height: 1; }
.wordmark small { display: block; font-size: 9px; font-weight: 400; color: #a0afbb; letter-spacing: .26em; margin-top: 6px; }
.hud-actions { display: flex; align-items: center; gap: 18px; }
.hud-actions button { pointer-events: auto; }
.badge { font-size: 12px; border: 1px solid #364b51; padding: 8px 12px; border-radius: 100px; color: #a7c9c1; background: #111f28; }
.overlay { position: fixed; inset: 0; display: grid; place-items: center; padding: 110px 24px; background: radial-gradient(ellipse at center, #162c35e8, #0f1723ed 75%); }
.intro { text-align: center; max-width: 620px; }
.eyebrow { color: #8fb5ad; font-size: 10px; letter-spacing: .3em; font-weight: 650; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1.08; letter-spacing: -.04em; margin: 23px 0; }
.intro p { color: #a8b7c4; line-height: 1.8; font-size: 15px; }
.primary { background: #bceacb; border-color: #bceacb; color: #112c28; font-weight: 600; padding: 16px 26px; margin-top: 20px; }
.primary:hover { background: #d4f6de; border-color: #d4f6de; }
.intro .note { font-size: 11px; margin-top: 20px; color: #8595a3; }
.controls { position: fixed; bottom: 35px; left: 32px; display: flex; align-items: center; gap: 20px; font-size: 11px; color: #9eafbd; }
kbd { font: inherit; font-size: 10px; color: #d1dfdf; padding: 5px 6px; border: 1px solid #344351; border-radius: 4px; }
.build-note { position: fixed; bottom: 32px; right: 32px; font-size: 10px; color: #8595a3; }
.loading { height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.loading p { font: 32px Georgia, serif; margin: 0; }
.loading small { color: #8595a3; }
progress { accent-color: #64dcc3; height: 4px; width: 180px; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: 16px; background: #50252d; z-index: 10; text-align: center; }
#blazor-error-ui a { color: #fff; }
@media (max-width: 650px) { .hud { inset: 20px 18px auto; } .wordmark { font-size: 15px; } .badge { font-size: 10px; } .controls { left: 18px; bottom: 45px; gap: 12px; flex-wrap: wrap; } .build-note { left: 18px; right: auto; bottom: 9px; } }
@media (max-height: 520px) { .overlay { padding: 70px 20px; } h1 { font-size: 30px; margin: 10px 0; } .intro p { margin: 5px 0; } .primary { margin-top: 8px; padding: 10px 20px; } .intro .note { margin-top: 8px; } }
