/* Kabootar Hatao! - a balcony in the morning: pigeon grey-navy, sunny gold, kurta pink, water aqua */
:root { --night: #1C1A2E; --moon: #FFF8EC; --itch: #FFC53D; --sheet: #4CC9F0; --coil: #3DDC97; --bite: #FF3B30; }

/* Screens: a balcony grill instead of Bzzz Off's coil */
.screen { background:
  repeating-linear-gradient(90deg, rgba(255,248,236,.05) 0 3px, transparent 3px 30px),
  radial-gradient(circle at 50% 30%, #35325a 0%, var(--night) 72%); }
.screen.dim { background: radial-gradient(circle at 50% 40%, rgba(53,50,90,.93) 0%, rgba(28,26,46,.97) 70%); }
.mascot svg { animation: peck 1.3s ease-in-out infinite; transform-origin: 60% 70%; }
@keyframes peck { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(6deg); } 80% { transform: 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; }
.logo { font-size: clamp(44px, 10vw, 96px); }
.page.boss { background: var(--itch); }
canvas { cursor: crosshair; }

/* ---------- HUD ---------- */
.hud-top { align-items: center; }
.hud-left { flex-direction: row; gap: 6px; flex-wrap: wrap; }
#score { font-size: 20px; text-shadow: none; padding: 0; color: var(--sheet); }
.meters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
#hint { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; max-width: 88vw; background: rgba(28,26,46,.92);
  border: 3px dashed var(--moon); border-radius: 16px; padding: 10px 18px; font-weight: 700; font-size: 16px; line-height: 1.4; text-align: center; pointer-events: none; }
#hint b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--itch); }
#hint small { font-size: 13px; opacity: .8; }

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