/* Rishta Crush! - shaadi tent at 3 AM: rani-magenta night, genda marigold, rani pink, mehendi green */
:root { --night: #33102E; --moon: #FFF3E6; --itch: #FFB31A; --sheet: #FF3D7F; --coil: #5FE3A1; --bite: #FF4D4D; }

/* Screens: genda phool dots instead of Bzzz Off's coil */
.screen { background:
  radial-gradient(circle, rgba(255,179,26,.22) 0 7px, transparent 8px) 0 0 / 46px 46px,
  radial-gradient(circle at 50% 36%, #702060 0%, var(--night) 72%); }
.screen.dim { background: radial-gradient(circle at 50% 40%, rgba(112,32,96,.93) 0%, rgba(51,16,46,.97) 70%); }
.mascot svg { animation: gossip 1.2s ease-in-out infinite; }
@keyframes gossip { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg) translateY(-6px); } }
.menu-grid a.ghost { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px; font-size: 18px; text-decoration: none; }
.page.boss { background: var(--sheet); color: #fff; }
.page .room { font-size: 15px; }
.pest .big-emoji { font-size: 56px; line-height: 105px; height: 105px; }
.pest.hazard { background: var(--coil); }
canvas { cursor: pointer; }

/* ---------- HUD ---------- */
.hud-top { align-items: center; }
.hud-left { flex-direction: row; gap: 6px; }
.goalchip { border-color: var(--itch); font-size: 17px; }
.chip.urgent { border-color: var(--bite); background: var(--bite); animation: panic .35s ease-in-out infinite alternate; }
@keyframes panic { from { transform: scale(1); } to { transform: scale(1.1); } }
.scorechip #score { font-size: 18px; text-shadow: none; padding: 0; color: var(--itch); }
#hint { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: 88vw; background: rgba(51,16,46,.94);
  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) {
  .hud-top { flex-wrap: wrap; }
  .scorechip { order: 3; margin: 0 auto; }
  #hint { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot svg, .chip.urgent { animation: none; }
}
