/* Plink! The Monsoon Leak - stormy navy, raincoat yellow, puddle cyan, monsoon-leaf green */
:root { --night: #10233F; --moon: #EAF6FF; --itch: #FFD23F; --sheet: #56CFE1; --coil: #7BD389; --bite: #FF5D5D; }

/* Screens: slanted rain streaks instead of Bzzz Off's coil */
.screen { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M20 0 L12 22 M60 30 L52 52 M40 58 L34 76' stroke='%23ffffff' stroke-opacity='.07' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
  radial-gradient(circle at 50% 35%, #24497a 0%, var(--night) 70%); }
.screen.dim { background: radial-gradient(circle at 50% 40%, rgba(36,73,122,.93) 0%, rgba(16,35,63,.97) 70%); }
.mascot svg { animation: drip 2s ease-in-out infinite; }
@keyframes drip { 0%, 100% { transform: translateY(0) scaleY(1); } 45% { transform: translateY(-10px) scaleY(1.04); } 60% { transform: translateY(2px) scaleY(.96); } }
.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 img { width: 140px; height: auto; }
.pest .big-emoji { font-size: 70px; line-height: 105px; height: 105px; }
.pest.hazard { background: var(--sheet); }
canvas { cursor: grab; }
canvas:active { cursor: grabbing; }

/* ---------- HUD ---------- */
.hud-top { align-items: center; }
.hud-left { gap: 6px; }
#score { font-size: 17px; text-shadow: none; padding: 0; color: var(--moon); }
#combo { font-style: normal; color: var(--itch); }
.meters { display: flex; gap: 8px; 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-weight: 800; font-size: 16px; white-space: nowrap; }
.meter .bar { width: min(170px, 26vw); height: 12px; border: 2px solid var(--moon); border-radius: 8px; overflow: hidden; background: rgba(234,246,255,.15); }
#puddleFill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sheet), #3a86ff, var(--bite)); transition: width .2s; }
#papaHits { letter-spacing: 2px; }
#hint { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: 90vw;
  background: rgba(16,35,63,.88); border: 3px dashed var(--moon); border-radius: 16px; padding: 10px 18px; font-weight: 800; font-size: 17px; text-align: center; }

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