/* Gaadi Nikalo! - society parking under a sodium streetlight: tarmac brown-black, streetlight amber, Alto red, exit-sign green */
:root { --night: #1C1A14; --moon: #FBF6E9; --itch: #FFC23D; --sheet: #FF4F6D; --coil: #3ED6A4; --bite: #E8333C; }

/* Screens: parking bay lines instead of Bzzz Off's coil */
.screen { background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 4px, transparent 4px 120px),
  radial-gradient(circle at 50% 30%, #47401f 0%, var(--night) 72%); }
.screen.dim { background: radial-gradient(circle at 50% 40%, rgba(71,64,31,.93) 0%, rgba(28,26,20,.97) 70%); }
.mascot svg { animation: idle .25s linear infinite alternate; }
@keyframes idle { from { transform: translateY(0) rotate(-.6deg); } to { transform: translateY(-2px) rotate(.6deg); } }
.menu-grid a.ghost { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px; font-size: 18px; text-decoration: none; }
.menu-grid .wide { grid-column: 1 / -1; }
#wings { width: 100%; display: flex; flex-direction: column; gap: 6px; }
#wings h3 { text-align: left; margin-top: 22px; }
.page .room { font-size: 13px; }
.page.boss { background: var(--sheet); color: #fff; }
canvas { cursor: grab; }
canvas:active { cursor: grabbing; }

/* ---------- HUD ---------- */
.hud-top { align-items: center; }
.hud-left { flex-direction: row; gap: 6px; }
.chip small { font-weight: 700; opacity: .8; }
.tray { position: fixed; left: 0; right: 0; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; gap: 10px; justify-content: center; align-items: center; pointer-events: none; padding: 0 10px; }
.tray button:not(.reward) { pointer-events: auto; display: flex; flex-direction: column; align-items: center; font-size: 26px; line-height: 1.1; padding: 6px 12px; min-width: 84px;
  font-family: var(--body); color: var(--night); background: var(--moon); border: 3px solid var(--night); border-radius: 16px; box-shadow: 0 5px 0 var(--night); cursor: pointer; }
.tray button small { font-size: 12px; font-weight: 900; }
.tray button:not(.reward):active { transform: translateY(4px); box-shadow: 0 1px 0 var(--night); }
.tray button:disabled { opacity: .45; cursor: default; }
#hintBtn { background: var(--itch); }
.tray .reward { pointer-events: auto; font-size: 14px; padding: 6px 12px; }
#hint { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); width: max-content; max-width: 88vw; background: rgba(28,26,20,.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) {
  .tray button:not(.reward) { min-width: 0; flex: 1; font-size: 22px; padding: 6px 4px; }
  .tray .reward { flex: 2; font-size: 12px; }
  #hint { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot svg { animation: none; }
}
