:root{color-scheme:dark;font-family:system-ui,sans-serif;color:#fff5d6;background:#101932}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%}main{position:relative;width:min(100%,720px);height:100vh;height:100dvh;margin:auto}canvas{display:block;width:100%;height:100%;background:#fffaf1;touch-action:none}[hidden]{display:none!important}#title{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;text-align:center;overflow:auto;padding: max(40px,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom));background:linear-gradient(180deg,#10193244,#10193211 45%,#101932dd),url('title-background.png') center/cover,radial-gradient(ellipse at 50% 60%,#6656a1,#101932 80%)}.heading{margin-top:clamp(12px,9vh,100px);text-shadow:0 2px 12px #101932}.eyebrow{font-size:11px;letter-spacing:.2em}h1{font-family:serif;font-size:clamp(42px,12vw,70px);line-height:1.12;margin:24px 0;color:#ffedbb;letter-spacing:.08em}.heading>p:last-child{font-size:14px;letter-spacing:.08em}.actions{width:min(100%,420px);margin:50px auto 0}button{width:100%;min-height:56px;border:2px solid #fff0b4;border-radius:12px;background:linear-gradient(#ffedb1,#d9aa55);color:#352513;font-size:18px;font-weight:700;cursor:pointer;padding:14px}button:focus-visible{outline:3px solid white;outline-offset:5px}button:disabled{opacity:.7;cursor:wait}button span{float:right}.note{font-size:12px;line-height:1.6;text-shadow:0 1px 4px #101932}#loading{background:#101932e8;border-radius:10px;padding:12px;margin:12px 0}#message{font-size:14px;line-height:1.6;margin:0 0 10px}progress{width:100%;height:14px;accent-color:#e6be6e}#retry{font-size:14px}@media(max-height:500px){#title{padding-top:16px;padding-bottom:12px}.heading{margin-top:0}h1{font-size:36px;margin:10px 0}.heading>p:last-child{margin:6px}.actions{margin-top:18px}.eyebrow{margin:0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
