/* Corporate Ladder - an office tower at 3 AM: glass-tower navy, promotion gold, layoff pink, success mint */
:root { --night: #0B1622; --moon: #F4F8FF; --itch: #FFD166; --sheet: #EF476F; --coil: #06D6A0; --bite: #FF4D4D; }

/* Screens: lit tower windows instead of Bzzz Off's coil */
.screen { background:
  linear-gradient(rgba(255,209,102,.07) 0 14px, transparent 14px) 0 0 / 40px 46px,
  radial-gradient(circle at 50% 30%, #1b3a5a 0%, var(--night) 72%); }
.screen.dim { background: radial-gradient(circle at 50% 40%, rgba(27,58,90,.93) 0%, rgba(11,22,34,.97) 70%); }
.mascot svg { animation: climb 1s ease-in-out infinite alternate; }
@keyframes climb { from { transform: translateY(6px); } to { transform: translateY(-8px); } }
.menu-grid a.ghost { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px; font-size: 18px; text-decoration: none; }
canvas { cursor: ew-resize; }

/* ---------- HUD ---------- */
.hud-top { align-items: center; }
.hud-left { flex-direction: row; gap: 6px; flex-wrap: wrap; }
#score { font-size: 18px; text-shadow: none; padding: 0; color: var(--itch); }
.meters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.chip.rank { border-color: var(--itch); }
#hint { position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%); width: max-content; max-width: 88vw; background: rgba(11,22,34,.92);
  border: 3px dashed var(--moon); border-radius: 16px; padding: 10px 18px; font-weight: 800; font-size: 16px; text-align: center; pointer-events: none; }

.chip.event { border-color: var(--sheet); background: var(--sheet); animation: blink .6s ease-in-out infinite alternate; }
@keyframes blink { to { filter: brightness(1.3); } }

/* ---------- Menu, swag cupboard, results ---------- */
#nepoBtn:disabled small { opacity: .6; }
.item small { font-size: 13px; font-weight: 600; opacity: .8; text-align: center; line-height: 1.3; }
.item:not(.on) .emoji { opacity: .5; }
.exit { font-size: 16px; font-weight: 700; font-style: italic; color: var(--itch); margin-top: -6px; }
#resStars { flex-wrap: wrap; gap: 6px; }
.swagpop { font-size: 40px; line-height: 1; transform: scale(0); animation: pop .45s cubic-bezier(.3, 1.8, .5, 1) forwards; }

@media (max-width: 560px) {
  .hud-top { flex-wrap: wrap; }
  .meters { order: 3; width: 100%; }
  #hint { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot svg, .chip.event { animation: none; }
  .swagpop { animation: none; transform: none; }
}
