/* Kiska Ball Hai?! - a society building at 3 AM: night purple, lit-window gold, angry-aunty pink, tennis-ball green */
:root { --night: #160F24; --moon: #FFF6E5; --itch: #FFC93C; --sheet: #FF4F7B; --coil: #3DDC97; --bite: #FF3B30; }

/* Screens: a grid of lit windows instead of Bzzz Off's coil */
.screen { background:
  linear-gradient(90deg, transparent 0 10px, rgba(255,201,60,.06) 10px 38px, transparent 38px) 0 0 / 48px 56px,
  radial-gradient(circle at 50% 30%, #3a2458 0%, var(--night) 72%); }
.screen.dim { background: radial-gradient(circle at 50% 40%, rgba(58,36,88,.93) 0%, rgba(22,15,36,.97) 70%); }
.mascot svg { animation: smash 1.4s ease-in-out infinite; }
@keyframes smash { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-4deg) scale(1.04); } 90% { transform: 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; }
.logo { font-size: clamp(42px, 10vw, 92px); }
.page.boss { background: var(--sheet); }
canvas { cursor: ew-resize; }

/* ---------- HUD ---------- */
.hud-top { align-items: center; }
.hud-left { flex-direction: row; gap: 6px; flex-wrap: wrap; }
#bill { color: var(--itch); }
.meters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
#powers:empty { display: none; }
#powers { border-color: var(--coil); }
#hint { position: fixed; left: 50%; top: 58%; transform: translate(-50%, -50%); width: max-content; max-width: 88vw; background: rgba(22,15,36,.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%; }
  #hint { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot svg { animation: none; }
}
