/* V3.5 readable typography and responsive composition, after legacy styles. */
body.ev3-app{--ev35-copy:clamp(18px,1.05vw,20px);--ev35-space:clamp(24px,3vw,44px);font-size:var(--ev35-copy);line-height:1.7}
body.ev3-app .ev3-container{width:min(calc(100% - clamp(32px,6vw,104px)),var(--ev3-max,1320px))}
body.ev3-app :is(p,li,label,input,select,textarea,button){overflow-wrap:break-word}
body.ev3-app :is(input,select,textarea){max-width:100%;min-width:0;font-size:18px}
body.ev3-app :is(.ev3-section-description,.ev3-lead,.ev322-hero-description,.ev3-article-body,.ev3-steps-grid p,.ev3-vision>div>p,.ev3-footer p,.ev3-auth-panel p,.ev3-auth-links,.ev322-auth-note,.evxe-state,.ev3-empty,.evxe-profile-vote p,.ev322-tree-under p,.ev322-tree-directory-head p){font-size:var(--ev35-copy);line-height:1.75}
body.ev3-app :is(.ev3-section-description,.ev322-hero-description){max-width:65ch;margin-top:22px;color:#bbcedd}
body.ev3-app .ev3-section{padding-block:clamp(60px,6.8vw,108px)}
body.ev3-app .ev3-section-head{margin-bottom:var(--ev35-space)}
body.ev3-app .ev3-hero h1{font-size:clamp(44px,5.7vw,88px);line-height:1.08;letter-spacing:-.055em;overflow-wrap:break-word}
body.ev3-app .ev3-page-hero h1{font-size:clamp(38px,5.5vw,82px);line-height:1.12;letter-spacing:-.045em;overflow-wrap:anywhere}
body.ev3-app :is(.ev3-section h2,.ev3-vision h2){font-size:clamp(34px,4.4vw,64px);line-height:1.15;letter-spacing:-.045em;overflow-wrap:anywhere}
body.ev3-app :is(.ev3-hero h1 em,.ev3-section h2 em,.ev3-page-hero h1 em,.ev3-vision h2 em){font-family:var(--ev3-display-font);font-style:normal;font-weight:800;letter-spacing:-.04em}
body.ev3-app .ev3-eyebrow{font-size:14px;letter-spacing:.12em;line-height:1.6}
body.ev3-app .ev3-nav a{font-size:18px;letter-spacing:0;text-transform:none;font-weight:650}
body.ev3-app :is(.ev3-signin,.ev3-menu-toggle){font-size:18px;letter-spacing:0;text-transform:none;min-height:46px}
body.ev3-app .ev3-header-inner{gap:20px}
body.ev3-app .ev3-button{font-size:18px;font-weight:750;letter-spacing:0;text-transform:none;line-height:1.4;white-space:normal;min-height:54px;padding:14px 22px;border-radius:12px;text-align:center}
body.ev3-app .ev3-buttons{gap:14px;margin-top:28px}
body.ev3-app .ev3-section-description a,body.ev3-app .ev35-library-link{color:var(--ev3-mint);text-decoration:underline;text-underline-offset:5px}
body.ev3-app .ev3-athlete-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2vw,26px)}
body.ev3-app .ev3-athlete-card{min-width:0;border-radius:20px}
body.ev3-app .ev3-card-info{padding:clamp(20px,2vw,26px)}
body.ev3-app .ev3-card-sport{font-size:18px;line-height:1.5;letter-spacing:.015em;text-transform:none}
body.ev3-app .ev3-athlete-card h3{font-size:clamp(23px,2vw,29px);line-height:1.25;letter-spacing:-.025em;margin-block:10px 24px}
body.ev3-app .ev3-card-bottom{font-size:18px;line-height:1.5;flex-wrap:wrap;gap:10px}
body.ev3-app .ev3-card-bottom a{font-weight:750;color:#a8ffe8}
body.ev3-app .ev3-level{font-size:14px;line-height:1.4;letter-spacing:.02em;max-width:calc(100% - 24px)}
body.ev3-app :is(.ev3-story time,.ev3-story span,.ev3-footer nav,.ev3-auth-panel label,.evxe-ranking-filters label,.evxe-ranking-filters select,.evxe-standings p,.evxe-standings table,.ev322-tree-directory small,.ev322-tree-voices){font-size:18px;line-height:1.6}
body.ev3-app .ev3-story h3{font-size:clamp(23px,2.2vw,30px);line-height:1.3;letter-spacing:-.02em}
body.ev3-app .ev3-footer nav{display:flex;flex-wrap:wrap;gap:16px 26px}
body.ev3-app .ev3-footer .ev3-footnote{font-size:18px;line-height:1.7}
body.ev3-app :is(.evx-v33-filters label,.evx-v33-filters input,.evx-v33-filters select,.evx-v33-filters [data-evx-v33-count]){font-size:18px;line-height:1.5}
body.ev3-app .evx-v33-filters{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.8fr);gap:20px;padding:24px;align-items:end}
body.ev3-app .evx-v33-filters [data-evx-v33-count]{grid-column:1/-1;padding:0;white-space:normal}
body.ev3-app .evx-v33-sport-card.evxe-sport-card{min-height:205px;overflow:visible;padding:24px}
body.ev3-app .evx-v33-sport-card .evxe-sport-index{font-size:18px!important;line-height:1.6;letter-spacing:.02em;max-width:100%}
body.ev3-app .evx-v33-sport-card .evxe-sport-title{font-size:clamp(21px,2vw,28px)!important;line-height:1.3;letter-spacing:-.025em;margin:22px 26px 0 0;max-width:100%;overflow-wrap:anywhere}
body.ev3-app .evx-v33-all-link{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-top:30px;text-align:left}
body.ev3-app .evx-v33-all-link p{margin:0;color:#bbcedd;font-size:18px}
body.ev3-app .evx-v33-all-link a{font-size:18px;min-height:50px;padding:11px 18px}
.ev35-discovery{min-width:0;width:100%}
.ev35-discovery-filters{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:20px;padding:clamp(20px,2.4vw,32px);border:1px solid #8fe7e232;border-radius:20px;background:radial-gradient(ellipse at 0 0,#29597530,transparent 65%),linear-gradient(135deg,#112238,#0d172a);box-shadow:inset 0 1px #ffffff08}
.ev35-discovery-filters label{display:grid;gap:10px;min-width:0;font-size:18px;font-weight:650;color:#e6f0fa;line-height:1.5}
.ev35-discovery-filters :is(input,select){width:100%;min-height:56px;padding:13px 14px;border:1px solid #8ca6c75c;border-radius:11px;background:#071322;color:#eef8fc;font:inherit;font-size:18px}
.ev35-discovery-filters input::placeholder{color:#a5bacc;opacity:1}
.ev35-discovery-filters :is(input,select):focus{border-color:#86f7db;outline:2px solid #86f7db;outline-offset:3px}
.ev35-search-submit{grid-column:1/-1;justify-self:start}
.ev35-discovery-meta{display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;align-items:center;margin:24px 0}
.ev35-discovery-meta p{font-size:18px;line-height:1.6;margin:0;color:#aabfd2}
.ev35-discovery-meta [data-ev35-discovery-count]{color:#b4fce9;font-weight:650}
[data-ev35-discovery-results]{min-height:150px;transition:opacity .16s ease}
[data-ev35-discovery-results][aria-busy=true]{opacity:.55}
.ev35-discovery-empty{padding:clamp(28px,5vw,60px);border:1px solid #96d5e82c;border-radius:20px;background:linear-gradient(130deg,#102235,#10182d);text-align:center}
.ev35-discovery-empty h3{font:750 clamp(24px,3vw,36px)/1.3 var(--ev3-display-font);letter-spacing:-.025em;margin:16px 0}
.ev35-discovery-empty p{font-size:18px;max-width:55ch;line-height:1.8;color:#bbcedd;margin:0 auto 26px}
.ev35-discovery-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:18px;margin-top:32px}
.ev35-discovery-pagination[hidden]{display:none}
.ev35-discovery-pagination span{font-size:18px;color:#b7cddd}
.ev35-discovery-pagination button:disabled{opacity:.45;cursor:default;transform:none}
.ev35-library-intro{margin-bottom:32px;max-width:65ch;color:#bbcedd;font-size:18px}
.ev35-future-callout{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px;padding:clamp(26px,4vw,50px);border-radius:22px;border:1px solid #d5bd8e52;background:radial-gradient(ellipse at 100% 0,#a896dc1f,transparent 70%),#0e1b2d}
.ev35-future-callout>div{max-width:740px;min-width:0}
body.ev3-app .ev35-future-callout h2{font-size:clamp(28px,3.2vw,44px)}
.ev35-future-callout p{margin-bottom:0;color:#bbcedd;font-size:18px}
@media(max-width:1280px){body.ev3-app .ev3-header-inner{display:flex;justify-content:space-between}body.ev3-app .ev3-menu-toggle{display:inline-flex;order:3}body.ev3-app .ev3-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:12px clamp(20px,4vw,36px) 24px;background:#071321;border-bottom:1px solid #7cf1d55c;max-height:calc(100dvh - 90px);overflow:auto}body.ev3-app .ev3-nav.is-open{display:flex}body.ev3-app .ev3-nav a{padding:13px;border-bottom:1px solid #7cf1d522}body.ev3-app .ev3-signin{margin-left:auto}}
@media(max-width:1040px){body.ev3-app .ev3-hero-grid{grid-template-columns:minmax(0,1fr);gap:42px}body.ev3-app .ev3-hero-copy{max-width:760px}body.ev3-app .ev3-hero h1{font-size:clamp(52px,8vw,78px)}body.ev3-app .ev3-hero-visual{max-width:850px;margin-inline:auto}.ev35-discovery-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ev35-discovery-filters label:first-child{grid-column:1/-1}body.ev3-app .ev3-athlete-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.ev3-app .evx-v33-filters{grid-template-columns:repeat(2,minmax(0,1fr))}body.ev3-app .evx-v33-filters label:first-child{grid-column:1/-1}body.ev3-app .evxe-sport-grid.evx-v33-sport-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){body.ev3-app .ev3-hero h1{font-size:clamp(43px,10.3vw,68px);line-height:1.1}body.ev3-app .ev3-hero{padding-block:48px 60px}body.ev3-app :is(.ev3-section h2,.ev3-vision h2){font-size:clamp(33px,7vw,49px);line-height:1.18}body.ev3-app .ev3-page-hero h1{font-size:clamp(36px,8vw,56px)}body.ev3-app .evx-v33-sport-card.evxe-sport-card{min-height:190px;padding:20px}body.ev3-app .evxe-sport-grid.evx-v33-sport-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.ev3-app .ev3-card-bottom{display:grid;gap:10px}.ev35-discovery-meta{display:block}.ev35-discovery-meta p+p{margin-top:6px}.ev35-discovery-filters{gap:20px}.ev35-search-submit{width:100%;justify-self:stretch}body.ev3-app .ev322-tree-directory-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){body.ev3-app .ev3-signin{display:none}body.ev3-app .ev3-header-inner{gap:12px;min-height:76px}body.ev3-app .ev3-menu-toggle{font-size:18px;padding:8px 10px}body.ev3-app .ev3-logo{font-size:clamp(12px,3.5vw,16px);letter-spacing:.1em;gap:7px}body.ev3-app .ev3-athlete-grid{grid-template-columns:minmax(0,1fr)}.ev35-discovery-filters,body.ev3-app .evx-v33-filters{grid-template-columns:minmax(0,1fr);padding:20px}.ev35-discovery-filters label:first-child,body.ev3-app .evx-v33-filters label:first-child{grid-column:auto}body.ev3-app .ev3-buttons{display:grid;grid-template-columns:minmax(0,1fr)}body.ev3-app .evx-v33-sport-card.evxe-sport-card{min-height:220px;padding:18px}body.ev3-app .evx-v33-sport-card .evxe-sport-index{font-size:18px!important;letter-spacing:0}body.ev3-app .evx-v33-sport-card .evxe-sport-title{font-size:21px!important;letter-spacing:-.02em;margin-right:0;padding-bottom:12px}body.ev3-app .evx-v33-sport-card .evxe-sport-arrow{right:16px;bottom:12px}.ev35-discovery-pagination{display:grid;grid-template-columns:1fr 1fr}.ev35-discovery-pagination span{grid-column:1/-1;grid-row:1;text-align:center}.ev35-discovery-pagination .ev3-button{padding:12px 10px}}
@media(max-width:390px){body.ev3-app .evxe-sport-grid.evx-v33-sport-grid{grid-template-columns:minmax(0,1fr)}body.ev3-app .evx-v33-sport-card.evxe-sport-card{min-height:165px}body.ev3-app .evx-v33-sport-card .evxe-sport-title{font-size:24px!important}}
@media(prefers-reduced-motion:reduce){body.ev3-app [data-ev35-discovery-results]{transition:none}body.ev3-app .ev3-button{transition:none}}
/* Authentication copy and the wordmark remain readable even under legacy mobile overrides. */
body.ev3-app .ev3-auth-panel .ev322-auth-note{font-size:var(--ev35-copy);line-height:1.75}
body.ev3-app .ev3-logo{font-size:18px;letter-spacing:.08em}
/* Athlete-side and comment guidance must outrank legacy V3.2.2 small-print rules. */
body.ev3-app .ev3-side-card p,
body.ev3-app .ev322-comment-guest p,
body.ev3-app .ev3-comments .ev35-auth-prompt p{font-size:var(--ev35-copy);line-height:1.75}
body.ev3-app .ev322-comment-form .ev322-note{font-size:var(--ev35-copy);line-height:1.75}
body.ev3-app .evxe-standings table th{font-size:18px;line-height:1.5;letter-spacing:.04em}

/* Country guidance stays inside the approved filter container without shifting control alignment. */
.ev35-discovery-filters{align-items:start}
.ev35-discovery-filters .ev382-country-note{font-size:14px;font-weight:400;line-height:1.5;color:#bbcedd}
