/* Shared finishing layer for every reachable BanksPitch page, including pages
   served without JavaScript. Artwork remains artwork; readable UI uses Inter. */
html body.bp-unified[class]{--bp-font:Inter,Arial,sans-serif;--bp-surface:#101d2eee;--bp-control:#101d2e;--bp-soft-line:#a7b8d329}
html body.bp-unified[class] :where(h1,h2,h3,h4,h5,h6,p,span,strong,small,b,em,li,dt,dd,td,th,caption,label,summary,a,button,input,select,textarea,time,output){font-family:var(--bp-font)!important}
html body.bp-unified[class] :is(#football-hub,#following,#insights-page,.account-shell) :where(h1,h2,h3,h4,strong,a,span,small,button,summary){font-family:var(--bp-font)!important}
html body.bp-unified[class] :is(#football-hub,#following,#insights-page,.account-shell) :is(h2,h3,h4){font-weight:600!important;line-height:1.4!important;text-transform:none!important;letter-spacing:0!important}
html body.bp-unified[class] :is(#football-hub,#following,#insights-page) h2{font-size:16px!important}
html body.bp-unified[class] :is(#football-hub,#following,#insights-page) h3{font-size:14px!important}
html body.bp-unified[class] :is(#football-hub,#following,#insights-page) :is(.hub-panel,.fw-panel,.is-card,.is-tile){background:var(--bp-surface)!important;border:1px solid var(--bp-soft-line)!important;border-radius:6px!important;box-shadow:none!important;padding:16px!important}
html body.bp-unified[class] :is(.hub-grid,.hub-squad-list,.is-feed,.is-tiles){gap:14px!important;align-items:start}
html body.bp-unified[class] :is(.hub-panel,.fw-panel,.is-card,.is-tile):before,
html body.bp-unified[class] :is(.hub-panel,.fw-panel,.is-card,.is-tile):after{display:none!important}
html body.bp-unified[class] :is(.hub-button,.hub-search,.hub-filters select,.fw-search,.fw-button,.is-cta,.ac-field input,.ac-field select,.ac-button):not(.ac-primary){background:var(--bp-control)!important;border:1px solid var(--bp-soft-line)!important;border-radius:5px!important;box-shadow:none!important;color:var(--bp-text)!important;font-size:13px!important;min-height:40px!important}
html body.bp-unified[class] :is(.hub-button,.fw-button)[aria-pressed=true]{color:var(--bp-action)!important;border-color:#ffdc4266!important;background:#ffdc4212!important}
html body.bp-unified[class] :is(.hub-tabs,.fw-tabs,.is-tabs,.ac-tabs){gap:16px!important;margin-bottom:14px!important}
html body.bp-unified[class] :is(.hub-tabs,.fw-tabs,.is-tabs)>:is(a,button){font-size:13px!important;font-weight:500!important;min-height:42px!important}

/* Entity names use the same clear heading as the match centre. No old brush
   font, gradient text or separate stadium hero when following a team/player. */
html body.bp-unified[class] #football-hub .hub-hero{grid-template-columns:minmax(0,1fr) 64px!important;gap:8px 12px!important;max-height:none!important;margin-bottom:16px!important}
html body.bp-unified[class] #football-hub .hub-title{font:600 24px/1.3 var(--bp-font)!important;color:var(--bp-text)!important;-webkit-text-fill-color:currentColor!important;background:none!important;filter:none!important;text-shadow:none!important;text-transform:none!important;letter-spacing:0!important;transform:none!important;overflow-wrap:anywhere}
html body.bp-unified[class] #football-hub .hub-title:before,html body.bp-unified[class] #football-hub .hub-title:after{display:none!important}
html body.bp-unified[class] #football-hub .hub-hero-kit{width:64px!important;height:64px!important;max-height:64px!important}
html body.bp-unified[class] #football-hub .hub-subtitle{font-size:12px!important}
html body.bp-unified[class] #football-hub .hub-masthead{min-height:36px!important;height:36px!important;margin:0!important}
html body.bp-unified[class] #football-hub .hub-back{width:36px!important;height:36px!important;min-height:36px!important}
html body.bp-unified[class] #football-hub .hub-filters{margin:0 0 14px!important;gap:10px}
html body.bp-unified[class] #football-hub .hub-filters select{max-width:480px;padding:8px 10px}
html body.bp-unified[class] #football-hub .hub-text-button{min-height:40px;font-size:12px}
html body.bp-unified[class] #football-hub .hub-panel h2{margin:0}
html body.bp-unified[class] #football-hub .hub-panel h3{margin:8px 0}
html body.bp-unified[class] #football-hub .hub-panel p{font-size:13px!important;line-height:1.6!important}
html body.bp-unified[class] #football-hub .hub-section-head{margin-bottom:12px}
html body.bp-unified[class] #football-hub .hub-section-head>span{font-size:11px}
html body.bp-unified[class] #football-hub .hub-read :is(h2,h3){color:var(--bp-text)!important}
html body.bp-unified[class] #football-hub .hub-read{border-left:2px solid var(--bp-action)!important}
html body.bp-unified[class] #football-hub .hub-snapshot strong,
html body.bp-unified[class] #football-hub .hub-metric strong{font-size:26px!important;line-height:1.2!important;font-weight:700!important}
html body.bp-unified[class] #football-hub :is(.hub-stat-row>strong,.hub-rating strong){font-size:20px!important;line-height:1.3!important}
html body.bp-unified[class] #football-hub .hub-match-spotlight{min-height:0!important;grid-template-columns:72px minmax(0,1fr)!important;gap:6px 12px!important;align-content:center;align-self:stretch}
html body.bp-unified[class] #football-hub .hub-match-shirts{width:72px!important;height:64px!important;gap:7px!important}
html body.bp-unified[class] #football-hub .hub-match-shirts>.fw-kit{width:28px!important;height:36px!important}
html body.bp-unified[class] #football-hub .hub-match-title{font-size:15px!important;line-height:1.4!important;overflow-wrap:anywhere}
html body.bp-unified[class] #football-hub .hub-match-time{font-size:12px!important}
html body.bp-unified[class] #football-hub .hub-explore{min-height:48px;padding:12px;background:#152438!important;border:1px solid var(--bp-soft-line);border-radius:5px;font-size:14px!important;text-shadow:none;gap:12px}
html body.bp-unified[class] #football-hub .hub-explore svg{width:16px;height:16px;flex:none}
html body.bp-unified[class] #football-hub .hub-row-team{font-size:14px!important;font-weight:600!important;line-height:1.4!important}
html body.bp-unified[class] #football-hub :is(.hub-player-row,.hub-fixture-row,.hub-appearance){min-height:52px;padding-block:10px;border-color:var(--bp-soft-line)}
html body.bp-unified[class] #football-hub .hub-result{font-size:16px!important;min-width:40px}
html body.bp-unified[class] #football-hub .hub-rating span{font-size:10px}
html body.bp-unified[class] #football-hub .hub-source{font-size:11px!important;margin:16px 0!important}
html body.bp-unified[class] #football-hub .hub-status:not(:empty){position:sticky!important;bottom:calc(var(--bp-nav) + 12px)!important;left:auto;right:auto;padding:10px!important;background:#152438!important;border:1px solid var(--bp-soft-line);pointer-events:auto}

/* Secondary section headers share the painted title dimensions of Picks. */
html body.bp-unified[class] :is(#following .fw-hero,#insights-page .is-hero,.account-shell .ac-hero){height:auto!important;min-height:78px!important;max-height:none!important;margin:0 0 14px!important;padding:0!important}
html body.bp-unified[class] :is(#following-title,#insights-page .bp-art-title,.account-shell .bp-art-title){width:245px!important;height:72px!important;max-width:65%!important;flex:0 1 245px!important;filter:none!important}
html body.bp-unified[class] :is(#following-title,#insights-page .bp-art-title,.account-shell .bp-art-title)>img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:left center!important}
html body.bp-unified[class] :is(.fw-hero,.is-hero-copy,.ac-hero-copy){justify-content:space-between!important;flex-wrap:nowrap!important;gap:12px!important}
html body.bp-unified[class] :is(.fw-hero>p,.is-hero-copy>p,.ac-hero-copy>p){font-size:12px!important;flex:1!important;text-align:right;min-width:0}
html body.bp-unified[class] #following .fw-toolbar{display:block!important}
html body.bp-unified[class] #following .fw-search{width:100%!important;min-width:0!important;margin-bottom:10px!important}
html body.bp-unified[class] #following .fw-search input{font-size:13px!important}
html body.bp-unified[class] #following .fw-section-heading{margin:18px 0 10px!important}
html body.bp-unified[class] #following .fw-team-card{background:var(--bp-surface)!important;border:1px solid var(--bp-soft-line)!important;border-radius:6px!important;padding:10px!important;margin-bottom:10px}
html body.bp-unified[class] #following .fw-team-card h3{font-size:14px!important}
html body.bp-unified[class] #following .fw-notification-copy strong{font-size:15px!important;text-transform:none!important;line-height:1.4!important}
html body.bp-unified[class] #following .fw-summary-item>strong{font-size:24px!important}
html body.bp-unified[class] #following .fw-tabs{width:100%!important;gap:8px!important}
html body.bp-unified[class] #following .fw-tabs>.fw-tab{flex:1 0 auto!important;gap:5px}
html body.bp-unified[class] #insights-page .is-topbar{display:flex!important;position:static!important;min-height:36px!important;height:36px!important;padding:0!important;margin:0 0 8px!important;background:none!important}
html body.bp-unified[class] #insights-page .is-back{display:flex!important;width:36px;height:36px;min-height:36px;background:none;border:1px solid var(--bp-soft-line)}
html body.bp-unified[class] #insights-page .is-account{display:none!important}
html body.bp-unified[class] #insights-page .is-story-title{font-family:var(--bp-font)!important;font-size:20px!important;line-height:1.4!important;letter-spacing:0!important}
html body.bp-unified[class] #insights-page .is-preview .is-story-title{font-size:16px!important}
html body.bp-unified[class] #insights-page .is-person-name{font-size:17px!important;line-height:1.4!important}
html body.bp-unified[class] #insights-page .is-preview-metric>strong{font-size:22px!important;line-height:1.3!important}
html body.bp-unified[class] #insights-page .is-deck{font-size:13px!important}
html body.bp-unified[class] #insights-page .is-card{margin-bottom:14px!important}
html body.bp-unified[class] #insights-page .is-tile{min-height:150px!important}
html body.bp-unified[class] #insights-page .is-tile img{border-radius:6px;z-index:0;pointer-events:none}
html body.bp-unified[class] #insights-page .is-tile>:not(img){position:relative;z-index:1}
html body.bp-unified[class] #insights-page .is-tile h2{max-width:none}
html body.bp-unified[class] #insights-page .is-fixture{font-size:17px!important;line-height:1.4!important}

/* Account, reset, device preferences, owners and public notices use the same
   shell dimensions. Their security policies and form behaviour are unchanged. */
html body.bp-unified[class] .account-shell{width:calc(100% - 48px)!important;max-width:1200px!important;padding:70px 0 82px!important}
html body.bp-unified[class] .account-shell :is(.ac-content,.owners-content){width:100%!important;max-width:none!important;margin:0!important}
html.legal-document body.bp-unified[class] .account-shell{max-width:960px!important}
html body.bp-unified[class] .account-shell .ac-card{background:var(--bp-surface)!important;border:1px solid var(--bp-soft-line)!important;border-radius:6px!important;padding:20px!important;margin-bottom:16px!important}
html body.bp-unified[class] .account-shell .ac-card h2{font-size:19px!important}
html body.bp-unified[class] .account-shell .ac-card h3{font-size:16px!important}
html body.bp-unified[class] .account-shell .ac-hero h1:not(.bp-art-title){font:600 24px/1.4 var(--bp-font)!important;background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--bp-text)!important;transform:none!important;filter:none!important;text-shadow:none!important}
html body.bp-unified[class] .account-shell .bp-breadcrumb{display:none!important}
html body.bp-unified[class] .account-shell :is(.ow-metric,.ow-issue){background:var(--bp-surface);border-radius:6px}
html body.bp-unified[class] .account-shell .ow-toggle button[aria-pressed=true]{color:var(--bp-action);background:#ffdc4212;border-color:#ffdc4266}
html body.bp-unified[class] .trial-hero h1{font:600 24px/1.4 var(--bp-font)!important}
html body.bp-unified[class] :is(.trial-card,.trial-summary>div,.trial-empty){background:var(--bp-surface)!important;border-color:var(--bp-soft-line)!important;border-radius:6px!important}
html body.bp-unified[class] .trial-controls :is(button,input,select){background:var(--bp-control)!important;border-color:var(--bp-soft-line)!important;border-radius:5px!important}

@media(max-width:820px){
 html body.bp-unified[class] :is(#following .fw-hero,#insights-page .is-hero,.account-shell .ac-hero){min-height:65px!important;margin-bottom:10px!important}
 html body.bp-unified[class] :is(#following-title,#insights-page .bp-art-title,.account-shell .bp-art-title){width:190px!important;height:58px!important;flex-basis:190px!important}
 html body.bp-unified[class] :is(.fw-hero>p,.is-hero-copy>p,.ac-hero-copy>p){font-size:10px!important}
 html body.bp-unified[class] .account-shell{width:calc(100% - 24px)!important;padding:58px 0 calc(72px + env(safe-area-inset-bottom))!important}
 html body.bp-unified[class] .account-shell .ac-card{padding:16px!important}
 html body.bp-unified[class] #football-hub .hub-title{font-size:21px!important}
 html body.bp-unified[class] :is(#football-hub,#following,#insights-page) :is(.hub-panel,.fw-panel,.is-card,.is-tile){padding:12px!important}
 html body.bp-unified[class] #following .fw-tabs>.fw-tab{font-size:11px!important;padding-inline:3px!important}
 html body.bp-unified[class] #following .fw-tab svg{width:14px!important;height:14px!important}
}
@media(max-width:360px){html body.bp-unified[class] #following .fw-tab svg{display:none!important}html body.bp-unified[class] #football-hub .hub-tabs{gap:6px!important}html body.bp-unified[class] #football-hub .hub-tabs>a{font-size:12px!important}}
@media print{html.legal-document body.bp-unified[class] .account-shell{padding:0!important;width:100%!important}html.legal-document body.bp-unified[class] .ac-card{background:white!important;color:black!important;border:0!important}html.legal-document body.bp-unified[class] :is(.bp-site-tools,.primary-nav){display:none!important}}

/* Reported injury detail shared by matches, squads and player profiles. */
html body.bp-unified .bp-absence-details{display:grid;gap:7px;width:100%;min-width:0;margin:8px 0 2px;font:inherit;font-size:13px;line-height:1.5;text-align:left}
html body.bp-unified .bp-absence-details>div{display:grid;grid-template-columns:minmax(0,110px) minmax(0,1fr);gap:12px;align-items:baseline}
html body.bp-unified .bp-absence-details dt{color:var(--bp-muted,#aebbc9);font-weight:400}
html body.bp-unified .bp-absence-details dd{min-width:0;margin:0;color:var(--bp-text,#edf2fa);font-weight:500;overflow-wrap:anywhere}
html body.bp-unified #football-hub .hub-player-row>.bp-absence-details{grid-column:1/-1;padding:2px 0 6px}
html body.bp-unified #football-hub .hub-absence{padding:12px 0;border-top:1px solid var(--bp-soft-line,#304052)}
html body.bp-unified #football-hub .hub-absence-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
html body.bp-unified #football-hub .hub-absence-player{min-width:0;color:var(--bp-text,#edf2fa);font-weight:600;overflow-wrap:anywhere}
html body.bp-unified #football-hub .hub-absence-status{color:#f3c181;font-size:12px;text-transform:capitalize}
@media(max-width:360px){html body.bp-unified .bp-absence-details>div{grid-template-columns:minmax(0,94px) minmax(0,1fr);gap:8px}}

/* Clear match phases in every current-template pick history. */
html body.bp-unified .journey-history summary{grid-template-columns:minmax(0,1fr) 70px 100px}
html body.bp-unified .journey-history summary>span:first-child{min-width:0;overflow-wrap:anywhere}
html body.bp-unified .journey-outcome{text-align:right;line-height:1.4;white-space:normal}
html body.bp-unified .journey-outcome.live{color:#ffdc58}
html body.bp-unified .journey-outcome.upcoming{color:#c0cedd}
html body.bp-unified .journey-outcome:is(.delayed,.paused){color:#f3c181}
html body.bp-unified .journey-history summary .journey-history-date{margin-top:6px;color:#aebbc9}
@media(max-width:480px){html body.bp-unified .journey-history summary{grid-template-columns:minmax(0,1fr) 54px 84px;gap:8px}}
