/* Final visual authority for every NorthBanked Matchday Platform route. */
body.nb-matchday-platform{--nb-red:#e30613;--nb-red-deep:#b80510;--nb-navy:#081727;--nb-blue:#102945;--nb-blue-2:#173757;--nb-gold:#d6a827;--nb-green:#168a50;--nb-paper:var(--nb-bg,#0A1729);--nb-white:#f8fafc;--nb-ink:#0b1726;--nb-muted:#718198;--nb-line:#cbd5e1;--nb-shadow:0 18px 46px rgba(8,23,39,.14);font-family:Inter,Arial,sans-serif!important;background:var(--nb-paper)}
body.nb-matchday-platform :is(h1,h2,h3,.nbpl-card-name,.nb-team-name,.nb-match-team-name){font-family:Oswald,Arial,sans-serif!important;letter-spacing:.01em}
body.nb-matchday-platform :is(.td-breadcrumbs,.td-page-header,.td-page-title,.entry-crumbs,.breadcrumb,.breadcrumbs,.page-title-wrap){display:none!important}
body.nb-matchday-platform :is(.td-main-content-wrap,.td-container,.tdc-row,.wpb_wrapper,.entry-content){max-width:none}
body.nb-matchday-platform :is(.nb-centre-page-shell,.nb-match-centre-shell,.nb-public-profile-shell,.nbpl-plugin-page-shell,.nbpl-builder-experience){width:min(90vw,1800px)!important;margin-inline:auto!important}
body.nb-matchday-platform.nb-prediction-centre-route :is(.nb-centre-page-shell,.nb-match-centre-shell,.nb-public-profile-shell){width:var(--nb-pred-page-width,90vw)!important;max-width:var(--nb-pred-page-max,1800px)!important}
body.nb-matchday-platform :is(.nbpl-player-plugin-route,.nbpl-squad-selector-route) :is(.nbpl-plugin-page-shell,.nbpl-builder-experience),body.nb-matchday-platform.nbpl-player-plugin-route :is(.nbpl-plugin-page-shell,.nbpl-builder-experience),body.nb-matchday-platform.nbpl-squad-selector-route :is(.nbpl-plugin-page-shell,.nbpl-builder-experience){width:var(--nbpl-page-width,90vw)!important;max-width:var(--nbpl-page-max,1800px)!important}
body.nb-matchday-platform #nb-shared-menu2{width:min(90vw,1800px)!important;margin-inline:auto!important;padding:7px!important;border-top:4px solid var(--nb-red)!important;border-radius:10px!important;background:var(--nb-navy)!important;box-shadow:var(--nb-shadow)!important}
body.nb-matchday-platform #nb-shared-menu2 .nb-match-nav-list{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
body.nb-matchday-platform #nb-shared-menu2 a{display:grid!important;place-items:center;min-height:46px;padding:8px 10px!important;border:1px solid #294866!important;border-radius:7px!important;background:var(--nb-blue)!important;color:#fff!important;font:700 11px/1.2 'Space Mono',monospace!important;text-align:center;text-decoration:none!important;text-transform:uppercase}
body.nb-matchday-platform #nb-shared-menu2 a:is(:hover,.is-active){border-color:var(--nb-red)!important;background:var(--nb-red)!important;color:#fff!important}
body.nb-matchday-platform .nb-unified-layout{align-items:start!important;gap:clamp(14px,1.5vw,26px)!important}
body.nb-matchday-platform .nb-unified-sidebar{display:grid;gap:14px;position:sticky;top:20px}
body.nb-matchday-platform .nb-unified-sidebar-block{overflow:hidden;padding:0!important;border:1px solid #d5dde6!important;border-top:4px solid var(--nb-red)!important;border-radius:11px!important;background:#fff!important;color:var(--nb-ink)!important;box-shadow:0 10px 28px rgba(8,23,39,.09)!important}
body.nb-matchday-platform .nb-unified-sidebar-block>h3{margin:0!important;padding:15px 16px 10px!important;color:var(--nb-navy)!important;font-size:20px!important}
body.nb-matchday-platform .nb-unified-sidebar-content{padding:0 14px 15px!important;color:var(--nb-ink)!important}
body.nb-matchday-platform .nb-unified-sidebar-content :is(p,li,a,span,strong){color:inherit}
body.nb-matchday-platform .nb-centre-hero,body.nb-matchday-platform .nbpl-player-directory-hero{border-radius:13px!important;background:linear-gradient(115deg,var(--nb-navy),var(--nb-blue) 70%,#3a1320)!important;color:#fff!important;box-shadow:var(--nb-shadow)}
body.nb-matchday-platform .nb-centre-hero :is(h1,h2,h3,strong),body.nb-matchday-platform .nbpl-player-directory-hero :is(h1,h2,h3,strong){color:#fff!important}
body.nb-matchday-platform .nb-centre-hero :is(p,small),body.nb-matchday-platform .nbpl-player-directory-hero :is(p,small){color:rgba(248,250,252,.78)!important}
body.nb-matchday-platform :is(.nb-btn,.nbpl-btn,.nb-share-btn,.nb-social-btn,button[data-submit-prediction]){min-height:var(--nb-btn-height,44px)!important;height:var(--nb-btn-height,44px)!important;border-radius:7px!important;font-weight:800!important}
body.nb-matchday-platform :is(.nb-week-btn,.nb-btn-outline){min-height:var(--nb-btn-height-sm,36px)!important;height:var(--nb-btn-height-sm,36px)!important;border-radius:7px!important;font-weight:800!important}
body.nb-matchday-platform .nb-step-btn{width:var(--nb-step-size,32px)!important;height:var(--nb-step-size,32px)!important;border-radius:999px!important}
body.nb-matchday-platform :is(.nb-btn-primary,.nbpl-btn-primary,button[data-submit-prediction]){background:var(--nb-red)!important;color:#fff!important}
body.nb-matchday-platform :is(.nb-current-prediction,.nb-prediction-confirmation){border:1px solid #83c9a8!important;background:#eaf7f0!important;color:#075d35!important;font-weight:800!important}
body.nb-matchday-platform .nb-competition-hub{display:grid;gap:10px}.nb-hub-kicker{color:var(--nb-red);font:800 10px/1 'Space Mono',monospace;letter-spacing:.14em;text-transform:uppercase}
body.nb-matchday-platform .nb-unified-sidebar-content>.nb-competition-hub{margin:0;padding:14px 0 0}
body.nb-matchday-platform .nb-hub-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}.nb-hub-tabs button{min-height:36px;border:1px solid #cbd5e1;border-radius:6px;background:#edf2f7;color:var(--nb-navy);font:800 11px/1 'Space Mono',monospace}.nb-hub-tabs button.is-active{border-color:var(--nb-red);background:var(--nb-red);color:#fff}
.nb-live-table{font-size:12px}.nb-live-table-head{display:flex;justify-content:space-between;align-items:center;padding:5px 0 9px}.nb-live-table-head strong{font-family:Oswald,sans-serif;font-size:18px;color:var(--nb-navy)}.nb-live-table-head span,.nb-live-table-updated{color:var(--nb-muted);font-size:10px}.nb-live-table-scroll{overflow-x:auto}.nb-live-table table{width:100%;border-collapse:collapse}.nb-live-table th,.nb-live-table td{padding:7px 5px;border-bottom:1px solid #e0e7ef;text-align:center}.nb-live-table th:nth-child(2),.nb-live-table td:nth-child(2){text-align:left}.nb-live-table tr.is-arsenal{background:#fff3cc;box-shadow:inset 3px 0 var(--nb-red)}.nb-live-team{display:flex;align-items:center;gap:6px;min-width:0}.nb-live-team img{width:20px;height:20px;object-fit:contain}.nb-live-team span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nb-live-table-updated{margin:8px 0 0;text-align:right}.nb-table-state{padding:13px;border:1px dashed #d6a827;border-radius:7px;background:#fff8dc;color:#55430b;line-height:1.5}
.nb-hub-fixtures{display:grid;gap:7px;margin:0;padding:0;list-style:none}.nb-hub-fixtures a{display:grid;gap:2px;padding:9px;border:1px solid #dce3eb;border-radius:7px;background:#f8fafc;color:var(--nb-navy)!important;text-decoration:none}.nb-hub-fixtures span{color:var(--nb-muted)!important;font-size:10px}
body.nb-matchday-platform .nbpl-grid{grid-template-columns:repeat(var(--nbpl-player-columns,4),minmax(0,1fr))!important;gap:18px!important}.nbpl-card{overflow:hidden;border:1px solid #d5dde6!important;border-top:4px solid var(--nb-red)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 10px 25px rgba(8,23,39,.08)!important;transition:transform .18s ease,box-shadow .18s ease}.nbpl-card:hover{transform:translateY(-4px);box-shadow:var(--nb-shadow)!important}.nbpl-card-photo{position:relative;overflow:hidden;background-color:#dce5ef!important;background-image:var(--nbpl-photo),linear-gradient(145deg,#e7edf4,#b9c9da)!important;background-position:center!important;background-size:cover!important}.nbpl-card-photo.is-fallback:after,.nbpl-profile-photo.is-fallback:after{content:attr(data-initials);position:absolute;inset:0;display:grid;place-items:center;color:#8294aa;font:800 clamp(42px,6vw,82px)/1 Oswald,sans-serif}.nbpl-card-body{background:#fff!important;color:var(--nb-ink)!important}.nbpl-card-name{color:var(--nb-navy)!important}.nbpl-card-meta{color:var(--nb-muted)!important}
body.nb-matchday-platform .nbpl-profile-hero{overflow:hidden;border-top:5px solid var(--nb-red)!important;border-radius:13px!important;background:linear-gradient(120deg,var(--nb-navy),var(--nb-blue) 72%,#3a1320)!important;color:#fff!important}.nbpl-profile-photo{position:relative;min-height:320px;background-color:#173757;background-position:center top;background-size:cover}.nbpl-profile-name,.nbpl-profile-sub{color:#fff!important}.nbpl-profile-role{background:var(--nb-red)!important;color:#fff!important}.nbpl-profile-bio{border:1px solid #d5dde6;border-radius:12px;background:#fff;color:var(--nb-ink)}
@media(max-width:900px){body.nb-matchday-platform #nb-shared-menu2{width:100%!important;border-radius:0!important}body.nb-matchday-platform #nb-shared-menu2 .nb-match-nav-list{display:flex!important;overflow-x:auto;scrollbar-width:none}body.nb-matchday-platform #nb-shared-menu2 a{flex:0 0 auto;min-width:132px}body.nb-matchday-platform :is(.nb-centre-page-shell,.nb-match-centre-shell,.nb-public-profile-shell,.nbpl-plugin-page-shell,.nbpl-builder-experience){width:100%!important}.nb-unified-layout{grid-template-columns:minmax(0,1fr)!important}.nb-unified-sidebar{position:static!important}.nb-sidebar-hide-mobile{display:none!important}body.nb-matchday-platform .nbpl-grid{grid-template-columns:repeat(var(--nbpl-player-columns-mobile,1),minmax(0,1fr))!important}.nbpl-card{display:grid;grid-template-columns:120px minmax(0,1fr)}.nbpl-card-photo{min-height:145px}.nbpl-profile-hero{grid-template-columns:1fr!important}.nbpl-profile-photo{min-height:380px}}
@media(min-width:901px){.nb-sidebar-hide-desktop{display:none!important}}
body.nb-matchday-platform .nbpl-grid{grid-template-columns:repeat(var(--nbpl-player-cols,4),minmax(0,1fr))!important}
.nbpl-profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.nbpl-profile-actions .nbpl-btn{display:inline-grid;place-items:center;padding:0 18px;border:1px solid #35506e;background:#fff;color:#081727;text-decoration:none;cursor:pointer}
.nbpl-card-num{z-index:2}
@media(max-width:900px){body.nb-matchday-platform .nbpl-grid{grid-template-columns:repeat(var(--nbpl-player-cols-mobile,1),minmax(0,1fr))!important}}

/* v4.4 compact engagement layout. Menu 2 stays in normal flow beneath the
   theme header; page content can no longer rise behind it. */
body.nb-matchday-platform .nb-shared-menu2-portal{position:relative!important;z-index:45!important;width:100%!important;min-height:0!important;padding:0!important}
body.nb-matchday-platform .nb-shared-menu2-portal #nb-shared-menu2{margin-bottom:12px!important}
body.nb-matchday-platform #nb-shared-menu2{padding:5px!important;box-shadow:0 8px 22px rgba(8,23,39,.12)!important}
body.nb-matchday-platform #nb-shared-menu2 a{min-height:40px!important;padding:7px 9px!important;font-size:10px!important}
body.nb-matchday-platform:is(.nb-predictions-route,.nb-leaderboard-route,.nb-profile-route,.nbpl-squad-selector-route,.nbpl-player-plugin-route) :is(.nb-centre-page-shell,.nb-match-centre-shell,.nb-public-profile-shell,.nbpl-plugin-page-shell,.nbpl-builder-experience){margin-top:10px!important}

/* Competition table crests and club names share one fixed alignment column. */
body.nb-matchday-platform .nb-live-table th,body.nb-matchday-platform .nb-live-table td{vertical-align:middle!important;line-height:1.2!important}
body.nb-matchday-platform .nb-live-team{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;min-height:26px!important}
body.nb-matchday-platform .nb-live-team img{display:block!important;width:22px!important;height:22px!important;margin:auto!important;object-fit:contain!important}
body.nb-matchday-platform .nb-live-team span{display:block!important;align-self:center!important}

/* Page identifiers should introduce the tool, not dominate it. */
body.nb-matchday-platform .nb-centre-hero{padding:16px 20px!important;margin-bottom:12px!important}
body.nb-matchday-platform .nb-centre-hero h1,body.nb-matchday-platform .nb-centre-hero h2{font-size:clamp(27px,3vw,39px)!important;line-height:1!important}
body.nb-matchday-platform .nb-centre-hero p{margin-top:6px!important;font-size:12px!important;line-height:1.4!important}
body.nb-matchday-platform .nb-private-dashboard-hero{align-items:center!important;gap:16px!important;margin-bottom:12px!important}
body.nb-matchday-platform .nb-private-dashboard-hero h1{margin:4px 0 6px!important;font-size:clamp(29px,3.4vw,42px)!important;line-height:.98!important}

/* Keep hidden empty fixture context out of the formation controls. */
body.nb-matchday-platform .nbpl-match-context[hidden]{display:none!important}

/* Result prediction is a visible, compact companion to exact score. */
body.nb-matchday-platform .nb-call-types{margin:10px 0 7px!important;padding:10px!important;border-radius:9px!important}
body.nb-matchday-platform .nb-call-types-head{margin-bottom:8px!important}
body.nb-matchday-platform .nb-call-types-head strong{font-size:12px!important}
body.nb-matchday-platform .nb-call-types-head span,body.nb-matchday-platform .nb-exact-divider span{font-size:10px!important}
body.nb-matchday-platform .nb-outcome-choices{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
body.nb-matchday-platform .nb-outcome-choice{min-height:38px!important;padding:7px 8px!important;font-size:11px!important;line-height:1.2!important}
body.nb-matchday-platform .nb-exact-divider{margin-top:8px!important}

/* Achievements belong in the account rail; the prediction history remains the
   first substantial content on desktop and mobile. */
body.nb-matchday-platform .nb-private-achievements{display:grid!important;gap:10px!important}
body.nb-matchday-platform .nb-private-achievements .nb-my-reward-centre{padding:13px!important}
body.nb-matchday-platform .nb-private-achievements .nb-my-reward-centre h2{margin:2px 0 8px!important;font-size:20px!important}
body.nb-matchday-platform .nb-private-achievements .nb-profile-reward-badges{margin:0!important;padding:13px!important}
body.nb-matchday-platform .nb-private-achievements .nb-profile-reward-badges h2{margin:2px 0 8px!important;font-size:20px!important}
body.nb-matchday-platform .nb-private-achievements .nb-my-wins{grid-template-columns:44px minmax(0,1fr)!important;gap:10px!important;padding:13px!important}
body.nb-matchday-platform .nb-private-achievements .nb-win-trophy{width:42px!important;height:42px!important;font-size:19px!important}
body.nb-matchday-platform .nb-private-achievements .nb-my-wins strong{font-size:20px!important}
body.nb-matchday-platform .nb-private-achievements .nb-my-wins p{font-size:10px!important;line-height:1.4!important}

@media(max-width:900px){
 body.nb-matchday-platform #nb-shared-menu2 a{min-height:38px!important}
 body.nb-matchday-platform :is(.nb-centre-hero,.nbpl-player-directory-hero){padding:13px 14px!important}
 body.nb-matchday-platform :is(.nb-centre-hero,.nbpl-player-directory-hero) :is(h1,h2){font-size:27px!important;line-height:1!important}
 body.nb-matchday-platform .nb-private-dashboard-hero{align-items:stretch!important;gap:10px!important}
 body.nb-matchday-platform .nb-private-dashboard-hero .nb-btn{width:100%!important;min-height:var(--nb-btn-height-sm,36px)!important}
 body.nb-matchday-platform .nb-call-types-head{display:block!important}
 body.nb-matchday-platform .nb-call-types-head span{display:block!important;margin-top:3px!important}
 body.nb-matchday-platform .nb-outcome-choice{min-width:0!important;padding-inline:4px!important;font-size:10px!important;overflow-wrap:anywhere!important}
}
