/* Chipkali! - a wall at 3 AM: dim olive night, tubelight cream, lizard green, tongue pink */
:root { --night: #2A2414; --moon: #FFF8E1; --itch: #E9F27A; --sheet: #FF6F91; --coil: #33C1B1; --bite: #FF4D3D; }

/* Screens: a tubelight glow from the top instead of Bzzz Off's coil */
.screen { background:
  radial-gradient(ellipse at 50% 0%, rgba(255,247,194,.3) 0%, rgba(255,247,194,0) 50%),
  radial-gradient(circle at 50% 40%, #4d4424 0%, var(--night) 72%); }
.screen.dim { background: radial-gradient(circle at 50% 40%, rgba(77,68,36,.93) 0%, rgba(42,36,20,.97) 70%); }
.mascot svg { animation: crawl 1.4s steps(4) infinite; }
@keyframes crawl { 0% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-6px); } 100% { transform: rotate(-4deg); } }
.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: default; }

/* ---------- 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: 10px; align-items: center; }
#tails { border-color: var(--coil); }
#combo { font-family: var(--comic); font-size: 24px; letter-spacing: .04em; color: var(--itch); text-shadow: var(--outline); min-width: 1px; }
#hint { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); width: max-content; max-width: 90vw; background: rgba(42,36,20,.92);
  border: 3px dashed var(--moon); border-radius: 16px; padding: 10px 18px; font-weight: 800; font-size: 16px; text-align: center; pointer-events: none; }

@media (max-width: 560px) {
  #hint { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot svg { animation: none; }
}
