/* Soccer 411 v0.19.39: global shell + appearance layer.
   The existing application components and football styling are preserved.
   IMPORTANT: do not duplicate global left or right rails in page templates. */
/* Universal shell matches the approved Home geometry and menu skin.
 * Home's front-page.php and its CSS are unchanged. The same nav partial renders in both.
 * Right rails from profile, community, bookmarks and notifications retain their OWN widgets.
 */
:root{--s411-shell-max:1450px;--s411-left:250px;--s411-right:360px;--s411-gap:16px;--s411-rail-top:18px}
body.s411-universal-active{padding-left:0!important;padding-right:0!important}
body.s411-universal-active.dm-football-surface{padding-top:0!important}
body.s411-universal-active .s411-universal-shell{
  display:grid!important;box-sizing:border-box!important;width:100%!important;max-width:1450px!important;
  margin:0 auto!important;padding:18px 18px 48px!important;
  grid-template-columns:250px minmax(0,760px) 360px!important;
  gap:16px!important;column-gap:18px!important;align-items:start!important;
}
body.s411-universal-active .s411-universal-shell>.s411-standard-sidebar,
body.s411-universal-active .s411-universal-shell>.dm-desktop-context-rail{
  display:block!important;position:sticky!important;top:calc(var(--wp-admin--admin-bar--height, 0px) + var(--s411-rail-top, 18px))!important;
  max-height:calc(100vh - var(--wp-admin--admin-bar--height, 0px) - var(--s411-rail-top, 18px) - 12px)!important;overflow:auto!important;
  width:100%!important;min-width:0!important;box-sizing:border-box!important;
  align-self:start!important;left:auto!important;right:auto!important;bottom:auto!important;
  transform:none!important;z-index:2!important;
}
body.s411-universal-active .s411-universal-shell>.s411-standard-sidebar{
  background:#fff!important;border:1px solid var(--line)!important;
  border-radius:14px!important;padding:14px 12px 18px!important;
  box-shadow:var(--shadow)!important;
}
body.s411-universal-active .s411-universal-shell>.dm-desktop-context-rail{
  background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;
}
/* Sitewide desktop rails: sticky threshold equals the shell's initial top padding,
   with WordPress admin-toolbar offset when logged in. Article pages use 8px top padding. */
