/* Sabzi Ninja - Mummy's kitchen at 3 AM: dark tile olive, haldi yellow, tomato red, dhaniya green */
:root { --night: #1A2410; --moon: #FFFBEA; --itch: #FFCF33; --sheet: #FF4E50; --coil: #8BD450; --bite: #FF3B30; }

/* Screens: kitchen wall tiles instead of Bzzz Off's coil */
.screen { background:
  conic-gradient(rgba(255,207,51,.05) 25%, transparent 0 50%, rgba(255,207,51,.05) 0 75%, transparent 0) 0 0 / 64px 64px,
  radial-gradient(circle at 50% 30%, #3d5220 0%, var(--night) 72%); }
.screen.dim { background: radial-gradient(circle at 50% 40%, rgba(61,82,32,.93) 0%, rgba(26,36,16,.97) 70%); }
.mascot svg { animation: chop .5s ease-in-out infinite alternate; transform-origin: 70% 80%; }
@keyframes chop { from { transform: rotate(-6deg); } to { transform: rotate(4deg) translateY(4px); } }
.menu-grid a.ghost { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px; font-size: 18px; text-decoration: none; }
canvas { cursor: crosshair; }

/* ---------- HUD ---------- */
.hud-top { align-items: center; }
.hud-left { flex-direction: row; gap: 6px; }
#score { font-size: 20px; text-shadow: none; padding: 0; color: var(--itch); }
.meters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.chip.mummy b { font-size: 20px; line-height: 1; }
.chip.mummy b.angry { animation: shake .3s linear infinite; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-2px) rotate(-6deg); } 75% { transform: translateX(2px) rotate(6deg); } }
#shieldChip { border-color: var(--coil); }
#recipe { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; align-items: center; width: fit-content; max-width: 94vw; margin: 10px auto 0;
  background: var(--moon); color: var(--night); border: 3px solid var(--night); border-radius: 14px; padding: 4px 14px; font-weight: 800; font-size: 15px;
  box-shadow: 4px 4px 0 var(--sheet); transform: rotate(-1deg); }
#recipe:empty { display: none; }
#recipe span { white-space: nowrap; }
#recipe span.done { color: #3d8b1f; text-decoration: line-through; }
#hint { position: fixed; left: 50%; top: 46%; transform: translate(-50%, -50%); width: max-content; max-width: 88vw; background: rgba(26,36,16,.92);
  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) {
  #recipe { font-size: 13px; padding: 3px 10px; }
  #hint { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot svg, .chip.mummy b.angry { animation: none; }
}
