.stage-banner{background:var(--green);color:var(--lime);padding:13px 5%;text-align:center;font-size:.875rem;font-weight:700;letter-spacing:.07em}.directory-main{max-width:1440px;padding-top:55px}.directory-main h1{font-size:clamp(2.8rem,5vw,5rem);line-height:1;max-width:20ch}.directory-lead{font-size:1.2rem;margin-bottom:32px}.directory-stats{display:grid;grid-template-columns:1.2fr repeat(4,1fr);background:var(--green);color:var(--cream);border-radius:8px;padding:22px 12px;margin:30px 0}.directory-stats>div{padding:0 20px;border-right:1px solid #ffffff30}.directory-stats>div:last-child{border:0}.directory-stats strong{display:block;font-size:2.2rem;line-height:1.2;margin:6px 0}.directory-stats span{font-size:1rem}.directory-filters{display:grid;grid-template-columns:1.4fr auto 1fr 1fr auto;gap:16px;align-items:end;margin:34px 0 20px}.directory-filters label,.filter-label{font-size:.9rem}.filter-label{display:block;margin-bottom:7px}.directory-genders{display:flex;border:1px solid #b6bdac;border-radius:30px;overflow:hidden;min-height:44px}.directory-genders button{background:transparent;font-size:.9rem;padding:10px 12px}.directory-genders [aria-pressed=true]{background:var(--orange);color:white}.directory-table{background:var(--paper);border:1px solid var(--line);border-radius:8px;overflow:hidden}.directory-table th{background:var(--green);color:var(--cream);font-size:.8rem;padding:16px}.directory-table td{font-size:1rem;padding:17px 16px;white-space:normal;vertical-align:middle}.directory-table td:first-child{font-weight:800}.runner-name{display:flex;align-items:center;gap:12px;font-weight:700;line-height:1.4}.runner-name:hover{text-decoration:underline}.runner-avatar{width:40px;height:40px;object-fit:cover;border-radius:50%;flex:none}.avatar-placeholder{display:inline-flex;align-items:center;justify-content:center;background:#e2e9b4;color:#243e31;font-size:.9rem;font-weight:800;border:1px solid #c4ceaa}.large-avatar{width:112px;height:112px;font-size:2rem}.category-badge{display:inline-block;padding:6px 12px;border-radius:6px;background:#e2e9b4;color:#243e31;font-size:.875rem;font-weight:700;line-height:1.4}.category-badge.walk{background:#f2ccdc;color:#642342}.participant-status{font-size:.9rem;line-height:1.5;color:#34553d}.profile-action{display:inline-block;border:1px solid var(--orange);color:#a6310a;padding:8px 12px;border-radius:6px;font-size:.9rem;font-weight:700;text-align:center;white-space:nowrap}.profile-action:hover{background:#ffebdf}.directory-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0;font-size:1rem}.directory-note{font-size:.9rem;color:var(--muted);max-width:80ch}.profile-main{max-width:1200px;margin:auto}.profile-heading{display:flex;align-items:center;gap:28px;margin:35px 0}.profile-heading h1{font-size:clamp(2.4rem,5vw,4.6rem);overflow-wrap:anywhere}.profile-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:1rem}.profile-meta small{display:block;letter-spacing:.1em;font-size:.8rem;color:var(--muted);margin-bottom:10px}.profile-result{background:var(--green);color:var(--cream);padding:30px;border-radius:8px;margin:28px 0;display:flex;justify-content:space-between;gap:30px;align-items:center}.profile-result h2{font-size:clamp(2rem,4vw,3rem)}.profile-result p{margin-bottom:0}.rank-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.rank-grid b{display:block;font-size:2rem}.rank-grid small{grid-column:1/-1;font-size:.85rem}.photo-request-panel{display:grid;grid-template-columns:1fr 1fr;gap:40px;border-top:1px solid var(--line);padding-top:45px;margin-top:45px;scroll-margin-top:30px}.photo-request-panel h2{font-size:2.5rem}.photo-request-panel label{font-size:1rem;margin-bottom:16px}.photo-request-panel .micro{font-size:.9rem}.profile-quick-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.photo-preview img,.photo-preview canvas{width:180px;height:180px;object-fit:cover;border-radius:12px}.upload-main{max-width:650px;margin:auto}.photo-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.photo-review-card>img{width:160px;height:160px;object-fit:cover}.grant-output{padding:24px;background:#e2e9b4;margin:24px 0;overflow-wrap:anywhere}.preview-runners{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.preview-runner{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid var(--line);background:var(--paper);border-radius:8px}.preview-runner span span{display:block;font-size:.9rem;margin-top:6px}.participants-preview .board-filters,.participants-preview .segmented-nav,.participants-preview .board-pagination,.participants-preview #participant-scope{display:none}.site-header nav a[aria-current=page]{color:var(--orange)}
@media(max-width:1000px){.directory-filters{grid-template-columns:1fr 1fr}.directory-filters>button{justify-self:start}.directory-stats{padding:18px 6px}.directory-stats>div{padding:0 12px}.directory-table td{padding:14px 10px}.profile-action{white-space:normal}}
@media(max-width:700px){.directory-main{padding-top:32px}.site-header nav{display:flex;flex-wrap:wrap;gap:14px;font-size:.9rem}.directory-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px}.directory-stats>div{padding:0;border:0}.directory-stats>div:first-child{grid-column:1/-1;border-bottom:1px solid #ffffff30;padding-bottom:16px}.directory-stats strong{font-size:1.8rem}.directory-stats>div:first-child strong{font-size:2.8rem}.directory-filters{grid-template-columns:minmax(0,1fr);gap:16px}.directory-filters>button{width:100%}.directory-genders button{flex:1}.directory-table,.directory-table tbody{display:block;border:0;background:none;overflow:visible}.directory-table thead{display:none}.directory-table tr{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:20px;margin-bottom:16px}.directory-table td{display:block;padding:0;border:0;font-size:1rem;overflow-wrap:anywhere}.directory-table .name-cell{grid-column:1/-1;grid-row:1}.directory-table .bib-cell{grid-column:1/-1;color:#a6310a;font-size:.9rem}.directory-table .bib-cell:before{content:'BIB ';font-weight:400}.directory-table .group-cell{font-size:.9rem}.directory-table .status-cell{grid-column:1/-1}.directory-table .action-cell{grid-column:1/-1}.profile-action{display:block}.directory-pagination .button{padding:13px 16px;gap:0}.directory-pagination{font-size:.9rem}.profile-heading{flex-direction:column;align-items:flex-start;gap:20px}.profile-meta{grid-template-columns:1fr 1fr}.profile-result{display:block;padding:24px}.rank-grid{margin-top:28px}.photo-request-panel{grid-template-columns:1fr;gap:24px}.preview-runners{grid-template-columns:1fr}.stage-banner{font-size:.8rem;line-height:1.5}}
/* Search is available on both the homepage preview and the full directory. */
.participants-preview .board-filters{display:grid;grid-template-columns:minmax(180px,1.4fr) 1fr 1fr auto;align-items:end;gap:16px;margin:24px 0}.participants-preview .board-filters label{font-size:1rem}.participants-preview .board-filters input{font-size:1rem}.directory-filters{grid-template-columns:minmax(200px,1.4fr) auto 1fr 1fr auto auto}
@media(max-width:1100px){.directory-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.directory-filters>label:first-child{grid-column:1/-1}}
@media(max-width:700px){.participants-preview .board-filters{grid-template-columns:1fr 1fr}.participants-preview .board-filters>label:first-child{grid-column:1/-1}.participants-preview .board-filters>.button{grid-column:1/-1}.directory-filters{grid-template-columns:1fr 1fr}.directory-filters>div{grid-column:1/-1}.directory-filters .button{width:100%}}
