:root { color-scheme:dark; font:16px system-ui,sans-serif; background:#0e172c; color:#fff3da; }
body { margin:0; }
main { width:min(100% - 24px,1200px); margin:auto; padding:16px 0 26px; }
header p { margin:0 0 12px; }
h1 { font-size:clamp(1.5rem,4vw,2.3rem); margin:6px 0; }
a { color:#e9ff60; }
button { cursor:pointer; font:inherit; }
.console { display:grid; gap:8px; }
.stage { height:min(70svh,780px); min-height:260px; background:#080d1a; overflow:hidden; border:1px solid #455a85; border-radius:9px; }
.stage iframe { display:block; border:0; width:100%; height:100%; }
.launch { display:grid; place-content:center; height:100%; text-align:center; }
.start { padding:10px 18px; background:#e9ff60; border:0; border-radius:7px; color:#0e172c; font-weight:bold; }
footer,.notes { color:#d3def3; font-size:.9rem; line-height:1.45; }
footer { margin-top:16px; }
@media(max-width:600px) { main { width:calc(100% - 16px); } .stage { height:76svh; } }
.tyrian .stage { display:grid; place-items:center; container-type:size; }
.tyrian .stage canvas { display:block; width:min(100cqw, calc(100cqh * 4 / 3)); aspect-ratio:4 / 3; image-rendering:pixelated; outline:none; }
.tyrian .controls { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; }
.tyrian .controls[hidden] { display:none; }
.tyrian .controls button { min-width:42px; min-height:42px; background:#172644; color:#fff3da; border:1px solid #7a8bb2; border-radius:6px; touch-action:none; }
