.btn-outline-light{background:transparent;border:1px solid rgba(255,255,255,.28);color:#fff}.btn-outline-light:hover{background:#fff;color:#101827}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.archive-card{background:#fff;border:1px solid rgba(255,255,255,.08);border-radius:24px;overflow:hidden;cursor:pointer;box-shadow:0 12px 30px rgba(4,10,24,.18);transition:.2s;color:#101827}.archive-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(4,10,24,.28)}.archive-thumb{aspect-ratio:4/5;background:linear-gradient(135deg,#17253f,#090f19);overflow:hidden}.archive-thumb img{width:100%;height:100%;display:block;object-fit:cover}.archive-thumb.empty{display:grid;place-items:center;color:#fff;font:italic 900 34px/1 "Barlow Condensed";letter-spacing:2px;text-transform:uppercase;padding:18px;text-align:center}.archive-body{padding:20px 22px 22px}.archive-topline{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px;font:800 14px "Barlow Condensed";letter-spacing:1.4px;text-transform:uppercase}.archive-tag{color:#ef3d3d}.archive-count{color:#6f7b8e}.archive-body h3{margin:0 0 8px;color:var(--navy);font:italic 900 32px/.92 "Barlow Condensed";text-transform:uppercase}.archive-body p{margin:0 0 12px;color:#5d697a}.archive-meta{color:#788496;font:800 14px "Barlow Condensed";letter-spacing:1.3px;text-transform:uppercase}.archive-empty{padding:32px;border:1px dashed rgba(255,255,255,.28);border-radius:20px;color:#c6cad3;text-align:center}.archives-page{background:#f4f7fa;min-height:100vh}.archives-grid-page{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding:40px 0 70px}.archive-page-card .archive-card{height:100%}
@media (max-width:980px){.archive-grid,.archives-grid-page{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.archive-head{display:block}.archive-head-side{justify-content:flex-start;margin-top:18px}.archive-grid,.archives-grid-page{grid-template-columns:1fr}.archive-body h3{font-size:28px}}

.archive-preview{padding-top:56px;padding-bottom:54px}
.archive-preview-head{display:flex;align-items:end;justify-content:flex-start;gap:18px;margin-bottom:22px}
.home-archive-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,280px);grid-template-columns:none;gap:18px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;padding:2px 2px 14px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.35) transparent}
.home-archive-grid::-webkit-scrollbar{height:6px}
.home-archive-grid::-webkit-scrollbar-thumb{background:rgba(255,255,255,.35);border-radius:999px}
.archive-card-compact{scroll-snap-align:start;border-radius:18px}
.archive-card-compact .archive-thumb{aspect-ratio:4/5}
.archive-card-compact .archive-body{padding:15px 16px 17px}
.archive-card-compact .archive-body h3{font-size:25px;margin-bottom:8px}
.archive-card-compact .archive-body p{display:none}
.archive-card-compact .archive-topline{font-size:12px}
.archive-card-compact .archive-meta{font-size:12px}
@media(max-width:720px){
  .archive-preview{padding-top:42px;padding-bottom:44px}
  .archive-preview-head{align-items:center}
  .archive-preview-head .section-title{font-size:44px}
  .archive-preview-head .btn{padding:12px 15px;font-size:14px;white-space:nowrap}
  .home-archive-grid{grid-auto-columns:76vw}
}

/* Athlete directory + profile mobile polish */
@media(max-width:760px){
  .subhero{padding:44px 0 38px}
  .subhero h1{font-size:clamp(42px,12vw,58px);overflow-wrap:anywhere}
  .subhero p{font-size:15px;line-height:1.5}
  .filters{grid-template-columns:1fr;gap:10px;margin:18px 0 22px}
  .input,.select{height:52px;font-size:16px;border-radius:8px}
  #directory-count{font-size:13px;line-height:1.45}
  .athlete-grid{grid-template-columns:1fr;gap:14px}
  .athlete-card{display:grid;grid-template-columns:118px minmax(0,1fr);min-height:132px;border-radius:14px;box-shadow:0 5px 18px rgba(16,26,45,.05)}
  .athlete-card:hover{transform:none}
  .athlete-photo{height:100%;min-height:132px;font-size:42px;background-position:center top}
  .athlete-body{padding:16px 14px;align-self:center;min-width:0}
  .athlete-name{font-size:25px;line-height:.95;overflow-wrap:anywhere}
  .tag{font-size:10px;padding:5px 7px;margin-top:8px}
  .athlete-body .meta{font-size:13px;line-height:1.35}
  .profile{padding-top:24px;padding-bottom:42px}
  .profile-card{display:block;border-radius:18px;overflow:hidden}
  .profile-side{padding:28px 18px 24px}
  .avatar{width:132px;height:132px;font-size:48px;border-width:4px}
  .profile-side h2{font-size:27px;margin-top:16px}
  .profile-main{padding:22px 16px 26px}
  .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}
  .stat{padding:12px 6px;border-radius:10px}
  .stat b{font-size:25px}
  .details{grid-template-columns:1fr;gap:0}
  .detail{padding:12px 0;overflow-wrap:anywhere}
  .bio-card{padding:16px;margin:18px 0;border-radius:0 10px 10px 0}
  .bio-card h3,.profile-section h3{font-size:21px}
  .profile-section{margin-top:24px}
  .sport-panel{padding:15px;border-radius:12px}
  .sport-panel>strong{font-size:22px}
  .credential-grid{grid-template-columns:1fr;gap:10px}
  .credential{padding:14px;border-radius:10px}
  .profile-main .btn,.profile-side .btn{max-width:100%;white-space:normal}
}
@media(max-width:420px){
  .athlete-card{grid-template-columns:104px minmax(0,1fr);min-height:120px}
  .athlete-photo{min-height:120px}
  .athlete-name{font-size:23px}
  .stat-grid{grid-template-columns:1fr 1fr 1fr}
  .stat{padding:10px 4px}
  .stat b{font-size:23px}
}

