/* Scoutrio phone navigation and responsive refinements */
:root{--navy:#153868;--crimson:#c53254;--line:#dce5f0}
.mobile-nav,.mobile-more{display:none}
#freeHome h2{font-size:clamp(1.5rem,2.5vw,2rem);letter-spacing:-.04em;margin:12px 0 5px}
#freeHome .muted{max-width:700px}
.free-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:18px;margin-top:18px}
.free-athlete{display:flex;align-items:center;gap:12px;padding:13px;border-top:1px solid #e4ebf3}
.free-athlete:first-of-type{border-top:0}
.free-athlete .profile-photo{height:45px;width:45px}
.free-athlete strong{display:block}
.free-athlete small{color:#667791}
.free-grid .card h2{margin-bottom:10px}
.free-steps{margin:0;padding-left:22px;color:#50627b;line-height:1.75}
@media(max-width:900px){
  .app{display:block;min-height:100vh}
  aside{position:sticky;top:0;z-index:10;padding:8px 16px;background:#122c56;box-shadow:0 5px 14px #0c24422b}
  aside .brand{font-size:1.12rem;padding:0;gap:9px}
  aside .brand img{width:37px;height:37px}
  aside .nav{display:none}
  main{padding:16px 16px calc(100px + env(safe-area-inset-bottom));}
  .top{margin-bottom:15px}
  .top .eyebrow{font-size:.7rem}
  .top h1{font-size:1.55rem;line-height:1.14}
  .top .avatar{width:36px;height:36px;font-size:.8rem;flex:none}
  .tierbar{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;margin:0 0 17px;padding:8px;gap:7px;border-radius:11px}
  .tierbar::-webkit-scrollbar{display:none}
  .tierbar strong,.tierbar small{display:none}
  .tierbar button{white-space:nowrap;padding:8px 12px;font-size:.82rem}
  .mobile-nav{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:20;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid #d7e1ed;box-shadow:0 -8px 25px #102f5217;padding:7px max(6px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))}
  .mobile-nav button{border:0;background:transparent;color:#6a7990;display:grid;justify-items:center;align-content:center;gap:3px;min-height:52px;padding:3px 0;font-size:.72rem;font-weight:750;border-radius:9px}
  .mobile-nav button svg{height:23px;width:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .mobile-nav button.current{color:var(--navy);background:#edf3fc}
  .mobile-nav button.primary{color:var(--crimson)}
  .mobile-nav button.primary svg{height:28px;width:28px}
  .mobile-more{position:fixed;inset:0;z-index:30;border:0;background:#0b1e3c7a;padding:0;margin:0;width:100%;height:100%;max-width:none;max-height:none}
  .mobile-more[open]{display:grid;align-items:end}
  .mobile-more::backdrop{background:transparent}
  .mobile-more-panel{background:white;border-radius:19px 19px 0 0;padding:19px 18px calc(28px + env(safe-area-inset-bottom));max-height:82vh;overflow:auto;box-shadow:0 -20px 50px #10264333}
  .mobile-more-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
  .mobile-more-head h2{margin:0;font-size:1.2rem}
  .mobile-more-head button{border:0;background:#eff3f8;border-radius:8px;padding:7px 12px;font-weight:800}
  .mobile-more-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .mobile-more-links button{border:1px solid #dce5ef;background:#f8fafd;border-radius:11px;padding:13px 12px;text-align:left;color:#1d3e6b;font-weight:750;min-height:54px}
  .mobile-more-links button:active{background:#e7effa}
  .free-grid{grid-template-columns:1fr}
  .toast{bottom:calc(88px + env(safe-area-inset-bottom));left:16px;right:16px;max-width:none}
}
@media(max-width:390px){.mobile-nav button{font-size:.68rem}.top h1{font-size:1.4rem}.card{padding:16px}.mobile-more-links{grid-template-columns:1fr}}

/* Parent access and shared conversations */
.participants{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.message-list{display:grid;gap:10px;max-height:350px;overflow:auto;margin:16px 0;padding:4px}.thread-message{background:#f3f7fc;border:1px solid #dce5f0;border-radius:12px;padding:13px 15px}.thread-message p{margin:7px 0;line-height:1.5}.thread-message small{color:#65768e}.parent-summary{display:grid;gap:8px;margin:14px 0;padding:16px;border:1px solid #dce5f0;border-radius:12px;background:#f8fafd}.parent-summary strong{font-size:1.2rem}.parent-summary span{color:#50627b}#parentEmail{width:100%;max-width:480px}#parentUpdates .minirow{gap:16px;flex-wrap:wrap}#parentReadOnly[hidden]{display:none}
.phone-setup{max-width:760px}.phone-setup>p{line-height:1.6}.phone-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.phone-steps>div{padding:18px;border:1px solid #dce5ef;border-radius:12px;background:#f8fafd}.phone-steps p{color:#50627b;margin-bottom:0;line-height:1.5}
@media(max-width:600px){.phone-steps{grid-template-columns:1fr}.formgrid,.formline,.two,.workspace,.grid,.feature-grid{grid-template-columns:1fr}input,select,textarea{max-width:100%}.card{min-width:0}.mobile-nav button{min-height:56px}.mobile-nav button span{font-size:.78rem}}

.sport-guide{margin-top:18px;padding:16px;border:1px solid #dce5ef;border-radius:12px;background:#f8fafd}.sport-guide p{margin:8px 0;line-height:1.5;color:#50627b}
/* Athlete media and profile */
.media-feed{max-width:670px;margin:auto}.media-feed .post{padding:0;overflow:hidden;border-radius:17px;box-shadow:0 7px 24px #142e5210}.media-feed .post-head,.media-feed .post-meta,.media-feed .post-copy,.media-feed .rating,.media-feed .feed-comments,.media-feed .post>p.small,.media-feed .post>.btn{margin-left:16px;margin-right:16px}.media-feed .post-head{padding-top:16px}.media-feed .post-media{display:block;width:100%;max-height:640px;object-fit:contain;background:#102542;margin:12px 0}.media-feed .post-media.image{object-fit:cover}.media-feed .feed-comments{margin-bottom:16px}.feed-comments{padding:12px 0;border-top:1px solid #e6ecf3}.feed-comments summary{cursor:pointer;font-weight:800;color:#24466f}.rating{display:flex;gap:1px;margin-top:4px}.rating button{border:0;background:transparent;color:#b7c3d4;font-size:1.7rem;min-width:39px;min-height:44px;padding:0}.rating button.lit,.rating button:hover{color:#e0a82d}.social-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.social-profile-layout>.card{min-width:0}.social-profile-layout .media-library{grid-column:1/-1}.social-profile-layout textarea,.social-profile-layout input[type=url]{width:100%}.follow-counts{display:flex;gap:18px;flex-wrap:wrap;margin:10px 0}.follow-counts strong{font-size:1.2rem;color:#1c3e6c}.follow-counts small{display:block;color:#667791;font-size:.8rem;font-weight:600}.profile-about{line-height:1.55}.social-links a{font-weight:750;color:#21528a}.game-list{margin-top:15px}.game-card{border-top:1px solid #e1e9f2;padding:14px 0}.game-card strong{display:inline-block;margin-right:8px}.game-card p{color:#52647b;line-height:1.5}.game-card .pill{vertical-align:middle}.over-limit{color:#b92246!important;font-weight:800}#gamePlayedFields[hidden]{display:none}
@media(max-width:800px){.social-profile-layout{grid-template-columns:1fr}.media-feed{max-width:100%}.media-feed .post-media{max-height:72vh}}

.username-dialog{width:min(470px,calc(100% - 32px));border:1px solid #dce5f0;border-radius:18px;padding:24px;color:#14243a;box-shadow:0 25px 80px #10254240}.username-dialog::backdrop{background:#102542aa}.username-dialog h2{margin:12px 0}.username-dialog>p{line-height:1.5}.username-input{display:flex;align-items:center;gap:8px}.username-input>span{font-weight:900;font-size:1.3rem;color:#294b75}.username-input input{width:100%;min-width:0}.username-error{color:#b92246;min-height:22px;font-size:.9rem}.username-dialog .btn{width:100%;min-height:46px}
/* Recruiting research, accounts, and parent preparation */
.contact-card{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 0;border-top:1px solid #e1e8f2}.contact-card p{margin:8px 0;line-height:1.5;color:#52647b}.contact-card a{font-weight:750;color:#21528a}.prep-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:16px 0}.prep-grid li{line-height:1.6;margin:7px 0}#research .toolbar{flex-wrap:wrap;align-items:end}#research .toolbar>label{flex:1;min-width:170px}#account .field,#outreach .field{width:100%;max-width:100%}#outreach .btn,#account .btn{margin-top:14px}#signupParentChoice[hidden],#signupSchoolFields[hidden],#accountStudentFields[hidden],#researchContent[hidden],#outreachContent[hidden]{display:none}.username-dialog{max-height:90vh;overflow:auto}.username-dialog .field{width:100%}.account-splash{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#122c56;color:#fff;padding:30px;text-align:center}.account-splash[hidden]{display:none}.account-splash img{width:160px;height:160px;object-fit:contain}.account-splash h2{font-size:1.7rem;margin:22px 0 6px}.account-splash p{color:#cbd8eb}.splash-progress{width:180px;height:5px;background:#ffffff24;border-radius:6px;overflow:hidden;margin-top:18px}.splash-progress::before{content:'';display:block;width:100%;height:100%;background:#e5b84e;transform-origin:left;animation:accountLoading 5s linear}@keyframes accountLoading{from{transform:scaleX(0)}to{transform:scaleX(1)}}@media(max-width:700px){.prep-grid{grid-template-columns:1fr;gap:8px}.contact-card{display:block}.contact-card .btn{margin-top:14px}.account-splash img{width:135px;height:135px}}@media(prefers-reduced-motion:reduce){.splash-progress::before{animation:none}}
.public-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.public-post-tile{min-width:0;overflow:hidden;border-radius:10px;background:#101b2c}.public-post-tile img,.public-post-tile video{width:100%;aspect-ratio:1;object-fit:cover;display:block}.public-post-tile small{display:block;padding:8px;overflow-wrap:anywhere;font-size:.8rem}.public-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.public-info dt{font-size:.875rem;color:#aabbcf}.public-info dd{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.visibility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.letter-terms{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto;padding:16px;background:#101b2c;border-radius:10px}.letter-card{margin-bottom:16px}.letter-card .field{width:100%}@media(max-width:600px){.public-info,.visibility-grid{grid-template-columns:1fr}.public-post-tile small{font-size:.75rem;padding:5px}}
/* Scoutrio athlete home */
.athlete-home{max-width:980px;margin:auto}.athlete-header{background:#fff;border:1px solid #dce5ef;border-radius:22px;overflow:hidden;box-shadow:0 10px 30px #193c6810}.athlete-cover{height:235px;position:relative;background:linear-gradient(115deg,#102745,#224f83 65%,#356ca2);overflow:hidden}.athlete-cover>img{width:100%;height:100%;object-fit:cover}.cover-wordmark{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;padding:35px;color:#ffffff;font-weight:900;font-size:2.5rem;letter-spacing:.06em}.cover-wordmark span{font-size:.85rem;letter-spacing:.16em;margin-top:12px;color:#cbd9e9}.cover-label{position:absolute;bottom:16px;right:20px;color:#fff;background:#102745bb;border:1px solid #ffffff35;border-radius:20px;padding:7px 12px;font-size:.75rem;font-weight:800;letter-spacing:.1em}.athlete-header-body{padding:0 30px 24px}.athlete-title-row{display:flex;gap:18px;align-items:center;position:relative}.athlete-avatar{width:106px;height:106px;flex-shrink:0;object-fit:cover;border-radius:50%;border:5px solid #fff;box-shadow:0 3px 14px #10274525;margin-top:-36px;background:#dfe9f5}.athlete-initial{display:grid;place-items:center;font-weight:900;font-size:2.2rem;color:#234d7c}.athlete-handle{padding-top:16px;min-width:0}.athlete-handle h2{font-size:1.65rem;margin:0;overflow-wrap:anywhere;letter-spacing:-.025em}.athlete-handle p{margin:6px 0;color:#61728b;font-size:.95rem}.home-edit{margin-left:auto;white-space:nowrap;margin-top:12px}.athlete-counts{display:flex;gap:30px;margin:22px 0 17px}.athlete-counts div{display:flex;gap:7px;align-items:baseline}.athlete-counts strong{font-size:1.25rem;color:#143961}.athlete-counts span{color:#61728b;font-size:.9rem}.athlete-sportline{display:flex;flex-wrap:wrap;gap:8px}.athlete-sportline span{background:#edf3fa;color:#264c78;border-radius:8px;padding:7px 11px;font-size:.875rem;font-weight:750}.athlete-bio{line-height:1.6;white-space:pre-wrap;max-width:680px;color:#344b66}.athlete-measure-chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.athlete-measure-chips>span{display:flex;flex-direction:column;gap:5px;border-left:3px solid #b72746;padding:4px 15px;background:#f7f9fc;border-radius:0 8px 8px 0}.athlete-measure-chips small{font-size:.75rem;letter-spacing:.06em;color:#64748b}.athlete-measure-chips strong{font-size:1rem;color:#193b65}.athlete-tabs{display:flex;justify-content:center;border-bottom:1px solid #dae4ef;margin:24px 0 0;gap:20px}.athlete-tabs button{border:none;border-bottom:3px solid transparent;background:transparent;color:#61728b;font:inherit;font-weight:800;padding:16px 18px;min-height:48px}.athlete-tabs button.current{border-bottom-color:#b72746;color:#173b66}.athlete-content{background:#fff;padding:14px 0 0}.athlete-content .public-post-grid{gap:6px}.athlete-tile{position:relative;display:block;aspect-ratio:1;border:0;padding:0;background:#dce6f1;overflow:hidden;border-radius:8px;cursor:pointer;min-width:0;text-align:left}.athlete-tile>img,.athlete-tile>video{width:100%;height:100%;object-fit:cover;display:block}.athlete-tile::after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#071b35d9);pointer-events:none}.tile-kind{position:absolute;top:9px;right:9px;background:#102542c9;color:#fff;padding:5px 8px;border-radius:7px;font-size:.75rem;font-weight:750;z-index:1}.tile-featured{position:absolute;top:9px;left:9px;background:#fff;color:#9e2540;padding:5px 8px;border-radius:7px;font-size:.75rem;font-weight:850;z-index:1}.tile-caption{position:absolute;left:12px;right:12px;bottom:12px;z-index:1;color:#fff;font-size:.9rem;font-weight:750;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}.athlete-content .public-info{margin:0;padding:22px;background:#f6f9fc;border-radius:12px}.athlete-content .public-info dt{color:#61728b}.athlete-content .public-info dd{color:#193b65;line-height:1.6}.athlete-empty{padding:36px 20px;text-align:center;background:#f4f7fb;border-radius:12px;color:#425b77}.home-preview-note{text-align:center;font-size:.8rem;color:#6d7c90;margin:20px 0}.home-editor{margin-top:18px;border:2px solid #224d7c}.home-editor details{margin:22px 0}.home-editor summary{font-weight:850;color:#234b77;cursor:pointer;padding:12px 0}.home-editor .visibility-grid{margin-top:12px}.cover-draft-preview{width:100%;height:150px;object-fit:cover;border-radius:12px;margin:12px 0}.home-post-picker{display:grid;gap:12px;margin:16px 0}.home-picker-row{display:flex;gap:14px;align-items:center;padding:12px;background:#f5f8fc;border-radius:12px}.picker-thumb{width:72px;height:72px;flex-shrink:0;overflow:hidden;border-radius:8px;background:#dce6f1}.picker-thumb img,.picker-thumb video{width:100%;height:100%;object-fit:cover}.home-picker-row>div:last-child{min-width:0}.home-picker-row strong{display:block;overflow-wrap:anywhere;font-size:.95rem}.home-picker-row small{display:block;color:#61728b;margin:5px 0}.picker-options{display:flex;gap:18px;font-size:.9rem}.picker-options label{display:flex;gap:6px;align-items:center;min-height:36px}.home-confirm-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.home-viewer{border:0;border-radius:18px;width:min(700px,calc(100% - 24px));max-height:92vh;overflow:auto;padding:18px;background:#fff;color:#193b65}.home-viewer::backdrop{background:#0c2036d9}.home-viewer-media{width:100%;max-height:70vh;object-fit:contain;background:#102542;border-radius:10px}.athlete-tile:focus-visible,.athlete-tabs button:focus-visible{outline:3px solid #b72746;outline-offset:3px}@media(max-width:600px){.athlete-cover{height:160px}.cover-wordmark{font-size:1.65rem;padding:25px 18px}.cover-wordmark span{font-size:.65rem;letter-spacing:.1em}.cover-label{font-size:.65rem;bottom:12px;right:12px}.athlete-header{border-radius:16px}.athlete-header-body{padding:0 16px 18px}.athlete-title-row{gap:12px;flex-wrap:wrap}.athlete-avatar{width:84px;height:84px;margin-top:-27px;border-width:4px}.athlete-handle{padding-top:10px;flex:1}.athlete-handle h2{font-size:1.2rem}.athlete-handle p{font-size:.85rem}.home-edit{margin:4px 0 0;width:100%;min-height:42px}.athlete-counts{gap:22px;justify-content:space-between;margin:20px 0}.athlete-counts div{flex-direction:column;gap:3px}.athlete-counts span{font-size:.8rem}.athlete-counts strong{font-size:1.15rem}.athlete-tabs{gap:0;justify-content:space-between}.athlete-tabs button{padding:13px 12px;font-size:.875rem}.athlete-content .public-post-grid{gap:4px}.athlete-tile{border-radius:5px}.tile-kind{font-size:.65rem;padding:3px 5px;top:5px;right:5px}.tile-featured{font-size:.65rem;padding:3px 5px;top:5px;left:5px}.tile-caption{left:6px;right:6px;bottom:6px;font-size:.75rem}.home-picker-row{padding:10px;gap:10px}.picker-thumb{width:58px;height:58px}}
/* Shared navigation groups */
.brand-motto{margin:8px 0 0;font-size:.8rem;color:#cfdbeb;line-height:1.4}.nav-group{min-width:0}.nav-group summary{cursor:pointer;list-style:none;padding:14px 12px;border-radius:10px;font-size:.95rem;font-weight:800;color:#ecf2fb;display:flex;justify-content:space-between;align-items:center;gap:12px}.nav-group summary::-webkit-details-marker,.mobile-menu-group summary::-webkit-details-marker{display:none}.nav-group summary::after,.mobile-menu-group summary::after{content:'+';font-weight:600;font-size:1.15rem}.nav-group[open]>summary::after,.mobile-menu-group[open]>summary::after{content:'−'}.nav-group summary.current{background:#284875}.nav-group-links{display:grid;gap:3px;padding:5px 0 10px 12px}.nav .nav-group-links button{padding:10px 12px;font-size:.875rem;min-height:44px}.nav-group[hidden]{display:none}.mobile-more-links{grid-template-columns:1fr!important;gap:10px}.mobile-menu-group{border:1px solid #dce5ef;border-radius:12px;overflow:hidden}.mobile-menu-group summary{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;font-size:1rem;font-weight:850;cursor:pointer;color:#193f6e;background:#f4f7fb}.mobile-menu-group>div{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px}.mobile-menu-group button.current{background:#e8eff8;border-color:#a9c1df}.nav-group summary:focus-visible,.mobile-menu-group summary:focus-visible{outline:3px solid #a9c1df;outline-offset:-3px}@media(min-width:901px){aside .nav{display:grid;overflow:visible}}@media(max-width:900px){.brand-motto{font-size:.75rem;margin:4px 0 0}.mobile-menu-group button{font-size:.875rem}}@media(max-width:390px){.mobile-menu-group>div{grid-template-columns:1fr}}
