/* Dhum Tak! The 3 AM Baraat - wedding night: deep plum, marigold, hot pink, turquoise */
:root { --night: #24102E; --moon: #FFF3D6; --itch: #FFB300; --sheet: #FF3D7F; --coil: #2EC4B6; --bite: #FF4D4D; }

/* Screens: wedding confetti instead of Bzzz Off's coil */
.screen { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Ccircle cx='12' cy='18' r='4' fill='%23FFB300' fill-opacity='.14'/%3E%3Ccircle cx='62' cy='40' r='3' fill='%23FF3D7F' fill-opacity='.16'/%3E%3Crect x='30' y='66' width='8' height='4' rx='2' fill='%232EC4B6' fill-opacity='.16' transform='rotate(30 34 68)'/%3E%3C/svg%3E"),
  radial-gradient(circle at 50% 35%, #4a1f5c 0%, var(--night) 70%); }
.screen.dim { background: radial-gradient(circle at 50% 40%, rgba(74,31,92,.93) 0%, rgba(36,16,46,.97) 70%); }
.mascot svg { animation: bhangra .55s ease-in-out infinite alternate; }
@keyframes bhangra { from { transform: rotate(-6deg) translateY(0); } to { transform: rotate(6deg) translateY(-8px); } }
.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); }
.pest .big-emoji { font-size: 70px; line-height: 105px; height: 105px; }
.pest.hazard { background: var(--coil); }
canvas { cursor: pointer; }

/* ---------- HUD ---------- */
.hud-top { align-items: center; }
.hud-left { gap: 6px; }
#score { font-size: 17px; text-shadow: none; padding: 0; color: var(--moon); }
.meters { display: flex; gap: 10px; 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; }
.meter .bar { width: min(170px, 28vw); height: 12px; border: 2px solid var(--moon); border-radius: 8px; overflow: hidden; background: rgba(255,243,214,.15); }
#angerFill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--coil), var(--itch), var(--bite)); transition: width .15s; }
#combo { font-family: var(--comic); font-size: 24px; letter-spacing: .04em; color: var(--itch); text-shadow: var(--outline); min-width: 1px; }
.progress { margin: 8px auto 0; width: min(520px, 80vw); height: 6px; border-radius: 4px; background: rgba(255,243,214,.15); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--sheet); }
#hint { position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%); width: max-content; max-width: 88vw; background: rgba(36,16,46,.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%; }
  .meter .bar { width: 46vw; }
  #hint { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot svg { animation: none; }
}
