/* Tutorial v3 (06 §4.10.1): tap-through card decks (map legend, how to capture, result cards) and the How-to-play library.
   Kept apart from app.css so the shared stylesheet stays untouched. Tokens come from app.css :root. */
.tut-deck { gap: 8px; }
.tut-deck .deck-art { display: flex; align-items: center; justify-content: center; min-height: 96px; }
.tut-deck .deck-art img, .tut-deck .deck-art svg { max-height: 96px; }
.tut-deck h2 { text-align: center; }
.tut-deck .deck-text { white-space: pre-line; font-size: 15px; line-height: 1.55; color: var(--text-1); }
.deck-dots { display: flex; gap: 6px; justify-content: center; padding: 2px 0; }
.deck-dots i { width: 8px; height: 8px; display: block; background: var(--line); }
.deck-dots i.on { background: var(--signal-warn); }
.deck-nav { gap: 8px; }
.deck-nav .btn { min-height: 44px; }

/* HUD book button (always there, left of the objective pill) */
.hud-guide { flex: none; width: 38px; min-height: 34px; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--signal-warn); }
.hud-guide:active { transform: scale(.96); }
.hud-guide .hud-ic { width: 26px; height: 26px; }

/* guide library sheet */
.guide-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.guide-row { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 6px 10px; text-align: left; cursor: pointer;
  background: var(--surface-1); border: 1px solid var(--line); }
.guide-row:active { border-color: var(--signal-warn); }
.guide-row .t { flex: 1; min-width: 0; font-weight: 500; }
.guide-row .go { font: 600 18px/1 var(--font-head); color: var(--signal-warn); }
.guide-ic { width: 30px; height: 30px; flex: none; }

/* the System / Galaxy stages keep their own z-order (markers z 70-85) under the tutorial overlay (z 50-54) */
.sv-stage, .gmap { isolation: isolate; }

/* tutorial-v4 (owner 2026-11-16): free finish on short jobs, SKIP ⏩ on the opening's first missions */
.free-btn { flex: none; min-height: 36px; padding: 0 10px; white-space: nowrap; }
.skip-btn { flex: none; min-height: 44px; padding: 0 16px; font: 600 16px/1 var(--font-head); letter-spacing: .04em; }
