:root { color-scheme: dark; font-family: system-ui, "Microsoft JhengHei", sans-serif; color: #e5eee5; background: #08141b; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
button, a { touch-action: manipulation; }
button { font: inherit; color: #e5eee5; border: 1px solid #52717b; background: #25434e; border-radius: 6px; padding: 10px 18px; cursor: pointer; }
button:hover { background: #355968; }
button:focus-visible, a:focus-visible { outline: 3px solid #e8be74; outline-offset: 4px; }
button:disabled { opacity: .6; cursor: wait; }
#game-frame { width: 100%; height: 100%; position: relative; background: #091219; }
#canvas { width: 100%; height: 100%; display: block; outline: none; }
#launcher { position: absolute; inset: 0; display: grid; place-items: center; overflow: auto; padding: 28px; background: radial-gradient(ellipse at 80% 15%, #31515b90, transparent 60%), linear-gradient(125deg, #09171ff5, #183039f5); }
#launcher[hidden], [hidden] { display: none !important; }
.launch-card { width: min(640px, 100%); padding: 24px 0; }
.eyebrow { color: #7cd4ca; font-size: 13px; letter-spacing: .16em; }
h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: .06em; margin: 18px 0; }
.intro { color: #e9c587; font-size: 23px; line-height: 1.65; }
.controls { font-size: 16px; line-height: 1.9; color: #bbcdd1; margin: 28px 0; }
.primary { min-width: 240px; color: #17282d; background: #e2b97a; border-color: #e2b97a; font-weight: 700; padding: 16px 30px; }
.primary:hover { background: #f4cd8c; }
#status { min-height: 48px; line-height: 1.6; }
.muted, details { color: #8fa8b0; font-size: 13px; line-height: 1.7; }
details a { color: #9cddd3; }
progress { display: block; width: 100%; height: 8px; accent-color: #dfb978; margin-top: 24px; }
#toolbar { position: absolute; top: 9px; right: 12px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: #bccbc9; }
#toolbar span { padding: 7px; background: #10242ca8; border-radius: 4px; }
#toolbar button { padding: 7px 12px; font-size: 13px; background: #17313ad9; }
@media (max-width: 700px) { #toolbar span { display: none; } .controls { font-size: 13px; } }