@media (min-width:1101px){
  body.single.s411-universal-active{--s411-rail-top:8px}
  body.s411-universal-active .s411-universal-content>.dm-article-wrap,
  body.s411-universal-active .s411-universal-content>.dm-xg-story{
    margin-top:0!important;
  }
}
/* The only page content column: NO local page-grid is responsible for shell layout. */
body.s411-universal-active .s411-universal-content{
  grid-column:2!important;min-width:0!important;max-width:100%!important;width:100%!important;
}
body.s411-universal-active .s411-universal-content>.dm-shell,
body.s411-universal-active .s411-universal-content>.s411-unified-shell,
body.s411-universal-active .s411-universal-content>main.dm-shell{
  display:block!important;grid-template-columns:none!important;
  width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;min-width:0!important;
}
body.s411-universal-active .s411-universal-content :is(main.dm-reading,.dm-football-hub-v2,.dm-match-centre,.dm-football-archive-page,.dm-matchday-page,.dm-player-profile,.dm-players-hub,.dm-community-index,.dm-community-detail,.dm-feed,.dm-simple-page){
  min-width:0!important;max-width:100%!important;width:100%!important;
  margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;
}
body.s411-universal-active .s411-universal-content>main.dm-reading,
body.s411-universal-active .s411-universal-content .s411-unified-shell>main.dm-reading{padding:0!important}
body.s411-universal-active .s411-universal-content .dm-community-index{padding-top:0!important}
/* Safety for legacy page partials not yet relocated. Only the global rails show. */
body.s411-universal-active .s411-universal-content .dm-shell>.dm-left,
body.s411-universal-active .s411-universal-content .dm-shell>.dm-right{display:none!important}
body.s411-universal-active>.dm-desktop-site-rail,
body.s411-universal-active>.dm-desktop-context-rail{display:none!important}
@media(min-width:721px){body.s411-universal-active .dm-football-global-nav{display:none!important}}
/* Copy the Home menu's approved sizing, not the custom v0.19.39 enlarged controls. */
.s411-universal-shell>.s411-standard-sidebar .dm-rail-brand{padding:0 8px 16px!important}
.s411-universal-shell>.s411-standard-sidebar .dm-rail-brand a{font-size:29px!important;line-height:1!important;font-weight:900!important;letter-spacing:-.045em!important}
.s411-universal-shell>.s411-standard-sidebar .dm-rail-brand img{max-width:100%!important;height:auto!important;object-fit:contain!important}
.s411-universal-shell>.s411-standard-sidebar .dm-profile-card--home{border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0 8px 13px!important;overflow:visible!important}
.s411-universal-shell>.s411-standard-sidebar .dm-profile-avatar--home{margin-bottom:7px!important;height:auto!important}
.s411-universal-shell>.s411-standard-sidebar .dm-profile-avatar--home img{width:78px!important;height:78px!important;transform:none!important;border:0!important;border-radius:50%!important;object-fit:cover!important}
.s411-universal-shell>.s411-standard-sidebar .dm-profile-copy--home{padding:0!important}
.s411-universal-shell>.s411-standard-sidebar .dm-profile-link{font-size:11px!important}
.s411-universal-shell>.s411-standard-sidebar .dm-side-nav--home{margin:0!important;padding:9px 0!important;border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important}
.s411-universal-shell>.s411-standard-sidebar .dm-side-nav--home a{padding:9px 10px!important;border-radius:9px!important;font-size:12px!important;color:#22304c!important;min-height:0!important}
.s411-universal-shell>.s411-standard-sidebar .dm-side-nav--home a.is-active{background:var(--s411-ui-surface-raised)!important;color:var(--s411-ui-text)!important;box-shadow:none!important}.s411-universal-shell>.s411-standard-sidebar .dm-side-nav--home a.is-active svg{color:#EF0107!important;stroke:#EF0107!important}
.s411-universal-shell>.s411-standard-sidebar .dm-side-nav--home svg{width:18px!important;height:18px!important}
.s411-universal-shell>.s411-standard-sidebar .dm-community-block{padding:11px 8px 0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.s411-universal-shell>.s411-standard-sidebar .dm-community-links a{padding:7px 0!important;font-size:11px!important}
.s411-universal-shell>.s411-standard-sidebar .dm-community-mark{flex:0 0 24px;width:24px;height:24px;border-radius:7px;display:grid;place-items:center}
/* Consistent contextual right rail; preserve native widgets including Community discovery. */
.s411-universal-shell>.dm-desktop-context-rail .dm-rail-search{height:44px!important;border:1px solid var(--line)!important;border-radius:11px!important;margin-bottom:9px!important;display:flex;align-items:center;gap:10px;padding:0 14px;background:var(--s411-ui-surface);box-shadow:var(--shadow)}
.s411-universal-shell>.dm-desktop-context-rail .dm-panel{border:1px solid var(--line)!important;border-radius:12px!important;background:var(--s411-ui-surface)!important;padding:13px 15px!important;box-shadow:var(--shadow)!important;margin-bottom:10px!important}
.s411-universal-shell>.dm-desktop-context-rail .dm-widget-heading h3{font-size:14px!important}
.s411-for-you-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:12px}
.s411-for-you-mark{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:8px;background:#eef1f6;overflow:hidden}
.s411-for-you-mark img{width:100%;height:100%;object-fit:contain}
.s411-appearance-controls{padding:10px 8px 8px;margin:4px 0 6px}
.s411-appearance-label{display:block;margin:0 0 7px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--s411-ui-muted)}
.s411-appearance-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;border:1px solid #e4e9ef;border-radius:10px;background:#f4f6f8}
.s411-appearance-options>button{border:0!important;border-radius:7px!important;background:transparent!important;min-height:30px;padding:3px!important;font-size:10px!important;font-weight:700!important;color:#526079!important;cursor:pointer}
.s411-appearance-options>button[aria-pressed="true"]{background:#fff!important;color:#192842!important;box-shadow:0 1px 4px rgba(12,22,44,.1)}
.s411-mobile-appearance{border:1px solid #dce2eb;border-radius:50%;width:34px;height:34px;background:#fff;font-size:21px;display:grid;place-items:center;cursor:pointer}
:where(button,a,input,select,textarea):focus-visible{outline:2px solid #ef0107!important;outline-offset:2px!important}
@media(max-width:1240px){
 body.s411-universal-active .s411-universal-shell{grid-template-columns:238px minmax(0,1fr) 330px!important;gap:14px!important}
}
@media(max-width:1100px){
 body.s411-universal-active .s411-universal-shell{grid-template-columns:230px minmax(0,1fr)!important}
 body.s411-universal-active .s411-universal-shell>.dm-desktop-context-rail{display:none!important}
}
@media(max-width:820px){
 body.s411-universal-active .s411-universal-shell{grid-template-columns:205px minmax(0,1fr)!important;padding:12px!important}
 body.s411-universal-active .s411-universal-shell>.s411-standard-sidebar{padding:12px 10px 16px!important}
}
@media(min-width:721px){body.s411-universal-active .s411-universal-shell{column-gap:18px!important}}
@media(max-width:720px){
 body.s411-universal-active .s411-universal-shell{display:block!important;max-width:100%!important;margin:0!important;padding:6px 0 14px!important}
 body.s411-universal-active .s411-universal-shell>.s411-standard-sidebar,
 body.s411-universal-active .s411-universal-shell>.dm-desktop-context-rail{display:none!important}
 body.s411-universal-active .s411-universal-content{display:block!important;grid-column:auto!important}
 body.s411-universal-active .s411-universal-content>.dm-shell{max-width:100%!important;padding:0!important}
}
/* Dark mode is implemented as an override layer over the complete established UI.
   Keep football status, crest and team-brand tokens intact. */
html[data-s411-effective-theme="dark"]{
 color-scheme:dark;--bg:#10141c;--surface:#1a202c;--surface-soft:#202735;--text:#f1f3f8;--muted:#aeb8c9;--muted-2:#909db1;--line:#354053;--accent:#ff4b54;--accent-soft:#342129;--shadow:0 8px 28px rgba(0,0,0,.20);
}
html[data-s411-effective-theme="dark"] body{background:#10141c!important;color:#f1f3f8!important}
html[data-s411-effective-theme="dark"] :where(.dm-left,.dm-right,.dm-desktop-context-rail,.dm-desktop-site-rail,.dm-home-mobile-topbar,.dm-mobile-nav,.dm-site-drawer-panel,.dm-topbar,.dm-panel,.dm-card,.dm-composer,.dm-profile-card,.dm-interest-block,.dm-community-card,.dm-community-row,.dm-community-index-head,.dm-community-my-widget,.dm-community-discovery-hero,.dm-community-featured-section,.dm-football-hub-competitions,.dm-football-hub-standings,.dm-football-hub-v2__hero,.dm-football-hub-card,.dm-football-archive-hero,.dm-football-archive-table-card,.dm-competition-full-card-v2,.dm-matchday-card,.dm-live-match-feed-card,.dm-predictor-card,.dm-match-centre,.dm-modal>section,.dm-publishing-modal>section,.dm-take-composer,.dm-poll-composer,.dm-rail-search,.dm-widget,.dm-match-header,.dm-fixtures-widget,.dm-discussions-widget,.dm-trending-widget,.dm-football-hub-featured-competition,.dm-football-hub-competition,.dm-home-shell .dm-left,.dm-home-shell .dm-right){background-color:#1a202c!important;border-color:#354053!important;box-shadow:none!important;color:#f1f3f8!important}
html[data-s411-effective-theme="dark"] .s411-universal-shell>.s411-standard-sidebar.dm-left,
html[data-s411-effective-theme="dark"] .s411-universal-shell>.dm-desktop-context-rail .dm-panel,
html[data-s411-effective-theme="dark"] .s411-universal-shell>.dm-desktop-context-rail .dm-rail-search{background:#1a202c!important;border-color:#354053!important;color:#f1f3f8!important}
html[data-s411-effective-theme="dark"] :where(.dm-side-nav,.dm-side-nav--home,.dm-feed-tabs,.dm-feed-tabs--home,.dm-composer-input,.dm-composer-action,.dm-composer-actions button,.dm-composer-actions a,.dm-profile-copy,.dm-card-body,.dm-community-card-body,.dm-community-widget-row,.dm-footer,.dm-match-panel,.dm-fixture-row,.dm-competition-fixture-v2,.dm-football-hub-table-wrap,.dm-football-hub-tabs,.dm-football-hub-tabnav,.dm-football-hub-v2__bottom-grid,.dm-poll-option,.dm-live-match-form,.dm-prediction-options,.dm-mobile-search,.dm-community-filters,.dm-football-hub-card-foot){background-color:#1a202c!important;border-color:#354053!important;color:#f1f3f8!important}
html[data-s411-effective-theme="dark"] :where(h1,h2,h3,h4,h5,h6,p,dt,dd,strong,legend,label,summary,th,td,.dm-side-nav a,.dm-side-nav--home a,.dm-rail-brand,.dm-profile-copy strong,.dm-widget-heading h3,.dm-feed-tabs a,.dm-card h2,.dm-card h2 a,.dm-football-hub-v2__hero h1,.dm-community-index-head h1,.dm-composer-action,.dm-article-body,.dm-take-copy){color:#f1f3f8!important}
html[data-s411-effective-theme="dark"] :where(small,.dm-widget-empty,.dm-card-excerpt,.dm-community-card small,.dm-author-line span,.dm-football-hub-v2__hero p,.dm-community-index-head p,.dm-section-heading a,.dm-trend small,.dm-fixture-kickoff small,.dm-card-meta,.dm-competition-hero-subtitle){color:#b6c1d2!important}
html[data-s411-effective-theme="dark"] :where(input,textarea,select,.dm-header-search,.dm-mobile-search input,.dm-rail-search input,.dm-community-search input,.dm-predictor-filter select){background:#202735!important;color:#f1f3f8!important;border-color:#41506a!important}
html[data-s411-effective-theme="dark"] :where(input,textarea)::placeholder{color:#aeb8c9!important;opacity:1}
html[data-s411-effective-theme="dark"] :where(.dm-rank,.dm-community-mark,.dm-community-card-badge,.dm-side-divider,.dm-matchday-prediction,.dm-matchday-prediction-button,.dm-live-match-prediction,.dm-live-match-prediction-option,.dm-card-tags a,.dm-trend,.dm-fixture-link,.dm-fixture-row,.dm-article-native-match,.dm-matches-filter,.dm-football-hub-table td){background-color:#202735!important;border-color:#354053!important;color:#f1f3f8!important}
html[data-s411-effective-theme="dark"] .dm-side-nav a.is-active,
html[data-s411-effective-theme="dark"] .s411-universal-shell>.s411-standard-sidebar .dm-side-nav a.is-active{background:#202735!important;color:#f1f3f8!important;box-shadow:none!important} html[data-s411-effective-theme="dark"] .dm-side-nav a.is-active svg, html[data-s411-effective-theme="dark"] .s411-universal-shell>.s411-standard-sidebar .dm-side-nav a.is-active svg{color:#EF0107!important;stroke:#EF0107!important}
html[data-s411-effective-theme="dark"] .s411-appearance-label{color:#b6c1d2}
html[data-s411-effective-theme="dark"] .s411-appearance-options{background:#111923;border-color:#354053}
html[data-s411-effective-theme="dark"] .s411-appearance-options>button{color:#b6c1d2!important}
html[data-s411-effective-theme="dark"] .s411-appearance-options>button[aria-pressed="true"]{background:#354053!important;color:#fff!important}
html[data-s411-effective-theme="dark"] .s411-mobile-appearance{background:#202735;color:#f1f3f8;border-color:#354053}
html[data-s411-effective-theme="dark"] .dm-brand-wordmark--text{color:#fff!important}
html[data-s411-effective-theme="dark"] :where(.dm-notification-badge,.dm-mobile-create b,.dm-community-join,.dm-button-primary){color:#fff!important}
html[data-s411-effective-theme="dark"] :where(.dm-side-nav a:hover,.dm-trend:hover,.dm-discussion-link:hover){background:#263246!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* Secondary header appearance switch must remain accessible at mobile widths. */
@media(max-width:1024px){body.s411-universal-active .dm-home-mobile-topbar .dm-home-mobile-actions{display:flex!important;align-items:center!important;gap:8px!important}}


/* Soccer 411 v0.19.41 — dark-mode legibility repair.
   ONLY active when dark mode is effective. The approved light-mode layout,
   markup, football data, matchday/prediction scripts and status indicators are unchanged. */
html[data-s411-effective-theme="dark"] {
 --s411-dark-bg:#10141c;
 --s411-dark-card:#1a202c;
 --s411-dark-raised:#232c3b;
 --s411-dark-border:#3b475b;
 --s411-dark-text:#f4f6fb;
 --s411-dark-muted:#bdc8dc;
 --s411-dark-red:#ff6168;
}
/* Shared identity and rail navigation: distinguish navigation links from headings. */
html[data-s411-effective-theme="dark"] :is(.home .dm-left,.s411-universal-shell>.s411-standard-sidebar) .dm-profile-link,
html[data-s411-effective-theme="dark"] :is(.home .dm-left,.s411-universal-shell>.s411-standard-sidebar) .dm-profile-copy a,
html[data-s411-effective-theme="dark"] :is(.home .dm-left,.s411-universal-shell>.s411-standard-sidebar) .dm-profile-copy strong {
 color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] :is(.home .dm-left,.s411-universal-shell>.s411-standard-sidebar) .dm-side-nav--home a,
html[data-s411-effective-theme="dark"] :is(.home .dm-left,.s411-universal-shell>.s411-standard-sidebar) .dm-community-links a,
html[data-s411-effective-theme="dark"] :is(.home .dm-left,.s411-universal-shell>.s411-standard-sidebar) .dm-community-block .dm-section-heading a,
html[data-s411-effective-theme="dark"] :is(.home .dm-left,.s411-universal-shell>.s411-standard-sidebar) .dm-community-block .dm-section-heading h3 {
 color:var(--s411-dark-muted)!important;
}
html[data-s411-effective-theme="dark"] :is(.home .dm-left,.s411-universal-shell>.s411-standard-sidebar) .dm-side-nav--home a:hover {
 color:#fff!important;background:#2d374a!important;
}
html[data-s411-effective-theme="dark"] :is(.home .dm-left,.s411-universal-shell>.s411-standard-sidebar) .dm-side-nav--home a.is-active {
 color:var(--s411-dark-text)!important;background:#202735!important;box-shadow:none!important;
} html[data-s411-effective-theme="dark"] :is(.home .dm-left,.s411-universal-shell>.s411-standard-sidebar) .dm-side-nav--home a.is-active svg{color:#EF0107!important;stroke:#EF0107!important}
html[data-s411-effective-theme="dark"] :is(.home .dm-left,.s411-universal-shell>.s411-standard-sidebar) .dm-community-mark {
 background:#303b50!important;color:#edf2fb!important;
}
/* Ensure approved feed tab labels and red selection are legible in both states. */
html[data-s411-effective-theme="dark"] .dm-feed-tabs--home a,
html[data-s411-effective-theme="dark"] .dm-feed-tabs--home a:not(.is-active),
html[data-s411-effective-theme="dark"] .dm-feed-tabs a {
 color:var(--s411-dark-muted)!important;
}
html[data-s411-effective-theme="dark"] .dm-feed-tabs--home a.is-active,
html[data-s411-effective-theme="dark"] .dm-feed-tabs a.is-active {
 color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] .dm-feed-tabs--home a.is-active::after,
html[data-s411-effective-theme="dark"] .dm-feed-tabs a.is-active::after {background:#ef0107!important}
/* Matchday top line and scoreboard. Do not alter team crest colours or W/D/L markers. */
html[data-s411-effective-theme="dark"] .dm-live-match-topline {border-color:var(--s411-dark-border)!important}
html[data-s411-effective-theme="dark"] .dm-live-match-context,
html[data-s411-effective-theme="dark"] .dm-live-match-score small,
html[data-s411-effective-theme="dark"] .dm-live-match-scoreline em,
html[data-s411-effective-theme="dark"] .dm-live-match-competition,
html[data-s411-effective-theme="dark"] .dm-live-match-team strong {
 color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] .dm-live-match-context>span,
html[data-s411-effective-theme="dark"] .dm-live-match-score small {color:var(--s411-dark-muted)!important}
html[data-s411-effective-theme="dark"] .dm-live-match-status:not(.is-live) {
 background:#2c384b!important;color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] .dm-live-match-scoreline {color:var(--s411-dark-text)!important}
html[data-s411-effective-theme="dark"] .dm-matchday-countdown {color:#93ddbb!important}
/* Recent form strip: keep each result marker's green / grey / red state. */
html[data-s411-effective-theme="dark"] .dm-matchday-form-guide,
html[data-s411-effective-theme="dark"] .dm-matchday-last-meeting {
 background:var(--s411-dark-raised)!important;
 border-color:var(--s411-dark-border)!important;
 color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] .dm-matchday-form-guide strong,
html[data-s411-effective-theme="dark"] .dm-matchday-last-meeting strong {color:var(--s411-dark-text)!important}
html[data-s411-effective-theme="dark"] .dm-matchday-form-guide>small,
html[data-s411-effective-theme="dark"] .dm-matchday-last-meeting small {color:var(--s411-dark-muted)!important}
/* Prediction panel: retain red selected state without white blocks on dark background. */
html[data-s411-effective-theme="dark"] .dm-matchday-prediction {
 background:var(--s411-dark-card)!important;
 border-color:var(--s411-dark-border)!important;
 border-top-color:#ef0107!important;
 color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] .dm-matchday-prediction-head strong,
html[data-s411-effective-theme="dark"] .dm-matchday-prediction-options button span,
html[data-s411-effective-theme="dark"] .dm-matchday-prediction-options button strong {
 color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] .dm-matchday-prediction-head small {color:#ff737b!important}
html[data-s411-effective-theme="dark"] .dm-matchday-prediction-head>span {
 background:#2b3546!important;color:#d3ddec!important;
}
html[data-s411-effective-theme="dark"] .dm-matchday-prediction-options button {
 background:#263143!important;
 border-color:#41506a!important;
 color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] .dm-matchday-prediction-options button:hover:not(:disabled) {
 background:#313d51!important;border-color:#ff737b!important;
}
html[data-s411-effective-theme="dark"] .dm-matchday-prediction-options button.is-selected {
 background:#47252f!important;
 border-color:#ff626c!important;
 box-shadow:inset 0 0 0 1px rgba(255,98,108,.26)!important;
}
html[data-s411-effective-theme="dark"] .dm-matchday-prediction-options button.is-selected span,
html[data-s411-effective-theme="dark"] .dm-matchday-prediction-options button.is-selected strong {
 color:#ffe8eb!important;
}
html[data-s411-effective-theme="dark"] .dm-matchday-prediction-note {color:var(--s411-dark-muted)!important}
/* Match action bar: dark on dark, no white slab, predictable hover/focus. */
html[data-s411-effective-theme="dark"] .dm-live-match-actions,
html[data-s411-effective-theme="dark"] .dm-live-match-footer {
 background:#202938!important;
 border-color:var(--s411-dark-border)!important;
}
html[data-s411-effective-theme="dark"] .dm-live-match-actions>button,
html[data-s411-effective-theme="dark"] .dm-live-match-actions>a {
 background:transparent!important;
 border-color:var(--s411-dark-border)!important;
 color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] .dm-live-match-actions>button:hover,
html[data-s411-effective-theme="dark"] .dm-live-match-actions>button.is-active,
html[data-s411-effective-theme="dark"] .dm-live-match-actions>a:hover {
 background:#313d50!important;
 color:#fff!important;
}
html[data-s411-effective-theme="dark"] .dm-live-match-actions small,
html[data-s411-effective-theme="dark"] .dm-live-match-footer>span {color:var(--s411-dark-muted)!important}
/* Contextual widgets, search, and content that retained original light-mode ink. */
html[data-s411-effective-theme="dark"] .dm-right .dm-widget-heading a,
html[data-s411-effective-theme="dark"] .dm-right .dm-widget-heading span,
html[data-s411-effective-theme="dark"] .dm-right .dm-trend strong,
html[data-s411-effective-theme="dark"] .dm-right .dm-fixture-team strong,
html[data-s411-effective-theme="dark"] .dm-right .dm-fixture-kickoff strong,
html[data-s411-effective-theme="dark"] .dm-right .dm-discussion-link strong,
html[data-s411-effective-theme="dark"] .dm-desktop-context-rail .dm-widget-heading a,
html[data-s411-effective-theme="dark"] .dm-desktop-context-rail .dm-discussion-link strong {
 color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] .dm-right :is(.dm-fixture-kickoff small,.dm-discussion-link small,.dm-trend small),
html[data-s411-effective-theme="dark"] .dm-desktop-context-rail :is(.dm-fixture-kickoff small,.dm-discussion-link small,.dm-trend small) {
 color:var(--s411-dark-muted)!important;
}
html[data-s411-effective-theme="dark"] .dm-composer-actions--home>a,
html[data-s411-effective-theme="dark"] .dm-composer-actions--home>button {
 background:#202938!important;color:var(--s411-dark-text)!important;
 border-color:var(--s411-dark-border)!important;
}
html[data-s411-effective-theme="dark"] .dm-composer-actions--home>a:hover,
html[data-s411-effective-theme="dark"] .dm-composer-actions--home>button:hover {
 background:#303b4d!important;
}
/* Keep article feed cards readable without altering badge or visual colours. */
html[data-s411-effective-theme="dark"] :is(.dm-author-line strong,.dm-card h2,.dm-card h2 a,.dm-card-cta,.dm-article-body,.dm-take-copy,.dm-card-tags a) {
 color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] .dm-card-tags a {background:#2b3546!important;border-color:var(--s411-dark-border)!important}
html[data-s411-effective-theme="dark"] .dm-card-excerpt,
html[data-s411-effective-theme="dark"] .dm-author-line span {color:var(--s411-dark-muted)!important}
/* Other matchday subpanels use the same accessible dark surfaces. */
html[data-s411-effective-theme="dark"] :is(.dm-matchday-team-form,.dm-matchday-lineup-team,.dm-matchday-h2h-summary,.dm-matchday-h2h-insight) {
 background:var(--s411-dark-raised)!important;border-color:var(--s411-dark-border)!important;color:var(--s411-dark-text)!important;
}
html[data-s411-effective-theme="dark"] :is(.dm-matchday-team-name strong,.dm-matchday-team-form p b,.dm-matchday-h2h-counts b,.dm-matchday-h2h-last strong,.dm-matchday-lineup-team li) {color:var(--s411-dark-text)!important}
html[data-s411-effective-theme="dark"] :is(.dm-matchday-team-form p,.dm-matchday-lineup-team-head small,.dm-matchday-h2h-counts small,.dm-matchday-h2h-summary-head span,.dm-matchday-h2h-last small) {color:var(--s411-dark-muted)!important}
/* Preserve result markers and live status colors; don't recolour third-party imagery. */

/* v0.19.42: /football/ synthetic route never contains a second page grid.
   Explicitly size the neutral wrapper without changing the approved Home styles. */
.s411-football-content{display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
.s411-football-content>.dm-football-hub-v2{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
@media(min-width:721px){body.s411-universal-active .s411-universal-shell>.s411-universal-content .s411-football-content{grid-column:auto!important}}

/* Existing featured competition cards have a white gradient image, which
   setting background-color alone cannot clear in dark mode. */
html[data-s411-effective-theme="dark"] .s411-football-content .dm-football-hub-featured-competition{background-image:none!important;background-color:#232c3b!important;border-color:#3b475b!important;color:#f4f6fb!important}
html[data-s411-effective-theme="dark"] .s411-football-content .dm-football-hub-featured-competition__copy :is(strong,em){color:#f4f6fb!important}
html[data-s411-effective-theme="dark"] .s411-football-content .dm-football-hub-featured-competition__copy small{color:#bdc8dc!important}
html[data-s411-effective-theme="dark"] .s411-football-content .dm-football-hub-featured-competition__badge{background:#303b4d!important}
html[data-s411-effective-theme="dark"] .s411-football-content .dm-football-hub-featured-competition__badge b{color:#f4f6fb!important}
html[data-s411-effective-theme="dark"] .s411-football-content .dm-football-hub-featured-competition>b{color:#bdc8dc!important}

/* v0.19.43 — Shared right rail: compact football fixtures and discovery.
   The legacy rules for .home and body.dm-desktop-rail-global do not apply to
   synthetic /football/ routes using s411-universal-shell. These styles are
   intentionally SCOPED to the new rail; approved Home components are untouched. */
.s411-universal-shell>.dm-desktop-context-rail .dm-fixture-list--compact{
  display:grid!important;gap:5px!important;min-width:0!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-fixture-list--compact .dm-fixture-row{
  display:grid!important;grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr)!important;
  align-items:center!important;gap:6px!important;min-height:58px!important;
  padding:10px 4px!important;margin:0!important;border:0!important;
  border-top:1px solid var(--line)!important;text-decoration:none!important;
  box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-fixture-list--compact .dm-fixture-row:first-child{border-top:0!important}
.s411-universal-shell>.dm-desktop-context-rail .dm-fixture-team{
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
  gap:6px!important;min-width:0!important;max-width:100%!important;
  align-self:center!important;overflow:hidden!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-fixture-team--away{
  justify-content:flex-end!important;text-align:right!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-fixture-team img{
  display:block!important;width:27px!important;height:27px!important;
  min-width:27px!important;max-width:27px!important;max-height:27px!important;
  flex:0 0 27px!important;object-fit:contain!important;object-position:center!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-fixture-team strong{
  display:block!important;min-width:0!important;max-width:100%!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  font-size:10px!important;line-height:1.3!important;font-weight:750!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-fixture-kickoff{
  display:grid!important;justify-items:center!important;align-content:center!important;
  gap:3px!important;min-width:0!important;max-width:100%!important;
  text-align:center!important;line-height:1.2!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-fixture-kickoff small{
  display:block!important;width:100%!important;overflow:hidden!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
  font-size:8px!important;line-height:1.15!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-fixture-kickoff strong{
  display:block!important;font-size:11px!important;font-weight:850!important;
  line-height:1.2!important;white-space:nowrap!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-fixture-kickoff em{
  font-size:8px!important;font-weight:900!important;font-style:normal!important;color:#ef0107!important;
}
/* Other content in the same universal right rail must remain compact. */
.s411-universal-shell>.dm-desktop-context-rail .dm-trend{
  display:grid!important;grid-template-columns:26px minmax(0,1fr) auto!important;
  gap:8px!important;align-items:center!important;min-height:38px!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-trend strong{
  min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;
  white-space:nowrap!important;font-size:11px!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-trend small{font-size:9px!important}
.s411-universal-shell>.dm-desktop-context-rail .dm-rank{
  width:24px!important;height:24px!important;display:grid!important;place-items:center!important;
  border-radius:7px!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-discussion-link{
  display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;
  gap:9px!important;align-items:center!important;min-width:0!important;padding:8px 0!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-discussion-link.no-thumb{
  grid-template-columns:minmax(0,1fr)!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-discussion-link>div{min-width:0!important}
.s411-universal-shell>.dm-desktop-context-rail .dm-discussion-thumb{
  display:block!important;width:52px!important;height:42px!important;
  border-radius:7px!important;overflow:hidden!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-discussion-thumb img{
  width:100%!important;height:100%!important;max-width:100%!important;
  object-fit:cover!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-discussion-link strong{
  display:block!important;font-size:11px!important;line-height:1.3!important;
}
.s411-universal-shell>.dm-desktop-context-rail .dm-discussion-link small{
  display:block!important;font-size:9px!important;margin-top:3px!important;
}
html[data-s411-effective-theme="dark"] .s411-universal-shell>.dm-desktop-context-rail .dm-fixture-row{
  border-color:#354053!important;color:#f1f3f8!important;
}
html[data-s411-effective-theme="dark"] .s411-universal-shell>.dm-desktop-context-rail .dm-fixture-row:hover{
  background:#283346!important;
}
html[data-s411-effective-theme="light"] .s411-universal-shell>.dm-desktop-context-rail .dm-fixture-row:hover{
  background:#f5f7fa!important;
}

/* v0.19.44 — Football hub: content-first heading.
   This is scoped ONLY to /football/ markup; other Football entities and
   the approved homepage have not changed. Keep a semantic H1 for assistive
   technologies, remove its visual space and keep the five section links. */
.s411-football-content .dm-football-hub-v2 > .dm-football-hub-v2__hero{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
.s411-football-content .s411-football-visually-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.s411-football-content .dm-football-hub-v2 > .dm-football-hub-v2__hero .dm-football-hub-v2__nav{
  display:flex!important;
  flex-flow:row nowrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:4px!important;
  box-sizing:border-box!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0!important;
  padding:4px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none;
}
.s411-football-content .dm-football-hub-v2 > .dm-football-hub-v2__hero .dm-football-hub-v2__nav::-webkit-scrollbar{display:none}
.s411-football-content .dm-football-hub-v2 > .dm-football-hub-v2__hero .dm-football-hub-v2__nav a{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}

/* Soccer 411 v0.19.45 — Editorial article readability in dark mode.
   The light appearance, page markup, sidebar dimensions, football-data
   and prediction components are intentionally unchanged. WP's .single
   class scopes this to article pages, not the approved homepage or Football Hub. */
html[data-s411-effective-theme="dark"] body.single .dm-article-wrap > .dm-article,
html[data-s411-effective-theme="dark"] body.single .dm-article--editorial {
  background:#1a202c!important;
  border-color:#354053!important;
  color:#f1f3f8!important;
  box-shadow:0 14px 35px rgba(0,0,0,.12)!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-editorial-hero {
  background:#1a202c!important;
  background-image:linear-gradient(180deg,#202938 0%,#1a202c 100%)!important;
  border-bottom:1px solid #354053!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-article--editorial h1,
html[data-s411-effective-theme="dark"] body.single .dm-editorial-hero h1,
html[data-s411-effective-theme="dark"] body.single .dm-prose--editorial :is(h2,h3,h4,h5),
html[data-s411-effective-theme="dark"] body.single .dm-article > h1 {
  color:#f5f7fc!important;
}
html[data-s411-effective-theme="dark"] body.single :is(.dm-editorial-standfirst,.dm-editorial-meta,.dm-editorial-byline time,.dm-editorial-author small,.dm-byline,.dm-editorial-breadcrumbs,.dm-editorial-breadcrumbs a){
  color:#bac7d9!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-editorial-byline {
  border-top-color:#354053!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-prose--editorial,
html[data-s411-effective-theme="dark"] body.single .dm-prose:not(.dm-prose--editorial) {
  color:#dce5f3!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-prose--editorial :is(p,li),
html[data-s411-effective-theme="dark"] body.single .dm-prose:not(.dm-prose--editorial) :is(p,li){
  color:#dce5f3!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-prose a,
html[data-s411-effective-theme="dark"] body.single .dm-editorial-breadcrumbs a:hover{
  color:#8abaff!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-prose--editorial blockquote {
  background:#263749!important;
  color:#e8f1fa!important;
  border-left-color:#ff555f!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-prose--editorial blockquote p {color:#e8f1fa!important}
html[data-s411-effective-theme="dark"] body.single .dm-prose hr,
html[data-s411-effective-theme="dark"] body.single .dm-editorial-byline,
html[data-s411-effective-theme="dark"] body.single .dm-article-engagement{
  border-color:#354053!important;
}
/* Article-specific editorial modules must match the dark reading surface. */
html[data-s411-effective-theme="dark"] body.single .dm-editorial-module:not(.dm-reading-checklist),
html[data-s411-effective-theme="dark"] body.single .dm-xg-story-main,
html[data-s411-effective-theme="dark"] body.single .dm-xg-related {
  background:#232c3b!important;
  background-image:none!important;
  border-color:#3b475b!important;
  color:#e6edf8!important;
}
html[data-s411-effective-theme="dark"] body.single :is(.dm-match-evidence-score,.dm-match-evidence-takeaway,.dm-editorial-tactics-sequence span,.dm-xgot-flow-grid>div){
  background:#1a2230!important;
  background-image:none!important;
  border-color:#3b475b!important;
  color:#e0e9f6!important;
}
html[data-s411-effective-theme="dark"] body.single :is(.dm-editorial-module-head h3,.dm-match-evidence-team strong,.dm-match-evidence-result b,.dm-match-evidence-row>b,.dm-match-evidence-takeaway strong,.dm-xg-related h2,.dm-xg-related strong,.dm-xg-story-main h2,.dm-xg-story-main h3){
  color:#f1f5fd!important;
}
html[data-s411-effective-theme="dark"] body.single :is(.dm-editorial-module-head p,.dm-match-evidence-result>span,.dm-match-evidence-row>div>span,.dm-editorial-source,.dm-editorial-learning>span,.dm-xg-related small){
  color:#b7c5da!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-editorial-module-head>a{
  background:#202a39!important;
  border-color:#495974!important;
  color:#c9e3ff!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-watch-next-time{
  background:#23382e!important;
  border-color:#3e6656!important;
  color:#e4f6e9!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-watch-next-time :is(p,li,strong,h2,h3){color:#e4f6e9!important}
/* Preserve intentionally coloured football visuals and dark hero/scorecards. */
html[data-s411-effective-theme="dark"] body.single .dm-reading-checklist{
  background:linear-gradient(145deg,#0d1b3d 0%,#11294a 65%,#311820 120%)!important;
}
html[data-s411-effective-theme="dark"] body.single .dm-editorial-pitch,
html[data-s411-effective-theme="dark"] body.single .dm-xg-scorecard,
html[data-s411-effective-theme="dark"] body.single .dm-article-native-match {
  color:#fff;
}

/* Soccer 411 v0.19.47 — Article headline adjustment approved at 18–20px.
   Include both normal and editorial single-post articles. The previous 0.19.46
   rule only matched non-editorial posts, missing the photographed headline.
   Do not affect page headings, homepage, navigation, embedded match components,
   or article body heading levels. */
body.single .dm-article:not(.dm-article--editorial) > h1,
body.single .dm-article--editorial .dm-editorial-hero > h1 {
  font-size:20px;
  line-height:1.35;
  letter-spacing:-.012em;
  margin:12px 0 16px;
  overflow-wrap:break-word;
}
@media (max-width:720px) {
  body.single .dm-article:not(.dm-article--editorial) > h1,
  body.single .dm-article--editorial .dm-editorial-hero > h1 {
    font-size:18px;
    line-height:1.35;
  }
}

/* Soccer 411 v0.19.48 — site-wide dark appearance coverage.
 * Source reviewed: Football archives, matchday, match centre, competitions,
 * clubs, national teams, players, predictor, communities, profiles, library,
 * notifications, search, auth, onboarding and article components.
 * All selectors activate ONLY in dark appearance. No content/JS/routes change.
 * Do not override team branding, live status, match pitches or crest assets. */
html[data-s411-effective-theme="dark"]{
 --s411-page-card:#1a202c;
 --s411-page-raised:#232c3b;
 --s411-page-inset:#202938;
 --s411-page-stroke:#3b475b;
 --s411-page-ink:#f4f6fb;
 --s411-page-muted:#bdc8dc;
 --s411-page-link:#9bc9ff;
}
/* Shared page panels left out of the original dark palette. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-day-group,.dm-football-archive-fixture,.dm-football-competition-hero,
 .dm-football-club-hero:not(.has-club-brand),.dm-football-club-snapshot>div,.dm-football-archive-clubs,
 .dm-player-profile-hero,.dm-player-overview-card,.dm-player-leader-card,
 .dm-player-recent-card,.dm-player-results-status,.dm-stats-card,.dm-stats-hero,
 .dm-vs-premium-card,.dm-matchday-fixture,.dm-matchday-filters,.dm-matchday-calendar,
 .dm-matchday-group,.dm-matchday-section,.dm-predictor-fixture,.dm-predictor-rules-card,
 .dm-predictor-example,.dm-predictor-how-grid>div,.dm-predictor-steps>div,
 .dm-community-my-widget,.dm-community-row,.dm-community-hero-action,
 .dm-member-profile-hero,.dm-member-football-identity,.dm-library-heading,
 .dm-library-tip,.dm-notification-item,.dm-search-page__result,
 .dm-member-access-card,.dm-onboarding-section,.dm-onboarding-club-group,
 .dm-onboarding-league-choice,.dm-player-sheet-card
 ){
 background:var(--s411-page-card)!important;
 background-image:none!important;
 color:var(--s411-page-ink)!important;
 border-color:var(--s411-page-stroke)!important;
}
/* Branded club/community hero gradients are intentionally excluded. */
/* Archive / Matches — source of the user-reported white-on-white regression. */
html[data-s411-effective-theme="dark"] body .dm-football-archive-page :is(
 .dm-football-archive-nav a,.dm-football-archive-filter a,.dm-football-section-tabs a,
 .dm-football-archive-live-link,.dm-football-archive-meta strong,
 .dm-football-team-filter-note,.dm-football-club-chip
 ){
 background:var(--s411-page-inset)!important;
 border-color:var(--s411-page-stroke)!important;
 color:var(--s411-page-ink)!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-archive-page :is(
 .dm-football-archive-nav a.is-active,.dm-football-archive-filter a.is-active,
 .dm-football-section-tabs a.is-active
 ){
 background:#263f37!important;
 border-color:#498c72!important;
 color:#d2ffe8!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-archive-page :is(
 .dm-football-day-group>header h2,.dm-football-week-label span,
 .dm-football-archive-team b,.dm-football-archive-score,.dm-football-archive-foot span,
 .dm-football-archive-hero h1,.dm-football-competition-hero h1,
 .dm-football-club-hero h1,.dm-football-team-filter-note strong,
 .dm-football-club-position strong,.dm-football-club-snapshot strong
 ){color:var(--s411-page-ink)!important}
html[data-s411-effective-theme="dark"] body .dm-football-archive-page :is(
 .dm-football-week-label,.dm-football-archive-meta,.dm-football-archive-meta span,
 .dm-football-archive-foot,.dm-football-day-group>header small,
 .dm-football-day-group>header nav a,.dm-football-day-group>header span,
 .dm-football-club-snapshot span,.dm-football-club-position span,
 .dm-football-archive-hero p,.dm-football-club-hero p
 ){color:var(--s411-page-muted)!important}
html[data-s411-effective-theme="dark"] body .dm-football-archive-page .dm-football-archive-fixture:hover{
 background:#2b3648!important;border-color:#6c7e98!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-archive-page .dm-football-archive-meta strong.is-live{
 background:#4d2733!important;color:#ffb5bd!important;
}
html[data-s411-effective-theme="dark"] body .dm-football-archive-page .dm-football-section-tabs{background:var(--s411-dark-bg,#10141c)!important}
/* Fixture and competition pages — match content remains accessible. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-competition-fixture-v2,.dm-uefa-journey-fixture .dm-competition-fixture-v2,
 .dm-competition-group,.dm-competition-group-card,.dm-competition-table-wrap,
 .dm-international-table,.dm-football-hub-standings .dm-football-hub-table-wrap,
 .dm-football-hub-competition-group,.dm-football-archive-table-card
 ){
 background:var(--s411-page-raised)!important;background-image:none!important;
 color:var(--s411-page-ink)!important;border-color:var(--s411-page-stroke)!important;
}
html[data-s411-effective-theme="dark"] body :is(
 .dm-competition-fixture-v2__matchup,.dm-competition-fixture-v2__team,
 .dm-competition-fixture-v2__score,.dm-competition-fixture-v2__foot,
 .dm-stats-card__head,.dm-stats-card footer,.dm-stats-filters,
 .dm-competition-tabs-v2,.dm-player-profile-tabs,
 .dm-player-profile-tab,.dm-match-tabs,.dm-match-tab,
 .dm-football-hub-standings .dm-football-hub-tabs button
 ){
 background-color:var(--s411-page-inset)!important;
 border-color:var(--s411-page-stroke)!important;
 color:var(--s411-page-ink)!important;
}
html[data-s411-effective-theme="dark"] body :is(
 .dm-competition-fixture-v2__meta,.dm-competition-fixture-v2__foot,
 .dm-stats-hero p,.dm-stats-card footer,.dm-stats-card__head small,
 .dm-stats-leader-list small,.dm-player-profile-meta,
 .dm-player-recent-metrics,.dm-player-leader-card>p
 ){color:var(--s411-page-muted)!important}
html[data-s411-effective-theme="dark"] body .dm-stats-card.is-featured .dm-stats-card__head{
 background:#2b3944!important;background-image:none!important;
}
html[data-s411-effective-theme="dark"] body .dm-competition-fixture-v2.is-live{
 border-left:3px solid #ff676c!important;
}
html[data-s411-effective-theme="dark"] body :is(.dm-football-table,.dm-international-table table,.dm-predictor-scoring-table) :is(th,td){
 background:var(--s411-page-card)!important;
 color:var(--s411-page-ink)!important;
 border-color:var(--s411-page-stroke)!important;
}
html[data-s411-effective-theme="dark"] body :is(.dm-football-table,.dm-international-table table,.dm-predictor-scoring-table) tbody tr:nth-child(even) :is(th,td){background:var(--s411-page-raised)!important}
/* Match Centre: retain dark pitch, live and team-specific score treatment. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-match-centre-v2 .dm-match-shell,.dm-match-centre-v2 .dm-match-panel,
 .dm-match-centre-v2 .dm-match-header,.dm-match-panel-loading,
 .dm-player-sheet-card,.dm-match-timeline-item,.dm-match-stat-row,
 .dm-match-lineup-card,.dm-match-summary-card
 ){
 background:var(--s411-page-card)!important;background-image:none!important;
 border-color:var(--s411-page-stroke)!important;color:var(--s411-page-ink)!important;
}
html[data-s411-effective-theme="dark"] body :is(.dm-match-centre-v2 .dm-match-tab.is-active,.dm-player-profile-tab.is-active){
 background:#344357!important;color:#fff!important;border-color:#64788f!important;
}
/* Matchday and Predictor — preserve status colours and selection state. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-matchday-fixture-main,.dm-matchday-community,.dm-matchday-date-nav,
 .dm-matchday-kind-filters,.dm-matchday-filter-stack,
 .dm-predictor-fixture__matchup,.dm-predictor-fixture__meta,
 .dm-predictor-pick,.dm-predictor-score-control,
 .dm-predictor-steps,.dm-predictor-rules
 ){
 background:var(--s411-page-inset)!important;border-color:var(--s411-page-stroke)!important;
 color:var(--s411-page-ink)!important;
}
html[data-s411-effective-theme="dark"] body :is(
 .dm-matchday-score,.dm-matchday-team b,.dm-predictor-team strong,
 .dm-predictor-fixture__matchup strong,.dm-predictor-final-score,
 .dm-player-overview-card strong,.dm-player-season-summary strong,
 .dm-player-recent-match strong,.dm-stats-leader-list strong
 ){color:var(--s411-page-ink)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-matchday-detail-line,.dm-matchday-meta,.dm-matchday-heading p,
 .dm-matchday-fixture small,.dm-predictor-fixture__meta small,
 .dm-predictor-hero p,.dm-predictor-rules-card p
 ){color:var(--s411-page-muted)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-predictor-fixture .dm-predictor-score-control input,
 .dm-matchday-filter-stack select,.dm-predictor-filter select,
 .dm-player-search input
 ){background:var(--s411-page-inset)!important;color:var(--s411-page-ink)!important;border-color:var(--s411-page-stroke)!important}
/* Community discovery, member pages, saved posts and notifications. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-community-search,.dm-community-filters,.dm-community-list,
 .dm-community-card-body,.dm-community-widget-row,.dm-community-join:not(.is-active),
 .dm-member-profile-main,.dm-member-profile-stats,.dm-member-profile-topics,
 .dm-member-profile-actions,.dm-profile-stat,.dm-library-empty,
 .dm-notification-copy,.dm-notification-shell .dm-notification-item,
 .dm-community-my-widget,.dm-community-hero-action
 ){
 background:var(--s411-page-card)!important;border-color:var(--s411-page-stroke)!important;
 color:var(--s411-page-ink)!important;
}
html[data-s411-effective-theme="dark"] body :is(
 .dm-community-row h3,.dm-community-card h3,.dm-community-row p,
 .dm-community-card p,.dm-member-profile-hero h1,.dm-profile-stat strong,
 .dm-notification-item strong,.dm-library-heading h1,.dm-search-page__result strong
 ){color:var(--s411-page-ink)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-community-row small,.dm-community-card small,.dm-profile-stat small,
 .dm-member-profile-bio,.dm-member-profile-stats small,
 .dm-library-heading p,.dm-notification-copy small,
 .dm-community-search input::placeholder
 ){color:var(--s411-page-muted)!important}
html[data-s411-effective-theme="dark"] body .dm-notification-shell .dm-notification-item.is-unread{
 background:#2f2739!important;border-color:#72516b!important;
}
/* Search, account and onboarding have dedicated page templates. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-auth-shell,.dm-member-access-shell,.dm-member-access-panel,
 .dm-auth-form,.dm-auth-view,.dm-onboarding-experience,
 .dm-onboarding-form,.dm-onboarding-section,.dm-onboarding-club-choice,
 .dm-onboarding-league-choice,.dm-search-page,.dm-search-page__answer,
 .dm-search-page__group,.dm-search-page__result,.dm-search-overlay,
 .dm-search-shell
 ){
 background:var(--s411-page-card)!important;background-image:none!important;
 color:var(--s411-page-ink)!important;border-color:var(--s411-page-stroke)!important;
}
html[data-s411-effective-theme="dark"] body :is(
 .dm-search-page__result-mark,.dm-onboarding-league-badge,
 .dm-onboarding-choice-mark,.dm-onboarding-club-mark,
 .dm-auth-tabs a,.dm-onboarding-selected-toggle
 ){
 background:var(--s411-page-inset)!important;border-color:var(--s411-page-stroke)!important;
 color:var(--s411-page-ink)!important;
}
html[data-s411-effective-theme="dark"] body :is(
 .dm-search-page__head h1,.dm-search-page__result b,.dm-search-page__result>strong,
 .dm-member-access-panel h1,.dm-onboarding-section h2
 ){color:var(--s411-page-ink)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-search-page__result small,.dm-search-page__result em,
 .dm-search-page__result>b,.dm-auth-footnote,.dm-onboarding-section p
 ){color:var(--s411-page-muted)!important}
html[data-s411-effective-theme="dark"] body :is(
 .dm-search-page__form input,.dm-member-access-form input,.dm-auth-form input,
 .dm-onboarding-form input,.dm-onboarding-form select
 ){background:var(--s411-page-inset)!important;color:var(--s411-page-ink)!important;border-color:var(--s411-page-stroke)!important}
/* Transparent badges and links keep their semantic cues; focus remains clear. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-day-group a:not(.dm-football-archive-fixture),
 .dm-football-archive-hero a:not(.dm-football-archive-live-link),
 .dm-player-profile a:not(.dm-player-profile-tab),
 .dm-search-page a:not(.dm-search-page__result)
 ){color:var(--s411-page-link)!important}
html[data-s411-effective-theme="dark"] body :is(a,button,input,select,textarea):focus-visible{
 outline:2px solid #ff737a!important;outline-offset:3px!important;
}
/* Preserve approved status and brand treatments for live games, crests and pitches. */
html[data-s411-effective-theme="dark"] body .dm-matchday-score{
 background:#28364a!important;color:var(--s411-page-ink)!important;
 border-color:var(--s411-page-stroke)!important;
}
html[data-s411-effective-theme="dark"] body .dm-matchday-fixture.is-live .dm-matchday-score{
 background:#4c2633!important;color:#ffc5d0!important;
}
/* Less frequently visited routes and overlays: league groups, comparison,
 * creator/editor, profile editing and community discovery. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-football-table__group-headings,.dm-football-table__group-row,
 .dm-football-table__next-head,.dm-football-table__next,
 .dm-competition-awaiting-v2,.dm-competition-section-head-v2,
 .dm-competition-tabs-mobile,.dm-football-hub-stats-list,
 .dm-football-hub-iq,.dm-snapshot-rank,.dm-snapshot-points,
 .dm-vs-card-v2,.dm-vs-season-panels,.dm-vs-picker__club,
 .dm-vs-snapshot__title,.dm-community-create-card,.dm-community-tabs,
 .dm-profile-edit-card,.dm-profile-editor-head,.dm-profile-edit-modal,
 .dm-profile-identity-editor,.dm-profile-people-card,.dm-avatar-choice,
 .dm-onboarding-unavailable,.dm-search-result,
 .dm-content-owner-popover,.dm-engagement-drawer-head,.dm-engagement-match-context,
 .dm-create-sheet-panel,.dm-create-choice,.dm-publish-modal-head,
 .dm-publish-field,.dm-editor-link-popover,.dm-writer-slash-menu,
 .dm-writer-embed-popover
 ){
 background:var(--s411-page-raised)!important;background-image:none!important;
 border-color:var(--s411-page-stroke)!important;color:var(--s411-page-ink)!important;
}
html[data-s411-effective-theme="dark"] body :is(
 .dm-profile-edit-card input,.dm-profile-edit-card textarea,
 .dm-publish-field input,.dm-publish-field textarea,
 .dm-community-create-card input,.dm-community-create-card textarea
 ){
 background:var(--s411-page-inset)!important;color:var(--s411-page-ink)!important;
 border-color:var(--s411-page-stroke)!important;
}
/* Active selections retain an unmistakable state in dark appearance. */
html[data-s411-effective-theme="dark"] body :is(
 .dm-community-tabs .is-active,.dm-competition-tabs-mobile .is-active,
 .dm-football-hub-tabs .is-active
 ){
 background:#334d48!important;color:#effff7!important;border-color:#5a9f85!important;
}

/* v0.19.49 — Mobile dark-mode chrome repair.
 * Legacy mobile CSS hard-codes cream/white nav bars and a white ::before
 * shield. Only restyle those surfaces when DARK is effective; do not change
 * their positioning, click handling or hide/show transforms. */
@media (max-width:720px) {
  html[data-s411-effective-theme="dark"] body.home :is(.dm-shell.dm-home-shell,.dm-feed,.dm-feed-list) {
    background:#10141c!important;
  }
  html[data-s411-effective-theme="dark"] body.home .dm-feed-tabs--home {
    background:#1a202c!important;
    background-image:none!important;
    border-top:0!important;
    border-bottom:1px solid #354053!important;
    box-shadow:none!important;
  }
  html[data-s411-effective-theme="dark"] body.home .dm-feed-tabs--home a {
    color:#bbc6d8!important;
    background:transparent!important;
  }
  html[data-s411-effective-theme="dark"] body.home .dm-feed-tabs--home a.is-active {
    color:#fff!important;
  }
  html[data-s411-effective-theme="dark"] body.home .dm-feed-tabs--home a.is-active::after {
    background:#ff4851!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-mobile-nav,
  html[data-s411-effective-theme="dark"] body .dm-mobile-nav::before {
    background:#1a202c!important;
    background-image:none!important;
    border-top-color:#354053!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-mobile-nav {
    color:#c2ccda!important;
    box-shadow:0 -6px 24px rgba(0,0,0,.34)!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-mobile-nav>a,
  html[data-s411-effective-theme="dark"] body .dm-mobile-nav>button,
  html[data-s411-effective-theme="dark"] body .dm-mobile-nav>button.dm-mobile-create span {
    color:#c2ccda!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-mobile-nav>a.is-active {
    color:#EF0107!important;
    background:transparent!important;
  }
  html[data-s411-effective-theme="dark"] body .dm-mobile-nav>a.is-active::after {
    content:none!important;
    display:none!important;
  }
  /* Soccer 411 red Create control and white plus icon. */
  html[data-s411-effective-theme="dark"] body .dm-mobile-nav .dm-mobile-create b {
    background:#EF0107!important;
    color:#fff!important;
  }
  html[data-s411-effective-theme="dark"] body.home .dm-composer--home {
    background:#1a202c!important;
    border-color:#354053!important;
  }
  html[data-s411-effective-theme="dark"] body.home .dm-composer-input {
    background:#202938!important;
    border-color:#354053!important;
    color:#d4dcec!important;
  }
  html[data-s411-effective-theme="dark"] body.home .dm-mobile-search {
    background:#1a202c!important;
    border-color:#354053!important;
  }
  /* Keep the feed from showing ivory/white gaps between approved cards. */
  html[data-s411-effective-theme="dark"] body.home .dm-feed-list>.dm-card,
  html[data-s411-effective-theme="dark"] body.home .dm-feed-list>.dm-live-match-feed-card {
    background-color:#1a202c!important;
    border-color:#354053!important;
  }
}


/* v0.19.50 — Social interaction controls in DARK appearance.
 * The existing SVG/DOM, reaction handlers, counts and mobile geometry remain
 * untouched. Scope all overrides to the effective dark theme only. */
html[data-s411-effective-theme="dark"] body :is(
  .dm-reaction-row,
  .dm-article-engagement,
  .dm-match-community-bar,
  .dm-totw-section__engagement
){
  border-color:#38465b!important;
}
html[data-s411-effective-theme="dark"] body :is(
  .dm-reaction-row .dm-reaction,
  .dm-article-engagement .dm-reaction,
  .dm-match-community-bar .dm-match-community-action,
  .dm-totw-reactions .dm-reaction
){
  color:#d7e0ef!important;
  background-color:transparent!important;
  border-color:transparent!important;
  opacity:1;
}
html[data-s411-effective-theme="dark"] body :is(
  .dm-reaction-row .dm-reaction,
  .dm-article-engagement .dm-reaction,
  .dm-match-community-bar .dm-match-community-action,
  .dm-totw-reactions .dm-reaction
) svg{
  color:inherit!important;
  stroke:currentColor!important;
  fill:none!important;
}
html[data-s411-effective-theme="dark"] body :is(
  .dm-reaction-row .dm-reaction,
  .dm-article-engagement .dm-reaction,
  .dm-match-community-bar .dm-match-community-action,
  .dm-totw-reactions .dm-reaction
):is(:hover,:focus-visible){
  color:#ffffff!important;
  background-color:transparent!important;
}
/* Liked and saved must stand out without relying on icon shape alone. */
html[data-s411-effective-theme="dark"] body :is(
  .dm-reaction-row .dm-reaction,
  .dm-article-engagement .dm-reaction,
  .dm-match-community-bar .dm-match-community-action,
  .dm-totw-reactions .dm-reaction
):is(.is-active,[aria-pressed="true"]){
  color:#EF0107!important;
  background-color:transparent!important;
}
html[data-s411-effective-theme="dark"] body :is(
  .dm-reaction-row .dm-reaction[data-dm-like],
  .dm-article-engagement .dm-reaction[data-dm-like],
  .dm-match-community-bar .dm-match-community-action[data-dm-like],
  .dm-totw-reactions .dm-reaction[data-dm-like]
):is(.is-active,[aria-pressed="true"]) svg{
  fill:#EF0107!important;
  stroke:#EF0107!important;
}
/* Keep action counts legible and do not wash out disabled guest actions. */
html[data-s411-effective-theme="dark"] body :is(
  .dm-reaction-row .dm-reaction,
  .dm-article-engagement .dm-reaction,
  .dm-match-community-bar .dm-match-community-action,
  .dm-totw-reactions .dm-reaction
) :is([data-count],[data-comment-count]){
  color:inherit!important;
}
html[data-s411-effective-theme="dark"] body .dm-match-community-action:disabled{
  opacity:.65!important;
  cursor:not-allowed;
}
/* The article's mobile sticky engagement strip used a hard-coded white wash. */
@media(max-width:720px){
  html[data-s411-effective-theme="dark"] body.single .dm-article-engagement{
    background:rgba(26,32,44,.97)!important;
    border-color:#38465b!important;
  }
}


/* v0.19.51 — Expanded match preview dark appearance.
 * The compact Matchday card and API-backed panel markup remain unchanged.
 * Only style the revealed preview subpanels; never recolour team crests or
 * result/form indicators. Light appearance is intentionally unaffected. */
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card .dm-live-match-expand {
  background:#1a202c!important;
  border-color:#354053!important;
  color:#f3f6fb!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card .dm-live-match-expand > section {
  background:transparent!important;
  color:#f3f6fb!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card .dm-matchday-preview-panel {
  background:transparent!important;
  color:#f3f6fb!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card :is(
  .dm-matchday-preview-module,
  .dm-matchday-preview-number-team,
  .dm-matchday-preview-h2h .dm-matchday-h2h--preview-list
) {
  background:#202938!important;
  background-image:none!important;
  border-color:#3b485c!important;
  color:#f3f6fb!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card .dm-matchday-preview-number-team {
  background:#263244!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card :is(
  .dm-live-match-expand-head strong,
  .dm-matchday-preview-module-head strong,
  .dm-matchday-preview-number-team header strong,
  .dm-matchday-preview-form-team strong,
  .dm-matchday-preview-number-stats b,
  .dm-matchday-preview-context .dm-matchday-team-name strong,
  .dm-matchday-preview-context .dm-matchday-team-form p b,
  .dm-matchday-preview-h2h .dm-matchday-subhead strong,
  .dm-matchday-preview-h2h .dm-matchday-h2h-row b
) {
  color:#f3f6fb!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card :is(
  .dm-matchday-preview-module-head > span,
  .dm-matchday-preview-number-team header small,
  .dm-matchday-preview-number-stats small,
  .dm-matchday-preview-context .dm-matchday-team-form p,
  .dm-matchday-preview-context .dm-matchday-season-goals,
  .dm-matchday-preview-h2h .dm-matchday-subhead small,
  .dm-matchday-preview-h2h .dm-matchday-h2h-row time,
  .dm-matchday-preview-h2h .dm-matchday-h2h-row span
) {
  color:#c6d0df!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card .dm-matchday-preview-module-head small {
  color:#75dbb5!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card :is(
  .dm-matchday-preview-number-stats,
  .dm-matchday-preview-number-stats span+span,
  .dm-matchday-preview-h2h .dm-matchday-h2h-row,
  .dm-matchday-preview-h2h .dm-matchday-h2h--preview-list,
  .dm-matchday-preview-context .dm-matchday-team-form
) {
  border-color:#3b485c!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card .dm-live-match-expand-head button {
  background:#2b374b!important;
  color:#edf3fc!important;
  border:1px solid #455269!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card .dm-live-match-expand-head button:hover,
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card .dm-live-match-expand-head button:focus-visible {
  background:#3a4860!important;
}
/* Open Stats, Timeline and Line-ups use the same expanded container. */
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card :is(
  .dm-live-match-timeline-event,
  .dm-matchday-lineup-team
) {
  background:#263244!important;
  border-color:#3b485c!important;
  color:#f3f6fb!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card :is(
  .dm-live-match-stat b,
  .dm-live-match-timeline-event b,
  .dm-matchday-lineup-team-head strong
) {
  color:#f3f6fb!important;
}
html[data-s411-effective-theme="dark"] body .dm-live-match-feed-card :is(
  .dm-live-match-stat span,
  .dm-live-match-timeline-event time,
  .dm-live-match-timeline-event small,
  .dm-matchday-lineup-team-head small
) {
  color:#c6d0df!important;
}

/* v0.20.19 — restore the original compact article composition.
   Keep the 260px left rail, 360px right rail and 8px column gutters,
   but cap the reading panel at 760px instead of filling the viewport.
   Do not change widget rails or article templates. */
@media (min-width:1101px){
 body.single.s411-universal-active .s411-universal-shell{
   width:100%!important;max-width:1408px!important;
   margin-inline:auto!important;
   padding:8px 12px 40px!important;
   grid-template-columns:260px minmax(0,760px) 360px!important;
   column-gap:4px!important;row-gap:8px!important;justify-content:center!important;justify-items:stretch!important;
 }
 body.single.s411-universal-active .s411-universal-shell>.s411-standard-sidebar,
 body.single.s411-universal-active .s411-universal-shell>.dm-desktop-context-rail{
   margin-inline:0!important;min-width:0!important;
 }
 body.single.s411-universal-active .s411-universal-shell>.s411-universal-content{
   margin-inline:0!important;min-width:0!important;width:100%!important;max-width:100%!important;
 }
}


/* v0.20.28 — one desktop sticky-rail positioning contract for Home and
   the universal pages. Keep existing homepage markup, rail content and widths.
   Sticky top matches each shell's initial desktop top padding to avoid the
   initial upward jump. Respect WP admin toolbar when logged in. */
@media (min-width:1101px){
  body.home .dm-shell.dm-home-shell{--s411-rail-top:18px}
  body.home .dm-shell.dm-home-shell > :is(.dm-left,.dm-right),
  body.s411-universal-active .s411-universal-shell > :is(.s411-standard-sidebar,.dm-desktop-context-rail){
    position:sticky!important;
    top:calc(var(--wp-admin--admin-bar--height, 0px) + var(--s411-rail-top,18px))!important;
    max-height:calc(100vh - var(--wp-admin--admin-bar--height, 0px) - var(--s411-rail-top,18px) - 12px)!important;
    align-self:start!important;
  }
  /* Article pages have their own 8px shell top inset; share the contract. */
  body.single.s411-universal-active .s411-universal-shell{--s411-rail-top:8px}
}

/* v0.20.54 – halve only the desktop shell gutters: 8px -> 4px.
   Leave rail widths, sticky behaviour, content spacing and mobile layout intact. */
@media (min-width:721px){
  body.s411-universal-active .s411-universal-shell{
    column-gap:4px!important;
  }
}

/* v0.20.56: Fixture status contrast — explicit palette prevents generic dark-mode
   strong-text rules from rendering white text on pale status pills. */
html[data-s411-effective-theme="dark"] body .dm-competition-fixture-v2__meta>strong:not(.is-live){
  background:#2d3b50!important;color:#e8f1fc!important;border:1px solid #52637c!important;
}
html[data-s411-effective-theme="dark"] body .dm-competition-fixture-v2__meta>strong.is-live{
  background:#662333!important;color:#ffccd1!important;border:1px solid #a53b4c!important;
}
html[data-s411-effective-theme="light"] body .dm-competition-fixture-v2__meta>strong:not(.is-live){
  background:#e8edf3!important;color:#35445c!important;border:1px solid #d2dbe6!important;
}
html[data-s411-effective-theme="light"] body .dm-competition-fixture-v2__meta>strong.is-live{
  background:#ffeaed!important;color:#a71930!important;border:1px solid #e7b6c0!important;
}

/* Clearly distinguish historical projected XIs from official match sheets. */
.dm-lineup-source-note{margin:8px 0 12px;color:var(--dm-text-muted,#b9c7d8);font-size:12px;line-height:1.5}

/* v0.20.82: same avatar centring for the unified desktop sidebar. */
.s411-universal-shell>.s411-standard-sidebar .dm-profile-card--home .dm-profile-avatar--home{
  display:flex!important;justify-content:center!important;align-items:center!important;
  width:100%!important;padding-left:0!important;padding-right:0!important;
  box-sizing:border-box!important;
}
.s411-universal-shell>.s411-standard-sidebar .dm-profile-avatar--home>img{
  display:block!important;margin-left:auto!important;margin-right:auto!important;
}

/* v0.20.83 — Match name/sign-in centring on universal inner-page sidebars. */
.s411-universal-shell>.s411-standard-sidebar .dm-profile-card--home .dm-profile-copy--home{
  width:100%!important;text-align:center!important;box-sizing:border-box!important;
}
.s411-universal-shell>.s411-standard-sidebar .dm-profile-copy--home .dm-profile-link{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
