.standard-heading{padding-top:36px!important}
.standard-heading>h1,.standard-heading>.page-head h1,.standard-heading>.page-head{margin-top:0!important}
.standard-heading h1{margin-top:0!important;font-size:64px!important;line-height:1.05!important}
.standard-heading .heading-path{margin-top:0!important;padding-top:0!important}
.standard-heading .record-book-heading{padding-top:0!important}
.standard-heading .manager-hero{padding:0!important;border:0!important;background:none!important}
.standard-heading .manager-hero h1{max-width:none!important}
@media(max-width:600px){.standard-heading{padding-top:28px!important}.standard-heading h1{font-size:48px!important}}

/* Shared page rhythm: titles, right-hand controls, then content. */
.standard-heading .page-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px;padding:0;min-height:68px}
.standard-heading .page-heading h1{margin:0!important;max-width:none}
.standard-heading .page-heading>div:first-child{min-width:0}
.standard-heading .page-heading .season-switch,.standard-heading .record-scope-controls{margin:0;flex-shrink:0}
.standard-heading .page-heading .season-switch>span{display:none}
.standard-heading .page-heading .season-switch,.standard-heading .record-scope-controls .subnav{display:flex;gap:6px;margin:0}
.standard-heading .page-heading .season-switch a,.standard-heading .record-scope-controls button,.standard-heading .filters .segment-group button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 16px;font:500 13px/20px 'DM Sans',sans-serif;white-space:nowrap;box-sizing:border-box}
.standard-heading>h1{margin:0 0 28px!important}
.standard-heading[data-page='squad'] .filters{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 28px}
.standard-heading[data-page='squad'] .filters .segment-group{flex:0 1 auto}
.standard-heading[data-page='squad'] .filters input{flex:0 1 280px;width:280px;min-width:200px;height:44px;margin:0;font-size:13px}
@media(max-width:1000px){
 .standard-heading .page-heading{flex-direction:column;align-items:flex-start;gap:20px;min-height:0}
 .standard-heading .page-heading .season-switch,.standard-heading .record-scope-controls{max-width:100%}
}
@media(max-width:600px){
 .standard-heading .page-heading{margin-bottom:24px}
 .standard-heading>h1{margin-bottom:24px!important}
 .standard-heading[data-page='squad'] .filters{gap:14px;margin-bottom:24px}
 .standard-heading[data-page='squad'] .filters input{flex-basis:100%;width:100%;min-width:0}
 .standard-heading .record-scope-controls .subnav{flex-wrap:wrap}
 .standard-heading .page-heading .season-switch a,.standard-heading .record-scope-controls button,.standard-heading .filters .segment-group button{padding:10px 12px}
}

.standard-heading>h1+.section-space{margin-top:0}


.standard-heading .squad-heading{flex-wrap:wrap}
.standard-heading .squad-heading h1{flex:0 0 auto}
.standard-heading[data-page='squad'] .squad-heading .filters{flex:0 1 auto;margin:0;justify-content:flex-end;flex-wrap:nowrap}
.standard-heading[data-page='squad'] .squad-heading .segment-group{flex:0 0 auto}
.standard-heading[data-page='squad'] .squad-heading input{width:220px;flex-basis:220px}
@media(max-width:1150px){
 .standard-heading .squad-heading{flex-direction:column;align-items:flex-start;gap:20px}
 .standard-heading[data-page='squad'] .squad-heading .filters{width:100%;justify-content:space-between;flex-wrap:wrap}
}
@media(max-width:600px){
 .standard-heading[data-page='squad'] .squad-heading .segment-group{flex:0 1 auto}
 .standard-heading[data-page='squad'] .squad-heading input{width:100%;flex-basis:100%}
}

/* Stable squad card dimensions, independent of the result count. */
.standard-heading[data-page='squad'] .squad-unit{margin:0}
.standard-heading[data-page='squad'] .squad-unit+.squad-unit{border-top:2px solid var(--line);margin-top:28px;padding-top:28px}
.standard-heading[data-page='squad'] .unit-players{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
@media(max-width:900px){.standard-heading[data-page='squad'] .unit-players{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.standard-heading[data-page='squad'] .unit-players{grid-template-columns:minmax(0,1fr)}}
