@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@700;800&display=swap');

:root { color: #20304a; background: #ffe9c6; font-family: Nunito, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 50% 0%, #fff7e9 0 24%, transparent 45%), #ffe1ad; }
.game-shell { width: min(94vw, 480px); text-align: center; padding: 24px 0; }
header { margin-bottom: 14px; }
.eyebrow { margin: 0; color: #dd745b; font-size: .72rem; letter-spacing: .18em; }
h1 { margin: 2px 0 0; font: 800 clamp(2.4rem, 10vw, 3.4rem)/1 "Baloo 2", sans-serif; color: #33496b; letter-spacing: -.06em; }
h1 span { color: #f47d65; }
.game-card { position: relative; overflow: hidden; border: 7px solid #fffaf0; border-radius: 28px; box-shadow: 0 13px 0 #dbb87d, 0 21px 30px #bf8d5d55; background: #8fdcf2; }
canvas { display: block; width: 100%; height: auto; cursor: pointer; }
.overlay { position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; padding: 30px; background: #ffffff33; text-shadow: 0 2px #fff8; }
.overlay.hidden { display: none; }
.cloud { font-size: 3rem; line-height: 1; }
h2 { margin: 0; font: 800 2rem/1 "Baloo 2", sans-serif; color: #33496b; }
.overlay p { margin: 0 0 12px; color: #405474; }
button { border: 0; border-radius: 99px; padding: 12px 20px; background: #f47d65; color: white; font: 800 1rem Nunito, sans-serif; cursor: pointer; box-shadow: 0 4px 0 #c95a4d; }
button:active { transform: translateY(3px); box-shadow: 0 1px 0 #c95a4d; }
.scoreboard { display: flex; justify-content: center; gap: 18px; margin: 18px 0 8px; }
.scoreboard div { min-width: 115px; padding: 8px 16px; border-radius: 16px; background: #fff9ee; box-shadow: 0 3px 0 #e1c38f; }
.scoreboard span { display: block; color: #da7b5e; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.scoreboard strong { font: 800 1.6rem/1.1 "Baloo 2", sans-serif; }
.hint { margin: 12px 0 0; color: #946e54; font-size: .85rem; }
