/* Cutting Chai Slide! - a tapri at night: ink blue street, chai brown, saffron and tubelight green */
:root { --night: #1C120C; --moon: #FFF4E2; --itch: #FF9933; --sheet: #E63946; --coil: #3DDC84; --bite: #E63946; }

.screen { background:
  linear-gradient(90deg, transparent 47%, rgba(138,90,54,.35) 47% 53%, transparent 53%),
  radial-gradient(circle at 50% 85%, #3a2a2a 0%, #14182b 70%); }
.screen.dim { background: radial-gradient(circle at 50% 40%, rgba(90,58,38,.94) 0%, rgba(20,24,43,.97) 70%); }
.mascot svg { animation: slide 1.8s ease-in-out infinite; }
@keyframes slide { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
.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: grab; }
.page { cursor: default; }
.page .day { color: var(--itch); font-size: 26px; }
.ms-line { font-size: 13px; font-weight: 600; line-height: 1.3; }
.page.locked { background: #a8978a; }

/* ---------- HUD ---------- */
.hud-top { align-items: center; }
.hud-left { flex-direction: row; gap: 6px; }
.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; }
#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%; top: 45%; transform: translate(-50%, -50%); width: max-content; max-width: 88vw; background: rgba(28,18,12,.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; }
}
