/* Shared Napzoo game styles. Uses the Napzoo theme's colors when present, with fallbacks for any other theme. */
.nz-game {
  --g-moon: var(--moon, #f7e6ad); --g-ink: var(--ink, #eeedff); --g-muted: var(--muted, #aeacdc);
  --g-sky: var(--sky, #13143a); --g-sky2: var(--sky-2, #1d1f52); --g-sky3: var(--sky-3, #2a2d6b);
  --g-mint: var(--mint, #93e2cf); --g-peach: var(--peach, #ffb894); --g-lilac: var(--lilac, #bba9ff);
  --g-display: var(--display, "Gluten", "Comic Sans MS", cursive);
  color: var(--g-ink); font-family: var(--body, "Atkinson Hyperlegible", Verdana, sans-serif); line-height: 1.55;
}
body:not(.napzoo-theme) .nz-game { background: #13143a; padding: 24px; border-radius: 22px; }
.nz-game *, .nz-game *::before, .nz-game *::after { box-sizing: border-box; }
.nz-game .nz-lede { color: var(--g-muted); margin: 0 0 22px; max-width: 60ch; }
.nz-game .nz-btn { background: var(--g-moon); color: var(--g-sky); border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 700; font-size: 16px; cursor: pointer; font-family: inherit; }
.nz-game .nz-btn:hover { filter: brightness(1.06); }
.nz-game .nz-btn.ghost { background: rgba(255,255,255,.1); color: var(--g-ink); }
.nz-game .nz-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.nz-game .nz-card { background: var(--g-sky2); border-radius: 22px; padding: 22px; border: 1px solid rgba(255,255,255,.08); }
.nz-game label { font-size: 14px; color: var(--g-muted); display: grid; gap: 4px; }
.nz-game select, .nz-game input[type="text"], .nz-game input[type="time"], .nz-game textarea {
  font: inherit; font-size: 16px; color: var(--g-ink); background: var(--g-sky3); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 9px 12px; min-width: 0;
}
.nz-game textarea { width: 100%; resize: vertical; }
.nz-game .nz-chip { border: 1.5px solid rgba(255,255,255,.2); background: transparent; color: var(--g-ink); padding: 7px 15px; border-radius: 999px; cursor: pointer; font-size: 15px; font-family: inherit; }
.nz-game .nz-chip[aria-pressed="true"] { background: var(--g-moon); color: var(--g-sky); border-color: var(--g-moon); font-weight: 700; }
.nz-game .nz-note { color: var(--g-muted); font-size: 14px; }
.nz-game :focus-visible { outline: 3px solid var(--g-moon); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .nz-game *, .nz-game *::before, .nz-game *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.nzq-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 12px; }
.nzq-step { background: var(--g-sky2); border: 2px dashed rgba(255,255,255,.18); border-radius: 20px; padding: 16px 12px 14px; display: grid; justify-items: center; gap: 6px; cursor: pointer; color: var(--g-ink); text-align: center; font-family: inherit; }
.nzq-step svg { width: 76px; height: 76px; }
.nzq-step b { font-family: var(--g-display); font-size: 20px; font-weight: 700; }
.nzq-step span { font-size: 13px; color: var(--g-muted); }
.nzq-step.done { border: 2px solid var(--g-mint); background: rgba(147,226,207,.12); }
.nzq-step .check { opacity: 0; transform: scale(.4); transition: .3s; color: var(--g-mint); font-weight: 700; }
.nzq-step.done .check { opacity: 1; transform: scale(1); }
.nzq-stars { display: flex; gap: 6px; flex-wrap: wrap; }
.nzq-stars i { width: 26px; height: 26px; display: inline-block; background: rgba(255,255,255,.12); clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); transition: background .3s; }
.nzq-stars i.on { background: var(--g-moon); }
.nzq-done { display: none; text-align: center; margin-top: 22px; }
.nzq-done.show { display: block; }
.nzq-done .big { font-family: var(--g-display); font-size: 40px; color: var(--g-moon); line-height: 1.05; }
