/* Soccer 411 consolidated appearance layer — v0.19.80.
   One final stylesheet for all standard light/dark surfaces.
   Source repair sections formerly loaded individually are preserved here in cascade order.
   Edit this stylesheet for future mode fixes; do not create another late enqueue. */


/* ===== consolidated from s411-appearance-consistency.css ===== */
/* Soccer 411 0.19.68 — global appearance consistency release.
   Scope: effective dark appearance only. Preserve club badges, pitch surfaces,
   match outcome colours and media. Loaded after all existing theme styles. */
html[data-s411-effective-theme="dark"]{
 --bg:#10141c;--surface:#1a202c;--surface-soft:#202735;
 --text:#f3f6fc;--muted:#bdc8d9;--line:#354053;
 --s411-ui-canvas:#10141c;--s411-ui-surface:#1a202c;
 --s411-ui-surface-raised:#222c3b;--s411-ui-field:#202b3a;
 --s411-ui-text:#f3f6fc;--s411-ui-muted:#bdc8d9;
 --s411-ui-line:#3b475b;color-scheme:dark;
}
html[data-s411-effective-theme="dark"] body{background:#10141c!important;color:#f3f6fc!important}
/* Competition pages were especially affected by hard-coded light backgrounds. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-competition-hero-v2,.dm-competition-mobile-identity,
 .dm-competition-fixtures-v2,.dm-competition-matchday-v2,
 .dm-competition-rail-card-v2,.dm-competition-full-card-v2,
 .dm-competition-table-card-v2,.dm-competition-standings-v2,
 .dm-competition-awaiting-v2,.dm-competition-next-v2,
 .dm-competition-fixture-v2,.dm-competition-fixture-list-v2,
 .dm-competition-hero-v2__context,.dm-competition-hero-v2__context>*,
 .dm-competition-table-snapshot-v2,.dm-competition-section-head-v2,
 .dm-competition-matchdays-v2,.dm-competition-tabs-v2,
 .dm-competition-tabs-mobile,.dm-football-archive-page .dm-card,
 .dm-uefa-journey,.dm-uefa-journey-fixture
 ){background:#1a202c!important;background-image:none!important;border-color:#3b475b!important;color:#f3f6fc!important;box-shadow:none!important}
html[data-s411-effective-theme="dark"] body .dm-competition-hero-v2{background:linear-gradient(125deg,#1a202c,#222c3b)!important}
html[data-s411-effective-theme="dark"] body .dm-competition-hero-v2:after{opacity:.2}
html[data-s411-effective-theme="dark"] body :is(
 .dm-competition-hero-v2__badge,.dm-competition-mobile-identity__badge
 ){background:#f1f4f7!important;border-color:#3b475b!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-competition-fixture-v2,.dm-competition-hero-v2__context>*,
 .dm-competition-table-snapshot-v2 li,.dm-competition-matchday-v2,
 .dm-uefa-journey-fixture
 ){background:#222c3b!important;border-color:#3b475b!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-competition-hero-v2,.dm-competition-mobile-identity,.dm-competition-layout-v2,
 .dm-competition-fixtures-v2,.dm-competition-rail-v2,.dm-football-archive-page
 ) :is(h1,h2,h3,h4,strong,b,th,td,.dm-competition-fixture-v2__score,
 .dm-competition-fixture-v2__team,.dm-competition-hero-v2__copy,
 .dm-competition-table-snapshot-v2 li){color:#f3f6fc!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-competition-hero-v2,.dm-competition-mobile-identity,.dm-competition-layout-v2,
 .dm-competition-fixtures-v2,.dm-competition-rail-v2,.dm-football-archive-page
 ) :is(p,small,time,.dm-competition-follow__hint,.dm-competition-fixture-v2__meta,
 .dm-competition-fixture-v2__foot,.dm-competition-hero-v2__context span){color:#bdc8d9!important}
html[data-s411-effective-theme="dark"] body :is(.dm-competition-hero-v2,.dm-competition-layout-v2,.dm-football-archive-page) .dm-kicker{color:#f0b3b6!important}
html[data-s411-effective-theme="dark"] body :is(.dm-competition-tabs-v2,.dm-competition-tabs-mobile) a{color:#c6d0df!important;background:transparent!important;border-color:#3b475b!important}
html[data-s411-effective-theme="dark"] body :is(.dm-competition-tabs-v2,.dm-competition-tabs-mobile) a:is(.is-active,:hover){color:#fff!important;background:#38232d!important;border-color:#ef0107!important}
html[data-s411-effective-theme="dark"] body .dm-competition-section-head-v2 :is(button,a),
html[data-s411-effective-theme="dark"] body .dm-competition-fixtures-v2 :is(button,select),
html[data-s411-effective-theme="dark"] body .dm-competition-follow:not(.is-active){background:#263346!important;color:#f3f6fc!important;border-color:#4b5970!important}
/* Other site pages: shared app surfaces, dialogs and utility panels. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-reading .dm-card,.dm-reading .dm-panel,.dm-simple-page,
 .dm-community-detail,.dm-community-index,.dm-community-index-head,
 .dm-community-featured-section,.dm-profile-page,.dm-bookmarks-page,
 .dm-notifications-page,.dm-search-page,.dm-football-hub-card,
 .dm-match-centre .dm-card,.dm-player-profile .dm-card,
 .dm-players-hub .dm-card,.dm-publishing-modal>section,
 .dm-modal>section,.dm-site-drawer-panel,
 .dm-engagement-drawer-panel
 ){background-color:#1a202c!important;border-color:#3b475b!important;color:#f3f6fc!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-reading,.dm-community-detail,.dm-community-index,.dm-profile-page,
 .dm-bookmarks-page,.dm-notifications-page,.dm-search-page,.dm-match-centre,
 .dm-player-profile,.dm-players-hub,.dm-football-hub-v2
 ) :is(h1,h2,h3,h4,h5,h6){color:#f3f6fc!important}
html[data-s411-effective-theme="dark"] body :is(input,textarea,select){background-color:#202b3a;color:#f3f6fc;border-color:#4b5970}
html[data-s411-effective-theme="dark"] body :is(input,textarea)::placeholder{color:#aebbd0;opacity:1}
/* Preserve original photographs, team logos, pitch gradients and outcome indicators. */

/* v0.19.69 — VS comparison: correct selection, quick picks and populated state. */
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 :is(.dm-vs-selection-state,.dm-vs-card-story__section,.dm-vs-picker,.dm-vs-picker__club,.dm-vs-picker__club.is-b,.dm-vs-snapshot__title,.dm-vs-card-history-row,.dm-vs-card-story__section-head,.dm-vs-season-panels article,.dm-vs-quick-option){
 background:#222c3b!important;background-image:none!important;border-color:#3b475b!important;color:#f3f6fc!important;
}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 .dm-vs-selection-state{background:linear-gradient(135deg,#202938,#263247)!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 :is(.dm-vs-selection-state__copy strong,.dm-vs-selection-state__copy p,.dm-vs-quick-compare>span,.dm-vs-quick-option b,.dm-vs-quick-option em,.dm-vs-card-story__section-head strong,.dm-vs-card-story__section-head span,.dm-vs-card-history-row b,.dm-vs-snapshot__title strong,.dm-vs-picker__control small,.dm-vs-picker__name,.dm-vs-season-panels strong,.dm-vs-season-panels b){color:#f3f6fc!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 :is(.dm-vs-selection-state__copy p,.dm-vs-quick-compare>span,.dm-vs-card-story__section-head span,.dm-vs-picker__control small){color:#bdc8d9!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 :is(.dm-vs-quick-compare,.dm-vs-card-history-row,.dm-vs-card-story__section-head){border-color:#3b475b!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 .dm-vs-quick-option:hover{background:#304057!important;border-color:#ef0107!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 :is(.dm-vs-picker select,.dm-vs-change select){background:#1b2534!important;color:#f3f6fc!important;border-color:#45546b!important;color-scheme:dark!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 :is(.dm-vs-picker__club:hover,.dm-vs-picker__club.is-b:hover){background:#304057!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 .dm-vs-card-history-row b{background:#29364a!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 .dm-vs-picker__crest.is-empty{color:#bdc8d9!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 .dm-vs-picker__shield{background:linear-gradient(180deg,#34445a,#253145)!important;border-color:#6d7e97!important;box-shadow:none!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 .dm-vs-swap{background:#1b2534!important;color:#f3f6fc!important;border-color:#45546b!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 :is(.dm-vs-swap span,.dm-vs-swap b){color:#f3f6fc!important}
html[data-s411-effective-theme="dark"] body .dm-vs-card-v2 :is(.dm-vs-open,.dm-vs-publish){border-color:#45546b!important}


/* ===== consolidated from s411-standings-polish.css ===== */
/* Soccer 411 0.19.74 — League standings panel contrast + premium polish.
 * Scoped to the football hub snapshot only; no results, sorting or club data changes.
 * This stylesheet loads after design-system, appearance and typography styles. */

/* Shared visual rhythm, no forced theme colours. */
body .dm-football-hub-v2 .dm-football-hub-standings .dm-snapshot-headline h2{
  font-family:var(--s411-heading-font, "Exo 2", system-ui, sans-serif)!important;
  font-style:italic!important;font-weight:650!important;
  letter-spacing:-.035em!important;
  font-size:clamp(1.55rem,2.1vw,1.95rem)!important;
  line-height:1.15!important;
}
body .dm-football-hub-v2 .dm-football-hub-standings .dm-snapshot-headline p{
  line-height:1.55!important;
}
body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-tabs{
  border-radius:12px!important;gap:4px!important;
}
body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-tabs button{
  font:650 11px/1.2 system-ui,sans-serif!important;
  min-height:35px!important;
  padding-inline:12px!important;
  transition:background-color .18s ease,color .18s ease!important;
}
body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot th{
  font:750 10px/1.3 system-ui,sans-serif!important;
}
body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot td{
  font:550 12px/1.4 system-ui,sans-serif!important;
  font-variant-numeric:tabular-nums;
}
body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot .dm-football-table-club strong{
  font:650 12.5px/1.3 system-ui,sans-serif!important;
}
body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot .dm-football-table-club span{
  font-weight:600;
}
body .dm-football-hub-v2 .dm-football-hub-standings .dm-snapshot-rank,
body .dm-football-hub-v2 .dm-football-hub-standings .dm-snapshot-points{
  font-family:system-ui,sans-serif!important;
  font-style:normal!important;
}

/* Dark mode: correct hard-coded light colours and unreadable club names. */
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings{
  background:#1b202c!important;
  color:#eef3fb!important;
  border-color:#384457!important;
  box-shadow:none!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-snapshot-headline h2{
  color:#f5f7fb!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings :is(.dm-snapshot-headline p,.dm-snapshot-picker-label,.dm-football-hub-card-foot){
  color:#bac5d7!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-tabs{
  background:#222b3a!important;
  border-color:#39465b!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-tabs button{
  background:transparent!important;color:#d4deed!important;
  box-shadow:none!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-tabs button:is(.is-active,[aria-selected="true"]){
  background:#39485d!important;color:#fff!important;
  box-shadow:inset 0 0 0 1px #53647d!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-tabnav__control{
  background:#293549!important;color:#f4f6fa!important;
  border-color:#485770!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-tabnav__control:disabled{
  opacity:.55!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table-wrap{
  background:#1d2532!important;border-color:#3c485b!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot th{
  background:#2a3547!important;color:#c3cedf!important;
  border-bottom-color:#45516a!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot td{
  background:#202837!important;color:#d7e1ef!important;
  border-bottom-color:#3e4a5d!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot tbody tr:hover td{
  background:#293649!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot .dm-football-table-club strong{
  color:#f4f6fb!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot .dm-football-table-club span{
  color:#9caec6!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-snapshot-rank{
  background:#344155!important;color:#f5f7fc!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-snapshot-points{
  background:#344155!important;color:#fff!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-card-foot a{
  color:#ff5c65!important;
}
/* Light mode: restrained, consistent table and control contrast. */
html:not([data-s411-effective-theme="dark"]) body .dm-football-hub-v2 .dm-football-hub-standings .dm-snapshot-headline h2{
  color:#162238!important;
}
html:not([data-s411-effective-theme="dark"]) body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot .dm-football-table-club strong{
  color:#1f2d45!important;
}
html:not([data-s411-effective-theme="dark"]) body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot td{
  color:#46546b!important;
}

@media(max-width:800px){
  body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table-wrap{
    overflow-x:auto!important;-webkit-overflow-scrolling:touch;
  }
  body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot{
    min-width:550px!important;
  }
  body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-table--snapshot .dm-football-table-club strong{
    font-size:11px!important;
  }
  body .dm-football-hub-v2 .dm-football-hub-standings .dm-snapshot-headline h2{
    font-size:1.55rem!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body .dm-football-hub-v2 .dm-football-hub-standings .dm-football-hub-tabs button{transition:none!important;}
}


/* ===== consolidated from s411-standings-detail-dark.css ===== */
/* Soccer 411 v0.19.76 — league FORM popover and NEXT crest refinements.
 * Presentation-only: no fixture/status/score/crest data is changed. */

/* Shared popover clarity and spacing in both appearances. */
body .dm-football-table--league .dm-table-form-popover{
  box-sizing:border-box;
  width:290px;
  max-width:min(290px,calc(100vw - 24px));
  padding:13px 14px 12px;
  border-radius:15px;
  line-height:1.35;
  font-style:normal!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  text-shadow:none!important;
}
body .dm-football-table--league .dm-table-form-popover__match{
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:9px;
}
body .dm-football-table--league .dm-table-form-popover__club span{
  font-size:11px;font-weight:700;line-height:1.2;
}
body .dm-football-table--league .dm-table-form-popover__score{
  white-space:nowrap;font-size:19px;font-weight:800;
}
body .dm-football-table--league .dm-table-form-popover__meta{
  gap:10px;line-height:1.4;
}
body .dm-football-table--league .dm-table-next-opponent{
  box-shadow:none;
  isolation:isolate;
}
body .dm-football-table--league .dm-table-next-opponent img{
  display:block!important;
  object-fit:contain!important;
  opacity:1!important;
  filter:none;
}

/* Dark mode popover: all text, scores, dates and dividers must be legible. */
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-form-popover{
  background:#222b3b!important;
  background-image:none!important;
  border:1px solid #506078!important;
  color:#f4f7fc!important;
  box-shadow:0 18px 45px rgba(0,0,0,.48),0 4px 12px rgba(0,0,0,.2)!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-form-popover::after{
  background:#222b3b!important;
  border-color:#506078!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-form-popover__match{
  border-top-color:#46546a!important;
  border-bottom-color:#46546a!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-form-popover__club span,
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-form-popover__score{
  color:#fff!important;
  opacity:1!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-form-popover__top time,
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-form-popover__meta{
  color:#c2cde0!important;
  opacity:1!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-form-popover__meta b{
  color:#95e4c6!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-form-popover__top>strong.is-w{
  background:#42232c!important;color:#adf1d4!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-form-popover__top>strong.is-d{
  background:#3e4c63!important;color:#e6ecf5!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-form-popover__top>strong.is-l{
  background:#582b39!important;color:#ffc1cb!important;
}
/* Next opponent badges: integrated slate tiles, not stark white blocks. */
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-next-opponent:not(.is-empty){
  background:#344156!important;
  background-image:none!important;
  border:1px solid #53627a!important;
  color:#f4f6fa!important;
  border-radius:9px!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-next-opponent:not(.is-empty):is(:hover,:focus-visible){
  background:#43536b!important;
  border-color:#91a0b5!important;
  box-shadow:0 0 0 2px rgba(162,181,209,.18)!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-next-opponent>span{
  color:#d7e1ef!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-next-opponent img{
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.22))!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-table--league .dm-table-next-opponent.is-empty{
  background:transparent!important;border-color:transparent!important;
}
/* Visible focus for keyboard users. */
body .dm-football-table--league .dm-table-form-result:focus-visible,
body .dm-football-table--league .dm-table-next-opponent:focus-visible{
  outline:2px solid #a1b8e6!important;outline-offset:3px!important;
}
/* No hover-only popovers on touch layouts; link/tooltip semantics stay intact. */
@media(max-width:720px){
  body .dm-football-table--league .dm-table-form-popover{display:none!important;}
}


/* ===== consolidated from s411-team-of-week-appearance.css ===== */
/* Soccer 411 v0.19.77 — Team of the Week: explicit dark appearance coverage.
 * Keep all data, photos, pitches, club badges and football form colours intact.
 * Source-of-truth is html[data-s411-effective-theme], same as the site switcher.
 */
html[data-s411-effective-theme="dark"] body .dm-totw-section {
  background:#1a202c!important;
  border-color:#3b475b!important;
  color:#f3f6fc!important;
}
html[data-s411-effective-theme="dark"] body .dm-totw-section__head :is(h2,.dm-totw-formation strong){color:#f3f6fc!important}
html[data-s411-effective-theme="dark"] body .dm-totw-section__head .dm-totw-formation small {color:#bdc8d9!important}
/* Player-of-week strip: none of its surfaces should inherit the light #fff/#f5f8f9 palette. */
html[data-s411-effective-theme="dark"] body .dm-totw-insight {
  background:#222c3b!important;
  background-image:none!important;
  color:#f3f6fc!important;
  border:1px solid #435168!important;
  box-shadow:none!important;
}
html[data-s411-effective-theme="dark"] body .dm-totw-insight>.dm-kicker{color:#f4c5c7!important}
html[data-s411-effective-theme="dark"] body .dm-totw-potw {
  background:#1b2534!important;
  background-image:none!important;
  border:1px solid #49576e!important;
  color:#f3f6fc!important;
  box-shadow:none!important;
}
html[data-s411-effective-theme="dark"] body .dm-totw-potw :is(strong,.dm-totw-potw__rating){color:#f6f8fd!important;opacity:1!important}
html[data-s411-effective-theme="dark"] body .dm-totw-potw>span:nth-child(2)>small{color:#bdc8d9!important;opacity:1!important}
html[data-s411-effective-theme="dark"] body .dm-totw-potw__photo{background:#334057!important}
html[data-s411-effective-theme="dark"] body .dm-totw-potw__photo b{color:#f6f8fd!important}
html[data-s411-effective-theme="dark"] body .dm-totw-potw__stats span{
  background:#1b2534!important;
  border:1px solid #49576e!important;
  color:#bdc8d9!important;
  box-shadow:none!important;
  opacity:1!important;
}
html[data-s411-effective-theme="dark"] body .dm-totw-potw__stats b{
  color:#f6f8fd!important;
  opacity:1!important;
}
html[data-s411-effective-theme="dark"] body .dm-totw-note{color:#bdc8d9!important}
html[data-s411-effective-theme="dark"] body .dm-totw-potw:is(:hover,:focus-visible,.is-active){
  border-color:#92a6c3!important;
  background:#28374b!important;
}
html[data-s411-effective-theme="dark"] body .dm-totw-potw:focus-visible{outline:2px solid #a1b8e6!important;outline-offset:3px!important}
/* Linked player detail inside Team of the Week. */
html[data-s411-effective-theme="dark"] body .dm-totw-player-pop{
  background:#1c2533!important;color:#f3f6fc!important;border-color:#435168!important;
}
html[data-s411-effective-theme="dark"] body .dm-totw-player-pop__head{
  background:#263247!important;border-bottom-color:#435168!important;
}
html[data-s411-effective-theme="dark"] body .dm-totw-player-pop__head strong,
html[data-s411-effective-theme="dark"] body .dm-totw-player-pop__match strong{color:#f3f6fc!important}
html[data-s411-effective-theme="dark"] body .dm-totw-player-pop__head small{color:#f4c5c7!important}
html[data-s411-effective-theme="dark"] body .dm-totw-player-pop__head button{
  background:#34445b!important;color:#f3f6fc!important;
}
html[data-s411-effective-theme="dark"] body .dm-totw-player-pop__match{border-color:#435168!important}
html[data-s411-effective-theme="dark"] body .dm-totw-player-pop__match small,
html[data-s411-effective-theme="dark"] body .dm-totw-player-pop__empty{color:#bdc8d9!important}
html[data-s411-effective-theme="dark"] body .dm-totw-reactions{border-top-color:#435168!important}
/* Compact Team of the Week feed presentation. */
html[data-s411-effective-theme="dark"] body .dm-totw-feed-card{
  background:#1a202c!important;border-color:#3b475b!important;
}
html[data-s411-effective-theme="dark"] body .dm-totw-feed-card__badge{background:#303c50!important}
html[data-s411-effective-theme="dark"] body .dm-totw-feed-card__head strong,
html[data-s411-effective-theme="dark"] body .dm-totw-feed-card__foot strong{color:#f3f6fc!important}
html[data-s411-effective-theme="dark"] body .dm-totw-feed-card__head small,
html[data-s411-effective-theme="dark"] body .dm-totw-feed-card__foot small,
html[data-s411-effective-theme="dark"] body .dm-totw-feed-card__foot em{color:#bdc8d9!important}
html[data-s411-effective-theme="dark"] body .dm-totw-feed-card__formation{
  background:#2b3b4b!important;color:#d6e2f0!important;
}
/* Mobile: maintain readable stat tiles and ensure the player card never overflows. */
@media(max-width:720px){
  body .dm-totw-insight{min-width:0}
  body .dm-totw-potw{min-width:0;max-width:100%}
  body .dm-totw-potw>span:nth-child(2){min-width:0}
  body .dm-totw-potw__stats{min-width:0}
  body .dm-totw-potw__stats span{min-width:0;overflow-wrap:break-word}
}


/* ===== consolidated from s411-mobile-dark-system.css ===== */
/* Soccer 411 v0.19.78 — coherent mobile competition dark appearance.
   Scoped to the effective theme and actual mobile competition components.
   Avoid altering team crests, fixture data, pitch colours or light-mode design. */
@media (max-width:1024px){
  html[data-s411-effective-theme="dark"] body.dm-football-surface .dm-football-global-nav,
  html[data-s411-effective-theme="dark"] body .dm-football-global-nav {
    background:#1a202c!important;
    border-color:#354053!important;
    color-scheme:dark;
    box-shadow:none!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-global-nav :is(a,button){
    color:#c5d0df!important;
    background:transparent!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-global-nav :is(a.is-active,a[aria-current="page"],button.is-active){
    color:#f7f9fc!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-global-nav :is(a.is-active,a[aria-current="page"],button.is-active)::after{
    background:#ef0107!important;
  }
  /* Header and graphical wordmark: do not place white logo on cream background. */
  html[data-s411-effective-theme="dark"] body :is(.dm-home-mobile-topbar,.s411-secondary-header,.dm-topbar){
    background:#1a202c!important;
    border-color:#354053!important;
    color:#f3f6fc!important;
  }
  html[data-s411-effective-theme="dark"] body :is(.dm-home-mobile-brand,.dm-brand) .dm-brand-wordmark--text{
    color:#fff!important;
  }
  html[data-s411-effective-theme="dark"] body :is(.dm-home-mobile-topbar,.dm-topbar) :is(button,a){
    color:#f3f6fc;
  }
  /* League identity and compact snapshot share one reliable dark surface. */
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 :is(.dm-competition-mobile-identity,.dm-competition-mobile-snapshot){
    color:#f3f6fc!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot{
    background:#1a202c!important;
    background-image:none!important;
    border:1px solid #354053!important;
    box-shadow:none!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-identity__copy :is(h1,p,.dm-kicker),
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot :is(h2,strong,b){
    color:#f3f6fc!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot :is(.dm-competition-mobile-snapshot__rank,.dm-competition-mobile-snapshot__meta span,.dm-competition-mobile-snapshot__table li>b small){
    color:#b8c5d8!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot__meta span{
    background:#263346!important;
    border:1px solid #3b475b!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot__meta strong{
    color:#f3f6fc!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot__next{
    background:linear-gradient(145deg,#222c3b,#263449)!important;
    color:#f3f6fc!important;
    border:1px solid #42516a!important;
    box-shadow:none!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot__next :is(.dm-competition-mobile-snapshot__matchup strong,.dm-competition-mobile-snapshot__matchup>b){
    color:#f3f6fc!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot__next>small{
    color:#f0b3b6!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot__next>em{
    color:#c3cede!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot__empty{
    background:#222c3b!important;color:#c3cede!important;border-color:#42516a!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot__table li{
    background:transparent!important;
    border-bottom:1px solid #303b4e!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot__table li:nth-child(odd){
    background:#222c3b!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot__table :is(li>a,.dm-competition-mobile-snapshot__team,li strong,li>b){
    color:#f3f6fc!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot :is(.dm-competition-mobile-snapshot__subhead a,footer a){
    color:#ff666b!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-competition-v2 .dm-competition-mobile-snapshot>footer{
    border-color:#354053!important;
  }
  /* Mobile competition subnavigation: no white frame or washed-out tabs. */
  html[data-s411-effective-theme="dark"] body .dm-competition-tabs-mobile{
    background:#1a202c!important;
    background-image:none!important;
    border:1px solid #354053!important;
    box-shadow:none!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-competition-tabs-mobile :is(a,button){
    background:transparent!important;
    border-color:transparent!important;
    color:#bdc8d9!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-competition-tabs-mobile :is(a.is-active,button.is-active,a[aria-current="page"]){
    background:#3b2532!important;
    color:#fff!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-competition-tabs-mobile :is(a:hover,button:hover,a:focus-visible,button:focus-visible){
    background:#2d394b!important;
    color:#fff!important;
  }
}
@media(max-width:430px){
  .dm-competition-mobile-snapshot__matchup{gap:5px!important}
  .dm-competition-mobile-snapshot__matchup>span{min-width:0!important}
  .dm-competition-mobile-snapshot__matchup strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .dm-competition-mobile-snapshot__table li{grid-template-columns:20px minmax(0,1fr) auto!important}
  .dm-competition-tabs-mobile :is(a,button){min-width:0;overflow:hidden;font-size:10px!important}
}


/* ===== consolidated from s411-mobile-football-nav.css ===== */
/* Soccer 411 v0.19.79 — mobile Football navigation, light and dark.
 * Keep all six links accessible in one horizontal row rather than a two-row
 * floating white block. The existing scroll-aware chrome controller remains.
 */
@media (max-width:1024px){
  body.dm-football-surface .dm-football-global-nav{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    background:#fff!important;
    border-color:#e3e8ef!important;
  }
  body.dm-football-surface .dm-football-mobile-nav{
    box-sizing:border-box!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    margin:0!important;
    padding:0 8px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    border:0!important;
    border-bottom:1px solid #e3e8ef!important;
    background:#fff!important;
    color:#42516a!important;
  }
  body.dm-football-surface .dm-football-mobile-nav::-webkit-scrollbar{display:none}
  body.dm-football-surface .dm-football-mobile-nav>a,
  body.dm-football-surface .dm-football-mobile-nav>button{
    box-sizing:border-box!important;
    display:inline-flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:74px!important;
    min-height:44px!important;
    margin:0!important;
    padding:10px 12px!important;
    white-space:nowrap!important;
    line-height:1.2!important;
    font-size:11px!important;
    font-weight:650!important;
    background:transparent!important;
    border:0!important;
    border-bottom:2px solid transparent!important;
    border-radius:0!important;
    color:#53617a!important;
    text-align:center!important;
    text-decoration:none!important;
    box-shadow:none!important;
  }
  body.dm-football-surface .dm-football-mobile-nav :is(a,button):focus-visible{
    outline:2px solid #ef0107!important;
    outline-offset:-3px!important;
  }
  body.dm-football-surface .dm-football-mobile-nav :is(a.is-active,a[aria-current="page"],button.is-active){
    color:#c60008!important;
    border-bottom-color:#ef0107!important;
  }
  body.dm-football-surface .dm-football-mobile-nav :is(a,button)::after{background:transparent!important}
  body.dm-football-surface .dm-football-mobile-nav>button span{font-size:12px!important;line-height:1!important}

  /* Actual appearance controller stores the resolved theme on <html>. */
  html[data-s411-effective-theme="dark"] body.dm-football-surface .dm-football-global-nav,
  html[data-s411-effective-theme="dark"] body.dm-football-surface .dm-football-mobile-nav{
    background:#1a202c!important;
    background-image:none!important;
    border-color:#364154!important;
    color-scheme:dark;
  }
  html[data-s411-effective-theme="dark"] body.dm-football-surface .dm-football-mobile-nav>a,
  html[data-s411-effective-theme="dark"] body.dm-football-surface .dm-football-mobile-nav>button{
    color:#c6d1e0!important;
    background:transparent!important;
    border-bottom-color:transparent!important;
  }
  html[data-s411-effective-theme="dark"] body.dm-football-surface .dm-football-mobile-nav :is(a.is-active,a[aria-current="page"],button.is-active){
    color:#fff!important;
    border-bottom-color:#ef0107!important;
  }
  html[data-s411-effective-theme="dark"] body.dm-football-surface .dm-football-mobile-nav :is(a,button):hover{
    color:#fff!important;
  }
  /* The competition picker is part of the same navigation system. */
  html[data-s411-effective-theme="dark"] body .dm-football-sheet__panel,
  html[data-s411-effective-theme="dark"] body .dm-football-sheet__header{
    background:#1b2230!important;
    color:#f4f7fc!important;
    border-color:#354052!important;
    color-scheme:dark;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-sheet :is(h2,h3,.dm-football-sheet__links>a,.dm-football-sheet__links strong){
    color:#f4f7fc!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-sheet__links>a:is(:hover,:focus-visible,.is-current){
    background:#293448!important;
    border-color:#43516a!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-football-sheet__links :is(small){color:#b5c2d4!important}
  html[data-s411-effective-theme="dark"] body .dm-football-sheet__links :is(img,i){background:#293448!important}
  html[data-s411-effective-theme="dark"] body .dm-football-sheet__close{
    background:#293448!important;color:#fff!important;border-color:#43516a!important;
  }
}


/* ===== Central UI tokens, used for every standard page and viewport ===== */
:root{
  --s411-appearance-bg:#f7f8fa;
  --s411-appearance-panel:#ffffff;
  --s411-appearance-raised:#f2f5f8;
  --s411-appearance-hover:#eaf0f6;
  --s411-appearance-text:#182338;
  --s411-appearance-muted:#58677d;
  --s411-appearance-border:#dee5ed;
  --s411-appearance-input:#f5f7fa;
  --s411-appearance-shadow:0 12px 34px rgba(15,27,45,.06);
}
html[data-s411-effective-theme="dark"]{
  --s411-appearance-bg:#10141c;
  --s411-appearance-panel:#1a202c;
  --s411-appearance-raised:#222c3b;
  --s411-appearance-hover:#2c3a4e;
  --s411-appearance-text:#f3f6fc;
  --s411-appearance-muted:#bdc9da;
  --s411-appearance-border:#3b475b;
  --s411-appearance-input:#202b3a;
  --s411-appearance-shadow:0 14px 38px rgba(0,0,0,.25);
}
/* Keep native controls consistent with the effective, not the saved, appearance. */
html[data-s411-effective-theme="light"]{color-scheme:light}
html[data-s411-effective-theme="dark"]{color-scheme:dark}

/* Shared semantic surfaces: explicitly cover major templates and their interactive panels.
   Images, club crests, article photos, pitches, score chips and W/D/L semantics are excluded. */
html[data-s411-effective-theme="dark"] body :is(
  .dm-card,.dm-panel,.dm-article-card,.dm-sidebar-card,.dm-widget,.dm-modal-panel,
  .dm-popover,.dm-tooltip,.dm-dropdown,.dm-dropdown-menu,.dm-search-results,
  .dm-results-card,.dm-composer,.dm-feed-card,.dm-article-page,.dm-reading,
  .dm-community-card,.dm-community-panel,.dm-profile-card,.dm-profile-panel,
  .dm-notification-card,.dm-bookmark-card,.dm-settings-panel,.dm-search-panel,
  .dm-match-module,.dm-matchday-card,.dm-fixture-card,.dm-standings-card,
  .dm-football-archive-page,.dm-club-hero,.dm-club-panel,.dm-player-card,
  .dm-player-profile,.dm-match-centre,.dm-competition-panel,.dm-vs-card-v2,
  .dm-football-hub-card,.dm-predictor-fixture,.dm-predictor-pool-card,
  .dm-predictor-summary>div,.dm-predictor-leaderboard ol,
  .dm-predictor-pool-tools form,.dm-predictor-fixture-grid>article,
  .dm-editorial-module,.dm-editorial-block,.dm-football-sheet__panel
){
  color:var(--s411-appearance-text)!important;
  border-color:var(--s411-appearance-border)!important;
}
/* Inner non-graphic content panels. Use backgrounds only for identifiable cards, not
   image tiles or football pitch graphics. */
html[data-s411-effective-theme="dark"] body :is(
  .dm-sidebar-card,.dm-widget,.dm-modal-panel,.dm-popover,.dm-tooltip,.dm-dropdown-menu,
  .dm-search-panel,.dm-community-card,.dm-community-panel,.dm-profile-panel,
  .dm-notification-card,.dm-bookmark-card,.dm-settings-panel,.dm-search-results,
  .dm-results-card,.dm-fixture-card,.dm-standings-card,.dm-club-panel,
  .dm-player-card,.dm-competition-panel,.dm-predictor-fixture,.dm-predictor-pool-card,
  .dm-predictor-summary>div,.dm-predictor-leaderboard ol,.dm-predictor-pool-tools form
){
  background-color:var(--s411-appearance-panel)!important;
  background-image:none!important;
}
/* Typography defaults inside standard content wrappers; avoid raw wildcard selectors so
   coloured form indicators, club colours, status chips and branded links keep meaning. */
html[data-s411-effective-theme="dark"] body :is(
  .dm-reading,.dm-feed,.dm-community-page,.dm-community-detail-page,.dm-profile-page,
  .dm-football-hub-v2,.dm-match-centre,.dm-player-profile,.dm-football-competition-v2,
  .dm-vs-card-v2,.dm-predictor-fixture,.dm-predictor-how-page
) :is(h1,h2,h3,h4,h5,h6){color:var(--s411-appearance-text)!important}
html[data-s411-effective-theme="dark"] body :is(
  .dm-reading,.dm-community-page,.dm-community-detail-page,.dm-profile-page,
  .dm-football-hub-v2,.dm-football-competition-v2,.dm-match-centre,.dm-player-profile,
  .dm-vs-card-v2,.dm-predictor-fixture
) :is(.dm-muted,.dm-meta,.dm-subtitle,.dm-secondary-text,small,time){
  color:var(--s411-appearance-muted)!important
}
/* Shared form and dropdown appearance — no white text on white backgrounds. */
html[data-s411-effective-theme="dark"] body :is(
  input:not([type="checkbox"]):not([type="radio"]),textarea,select,
  .dm-form-field,.dm-filter-select,.dm-search-field
){background-color:var(--s411-appearance-input)!important;
  color:var(--s411-appearance-text)!important;
  border-color:var(--s411-appearance-border)!important;
  color-scheme:dark}
html[data-s411-effective-theme="dark"] body :is(input,textarea)::placeholder{
  color:var(--s411-appearance-muted)!important;opacity:1
}
html[data-s411-effective-theme="dark"] body :is(
  .dm-dropdown-menu a,.dm-dropdown-menu button,.dm-tabs button,.dm-tabs a,
  .dm-filter-button,.dm-chip:not(.is-result),.dm-popover button
){color:var(--s411-appearance-text)!important}
html[data-s411-effective-theme="dark"] body :is(
  .dm-dropdown-menu a,.dm-dropdown-menu button,.dm-tabs button,.dm-tabs a,
  .dm-filter-button
):hover{background:var(--s411-appearance-hover)!important}
html[data-s411-effective-theme="dark"] body :is(
  button,a,input,select,textarea
):focus-visible{outline-color:#ff646b;outline-offset:2px}

/* Mobile, including compact menus/overlays: controls retain touch targets without
   forcing a white surface when a sticky navigation panel enters view. */
@media(max-width:1024px){
 html[data-s411-effective-theme="dark"] body :is(
   .dm-home-mobile-topbar,.dm-mobile-header,.dm-mobile-drawer,
   .dm-mobile-overlay-panel,.dm-bottom-sheet,.dm-site-drawer-panel,
   .dm-football-global-nav,.dm-football-mobile-nav,.dm-football-sheet__panel
 ){
   background-color:var(--s411-appearance-panel)!important;
   border-color:var(--s411-appearance-border)!important;
   color:var(--s411-appearance-text)!important;
 }
 html[data-s411-effective-theme="dark"] body :is(
   .dm-football-mobile-nav,.dm-mobile-drawer,.dm-mobile-overlay-panel
 ) :is(a,button):not(.is-active):not([aria-current="page"]){
   color:var(--s411-appearance-muted)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 .dm-popover,.dm-dropdown-menu,.dm-modal-panel{transition:none!important}
}


/* ==============================================================
   Soccer 411 v0.19.81 — unified content surfaces
   Source of truth: --s411-ui-* variables from s411-design-system.css.
   Applies at every viewport via effective appearance selection.
   All surfaces and their own text must transition together.
   =============================================================== */
:root {
 --s411-content-card:var(--s411-ui-surface);
 --s411-content-text:var(--s411-ui-text);
 --s411-content-muted:var(--s411-ui-muted);
 --s411-content-border:var(--s411-ui-line);
 --s411-content-raised:var(--s411-ui-surface-raised);
 --s411-content-hover:var(--s411-ui-surface-hover);
}
/* Single source of truth shared by all custom component selectors. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-hub-stats-list>a,
 .dm-football-hub-iq,.dm-football-hub-match,.dm-football-hub-competitions,
 .dm-football-hub-standings,.dm-football-hub-stats,
 .dm-football-hub-feed-grid>.dm-card,.dm-football-hub-feed-grid>article,
 .dm-editorial-learning a,.dm-editorial-learning .dm-editorial-learning-coming,
 .dm-home-mobile-matchday-strip,.dm-home-mobile-mini-match,
 .dm-card--article,.dm-card--external-news,.dm-card--take,
 .dm-home-feed-list .dm-card,
 .dm-football-hub-competition,.dm-competition-article-card,
 .dm-article-related-card,.dm-article-card,.dm-editorial-feed-card,
 .dm-article-recommendation,.dm-related-article-card,
 .dm-editorial-learning-grid>a,.dm-editorial-learning-grid>div
){
  background:var(--s411-content-card)!important;
  background-image:none!important;
  border-color:var(--s411-content-border)!important;
  color:var(--s411-content-text)!important;
  box-shadow:none!important;
  color-scheme:dark;
}
/* Cover all plain text inside these content cards, not image/crest SVG geometry.
   Strong enough to defeat legacy `!important` white-on-white rules, without
   recolouring action chips, semantic match statuses or article images. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-hub-stats-list>a,
 .dm-editorial-learning-grid>a,.dm-editorial-learning-grid>div,
 .dm-home-mobile-mini-match,.dm-football-hub-feed-grid>.dm-card,
 .dm-football-hub-feed-grid>article,.dm-card--article,
 .dm-football-hub-competition,.dm-article-related-card,
 .dm-editorial-feed-card,.dm-related-article-card
) :is(h2,h3,h4,strong,b):not(.dm-match-status):not(.dm-form-chip):not(.dm-result-indicator){
 color:var(--s411-content-text)!important;
}
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-hub-stats-list>a,.dm-editorial-learning-grid>a,
 .dm-editorial-learning-grid>div,.dm-home-mobile-mini-match,
 .dm-football-hub-feed-grid>.dm-card,.dm-football-hub-feed-grid>article,
 .dm-card--article,.dm-football-hub-competition,
 .dm-article-related-card,.dm-editorial-feed-card,.dm-related-article-card
) :is(p,small,em,time,.dm-card-excerpt,.dm-card-subtitle,.dm-article-excerpt){
 color:var(--s411-content-muted)!important;
}
/* Standalone Data Lab lists, including layout with narrow scrolling columns. */
html[data-s411-effective-theme="dark"] body .dm-football-hub-stats .dm-kicker{
 color:#a9dfc5!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-stats__intro{
 color:var(--s411-content-muted)!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-stats-list>a:is(:hover,:focus-visible){
 background:var(--s411-content-hover)!important;
 border-color:#7185a2!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-stats__badge{
 background:var(--s411-content-raised)!important;
 border-color:var(--s411-content-border)!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-hub-stats-list>a>b{
 color:var(--s411-content-text)!important;
}
/* Editorial cards must not inherit white fonts on white cards or vice versa. */
html[data-s411-effective-theme="dark"] body .dm-football-hub-feed-grid :is(
 .dm-card-title,.dm-card-title a,.dm-card-excerpt,.dm-card-excerpt p,
 .dm-card-body h2,.dm-card-body h2 a
){color:var(--s411-content-text)!important;}
html[data-s411-effective-theme="dark"] body .dm-football-hub-feed-grid :is(
 .dm-article-body,.dm-card-excerpt,.dm-card-excerpt p
){color:var(--s411-content-muted)!important;}
html[data-s411-effective-theme="dark"] body .dm-editorial-learning-grid :is(
 a,.dm-editorial-learning-coming
):hover{background:var(--s411-content-hover)!important;}
/* Home match strip: dark surface must include nested fixture cards. */
html[data-s411-effective-theme="dark"] body.home .dm-home-mobile-matchday-strip{
 background:var(--s411-content-card)!important;
 border-color:var(--s411-content-border)!important;
}
html[data-s411-effective-theme="dark"] body.home .dm-home-mobile-matchday-strip__head h2{
 color:var(--s411-content-text)!important;
}
html[data-s411-effective-theme="dark"] body.home .dm-home-mobile-mini-match{
 background:var(--s411-content-raised)!important;
 border-color:var(--s411-content-border)!important;
}
html[data-s411-effective-theme="dark"] body.home .dm-home-mobile-mini-match.is-live{
 background:var(--s411-content-raised)!important;
 border-color:#a94959!important;
}
html[data-s411-effective-theme="dark"] body.home .dm-home-mobile-mini-match__teams :is(b,strong){
 color:var(--s411-content-text)!important;
}
html[data-s411-effective-theme="dark"] body.home .dm-home-mobile-mini-match__meta :is(b,em){
 color:var(--s411-content-muted)!important;
}
/* Article recommendations: leave headline, summary and section label legible. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-editorial-learning,.dm-editorial-learning-grid,
 .dm-football-hub-feed,.dm-football-hub-iq
) :is(h2,h3){color:var(--s411-content-text)!important;}
html[data-s411-effective-theme="dark"] body .dm-editorial-learning>span{
 color:#a9dfc5!important;
}
/* Shared editorial/feed content cards and related articles with links. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-card--article,.dm-football-hub-feed-grid>.dm-card,
 .dm-football-hub-feed-grid>article,.dm-editorial-learning-grid>a,
 .dm-editorial-learning-grid>div
) a:not(.dm-card-cta):not(.dm-read-more){color:var(--s411-content-text)!important;}
/* League and club badges are brand artwork: never invert them. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-hub-stats-list,.dm-football-hub-feed-grid,
 .dm-home-mobile-matchday-strip,.dm-editorial-learning
) img{filter:none!important;mix-blend-mode:normal;}
/* Small-screen typography: prevent table/card labels from crushing the layout. */
@media(max-width:720px){
 .dm-football-hub-feed-grid>*{min-width:0!important;max-width:100%!important;}
 .dm-football-hub-stats-list>a{grid-template-columns:42px minmax(0,1fr) 24px!important;gap:10px!important;min-height:64px;}
 .dm-football-hub-stats-list strong{font-size:13px!important;line-height:1.25!important;}
 .dm-football-hub-stats-list small{font-size:10px!important;line-height:1.35!important;}
 .dm-football-hub-stats-list>a>b{font-size:19px!important;justify-self:end;}
 .dm-editorial-learning-grid>a,.dm-editorial-learning-grid>div{min-width:0;padding:17px!important;}
 .dm-home-mobile-mini-match{min-width:0;}
}
/* Uniform dark appearance for known content shells not otherwise identified as cards. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-hub-stats,.dm-football-hub-iq,.dm-football-hub-standings,
 .dm-football-hub-competitions,.dm-football-hub-match
){background:var(--s411-content-card)!important;}

/* Tested heading and action-link contrast for the reported component families. */
html[data-s411-effective-theme="dark"] body .dm-football-hub-stats :is(h2,h3),
html[data-s411-effective-theme="dark"] body .dm-football-hub-section-head :is(h2,h3),
html[data-s411-effective-theme="dark"] body .dm-home-mobile-matchday-strip__head h2{
 color:var(--s411-content-text)!important;
}
html[data-s411-effective-theme="dark"] body .dm-home-mobile-matchday-strip__head>a,
html[data-s411-effective-theme="dark"] body .dm-football-hub-section-head>a{
 color:#ff7d83!important;
}


/* =======================================================================
 Soccer 411 v0.19.82 — cross-template token contract
 Applied after legacy component styles (single existing final stylesheet).
 All selectors below cover shared component FAMILIES, not specific URLs.
 Deliberately exclude pitches, crests, flags, photographs, charts and match
 outcome colours. No impact to fixtures, API calls, account state or data.
 ======================================================================= */
html[data-s411-effective-theme="dark"]{
 --s411-panel:var(--s411-ui-surface,#1a202c);
 --s411-panel-raised:var(--s411-ui-surface-raised,#222c3b);
 --s411-panel-hover:var(--s411-ui-surface-hover,#303d50);
 --s411-foreground:var(--s411-ui-text,#f3f6fc);
 --s411-foreground-muted:var(--s411-ui-muted,#c3cedd);
 --s411-outline:var(--s411-ui-line,#3b475b);
 --s411-input:var(--s411-ui-field,#202b3a);
}
/* Universal shells, content cards and cross-cutting panels. */
html[data-s411-effective-theme="dark"] body :is(
 .s411-universal-shell>.s411-standard-sidebar,
 .s411-universal-shell>.dm-desktop-context-rail .dm-panel,
 .s411-universal-shell>.dm-desktop-context-rail .dm-rail-search,
 .dm-panel,.dm-card,.dm-card--article,.dm-card--poll,
 .dm-notification-item,.dm-profile-edit-card,.dm-profile-people-card,
 .dm-community-create-card,.dm-community-featured-card,
 .dm-engagement-prompt,.dm-content-owner-popover,
 .dm-auth-form,.dm-member-access-shell,
 .dm-search-box,.dm-search-examples,
 .dm-home-next-fixtures,.dm-home-next-fixture,
 .dm-football-hub-competition,.dm-football-hub-competitions,
 .dm-football-hub-match,.dm-football-hub-iq,
 .dm-football-hub-stats-list,.dm-football-hub-match__card,
 .dm-stats-card,.dm-football-hub-standings,
 .dm-player-profile-hero,.dm-player-stat-groups,
 .dm-player-sheet-metric,.dm-match-panel,.dm-match-overview-card,
 .dm-match-rich-event,.dm-match-rich-event--compact,
 .dm-match-timeline-event,.dm-match-timeline-event-card,
 .dm-matchday-fixture,.dm-matchday-form-guide,
 .dm-matchday-prediction,.dm-matchday-team-form,
 .dm-squad-last-xi,.dm-squad-lineup-context,
 .dm-club-support,.dm-trophy-snapshot-item,
 .dm-editorial-learning,.dm-b2-module-take,
 .dm-predictor-pool-card,.dm-predictor-fixture,
 .dm-predictor-summary>div,.dm-predictor-result,
 .dm-predictor-leaderboard ol,.dm-predictor-pool-tools form,
 .s411-game-fixture,.s411-predictor-mini-board
){
 background-color:var(--s411-panel)!important;
 border-color:var(--s411-outline)!important;
 color:var(--s411-foreground)!important;
}
/* Nested cards, rows and toolbars: distinguish elevation without white gaps. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-profile-edit-actions,.dm-profile-editor-head,
 .dm-member-profile-topics,.dm-community-tabs,
 .dm-profile-tabs,.dm-search-chips,
 .dm-home-next-fixture__meta,.dm-football-hub-match__meta,
 .dm-football-hub-tabs,.dm-football-hub-table-wrap,
 .dm-football-table__group-headings,
 .dm-football-table__group-row,
 .dm-player-stats-row--head,.dm-player-sheet-metric,
 .dm-matchday-prediction-options,.dm-matchday-lineup-tabs,
 .dm-match-timeline-event-card,.dm-match-rich-event-player,
 .dm-squad-lineup-tabs,.dm-squad-last-xi .dm-card,
 .dm-stats-filters,.dm-predictor-tabs,
 .dm-predictor-periods,.dm-predictor-toolbar,
 .dm-predictor-pool-tools form,
 .dm-competition-section-head-v2,.dm-competition-fixture-v2,
 .dm-editorial-module-head,.dm-editorial-learning>a,
 .dm-editor-link-popover,.dm-publish-modal-head,
 .dm-publish-field,.dm-create-choice,
 .dm-poll-option,.dm-trend,.dm-search-examples>a
){
 background-color:var(--s411-panel-raised)!important;
 border-color:var(--s411-outline)!important;
 color:var(--s411-foreground)!important;
}
/* Editable fields and secondary controls across auth, writing and prediction. */
html[data-s411-effective-theme="dark"] body :is(
 .s411-universal-content,.dm-reading,.dm-modal,.dm-site-drawer,
 .dm-predictor-toolbar,.dm-predictor-pool-tools,
 .dm-profile-identity-editor,.dm-publishing-modal,
 .dm-community-page,.dm-community-detail-page
) :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select){
 background:var(--s411-input)!important;
 color:var(--s411-foreground)!important;
 border-color:var(--s411-outline)!important;
 color-scheme:dark;
}
html[data-s411-effective-theme="dark"] body :is(
 .dm-button-secondary,.dm-predictor-secondary,.dm-predictor-periods button,
 .dm-match-tabs button,.dm-community-tabs button,
 .dm-profile-tabs button,.dm-search-chips button,
 .dm-predictor-score-control button,.dm-predictor-banker,
 .dm-squad-lineup-tabs button,.dm-matchday-lineup-tabs button,
 .dm-matchday-prediction-options button,.dm-create-choice
){background:var(--s411-panel-raised)!important;border-color:var(--s411-outline)!important;color:var(--s411-foreground)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-button-secondary,.dm-predictor-secondary,.dm-predictor-periods button,
 .dm-match-tabs button,.dm-community-tabs button,.dm-profile-tabs button,
 .dm-predictor-score-control button,.dm-create-choice
):hover{background:var(--s411-panel-hover)!important}
/* Text: only inside known application surfaces; keep semantic result chips alone. */
html[data-s411-effective-theme="dark"] body :is(
 .s411-universal-shell,.dm-reading,.dm-panel,.dm-card,
 .dm-predictor-fixture,.dm-predictor-pool-card,.dm-predictor-result,
 .dm-profile-edit-card,.dm-search-box,.dm-home-next-fixture,
 .dm-matchday-fixture,.dm-match-timeline-event-card
) :is(h1,h2,h3,h4,h5,h6){color:var(--s411-foreground)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-profile-edit-card,.dm-notification-item,.dm-search-box,
 .dm-home-next-fixture,.dm-football-hub-stats-list,
 .dm-match-timeline-event-card,.dm-match-panel,
 .dm-predictor-fixture,.dm-predictor-result,.dm-predictor-pool-card,
 .dm-editorial-learning,.dm-community-create-card,
 .dm-squad-lineup-context,.dm-stats-card,
 .dm-football-hub-table--snapshot,.dm-football-table--league
) :is(strong,b,th,td){color:var(--s411-foreground)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-profile-edit-card,.dm-notification-item,.dm-search-box,
 .dm-home-next-fixture,.dm-football-hub-stats-list,
 .dm-match-timeline-event-card,.dm-match-panel,
 .dm-predictor-fixture,.dm-predictor-result,.dm-predictor-pool-card,
 .dm-editorial-learning,.dm-community-create-card,
 .dm-squad-lineup-context,.dm-stats-card
) :is(p,small,time,figcaption){color:var(--s411-foreground-muted)!important}
/* Table styling: leave coloured promotion / form chips and badges untouched. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-table--league,.dm-football-table--grouped,
 .dm-football-hub-table--snapshot,.dm-predictor-leaderboard
) :is(thead,tbody,tr,th,td){background-color:transparent!important;border-color:var(--s411-outline)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-table--league,.dm-football-table--grouped,
 .dm-football-hub-table--snapshot,.dm-predictor-leaderboard
) th{background-color:var(--s411-panel-raised)!important;color:var(--s411-foreground-muted)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-table--league,.dm-football-table--grouped,
 .dm-football-hub-table--snapshot,.dm-predictor-leaderboard
) tbody tr:hover{background-color:var(--s411-panel-hover)!important}
/* Predictors have their own semantic greens; only their chrome is token-driven. */
html[data-s411-effective-theme="dark"] body .dm-matchday-predictor-page{
 --dm-p-ink:var(--s411-foreground);
 --dm-p-muted:var(--s411-foreground-muted);
 --dm-p-sage:var(--s411-panel-raised);
}
/* Light mode uses existing baseline; dark mode only rewrites common chrome. */
@media(max-width:720px){
 html[data-s411-effective-theme="dark"] body :is(
  .dm-home-mobile-topbar,.dm-football-mobile-nav,.dm-football-global-nav,
  .dm-competition-tabs-mobile,.dm-site-drawer-panel,.dm-mobile-nav
 ){background-color:var(--s411-panel)!important;border-color:var(--s411-outline)!important}
 html[data-s411-effective-theme="dark"] body :is(
  .dm-football-mobile-nav,.dm-competition-tabs-mobile,.dm-mobile-nav
 ) :is(a,button){color:var(--s411-foreground-muted)!important}
 html[data-s411-effective-theme="dark"] body :is(
  .dm-football-mobile-nav,.dm-competition-tabs-mobile,.dm-mobile-nav
 ) :is(a.is-active,button.is-active,[aria-current="page"]){color:var(--s411-foreground)!important}
}


/* Soccer 411 v0.19.83 — semantic match/football surfaces.
 * Match Centre and Matchday must use the same effective-mode tokens as
 * homepage, community, league, article and profile components.
 * These names come from the shipped PHP components, not screenshot guesses.
 * This layer is intentionally scoped to content surfaces and excludes crests,
 * photography, team-colour indicators, pitch graphics and W/D/L states.
 */
:root{
 --s411-fixture-panel:var(--s411-ui-surface);
 --s411-fixture-inset:var(--s411-ui-surface-raised);
 --s411-fixture-text:var(--s411-ui-text);
 --s411-fixture-muted:var(--s411-ui-muted);
 --s411-fixture-stroke:var(--s411-ui-line);
}
/* Entire pre-match panel family (not just the currently visible card). */
html[data-s411-effective-theme="dark"] body :is(
 .dm-prematch-card,.dm-prematch-h2h,.dm-prematch-vote,
 .dm-match-overview-prematch-note,.dm-prematch-empty,
 .dm-prematch-predictor,.dm-prematch-meeting,
 .dm-match-community-bar,.dm-match-community-action,
 .dm-prematch-heading>span
){background:var(--s411-fixture-panel)!important;background-image:none!important;
  color:var(--s411-fixture-text)!important;border-color:var(--s411-fixture-stroke)!important;
  box-shadow:none!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-prematch-h2h-score>div,.dm-prematch-vote-option,
 .dm-prematch-vote-logo,.dm-prematch-vote-draw,
 .dm-prematch-meeting-score,.dm-prematch-vote-count
){background:var(--s411-fixture-inset)!important;background-image:none!important;
  color:var(--s411-fixture-text)!important;border-color:var(--s411-fixture-stroke)!important;
  box-shadow:none!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-prematch-heading h2,.dm-prematch-h2h-score strong,.dm-prematch-h2h-goals b,
 .dm-prematch-meeting-score b,.dm-prematch-meeting-score>strong,
 .dm-prematch-vote-draw,.dm-prematch-empty strong,
 .dm-prematch-predictor strong,.dm-match-overview-prematch-note h2,
 .dm-prematch-vote-face strong,.dm-prematch-h2h-goals>span
){color:var(--s411-fixture-text)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-prematch-vote-note,.dm-prematch-h2h-score span,.dm-prematch-h2h-goals small,
 .dm-prematch-meeting-meta,.dm-match-overview-prematch-note p,
 .dm-prematch-predictor em,.dm-prematch-empty span,
 .dm-prematch-vote-face>small
){color:var(--s411-fixture-muted)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-prematch-h2h-goals,.dm-prematch-meeting,
 .dm-prematch-meeting-score,.dm-prematch-vote,
 .dm-prematch-vote-option,.dm-prematch-card
){border-color:var(--s411-fixture-stroke)!important}
/* Statuses and disabled states stay recognisable without becoming invisible. */
html[data-s411-effective-theme="dark"] body .dm-prematch-vote-option:disabled{opacity:.84!important}
html[data-s411-effective-theme="dark"] body .dm-prematch-vote-option.is-selected{
 border-color:#ef6269!important;box-shadow:inset 0 0 0 1px #ef6269!important}
/* Matchday route: date selector, competition filters, match list, and actions. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-matchday-section,.dm-matchday-fixture,.dm-matchday-day-group,
 .dm-matchday-competition-filter,.dm-matchday-filter-stack,
 .dm-matchday-kind-filters,.dm-matchday-date-nav,
 .dm-matchday-date-strip,.dm-matchday-filters,
 .dm-matchday-fixture-main,.dm-matchday-fixture-footer,
 .dm-matchday-grid,.dm-matchday-explore>a
){background-color:var(--s411-fixture-panel)!important;
 color:var(--s411-fixture-text)!important;border-color:var(--s411-fixture-stroke)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-matchday-date-nav button,.dm-matchday-kind-filters button,
 .dm-matchday-filters button,.dm-matchday-open,
 .dm-matchday-filter-stack button,.dm-matchday-filter-stack select,
 .dm-matchday-competition-tabs button,.dm-matchday-nav button
):not(.is-active):not([aria-current="page"]){
 background:var(--s411-fixture-inset)!important;color:var(--s411-fixture-text)!important;
 border-color:var(--s411-fixture-stroke)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-matchday-teams b,.dm-matchday-teams strong,
 .dm-matchday-team b,.dm-matchday-score,.dm-matchday-time,
 .dm-matchday-fixture h3,.dm-matchday-section h2,
 .dm-matchday-section-head strong,.dm-matchday-meta strong
){color:var(--s411-fixture-text)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-matchday-meta,.dm-matchday-meta span,.dm-matchday-detail-line,
 .dm-matchday-fixture small,.dm-matchday-venue,
 .dm-matchday-fixture-footer small,.dm-matchday-section-head small
){color:var(--s411-fixture-muted)!important}
/* Match Centre submodules and content blocks that use historical white cards. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-match-overview-prematch-note,.dm-match-overview-card,
 .dm-match-module,.dm-match-module-body,.dm-match-stats-panel,
 .dm-match-lineups-panel,.dm-match-events-panel,
 .dm-match-h2h-panel,.dm-match-centre-v2 .dm-card
){background-color:var(--s411-fixture-panel)!important;
 color:var(--s411-fixture-text)!important;
 border-color:var(--s411-fixture-stroke)!important}
/* Never force all descendants to white: semantic statuses, crests and WDL colours survive. */
@media(max-width:720px){
 html[data-s411-effective-theme="dark"] body :is(
   .dm-prematch-card,.dm-matchday-fixture,.dm-matchday-section
 ){box-shadow:none!important}
 html[data-s411-effective-theme="dark"] body .dm-prematch-h2h-score>div{min-width:0}
}


/* Soccer 411 v0.20.1 — shared foreground contrast & branded selection states.
   A cross-template token contract, not a set of screenshot-specific patches.
   Apply only to UI and text, never club art, pitch graphics or result form. */
:root{
 --s411-ui-brand-active:#EF0107;
 --s411-ui-brand-active-hover:#C90006;
 --s411-ui-brand-on-active:#fff;
 --s411-ui-heading:#14213a;
 --s411-ui-copy:#34445c;
 --s411-ui-caption:#58667c;
 --s411-ui-link:#B00008;
}
html[data-s411-effective-theme="dark"]{
 --s411-ui-brand-active:#EF0107;
 --s411-ui-brand-active-hover:#FF424A;
 --s411-ui-heading:#F5F7FC;
 --s411-ui-copy:#E0E7F1;
 --s411-ui-caption:#BFCBDC;
 --s411-ui-link:#FF858A;
}
/* Common text hierarchy for pages whose backgrounds are already tokenised.
   Target editorial and application surfaces; football statuses remain semantic. */
body :is(.dm-reading,.dm-football-hub-v2,.dm-matchday-page,.dm-match-centre,
 .dm-community-page,.dm-community-detail-page,.dm-profile-page,
 .dm-search-page,.dm-bookmarks-page,.dm-notifications-page,
 .dm-predictor-page,.dm-players-page,.dm-football-archive-page,
 .dm-competition-page,.dm-editorial-page) :is(h1,h2,h3,h4,h5,h6){
 color:var(--s411-ui-heading);
}
html[data-s411-effective-theme="dark"] body :is(.dm-reading,.dm-football-hub-v2,
 .dm-matchday-page,.dm-match-centre,.dm-community-page,.dm-community-detail-page,
 .dm-profile-page,.dm-search-page,.dm-bookmarks-page,.dm-notifications-page,
 .dm-players-page,.dm-football-archive-page,.dm-editorial-page) :is(
 p,.dm-card-excerpt,.dm-article-excerpt,.dm-card-description,.dm-match-module p,
 .dm-community-description,.dm-profile-bio,.dm-competition-hero-v2__copy p
 ){color:var(--s411-ui-copy)!important}
html[data-s411-effective-theme="dark"] body :is(.dm-reading,.dm-football-hub-v2,
 .dm-matchday-page,.dm-match-centre,.dm-community-page,.dm-community-detail-page,
 .dm-profile-page,.dm-search-page,.dm-bookmarks-page,.dm-notifications-page,
 .dm-football-archive-page,.dm-editorial-page) :is(
 small,.dm-muted,.dm-card-meta,.dm-meta,.dm-card-excerpt small,
 .dm-card-date,.dm-article-meta,.dm-fixture-meta,.dm-card-caption
 ){color:var(--s411-ui-caption)!important}
/* Date navigation: today and any selected date are Soccer 411 red, at all widths.
   The lighter green of W results, pitches and club-specific art is unchanged. */
body .dm-matchday-date-nav :is(a,button).is-active,
body .dm-matchday-date-nav :is(a,button)[aria-current="date"],
body .dm-matchday-date-nav :is(a,button)[aria-current="page"],
body .dm-matchday-date-nav :is(a,button)[aria-pressed="true"]{
 background:var(--s411-ui-brand-active)!important;
 border-color:var(--s411-ui-brand-active)!important;
 color:var(--s411-ui-brand-on-active)!important;
}
body .dm-matchday-date-nav :is(a,button).is-active :is(span,small,strong,b),
body .dm-matchday-date-nav :is(a,button)[aria-current="date"] :is(span,small,strong,b),
body .dm-matchday-date-nav :is(a,button)[aria-current="page"] :is(span,small,strong,b){
 color:var(--s411-ui-brand-on-active)!important;
}
body .dm-matchday-date-nav :is(a,button).is-active:hover,
body .dm-matchday-date-nav :is(a,button)[aria-current="date"]:hover{
 background:var(--s411-ui-brand-active-hover)!important;
 border-color:var(--s411-ui-brand-active-hover)!important;
}
/* Red active controls rather than inherited green on non-semantic navigation. */
body :is(.dm-matchday-filters,.dm-matchday-kind-filters,.dm-matchday-competition-tabs,
 .dm-matchday-filter-stack,.dm-football-hub-tabs,.dm-competition-tabs-v2,
 .dm-predictor-tabs,.dm-feed-tabs) :is(button,a).is-active{
 border-color:var(--s411-ui-brand-active)!important;
}
body :is(.dm-matchday-filters,.dm-matchday-kind-filters,.dm-matchday-competition-tabs,
 .dm-matchday-filter-stack,.dm-predictor-tabs) :is(button,a).is-active{
 background:var(--s411-ui-brand-active)!important;
 color:#fff!important;
}
body :is(.dm-matchday-filters,.dm-matchday-kind-filters,.dm-matchday-competition-tabs,
 .dm-matchday-filter-stack,.dm-predictor-tabs) :is(button,a).is-active :is(span,small,strong){
 color:#fff!important;
}
/* Scoped link colours for the common UI. Avoid team badges, W/D/L and pitches. */
html[data-s411-effective-theme="dark"] body :is(.dm-reading,.dm-matchday-page,
 .dm-community-page,.dm-community-detail-page,.dm-profile-page,
 .dm-search-page,.dm-notifications-page) :is(.dm-card-cta,.dm-read-more,
 .dm-card-footer a,.dm-module-link,.dm-section-head>a){
 color:var(--s411-ui-link)!important;
}
/* A consistent, visible keyboard focus in either appearance mode. */
body :is(.dm-matchday-date-nav,.dm-matchday-filters,.dm-predictor-tabs,
 .dm-competition-tabs-v2) :is(a,button):focus-visible{
 outline:2px solid var(--s411-ui-brand-active)!important;
 outline-offset:2px!important;
}

/* v0.20.2 Soccer 411 brand acceptance: interactive controls are red sitewide. */
:root { --s411-accent: #EF0107; --accent: #EF0107; --accent-dark: #C90006; --accent-soft: #FFF0F1;
 --dm-brand-deep-green: #EF0107; --dm-brand-forest: #C90006; --dm-brand-accent-soft: #FFF0F1;
 --dm-brand-sage: #85616A; --green: #EF0107; }
html[data-s411-effective-theme="dark"] {--accent:#EF0107;--accent-dark:#FF424A;--accent-soft:#42232C;
 --dm-brand-deep-green:#EF0107;--dm-brand-forest:#C90006;--dm-brand-accent-soft:#42232C;--green:#EF0107;}
/* Selection state: active filters, tabs, week navigation, pills, and global app navigation. */
body :is(.dm-matchday-date-nav,.dm-matchday-kind-filters,.dm-matchday-filters,.dm-matchday-filter-stack,
 .dm-matchday-competition-tabs,.dm-matchday-nav,.dm-football-hub-tabs,.dm-predictor-tabs,
 .dm-community-filters,.dm-competition-filter-nav,.dm-mobile-nav,.dm-side-nav,
 .dm-football-mobile-nav,.dm-matchday-week-nav) :is(a,button).is-active,
body :is(.dm-matchday-date-nav,.dm-matchday-kind-filters,.dm-matchday-filters,
 .dm-matchday-filter-stack,.dm-matchday-competition-tabs,.dm-matchday-week-nav,
 .dm-football-mobile-nav) :is(a,button)[aria-pressed="true"] {
 background:var(--s411-ui-brand-active)!important;
 border-color:var(--s411-ui-brand-active)!important;
 color:#fff!important;
}
body :is(.dm-matchday-date-nav,.dm-matchday-kind-filters,.dm-matchday-filters,
 .dm-matchday-filter-stack,.dm-matchday-competition-tabs,.dm-matchday-week-nav,
 .dm-mobile-nav,.dm-football-mobile-nav) :is(a,button).is-active :is(span,strong,b,small,svg),
body :is(.dm-matchday-date-nav,.dm-matchday-week-nav) :is(a,button)[aria-pressed="true"] :is(span,strong,b,small){color:#fff!important;}
/* Brand emphasis and focus; do not override victory / draw / defeat indicators. */
body :is(.dm-mobile-nav,.dm-feed-tabs,.dm-football-global-nav,.dm-football-mobile-nav,
 .dm-competition-tabs-v2,.dm-club-section-nav) :is(a,button).is-active::after {background:#EF0107!important;}
body :is(.dm-matchday-date-nav,.dm-matchday-filters,.dm-matchday-week-nav,.dm-mobile-nav,
 .dm-side-nav,.dm-community-filters,.dm-predictor-tabs) :is(a,button):focus-visible {outline:2px solid #EF0107!important;outline-offset:2px;}


/* Soccer 411 v0.20.3 | Mobile navigation safety and red CI.
 * The football sub-navigation follows the document flow on handsets;
 * a fixed sub-nav previously obscured the club hero and match content.
 * The fixed top brand header and bottom app bar remain available.
 */
@media (max-width:720px) {
  body.dm-football-surface {
    padding-top:calc(54px + env(safe-area-inset-top))!important;
  }
  body.dm-football-surface nav.dm-football-global-nav {
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
    z-index:1!important;
    margin:0!important;
    box-sizing:border-box!important;
    isolation:isolate;
  }
  body.dm-football-surface .dm-football-mobile-nav {
    overflow-x:auto!important;
    overflow-y:hidden!important;
    min-height:44px!important;
    white-space:nowrap!important;
  }
  /* Removing fixed positioning also removes the reason to reserve another
     44px above the first component. Maintain safe anchor targeting. */
  body.dm-football-surface #dm-main-content,
  body.dm-football-surface :where(main,section[id],[data-dm-match-panel]) {
    scroll-margin-top:calc(62px + env(safe-area-inset-top))!important;
  }
  /* The scroll-aware hide controller must not transform the in-flow nav. */
  body.dm-football-surface.dm-mobile-chrome-hidden nav.dm-football-global-nav {
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
}

/* Global app chrome CI — red in both modes, across all page templates. */
@media (max-width:1024px) {
  /* Approved mobile navigation: active icon and label only; never a filled tile.
     Retain existing dimensions and touch targets, including on dark mode. */
  html body nav.dm-mobile-nav>a.is-active,
  html[data-s411-effective-theme="dark"] body nav.dm-mobile-nav>a.is-active {
    background:transparent!important;
    background-image:none!important;
    border-color:transparent!important;
    box-shadow:none!important;
    color:#EF0107!important;
  }
  html body nav.dm-mobile-nav>a.is-active :is(svg,span,b,strong),
  html[data-s411-effective-theme="dark"] body nav.dm-mobile-nav>a.is-active :is(svg,span,b,strong) {
    color:#EF0107!important;
    stroke:currentColor!important;
  }
  html body nav.dm-mobile-nav>a.is-active::after,
  html[data-s411-effective-theme="dark"] body nav.dm-mobile-nav>a.is-active::after {
    content:none!important;
    display:none!important;
    background:transparent!important;
  }
  html body nav.dm-mobile-nav button.dm-mobile-create b,
  html[data-s411-effective-theme="dark"] body nav.dm-mobile-nav button.dm-mobile-create b {
    background:#EF0107!important;
    border-color:#EF0107!important;
    color:#fff!important;
    box-shadow:0 7px 18px rgba(239,1,7,.20)!important;
  }
  html body nav.dm-mobile-nav button.dm-mobile-create b :is(svg,span),
  html[data-s411-effective-theme="dark"] body nav.dm-mobile-nav button.dm-mobile-create b :is(svg,span) {
    color:#fff!important;
    stroke:currentColor!important;
  }
  /* Avoid heavy solid-red selection in the six-link football sub-nav. */
  html body.dm-football-surface nav.dm-football-global-nav .dm-football-mobile-nav :is(a.is-active,a[aria-current="page"],button.is-active),
  html[data-s411-effective-theme="dark"] body.dm-football-surface nav.dm-football-global-nav .dm-football-mobile-nav :is(a.is-active,a[aria-current="page"],button.is-active) {
    background:transparent!important;
    border-bottom:2px solid #EF0107!important;
    color:var(--s411-ui-heading)!important;
  }
}


/* Soccer 411 v0.20.4 — club overview cards, honours and controls.
   Shared token-based styles, inherited by Light/Dark/System at every breakpoint.
   No changes to logos, trophies, data or club artwork. */
body .dm-club-competition-snapshot__card,
body .dm-club-honour-face,
body .dm-club-honour-years>span {
  background:var(--s411-ui-surface-raised)!important;
  background-image:none!important;
  color:var(--s411-ui-text)!important;
  border-color:var(--s411-ui-line)!important;
}
body .dm-club-competition-snapshot__identity::before {
  background:var(--s411-ui-surface)!important;
  background-image:none!important;
  border-color:var(--s411-ui-line)!important;
}
body .dm-club-competition-snapshot__identity strong,
body .dm-club-competition-snapshot__status>strong,
body .dm-club-honour-preview-copy :is(small,strong),
body .dm-club-honour-back-title,
body .dm-club-honour-years>span {
  color:var(--s411-ui-text)!important;
}
body .dm-club-competition-snapshot__status>small,
body .dm-club-honour-flip-hint,
body .dm-club-honour-years-empty {
  color:var(--s411-ui-muted)!important;
}
body .dm-club-competition-snapshot__head>a,
body .dm-club-honours-carousel-controls button {
  background:var(--s411-ui-surface-raised)!important;
  color:var(--s411-ui-text)!important;
  border-color:var(--s411-ui-line)!important;
}
body .dm-club-honours-carousel-controls button:is(:hover,:focus-visible),
body .dm-club-competition-snapshot__head>a:is(:hover,:focus-visible) {
  color:#ef0107!important;
  border-color:#ef0107!important;
}
body .dm-club-honours-carousel-dots button.is-active{background:#ef0107!important}
body .dm-club-honour-back-kicker{color:#ff777c!important}
body .dm-club-competition-snapshot__card:focus-visible,
body .dm-club-honour-preview-item:focus-visible,
body .dm-club-honours-carousel-controls button:focus-visible {
  outline:2px solid var(--s411-ui-focus)!important;
  outline-offset:2px;
}


/* v0.20.6 — Club identity: fit full club names cleanly at desktop widths.
   Medium-width sidebar layouts need a two-column hero instead of reserving
   a third column for the league position. Keep the full team name intact. */
@media (min-width:761px) and (max-width:1199px){
  body .dm-football-club-page .dm-club-home-hero.has-club-brand{
    grid-template-columns:clamp(80px,9vw,110px) minmax(0,1fr)!important;
    grid-template-areas:"crest identity" "crest actions" "position position"!important;
    column-gap:clamp(14px,2vw,22px)!important;
    row-gap:8px!important;
    padding:22px 25px!important;
    min-height:0!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-identity{
    min-width:0!important;
    width:100%;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-crest{
    width:clamp(80px,9vw,108px)!important;
    height:clamp(80px,9vw,108px)!important;
    align-self:center;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-identity h1{
    font-size:clamp(26px,3.25vw,38px)!important;
    line-height:1.08!important;
    white-space:nowrap!important;
    text-wrap:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
    margin:3px 0 7px!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-identity-actions{
    margin-top:3px!important;
    align-self:start!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-football-club-position{
    grid-area:position!important;
    padding:11px 0 0!important;
    margin-top:7px!important;
    border-left:0!important;
    border-top:1px solid color-mix(in srgb,var(--dm-club-on-primary) 23%,transparent)!important;
    width:100%;
  }
}
@media (min-width:1200px){
  body .dm-football-club-page .dm-club-home-hero.has-club-brand{
    grid-template-columns:112px minmax(0,1fr) minmax(240px,.8fr)!important;
    column-gap:20px!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-identity{
    min-width:0!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-identity h1{
    font-size:clamp(30px,2.5vw,44px)!important;
    line-height:1.07!important;
    white-space:nowrap!important;
    text-wrap:nowrap!important;
    word-break:normal!important;
    hyphens:none!important;
  }
}
/* On small phones, do not force one line where it would clip the hero. */
@media (max-width:760px){
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-identity h1{
    white-space:normal!important;
    text-wrap:balance!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
  }
}


/* Soccer 411 v0.20.8 — single-post reading-layout contract.
   Applies to all three rendering paths in single.php: standard, editorial,
   and xG features. Related/story modules follow the text, never flank it. */
body.single .dm-article-wrap{
  width:min(100%,1020px)!important;
  max-width:1020px!important;
  margin-inline:auto!important;
  min-width:0!important;
}
body.single .dm-article-wrap>.dm-article{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
body.single .dm-article:not(.dm-article--editorial)>.dm-prose,
body.single .dm-article--editorial>.dm-prose--editorial{
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin-inline:auto!important;
  min-width:0!important;
}
body.single .dm-article--editorial .dm-editorial-hero{
  padding-inline:clamp(20px,5vw,64px)!important;
}
body.single .dm-editorial-hero>h1{
  overflow-wrap:break-word!important;
  word-break:normal!important;
  text-wrap:balance!important;
  max-width:850px!important;
}
body.single .dm-prose,
body.single .dm-prose--editorial,
body.single .dm-prose--xg{
  overflow-wrap:break-word;
  word-break:normal;
  min-width:0!important;
  color:var(--s411-ui-text)!important;
}
body.single .dm-prose :is(p,li,blockquote),
body.single .dm-prose--editorial :is(p,li,blockquote),
body.single .dm-prose--xg :is(p,li,blockquote){
  color:var(--s411-ui-text)!important;
  line-height:1.75;
}
body.single .dm-prose :is(img,video,iframe,canvas,svg),
body.single .dm-prose--editorial :is(img,video,iframe,canvas,svg){
  max-width:100%;
}
body.single .dm-prose :is(img,video),
body.single .dm-prose--editorial :is(img,video){height:auto}
body.single .dm-prose :is(figure,.wp-block-image,.wp-block-gallery,.wp-block-embed),
body.single .dm-prose--editorial :is(figure,.wp-block-image,.wp-block-gallery,.wp-block-embed){max-width:100%;min-width:0}
body.single .dm-prose :is(table,.wp-block-table),
body.single .dm-prose--editorial :is(table,.wp-block-table){max-width:100%;}
body.single .dm-prose .wp-block-table,
body.single .dm-prose--editorial .wp-block-table{overflow-x:auto}
body.single .dm-prose pre,
body.single .dm-prose--editorial pre{max-width:100%;overflow-x:auto}
body.single .dm-article-engagement{max-width:760px!important;margin-inline:auto!important}

/* Long-form Football IQ articles: a single unobstructed reading column.
   Preserve all supporting panels, but position them after the article body. */
body.single .dm-xg-story{width:100%;max-width:1200px;margin-inline:auto}
body.single .dm-xg-story-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:min(100%,1020px)!important;
  max-width:1020px!important;
  gap:22px!important;
  padding:24px clamp(14px,3vw,30px) 48px!important;
  margin-inline:auto!important;
}
body.single .dm-xg-story-main{
  grid-column:1/-1!important;
  width:100%!important;
  min-width:0!important;
  padding:clamp(20px,3.8vw,44px)!important;
  background:var(--s411-ui-surface)!important;
  color:var(--s411-ui-text)!important;
}
body.single .dm-prose--xg{width:min(100%,760px)!important;max-width:760px!important;margin-inline:auto!important;padding:0!important}
body.single .dm-prose--xg>:is(p,h2,h3,h4,ul,ol,blockquote){max-width:760px!important;margin-left:auto!important;margin-right:auto!important}
body.single .dm-xg-story-rail{
  position:static!important;
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
  min-width:0!important;
  top:auto!important;
}
body.single .dm-xg-story-rail>*{min-width:0!important;max-width:100%!important}
body.single .dm-xg-story .dm-xg-hero-copy h1{overflow-wrap:break-word;word-break:normal;text-wrap:balance}
body.single .dm-xg-story-main :is(.dm-prose--xg p,.dm-prose--xg li){color:var(--s411-ui-text)!important}
/* Keep dark reading panels dark and light panels light. */
html[data-s411-effective-theme="dark"] body.single :is(.dm-article,.dm-xg-story-main){border-color:var(--s411-ui-line)!important}

@media(max-width:760px){
  body.single .dm-article-wrap{padding:0!important;margin:0 auto!important;width:100%!important}
  body.single .dm-article-wrap>.dm-article{border-radius:0!important}
  body.single .dm-article--editorial>.dm-prose--editorial{width:100%!important;max-width:100%!important;padding:8px 10px!important}
  body.single .dm-article:not(.dm-article--editorial)>.dm-prose{width:100%!important;max-width:100%!important}
  body.single .dm-xg-story-grid{padding:12px 10px 32px!important;gap:12px!important}
  body.single .dm-xg-story-main{padding:20px 16px!important}
  body.single .dm-xg-story-rail{grid-template-columns:minmax(0,1fr)!important}
  body.single .dm-xg-story .dm-xg-hero-copy h1{font-size:clamp(27px,7.5vw,38px)!important;line-height:1.08!important}
  body.single .dm-article-engagement{max-width:100%!important}
}


/* Soccer 411 v0.20.9 — Football IQ embedded explainer accessibility.
 * Treat embedded statistics and educational modules as reading surfaces.
 * Do not recolour actual pitch diagrams, football team artwork, or W/D/L data.
 */
html[data-s411-effective-theme="dark"] body.single :is(
  .dm-xg-shot-key>div,
  .dm-xg-limits-col,
  .dm-xgot-flow-grid>div,
  .dm-xg-race,
  .dm-xg-limits,
  .dm-xg-shot-quality
){
  background:var(--s411-ui-surface-raised,#232c3b)!important;
  background-image:none!important;
  border-color:var(--s411-ui-line,#3b475b)!important;
  color:var(--s411-ui-text,#f3f6fc)!important;
}
html[data-s411-effective-theme="dark"] body.single :is(
  .dm-xg-shot-key strong,
  .dm-xg-limits-col b,
  .dm-xgot-flow-grid>div strong,
  .dm-xg-race-bars strong,
  .dm-xg-race-bars span
){color:var(--s411-ui-text,#f3f6fc)!important;opacity:1!important}
html[data-s411-effective-theme="dark"] body.single :is(
  .dm-xg-shot-key span,
  .dm-xg-limits-col p,
  .dm-xgot-flow-grid>div span,
  .dm-xg-shot-quality .dm-editorial-source,
  .dm-xg-race .dm-editorial-source
){color:var(--s411-ui-muted,#bdc8d9)!important;opacity:1!important}
html[data-s411-effective-theme="dark"] body.single .dm-xg-race-bars i{
  background:#3b475b!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-xg-race-bars i b{
  background:#7da6e8;
}
html[data-s411-effective-theme="dark"] body.single .dm-xg-race-bars i b.dm-xg-race-away{
  background:#e34c64;
}
html[data-s411-effective-theme="dark"] body.single .dm-xg-limits-col>div{
  border-color:var(--s411-ui-line,#3b475b)!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-xg-limits-col>span{
  color:#ff858b!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-xgot-flow-grid>div b{
  background:#34435c!important;color:#fff!important;
}
/* In light appearance, embedded cards always use dark text on light surfaces. */
html:not([data-s411-effective-theme="dark"]) body.single :is(
  .dm-xg-shot-key strong,.dm-xg-limits-col b,.dm-xgot-flow-grid>div strong
){color:#17243a!important}
html:not([data-s411-effective-theme="dark"]) body.single :is(
  .dm-xg-shot-key span,.dm-xg-limits-col p,.dm-xgot-flow-grid>div span
){color:#536177!important}


/* Soccer 411 v0.20.10 — coherent article reading width and hierarchy.
   The Football IQ/xG template previously used 14px copy while standard
   editorial posts used 18px, and multiple content containers had conflicting
   max-width values. Keep a consistent readable column for all three paths. */
body.single{
  --s411-reading-width:820px;
  --s411-article-heading-h2:clamp(26px,2.6vw,32px);
  --s411-article-heading-h3:clamp(21px,2vw,25px);
}
body.single .dm-article-wrap,
body.single .dm-xg-story{
  width:100%!important;
  max-width:1200px!important;
  margin-inline:auto!important;
}
body.single .dm-xg-story-grid{
  width:100%!important;
  max-width:1100px!important;
  padding:clamp(16px,3vw,32px)!important;
  grid-template-columns:minmax(0,1fr)!important;
  box-sizing:border-box;
}
body.single .dm-xg-story-main{
  width:100%!important;
  max-width:100%!important;
  padding:clamp(6px,.9vw,13px)!important;
  box-sizing:border-box;
}
body.single .dm-article:not(.dm-article--editorial)>.dm-prose,
body.single .dm-article--editorial>.dm-prose--editorial,
body.single .dm-xg-story-main .dm-prose--xg{
  width:100%!important;
  max-width:var(--s411-reading-width)!important;
  margin-inline:auto!important;
  box-sizing:border-box;
  font-size:18px!important;
  line-height:1.75!important;
}
body.single .dm-prose--xg>:is(p,h2,h3,h4,ul,ol,blockquote){
  max-width:100%!important;
}
body.single :is(.dm-prose,.dm-prose--editorial,.dm-prose--xg) :is(p,li){
  font-size:inherit!important;
  line-height:1.75!important;
}
body.single .dm-prose--xg>p:first-child{font-size:inherit!important;line-height:1.75!important}
body.single :is(.dm-prose,.dm-prose--editorial,.dm-prose--xg) h2{
  font-size:var(--s411-article-heading-h2)!important;
  line-height:1.2!important;
  font-family:var(--s411-heading-font,"Exo 2",Inter,sans-serif)!important;
  font-weight:700!important;
  letter-spacing:-.03em!important;
  margin-top:1.9em!important;
  margin-bottom:.6em!important;
  color:var(--s411-ui-text)!important;
}
body.single :is(.dm-prose,.dm-prose--editorial,.dm-prose--xg) h3{
  font-size:var(--s411-article-heading-h3)!important;
  line-height:1.25!important;
  font-family:var(--s411-heading-font,"Exo 2",Inter,sans-serif)!important;
  font-weight:680!important;
  margin-top:1.65em!important;
  margin-bottom:.55em!important;
  color:var(--s411-ui-text)!important;
}
body.single :is(.dm-prose,.dm-prose--editorial,.dm-prose--xg) :is(h4,h5,h6){
  font-size:max(18px,1.05em)!important;
  line-height:1.32!important;
  color:var(--s411-ui-text)!important;
}
/* Editorial module headings can be nested in an h3 or h2; make both clearly
   larger than the surrounding reading copy. */
body.single .dm-editorial-module-head :is(h2,h3),
body.single .dm-b2-v2 .dm-editorial-module-head h3{
  font-size:clamp(22px,2.15vw,27px)!important;
  line-height:1.2!important;
  font-weight:700!important;
  margin:5px 0 8px!important;
}
@media(max-width:760px){
  body.single{
    --s411-reading-width:100%;
    --s411-article-heading-h2:clamp(24px,6.4vw,28px);
    --s411-article-heading-h3:clamp(21px,5.6vw,24px);
  }
  body.single .dm-xg-story-grid{padding:12px 10px 28px!important}
  body.single .dm-xg-story-main{padding:7px 10px!important}
  body.single .dm-article:not(.dm-article--editorial)>.dm-prose,
  body.single .dm-article--editorial>.dm-prose--editorial,
  body.single .dm-xg-story-main .dm-prose--xg{font-size:17px!important}
  body.single .dm-editorial-module-head :is(h2,h3),
  body.single .dm-b2-v2 .dm-editorial-module-head h3{font-size:22px!important}
}


/* Soccer 411 v0.20.12 — article container only; preserve both site rails.
   Deliberately do NOT change the universal shell grid or hide the right rail. */
@media (min-width:1101px){
  body.single.s411-universal-active .s411-universal-shell > .s411-universal-content{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.single.s411-universal-active .s411-universal-content > :is(main.dm-article-wrap,main.dm-xg-story){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:0!important;
  }
  body.single.s411-universal-active .dm-article-wrap > .dm-article{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
}


/* Soccer 411 v0.20.13 — article surface alignment only.
   Keep both sidebar/widget rails, content, templates and reading-column padding.
   Use smaller desktop gutters for article pages so their panels fill the
   available centre column more effectively without overlapping the rails. */
@media (min-width:1101px){
  /* Article grid geometry is owned by s411-universal.css (v0.20.18). */
  body.single.s411-universal-active .s411-universal-shell > .s411-universal-content{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
  body.single.s411-universal-active .s411-universal-content > :is(.dm-article-wrap,.dm-xg-story){
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    box-sizing:border-box!important;
  }
  body.single.s411-universal-active .s411-universal-content > .dm-article-wrap > .dm-article,
  body.single.s411-universal-active .s411-universal-content > .dm-xg-story > .dm-article{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    box-sizing:border-box!important;
  }
}


/* v0.20.14 — Single article editorial template contract.
   All post types share a full-bleed header inside the centre column, with
   a readable content section below. Keep both website rails unchanged. */
body.single .s411-article-unified-hero{
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:clamp(330px,32vw,470px);
  box-sizing:border-box;
  padding:clamp(26px,4vw,48px) clamp(20px,4vw,52px)!important;
  color:#f5f7fc!important;
  border:0!important;
  border-bottom:1px solid var(--s411-ui-line)!important;
  background:radial-gradient(ellipse at 20% 12%,rgba(34,100,160,.29),transparent 53%),
             radial-gradient(ellipse at 85% 35%,rgba(239,1,7,.20),transparent 45%),
             linear-gradient(120deg,#081729,#111827 76%,#0c1421)!important;
}
body.single .s411-article-unified-hero:not(.dm-xg-story-hero)::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:repeating-linear-gradient(104deg,transparent 0 48px,rgba(255,255,255,.025) 49px 50px);
  pointer-events:none;
}
body.single .s411-article-unified-hero__copy{
  max-width:820px;
  margin:auto;
  width:100%;
  text-align:center;
}
body.single .s411-article-unified-hero :is(h1,.dm-editorial-standfirst,.dm-editorial-kicker,.dm-editorial-meta,.dm-editorial-meta time,.dm-editorial-author strong,.dm-editorial-author small){
  color:#f5f7fc!important;
}
body.single .s411-article-unified-hero h1{
  font-family:var(--s411-heading-font,"Exo 2",Inter,sans-serif)!important;
  font-style:italic!important;
  font-weight:780!important;
  font-size:clamp(32px,3.5vw,54px)!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
  max-width:820px!important;
  margin:12px auto 0!important;
  overflow-wrap:normal;
  word-break:normal;
  text-wrap:balance;
}
body.single .s411-article-unified-hero .dm-editorial-kicker{
  display:inline-flex;
  margin:0 auto!important;
  padding:6px 10px;
  border-radius:6px;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.1em;
  text-transform:uppercase;
  background:#EF0107!important;
}
body.single .s411-article-unified-hero .dm-editorial-standfirst{
  font-size:clamp(16px,1.55vw,20px)!important;
  line-height:1.5!important;
  max-width:720px!important;
  margin:18px auto 0!important;
}
body.single .s411-article-unified-hero .dm-editorial-breadcrumbs{
  width:100%;
  max-width:820px!important;
  margin:0 auto 24px!important;
  color:#c2d2e3!important;
  padding:0!important;
  position:relative;
  z-index:2;
}
body.single .s411-article-unified-hero .dm-editorial-breadcrumbs :is(a,span,i){color:#d9e8f4!important}
body.single .s411-article-unified-hero .dm-editorial-byline{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap;
  width:min(100%,760px);
  gap:14px!important;
  margin:24px auto 0!important;
  padding:16px 0 0!important;
  border-top:1px solid rgba(255,255,255,.18)!important;
}
body.single .s411-article-unified-hero .dm-editorial-author{display:flex;align-items:center;gap:10px}
body.single .s411-article-unified-hero .dm-editorial-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.single .s411-article-unified-hero .dm-editorial-meta i{color:#aebdd0!important}
body.single .dm-article-wrap>.dm-article,
body.single .dm-xg-story>.dm-article{overflow:hidden}
body.single .dm-article-wrap>.dm-article>.dm-prose,
body.single .dm-article-wrap>.dm-article>.dm-prose--editorial{
  padding:clamp(7px,1.2vw,13px) clamp(5px,1.2vw,13px)!important;
  width:100%!important;
  max-width:820px!important;
  margin-inline:auto!important;
  box-sizing:border-box;
}
body.single .s411-article-featured-media{max-width:820px;margin:26px auto 0;padding-inline:clamp(12px,3vw,24px)}
body.single .s411-article-featured-media img{display:block;width:100%;height:auto;border-radius:14px;object-fit:cover}
@media(max-width:760px){
 body.single .s411-article-unified-hero{min-height:0;padding:30px 18px 32px!important}
 body.single .s411-article-unified-hero h1{font-size:clamp(27px,7.5vw,39px)!important;line-height:1.1!important}
 body.single .s411-article-unified-hero .dm-editorial-standfirst{font-size:16px!important}
 body.single .s411-article-unified-hero .dm-editorial-byline{justify-content:flex-start!important;align-items:flex-start!important}
 body.single .s411-article-unified-hero .dm-editorial-breadcrumbs{margin-bottom:20px!important}
 body.single .s411-article-featured-media{margin-top:18px}
 body.single .dm-article-wrap>.dm-article>.dm-prose,
 body.single .dm-article-wrap>.dm-article>.dm-prose--editorial{max-width:100%!important;padding:7px 10px!important}
}


/* v0.20.18: Article shell spacing is defined in s411-universal.css. */

/* v0.20.27 — article breadcrumbs and club-identity comparison board.
   Do not change article geometry or other scoreboards. */
body.single .dm-editorial-breadcrumbs [aria-current="page"],
body.single .s411-article-unified-hero .dm-editorial-breadcrumbs [aria-current="page"],
body.single .dm-xg-story-hero .dm-editorial-breadcrumbs [aria-current="page"]{
  color:#EF0107!important;
  font-weight:800!important;
}
body.single .dm-b2-control-v2 .dm-b2-control-crest{
  width:38px;height:38px;object-fit:contain;flex:0 0 38px;
  filter:drop-shadow(0 2px 5px rgba(0,0,0,.18));
}
body.single .dm-b2-control-v2 .dm-b2-control-side{min-width:0;flex-wrap:wrap;}
body.single .dm-b2-control-v2 .dm-b2-control-side span{overflow-wrap:normal;word-break:normal;}
body.single .dm-b2-control-v2 .dm-b2-control-track i{
  background:var(--dm-b2-home-color,#D71920)!important;
}
body.single .dm-b2-control-v2 .dm-b2-control-track em{
  background:var(--dm-b2-away-color,#102B50)!important;
}
@media(max-width:720px){
  body.single .dm-b2-control-v2 .dm-b2-control-scoreline{gap:7px!important;}
  body.single .dm-b2-control-v2 .dm-b2-control-side{gap:6px!important;}
  body.single .dm-b2-control-v2 .dm-b2-control-crest{width:26px;height:26px;flex-basis:26px;}
  body.single .dm-b2-control-v2 .dm-b2-control-side span{font-size:10px;}
}


/* Soccer 411 v0.20.30 — approved social-interaction active states.
 * Only colours/fill and reaction backgrounds change. Existing icon sizing,
 * hit areas, padding, counts, spacing, JS behaviour, navigation are unchanged.
 * Applies to feeds, articles, Team of the Week and matchday interactions.
 */
body :is(.dm-reaction, .dm-match-community-action):is(
  [data-dm-like], [data-dm-save], [data-dm-comments], [data-dm-share],
  [data-dm-match-like], [data-dm-match-save]
){
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
body :is(.dm-reaction, .dm-match-community-action):is(
  [data-dm-like], [data-dm-save], [data-dm-comments], [data-dm-share],
  [data-dm-match-like], [data-dm-match-save]
):is(:hover,:active,:focus-visible,.is-active,[aria-pressed="true"]){
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
/* Active state: icon and count red, never a red tile. */
body :is(.dm-reaction, .dm-match-community-action):is(
  [data-dm-like], [data-dm-save], [data-dm-comments], [data-dm-share],
  [data-dm-match-like], [data-dm-match-save]
):is(.is-active,[aria-pressed="true"]){
  color:#EF0107!important;
}
body :is(.dm-reaction, .dm-match-community-action):is(
  [data-dm-like], [data-dm-save], [data-dm-comments], [data-dm-share],
  [data-dm-match-like], [data-dm-match-save]
):is(.is-active,[aria-pressed="true"]) :is([data-count],[data-comment-count]){
  color:#EF0107!important;
}
/* Only the liked heart is solid; do not fill comment, save or share icons. */
body .dm-reaction[data-dm-like]:is(.is-active,[aria-pressed="true"]) svg,
body .dm-match-community-action[data-dm-like]:is(.is-active,[aria-pressed="true"]) svg{
  fill:#EF0107!important;
  stroke:#EF0107!important;
}
body :is(.dm-reaction, .dm-match-community-action):is([data-dm-save],[data-dm-comments],[data-dm-share]):is(.is-active,[aria-pressed="true"]) svg{
  fill:none!important;
  stroke:currentColor!important;
}
/* Existing outline size/geometry is kept; keyboard users still get focus. */
body :is(.dm-reaction, .dm-match-community-action):focus-visible{
  outline:2px solid #EF0107!important;
  outline-offset:2px!important;
}

/* Soccer 411 v0.20.33 — Match Centre header theme contrast (structure unchanged) */
.dm-match-centre-v2 .dm-match-header-v2{
  background:var(--s411-ui-surface-raised,#fff)!important;
  border-bottom:1px solid var(--s411-ui-border,rgba(92,110,135,.22));
  color:var(--s411-ui-text,#172641);
}
.dm-match-centre-v2 .dm-match-competition-badge{
  color:var(--s411-ui-text,#172641)!important;
  background:var(--s411-ui-surface,#f3f5f8)!important;
  border-color:var(--s411-ui-border,rgba(92,110,135,.3))!important;
}
.dm-match-centre-v2 .dm-match-team strong,
.dm-match-centre-v2 .dm-match-scoreline strong{
  color:var(--s411-ui-text,#172641)!important;
}
.dm-match-centre-v2 .dm-match-scorers,
.dm-match-centre-v2 .dm-match-context-row,
.dm-match-centre-v2 .dm-match-score-caption{
  color:var(--s411-ui-muted,#66758d)!important;
}
.dm-match-centre-v2 .dm-match-state-chip,
.dm-match-centre-v2 .dm-match-status:not(.is-live){
  background:var(--s411-ui-surface,#eff2f7)!important;
  color:var(--s411-ui-text,#172641)!important;
  border:1px solid var(--s411-ui-border,rgba(92,110,135,.25));
}
html[data-s411-effective-theme="dark"] .dm-match-centre-v2 .dm-match-header-v2{
  background:#1b2331!important;
  border-color:#39475b!important;
  color:#f4f7fd!important;
}
html[data-s411-effective-theme="dark"] .dm-match-centre-v2 .dm-match-competition-badge,
html[data-s411-effective-theme="dark"] .dm-match-centre-v2 .dm-match-state-chip,
html[data-s411-effective-theme="dark"] .dm-match-centre-v2 .dm-match-status:not(.is-live){
  background:#283346!important;
  border-color:#47566e!important;
  color:#eef3fa!important;
}
html[data-s411-effective-theme="dark"] .dm-match-centre-v2 .dm-match-team strong,
html[data-s411-effective-theme="dark"] .dm-match-centre-v2 .dm-match-scoreline strong{
  color:#f4f7fd!important;
}
html[data-s411-effective-theme="dark"] .dm-match-centre-v2 .dm-match-scorers,
html[data-s411-effective-theme="dark"] .dm-match-centre-v2 .dm-match-context-row,
html[data-s411-effective-theme="dark"] .dm-match-centre-v2 .dm-match-score-caption{
  color:#bdc9db!important;
}


/* v0.20.34 — match overview: data-led story; no impact on other Match Centre tabs. */
.dm-match-centre-v2 .dm-match-overview-story{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;color:var(--s411-ui-text,var(--text))}
.dm-match-centre-v2 .dm-match-overview-story .dm-match-overview-card{min-width:0;padding:20px;border-radius:16px;background:var(--s411-ui-surface);border:1px solid var(--s411-ui-border,var(--line));box-shadow:none}
.dm-match-centre-v2 .dm-match-overview-story .dm-kicker{display:block;margin:0 0 7px;color:#ef0107!important;font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.dm-match-centre-v2 .dm-match-overview-story h2{margin:0;color:var(--s411-ui-text,var(--text))!important;font-size:clamp(17px,2vw,23px);line-height:1.25}
.dm-match-centre-v2 .dm-match-overview-story p{margin:10px 0 0;color:var(--s411-ui-muted,var(--muted))!important;font-size:14px;line-height:1.65}
.dm-match-centre-v2 .dm-match-overview-story .dm-ov-verdict{padding:25px 24px;border-left:3px solid #ef0107}
.dm-match-centre-v2 .dm-match-overview-story .dm-match-module-heading{display:flex;justify-content:space-between;align-items:start;gap:10px;margin:0 0 18px}
.dm-match-centre-v2 .dm-match-overview-story .dm-match-module-link{color:#ef0107!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;font-size:11px;line-height:1.4;font-weight:750;white-space:nowrap}
.dm-match-centre-v2 .dm-ov-number-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dm-match-centre-v2 .dm-ov-number{display:grid;gap:5px;min-width:0;padding:13px;background:var(--s411-ui-surface-raised);border:1px solid var(--s411-ui-border,var(--line));border-radius:10px}
.dm-match-centre-v2 .dm-ov-number small{font-size:11px;color:var(--s411-ui-muted,var(--muted))}
.dm-match-centre-v2 .dm-ov-number strong{font-size:19px;font-weight:850;font-variant-numeric:tabular-nums;color:var(--s411-ui-text,var(--text))}
.dm-match-centre-v2 .dm-ov-number strong span{color:#ef0107}
.dm-match-centre-v2 .dm-ov-number>span{font-size:10px;line-height:1.4;color:var(--s411-ui-muted,var(--muted))}
.dm-match-centre-v2 .dm-ov-moment-list{padding:0;margin:0;list-style:none;display:grid;gap:8px}
.dm-match-centre-v2 .dm-ov-moment-list li{display:grid;grid-template-columns:54px minmax(0,1fr);gap:9px;align-items:start;padding:11px 0;border-bottom:1px solid var(--s411-ui-border,var(--line))}
.dm-match-centre-v2 .dm-ov-moment-list li:last-child{border-bottom:0}
.dm-match-centre-v2 .dm-ov-moment-list time{color:#ef0107;font-size:14px;font-weight:800}
.dm-match-centre-v2 .dm-ov-moment-list li div{display:grid;gap:3px;min-width:0}
.dm-match-centre-v2 .dm-ov-moment-list strong{font-size:13px;color:var(--s411-ui-text,var(--text))}
.dm-match-centre-v2 .dm-ov-moment-list li span{font-size:11px;color:var(--s411-ui-muted,var(--muted));line-height:1.5}
.dm-match-centre-v2 .dm-ov-performer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dm-match-centre-v2 .dm-ov-performer{display:flex;gap:11px;align-items:center;min-width:0;padding:12px;background:var(--s411-ui-surface-raised);border:1px solid var(--s411-ui-border,var(--line));border-radius:12px}
.dm-match-centre-v2 .dm-ov-performer img,.dm-match-centre-v2 .dm-ov-performer-fallback{width:52px;height:52px;flex:0 0 52px;object-fit:cover;border-radius:50%;background:var(--s411-ui-border,var(--line))}
.dm-match-centre-v2 .dm-ov-performer-fallback{display:grid;place-items:center;color:var(--s411-ui-muted,var(--muted))}
.dm-match-centre-v2 .dm-ov-performer>div{display:grid;gap:4px;min-width:0}
.dm-match-centre-v2 .dm-ov-performer strong{font-size:13px;color:var(--s411-ui-text,var(--text));line-height:1.35}
.dm-match-centre-v2 .dm-ov-performer small,.dm-match-centre-v2 .dm-ov-performer div>span{font-size:11px;line-height:1.35;color:var(--s411-ui-muted,var(--muted))}
@media(max-width:720px){.dm-match-centre-v2 .dm-match-overview-story .dm-match-overview-card{padding:16px}.dm-match-centre-v2 .dm-ov-performer-grid{grid-template-columns:1fr}.dm-match-centre-v2 .dm-ov-number strong{font-size:17px}.dm-match-centre-v2 .dm-match-overview-story .dm-match-module-heading{flex-wrap:wrap}}


/* v0.20.36 — Match Centre Player Stats, approved visual-only refinement.
   Scope: existing team switcher and player table; retain player row click behaviour. */
.dm-match-centre-v2 .dm-player-stats-switcher{
  display:flex;flex-wrap:wrap;gap:18px;align-items:center;
  margin-bottom:12px;border-bottom:1px solid var(--s411-ui-border,var(--line));
}
.dm-match-centre-v2 .dm-player-stats-team-tab{
  appearance:none;position:relative;min-height:42px;padding:7px 0 11px!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:transparent!important;color:var(--s411-ui-muted,var(--muted))!important;
  font-size:12px;font-weight:700;line-height:1.25;cursor:pointer;
}
.dm-match-centre-v2 .dm-player-stats-team-tab.is-active,
.dm-match-centre-v2 .dm-player-stats-team-tab[aria-selected="true"]{
  color:#EF0107!important;background:transparent!important;
}
.dm-match-centre-v2 .dm-player-stats-team-tab.is-active::after,
.dm-match-centre-v2 .dm-player-stats-team-tab[aria-selected="true"]::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;
  background:#EF0107;border-radius:3px 3px 0 0;
}
.dm-match-centre-v2 .dm-player-stats-team-tab:focus-visible{
  outline:2px solid #EF0107!important;outline-offset:3px;
}
.dm-match-centre-v2 .dm-player-stats-team{min-width:0}
.dm-match-centre-v2 .dm-player-stats-table{
  overflow-x:auto!important;overflow-y:hidden;max-width:100%;min-width:0;
  border:1px solid var(--s411-ui-border,var(--line))!important;
  border-radius:12px;background:var(--s411-ui-surface)!important;
  scrollbar-width:thin;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
}
.dm-match-centre-v2 .dm-player-stats-row{
  display:grid!important;
  grid-template-columns:minmax(174px,1.55fr) 48px 42px 34px 34px 42px 46px 54px 40px 40px 44px 56px!important;
  gap:2px;min-width:850px!important;width:100%;min-height:49px;
  padding:0 12px!important;border:0!important;
  border-bottom:1px solid var(--s411-ui-border,var(--line))!important;
  border-radius:0!important;box-shadow:none!important;
  background:var(--s411-ui-surface)!important;
  color:var(--s411-ui-text,var(--text))!important;
  font-size:11px;font-variant-numeric:tabular-nums;
}
.dm-match-centre-v2 .dm-player-stats-row:last-child{border-bottom:0!important}
.dm-match-centre-v2 .dm-player-stats-row--head{
  min-height:42px;background:var(--s411-ui-surface-raised)!important;
  color:var(--s411-ui-muted,var(--muted))!important;font-weight:800;cursor:default;
}
.dm-match-centre-v2 .dm-player-stats-row>span,
.dm-match-centre-v2 .dm-player-stats-row>strong{
  color:inherit!important;font-size:inherit;opacity:1!important;
}
.dm-match-centre-v2 .dm-player-stats-row--head>span{color:var(--s411-ui-muted,var(--muted))!important}
.dm-match-centre-v2 .dm-player-stats-row .dm-player-stat-name{
  position:sticky;left:0;z-index:2;display:flex;align-items:center;gap:7px;
  padding:4px 9px 4px 0;min-width:0;
  background:var(--s411-ui-surface)!important;
  color:var(--s411-ui-text,var(--text))!important;text-align:left!important;
}
.dm-match-centre-v2 .dm-player-stats-row--head>span:first-child{
  position:sticky;left:0;z-index:3;padding:4px 9px 4px 0;
  background:var(--s411-ui-surface-raised)!important;text-align:left!important;
}
.dm-match-centre-v2 .dm-player-stats-row .dm-player-stat-name img{width:28px;height:28px;flex:0 0 28px}
.dm-match-centre-v2 .dm-player-stats-row .dm-player-stat-positive{
  color:#EF0107!important;font-weight:850!important;
}
.dm-match-centre-v2 .dm-player-stats-row .dm-player-stat-rating{
  color:#244d17!important;font-weight:900!important;
}
@media(max-width:720px){
  /* Override the legacy three-column mobile collapse: retain all statistics in scroll. */
  .dm-match-centre-v2 .dm-player-stats-row{
    grid-template-columns:180px 48px 42px 34px 34px 42px 46px 54px 40px 40px 44px 56px!important;
    min-width:760px!important;
  }
  .dm-match-centre-v2 .dm-player-stats-row .dm-player-stat-cell--deep{display:block!important}
  .dm-match-centre-v2 .dm-player-stats-row--head span:nth-child(1),
  .dm-match-centre-v2 .dm-player-stats-row--head span:nth-child(3),
  .dm-match-centre-v2 .dm-player-stats-row--head span:last-child,
  .dm-match-centre-v2 .dm-player-stat-rating{grid-column:auto!important}
}

/* Match Centre v0.20.38: projection provenance and factual availability. */
.dm-match-centre .dm-lineup-disclosure,
.dm-match-centre .dm-lineup-availability{border:1px solid var(--s411-ui-border, #394357);border-radius:14px;padding:16px;margin:0 0 16px;background:var(--s411-ui-surface-raised, #202a39);color:var(--s411-ui-text, #e8edf5)}
.dm-match-centre .dm-lineup-disclosure strong{font-size:12px;letter-spacing:.05em;color:#EF0107}
.dm-match-centre .dm-lineup-disclosure p,.dm-match-centre .dm-lineup-availability p{font-size:13px;line-height:1.55;margin:8px 0;color:var(--s411-ui-text, #e8edf5)}
.dm-match-centre .dm-lineup-disclosure small{font-size:11px;color:var(--s411-ui-text-muted, #aebbd0)}
.dm-match-centre .dm-lineup-availability h3{font-size:17px;margin:0 0 12px;color:var(--s411-ui-text, #e8edf5)}
.dm-match-centre .dm-lineup-availability-list{display:grid;gap:8px}
.dm-match-centre .dm-lineup-availability-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 12px;padding:10px 0;border-top:1px solid var(--s411-ui-border, #394357);font-size:13px}
.dm-match-centre .dm-lineup-availability-row span{color:var(--s411-ui-text-muted, #aebbd0)}

/* v0.20.42 — Club hero uses the club container, not viewport width.
   Preserve the original three-column visual at real desktop card widths;
   fit crests to their assigned tracks and reserve stacking for narrow cards. */
@media (min-width:761px){
  body .dm-football-club-page{container-type:inline-size;container-name:s411-club}
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-identity{
    min-width:0!important;width:auto!important;max-width:100%!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-identity h1{
    font-size:clamp(1.65rem,2.35vw,2.2rem)!important;
    white-space:normal!important;text-wrap:balance!important;
    overflow-wrap:break-word!important;word-break:normal!important;
    line-height:1.08!important;max-width:100%!important;
    margin:3px 0 7px!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-football-club-position{min-width:0!important}
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-football-club-position>strong{
    font-family:inherit!important;font-weight:850!important;font-style:italic!important;
    font-size:clamp(1.75rem,2.4vw,2.25rem)!important;
    line-height:1!important;letter-spacing:-.04em!important;
  }
}
@container s411-club (min-width:760px){
  body .dm-football-club-page .dm-club-home-hero.has-club-brand{
    display:grid!important;
    grid-template-columns:100px minmax(0,1fr) minmax(220px, .65fr)!important;
    grid-template-areas:"crest identity position" "crest actions position"!important;
    column-gap:18px!important;row-gap:9px!important;
    align-items:center!important;
    min-height:230px!important;
    padding:24px 25px!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-crest{
    grid-area:crest!important;width:100px!important;height:100px!important;
    max-width:100%!important;object-fit:contain!important;justify-self:center!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-identity{
    grid-area:identity!important;align-self:end!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-identity-actions{
    grid-area:actions!important;align-self:start!important;max-width:100%!important;
    margin-top:2px!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-football-club-position{
    grid-area:position!important;width:100%!important;
    padding:8px 0 7px 16px!important;margin:0!important;
    border-left:1px solid color-mix(in srgb,var(--dm-club-on-primary) 22%,transparent)!important;
    border-top:0!important;align-self:stretch!important;
    align-content:center!important;
  }
}
@container s411-club (max-width:759px){
  body .dm-football-club-page .dm-club-home-hero.has-club-brand{
    display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;
    grid-template-areas:"crest identity" "actions actions" "position position"!important;
    column-gap:15px!important;row-gap:10px!important;
    padding:20px!important;min-height:0!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-crest{
    grid-area:crest!important;width:86px!important;height:86px!important;
    max-width:100%!important;object-fit:contain!important;
  }
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-home-identity{grid-area:identity!important}
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-club-identity-actions{grid-area:actions!important;justify-self:start!important}
  body .dm-football-club-page .dm-club-home-hero.has-club-brand .dm-football-club-position{
    grid-area:position!important;padding:12px 0 0!important;margin:0!important;
    border-top:1px solid color-mix(in srgb,var(--dm-club-on-primary) 22%,transparent)!important;
    border-left:0!important;width:100%!important;
  }
}

/* Soccer 411 v0.20.43 — readable club section navigation in dark mode.
   Scope: club tabs only; keep existing selected underline and layout. */
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-club-section-nav a {
  color:#C5D0E1!important;
  background:transparent!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-club-section-nav a:is(:hover,:focus-visible) {
  color:#FFFFFF!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-club-section-nav a.is-active,
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-club-section-nav a[aria-current="page"],
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-club-section-nav a[aria-selected="true"] {
  color:#FFFFFF!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-club-section-nav a.is-active::after,
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-club-section-nav a[aria-current="page"]::after {
  background:#EF0107!important;
}


/* v0.20.44 — Club Competition Snapshot: full-width, source-backed cards.
   Scoped to this component; no club hero, honours or global sidebar changes. */
body .dm-club-competition-snapshot__rail{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;grid-auto-columns:auto!important;
  gap:12px!important;overflow:visible!important;scroll-snap-type:none!important;
  padding:0!important;margin:0!important;
}
body .dm-club-competition-snapshot__card{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:flex-start!important;text-align:left!important;width:100%!important;
  min-width:0!important;min-height:0!important;padding:16px 18px!important;
  border-radius:16px!important;gap:13px!important;overflow:hidden!important;
  text-decoration:none!important;box-sizing:border-box!important;
}
body .dm-club-competition-snapshot__card::after{height:0!important;display:none!important}
body .dm-club-competition-snapshot__top{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:center;gap:20px;width:100%;min-width:0;
}
body .dm-club-competition-snapshot__identity{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  gap:14px!important;width:auto!important;min-width:0!important;text-align:left!important;
}
body .dm-club-competition-snapshot__identity::before{display:none!important}
body .dm-club-competition-snapshot__logo{
  width:62px;height:62px;flex:0 0 62px;display:grid;place-items:center;
  background:#f3f5f8;border:1px solid #dbe2e9;border-radius:13px;
}
body .dm-club-competition-snapshot__logo img,
body .dm-club-competition-snapshot__logo i{
  display:block;width:46px!important;height:46px!important;max-width:46px!important;
  max-height:46px!important;object-fit:contain!important;filter:none!important;opacity:1!important;
  background:transparent!important;color:#4c5769!important;
}
body .dm-club-competition-snapshot__naming{display:flex;flex-direction:column;gap:3px;min-width:0}
body .dm-club-competition-snapshot__naming strong{
  display:block!important;min-height:0!important;overflow:visible!important;
  font-size:16px!important;line-height:1.25!important;text-align:left!important;
  padding:0!important;overflow-wrap:break-word!important;
}
body .dm-club-competition-snapshot__naming small{font-size:12px;color:var(--s411-ui-muted)}
body .dm-club-competition-snapshot__status{
  display:flex!important;align-items:flex-end!important;width:auto!important;
  min-width:90px;max-width:42%;margin:0!important;gap:4px!important;text-align:right!important;
}
body .dm-club-competition-snapshot__status>strong{
  color:var(--s411-ui-text)!important;font-size:clamp(19px,2.4vw,27px)!important;
  font-weight:850!important;line-height:1.13!important;letter-spacing:-.02em!important;
  text-align:right!important;overflow-wrap:break-word;
}
body .dm-club-competition-snapshot__status>small{
  color:var(--s411-ui-muted)!important;font-size:11px!important;
  text-align:right!important;min-height:0!important;max-width:none!important;
}
body .dm-club-competition-snapshot__details{
  display:flex;flex-wrap:wrap;gap:18px;align-items:center;
  border-top:1px solid var(--s411-ui-line);padding-top:11px;width:100%;
}
body .dm-club-competition-snapshot__metric{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:56px}
body .dm-club-competition-snapshot__metric b{font-size:20px;line-height:1.1;color:var(--s411-ui-text)}
body .dm-club-competition-snapshot__metric small,
body .dm-club-competition-snapshot__next small{font-size:11px;color:var(--s411-ui-muted)}
body .dm-club-competition-snapshot__next{display:flex;flex-direction:column;gap:3px;min-width:0;margin-left:auto}
body .dm-club-competition-snapshot__next b{font-size:13px;line-height:1.3;color:var(--s411-ui-text)}
body .dm-club-competition-snapshot__next time{font-size:12px;color:var(--s411-ui-muted)}
body .dm-club-competition-snapshot__empty{font-size:12px;color:var(--s411-ui-muted)}
@media(max-width:600px){
  body .dm-club-competition-snapshot__card{padding:13px!important;gap:12px!important}
  body .dm-club-competition-snapshot__top{gap:10px!important}
  body .dm-club-competition-snapshot__identity{gap:10px!important}
  body .dm-club-competition-snapshot__logo{width:48px;height:48px;flex-basis:48px;border-radius:10px}
  body .dm-club-competition-snapshot__logo img,
  body .dm-club-competition-snapshot__logo i{width:36px!important;height:36px!important}
  body .dm-club-competition-snapshot__naming strong{font-size:13px!important}
  body .dm-club-competition-snapshot__naming small{font-size:10px}
  body .dm-club-competition-snapshot__status{min-width:64px;max-width:40%}
  body .dm-club-competition-snapshot__status>strong{font-size:18px!important}
  body .dm-club-competition-snapshot__details{gap:12px}
  body .dm-club-competition-snapshot__next{margin-left:0;width:100%}
}

/* Soccer 411 v0.20.45 — compact, full-width club competition snapshot.
   Keep every verified field, competition-specific logo and single-column card rail. */
body .dm-club-competition-snapshot__rail{
  gap:9px!important;
}
body .dm-club-competition-snapshot__card{
  padding:11px 14px!important;
  gap:8px!important;
  border-radius:13px!important;
}
body .dm-club-competition-snapshot__top{
  gap:12px!important;
}
body .dm-club-competition-snapshot__identity{
  gap:11px!important;
}
body .dm-club-competition-snapshot__logo{
  width:46px!important;height:46px!important;flex:0 0 46px!important;
  border-radius:10px!important;
}
body .dm-club-competition-snapshot__logo img,
body .dm-club-competition-snapshot__logo i{
  width:35px!important;height:35px!important;max-width:35px!important;max-height:35px!important;
}
body .dm-club-competition-snapshot__naming{gap:1px!important}
body .dm-club-competition-snapshot__naming strong{
  font-size:14px!important;line-height:1.2!important;
}
body .dm-club-competition-snapshot__naming small{
  font-size:11px!important;line-height:1.2!important;
}
body .dm-club-competition-snapshot__status{
  min-width:0!important;max-width:48%!important;gap:2px!important;
}
body .dm-club-competition-snapshot__status>strong{
  font-size:22px!important;line-height:1.1!important;
}
body .dm-club-competition-snapshot__status>small{
  font-size:10px!important;line-height:1.15!important;
}
body .dm-club-competition-snapshot__details{
  gap:12px!important;padding-top:7px!important;
}
body .dm-club-competition-snapshot__metric{gap:1px!important;min-width:54px!important}
body .dm-club-competition-snapshot__metric b{font-size:17px!important}
body .dm-club-competition-snapshot__metric small,
body .dm-club-competition-snapshot__next small{font-size:10px!important}
body .dm-club-competition-snapshot__next{gap:1px!important}
body .dm-club-competition-snapshot__next b{font-size:12px!important;line-height:1.2!important}
body .dm-club-competition-snapshot__next time{font-size:11px!important}
@media(min-width:601px){
  body .dm-club-competition-snapshot__status>strong{white-space:nowrap!important}
}
@media(max-width:600px){
  body .dm-club-competition-snapshot__card{padding:10px 11px!important;gap:8px!important}
  body .dm-club-competition-snapshot__logo{
    width:40px!important;height:40px!important;flex-basis:40px!important;
  }
  body .dm-club-competition-snapshot__logo img,
  body .dm-club-competition-snapshot__logo i{
    width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important;
  }
  body .dm-club-competition-snapshot__identity{gap:8px!important}
  body .dm-club-competition-snapshot__naming strong{font-size:12px!important}
  body .dm-club-competition-snapshot__naming small{font-size:10px!important}
  body .dm-club-competition-snapshot__status{max-width:43%!important}
  body .dm-club-competition-snapshot__status>strong{font-size:17px!important}
  body .dm-club-competition-snapshot__details{gap:10px!important}
  body .dm-club-competition-snapshot__next{width:auto!important;margin-left:auto!important}
}


/* v0.20.51 — Club Comparison / Recent Meetings: explicit dual-mode
   surfaces and contrast. Avoid inherited light/dark colours in score chips. */
body .dm-vs-page-v4 .dm-vs-meeting-v4{
  color:#17243a!important;
  background:#ffffff!important;
  border-color:#d3dce7!important;
}
body .dm-vs-page-v4 .dm-vs-meeting-v4 :is(b,time){color:#34465e!important}
body .dm-vs-page-v4 .dm-vs-meeting-v4 strong{
  color:#17243a!important;
  background:#e9eef5!important;
  border:1px solid #cdd8e5!important;
}
body .dm-vs-page-v4 .dm-vs-meeting-v4 em{color:#b60009!important}
html[data-s411-effective-theme="dark"] body .dm-vs-page-v4 .dm-vs-meeting-v4{
  color:#f3f7ff!important;
  background:#1c2534!important;
  border-color:#3a495f!important;
}
html[data-s411-effective-theme="dark"] body .dm-vs-page-v4 .dm-vs-meeting-v4 b{color:#f3f7ff!important}
html[data-s411-effective-theme="dark"] body .dm-vs-page-v4 .dm-vs-meeting-v4 time{color:#b9c8dc!important}
html[data-s411-effective-theme="dark"] body .dm-vs-page-v4 .dm-vs-meeting-v4 strong{
  color:#ffffff!important;
  background:#2b394c!important;
  border-color:#485a72!important;
}
html[data-s411-effective-theme="dark"] body .dm-vs-page-v4 .dm-vs-meeting-v4 em{color:#ff747b!important}

/* v0.20.53 – stable, high-contrast competition identity across football surfaces.
   An opaque, neutral logo plate preserves the official badge's original colours;
   the logo itself is never inverted or recoloured. */
body :is(
 .dm-football-hub-competition__badge,
 .dm-football-hub-featured-competition__badge,
 .dm-football-hub-stats__badge,
 .dm-club-competition-snapshot__logo,
 .dm-competition-hero-v2__badge,
 .dm-competition-mobile-identity__badge
){
  background:#f3f5f8!important;
  background-image:none!important;
  border:1px solid #d7e0ea!important;
  box-shadow:none!important;
  color:#263349!important;
  overflow:hidden;
  box-sizing:border-box!important;
}
body :is(
 .dm-football-hub-competition__badge,
 .dm-football-hub-featured-competition__badge,
 .dm-football-hub-stats__badge,
 .dm-club-competition-snapshot__logo,
 .dm-competition-hero-v2__badge,
 .dm-competition-mobile-identity__badge
) :is(img,svg){
  object-fit:contain!important;
  max-width:82%!important;
  max-height:82%!important;
  filter:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
}
body :is(
 .dm-football-hub-competition__badge,
 .dm-football-hub-featured-competition__badge,
 .dm-football-hub-stats__badge,
 .dm-competition-hero-v2__badge,
 .dm-competition-mobile-identity__badge
) b{color:#263349!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-hub-competition__badge,
 .dm-football-hub-featured-competition__badge,
 .dm-football-hub-stats__badge,
 .dm-club-competition-snapshot__logo,
 .dm-competition-hero-v2__badge,
 .dm-competition-mobile-identity__badge
){
  background:#f3f5f8!important;
  border-color:#d7e0ea!important;
  color:#263349!important;
}
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-hub-competition__badge,
 .dm-football-hub-featured-competition__badge,
 .dm-football-hub-stats__badge,
 .dm-competition-hero-v2__badge,
 .dm-competition-mobile-identity__badge
) b{color:#263349!important}

/* v0.20.65 – verified mode-aware feed cards and team benches. */
html[data-s411-effective-theme="dark"] .dm-following-matchday,
html[data-s411-effective-theme="dark"] .dm-lineup-substitutes{background:#1a202c!important;color:#f3f6fc!important;border-color:#3b475b!important}
html[data-s411-effective-theme="dark"] .dm-following-matchday__fixture,
html[data-s411-effective-theme="dark"] .dm-following-matchday__comp,
html[data-s411-effective-theme="dark"] .dm-lineup-substitutes .dm-bench-chip,
html[data-s411-effective-theme="dark"] .dm-md-substitutions-team{background:#222c3b!important;color:#f3f6fc!important;border-color:#3b475b!important}
html[data-s411-effective-theme="dark"] .dm-following-matchday :is(h2,h3,.dm-following-matchday__team,.dm-following-matchday__score,.dm-following-matchday__score b,.dm-following-matchday__comphead),
html[data-s411-effective-theme="dark"] .dm-lineup-bench-team-head :is(strong,small),
html[data-s411-effective-theme="dark"] .dm-bench-chip .dm-bench-name{color:#f3f6fc!important}
html[data-s411-effective-theme="dark"] .dm-following-matchday__score small,
html[data-s411-effective-theme="dark"] .dm-lineup-substitutes .dm-bench-meta{color:#bdc8d9!important}
html:not([data-s411-effective-theme="dark"]) .dm-following-matchday,
html:not([data-s411-effective-theme="dark"]) .dm-lineup-substitutes{background:#fff!important;color:#192b44!important;border-color:#d6dee9!important}
html:not([data-s411-effective-theme="dark"]) .dm-following-matchday__fixture,
html:not([data-s411-effective-theme="dark"]) .dm-lineup-substitutes .dm-bench-chip,
html:not([data-s411-effective-theme="dark"]) .dm-md-substitutions-team{background:#f4f7fa!important;color:#192b44!important;border-color:#d6dee9!important}
html:not([data-s411-effective-theme="dark"]) .dm-following-matchday :is(h2,h3,.dm-following-matchday__team,.dm-following-matchday__score,.dm-following-matchday__score b,.dm-following-matchday__comphead),
html:not([data-s411-effective-theme="dark"]) .dm-lineup-bench-team-head :is(strong,small),
html:not([data-s411-effective-theme="dark"]) .dm-bench-chip .dm-bench-name{color:#192b44!important}
html:not([data-s411-effective-theme="dark"]) .dm-following-matchday__score small,
html:not([data-s411-effective-theme="dark"]) .dm-lineup-substitutes .dm-bench-meta{color:#53657b!important}


/* v0.20.69 — premium compact matchday: one fixture per full-width row.
   Scoped to matchday page to preserve other football components. */
body .dm-matchday-page .dm-matchday-grid,
body .dm-matchday-page .dm-matchday-grid.is-compact {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:7px!important;
}
body .dm-matchday-page .dm-matchday-fixture,
body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-fixture {
  display:block!important;
  min-width:0;
  padding:10px 13px 9px!important;
  border-radius:12px!important;
  overflow:hidden;
}
body .dm-matchday-page .dm-matchday-fixture-main,
body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-fixture-main {
  display:block!important;
  min-width:0;
}
body .dm-matchday-page .dm-matchday-meta,
body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-meta {
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  min-width:0;
  gap:10px;
  margin:0 0 5px!important;
}
body .dm-matchday-page .dm-matchday-competition {
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:10px;
}
body .dm-matchday-page .dm-matchday-status {flex:0 0 auto;justify-self:auto;}
body .dm-matchday-page .dm-matchday-teams,
body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-teams {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(80px,96px) minmax(0,1fr)!important;
  align-items:center;
  column-gap:11px!important;
  min-width:0;
  width:100%;
  text-decoration:none;
}
body .dm-matchday-page .dm-matchday-team,
body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-team {
  display:flex!important;
  align-items:center;
  min-width:0;
  gap:8px!important;
}
body .dm-matchday-page .dm-matchday-team.is-home {justify-content:flex-end!important;text-align:right!important;}
body .dm-matchday-page .dm-matchday-team.is-away {justify-content:flex-start!important;text-align:left!important;}
body .dm-matchday-page .dm-matchday-team img,
body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-team img {
  display:block;
  width:27px!important;
  height:27px!important;
  flex:0 0 27px!important;
  object-fit:contain;
}
body .dm-matchday-page .dm-matchday-team b,
body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-team b {
  display:block;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:12px!important;
  line-height:1.25;
  font-weight:750;
}
body .dm-matchday-page .dm-matchday-score,
body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-score {
  display:flex!important;
  align-items:center;
  justify-content:center;
  width:100%!important;
  min-width:0;
  min-height:31px!important;
  padding:0 6px!important;
  border-radius:8px!important;
  font-size:13px!important;
  line-height:1.1;
  letter-spacing:-.02em;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
body .dm-matchday-page .dm-matchday-score time {white-space:nowrap;font:inherit;color:inherit;}
body .dm-matchday-page .dm-matchday-detail-line,
body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-detail-line {
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:0!important;
  margin:3px 0 0!important;
  padding:0!important;
  font-size:10px;
  line-height:1.15;
  text-align:center;
}
body .dm-matchday-page .dm-matchday-detail-line:has(>span[hidden]):not(:has(small)){display:none!important;}
body .dm-matchday-page .dm-matchday-detail-line small {font-size:10px;max-width:100%;}
body .dm-matchday-page .dm-matchday-community,
body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-community {
  display:flex!important;
  flex-direction:row-reverse;
  align-items:center;
  justify-content:space-between;
  width:100%!important;
  min-width:0!important;
  margin:6px 0 0!important;
  padding:6px 0 0!important;
  gap:8px;
  border-top:1px solid var(--s411-ui-border,#dbe2eb)!important;
}
body .dm-matchday-page .dm-matchday-open,
body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-open {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px!important;
  margin:0!important;
  padding:0 10px!important;
  border-radius:999px;
  font-size:10px;
  line-height:1.2;
}
body .dm-matchday-page .dm-matchday-reactions {display:flex;align-items:center;gap:4px;flex:0 0 auto;}
body .dm-matchday-page .dm-matchday-reactions .dm-reaction {min-height:26px;}
@media(max-width:560px){
  body .dm-matchday-page .dm-matchday-fixture,
  body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-fixture{padding:9px 10px 8px!important;}
  body .dm-matchday-page .dm-matchday-teams,
  body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-teams{
    grid-template-columns:minmax(0,1fr) minmax(76px,88px) minmax(0,1fr)!important;
    gap:5px!important;
  }
  body .dm-matchday-page .dm-matchday-team,
  body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-team{
    display:flex!important;
    flex-direction:column;
    justify-content:center!important;
    align-items:center;
    text-align:center!important;
    gap:3px!important;
  }
  body .dm-matchday-page .dm-matchday-team img,
  body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-team img{
    order:0!important;
    width:25px!important;height:25px!important;flex:0 0 25px!important;
  }
  body .dm-matchday-page .dm-matchday-team b,
  body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-team b{
    order:1!important;
    font-size:10.5px!important;
    text-align:center!important;
  }
  body .dm-matchday-page .dm-matchday-score,
  body .dm-matchday-page .dm-matchday-grid.is-compact .dm-matchday-score{
    min-height:30px!important;font-size:12px!important;padding:0 3px!important;
  }
}
/* Both modes: inherited text, clear team names, restrained score tile. */
html[data-s411-effective-theme="light"] body .dm-matchday-page .dm-matchday-fixture,
html:not([data-s411-effective-theme="dark"]) body .dm-matchday-page .dm-matchday-fixture{
  background:var(--s411-ui-surface,#fff);color:var(--s411-ui-text,#182338);
}
html[data-s411-effective-theme="dark"] body .dm-matchday-page .dm-matchday-fixture{
  background:var(--s411-fixture-panel,#1a202c)!important;
  border-color:var(--s411-fixture-stroke,#354053)!important;
  color:var(--s411-fixture-text,#f1f3f8)!important;
}
html[data-s411-effective-theme="dark"] body .dm-matchday-page .dm-matchday-team b,
html[data-s411-effective-theme="dark"] body .dm-matchday-page .dm-matchday-score{
  color:var(--s411-fixture-text,#f1f3f8)!important;
}
html[data-s411-effective-theme="dark"] body .dm-matchday-page .dm-matchday-community{
  border-color:var(--s411-fixture-stroke,#354053)!important;
}

/* Soccer 411 v0.20.70 — Matchday feed card: verified light/dark contrast,
   and a true single-column mobile companion fixture list. */
html[data-s411-effective-theme="light"] body .dm-live-win-probability,
html:not([data-s411-effective-theme]) body .dm-live-win-probability{
  background:#f5f7fb!important;border-color:#d8e0eb!important;color:#17243c!important;
}
html[data-s411-effective-theme="light"] body .dm-live-win-probability-title strong,
html[data-s411-effective-theme="light"] body .dm-live-win-probability-values b,
html[data-s411-effective-theme="light"] body .dm-live-win-probability-values strong,
html:not([data-s411-effective-theme]) body .dm-live-win-probability-title strong,
html:not([data-s411-effective-theme]) body .dm-live-win-probability-values b,
html:not([data-s411-effective-theme]) body .dm-live-win-probability-values strong{
  color:#24334e!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-win-probability{
  background:#222c3d!important;border-color:#40506a!important;color:#f2f5fb!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-win-probability-title strong,
html[data-s411-effective-theme="dark"] body .dm-live-win-probability-values b,
html[data-s411-effective-theme="dark"] body .dm-live-win-probability-values strong{
  color:#f2f5fb!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-win-probability-values .is-draw strong{
  color:#d7e0ed!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-win-probability-info{
  color:#e7edf8!important;background:#344258!important;border-color:#8493aa!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-win-probability-bar{
  background:#45536a!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-win-probability-bar i:nth-child(2){
  background:#aab7c9!important;
}
@media(max-width:720px){
  /* Do not use a side-scrolling two-up rail: show the full fixture list. */
  body.home .dm-home-mobile-matchday-strip__rail{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;overflow:visible!important;scroll-snap-type:none!important;
  }
  body.home .dm-home-mobile-mini-match{
    width:100%!important;max-width:100%!important;min-width:0!important;
    flex:none!important;scroll-snap-align:none!important;
  }
  body.home .dm-home-mobile-mini-match__teams{
    grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)!important;
    gap:6px!important;
  }
  body.home .dm-home-mobile-mini-match__teams>span{min-width:0!important;}
  body.home .dm-home-mobile-mini-match__teams strong{
    min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  body.home .dm-home-mobile-mini-match__teams>b{
    min-width:34px;text-align:center;color:inherit!important;
  }
  body.home .dm-home-mobile-matchday-strip{overflow:visible!important;}
  body.home .dm-live-win-probability-values{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);}
  body.home .dm-live-win-probability-values b{font-size:10px!important;}
  body.home .dm-live-win-probability-values strong{font-size:13px!important;}
}

/* v0.20.71 – Next up: show every simultaneous fixture and respect appearance. */
body.home .dm-home-next-up{background:var(--s411-ui-surface-raised,#fff);border-color:var(--s411-ui-line,#dce4ee);color:var(--s411-ui-text,#15223a)}
body.home .dm-home-next-up-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
body.home .dm-home-next-up-card{background:var(--s411-ui-surface-raised,#f6f8fb);min-width:0;width:100%;box-sizing:border-box;grid-template-areas:"comp time" "teams teams";padding:12px 14px;gap:8px 12px}
body.home .dm-home-next-up-card .dm-home-next-up-team{min-width:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
body.home .dm-home-next-up-card .dm-home-next-up-team>span{min-width:0}
body.home .dm-home-next-up-card .dm-home-next-up-team b{min-width:0;overflow-wrap:anywhere;line-height:1.25}
body.home .dm-home-next-up-comp{color:var(--s411-ui-muted,#53637b)}
body.home .dm-home-next-up-head small{color:var(--s411-ui-muted,#67748a)}
html[data-s411-effective-theme="dark"] body.home .dm-home-next-up{background:var(--s411-content-card,#1b2230)!important;border-color:var(--s411-content-border,#39465a)!important;color:var(--s411-content-text,#f4f6fc)!important;box-shadow:none!important}
html[data-s411-effective-theme="dark"] body.home .dm-home-next-up-card{background:var(--s411-content-raised,#232e40)!important;border-color:var(--s411-content-border,#39465a)!important;color:var(--s411-content-text,#f4f6fc)!important}
html[data-s411-effective-theme="dark"] body.home .dm-home-next-up :is(.dm-home-next-up-head h2,.dm-home-next-up-team b,.dm-home-next-up-time){color:var(--s411-content-text,#f4f6fc)!important}
html[data-s411-effective-theme="dark"] body.home .dm-home-next-up :is(.dm-home-next-up-comp,.dm-home-next-up-head small,.dm-home-next-up-team>strong){color:var(--s411-content-muted,#bac6d8)!important}
html[data-s411-effective-theme="dark"] body.home .dm-home-next-up-head>a{color:#ff7d83!important}
@media(max-width:520px){body.home .dm-home-next-up{padding:12px!important}body.home .dm-home-next-up-card{padding:11px!important}body.home .dm-home-next-up-card .dm-home-next-up-team{gap:6px}body.home .dm-home-next-up-card .dm-home-next-up-team img{width:26px;height:26px}body.home .dm-home-next-up-card .dm-home-next-up-team b{font-size:12px}}

/* v0.20.72 — Match Centre: secondary compact voting strip, never a rival hero. */
.dm-match-centre .dm-prematch-build-up{margin-top:8px!important;gap:12px!important}
.dm-match-centre .dm-prematch-vote{
  padding:10px 12px!important;border-radius:13px!important;box-shadow:none!important;
  background:var(--s411-ui-surface,#fff)!important;border:1px solid var(--s411-ui-line,#dce3eb)!important;
}
.dm-match-centre .dm-prematch-vote .dm-prematch-heading{
  display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 7px!important;
}
.dm-match-centre .dm-prematch-vote .dm-prematch-heading>div{display:flex!important;align-items:baseline!important;gap:8px!important;min-width:0!important}
.dm-match-centre .dm-prematch-vote .dm-prematch-heading h2{font-size:15px!important;line-height:1.25!important;margin:0!important}
.dm-match-centre .dm-prematch-vote .dm-prematch-heading .dm-kicker{display:none!important}
.dm-match-centre .dm-prematch-vote .dm-prematch-vote-count{display:inline-flex!important;min-height:0!important;padding:3px 7px!important;font-size:10px!important;white-space:nowrap}
.dm-match-centre .dm-prematch-vote-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
.dm-match-centre .dm-prematch-vote-option{
  display:flex!important;justify-content:center!important;align-items:center!important;
  min-width:0!important;min-height:44px!important;height:auto!important;padding:5px 7px!important;
  border-radius:9px!important;text-align:center!important;box-shadow:none!important;
  background:var(--s411-ui-surface-raised,#f2f5f9)!important;border:1px solid var(--s411-ui-line,#dce3eb)!important;
}
.dm-match-centre .dm-prematch-vote-face{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex-wrap:wrap!important;gap:4px!important;min-width:0!important;width:100%!important;
}
.dm-match-centre .dm-prematch-vote-option .dm-prematch-vote-logo{
  width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
  border-radius:6px!important;background:transparent!important;
}
.dm-match-centre .dm-prematch-vote-option .dm-prematch-vote-logo img{width:22px!important;height:22px!important}
.dm-match-centre .dm-prematch-vote-team-name{
  font-size:11px!important;line-height:1.2!important;font-weight:750!important;
  color:var(--s411-ui-text,#1d2a3d)!important;overflow-wrap:anywhere;min-width:0;
}
.dm-match-centre .dm-prematch-vote-option--draw .dm-prematch-vote-face::before{content:none!important;display:none!important}
.dm-match-centre .dm-prematch-vote-draw{min-height:0!important;font-size:11px!important;color:var(--s411-ui-text,#1d2a3d)!important}
.dm-match-centre .dm-prematch-vote-face>small{min-height:0!important;font-size:10px!important;color:var(--s411-ui-muted,#65738b)!important}
.dm-match-centre .dm-prematch-vote-option.is-selected{border-color:#ef0107!important;box-shadow:inset 0 0 0 1px #ef0107!important}
.dm-match-centre .dm-prematch-vote-option:focus-visible{outline:2px solid #ef0107!important;outline-offset:2px!important}
.dm-match-centre .dm-prematch-vote-note{margin:6px 0 0!important;font-size:10px!important;line-height:1.25!important}
html[data-s411-effective-theme="dark"] .dm-match-centre .dm-prematch-vote{
 background:var(--s411-content-card,#1b2230)!important;border-color:var(--s411-content-border,#39465a)!important;color:var(--s411-content-text,#f4f6fc)!important;
}
html[data-s411-effective-theme="dark"] .dm-match-centre .dm-prematch-vote-option{
 background:var(--s411-content-raised,#232e40)!important;border-color:var(--s411-content-border,#39465a)!important;color:var(--s411-content-text,#f4f6fc)!important;
}
html[data-s411-effective-theme="dark"] .dm-match-centre .dm-prematch-vote :is(.dm-prematch-vote-team-name,.dm-prematch-vote-draw,.dm-prematch-heading h2){color:var(--s411-content-text,#f4f6fc)!important}
html[data-s411-effective-theme="dark"] .dm-match-centre .dm-prematch-vote :is(.dm-prematch-vote-note,.dm-prematch-vote-face>small){color:var(--s411-content-muted,#bac6d8)!important}
@media(max-width:400px){
 .dm-match-centre .dm-prematch-vote{padding:9px!important}
 .dm-match-centre .dm-prematch-vote-option{padding:4px!important}
 .dm-match-centre .dm-prematch-vote-team-name{font-size:10px!important}
 .dm-match-centre .dm-prematch-vote-option .dm-prematch-vote-logo{width:21px!important;height:21px!important;min-width:21px!important;min-height:21px!important}
 .dm-match-centre .dm-prematch-vote-option .dm-prematch-vote-logo img{width:20px!important;height:20px!important}
}

/* v0.20.73 — Mobile Match Centre: prevent the sticky match hero from
   obscuring the separate voting strip as the user scrolls. The same hero
   design remains, but it now participates in normal document flow. */
@media(max-width:720px){
  .dm-match-centre-v2 .dm-match-header.dm-match-stage{
    position:relative!important;
    top:auto!important;
    z-index:1!important;
  }
  .dm-match-centre-v2 .dm-match-tabs{
    position:relative!important;
    top:auto!important;
    z-index:2!important;
  }
  .dm-match-centre-v2 .dm-prematch-build-up{
    position:relative!important;
    z-index:1!important;
    margin-top:12px!important;
  }
  .dm-match-centre-v2 .dm-prematch-vote{
    overflow:visible!important;
  }
  .dm-match-centre-v2 .dm-prematch-vote .dm-prematch-heading{
    display:flex!important;
    visibility:visible!important;
    min-height:22px!important;
  }
}


/* Soccer 411 v0.20.75: Google-inspired semantic, horizontally scrolling league table.
   Appearance tokens are used for every neutral surface; team crests and zone markers
   retain their recognised colours. Scoped to full competition standings only. */
body .s411-google-standings-wrap{
  --s411-standings-bg:var(--s411-ui-surface,#fff);
  --s411-standings-head:var(--s411-ui-surface-raised,#f5f7fa);
  --s411-standings-text:var(--s411-ui-text,#172235);
  --s411-standings-muted:var(--s411-ui-muted,#626f82);
  --s411-standings-line:var(--s411-ui-line,#dce1e7);
  display:block!important; overflow-x:auto!important; overflow-y:hidden!important;
  overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch;
  max-width:100%!important; border:1px solid var(--s411-standings-line)!important;
  border-radius:12px; background:var(--s411-standings-bg)!important;
  scrollbar-width:thin; scrollbar-color:var(--s411-standings-muted) transparent;
}
body .s411-google-standings{display:table!important;table-layout:fixed!important;
  border-collapse:separate!important;border-spacing:0!important;
  width:100%!important;min-width:860px!important;overflow:visible!important;
  background:var(--s411-standings-bg)!important;color:var(--s411-standings-text)!important;
}
body .s411-google-standings thead{display:table-header-group!important;position:static!important;
  background:var(--s411-standings-head)!important;box-shadow:none!important;
}
body .s411-google-standings tbody{display:table-row-group!important}
body .s411-google-standings tr,
body .s411-google-standings thead tr,
body .s411-google-standings tbody>tr:not(.dm-football-table__group-row){
  display:table-row!important;height:auto!important;min-height:0!important;
  background:var(--s411-standings-bg)!important;grid-template-columns:none!important;
}
body .s411-google-standings thead tr,
body .s411-google-standings tr.dm-football-table__group-headings{background:var(--s411-standings-head)!important}
body .s411-google-standings :is(th,td){
  display:table-cell!important;position:relative!important;top:auto!important;
  width:auto!important;min-width:0!important;height:54px!important;
  padding:9px 7px!important;box-sizing:border-box!important;vertical-align:middle!important;
  font-size:13px!important;line-height:1.25!important;
  text-align:center!important;white-space:nowrap!important;
  background:var(--s411-standings-bg)!important;
  color:var(--s411-standings-text)!important;
  border:0!important;border-bottom:1px solid var(--s411-standings-line)!important;
  box-shadow:none!important;
}
body .s411-google-standings thead th,
body .s411-google-standings tr.dm-football-table__group-headings th{
  height:42px!important;color:var(--s411-standings-muted)!important;
  background:var(--s411-standings-head)!important;font-size:12px!important;
  font-weight:600!important;
}
body .s411-google-standings :is(th,td):first-child{width:36px!important;min-width:36px!important;text-align:center!important}
body .s411-google-standings :is(th,td):nth-child(2){width:208px!important;min-width:208px!important;text-align:left!important}
body .s411-google-standings :is(th,td):nth-child(n+3):nth-child(-7){width:42px!important;min-width:42px!important}
body .s411-google-standings :is(th,td):nth-child(n+8):nth-child(-10){width:46px!important;min-width:46px!important}
body .s411-google-standings :is(th,td):nth-child(11){width:125px!important;min-width:125px!important}
body .s411-google-standings :is(th,td):nth-child(12){width:58px!important;min-width:58px!important}
body .s411-google-standings .dm-football-table__wide,
body .s411-google-standings .dm-football-table__result-stat,
body .s411-google-standings .dm-football-table__goal-stat,
body .s411-google-standings .dm-football-table__gd,
body .s411-google-standings .dm-football-table__played,
body .s411-google-standings .dm-football-table__form,
body .s411-google-standings .dm-football-table__next{display:table-cell!important}
body .s411-google-standings .dm-football-table__mobile-record{display:none!important}
body .s411-google-standings .dm-football-table__label-desktop{display:inline!important}
body .s411-google-standings .dm-football-table__label-mobile{display:none!important}
body .s411-google-standings :is(th,td):nth-child(2){position:sticky!important;left:36px!important;z-index:3!important}
body .s411-google-standings :is(th,td):first-child{position:sticky!important;left:0!important;z-index:4!important}
body .s411-google-standings thead :is(th,td):nth-child(-n+2){z-index:6!important;background:var(--s411-standings-head)!important}
body .s411-google-standings td.dm-football-table__rank{font-weight:650!important;color:var(--s411-standings-muted)!important}
body .s411-google-standings .dm-football-table-club{
  display:flex!important;align-items:center!important;gap:9px!important;
  min-width:0!important;max-width:100%!important;text-decoration:none!important;
}
body .s411-google-standings .dm-football-table-club img{
  display:block!important;width:28px!important;height:28px!important;
  min-width:28px!important;max-width:28px!important;max-height:28px!important;
  object-fit:contain!important;flex:0 0 28px!important;
}
body .s411-google-standings .dm-football-table-club strong{
  display:block!important;min-width:0!important;overflow:hidden!important;
  text-overflow:ellipsis!important;white-space:nowrap!important;
  font-size:13px!important;font-weight:600!important;
  color:var(--s411-standings-text)!important;
}
body .s411-google-standings .dm-football-table__points>strong{
  font-size:15px!important;font-weight:800!important;color:var(--s411-standings-text)!important;
}
body .s411-google-standings tbody tr:hover td{background:var(--s411-standings-head)!important}
body .s411-google-standings .dm-football-table__group-row th{
  position:static!important;text-align:left!important;height:40px!important;
  background:var(--s411-standings-head)!important;color:var(--s411-standings-text)!important;
}
body .s411-google-standings .dm-football-table__rank .dm-table-zone-rank{color:inherit!important}
body .s411-google-standings .dm-football-table__rank{box-shadow:none!important}
/* v0.20.77: qualification markers are deliberately visible on the pinned rank cell. */
body .s411-google-standings tbody tr.has-zone>td.dm-football-table__rank::before{
  content:""!important;display:block!important;position:absolute!important;
  left:0!important;top:5px!important;bottom:5px!important;
  width:4px!important;border-radius:0 3px 3px 0!important;
  background:var(--dm-table-zone,#7b8798)!important;
  z-index:8!important;pointer-events:none!important;
}
body .s411-google-standings tbody tr.is-zone-champions{--dm-table-zone:#2768d7}
body .s411-google-standings tbody tr.is-zone-europa{--dm-table-zone:#e07a20}
body .s411-google-standings tbody tr.is-zone-conference{--dm-table-zone:#16836a}
body .s411-google-standings tbody tr.is-zone-relegation{--dm-table-zone:#c94444}
body .s411-google-standings tbody tr.is-zone-promotion{--dm-table-zone:var(--s411-ui-brand-active,#ef0107)}
body .s411-google-standings tbody tr.is-zone-playoff{--dm-table-zone:#8b68c8}
body .s411-google-standings .dm-table-form-result{font-size:11px!important}
body .s411-google-standings .dm-table-next-opponent{width:30px!important;height:30px!important;min-width:30px!important}
body .s411-google-standings :is(a,button):focus-visible{
  outline:2px solid var(--s411-ui-brand-active,#df262e)!important;outline-offset:2px!important;
}
@media(max-width:720px){
  body .s411-google-standings{width:860px!important;min-width:860px!important}
  body .s411-google-standings :is(th,td){height:48px!important;padding:7px 5px!important;font-size:12px!important}
  body .s411-google-standings thead th{height:39px!important;font-size:11px!important}
  body .s411-google-standings :is(th,td):nth-child(2){width:156px!important;min-width:156px!important}
  body .s411-google-standings .dm-football-table-club{gap:7px!important}
  body .s411-google-standings .dm-football-table-club strong{font-size:12px!important}
  body .s411-google-standings .dm-football-table-club img{width:25px!important;height:25px!important;min-width:25px!important;max-width:25px!important}
}
/* Win the legacy mobile grid and football-surface specificity without altering other tables. */
body.dm-football-surface .dm-football-table-wrap--league.s411-google-standings-wrap{
  overflow-x:auto!important;overflow-y:hidden!important;contain:none!important;
}
body.dm-football-surface .dm-football-table--league.s411-google-standings,
body .dm-football-table--league.s411-google-standings{
  display:table!important;table-layout:fixed!important;overflow:visible!important;
}
body.dm-football-surface .dm-football-table--league.s411-google-standings :is(thead,tbody){
  display:table-header-group!important;
}
body.dm-football-surface .dm-football-table--league.s411-google-standings tbody{display:table-row-group!important}
body.dm-football-surface .dm-football-table--league.s411-google-standings :is(thead,tbody)>tr{
  display:table-row!important;grid-template-columns:none!important;
}
body.dm-football-surface .dm-football-table--league.s411-google-standings :is(th,td),
body.dm-football-surface .dm-football-table--league.s411-google-standings :is(.dm-football-table__played,.dm-football-table__result-stat,.dm-football-table__goal-stat,.dm-football-table__gd,.dm-football-table__points,.dm-football-table__form,.dm-football-table__next){
  display:table-cell!important;align-content:normal!important;justify-content:normal!important;
  color:var(--s411-standings-text)!important;
  background:var(--s411-standings-bg)!important;
}
body.dm-football-surface .dm-football-table--league.s411-google-standings thead th,
body.dm-football-surface .dm-football-table--league.s411-google-standings tr.dm-football-table__group-headings th{
  background:var(--s411-standings-head)!important;
  color:var(--s411-standings-muted)!important;
}
body.dm-football-surface .dm-football-table--league.s411-google-standings .dm-football-table__team{
  display:table-cell!important;
}
body.dm-football-surface .dm-football-table--league.s411-google-standings .dm-football-table__rank{
  display:table-cell!important;
}
body.dm-football-surface .dm-football-table--league.s411-google-standings .dm-football-table__mobile-record{display:none!important}
body.dm-football-surface .dm-football-table--league.s411-google-standings .dm-football-table__points>strong{color:var(--s411-standings-text)!important}
@media(max-width:720px){
  body.dm-football-surface .dm-football-table--league.s411-google-standings{width:700px!important;min-width:700px!important}
  body.dm-football-surface .dm-football-table--league.s411-google-standings :is(th,td):nth-child(2){width:148px!important;min-width:148px!important}
  body.dm-football-surface .dm-football-table--league.s411-google-standings :is(th,td):nth-child(n+3):nth-child(-7){width:36px!important;min-width:36px!important}
  body.dm-football-surface .dm-football-table--league.s411-google-standings :is(th,td):nth-child(n+8):nth-child(-10){width:38px!important;min-width:38px!important}
  body.dm-football-surface .dm-football-table--league.s411-google-standings :is(th,td):nth-child(11){width:110px!important;min-width:110px!important}
  body.dm-football-surface .dm-football-table--league.s411-google-standings :is(th,td):nth-child(12){width:46px!important;min-width:46px!important}
}
@media(max-width:720px){
  body.dm-football-surface .dm-football-table--league.s411-google-standings{width:634px!important;min-width:634px!important;max-width:634px!important}
}
/* Keep header columns in the semantic table grid; the club data remains pinned
   during horizontal movement. This avoids sticky-header overlap on small screens. */
body.dm-football-surface .dm-football-table--league.s411-google-standings thead th:nth-child(2){
  position:static!important;left:auto!important;
}

/* v0.20.76 — Mobile: let standings use the full available width and keep Pts on-screen.
   Only the competition full-table card is affected; the rest of the page and rails retain their layout. */
@media(max-width:720px){
 body.dm-football-surface .dm-football-archive-table-card:has(> .s411-google-standings-wrap),
 body.dm-football-surface .dm-competition-full-card-v2:has(.s411-google-standings-wrap){
   padding-left:0!important;padding-right:0!important;max-width:none!important;
   border-left:0!important;border-right:0!important;border-radius:0!important;
 }
 body.dm-football-surface .dm-competition-full-card-v2:has(.s411-google-standings-wrap)>.dm-section-heading{
   padding-left:12px!important;padding-right:12px!important;
 }
 body.dm-football-surface .dm-football-table-wrap--league.s411-google-standings-wrap{
   width:100%!important;max-width:100%!important;margin:0!important;border-radius:0!important;
   box-sizing:border-box!important;
 }
 body.dm-football-surface .dm-football-table--league.s411-google-standings{
   width:595px!important;min-width:595px!important;max-width:595px!important;table-layout:fixed!important;
 }
 body.dm-football-surface .dm-football-table--league.s411-google-standings :is(th,td){padding-left:3px!important;padding-right:3px!important;}
 body.dm-football-surface .dm-football-table--league.s411-google-standings :is(th,td):first-child{
   width:27px!important;min-width:27px!important;max-width:27px!important;left:0!important;
 }
 body.dm-football-surface .dm-football-table--league.s411-google-standings :is(th,td):nth-child(2){
   width:120px!important;min-width:120px!important;max-width:120px!important;left:27px!important;
 }
 body.dm-football-surface .dm-football-table--league.s411-google-standings :is(th,td):nth-child(n+3):nth-child(-6){
   width:30px!important;min-width:30px!important;max-width:30px!important;
 }
 body.dm-football-surface .dm-football-table--league.s411-google-standings :is(th,td):nth-child(7){
   width:39px!important;min-width:39px!important;max-width:39px!important;
 }
 body.dm-football-surface .dm-football-table--league.s411-google-standings .dm-football-table-club{gap:5px!important;}
 body.dm-football-surface .dm-football-table--league.s411-google-standings .dm-football-table-club img{
   width:23px!important;height:23px!important;min-width:23px!important;max-width:23px!important;flex:0 0 23px!important;
 }
 body.dm-football-surface .dm-football-table--league.s411-google-standings .dm-football-table-club strong{
   font-size:11px!important;font-weight:600!important;
 }
 body.dm-football-surface .dm-football-table--league.s411-google-standings .dm-football-table__points>strong{font-size:14px!important;}
}
.s411-standings-freshness{font-size:11px;color:var(--s411-ui-muted,#727d8b);padding:4px 12px 9px;text-align:right;}
.s411-standings-freshness.is-stale{color:var(--s411-ui-warning,#bc8639);}

@media(max-width:720px){
 body.dm-football-surface .dm-competition-full-card-v2:has(.s411-google-standings-wrap){
   width:100vw!important;max-width:100vw!important;
   margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;
   box-sizing:border-box!important;
 }
}

/* Soccer 411 v0.20.79 — mobile edge-to-edge content spacing standard.
   Top-level content cards use a shared 4px screen gutter. Nested panels retain
   their own breathing room; navigation, desktop rails, and sticky bars are untouched. */
@media (max-width:720px) {
  body { --s411-mobile-content-gutter:4px; --s411-mobile-card-padding:12px; }

  /* Today's companion fixtures: remove duplicate outer card margins, and
     spend the reclaimed width on the fixtures instead of a nested frame. */
  body.home .dm-feed-list > .dm-home-mobile-matchday-strip {
    display:block;
    box-sizing:border-box!important;
    width:calc(100% - 2 * var(--s411-mobile-content-gutter))!important;
    max-width:none!important;
    margin:8px var(--s411-mobile-content-gutter) 10px!important;
    padding:12px 0!important;
    border-radius:14px!important;
    min-width:0;
  }
  body.home .dm-home-mobile-matchday-strip__head {
    padding:0 var(--s411-mobile-card-padding) 11px!important;
    gap:8px;
    min-width:0;
  }
  body.home .dm-home-mobile-matchday-strip__head h2 {
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere;
  }
  body.home .dm-home-mobile-matchday-strip__head > a {
    white-space:nowrap;
  }
  body.home .dm-home-mobile-matchday-strip__rail {
    box-sizing:border-box!important;
    width:100%!important;
    padding:0 8px 2px!important;
    min-width:0!important;
  }
  body.home .dm-home-mobile-mini-match {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    padding:12px!important;
    min-width:0!important;
    overflow:hidden;
  }
  body.home .dm-home-mobile-mini-match__teams {
    min-width:0;
    grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)!important;
  }
  body.home .dm-home-mobile-mini-match__teams > span {min-width:0;}
  body.home .dm-home-mobile-mini-match__teams strong {
    overflow-wrap:anywhere;
    white-space:normal!important;
    text-overflow:clip!important;
    line-height:1.22;
  }

  /* Same outer-gutter standard for other standalone homepage modules. Do not
     alter individual match widgets, article body grids or nested card layouts. */
  body.home .dm-feed-list > :is(.dm-home-next-up,.dm-home-totw-group) {
    box-sizing:border-box!important;
    width:calc(100% - 2 * var(--s411-mobile-content-gutter))!important;
    max-width:none!important;
    margin-left:var(--s411-mobile-content-gutter)!important;
    margin-right:var(--s411-mobile-content-gutter)!important;
    min-width:0;
  }
  body.home .dm-feed-list > .dm-home-next-up :is(.dm-home-next-up-list,.dm-home-next-up-card) {min-width:0;}

  /* Sitewide reusable rule for major top-level cards on football, community,
     search and profile screens. Only DIRECT cards of their page container.
     Excludes full-bleed standings tables, drawers, modal panels and sidebars. */
  body :is(.dm-football-hub-v2,.dm-community-index,.dm-community-detail,.dm-profile-page,.dm-search-page)
    > :is(.dm-card,.dm-panel,.dm-football-hub-card,.dm-community-card) {
    box-sizing:border-box;
    width:calc(100% - 2 * var(--s411-mobile-content-gutter));
    max-width:none;
    margin-left:auto;
    margin-right:auto;
    min-width:0;
  }
}


/* v0.20.92 — Club squad and player-profile dark-surface remediation.
   Scoped to effective dark mode. Preserve existing layouts, pitches, media and badges. */
html[data-s411-effective-theme="dark"] body .dm-football-club-page :is(
  .dm-squad-leaders,.dm-squad-last-xi,.dm-squad-player-card,
  .dm-squad-bench-player,.dm-squad-lineup-empty,.dm-squad-lineup-list-fallback
),
html[data-s411-effective-theme="dark"] body .dm-player-profile :is(
  .dm-player-profile-hero,.dm-player-profile-panels,.dm-player-season-summary>div,
  .dm-player-overview-card,.dm-player-recent-card,.dm-rating-trend,
  .dm-player-stat-groups details,.dm-player-stat-groups dl>div
),
html[data-s411-effective-theme="dark"] body .dm-players-hub :is(.dm-player-leader-card,.dm-player-card){
  background:var(--s411-panel,#1b2331)!important;
  border-color:var(--s411-outline,#39465a)!important;
  color:var(--s411-foreground,#edf2fa)!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-squad-leader-card{
  background:linear-gradient(180deg,#232c3b,#1b2331)!important;
  border-color:var(--s411-outline,#39465a)!important;
  color:var(--s411-foreground,#edf2fa)!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-club-page :is(
  .dm-squad-lineup-context,.dm-squad-lineup-tabs,.dm-squad-player-stats,
  .dm-squad-position-filters button,.dm-squad-group-head>span
){
  background:var(--s411-panel-raised,#252f40)!important;
  border-color:var(--s411-outline,#39465a)!important;
  color:var(--s411-foreground,#edf2fa)!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-club-page :is(
  .dm-squad-lineup-tabs button[aria-selected="true"],
  .dm-squad-leader-avatars>span
){
  background:var(--s411-panel,#1b2331)!important;
  border-color:var(--s411-outline,#39465a)!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-club-page :is(
  .dm-squad-lineup-context,.dm-squad-lineup-context strong,
  .dm-squad-leader-card>strong,.dm-squad-leader-card>b,
  .dm-squad-player-card,.dm-squad-player-copy strong,
  .dm-squad-player-stats b,.dm-squad-group-head h3,
  .dm-squad-bench-player,.dm-squad-bench-player strong,
  .dm-squad-lineup-empty strong,.dm-squad-lineup-list-fallback strong,
  .dm-squad-position-filters button:not(.is-active),
  .dm-squad-lineup-tabs button[aria-selected="true"]
){color:var(--s411-foreground,#edf2fa)!important}
html[data-s411-effective-theme="dark"] body .dm-football-club-page :is(
  .dm-squad-leader-label,.dm-squad-leader-card>b small,
  .dm-squad-lineup-context small,.dm-squad-lineup-context .dm-squad-lineup-copy small,
  .dm-squad-player-copy>span,.dm-squad-player-stats small,
  .dm-squad-bench-player small,.dm-squad-lineup-empty span
){color:var(--s411-foreground-muted,#b5c3d6)!important}
html[data-s411-effective-theme="dark"] body .dm-football-club-page :is(
  .dm-squad-player-photo,.dm-squad-bench-player>span
){background:#293447!important;border-color:var(--s411-outline,#39465a)!important}
html[data-s411-effective-theme="dark"] body .dm-football-club-page :is(
  .dm-squad-player-stats,.dm-squad-player-stats>span+span,
  .dm-squad-player-photo,.dm-squad-lineup-tabs
){border-color:var(--s411-outline,#39465a)!important}
html[data-s411-effective-theme="dark"] body .dm-player-profile :is(
  .dm-player-profile-copy,.dm-player-profile-identity p,
  .dm-player-profile-meta dd,.dm-player-season-summary strong,
  .dm-player-overview-card,.dm-player-stat-groups dd,
  .dm-player-recent-card strong,.dm-rating-trend strong,
  .dm-player-season-detail-card dd
){color:var(--s411-foreground,#edf2fa)!important}
html[data-s411-effective-theme="dark"] body .dm-player-profile :is(
  .dm-player-profile-meta dt,.dm-player-profile-copy p,
  .dm-player-season-summary small,.dm-player-recent-card small,
  .dm-player-stat-groups dt,.dm-player-season-detail-card dt,
  .dm-rating-trend small
){color:var(--s411-foreground-muted,#b5c3d6)!important}
html[data-s411-effective-theme="dark"] body .dm-player-profile :is(
  .dm-player-profile-photo,.dm-player-stat-groups dl>div
){background:var(--s411-panel-raised,#252f40)!important}
html[data-s411-effective-theme="dark"] body .dm-player-profile :is(
  .dm-player-recent-card,.dm-player-season-detail-card dl>div,
  .dm-player-season-summary>div
){border-color:var(--s411-outline,#39465a)!important}
html[data-s411-effective-theme="dark"] body .dm-player-profile .dm-rating-trend line{stroke:var(--s411-outline,#39465a)!important}
html[data-s411-effective-theme="dark"] body .dm-player-profile .dm-rating-trend .dm-rating-point-label{fill:var(--s411-foreground,#edf2fa)!important}
html[data-s411-effective-theme="dark"] body .dm-players-hub :is(.dm-player-card-copy strong,.dm-player-leader-card strong){color:var(--s411-foreground,#edf2fa)!important}
html[data-s411-effective-theme="dark"] body .dm-players-hub :is(.dm-player-card-copy span,.dm-player-leader-card small){color:var(--s411-foreground-muted,#b5c3d6)!important}


/* v0.20.93 — signature player cards dark-mode refinement */
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-squad-player-card,
html[data-s411-effective-theme="dark"] body .dm-players-hub .dm-player-card{
  background:#1b2433!important;
  border-color:#3a4658!important;
  box-shadow:0 10px 24px rgba(0,0,0,.23)!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-squad-player-photo{
  background:linear-gradient(140deg,#35435a,#202b3b)!important;
  border-color:#3a4658!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-squad-player-stats{
  background:#243043!important;
  border-color:#3a4658!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-squad-player-stats>span+span{
  border-color:#3a4658!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-squad-player-copy strong,
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-squad-player-stats b,
html[data-s411-effective-theme="dark"] body .dm-players-hub .dm-player-card-copy strong,
html[data-s411-effective-theme="dark"] body .dm-players-hub .dm-player-card-season b{color:#f0f4fb!important}
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-squad-player-copy>span,
html[data-s411-effective-theme="dark"] body .dm-football-club-page .dm-squad-player-stats small,
html[data-s411-effective-theme="dark"] body .dm-players-hub .dm-player-card-copy span,
html[data-s411-effective-theme="dark"] body .dm-players-hub .dm-player-card-season small{color:#b8c7dc!important}
html[data-s411-effective-theme="dark"] body .dm-players-hub .dm-player-card-photo{
  background:#34425a!important;border-color:rgba(239,1,7,.36)!important;
}


/* v0.20.108 — Match Centre substitutes: one visible column per team.
   Override v0.20.65's forced single-column layout across breakpoints. */
.dm-lineup-substitutes .dm-lineup-bench-grid {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start;
  gap:clamp(8px,2vw,18px)!important;
  min-width:0;
}
.dm-lineup-substitutes .dm-lineup-bench-column,
.dm-lineup-substitutes .dm-lineup-bench-column + .dm-lineup-bench-column {
  display:flex!important;
  flex-direction:column;
  align-items:stretch;
  flex-wrap:nowrap;
  gap:6px!important;
  min-width:0;
  width:100%;
  padding:0!important;
  margin:0!important;
  border:0!important;
}
.dm-lineup-substitutes .dm-lineup-bench-column + .dm-lineup-bench-column {
  padding-left:clamp(7px,1.6vw,16px)!important;
  border-left:1px solid var(--s411-ui-border,#43516a)!important;
  border-top:0!important;
}
.dm-lineup-substitutes .dm-lineup-bench-team-head {
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  min-height:38px;
  padding:2px 0 8px;
}
.dm-lineup-substitutes .dm-lineup-bench-team-head img {
  flex:0 0 24px;
  width:24px;
  height:24px;
}
.dm-lineup-substitutes .dm-lineup-bench-team-head strong {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dm-lineup-substitutes .dm-lineup-bench-team-head small {
  flex:0 0 auto;
  font-size:9px;
  white-space:nowrap;
}
.dm-lineup-substitutes .dm-lineup-bench-column > .dm-bench-chip {
  display:flex!important;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:44px!important;
  justify-content:flex-start;
  text-align:left;
  padding:5px 7px!important;
  gap:7px!important;
}
.dm-lineup-substitutes .dm-lineup-bench-column .dm-bench-copy {
  display:grid;
  min-width:0;
  flex:1 1 auto;
  gap:2px;
}
.dm-lineup-substitutes .dm-lineup-bench-column .dm-bench-name,
.dm-lineup-substitutes .dm-lineup-bench-column .dm-bench-meta {
  max-width:100%;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dm-lineup-substitutes .dm-lineup-bench-column .dm-bench-chip .dm-pitch-player-badges {
  flex:0 0 auto;
  margin-left:auto;
}
@media(max-width:600px) {
  .dm-lineup-substitutes{padding:10px 8px!important}
  .dm-lineup-substitutes .dm-lineup-bench-grid{gap:6px!important}
  .dm-lineup-substitutes .dm-lineup-bench-column + .dm-lineup-bench-column{padding-left:6px!important}
  .dm-lineup-substitutes .dm-lineup-bench-team-head{gap:4px;min-height:34px}
  .dm-lineup-substitutes .dm-lineup-bench-team-head img{width:20px;height:20px;flex-basis:20px}
  .dm-lineup-substitutes .dm-lineup-bench-team-head strong{font-size:10px!important}
  .dm-lineup-substitutes .dm-lineup-bench-team-head small{font-size:8px}
  .dm-lineup-substitutes .dm-lineup-bench-column > .dm-bench-chip{padding:5px 4px!important;gap:4px!important;min-height:44px!important}
  .dm-lineup-substitutes .dm-lineup-bench-column .dm-bench-name{font-size:9px!important}
  .dm-lineup-substitutes .dm-lineup-bench-column .dm-bench-meta{font-size:8px!important}
  .dm-lineup-substitutes .dm-lineup-bench-column .dm-bench-photo{flex-shrink:0}
}
