/* The guide reuses game score markers, club badges and native kit sprites.
 * Spacing stays compact; only illustrations and score examples have a frame. */
.game-guide { max-width:820px; margin:0 auto; padding:0 24px 24px; }
body:has(.game-guide) .site-footer { margin-top:0; }
.game-guide .guide-intro { margin:0 0 12px; font-size:16px; line-height:1.5; }
.guide-jump { padding-bottom:16px; }
.guide-jump a { font-size:13px; }
.guide-section { padding:20px 0; border-top:2px solid var(--border); scroll-margin-top:16px; }
.guide-section:last-child { padding-bottom:0; }
.game-guide h2 { font-size:23px; line-height:1.3; margin:0 0 12px; }
.game-guide h3 { font-size:16px; line-height:1.35; margin:0 0 6px; }
.game-guide p { font-size:14px; line-height:1.55; color:var(--muted); margin:10px 0; }
.game-guide p strong { color:var(--text); }
.guide-section > :last-child { margin-bottom:0; }
.guide-section-heading { display:flex; gap:8px 16px; align-items:baseline; justify-content:space-between; flex-wrap:wrap; }
.guide-timer { color:var(--muted); font-size:12px; font-weight:700; white-space:nowrap; }
.guide-roles,.guide-team-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0 0 12px; }
.guide-roles figure,.guide-team-steps figure { margin:0; min-width:0; }
.guide-scene { display:block; width:100%; height:auto; aspect-ratio:20/9; border:2px solid #111; image-rendering:pixelated; }
.guide-roles figcaption,.guide-team-steps figcaption { padding-top:10px; }
.guide-roles p,.guide-team-steps p { margin:0; }
.guide-scenarios { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; border:0; margin:16px 0 12px; padding:0; }
.guide-scenarios label { position:relative; min-width:0; cursor:pointer; }
.guide-scenarios input { position:absolute; opacity:0; margin:0; width:100%; height:100%; }
.guide-scenarios span { display:grid; place-items:center; min-height:44px; padding:6px 8px; font-size:13px; text-align:center; }
.guide-scenarios :focus-visible+span { outline:2px solid var(--accent); outline-offset:2px; }
/* Intrinsic overlapping panels reserve only the tallest real example, so
 * switching scenarios is stable without the old 228/260px empty spacer. */
.guide-example-stage[data-enhanced] { display:grid; }
.guide-example-stage[data-enhanced] .guide-example { grid-area:1/1; }
.guide-example.is-inactive { visibility:hidden; }
.guide-example { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px 16px; padding:0; }
.guide-example h3 { grid-column:1/-1; margin:0; }
.guide-example p { margin:0; align-self:center; }
.guide-scoreboard { width:100%; max-width:440px; margin:0; padding:12px; background:var(--surface); border:2px solid var(--ink); border-radius:4px; }
.guide-scoreboard .shootout-team > span { font-weight:700; }
.guide-kick-legend { display:flex; flex-wrap:wrap; gap:10px 16px; margin-top:12px; color:var(--muted); font-size:12px; }
.guide-kick-legend > span { display:flex; align-items:center; gap:6px; }
.game-guide .guide-note { font-size:12px; margin:8px 0 0; }
.guide-rewards { width:100%; border-collapse:collapse; table-layout:fixed; margin:12px 0; font-variant-numeric:tabular-nums; }
.guide-rewards th,.guide-rewards td { padding:10px 8px; border-bottom:1px solid var(--border); text-align:left; font-size:14px; overflow-wrap:anywhere; }
.guide-rewards thead th { color:var(--muted); font-size:12px; font-weight:500; }
.guide-rewards td:last-child { color:var(--text); font-weight:700; }
.guide-progress-rules { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:16px 0 0; }
.guide-streak { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; max-width:300px; }
.guide-streak span { text-align:center; font-size:11px; color:var(--muted); }
.guide-streak i { display:block; width:14px; height:14px; margin:4px auto 6px; border:1px solid var(--border); border-radius:50%; }
.guide-streak .complete { background:var(--brand-green); }
.guide-guest { border-top:1px solid var(--border); margin-top:12px; padding-top:14px; }
.guide-daily-example { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin:12px 0; }
.guide-daily-example .guide-scoreboard { width:240px; flex:none; }
.guide-daily-example .shootout-team { grid-template-columns:52px 28px auto; }
.guide-daily-example figcaption { flex:1 1 220px; color:var(--muted); font-size:13px; line-height:1.5; }
.guide-duel-example { margin:12px 0; }
.guide-duel-example .friend-answer-time { display:block; margin-top:4px; }
.game-guide .primary-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 18px; font-size:13px; margin-top:4px; }
/* Read-only examples, not fake account controls. Pale kit mats match Profile
 * in either theme so white and dark garments remain equally legible. */
.guide-club-example,.guide-kit-example { height:180px; padding:12px; border:2px solid #111; border-radius:6px; background:#e7eae2; color:#111; }
.guide-club-example { display:grid; align-content:center; gap:12px; }
.guide-club-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.guide-club-options > span { display:grid; place-items:center; height:46px; border-radius:999px; background:#d4d8d0; }
.guide-club-options .selected { background:#111; }
.guide-club-options img { width:34px; height:34px; object-fit:contain; }
.guide-team-identity { display:flex; align-items:center; justify-content:center; gap:8px; font-size:14px; }
.guide-team-identity img { width:26px; height:26px; object-fit:contain; }
.guide-kit-example { display:grid; grid-template-rows:56px 1fr; gap:8px; }
.guide-kit-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.guide-kit-options > span { display:grid; place-items:center; border:1px solid #17201526; border-radius:4px; }
.guide-kit-options .selected { border:2px solid #648c30; background:#dce3d3; }
.guide-kit-example img { display:block; image-rendering:pixelated; object-fit:contain; }
.guide-kit-options img { width:40px; height:44px; }
.guide-kit-number { display:flex; align-items:center; justify-content:center; gap:16px; }
.guide-kit-number > img { width:60px; height:66px; }
.guide-kit-number span { font-size:12px; }
.guide-kit-number strong { display:block; font-size:24px; line-height:1.2; margin-top:4px; }
@media(max-width:600px) {
  .guide-section { padding:16px 0; }
  .game-guide h2 { font-size:21px; }
  .guide-roles,.guide-progress-rules,.guide-team-steps { grid-template-columns:minmax(0,1fr); gap:16px; }
  .guide-section-heading { margin-bottom:10px; }
  .guide-section-heading h2 { margin-bottom:0; }
  .guide-scenarios span { padding:6px; font-size:12px; }
  .guide-example { grid-template-columns:minmax(0,1fr); }
  .guide-rewards th,.guide-rewards td { padding:10px 6px; font-size:13px; }
  .guide-rewards thead th { font-size:11px; }
}
