/* First-run guide banner (guide.js) above the main image on the game page. Tokens come from theme.css. */
.guide-card { width: min(600px, calc(100% - 24px)); margin: 8px auto 0; padding: 12px 16px 14px; text-align: left; border-color: rgba(255, 200, 61, 0.35); }
.guide-card[hidden] { display: none; }
.guide-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guide-head h2 { margin: 0; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); }
.guide-progress { margin-left: 6px; color: var(--text-faint); letter-spacing: 0; }
.guide-head-actions { display: flex; align-items: center; gap: 8px; }
.guide-current { margin: 8px 0 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text); }
.guide-current[hidden] { display: none; }
.guide-steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; counter-reset: guide; }
.guide-steps[hidden] { display: none; }
.guide-step { counter-increment: guide; display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.4; color: var(--text-dim); }
.guide-step::before {
    content: counter(guide);
    flex: 0 0 22px; height: 22px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: var(--text-faint);
    border: 1px solid var(--border-strong);
}
.guide-step.is-current { color: var(--text); font-weight: 600; }
.guide-step.is-current::before { color: #1a1300; background: var(--gold); border-color: var(--gold); }
.guide-step.is-done { color: var(--text-faint); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
.guide-step.is-done::before { content: "\2713"; color: var(--primary); border-color: var(--primary); }
.guide-next { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-dim); }
.guide-next[hidden] { display: none; }
.guide-card.is-compact .guide-head h2 { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
    .guide-step { transition: color 200ms ease; }
}
