/* Reading sizes apply equally on desktop and phones. */
body{font-size:16px;line-height:1.7}
.profile-sources{margin:16px 0 24px;padding-top:12px;border-top:1px solid var(--brand-border);color:var(--brand-muted)}
.profile-sources>summary{font-size:14px;line-height:1.8;cursor:pointer}
.profile-sources .namesources{margin:12px 0 0;padding-left:20px}
.profile-sources .namesources li{font-size:14px;line-height:1.8;margin:5px 0;overflow-wrap:anywhere}
button,input,select,textarea{font-size:16px}
.nav nav{font-size:14px;gap:20px}.navsource{font-size:14px}
.brand-words>span{font-size:14px}.brand-words small{font-size:14px}
.eyebrow,.sectionheading .eyebrow,.herocopy .eyebrow,.match-eyebrow{font-size:14px;letter-spacing:1.2px;line-height:1.6}
.herocopy>p,.sectionheading>p,.classintro p,.namebio>p,.namebio li,.namebio .knownperson p{font-size:16px;line-height:1.8}
.brand-primary,.brand-secondary,.textbutton,.softbutton,.solidbutton,.segmented button{font-size:15px;line-height:1.5}
.brand-primary{padding:14px 20px}.brand-secondary{padding:12px 0}
.suggestions{font-size:14px;gap:10px 14px}.suggestions button{font-size:14px;padding:4px 0}
.searchbox input{font-size:16px}.searchresults button{font-size:16px;padding:13px 16px;gap:16px;align-items:center}.searchresults small{font-size:14px}
.visualheading{font-size:14px;letter-spacing:.7px}.visualfoot,.chartkey{font-size:14px}.visualfoot{flex-wrap:wrap;gap:12px}.chartkey{gap:6px;flex-wrap:wrap;justify-content:center}
.floatingnote small{font-size:14px;line-height:1.5}.floatingnote{position:static;margin:22px 0 0 auto;width:max-content;max-width:100%;box-shadow:none}.floatingnote strong{font-size:20px}.herovisual{padding-bottom:24px}.herochart{height:175px}
.databarinner{font-size:14px;flex-wrap:wrap;gap:13px 28px}.databar a{font-size:14px}
.inspirationtabs button{font-size:16px;padding-top:16px;padding-bottom:16px}.inspirationtabs{gap:30px}
.finderrow>label,.filterfields label,.lengthfield,.regiontoolbar label,.classNameField>label,.classcontrols>label{font-size:14px;line-height:1.6}
.finderrow select,.finderrow input,.filterfields select,.lengthfield select,.regiontoolbar select,.scopefield select,.tablesearch input,.plaininput{font-size:16px;line-height:1.6}
.filterfields{flex-wrap:wrap;gap:16px 24px}.filterfields label{gap:5px}.filterfields select{max-width:260px;padding-top:6px;padding-bottom:8px}
.explorertop{align-items:start;flex-wrap:wrap;gap:24px}.explorersub{flex-wrap:wrap;gap:16px 24px}.scopefield select{max-width:320px}.tablesearch input{max-width:220px}.tablesearch{min-width:170px}.exportbtn{padding:8px 0 8px 20px}
.findergrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.findercard{padding:24px}.findername{font-size:30px}.findernicks,.finderbadges,.findercount,.finderfrequency>span,.bilingualnote,.finderperiod{font-size:14px;line-height:1.7}
.finderresulthead,.finderfooter,.nicktoolbar>span,.nicknamecard small{font-size:14px;line-height:1.7}.nicknamechips button{font-size:15px;padding:9px 13px}
.finderfrequency>b{font-size:24px}.classpick{font-size:14px;padding-top:12px;padding-bottom:8px}.finderfooter{flex-wrap:wrap}.finderfooter .methodhint{max-width:100%}
.methodhint,.namesources,.maphint,.mapattribution,.sourcecaption,.classNameHint,.classmethod,.classmethod p,.bilingualintro,.ideasintro,.classresult p{font-size:14px;line-height:1.8;color:var(--brand-muted)}
.rankcontext h3{font-size:21px}.rankcontext span,.contextcount span{font-size:14px;line-height:1.6}.contextcount strong{font-size:26px}.infonote{font-size:15px;line-height:1.7}
.rankingtable{font-size:16px}.rankingtable th{font-size:14px;line-height:1.5;padding-top:13px;padding-bottom:15px}.rankingtable td:first-child,.share,.delta{font-size:14px}.rankfullname{font-size:18px;line-height:1.4}.rankingtable .count{font-size:16px}
.namecell .ranknamebutton{padding:14px 17px;gap:8px;min-height:82px}.namecell .ranknamebutton .nickpreview{font-size:14px;line-height:1.6;white-space:normal;overflow:visible;text-overflow:clip}.rankingtable td.namecell{padding-top:9px;padding-bottom:9px}.namecell .ranknameblock .rowbar{max-width:98%}
.tablefooter{font-size:14px;gap:20px;flex-wrap:wrap}.timetravel{font-size:14px;gap:12px}.timetravel strong{font-size:17px}.sourcecaption{padding-top:16px;padding-bottom:16px}
.comparechip{font-size:15px;padding:9px 12px}.metricbuttons button{font-size:14px;padding:9px 12px}.addname input{font-size:15px;width:150px;padding:10px 0}.chartfilters,.chartfilters select{font-size:14px}.chartfilters{flex-wrap:wrap;gap:14px}.chartfilters>div{gap:22px}
.trendchart{height:350px}.trendchart text,.namemini text{font-size:14px;font-family:'DM Sans',Arial,sans-serif;fill:#555d75}.chartsummary{font-size:14px;line-height:1.8;gap:15px 28px}.chartbottom,.chartbottom>span,.chartbottom>button{font-size:14px;line-height:1.7}.charttooltip{font-size:14px;line-height:1.7}.charttooltip strong{font-size:16px}.chartdatatable{font-size:14px}
.mapdetails>.namesources{font-size:14px}.mapdetails .solidbutton{font-size:15px}.mapstats span,.mapsubtitle,.mapdetails h4,.maptopfive li,.maplegend{font-size:14px;line-height:1.6}.maptopfive button{font-size:16px}.regiontoolbar{gap:16px 24px}.regiontoolbar label{flex-wrap:wrap}.regionlist summary{font-size:15px}
.storygrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.storycard{padding:26px 24px;min-height:260px}.storycard p,.storycard .storyrank,.storycard .storytag,.storycard>.nickpreview,.storyfooter{font-size:14px;line-height:1.7}.storycard .storyrank{padding-top:18px}.storyfilters{flex-wrap:wrap;gap:16px 24px}
.sourcecard>span,.sourcecard p,.sourcecard b,.methodgrid summary,.methodgrid p,.catalog>summary,.catalog summary b,.catalog summary>span:last-child,.catalogrow,.catalogrow small,.sourcesfoot{font-size:14px;line-height:1.8}.sourcesfoot{flex-wrap:wrap;gap:14px}.catalogtools{flex-wrap:wrap}.catalogrow{align-items:start}.catalogrow>div{max-width:100%}
.nameheading .nameposition{font-size:14px;line-height:1.6;max-width:170px}.nameheading .origin{font-size:15px}.namestats span{font-size:14px;line-height:1.7}.namestats strong{font-size:25px}.namebio h3{font-size:14px;line-height:1.7;letter-spacing:.8px}.namequickactions .textbutton,.nameactions>.softbutton{font-size:15px}.namequickactions{margin-top:5px;margin-bottom:24px}.knownperson>.eyebrow,.knownperson a{font-size:14px;line-height:1.7}.namebio .namesources{font-size:14px}
.footer>span,.footer>a:last-child{font-size:14px}.footer{flex-wrap:wrap;gap:24px}.toast{font-size:15px;white-space:normal;line-height:1.6}
/* Both people should be able to read the room without zooming. */
.match-intro>p,.match-room-heading>div>p,.match-start-box>p,.match-how li>span,.match-results>p,.match-finalists>p,.match-side-note{font-size:16px;line-height:1.8}
.match-label,.match-start-box>small,.match-text,.match-primary,.back-atlas,.match-room-tools button{font-size:15px;line-height:1.6}.match-start-box input{font-size:16px}.match-gender button{font-size:16px}.match-room-tools{gap:12px}
.match-room-side{padding:26px}.match-room-side p,.match-room-side button,.match-person-progress>span,.match-person-progress>b,.match-person-progress small,.match-save-status{font-size:14px;line-height:1.8}.match-person-progress{padding-top:16px;padding-bottom:16px}
.match-tabs>button{font-size:15px;line-height:1.5;padding:16px 0}.match-tabs>button>span{font-size:14px;min-width:27px;height:27px}.match-progress,.match-card-top,.match-name-card small,.match-card-description>span,.match-card-bottom,.match-swipe-hint,.match-undo-row>span{font-size:14px;line-height:1.7}.match-card-name>p,.match-card-description p{font-size:16px;line-height:1.8}.match-pin{font-size:14px;padding:10px 14px}.match-vote-actions b{font-size:15px}
.match-stats>.match-eyebrow,.match-stats-grid span,.match-stats>p,.match-stats details,.match-stats summary,.match-stats dl{font-size:14px;line-height:1.7}.match-stats-grid{gap:20px}.match-stats-grid strong{font-size:35px}.match-stats dl{gap:0 24px}.match-stats dl>div{align-items:center}
.match-result-filters>button{font-size:15px;padding:12px 14px}.match-result-filters b{font-size:14px}.match-result-list small,.match-result-list p,.match-result-votes span,.match-result-votes a,.match-result-votes .match-pin{font-size:14px;line-height:1.7}
.final-add>label,.final-suggestions small,.match-finalists>.final-order-hint,.final-item-name p,.final-item-actions a,.final-item-actions button,.final-comment-form>label,.final-comment-form>div>span,.final-comment-form .match-primary,.match-finalists>.final-list-note{font-size:14px;line-height:1.7}.final-add input{font-size:16px}.final-suggestions button{font-size:16px;padding:14px 16px}.final-item-heading{gap:12px}.final-order-buttons button{width:40px;height:42px}.final-comments strong,.final-comments time,.final-comments strong small,.final-comments article>button{font-size:14px;line-height:1.7}.final-comments article>div{flex-wrap:wrap;gap:5px 15px}.final-comments p,.final-comment-form textarea{font-size:16px;line-height:1.8}.final-comment-form>div{flex-wrap:wrap;gap:12px}.final-comment-form .match-primary{margin-left:auto;padding:12px 16px}.final-item-actions{gap:16px;flex-wrap:wrap}.final-comment-form textarea{min-height:110px}.final-comments article{padding:17px 18px}
.match-return-panel>summary,.match-return-panel>p,.match-return-panel>small,.return-controls>.match-text{font-size:14px;line-height:1.8}.match-return-panel>.match-primary{font-size:15px;padding:13px 16px}.match-return-panel>input{font-size:16px;padding:12px}.return-controls{gap:14px}.match-footer{font-size:14px;line-height:1.8;gap:16px}.match-invite input{font-size:16px}.match-toast{font-size:15px;line-height:1.7}
@media(max-width:1050px){.nav{flex-wrap:wrap;gap:20px}.nav nav{margin-left:auto;font-size:14px;gap:20px}.findergrid,.storygrid{grid-template-columns:repeat(2,minmax(0,1fr))}.finderrow-bottom label{min-width:170px}.match-play-layout{gap:30px;grid-template-columns:minmax(0,1fr) 280px}.match-room-side{padding:23px}}
@media(max-width:760px){
 .nav{gap:14px}.nav nav{width:100%;margin:0;gap:24px;font-size:14px;padding:12px 0 4px}.hero-actions{gap:14px 20px}.brand-primary,.brand-secondary{font-size:15px}.herocopy>p{font-size:16px}.herocopy .eyebrow{font-size:14px;letter-spacing:.7px}.visualtitle{font-size:25px}.visualheading{font-size:14px;letter-spacing:.3px}.visualfoot{font-size:14px}.chartkey{width:100%;order:3;justify-content:flex-start}.floatingnote{margin-top:20px;max-width:100%}.floatingnote small{font-size:14px}
 .sectionheading{gap:18px}.sectionheading>p{font-size:16px;line-height:1.8}.sectionheading .eyebrow{font-size:14px;letter-spacing:.9px}.databarinner{font-size:14px;gap:12px 20px}.inspirationtabs{gap:24px;overflow-x:auto}.inspirationtabs button{font-size:15px;white-space:nowrap}
 .findergrid,.storygrid{grid-template-columns:1fr;gap:18px}.findercard{padding:24px}.findername{font-size:30px}.finderbadges{font-size:14px;gap:7px}.finderrow>label,.lengthfield,.classintro .eyebrow{font-size:14px}.finderrow select,.finderrow input,.lengthfield select,.scopefield select,.tablesearch input,.plaininput{font-size:16px}.finderrow-bottom{gap:20px 16px}.finderrow-bottom label{min-width:0}.finderrow:first-child>label{max-width:100%;width:100%;flex-basis:100%}.finderperiod{font-size:14px}.finderfooter .methodhint{font-size:14px}
 .filterfields{display:grid;grid-template-columns:1fr 1fr;gap:18px;width:100%}.filterfields label{font-size:14px;min-width:0}.filterfields label:first-child{grid-column:1/-1}.filterfields select,.filterfields label:first-child select,.filterfields label:last-child select{font-size:16px;max-width:100%;width:100%;padding:7px 5px 8px 0}.explorertop{padding:22px 18px;gap:22px}.explorersub{padding:18px;gap:18px}.scopefield{width:100%;min-width:0}.scopefield select{max-width:100%;width:100%}.explorersub .lengthfield,.explorersub .tablesearch{width:100%;margin:0;min-width:0}.tablesearch input{width:100%;max-width:100%;font-size:16px}.exportbtn{border:0;padding-left:0;font-size:15px}.segmented button{font-size:15px;padding:10px 16px}
 .rankcontext{padding:22px 17px;align-items:start;gap:20px;flex-wrap:wrap}.rankcontext span{font-size:14px}.contextcount{text-align:left}.rankingtable th,.rankingtable td:first-child,.share,.delta{font-size:14px}.rankingtable th:nth-child(1){width:33px;padding-left:12px}.rankingtable td:first-child{padding-left:12px}.rankingtable th:nth-child(3){width:66px}.rankingtable th:nth-child(4){width:57px}.rankingtable th:nth-child(6){width:37px}.rankfullname{font-size:16px;line-height:1.4}.namecell .ranknamebutton{padding:13px 10px;gap:8px}.namecell .ranknamebutton .nickpreview{font-size:14px;line-height:1.6}.rankingtable .count{font-size:15px}.addcompare{width:29px;height:29px}.tablefooter{padding:20px 17px;gap:16px}.timetravel{padding:18px 17px;flex-wrap:wrap;gap:15px}.timetravel input{order:4;width:100%}.sourcecaption{font-size:14px;padding:17px}.infonote{margin-left:17px;margin-right:17px;font-size:15px}
 .trendcontrols{padding:22px 18px;gap:17px}.metricbuttons{margin-left:0}.chartfilters{padding:0 18px;gap:15px}.chartfilters select{font-size:15px}.trendchart{height:300px;padding:12px 6px 0}.chartsummary{padding:14px 20px;font-size:14px}.chartbottom{padding:18px 20px;font-size:14px}.chartbottom>span,.chartbottom>button{font-size:14px}.chartdatatable{overflow-x:auto}.chartdatatable th,.chartdatatable td{font-size:14px}.namemini{height:180px}
 .classintro p,.classresult p,.classresult>div>span{font-size:16px}.classcontrols{gap:20px}.classcontrols>label,.classNameField>label,.classNameHint{font-size:14px}.class-name-search>input{font-size:16px;padding:13px 12px}.class-name-search .searchresults button{font-size:16px}.class-name-search .searchresults small,.classmethod,.classmethod p{font-size:14px}.classresult>div{flex-wrap:wrap}
 .mapdetails{padding:25px 20px}.mapstats{gap:25px}.mapstats span,.mapsubtitle,.mapdetails h4,.maptopfive li,.maplegend,.maphint,.mapattribution{font-size:14px}.maptopfive button{font-size:16px}.maplegend{gap:12px 18px}.maphint{max-width:100%;margin-left:12px;margin-right:12px}.mapdetails .solidbutton{font-size:15px}.mapdetails>.namesources{font-size:14px}.regiontoolbar{gap:18px}.regiontoolbar label{font-size:14px}.regiontoolbar select{font-size:16px;max-width:100%}
 .ideapresets{grid-template-columns:1fr;gap:16px}.ideapresets span,.ideapresets b,.ideasintro,.bilingualintro,.bilingualnote{font-size:14px}.nicknamecard{padding:24px}.nicknamecard small,.nickSearchHint{font-size:14px}.nicknamechips button{font-size:15px}.storycard{min-height:0;padding:26px 24px}.storycard p,.storycard>.nickpreview,.storycard .storytag,.storycard .storyrank,.storyfooter{font-size:14px}.storycard h3{font-size:28px}.sourcecard p,.methodgrid p{font-size:15px}.catalogtools .plaininput{width:100%}.catalogrow{gap:15px;flex-wrap:wrap}
 .nameheading{align-items:start;gap:18px;flex-wrap:wrap}.nameheading .nameposition{text-align:left;max-width:100%;font-size:14px}.nameheading .origin{font-size:15px}.namestats{grid-template-columns:1fr;gap:16px;padding:20px}.namestats>div{padding-bottom:15px;border-bottom:1px solid #d1d6e7}.namestats>div:last-child{border:0;padding-bottom:0}.namestats strong{font-size:26px}.namestats span{font-size:14px}.namebio h3{font-size:14px}.namebio>p,.namebio li,.namebio .knownperson p{font-size:16px}.namebio .namesources{font-size:14px}.nameactions button,.namequickactions .textbutton{font-size:15px}.knownperson>.eyebrow,.knownperson a{font-size:14px}
 .footer{gap:22px}.footer>span,.footer>a:last-child{font-size:14px}
 .match-play-layout{grid-template-columns:1fr;gap:28px}.match-intro>p,.match-room-heading>div>p,.match-start-box>p,.match-results>p,.match-finalists>p,.match-side-note{font-size:16px}.match-room-tools{gap:16px;flex-wrap:wrap}.match-room-tools button{font-size:14px}.match-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:stretch}.match-tabs>button{font-size:14px;white-space:normal;flex-wrap:wrap;justify-content:center;text-align:center;line-height:1.5;padding:12px 3px;min-height:86px;gap:5px}.match-tabs>button>span{font-size:14px;min-width:25px;height:25px}.match-start-box>small,.match-label,.match-text,.match-primary,.back-atlas{font-size:15px}.match-start-box input,.match-gender button{font-size:16px}.match-progress,.match-card-top,.match-card-description>span,.match-card-bottom,.match-swipe-hint,.match-undo-row>span{font-size:14px}.match-card-name>p,.match-card-description p{font-size:16px}.match-name-card{padding-left:24px;padding-right:24px}.match-pin{font-size:14px}.match-stats{padding:23px 20px}.match-stats-grid{gap:24px 18px}.match-stats-grid span,.match-stats>p,.match-stats summary,.match-stats dl{font-size:14px}.match-stats dl{grid-template-columns:1fr}.match-stats-grid strong{font-size:32px}.match-room-side{padding:25px 23px}.match-room-side p,.match-room-side button,.match-person-progress>span,.match-person-progress>b,.match-person-progress small,.match-save-status{font-size:14px}.match-person-progress>span{flex-wrap:wrap}.match-return-panel>p,.match-return-panel>small{font-size:14px}
 .final-item-heading{gap:9px;flex-wrap:wrap}.final-item-name{flex:1;min-width:150px}.final-order-buttons{margin-left:auto}.final-item-name p,.final-item-actions a,.final-item-actions button,.final-comment-form>label,.final-comment-form>div>span,.final-comment-form .match-primary,.match-finalists>.final-list-note{font-size:14px}.final-list>li:not(.final-drop-end){padding:23px 18px}.final-comments strong,.final-comments time,.final-comments strong small,.final-comments article>button{font-size:14px}.final-comments p,.final-comment-form textarea{font-size:16px}.final-comments article{padding:17px 16px}.final-comment-form>div>span{width:100%}.final-comment-form .match-primary{margin-left:0}.match-result-votes .match-pin,.match-footer{font-size:14px}.match-footer{gap:18px}
}
/* Stack the two numeric values on phones so names keep a useful line length. */
@media(max-width:760px){
 .rankingtable thead tr,.rankingtable tbody tr{display:grid;grid-template-columns:32px minmax(0,1fr) 80px 36px;align-items:center}
 .rankingtable th,.rankingtable td{width:auto!important;border-bottom:0}
 .rankingtable thead tr,.rankingtable tbody tr{border-bottom:1px solid var(--brand-border)}
 .rankingtable th:nth-child(1){grid-column:1}.rankingtable th:nth-child(2){grid-column:2}.rankingtable th:nth-child(3){grid-column:3;padding-right:5px}.rankingtable th:nth-child(3)::after{content:'i udział';display:block;font-weight:400;font-size:14px;margin-top:3px;color:var(--brand-muted)}
 .rankingtable th:nth-child(4){position:absolute;width:1px!important;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}.rankingtable th:last-child{grid-column:4}
 .rankingtable td:first-child{grid-column:1;grid-row:1/span 2;padding-left:12px}
 .rankingtable td.namecell{grid-column:2;grid-row:1/span 2;padding-right:8px}
 .rankingtable td.count{grid-column:3;grid-row:1;align-self:end;padding:0 5px 3px 0;font-size:16px}
 .rankingtable td.share{grid-column:3;grid-row:2;align-self:start;padding:2px 5px 0 0;font-size:14px;color:var(--brand-muted)}
 .rankingtable td:last-child{grid-column:4;grid-row:1/span 2;padding:12px 0}
 .rankingtable td.empty{grid-column:1/-1;grid-row:auto}
 .rankfullname{word-break:normal;overflow-wrap:normal;hyphens:none}.namecell .ranknamebutton .nickpreview{overflow-wrap:normal;word-break:normal}
 .metricbuttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0}.metricbuttons button{white-space:normal;min-width:0;font-size:14px;line-height:1.5;padding:10px 5px}
}
