/* Fan guide: /stadium/, /camps/, /links/. Reuses the tokens in style.css. No "sponsor"/"ad" class words. */
.gd-main > * + * { margin-top: 24px; }
.gd-main .card + .card { margin-top: 24px; }
.gd-main { min-width: 0; }
.gd-main a, .gp-figure figcaption { overflow-wrap: anywhere; }
.gd-toc { margin: 0; }
.gd-toc .chip { min-height: 44px; display: inline-flex; align-items: center; }

/* Photos (inc/photos.php) */
.gp-figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gp-figure img { display: block; width: 100%; height: auto; background: #e9e4cf; }
.gp-figure figcaption { padding: 8px 12px; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.gp-caption { color: var(--ink); }
.gp-credit a { color: var(--muted); }
.gd-hero img { aspect-ratio: 16 / 7; object-fit: cover; }
.gd-pair { display: grid; gap: 16px; }
@media (min-width: 40rem) { .gd-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Sources and verified stamps */
.gd-src { font-size: .8125rem; color: var(--muted); margin: 10px 0 0; }
.gd-verified { white-space: nowrap; font-weight: 600; }
.gd-stamp { border-left: 4px solid var(--crimson); }

/* Q&A blocks */
.gd-qa h3 { font-size: 1.08rem; margin: 18px 0 6px; color: var(--ink); }
.gd-qa h3:first-of-type { margin-top: 4px; }
.gd-qa p, .gd-qa ul { margin: 0 0 8px; }
.gd-qa ul { padding-left: 1.2rem; }
.gd-qa li + li { margin-top: 4px; }

/* Timeline */
.gd-timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--crimson); }
.gd-timeline li { position: relative; padding: 0 0 14px 18px; }
.gd-timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 3px solid var(--crimson); }
.gd-year { display: block; font-weight: 700; color: var(--crimson); font-variant-numeric: tabular-nums; }
.gd-timeline p { margin: 2px 0 0; }

/* Key facts */
.gd-facts { display: grid; gap: 10px 20px; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); margin: 0; }
.gd-facts dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.gd-facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }

/* Tables (camps) */
.gd-table-wrap { overflow-x: auto; }
.gd-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.gd-table th, .gd-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gd-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
@media (max-width: 40rem) {
  .gd-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gd-table, .gd-table tbody, .gd-table tr, .gd-table th, .gd-table td { display: block; width: 100%; }
  .gd-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .gd-table th, .gd-table td { border: 0; padding: 2px 4px; }
  .gd-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--muted); font-size: .85em; }
}

/* Link list */
.gd-intro { margin: 0 0 8px; color: var(--muted); }
.gd-link-list { list-style: none; margin: 0; padding: 0; }
.gd-link-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.gd-link-list li:first-child { border-top: 0; }
.gd-link-list a { font-weight: 650; display: inline-block; min-height: 24px; padding: 2px 0; overflow-wrap: anywhere; }
.gd-note { display: block; font-size: .9rem; color: var(--muted); }
.gd-main a:focus-visible, .gp-figure a:focus-visible { outline: 3px solid var(--crimson); outline-offset: 2px; }

/* Traditions: lyrics and click-to-load video */
.gd-lyrics { margin: 8px 0 10px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--crimson); border-radius: var(--radius); }
.gd-lyrics p { margin: 0 0 10px; white-space: pre-line; font-weight: 600; }
.gd-lyrics p:last-child { margin: 0; }
.gd-video-list, .gd-qa .gd-video-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 40rem) { .gd-video-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.gd-video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--crimson-dark); border-radius: var(--radius); overflow: hidden; }
.gd-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gd-video-frame button { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; border: 0; border-radius: 0; background: var(--crimson-dark); color: var(--cream); font: inherit; font-weight: 700; text-align: center; cursor: pointer; }
.gd-video-frame button:hover { background: var(--crimson); }
.gd-video-frame button:focus-visible { outline: 3px solid var(--cream); outline-offset: -6px; }
.gd-play { font-size: 2rem; line-height: 1; }
.gd-video-note { display: block; font-weight: 400; font-size: .8rem; opacity: .9; }
.gd-video h3 { font-size: 1rem; margin: 8px 0 2px; }
.gd-video p { margin: 0; font-size: .9rem; }

/* Spirit page (/spirit/): yearbook pair, portrait scans kept to a readable size */
.gs-yearbook { align-items: start; }
.gs-portrait img { width: 100%; height: auto; max-width: 23rem; margin: 0 auto; } /* 23rem ~ 32rem tall at 1483x2067; definite width keeps the reserved space */

/* Coach profile photos (/coaches/ and camp pages) */
.coach-card .gp-figure.coach-photo { float: right; width: 45%; max-width: 220px; margin: 0 0 12px 16px; }
.coach-card .gp-figure.coach-photo img { width: 100%; height: auto; border-radius: 8px; }
.coach-card .gp-figure.coach-photo figcaption { font-size: .75rem; line-height: 1.35; }
.coach-clear { clear: both; }
