* { box-sizing: border-box; }
body { margin: 0; background: #101424; color: #f3f4ff; font: 16px/1.5 system-ui, sans-serif; }
.brand { font: 850 .74rem/1.4 system-ui, sans-serif; letter-spacing: .11em; }
h1 { margin: 3px 0 10px; font-size: clamp(1.55rem, 6vw, 2.35rem); letter-spacing: -.055em; }
.dashboard { padding: 8px; border: 2px solid #59617e; border-radius: 15px; background: #101829; }
dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 8px; text-align: center; }
dt { color: #becbe6; font-size: .72rem; }
dd { margin: 0; font: 750 clamp(.75rem, 3.8vw, 1rem)/1.5 ui-monospace, monospace; color: #aef9e8; }
.windscreen { position: relative; width: min(100%, 47vh); margin: auto; }
canvas { display: block; width: 100%; height: auto; border-radius: 9px; }
.overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; padding: 12px; text-align: center; background: #11152bc9; border-radius: 9px; }
.overlay[hidden] { display: none; }
.overlay p { margin: 0 0 12px; font-weight: 750; }
.controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; margin-top: 12px; }
button { min-width: 0; min-height: 44px; padding: 6px 12px; border: 1px solid #7783a9; border-radius: 9px; background: #eaf0ff; box-shadow: 0 3px #111729; color: #172544; font: 750 .92rem/1.2 system-ui, sans-serif; cursor: pointer; touch-action: manipulation; }
button:active { transform: translateY(2px); box-shadow: 0 1px #111729; }
button:disabled { opacity: .55; cursor: default; }
#start { background: #aef9e8; border-color: #c8fff3; }
button:focus-visible { outline: 3px solid #ffc270; outline-offset: 3px; }
.help { margin: 10px 0 0; font-size: .75rem; text-align: center; }
