:root{color-scheme:dark;font:16px "Source Sans 3",system-ui,sans-serif;color:#f8ecdb;background:#171321}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 70% 0,#33263b,transparent 65%)}
main{width:min(100% - 2rem,64rem);margin:auto;padding:clamp(1rem,5vh,4rem) 0}
header,.bar,footer{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap}
header{justify-content:flex-start;margin-bottom:1rem}h1,h2{font-family:Spectral,Georgia,serif;font-weight:500;margin:0}h1{font-size:clamp(2rem,6vw,4rem);letter-spacing:-.05em}header span,footer,.bar{color:#c9bdc8}
#stage{position:relative;aspect-ratio:16/9;background:#09070f;border:1px solid #514351;border-radius:.35rem;overflow:hidden;display:grid;place-items:center}
canvas{display:block;width:100%;height:100%;object-fit:contain;outline:none}
#stage:fullscreen{width:100vw;height:100vh;border:0;background:black}
#setup{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;text-align:center;padding:1rem;background:radial-gradient(ellipse at center,#2d2337,#100c18 80%)}h2{font-size:clamp(1.5rem,4vw,2.5rem)}
#status{max-width:32rem;line-height:1.45;color:#d9cdd5;margin:.75rem 0 1.3rem}
button,.button{cursor:pointer;border:1px solid #745e72;border-radius:.3rem;padding:.55rem .9rem;background:#2a2231;font:inherit;color:inherit}
#setup .button,#play{background:#f3ce8f;border-color:#f3ce8f;color:#2b1c19;font-weight:650}
.button{position:relative}.button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.button:focus-within,button:focus-visible{outline:3px solid #bd93db;outline-offset:3px}
[hidden]{display:none!important}.bar{font-size:.86rem;align-items:center;margin:.6rem 0 2.2rem}
kbd{display:inline-block;padding:.12rem .3rem;margin:.08rem;background:#322a3a;color:#fff;border-radius:.2rem}
footer{font-size:.79rem;border-top:1px solid #473a4a;padding-top:1rem}a{color:#e9ca9d}
