:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #102731; color: #fff0cc }
* { box-sizing: border-box }
html, body { width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; margin: 0 }
body { position: fixed; inset: 0; touch-action: none; -webkit-text-size-adjust: 100%; background: radial-gradient(ellipse at 50% 30%, #2f615b, #102731 70%) }
#play-area { position: absolute; inset: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); display: grid; place-items: center }
#canvas { width: 100%; max-width: 77dvh; height: 100%; display: block; outline: none; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none }
#loading { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; text-align: center; padding: 1.2rem; background: radial-gradient(ellipse at 50% 35%, #326b61, #132c39 80%); z-index: 1 }
h1 { margin: .4rem 0 0; font-size: clamp(2rem, 8vw, 3.4rem); letter-spacing: .03em }
p { margin: .85rem 0 }
progress { accent-color: #efb665; width: min(76vw, 360px); height: 1em }
small { margin: .9rem 0; color: #b9d1c5; max-width: 30rem }
button { font: inherit; color: #233447; font-weight: 700; min-height: 44px; margin: .35rem; padding: .5rem .85rem; border: 0; border-radius: .65rem; background: #ffd18b; box-shadow: 0 3px #8d5c3b; cursor: pointer }
#notice { position: absolute; z-index: 2; top: .7rem; max-width: min(90vw, 40rem); padding: .55rem .7rem; border-radius: .85rem; background: #183844; text-align: center }
[hidden] { display: none !important }
