/* Gubbara Phulao! - birthday night: deep purple room, balloon red, party pink, gold and mint */
:root { --night: #20123A; --moon: #FFF6E8; --itch: #FFD23F; --sheet: #FF5FA2; --coil: #3DDC97; --bite: #E63946; }

.screen { background:
  radial-gradient(circle at 15% 20%, rgba(230,57,70,.55) 0 34px, transparent 35px),
  radial-gradient(circle at 85% 28%, rgba(58,134,255,.5) 0 30px, transparent 31px),
  radial-gradient(circle at 70% 80%, rgba(255,190,11,.4) 0 26px, transparent 27px),
  radial-gradient(circle at 50% 30%, #3b2466 0%, #20123A 72%); }
.screen.dim { background: radial-gradient(circle at 50% 40%, rgba(59,36,102,.94) 0%, rgba(32,18,58,.97) 70%); }
.mascot svg { animation: inflate 1.6s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes inflate { 0%, 100% { transform: scale(.92); } 70% { transform: scale(1.06) rotate(2deg); } 80% { transform: scale(1.04) rotate(-2deg); } }
.menu-grid a.ghost { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px; font-size: 18px; text-decoration: none; }
canvas { cursor: pointer; }
.page { cursor: default; }
.page .day { color: var(--sheet); }
.ms-line { font-size: 13px; font-weight: 600; line-height: 1.3; }
.page.locked { background: #a89ac0; }

/* ---------- HUD ---------- */
.hud-top { align-items: center; }
.hud-left { flex-direction: row; gap: 6px; }
#score { font-size: 17px; text-shadow: none; padding: 0; color: var(--moon); }
.meters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.meter { display: flex; align-items: center; gap: 6px; background: var(--night); border: 3px solid var(--moon); border-radius: 30px; padding: 2px 12px; font-size: 18px; }
#bumps { padding-top: 0; gap: 5px; }
.bump { width: 13px; height: 13px; }
.timebar { margin: 8px auto 0; width: min(420px, 80vw); height: 14px; border: 3px solid var(--moon); border-radius: 10px; overflow: hidden; background: rgba(255,246,232,.15); }
#timeFill { display: block; height: 100%; width: 100%; background: var(--coil); transition: width .1s linear; }
#timeFill.low { background: var(--bite); }
#combo { font-family: var(--comic); font-size: 22px; letter-spacing: .04em; color: var(--itch); text-shadow: var(--outline); min-width: 1px; }
#hint { position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%); width: max-content; max-width: 88vw; background: rgba(32,18,58,.9);
  border: 3px dashed var(--moon); border-radius: 16px; padding: 10px 18px; font-weight: 800; font-size: 17px; text-align: center; pointer-events: none; }

@media (max-width: 560px) {
  .hud-top { flex-wrap: wrap; }
  .meters { order: 3; width: 100%; }
  #hint { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot svg { animation: none; }
}