.profile-edit-section{background:#eef2f6;padding:54px 0 72px}.profile-editor-card{max-width:920px;margin:auto;background:#fff;border:1px solid #dce2e9;border-radius:22px;padding:34px;box-shadow:0 14px 38px rgba(16,26,45,.07)}.profile-editor-intro{max-width:720px;margin-bottom:28px}.profile-editor-intro h2{font:italic 900 clamp(34px,5vw,52px)/.92 "Barlow Condensed";text-transform:uppercase;color:var(--navy);margin:8px 0 14px}.profile-editor-intro p{color:#687486;line-height:1.65;margin:0}.profile-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profile-edit-grid .full{grid-column:1/-1}.profile-edit-grid textarea{resize:vertical;min-height:160px}.profile-edit-grid small{display:block;color:#7d8796;margin-top:7px;font-size:12px;line-height:1.4}.sport-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.sport-choice{position:relative}.sport-choice input{position:absolute;opacity:0;pointer-events:none}.sport-choice span{display:flex;align-items:center;min-height:46px;padding:10px 12px;border:1px solid #d8dee7;border-radius:10px;font-weight:750;color:#394457;cursor:pointer;transition:.16s}.sport-choice input:checked+span{border-color:#ef2d32;background:#fff1f1;color:#bd151a;box-shadow:inset 0 0 0 1px #ef2d32}.record-edit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.record-edit-grid>div{background:#f5f7fa;border:1px solid #e1e5eb;border-radius:12px;padding:12px}.record-edit-grid span{display:block;font:800 13px "Barlow Condensed";letter-spacing:1.2px;text-transform:uppercase;color:#6f7988;margin-bottom:6px}.record-edit-grid input{width:100%;height:48px;border:1px solid #d4dae2;border-radius:8px;background:#fff;padding:0 12px;font-size:18px;font-weight:800}.profile-editor-card .btn-block{margin-top:22px}
@media(max-width:760px){.profile-edit-section{padding:34px 0 48px}.profile-editor-card{width:calc(100% - 24px);padding:20px 15px;border-radius:16px}.profile-editor-intro{margin-bottom:21px}.profile-editor-intro h2{font-size:38px}.profile-editor-intro p{font-size:14px}.profile-edit-grid{grid-template-columns:1fr;gap:14px}.profile-edit-grid .full{grid-column:auto}.profile-edit-grid input,.profile-edit-grid select,.profile-edit-grid textarea{font-size:16px}.sport-choice-grid{grid-template-columns:1fr 1fr;gap:8px}.sport-choice span{min-height:48px;font-size:13px;padding:9px}.record-edit-grid{gap:7px}.record-edit-grid>div{padding:9px}.record-edit-grid input{height:46px;padding:0 8px}.profile-editor-card .btn-block{min-height:54px;font-size:17px}}@media(max-width:390px){.sport-choice-grid{grid-template-columns:1fr}.record-edit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.profile-photo-editor{display:grid;grid-template-columns:130px minmax(0,1fr);gap:20px;align-items:center;margin:0 0 24px;padding:18px;background:#f7f9fb;border:1px solid #e0e5eb;border-radius:16px}.profile-photo-preview{width:130px;height:130px;border-radius:50%;background:#dfe4ea center top/cover no-repeat;display:grid;place-items:center;font:900 38px "Barlow Condensed";color:#596578;border:4px solid #fff;box-shadow:0 5px 18px rgba(16,26,45,.1)}.profile-photo-copy label:first-child{display:block;font-weight:800;color:#172033;margin-bottom:6px}.profile-photo-copy p{margin:0 0 12px;color:#707b8b;font-size:13px;line-height:1.5}.profile-photo-copy input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.avatar-upload-btn{display:inline-flex;cursor:pointer}.profile-edit-section .profile-photo-copy .btn{width:auto}
@media(max-width:600px){.profile-photo-editor{grid-template-columns:92px minmax(0,1fr);gap:14px;padding:14px}.profile-photo-preview{width:92px;height:92px;font-size:30px}.profile-photo-copy p{font-size:12px}.avatar-upload-btn{min-height:44px;padding:10px 14px;font-size:14px}}

.profile-edit-grid select{width:100%;height:52px;border:1px solid #d4dae2;border-radius:8px;background:#fff;padding:0 12px;font-size:15px;color:#172033}.profile-edit-grid input{width:100%;height:52px;border:1px solid #d4dae2;border-radius:8px;background:#fff;padding:0 12px;font-size:15px;color:#172033}.profile-edit-grid textarea{width:100%;border:1px solid #d4dae2;border-radius:8px;background:#fff;padding:12px;font-size:15px;color:#172033}.profile-edit-grid .field>label{display:block;font-weight:800;color:#172033;margin-bottom:7px}