/* SerieAGoal 0.38 | Tab flat, azzurro metallico e temi giorno/notte ripristinati.
   Override mirato: non modifica griglie, colonne delle righe partita, score o posizioni.
   Da caricare per ultimo dopo i CSS legacy. */
html[data-sg-theme="dark"],html[data-slr-theme="dark"] {
 --sg-accent:#389fd0!important;
 --sg-accent-strong:#72c7ec!important;
 --sg-accent-soft:#112d3d!important;
 --sg-blue:#389fd0!important;
 --sg-link:#74bee6!important;
 --slr-ui-accent:#389fd0!important;
 --slr-accent:#389fd0!important;
 --slr-social-accent:#389fd0!important;
 color-scheme:dark;
}
html[data-sg-theme="dark"] body.sg-body,
html[data-slr-theme="dark"] body.slr-site {
 font-family:"Manrope",Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
 font-size:15px;
 letter-spacing:-.012em;
 -webkit-font-smoothing:antialiased;
 text-rendering:optimizeLegibility;
}
html[data-sg-theme="dark"] body.sg-body :is(h1,h2,h3,h4,h5),
html[data-slr-theme="dark"] body.slr-site :is(h1,h2,h3,h4,h5){
 font-family:"Manrope",Inter,system-ui,sans-serif!important;
 font-weight:800;
 letter-spacing:-.038em;
 line-height:1.21;
}
html[data-sg-theme="dark"] body.sg-body :is(button,input,textarea,select),
html[data-slr-theme="dark"] body.slr-site :is(button,input,textarea,select){font-family:inherit!important}
/* Reset difetto News della 0.35: pagina editoriale a UNA colonna, non sidebar+main.
   All'interno resta la sua griglia editoriale originale, con rail advertising. */
@media(min-width:1121px){
 html[data-sg-theme="dark"] body.sg-page-news .sg-shell,
 html[data-sg-theme="dark"] body.sg-page-pronostici .sg-shell,
 html[data-sg-theme="dark"] body.sg-page-fantacalcio .sg-shell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  max-width:1300px!important;
  width:100%!important;
 }
 html[data-sg-theme="dark"] body.sg-page-news .sg-main,
 html[data-sg-theme="dark"] body.sg-page-news .sg-news-layout,
 html[data-sg-theme="dark"] body.sg-page-news .sg-news-main,
 html[data-sg-theme="dark"] body.sg-page-news .sg-feed{min-width:0!important;width:100%;}
}
/* Reintroduce il layout responsivo News originale anche sulle fasce laptop.
   Nessuna larghezza artificiale per hero, cards o titoli. */
@media(min-width:1241px){
 html[data-sg-theme="dark"] body.sg-page-news .sg-news-layout{grid-template-columns:minmax(0,1fr) 300px!important;gap:18px!important;}
}
@media(min-width:1121px) and (max-width:1240px){
 html[data-sg-theme="dark"] body.sg-page-news .sg-news-layout{grid-template-columns:minmax(0,1fr)!important;}
}
/* Le regole storiche di sg-match-row-features-v2192 gestiscono già tutti e 3 i
   campi per ogni squadra: stemma, nome e punteggio. Qui NON le sovrascriviamo. */
html[data-sg-theme="dark"] body.sg-body .sg-match-team-name{font-family:inherit!important;letter-spacing:-.012em;}
html[data-sg-theme="dark"] body.sg-body .sg-match-teams b[data-sg-score-home],
html[data-sg-theme="dark"] body.sg-body .sg-match-teams b[data-sg-score-away]{font-family:"Manrope",Inter,system-ui,sans-serif!important;}
/* Mantieni tab premium snelli; solo tipografia, underline e colore, nessuna griglia. */
html[data-sg-theme="dark"] body.sg-body :is(.sg-tabs,.sg-fixture-tabs,.sg-match-tabs,.sg-tab-nav) :is(a,button){
 font-family:inherit!important;font-weight:750;letter-spacing:-.015em;
}
html[data-sg-theme="dark"] body.sg-body :is(.sg-tabs,.sg-fixture-tabs,.sg-match-tabs,.sg-tab-nav) :is(.is-active,[aria-selected="true"]){
 color:var(--sg-text,#f5f6f8)!important;border-bottom-color:#389fd0!important;
}
/* Accenti pubblici, senza cambiare il colore di dirette, errori e risultati. */
.sg35-paywall-lock svg{color:#389fd0!important}
.sg35-paywall-actions .sg35-buy{background:#389fd0!important;color:#fff!important}
.sg35-paywall-actions .sg35-login{border-color:#3c657b!important;color:#f6f8ff!important}
:where(.sg-body,.slr-site) :is(a,button,input,summary):focus-visible{outline-color:#389fd0!important}
html[data-sg-theme="dark"] body.sg-body :is(.sg-nav-link.is-active,.sg-match-feature.is-prediction){color:#74bee6!important}

/* Anteprima Premium v0.35 preservata, palette blu SerieAGoal. */
.sg35-paywall-preview[hidden]{display:none!important}
.sg-ai-fieldgoal-block [data-sg-ai-controls]:has(.sg35-paywall-preview){display:block!important;width:100%!important}
.sg-ai-premium-panel [data-sg-ai-analysis-control]:has(.sg35-paywall-preview){display:block!important;width:100%!important}
.sg35-paywall-preview{width:100%;position:relative;isolation:isolate;border:1px solid #303a37;background:#151a19;border-radius:18px;padding:24px;overflow:hidden;margin:13px 0 17px;color:#f6fbf8}
.sg35-paywall-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}
.sg35-paywall-head strong{font-size:14px;font-weight:800!important;letter-spacing:-.03em}
.sg35-paywall-chip{font-size:10px;font-weight:800;letter-spacing:.11em;color:#b6c8c1;border:1px solid #315166;padding:7px 10px;border-radius:9px;text-transform:uppercase}
.sg35-paywall-skeleton{position:relative;border-top:1px solid #2d3432;display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:20px;padding-top:20px;margin-bottom:8px;min-height:107px}
.sg35-paywall-skeleton:after{content:"";position:absolute;inset:9px -6px -8px -6px;z-index:1;background:linear-gradient(to bottom,rgba(21,26,25,.13),rgba(21,26,25,.89));backdrop-filter:blur(4px);pointer-events:none}
.sg35-paywall-fake{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.sg35-paywall-fake small{font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:#899791;font-weight:750}
.sg35-paywall-bar{height:13px;background:#3b6278;border-radius:7px;opacity:.76;width:80%;filter:blur(4px)}
.sg35-paywall-bar.short{width:48%}
.sg35-paywall-skeleton .sg35-paywall-fake:last-child{align-items:flex-end;border-left:1px solid #303937;padding-left:22px}
.sg35-paywall-lock{text-align:center;position:relative;z-index:2;background:#152936;border:1px solid #315166;border-radius:15px;padding:16px;margin-top:-2px}
.sg35-paywall-lock svg{display:block;margin:0 auto 8px;color:#389fd0;width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.7}
.sg35-paywall-lock strong{display:block;font-size:17px;font-weight:800;line-height:1.2}
.sg35-paywall-lock p{margin:8px auto 14px!important;color:#aebdb6!important;font-size:13px!important;max-width:410px;line-height:1.5!important}
.sg35-paywall-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.sg35-paywall-actions a{display:inline-flex;min-height:42px;justify-content:center;align-items:center;border-radius:11px;padding:10px 17px!important;font-weight:800!important;font-size:13px!important;text-decoration:none!important}
.sg35-paywall-actions a.sg35-buy{background:#389fd0!important;color:#081e2b!important}
.sg35-paywall-actions a.sg35-login{border:1px solid #426275!important;background:#172a36!important;color:#f1f7f3!important}
.sg35-paywall-actions a:hover{filter:brightness(1.09)}
.sg-ai-fieldgoal-block.sg35-is-locked [data-sg-ai-message],.sg-ai-premium-panel.sg35-is-locked [data-sg-ai-analysis-status]{color:#b6c4bd!important;font-size:13px!important}
.sg-ai-fieldgoal-block.sg35-is-locked .sg-ai-more{display:none!important}

@media(max-width:800px){
 .sg35-paywall-preview{padding:16px;border-radius:14px}
 .sg35-paywall-skeleton{grid-template-columns:1fr 95px;gap:8px}
 .sg35-paywall-lock{padding:13px}
 .sg35-paywall-lock strong{font-size:15px}
 .sg35-paywall-actions a{flex:1 1 125px}
}
@media(prefers-reduced-motion:reduce){.sg35-paywall-preview *{transition:none!important;animation:none!important}}

/* SG 0.37 - Azzurro metallico vivo, nessuna tonalità indaco.
   Override dell'accento SOLO; non alterare posizione, dimensioni o griglie delle partite. */
html[data-sg-theme="dark"],html[data-slr-theme="dark"]{
 --sg-accent:#389fd0!important;
 --sg-accent-strong:#72c7ec!important;
 --sg-accent-soft:#112d3d!important;
 --sg-link:#74bee6!important;
 --sg-blue:#389fd0!important;
 --slr-ui-accent:#389fd0!important;
 --slr-accent:#389fd0!important;
 --slr-social-accent:#389fd0!important;
 --sg-metallic-blue:#389fd0;
 --sg-metallic-light:#72c7ec;
}
/* Barca a tab del Match Center: niente chip/box separati, solo sottolineatura.
   Specificità superiore alle regole legacy (comprese quelle inline del Match Center). */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern{
 display:flex!important;
 align-items:stretch!important;
 gap:clamp(8px,1.6vw,22px)!important;
 min-height:52px!important;
 height:auto!important;
 padding:0 12px!important;
 overflow-x:auto!important;
 overflow-y:hidden!important;
 scrollbar-width:none!important;
 border-top:0!important;
 border-bottom:1px solid #303b44!important;
 background:transparent!important;
 box-shadow:none!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a{
 position:relative!important;
 flex:0 0 auto!important;
 min-width:max-content!important;
 min-height:52px!important;
 height:auto!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 padding:0 3px!important;
 margin:0!important;
 border:0!important;
 border-radius:0!important;
 outline-offset:3px;
 box-shadow:none!important;
 background:transparent!important;
 color:#aab8c1!important;
 -webkit-text-fill-color:currentColor!important;
 font-family:inherit!important;
 font-size:clamp(11px,1vw,13px)!important;
 font-weight:750!important;
 letter-spacing:-.012em!important;
 line-height:1.2!important;
 white-space:nowrap!important;
 text-decoration:none!important;
 transform:none!important;
 transition:color .16s ease!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a:is(:hover,:focus-visible){
 color:#e2f4ff!important;
 background:transparent!important;
 border:0!important;
 box-shadow:none!important;
 transform:none!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a.is-active,
html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a[aria-current="page"]{
 color:#f4fbff!important;
 -webkit-text-fill-color:#f4fbff!important;
 background:transparent!important;
 border:0!important;
 box-shadow:none!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a:after{
 content:""!important;
 position:absolute!important;
 display:block!important;
 left:0!important;
 right:0!important;
 bottom:0!important;
 height:3px!important;
 border-radius:4px 4px 0 0!important;
 background:transparent!important;
 box-shadow:none!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a.is-active:after,
html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a[aria-current="page"]:after{
 background:linear-gradient(90deg,#2b81b3 0%,#389fd0 48%,#72c7ec 100%)!important;
 box-shadow:0 -1px 8px rgba(56,159,208,.15)!important;
}
/* Anche il Match Room usa tab piatti: aggiorniamo solo il colore della linea,
   non il suo comportamento o l'impaginazione della pagina. */
html[data-slr-theme] body.slr-social-match-page .slr-social-match-tabs button.is-active:after{
 background:linear-gradient(90deg,#2b81b3,#389fd0,#72c7ec)!important;
}
/* Paywall: stesso azzurro metallico, nessun bottone o riquadro viola/indaco. */
.sg35-paywall-preview{border-color:#2c4250!important}
.sg35-paywall-chip{border-color:#315166!important}
.sg35-paywall-lock{background:#142733!important;border-color:#345366!important}
.sg35-paywall-bar{background:#456979!important}
.sg35-paywall-lock svg{color:#72c7ec!important}
.sg35-paywall-actions a.sg35-buy{background:#389fd0!important;color:#061c29!important}
.sg35-paywall-actions a.sg35-login{background:#182b36!important;border-color:#3e6478!important}
@media(max-width:760px){
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern{
  min-height:46px!important;gap:14px!important;padding:0 10px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a{
  min-height:46px!important;font-size:11px!important;padding:0 2px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a{transition:none!important}
}

/* SG 0.38: the switch is handled by the original theme scripts; never force dark.
   Light styles here affect color/typography/tab styling only, NOT grid or score positions. */
html[data-sg-theme="light"], html[data-slr-theme="light"]{
 --sg-accent:#258bbd!important;
 --sg-accent-strong:#389fd0!important;
 --sg-accent-soft:#e4f2f9!important;
 --sg-link:#176e9e!important;
 --sg-blue:#258bbd!important;
 --slr-ui-accent:#258bbd!important;
 --slr-accent:#258bbd!important;
 --slr-social-accent:#258bbd!important;
 --sg-metallic-blue:#258bbd;
 --sg-metallic-light:#389fd0;
 color-scheme:light;
}
html[data-sg-theme="light"] body.sg-body,
html[data-slr-theme="light"] body.slr-site{
 font-family:"Manrope",Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
 font-size:15px;
 letter-spacing:-.012em;
 -webkit-font-smoothing:antialiased;
 text-rendering:optimizeLegibility;
}
html[data-sg-theme="light"] body.sg-body :is(h1,h2,h3,h4,h5),
html[data-slr-theme="light"] body.slr-site :is(h1,h2,h3,h4,h5){
 font-family:"Manrope",Inter,system-ui,sans-serif!important;
 font-weight:800;
 letter-spacing:-.038em;
 line-height:1.21;
}
html[data-sg-theme="light"] body.sg-body :is(button,input,textarea,select),
html[data-slr-theme="light"] body.slr-site :is(button,input,textarea,select){font-family:inherit!important}
/* News width fix also has to apply in day mode. */
@media(min-width:1121px){
 html[data-sg-theme="light"] body.sg-page-news .sg-shell,
 html[data-sg-theme="light"] body.sg-page-pronostici .sg-shell,
 html[data-sg-theme="light"] body.sg-page-fantacalcio .sg-shell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  max-width:1300px!important;
  width:100%!important;
 }
 html[data-sg-theme="light"] body.sg-page-news :is(.sg-main,.sg-news-layout,.sg-news-main,.sg-feed){
  min-width:0!important;width:100%;
 }
}
@media(min-width:1241px){html[data-sg-theme="light"] body.sg-page-news .sg-news-layout{grid-template-columns:minmax(0,1fr) 300px!important;gap:18px!important}}
@media(min-width:1121px) and (max-width:1240px){html[data-sg-theme="light"] body.sg-page-news .sg-news-layout{grid-template-columns:minmax(0,1fr)!important}}
/* Flat tabs: in light theme keep normal dark text, subtle border and metallic-blue active underline. */
html[data-sg-theme="light"] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern{
 border-bottom-color:#d2dce4!important;
}
html[data-sg-theme="light"] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a{
 color:#536878!important;
 -webkit-text-fill-color:#536878!important;
}
html[data-sg-theme="light"] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a:is(:hover,:focus-visible){
 color:#16638e!important;-webkit-text-fill-color:#16638e!important;
}
html[data-sg-theme="light"] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a.is-active,
html[data-sg-theme="light"] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a[aria-current="page"]{
 color:#172d3b!important;-webkit-text-fill-color:#172d3b!important;
}
/* Day-mode Premium teaser: actual data stay server-protected as before. */
html[data-sg-theme="light"] .sg35-paywall-preview,
html[data-slr-theme="light"] .sg35-paywall-preview{
 background:#f4f8fb!important;border-color:#cbdae5!important;color:#1b313f!important;
}
html[data-sg-theme="light"] .sg35-paywall-head strong,
html[data-slr-theme="light"] .sg35-paywall-head strong{color:#1b313f!important}
html[data-sg-theme="light"] .sg35-paywall-chip,
html[data-slr-theme="light"] .sg35-paywall-chip{color:#375367!important;border-color:#bdcedc!important}
html[data-sg-theme="light"] .sg35-paywall-skeleton,
html[data-slr-theme="light"] .sg35-paywall-skeleton{border-top-color:#d5e1e9!important}
html[data-sg-theme="light"] .sg35-paywall-skeleton:after,
html[data-slr-theme="light"] .sg35-paywall-skeleton:after{
 background:linear-gradient(to bottom,rgba(244,248,251,.16),rgba(244,248,251,.89))!important;
}
html[data-sg-theme="light"] .sg35-paywall-fake small,
html[data-slr-theme="light"] .sg35-paywall-fake small{color:#576c7a!important}
html[data-sg-theme="light"] .sg35-paywall-bar,
html[data-slr-theme="light"] .sg35-paywall-bar{background:#8cb3cc!important}
html[data-sg-theme="light"] .sg35-paywall-lock,
html[data-slr-theme="light"] .sg35-paywall-lock{background:#e8f3f9!important;border-color:#bdd4e3!important;color:#1b313f!important}
html[data-sg-theme="light"] .sg35-paywall-lock strong,
html[data-slr-theme="light"] .sg35-paywall-lock strong{color:#1b313f!important}
html[data-sg-theme="light"] .sg35-paywall-lock p,
html[data-slr-theme="light"] .sg35-paywall-lock p{color:#536c7b!important}
html[data-sg-theme="light"] .sg35-paywall-actions a.sg35-login,
html[data-slr-theme="light"] .sg35-paywall-actions a.sg35-login{
 background:#fff!important;border-color:#b0c6d6!important;color:#1d4560!important;
}
html[data-sg-theme="light"] .sg35-paywall-actions a.sg35-buy,
html[data-slr-theme="light"] .sg35-paywall-actions a.sg35-buy{
 background:#258bbd!important;color:#fff!important;
}
html[data-sg-theme="light"] body.sg-body .sg-match-team-name{font-family:inherit!important;letter-spacing:-.012em}
html[data-sg-theme="light"] body.sg-body .sg-match-teams b[data-sg-score-home],
html[data-sg-theme="light"] body.sg-body .sg-match-teams b[data-sg-score-away]{font-family:"Manrope",Inter,system-ui,sans-serif!important}
html[data-sg-theme="light"] body.sg-body :is(.sg-tabs,.sg-fixture-tabs,.sg-match-tabs,.sg-tab-nav) :is(a,button){font-family:inherit!important;font-weight:750;letter-spacing:-.015em}
html[data-sg-theme="light"] body.sg-body :is(.sg-tabs,.sg-fixture-tabs,.sg-match-tabs,.sg-tab-nav) :is(.is-active,[aria-selected="true"]){border-bottom-color:#258bbd!important}
html[data-sg-theme="light"] body.sg-body :is(.sg-nav-link.is-active,.sg-match-feature.is-prediction){color:#258bbd!important}
html[data-sg-theme="light"] :where(.sg-body,.slr-site) :is(a,button,input,summary):focus-visible{outline-color:#258bbd!important}


/* SG UI 0.39 — header refinement only.
   No fixture score layouts, match tabs, News grids or theme toggle changes. */
:root{
  --sg-header-modern:#176c96;
  --sg-header-modern-hover:#115578;
  --sg-header-modern-text:#f3f9ff;
  --sg-header-modern-accent:#b5e7ff;
}
/* Both day and night modes: the public header stays metallic azure. */
.sg-topbar,
.sg-topbar.sg-secondary-topbar{
  background:linear-gradient(105deg,#125a81 0%,#18739b 52%,#15658f 100%)!important;
  color:#fff!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 2px 10px rgba(4,30,48,.13)!important;
}
/* Context bar forms part of the header: no old indigo stripe underneath. */
.sg-sportbar,
.sg-sportbar.sg-contextbar,
html[data-sg-theme="dark"] .sg-contextbar,
html[data-sg-theme="light"] .sg-contextbar{
  background:#125b83!important;
  color:#fff!important;
}
/* Keep existing header geometry; change only the interactive surfaces. */
@media (min-width:761px){
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern{
    align-items:center!important;
    gap:3px!important;
  }
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>a,
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>.sg-ai-mega-nav>summary{
    box-sizing:border-box!important;
    height:36px!important;
    min-height:36px!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0 12px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    border:1px solid transparent!important;
    border-radius:10px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:rgba(255,255,255,.94)!important;
    -webkit-text-fill-color:currentColor!important;
    font-family:"Manrope",Inter,system-ui,sans-serif!important;
    font-size:13px!important;
    font-weight:700!important;
    letter-spacing:-.012em!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    transition:background-color .15s ease,border-color .15s ease,color .15s ease!important;
  }
  /* The mega-menu wrapper keeps its full-height hover/dropdown hit area,
     but only its 36px summary gets the visible hover treatment. */
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>.sg-ai-mega-nav{
    height:100%!important;
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
  }
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>a>span,
  .sg-topbar .sg-ai-mega-nav>summary>span:not(.sg-primary-nav-icon){
    font:inherit!important;
    line-height:inherit!important;
    letter-spacing:inherit!important;
    color:inherit!important;
  }
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>a:hover,
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>a:focus-visible,
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>.sg-ai-mega-nav:hover>summary,
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>.sg-ai-mega-nav>summary:focus-visible,
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>.sg-ai-mega-nav[open]>summary{
    background:rgba(4,34,58,.27)!important;
    border-color:rgba(255,255,255,.15)!important;
    color:#fff!important;
  }
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>a.is-active,
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>.sg-ai-mega-nav.is-active>summary{
    background:rgba(4,34,58,.23)!important;
    border-color:rgba(255,255,255,.12)!important;
    color:#fff!important;
  }
  /* The current section is indicated by the compact pill, never by a
     full-width underline glued to the bottom of the header. */
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>a::after{
    content:none!important;
    display:none!important;
  }
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern :is(a,summary):focus-visible{
    outline:2px solid #daeffb!important;
    outline-offset:2px!important;
  }
}
/* Subtle coherent blue accents in the dropdown; no legacy green. */
.sg-topbar .sg-ai-mega-menu{
  background:#102b3d!important;
  border-color:#35617d!important;
  color:#f4f9fc!important;
}
.sg-topbar .sg-ai-mega-top{border-bottom-color:#2c536c!important}
.sg-topbar .sg-ai-mega-top small,
.sg-topbar .sg-ai-mega-top>a{color:#83c9eb!important}
.sg-topbar .sg-ai-mega-links>a:hover,
.sg-topbar .sg-ai-mega-links>a:focus-visible{background:#1a455f!important}
/* Search and utility icons retain contrast against the new colored header. */
.sg-topbar .sg-search-launch{
  background:rgba(4,31,50,.20)!important;
  border-color:rgba(255,255,255,.24)!important;
  color:#fff!important;
}
.sg-topbar .sg-search-launch:is(:hover,:focus-visible){
  background:rgba(4,31,50,.32)!important;
  border-color:rgba(255,255,255,.36)!important;
}
.sg-topbar .sg-search-launch>span,
.sg-topbar .sg-search-launch kbd,
.sg-topbar .sg-top-icon,
.sg-topbar .sg-language-switcher-trigger{color:#fff!important}
.sg-topbar .sg-top-icon:is(:hover,:focus-visible),
.sg-topbar .sg-language-switcher-trigger:is(:hover,:focus-visible){
  background:rgba(4,34,58,.25)!important;
}
/* Narrow desktop: keep all four primary menu labels exactly matched. */
@media (min-width:761px) and (max-width:1120px){
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>a,
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>.sg-ai-mega-nav>summary{
    font-size:12px!important;
    padding-inline:9px!important;
    gap:5px!important;
  }
}
/* Mobile uses the existing drawer; do not expose the hidden desktop nav. */


/* ================================================================
   SerieAGoal UI v0.40  –  Central content readability + live lineups
   Extends v0.39 (header, tabs, metallic blue, light/dark preserved).
   Intentional exclusions: match-list grid / scores, News layout,
   sidebar layout, navigation, premium access, JS and data sources.
   ================================================================ */

/* Central region: readable hierarchies, not a global zoom that can
   accidentally collapse the three-column layout. */
html[data-sg-theme] body.sg-body .sg-main .sg-card-title{
  min-height:50px;
  font-size:clamp(15px,1.1vw,17px)!important;
  line-height:1.3!important;
  letter-spacing:-.015em;
}
html[data-sg-theme] body.sg-body .sg-main .sg-card-title :is(a,small){font-size:12px!important;line-height:1.35!important}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-empty,.sg-empty-inline,.sg-lineup-missing){font-size:13px!important;line-height:1.55}

/* League standings: previous 8-10px text was unreadable on desktop.
   Leave the horizontal table grid intact, allow natural scroll on phones. */
html[data-sg-theme] body.sg-body .sg-main .sg-full-standing-head{
  min-height:42px!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.35!important;
  letter-spacing:.035em;
}
html[data-sg-theme] body.sg-body .sg-main .sg-full-standing-row{
  min-height:46px!important;
  padding-block:8px!important;
  font-size:13px!important;
  font-weight:600;
  line-height:1.35!important;
  font-variant-numeric:tabular-nums;
}
html[data-sg-theme] body.sg-body .sg-main .sg-full-standing-row>b{
  font-size:14px!important;
  font-weight:850!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-full-standing-row,.sg-competition-standing-row) .sg-standing-team strong{
  font-size:13.5px!important;
  font-weight:750!important;
  line-height:1.3!important;
  letter-spacing:-.015em;
}
html[data-sg-theme] body.sg-body .sg-main .sg-full-standing-row .sg-standing-team img{
  width:26px!important;height:26px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-table-head{font-size:11px!important;min-height:38px!important}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-standing-row{
  min-height:48px!important;
  font-size:13px!important;
  line-height:1.3!important;
  font-variant-numeric:tabular-nums;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-standing-row>b{font-size:14px!important}
/* Compact in-page tables used in cards, not left-hand navigation. */
html[data-sg-theme] body.sg-body .sg-main .sg-mini-table-head{font-size:10.5px!important;min-height:33px!important;align-items:center}
html[data-sg-theme] body.sg-body .sg-main .sg-mini-standing{
  min-height:44px!important;
  font-size:13px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-mini-standing :is(span,b,strong){font-size:12.5px!important;line-height:1.3!important}
html[data-sg-theme] body.sg-body .sg-main .sg-mini-standing img{width:24px!important;height:24px!important}

/* Match details: numeric statistics, player tables, timeline and labels. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-modern-v2225 .sg-stat-values strong{
  font-size:15px!important;
  line-height:1.3!important;
  font-variant-numeric:tabular-nums;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-modern-v2225 .sg-stat-values span{
  font-size:12.5px!important;
  line-height:1.35!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-modern-v2225 .sg-stat-team-head span{font-size:13px!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-player-head{
  font-size:10.5px!important;min-height:39px!important;letter-spacing:.02em;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-player-row{
  min-height:47px!important;font-size:12.5px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-player-person b{font-size:13px!important;line-height:1.3!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-player-person small{font-size:11px!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-timeline :is(.sg-event-time,.sg-event strong){font-size:13px!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-timeline .sg-event small{font-size:11px!important}

/* Also increase type in team/player panels in the central column. */
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-info-grid,.sg-team-mini-stats,.sg-team-stats-grid,.sg-competition-big-stats) span{
  font-size:12px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-info-grid small{font-size:11.5px!important}
html[data-sg-theme] body.sg-body .sg-main .sg-team-info-grid strong{font-size:13.5px!important}
html[data-sg-theme] body.sg-body .sg-main .sg-squad-player strong{font-size:13px!important}
html[data-sg-theme] body.sg-body .sg-main .sg-squad-player small{font-size:11px!important}

/* Pitch: premium, uncluttered horizontal field on desktop, vertical
   on phone. Green is confined to the playing surface, not site accents. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-board{
  overflow:hidden;
  border:1px solid var(--sg-line);
  border-radius:14px;
  background:var(--sg-surface);
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-formbar{
  height:auto!important;min-height:75px!important;
  padding:12px 18px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  background:var(--sg-surface)!important;
  border-bottom:1px solid var(--sg-line)!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-formbar>strong{
  font-size:10.5px!important;font-weight:800!important;
  letter-spacing:.09em!important;white-space:nowrap;
  color:var(--sg-muted)!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-team{
  min-width:0;display:flex;align-items:center;gap:11px;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-team>img{
  width:36px;height:36px;object-fit:contain;flex:0 0 36px;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-team>span{
  min-width:0;display:flex;flex-direction:column;gap:4px;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-team b{
  display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:14px!important;font-weight:800;letter-spacing:-.02em;line-height:1.25;
  color:var(--sg-text);
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-team small{
  font-size:12px!important;line-height:1.1!important;color:var(--sg-muted);
  font-variant-numeric:tabular-nums;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-team-away{
  flex-direction:row-reverse;text-align:right;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch-scroll{
  padding:12px!important;
  background:var(--sg-surface)!important;
  overflow:hidden!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch{
  width:100%!important;min-width:0!important;
  height:auto!important;
  aspect-ratio:1.72 / 1!important;
  border:1px solid rgba(193,235,215,.22)!important;
  border-radius:14px!important;
  background:
    repeating-linear-gradient(90deg,rgba(255,255,255,.023) 0,rgba(255,255,255,.023) 12.5%,transparent 12.5%,transparent 25%),
    linear-gradient(145deg,#14392d 0%,#102e25 50%,#0c2920 100%)!important;
  box-shadow:inset 0 0 54px rgba(0,0,0,.15);
  overflow:hidden!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch:before{
  border:1.5px solid rgba(218,247,231,.24)!important;
  inset:16px!important;border-radius:2px;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main :is(.sg-field-circle,.sg-field-box,.sg-field-goal){
  border-color:rgba(218,247,231,.26)!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-field-half{background:rgba(218,247,231,.26)!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-field-circle:after{background:rgba(218,247,231,.35)!important}

/* Player avatars and names: reserve the same coordinates from the existing
   formation algorithm. No JS, lineup position or score structure changes. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player{
  width:82px!important;
  text-decoration:none;
  isolation:isolate;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-face{
  width:47px!important;height:47px!important;
  display:grid!important;place-items:center!important;
  border-radius:50%!important;overflow:hidden!important;
  background:#d9e9e7!important;
  border:2px solid #459fd2!important;
  box-shadow:0 0 0 2px rgba(13,31,37,.75),0 4px 9px rgba(0,0,0,.25)!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player-away .sg-lineup-face{border-color:#f06a83!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-face img{
  width:100%!important;height:100%!important;object-fit:cover!important;
  object-position:center 16%!important;border-radius:50%!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-face>i{
  color:#1d4854!important;font-size:13px!important;font-weight:850!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player>b{
  width:max-content!important;max-width:84px!important;
  min-height:20px!important;margin-top:5px!important;
  padding:3px 5px!important;
  display:inline-flex!important;justify-content:center!important;
  font-size:10px!important;font-weight:800!important;
  line-height:1.12!important;
  letter-spacing:-.015em!important;
  color:#f6fbff!important;
  background:rgba(5,16,18,.83)!important;
  border:1px solid rgba(200,237,233,.16)!important;
  border-radius:5px!important;
  box-shadow:0 2px 4px rgba(0,0,0,.16)!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player>b em{
  color:#91c7e3!important;font-size:.94em;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player-meta{
  top:27px!important;left:calc(50% + 12px)!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-rating{
  min-width:25px!important;height:19px!important;font-size:9px!important;
}
/* Dense five-/six-line formations: keep players separated and legible. */
@media(min-width:761px){
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-5{width:73px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-5 .sg-lineup-face{width:44px!important;height:44px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-5>b{max-width:73px!important;font-size:9.5px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-6{width:64px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-6 .sg-lineup-face{width:39px!important;height:39px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-6>b{max-width:64px!important;font-size:8.8px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-cols-5>b{max-width:65px!important;font-size:9px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-cols-5 .sg-lineup-face{width:40px!important;height:40px!important}
}
/* Team labels are now above the pitch with logos. Hide the old repeated strip. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-teamstrip{display:none!important}
/* Enlarged substitutes/starter lists without altering the two-column pattern. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-dual-title{
  min-height:42px!important;font-size:12px!important;font-weight:800!important;
  letter-spacing:.055em;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-list>header b{font-size:12px!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-person{min-height:48px!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-person b{
  font-size:12px!important;line-height:1.25!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-person small{font-size:10px!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-shirt-number{font-size:11px!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-change-copy b{font-size:11.5px!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-change-copy small{font-size:9.5px!important}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-nochanges{font-size:12px!important}

@media(max-width:760px){
 html[data-sg-theme] body.sg-body .sg-main .sg-full-standing-row{font-size:12.5px!important;min-height:44px!important}
 html[data-sg-theme] body.sg-body .sg-main .sg-full-standing-head{font-size:10px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-formbar{min-height:64px!important;padding:9px!important;gap:6px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-formbar>strong{font-size:8px!important;letter-spacing:.04em!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-team{gap:6px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-team>img{width:25px;height:25px;flex-basis:25px}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-team b{font-size:10.5px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg40-lineup-team small{font-size:10px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch-scroll{padding:7px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch{
  aspect-ratio:.56 / 1!important;border-radius:10px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch:before{inset:12px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player{width:67px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-face{width:40px!important;height:40px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player>b{
  max-width:67px!important;min-height:18px!important;font-size:9px!important;padding:2px 3px!important;margin-top:3px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player-meta{top:22px!important;left:calc(50% + 8px)!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-5{width:60px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-5 .sg-lineup-face{width:36px!important;height:36px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-5>b{max-width:60px!important;font-size:8.2px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-6{width:53px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-6 .sg-lineup-face{width:33px!important;height:33px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-6>b{max-width:53px!important;font-size:7.7px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-cols-5{width:53px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-cols-5 .sg-lineup-face{width:33px!important;height:33px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-cols-5>b{max-width:53px!important;font-size:7.8px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-person b{font-size:10.5px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-person small{font-size:9px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-dual-title{font-size:11px!important}
}
@media(max-width:380px){
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-6>b{font-size:7.4px!important}
}
@media(prefers-reduced-motion:reduce){
 .sg-page-partite .sg-lineup-board *{transition:none!important}
}


/* =============================================================
   SG UI 0.41  |  Slightly wider center + pitch-player hover
   Preserve SG.21.45: 300px fixed Google AdSense right rail.
   No team score/list positioning changes, no global zoom.
   ============================================================= */

/* The original 1300px shell was the bottleneck. Allow more usable
   real estate on wide displays WITHOUT squeezing 300px ad units.
   Only shell maximum width and inter-column gaps change. */
@media (min-width:1241px){
  html[data-sg-theme] body.sg-body .sg-shell{
    width:100%!important;
    max-width:1400px!important;
    margin-inline:auto!important;
    column-gap:12px!important;
  }
  /* News/Predictions use their own inner grid. Keep the existing
     one-column outer shell to avoid the 0.35 News collapse regression. */
  html[data-sg-theme] body.sg-body:is(.sg-page-news,.sg-page-pronostici,.sg-page-fantacalcio) .sg-shell{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    max-width:1400px!important;
  }
  html[data-sg-theme] body.sg-body .sg-content-grid{
    grid-template-columns:minmax(0,1fr) 300px!important;
    gap:12px!important;
    justify-content:stretch!important;
    min-width:0!important;
  }
  html[data-sg-theme] body.sg-body .sg-content-grid:has(> .sg-right-rail.sg-right-rail-ads){
    grid-template-columns:minmax(0,1fr) 300px!important;
  }
  /* Do not force an empty right rail for logged-in no-ads subscribers. */
  html[data-sg-theme] body.sg-body .sg-content-grid:not(:has(> .sg-right-rail)){
    grid-template-columns:minmax(0,1fr)!important;
  }
  /* News index has NO right rail. Never reserve a phantom 300px
     column there: that was the 0.35 broken-news regression. */
  html[data-sg-theme] body.sg-body .sg-news-layout{
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
    min-width:0!important;
  }
  html[data-sg-theme] body.sg-body .sg-news-layout:has(> :is(.sg-right-rail,.sg-article-ad-rail,.sg-news-rail)){
    grid-template-columns:minmax(0,1fr) 300px!important;
  }
  html[data-sg-theme] body.sg-body :is(.sg-main,.sg-feed,.sg-news-main){min-width:0!important}
  /* Invariant: never reduce the advertising slot below its required width. */
  html[data-sg-theme] body.sg-body .sg-right-rail.sg-right-rail-ads,
  html[data-sg-theme] body.sg-body .sg-right-rail-ads :is(.slr-google-ad,.slr-google-ad-sidebar,.slr-google-ad-stage,.adsbygoogle){
    width:300px!important;
    min-width:300px!important;
    max-width:300px!important;
  }
}

/* Field players already link to /giocatore/{id}/: add a discoverable
   pointer / focus effect only. Do NOT transform the positioned anchor,
   since its translate(-50%,-50%) sets the coordinates on the pitch. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player{
  cursor:pointer!important;
  -webkit-tap-highlight-color:rgba(56,159,208,.2);
  text-decoration:none!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player .sg-lineup-face{
  transform-origin:50% 60%;
  transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease,filter .17s ease!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player>b{
  transition:background-color .17s ease,border-color .17s ease,box-shadow .17s ease!important;
}
@media(hover:hover) and (pointer:fine){
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player:hover{
    z-index:30!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player:hover .sg-lineup-face{
    transform:translateY(-3px) scale(1.12)!important;
    border-color:#75d2ff!important;
    filter:brightness(1.07)!important;
    box-shadow:0 0 0 3px rgba(56,159,208,.40),0 9px 17px rgba(0,0,0,.35)!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player:hover>b{
    background:#103c59!important;
    border-color:#64bde9!important;
    box-shadow:0 2px 10px rgba(12,76,112,.35)!important;
    text-decoration:underline!important;
    text-decoration-color:#70c9f0!important;
    text-underline-offset:2px!important;
  }
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player:focus-visible{
  z-index:30!important;
  outline:none!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player:focus-visible .sg-lineup-face{
  transform:translateY(-2px) scale(1.08)!important;
  border-color:#8cddff!important;
  box-shadow:0 0 0 4px rgba(56,159,208,.65),0 8px 14px rgba(0,0,0,.34)!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player:focus-visible>b{
  background:#103c59!important;
  border-color:#8cddff!important;
  text-decoration:underline!important;
}
@media(prefers-reduced-motion:reduce){
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player .sg-lineup-face,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player>b{transition:none!important}
}


/* =============================================================
   SG UI 0.42 | Line-ups like WinScore reference
   Goals: taller pitch, larger faces/names, more breathing room,
   no name/rating collisions, preserve SG layout and scores.
   ============================================================= */

@media (min-width: 961px){
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch-scroll{
    padding:14px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch{
    aspect-ratio:1.48 / 1!important;
    border-radius:16px!important;
    background:
      repeating-linear-gradient(90deg,rgba(255,255,255,.020) 0,rgba(255,255,255,.020) 12.5%,transparent 12.5%,transparent 25%),
      linear-gradient(145deg,#123b2f 0%,#0f3227 48%,#0a281f 100%)!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch:before{
    inset:18px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player{
    width:94px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-face{
    width:56px!important;
    height:56px!important;
    border-width:2px!important;
    box-shadow:0 0 0 2px rgba(13,31,37,.78),0 7px 16px rgba(0,0,0,.28)!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player>b{
    max-width:96px!important;
    min-height:22px!important;
    margin-top:7px!important;
    padding:3px 7px!important;
    font-size:11.5px!important;
    line-height:1.15!important;
    border-radius:6px!important;
    box-shadow:0 2px 5px rgba(0,0,0,.18)!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player>b em{
    font-size:.93em!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player-meta{
    top:31px!important;
    left:calc(50% + 15px)!important;
    gap:4px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-rating{
    min-width:28px!important;
    height:20px!important;
    font-size:10px!important;
    padding:0 6px!important;
    border-radius:8px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-goal-badge{
    min-width:20px!important;
    height:20px!important;
  }

  /* Dense formations still need room, but not the tiny typography of 0.41 */
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-5{
    width:84px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-5 .sg-lineup-face{
    width:50px!important;height:50px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-5>b{
    max-width:84px!important;font-size:10.7px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-6{
    width:74px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-6 .sg-lineup-face{
    width:45px!important;height:45px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-lines-6>b{
    max-width:74px!important;font-size:9.6px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-cols-5{
    width:74px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-cols-5 .sg-lineup-face{
    width:45px!important;height:45px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player.sg-lineup-cols-5>b{
    max-width:74px!important;font-size:9.6px!important;
  }
}

/* Tablet / small desktop */
@media (min-width: 761px) and (max-width: 960px){
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch{
    aspect-ratio:1.30 / 1!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player{width:82px!important}
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-face{width:50px!important;height:50px!important}
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player>b{max-width:82px!important;font-size:10.5px!important}
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-player-meta{top:28px!important;left:calc(50% + 13px)!important}
}

/* Hover should feel like a real clickable card, similar to the reference site */
@media(hover:hover) and (pointer:fine){
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player:hover .sg-lineup-face{
    transform:translateY(-3px) scale(1.10)!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player:hover>b{
    background:#114867!important;
    border-color:#7fd5ff!important;
  }
}


/* =============================================================
   SG UI 0.43 | Global readability pass after wider center column
   Goals: slightly larger typography and looser spacing across the
   whole public site, especially in the center column. Preserve all
   existing layouts, scores, ads, and lineup improvements from 0.42.
   ============================================================= */

:root{
  --sg-readable-gap-1:10px;
  --sg-readable-gap-2:14px;
  --sg-readable-gap-3:18px;
}

/* Header/menu: same layout, slightly bigger and more breathable. */
@media (min-width:761px){
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern{
    gap:5px!important;
  }
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>a,
  .sg-topbar .sg-primary-nav.sg-primary-nav-modern>.sg-ai-mega-nav>summary{
    height:38px!important;
    min-height:38px!important;
    padding:0 14px!important;
    font-size:14px!important;
    gap:8px!important;
    border-radius:11px!important;
  }
  .sg-topbar .sg-search-launch{
    min-height:38px!important;
    padding-inline:13px!important;
    font-size:13.5px!important;
    border-radius:12px!important;
  }
  .sg-topbar .sg-top-icon,
  .sg-topbar .sg-language-switcher-trigger{
    width:36px!important;height:36px!important;
    border-radius:10px!important;
  }
}

/* General center-column readability without global browser-like zoom. */
html[data-sg-theme] body.sg-body .sg-main{
  font-size:15px!important;
  line-height:1.55!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(p,li,dd,dt,small,.sg-copy,.sg-muted,.sg-empty,.sg-empty-inline){
  line-height:1.58!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-card,.sg-home-league-card,.sg-league-card,.sg-match-center-card,.sg-match-info-card,.sg-result-card,.sg-lineup-card,.sg-leaderboard-card){
  border-radius:16px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-card,.sg-home-league-card,.sg-league-card,.sg-match-center-card,.sg-match-info-card,.sg-result-card,.sg-lineup-card,.sg-leaderboard-card) :is(header,.sg-card-title,.sg-league-card-body){
  row-gap:var(--sg-readable-gap-1);
}
html[data-sg-theme] body.sg-body .sg-main .sg-card-title{
  min-height:54px!important;
  font-size:clamp(16px,1.15vw,18px)!important;
  line-height:1.32!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-card-title :is(a,small){
  font-size:13px!important;
}

/* Lists/cards/tables in the center column. */
html[data-sg-theme] body.sg-body .sg-main .sg-league-card-body,
html[data-sg-theme] body.sg-body .sg-main .sg-player-table,
html[data-sg-theme] body.sg-body .sg-main .sg-match-info-card,
html[data-sg-theme] body.sg-body .sg-main .sg-lineup-list{
  gap:var(--sg-readable-gap-1)!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-home-league-card,.sg-league-card,.sg-result-card,.sg-match-center-card,.sg-match-info-card,.sg-lineup-card){
  padding:16px!important;
}

/* Tabs across content areas: slightly larger and less cramped. */
html[data-sg-theme] body.sg-body :is(.sg-tabs,.sg-fixture-tabs,.sg-match-tabs,.sg-tab-nav) :is(a,button){
  font-size:14px!important;
  padding-block:12px!important;
  line-height:1.2!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern{
  gap:18px!important;
  padding-inline:2px!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-match-modern-v2225 .sg-match-primary-tabs.sg-match-tabs-modern>a{
  font-size:14px!important;
  padding:12px 2px!important;
}

/* Standings / rankings / stats readability pass. */
html[data-sg-theme] body.sg-body .sg-main .sg-full-standing-head,
html[data-sg-theme] body.sg-body .sg-main .sg-competition-table-head,
html[data-sg-theme] body.sg-body .sg-main .sg-player-head,
html[data-sg-theme] body.sg-body .sg-main .sg-mini-table-head{
  font-size:11.5px!important;
  min-height:40px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-full-standing-row,
html[data-sg-theme] body.sg-body .sg-main .sg-competition-standing-row,
html[data-sg-theme] body.sg-body .sg-main .sg-player-row,
html[data-sg-theme] body.sg-body .sg-main .sg-mini-standing{
  min-height:50px!important;
  font-size:13.5px!important;
  padding-block:9px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-full-standing-row>b,
html[data-sg-theme] body.sg-body .sg-main .sg-competition-standing-row>b{
  font-size:14.5px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-full-standing-row,.sg-competition-standing-row) .sg-standing-team strong,
html[data-sg-theme] body.sg-body .sg-main .sg-player-person b{
  font-size:14px!important;
  line-height:1.32!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-person small,
html[data-sg-theme] body.sg-body .sg-main .sg-full-standing-row small,
html[data-sg-theme] body.sg-body .sg-main .sg-competition-standing-row small{
  font-size:11.5px!important;
}

/* Match center statistics and labels. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-modern-v2225 .sg-stat-values strong{
  font-size:16px!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-modern-v2225 .sg-stat-values span,
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-modern-v2225 .sg-stat-team-head span,
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-timeline :is(.sg-event-time,.sg-event strong){
  font-size:13.5px!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-timeline .sg-event small{
  font-size:11.5px!important;
}

/* Team / player / competition info blocks in center column. */
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-info-grid,.sg-team-mini-stats,.sg-team-stats-grid,.sg-competition-big-stats,.sg-setup-card) :is(span,strong,b,small,a){
  line-height:1.45!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-info-grid,.sg-team-mini-stats,.sg-team-stats-grid,.sg-competition-big-stats) strong{
  font-size:14px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-info-grid,.sg-team-mini-stats,.sg-team-stats-grid,.sg-competition-big-stats) span,
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-info-grid,.sg-team-mini-stats,.sg-team-stats-grid,.sg-competition-big-stats) small{
  font-size:12.5px!important;
}

/* Search / filters in central content. */
html[data-sg-theme] body.sg-body .sg-main :is(input[type="search"],input[type="text"],select,.sg-filter-chip,.sg-filter-toggle){
  font-size:13.5px!important;
  min-height:40px!important;
}

/* Match center lineup lists below the pitch: slightly larger too. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-dual-title{
  min-height:44px!important;
  font-size:12.5px!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-person{
  min-height:50px!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-person b{
  font-size:12.8px!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-person small,
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-change-copy small{
  font-size:10.5px!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-change-copy b{
  font-size:12px!important;
}

/* Mobile: keep changes restrained. */
@media (max-width:760px){
  html[data-sg-theme] body.sg-body .sg-main{font-size:14px!important}
  html[data-sg-theme] body.sg-body .sg-main .sg-card-title{font-size:16px!important;min-height:auto!important}
  html[data-sg-theme] body.sg-body :is(.sg-tabs,.sg-fixture-tabs,.sg-match-tabs,.sg-tab-nav) :is(a,button){font-size:13px!important;padding-block:10px!important}
}


/* ===============================================================
   SerieAGoal UI v0.44 | formation geometry & player-label repair
   Deliberately scoped to the formation pitch: no scores / menus /
   News / Google Ads / subscription or backend changes.
   =============================================================== */

/* More vertical depth is critical: the original landscape field
   squeezed two complete squads between 400-500 CSS pixels. */
@media(min-width:961px){
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch-scroll{padding:12px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch{
   aspect-ratio:1.34 / 1!important;
   border-radius:16px!important;
 }
}
@media(min-width:761px) and (max-width:960px){
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch{aspect-ratio:1.25 / 1!important}
}
/* Force an independent layout for each player. Older CSS made rating
   badges float down into the label or outside the corresponding face. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player{
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:flex-start!important;
 isolation:isolate!important;
 overflow:visible!important;
 text-align:center!important;
 width:86px!important;
 text-decoration:none!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player .sg-lineup-face{
 width:54px!important;
 height:54px!important;
 flex:0 0 54px!important;
 border-width:2px!important;
 border-radius:50%!important;
 overflow:hidden!important;
 position:relative!important;
 box-shadow:0 0 0 2px rgba(6,22,30,.9),0 4px 12px rgba(0,0,0,.28)!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player .sg-lineup-face img{
 width:100%!important;height:100%!important;object-fit:cover!important;
}
/* Shirt number: bottom-right edge of portrait, WinScore-like. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player .sg44-shirt-badge{
 position:absolute!important;
 z-index:6!important;
 top:37px!important;
 right:11px!important;
 min-width:20px!important;
 height:20px!important;
 padding:0 3px!important;
 border:2px solid rgba(12,28,32,.95)!important;
 border-radius:999px!important;
 background:#2e9ee0!important;
 color:#fff!important;
 display:grid!important;
 place-items:center!important;
 font-size:10px!important;
 font-weight:850!important;
 line-height:1!important;
 font-variant-numeric:tabular-nums;
 pointer-events:none;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player-away .sg44-shirt-badge{
 background:#e74761!important;
}
/* Meta does not participate in layout; children anchor to portrait.
   Goals top-left, ratings top-right: no overlay on the name below. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player>.sg-lineup-player-meta{
 display:contents!important;
 position:static!important;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player>.sg-lineup-player-meta>.sg-lineup-rating{
 position:absolute!important;
 z-index:8!important;
 top:0px!important;
 right:7px!important;
 min-width:26px!important;
 height:20px!important;
 padding:0 4px!important;
 font-size:9.5px!important;
 line-height:1!important;
 border-radius:6px!important;
 border:1px solid rgba(255,255,255,.8)!important;
 pointer-events:none;
}
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player>.sg-lineup-player-meta>.sg-lineup-goal-badge{
 position:absolute!important;
 z-index:7!important;
 top:1px!important;
 left:6px!important;
 width:20px!important;
 height:20px!important;
 margin:0!important;
 pointer-events:none;
}
/* The player name is its own row, not a wrapper for shirt/votes.
   Long surnames truncate locally and preserve the complete tooltip. */
html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player>b.sg44-lineup-name{
 display:block!important;
 box-sizing:border-box!important;
 width:max-content!important;
 max-width:86px!important;
 margin:7px auto 0!important;
 min-height:21px!important;
 padding:3px 5px!important;
 border-radius:5px!important;
 font-size:11px!important;
 font-weight:850!important;
 line-height:1.1!important;
 letter-spacing:-.025em!important;
 text-align:center!important;
 overflow:hidden!important;
 white-space:nowrap!important;
 text-overflow:ellipsis!important;
}
/* Grid safety: compact card width for 5 or 6 tactical lines.
   This prevents horizontal label collision on the middle rows. */
@media(min-width:761px){
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5{
   width:76px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5 .sg-lineup-face{
   width:52px!important;height:52px!important;flex-basis:52px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5>b.sg44-lineup-name{
   max-width:76px!important;font-size:10.3px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5 .sg44-shirt-badge{
   top:35px!important;right:7px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6{
   width:59px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6 .sg-lineup-face{
   width:46px!important;height:46px!important;flex-basis:46px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6>b.sg44-lineup-name{
   max-width:60px!important;font-size:9.2px!important;padding-inline:3px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6 .sg44-shirt-badge{
   top:30px!important;right:0px!important;font-size:8.5px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6>.sg-lineup-player-meta>.sg-lineup-rating{
   right:-6px!important;
 }
}
/* Players in five columns already have ample lateral space at this pitch
   height: don't shrink them further with legacy cols-5 overrides. */
@media (min-width:761px){
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-cols-5:not(.sg-lineup-lines-6):not(.sg-lineup-lines-5){width:80px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-cols-5:not(.sg-lineup-lines-6):not(.sg-lineup-lines-5) .sg-lineup-face{width:52px!important;height:52px!important;flex-basis:52px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-cols-5:not(.sg-lineup-lines-6):not(.sg-lineup-lines-5)>b.sg44-lineup-name{max-width:80px!important}
}

/* Small screens retain vertical pitch/rotated coordinates, with no
   horizontal scroll trap and separated number/name/rating elements. */
@media(max-width:760px){
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch{aspect-ratio:.48 / 1!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player,
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5,
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6{width:59px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player .sg-lineup-face,
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5 .sg-lineup-face,
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6 .sg-lineup-face{
   width:37px!important;height:37px!important;flex-basis:37px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player>b.sg44-lineup-name,
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5>b.sg44-lineup-name,
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6>b.sg44-lineup-name{
   max-width:59px!important;font-size:8.5px!important;margin-top:5px!important;
   min-height:18px!important;padding:2px 3px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player .sg44-shirt-badge,
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5 .sg44-shirt-badge,
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6 .sg44-shirt-badge{
   top:24px!important;right:6px!important;
   min-width:16px!important;height:16px!important;font-size:8px!important;border-width:1px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player>.sg-lineup-player-meta>.sg-lineup-rating{
   top:0!important;right:1px!important;min-width:20px!important;height:16px!important;font-size:7.5px!important;
 }
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player>.sg-lineup-player-meta>.sg-lineup-goal-badge{
   top:0!important;left:1px!important;width:16px!important;height:16px!important;
 }
}
@media(max-width:380px){
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player,
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5,
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6{width:54px!important}
 html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player>b.sg44-lineup-name{max-width:54px!important;font-size:8px!important}
}


/* ==================================================================
  SG UI 0.45 — remaining typography / roster / navigation readability
  Source: 0.44. No lineup, football row, score or grid reconstruction.
  Ensure left rail, team rosters, competitions, player directory, filters,
  and supporting central content have appropriate readable type sizes.
  Theme colors remain from the original light/dark palette.
  ================================================================== */

/* 1. Competition navigation in the fixed left rail. Legibility without
      widening the rail or affecting the AdSense unit on the right. */
@media (min-width: 761px){
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-side-label{
    font-size:11.5px!important;line-height:1.35!important;
    letter-spacing:.075em!important;margin-bottom:7px!important;
  }
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-featured-list,
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-country-groups{
    gap:5px!important;
  }
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-competition-link{
    min-height:44px!important;
    padding:7px 9px!important;
    font-size:12.5px!important;
    font-weight:720!important;
    line-height:1.36!important;
    gap:9px!important;
  }
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-competition-link.is-featured{
    min-height:46px!important;
  }
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-competition-link .sg-sidebar-competition-logo{
    width:25px!important;height:25px!important;
  }
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-competition-link .sg-sidebar-competition-logo img{
    width:21px!important;height:21px!important;
  }
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-country>summary{
    min-height:46px!important;
    padding:7px 8px!important;
    gap:8px!important;
    line-height:1.35!important;
  }
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-country>summary strong{
    font-size:12.5px!important;
    line-height:1.35!important;
  }
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-country>summary small{
    min-width:21px!important;height:21px!important;
    font-size:10px!important;
  }
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-country-list{
    gap:4px!important;margin-left:7px!important;padding-left:9px!important;
  }
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-country-list .sg-sidebar-competition-link{
    min-height:40px!important;font-size:12px!important;
    padding-block:6px!important;
    grid-template-columns:22px minmax(0,1fr)!important;
  }
  html[data-sg-theme] body.sg-body .sg-sidebar .sg-sidebar-more-countries{
    min-height:42px!important;font-size:12px!important;
  }
}

/* 2. Squad roster. The old 9px nationality and 12px names were not
      affected by the earlier classification/readability pass. */
html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-group>h3{
  padding:12px 15px!important;
  font-size:12px!important;
  letter-spacing:.065em!important;
  line-height:1.4!important;
}
html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-list>a{
  min-height:86px!important;
  padding:11px 14px!important;
  gap:11px!important;
  grid-template-columns:52px minmax(0,1fr) 34px 16px!important;
  align-items:center!important;
}
html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-photo{
  width:50px!important;height:50px!important;
}
html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-copy{
  gap:4px!important;
}
html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-copy strong{
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:760!important;
  letter-spacing:-.015em!important;
}
html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-copy small{
  font-size:11.5px!important;
  line-height:1.4!important;
  margin-top:0!important;
}
html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-list>a>b{
  font-size:13px!important;
}

/* 3. Competition/team directories: search, filters and directory cards. */
html[data-sg-theme] body.sg-body .sg-main .sg-competition-finder{
  padding:17px!important;margin-bottom:16px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-finder-search{
  height:49px!important;
  gap:10px!important;
  padding-inline:13px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-finder-search input{
  font-size:14px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-type-filter{
  gap:8px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-type-filter button{
  min-height:39px!important;height:auto!important;
  padding:8px 14px!important;
  font-size:12px!important;line-height:1.3!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-country-filter{
  gap:7px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-country-filter>span{
  font-size:11.5px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-country-filter select{
  height:42px!important;
  min-height:42px!important;
  font-size:13px!important;
  padding-left:11px!important;
  line-height:1.3!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-finder-meta{
  min-height:32px!important;
  font-size:12px!important;
  line-height:1.4!important;
  gap:9px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-finder-meta strong{
  font-size:13px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-search-row{
  min-height:81px!important;
  padding:13px 16px!important;
  gap:13px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-search-copy{
  gap:5px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-search-copy strong{
  font-size:14px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-search-copy small{
  font-size:11.5px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-tile{
  min-height:154px!important;padding:17px 11px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-tile strong{
  font-size:14px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-tile small{
  font-size:11px!important;line-height:1.4!important;margin-top:6px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-directory-actions :is(button,a){
  min-height:40px!important;font-size:13px!important;
  padding:9px 13px!important;
}

/* 4. Team and competition context switches, internal tabs and title copy. */
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-context-switch,.sg-player-context-switch){
  gap:10px!important;
  padding-block:12px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-context-switch,.sg-player-context-switch)>span{
  font-size:12px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-context-switch,.sg-player-context-switch) :is(a,b,small){
  font-size:12px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-profile-tabs>a{
  font-size:14px!important;
  line-height:1.3!important;
  min-height:43px!important;
  padding-inline:14px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-page-intro p{
  font-size:14px!important;line-height:1.55!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-profile-copy,.sg-competition-profile-copy,.sg-player-profile-copy) :is(p,small){
  font-size:12.5px!important;line-height:1.55!important;
}

/* 5. Player directories, team rosters in player finder, rankings. */
html[data-sg-theme] body.sg-body .sg-main .sg-player-team-head{
  height:auto!important;min-height:55px!important;
  padding:9px 14px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-team-head strong{
  font-size:14px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-team-head small{
  font-size:11.5px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-directory-card{
  min-height:76px!important;
  padding:11px 13px!important;
  gap:10px!important;
  grid-template-columns:46px minmax(0,1fr) 16px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-directory-photo{
  width:44px!important;height:44px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-directory-copy{
  gap:4px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-directory-copy strong{
  font-size:14px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-directory-copy small{
  font-size:11.5px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-ranking-nav{
  min-height:49px!important;gap:7px!important;padding:8px 10px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-ranking-nav>a{
  min-height:35px!important;height:auto!important;
  padding:8px 12px!important;
  font-size:12px!important;line-height:1.3!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-full-player-ranking>a{
  min-height:60px!important;padding:10px 13px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-full-ranking-player strong{
  font-size:13px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-season-switcher{
  min-height:50px!important;padding:10px 12px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-season-switcher>span{
  font-size:11px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-season-switcher a{
  min-height:34px!important;height:auto!important;
  font-size:12px!important;padding:7px 12px!important;
}

/* 6. Supporting data: team leaders and player match/career records. */
html[data-sg-theme] body.sg-body .sg-main .sg-team-rank-list>a{
  min-height:72px!important;padding:12px 14px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-rank-list>a :is(strong,b){
  font-size:13.5px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-rank-list>a small{
  font-size:11.5px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-match-app{
  min-height:98px!important;padding:14px!important;gap:14px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-match-app :is(strong,b){
  font-size:13px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-match-app small{
  font-size:11px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-player-career-row,.sg-transfer-archive-list>a){
  padding-block:15px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-player-career-row,.sg-transfer-archive-list>a) :is(strong,b){
  font-size:13.5px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-player-career-row,.sg-transfer-archive-list>a) small{
  font-size:11.5px!important;line-height:1.4!important;
}

/* 7. Mobile: keep a 1-column roster and no horizontal overflow. Respect
      the existing responsive layout and avoid enlarging bottom navigation. */
@media(max-width:760px){
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-list{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-list>a{
    min-height:76px!important;
    padding:9px 11px!important;
    grid-template-columns:46px minmax(0,1fr) 31px 14px!important;
    gap:8px!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-photo{
    width:44px!important;height:44px!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-copy strong{
    font-size:13px!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-main .sg-roster-copy small{
    font-size:11px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-team-tile{
    min-height:135px!important;padding:13px 8px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-team-tile strong{
    font-size:12.5px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-competition-finder{
    padding:12px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-competition-search-row{
    min-height:72px!important;padding:10px 11px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-competition-search-copy strong{
    font-size:13px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-player-directory-card{
    min-height:70px!important;padding:9px 10px!important;
    grid-template-columns:40px minmax(0,1fr) 14px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-player-directory-photo{
    width:38px!important;height:38px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-player-directory-copy strong{
    font-size:12.5px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-player-directory-copy small{
    font-size:10.5px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-profile-tabs>a{
    font-size:12.5px!important;min-height:40px!important;padding-inline:11px!important;
  }
  /* Drawer has its own width; increase fonts but retain navigation layout. */
  html[data-sg-theme] body.sg-body .sg-mobile-menu-scroll .sg-sidebar-competition-link,
  html[data-sg-theme] body.sg-body .sg-mobile-menu-scroll .sg-sidebar-country>summary strong{
    font-size:13px!important;line-height:1.35!important;
  }
}


/* =================================================================
   SerieAGoal News 0.46 | editorial homepage redesign inspired by
   modern score/news portals. Scoped to News page only: preserve match,
   adverts, premium, auth, light/dark and the 0.45 global typography.
   ================================================================= */
@media(min-width:1121px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg-shell{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;max-width:1400px!important;
    margin-inline:auto!important;padding-inline:20px!important;
  }
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-page{
  min-width:0;width:100%;margin:0 auto;padding-bottom:34px;
  font-family:"Manrope",Inter,system-ui,sans-serif;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topics{
  display:flex;align-items:center;gap:6px;min-width:0;
  overflow:visible;white-space:nowrap;
  border-bottom:1px solid var(--sg-line);
  padding:0 2px 10px;margin:0 0 24px;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topics>a,
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topics .sg46-topic-more>summary{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  min-height:38px;padding:8px 13px;line-height:1.15;font-size:13px!important;
  font-weight:800;text-decoration:none;letter-spacing:-.012em;
  color:var(--sg-muted);background:transparent;border:0;border-bottom:3px solid transparent;
  cursor:pointer;border-radius:6px 6px 0 0;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topics>a:is(:hover,:focus-visible),
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topics .sg46-topic-more>summary:is(:hover,:focus-visible){
  color:var(--sg-text);background:var(--sg-soft);
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topics>a.is-active{
  color:var(--sg-text);border-color:#389fd0;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topic-more{position:relative;margin-left:auto;z-index:6}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topic-more>summary{list-style:none}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topic-more>summary::-webkit-details-marker{display:none}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topic-more>div{
  position:absolute;top:100%;right:0;z-index:6;min-width:190px;max-height:340px;overflow:auto;
  display:flex;flex-direction:column;gap:2px;padding:7px;background:var(--sg-surface);
  border:1px solid var(--sg-line);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.2);
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topic-more>div>a{
  display:block;color:var(--sg-text);padding:10px 12px;border-radius:8px;text-decoration:none;font-size:13px;font-weight:700;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-topic-more>div>a:hover{background:var(--sg-soft)}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-layout.sg-news-index-layout{
  width:100%!important;max-width:100%!important;min-width:0;display:grid!important;overflow:visible!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:30px!important;align-items:start;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-main{min-width:0;max-width:100%}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-heading.sg-news-index-heading{
  margin:0 0 26px!important;padding:0!important;display:flex!important;align-items:end!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-heading.sg-news-index-heading small{
  color:#389fd0;font-size:11.5px!important;font-weight:900;letter-spacing:.09em;text-transform:uppercase;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-heading.sg-news-index-heading h1{
  max-width:100%!important;width:auto!important;margin:3px 0 0!important;
  font-size:clamp(28px,2.7vw,38px)!important;line-height:1.2!important;letter-spacing:-.035em;
  overflow-wrap:normal!important;word-break:normal!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-heading.sg-news-index-heading p{
  font-size:14px!important;line-height:1.65!important;max-width:650px;color:var(--sg-muted);
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-section-heading{
  display:flex;align-items:center;gap:14px;margin-bottom:16px;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-section-heading h2{
  margin:0;font-size:20px!important;line-height:1.3;font-weight:850;letter-spacing:-.02em;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-section-heading>span{
  height:1px;background:var(--sg-line);flex:1;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;
  min-width:0;margin:0 0 30px;padding:0;
  border:1px solid var(--sg-line);border-radius:16px;background:var(--sg-surface);
  overflow:hidden;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-front-lead{
  min-width:0;display:block!important;padding:20px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-front-kicker{
  margin-bottom:14px;display:flex;gap:10px;align-items:center;font-size:14px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-feature{
  display:grid!important;grid-template-columns:minmax(0,47%) minmax(0,53%)!important;
  min-height:260px!important;margin:0 0 16px!important;
  background:var(--sg-soft)!important;color:var(--sg-text)!important;border-radius:12px;
  box-shadow:none!important;border:1px solid var(--sg-line);
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-feature-media{
  height:100%;min-height:260px!important;aspect-ratio:auto!important;background:var(--sg-soft)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-feature-copy{
  display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;
  padding:23px!important;color:var(--sg-text)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-feature-copy h2{
  color:var(--sg-text)!important;font-size:clamp(20px,1.7vw,27px)!important;
  font-weight:850;line-height:1.25!important;letter-spacing:-.025em!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-feature-copy p{
  font-size:13px!important;line-height:1.6!important;color:var(--sg-muted)!important;-webkit-line-clamp:3;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-feature-copy small{
  color:var(--sg-muted)!important;font-size:11.5px!important;font-weight:700;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-feature-more{color:#389fd0!important;font-weight:850}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-card-row{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-card-row .sg-news-index-card,
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-card-row .sg-news-index-card .sg-news-index-media{
  min-width:0;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-card-row .sg-news-index-card{
  border-radius:10px!important;background:transparent!important;box-shadow:none!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-index-copy strong{
  font-size:14px!important;line-height:1.4!important;font-weight:750!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-latest-panel{
  display:block!important;min-width:0;padding:18px 20px!important;background:var(--sg-surface)!important;
  border-top:1px solid var(--sg-line);border-left:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-latest-list{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 18px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-headline-item{
  padding:12px 0!important;border-bottom:1px solid var(--sg-line);
  font-size:13.5px!important;line-height:1.5!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-headline-item strong{font-size:13.5px!important;line-height:1.45!important}
html[data-sg-theme] body.sg-body.sg-page-news :is(.sg-news-all-section,.sg-news-league-section,.sg-news-predictions-stack){margin-top:32px!important}
html[data-sg-theme] body.sg-body.sg-page-news :is(.sg-news-all-head h2,.sg-news-league-head h2){font-size:21px!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-stream-grid4{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-index-card{
  border-radius:12px!important;box-shadow:none!important;min-width:0;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-index-copy{padding:14px 15px!important;gap:9px!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-index-copy small{font-size:11.5px!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail{min-width:0;display:flex;flex-direction:column;gap:28px}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail-ads{
  width:300px;min-width:300px;max-width:300px;overflow:hidden;min-height:280px;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail-ads .slr-google-ad,
html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail-ads .slr-google-ad-stage{
  width:300px!important;max-width:300px!important;min-width:300px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-focus{
  background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:14px;padding:19px;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-focus-label{
  color:#389fd0;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.11em;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-focus h2{
  font-size:21px!important;line-height:1.25!important;margin:9px 0 17px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-focus-articles>a{
  display:grid;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:12px;
  min-height:84px;padding:10px 0;border-top:1px solid var(--sg-line);text-decoration:none;color:var(--sg-text);
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-focus-articles>a>img{
  width:66px;height:60px;border-radius:8px;object-fit:cover;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-focus-articles>a>strong{
  font-size:12.5px;line-height:1.4;font-weight:750;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail-latest h2{font-size:18px!important;margin:0 0 10px!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail-latest-list>a{
  display:flex;flex-direction:column;gap:6px;padding:13px 0;
  border-bottom:1px solid var(--sg-line);color:var(--sg-text);text-decoration:none;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail-latest-list strong{font-size:13px;line-height:1.45}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail-latest-list small{font-size:11px;color:var(--sg-muted)}
@media(max-width:1120px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-layout.sg-news-index-layout{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail-ads{display:none}
  html[data-sg-theme] body.sg-body.sg-page-news .sg46-topics{overflow-x:auto;scrollbar-width:thin}
}
@media(max-width:760px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg46-page{padding-inline:5px}
  html[data-sg-theme] body.sg-body.sg-page-news .sg46-topics{margin-bottom:18px}
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-heading.sg-news-index-heading{margin-bottom:17px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-heading.sg-news-index-heading h1{font-size:27px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-front-lead{padding:12px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-feature{
    display:flex!important;flex-direction:column!important;min-height:0!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-feature-media{
    min-height:0!important;height:auto!important;aspect-ratio:16/9!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-feature-copy{padding:15px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-card-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-card-row .sg-news-index-card:last-child{display:none}
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-stage.sg46-front-stage .sg-news-latest-list{
    grid-template-columns:1fr!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-stream-grid4{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail{display:block}
}
@media(max-width:480px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-stream-grid4{grid-template-columns:1fr!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-card-row{grid-template-columns:1fr!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg-news-front-card-row .sg-news-index-card:last-child{display:flex}
}


/* =================================================================
   SerieAGoal News 0.47 | STRUCTURAL EDITORIAL DESIGN
   New markup, not a cosmetic grid change. Other pages unaffected.
   Inspired by clean editorial split cards, with original SG identity.
   ================================================================= */
html[data-sg-theme] body.sg-body.sg-page-news .sg46-page{--sg47-bg:var(--sg-surface);--sg47-border:var(--sg-line);}
html[data-sg-theme="dark"] body.sg-body.sg-page-news .sg46-page{
  --sg47-bg:#071b25;--sg47-tile:#102b39;--sg47-border:rgba(122,176,207,.18);
  --sg47-wash:#0b2431;--sg47-label:#b2c8d5;
}
html[data-sg-theme="light"] body.sg-body.sg-page-news .sg46-page{
  --sg47-bg:#f1f8fb;--sg47-tile:#fff;--sg47-border:rgba(45,113,155,.16);
  --sg47-wash:#e9f2f7;--sg47-label:#647e8c;
}
/* Strip the old oversized page intro; content should begin as a newsroom */
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-heading.sg-news-index-heading{
  margin:0 0 17px!important;padding:0 2px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-heading.sg-news-index-heading h1{
  font-size:clamp(24px,2.1vw,30px)!important;line-height:1.22!important;margin:3px 0 4px!important;
  letter-spacing:-.025em!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-heading.sg-news-index-heading p{
  font-size:13px!important;line-height:1.5!important;margin:0!important;
}
/* Entire block is a dedicated editorial surface, no legacy card components. */
html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-desk{
  width:100%;min-width:0;margin:0 0 30px;padding:22px 24px 20px;
  background:var(--sg47-bg)!important;
  border:1px solid var(--sg47-border)!important;
  border-radius:14px!important;display:flex;flex-direction:column;gap:0;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-desk-heading{
  display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:0 0 23px;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-desk-heading>div{display:flex;align-items:center;gap:10px;min-width:0}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-desk-heading h2{
  margin:0!important;font:800 17px/1.25 "Manrope",Inter,system-ui,sans-serif!important;
  letter-spacing:-.02em!important;color:var(--sg-text)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-desk-marker{
  width:4px;height:20px;background:#389fd0;border-radius:4px;flex:none;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-desk-edition{
  color:var(--sg47-label);font-size:11px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead{
  display:grid!important;grid-template-columns:minmax(0,45%) minmax(0,55%)!important;
  overflow:hidden;align-items:center;min-width:0;min-height:260px;gap:0;
  text-decoration:none!important;color:var(--sg-text)!important;border-radius:10px;
  background:var(--sg47-tile)!important;
  transition:background-color .15s ease;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead:hover{background:var(--sg47-wash)!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead-media{
  display:block;position:relative;min-width:0;height:100%;min-height:260px;overflow:hidden;background:var(--sg47-wash);
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead-media>img{
  width:100%;height:100%;position:absolute;inset:0;display:block;object-fit:cover;
  transition:transform .25s ease;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead:hover .sg47-lead-media img{transform:scale(1.035)}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-image-empty{
  display:grid;place-items:center;width:100%;height:100%;min-height:150px;color:#76aaca;background:var(--sg47-wash);
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead-copy{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  gap:12px;padding:20px 23px;min-width:0;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-story-meta{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px!important;color:var(--sg47-label);font-weight:700;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-story-meta>strong{color:#389fd0;font-weight:850}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead-title{
  font-size:clamp(19px,1.7vw,26px)!important;line-height:1.33!important;font-weight:850!important;
  color:var(--sg-text)!important;letter-spacing:-.026em!important;overflow-wrap:anywhere;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead-excerpt{
  font-size:12.5px;line-height:1.55;color:var(--sg-muted);
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead-read{
  color:#389fd0;font-size:11.5px;font-weight:800;margin-top:2px;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead-read span{font-size:19px;vertical-align:-1px}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-triptych{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px;margin:18px 0 0;min-width:0;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-mini-story{
  display:flex;flex-direction:column;gap:10px;min-width:0;
  text-decoration:none!important;color:var(--sg-text)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-mini-media{
  display:block;position:relative;width:100%;aspect-ratio:1.6;overflow:hidden;background:var(--sg47-wash);border-radius:9px;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-mini-media>img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-mini-story:hover .sg47-mini-media>img{transform:scale(1.04)}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-mini-copy{display:flex;flex-direction:column;gap:7px;min-width:0;padding:0 2px}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-mini-copy>strong{
  font-size:14px!important;line-height:1.43!important;font-weight:800!important;letter-spacing:-.012em!important;
  color:var(--sg-text)!important;overflow-wrap:anywhere;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-mini-story:hover .sg47-mini-copy strong{color:#389fd0!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-mini-copy>small{font-size:11px!important;color:var(--sg-muted)}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-briefs{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;
  margin-top:20px;padding-top:8px;border-top:1px solid var(--sg47-border);
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-briefs>a{
  display:flex;align-items:center;gap:9px;min-width:0;padding:13px 2px;
  border-bottom:1px solid var(--sg47-border);text-decoration:none;color:var(--sg-text);
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-briefs>a>strong{
  flex:1;min-width:0;line-height:1.42;font-size:12.5px!important;font-weight:700;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-brief-dot{width:6px;height:6px;border-radius:50%;background:#389fd0;flex:none}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-brief-arrow{color:var(--sg-muted);font-size:17px;flex:none}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-briefs>a:hover strong{color:#389fd0}
/* Supporting news modules should read as editorial sections, not chunky widget grids. */
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-all-section{margin-top:32px!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-all-head{margin-bottom:16px!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-all-head h2{font-size:20px!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-index-card{
  background:transparent!important;border:0!important;box-shadow:none!important;
  border-radius:0!important;overflow:visible!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-index-card .sg-news-index-media{
  border-radius:9px!important;overflow:hidden!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-index-card .sg-news-index-copy{
  padding:10px 0 0!important;gap:7px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg-news-index-card .sg-news-index-copy strong{
  font-size:14px!important;line-height:1.43!important;
}
/* Sidebar focus becomes a visual event card, still auto-expiring after 72h. */
html[data-sg-theme] body.sg-body.sg-page-news .sg46-focus{
  padding:18px!important;background:var(--sg47-bg)!important;border:1px solid var(--sg47-border)!important;
  border-radius:12px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-focus h2{font-size:22px!important;margin:8px 0 14px!important;line-height:1.2!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-focus-lead{
  display:flex;flex-direction:column;gap:9px;color:var(--sg-text);text-decoration:none;padding-bottom:10px;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-focus-lead img{
  width:100%;height:155px;object-fit:cover;border-radius:8px;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg47-focus-lead strong{
  font-size:13.5px;line-height:1.42;font-weight:800;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-focus-articles>a{
  grid-template-columns:50px minmax(0,1fr)!important;min-height:70px!important;gap:10px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-focus-articles>a>img{width:50px;height:50px}
html[data-sg-theme] body.sg-body.sg-page-news .sg46-rail-latest{
  padding:0 2px;
}
/* keyboard nav / reduced motion */
html[data-sg-theme] body.sg-body.sg-page-news :is(.sg47-lead,.sg47-mini-story,.sg47-news-briefs>a,.sg47-focus-lead):focus-visible{
  outline:2px solid #389fd0!important;outline-offset:3px;
}
@media (max-width:1120px){
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-desk{padding:20px}
}
@media (max-width:760px){
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-desk{padding:14px!important;border-radius:12px!important}
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead{display:flex!important;flex-direction:column;align-items:stretch;min-height:0}
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead-media{height:auto!important;aspect-ratio:16/9;min-height:0;width:100%}
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead-copy{padding:15px!important;gap:8px}
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead-title{font-size:20px!important}
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-triptych{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px}
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-briefs{grid-template-columns:1fr}
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-desk-edition{display:none}
}
@media (max-width:480px){
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-triptych{grid-template-columns:1fr!important}
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-mini-story{display:grid;grid-template-columns:38% 1fr;align-items:center}
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-mini-copy>strong{font-size:13px!important}
}
@media(prefers-reduced-motion:reduce){
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-lead-media>img,
 html[data-sg-theme] body.sg-body.sg-page-news .sg47-mini-media>img{transition:none}
}

/* SG 0.47 layout safety: padding is inside available center column width. */
html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-desk,
html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-desk *,
html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-desk *::before,
html[data-sg-theme] body.sg-body.sg-page-news .sg47-news-desk *::after{box-sizing:border-box!important;}


/* SG 0.48 — News page rebuilt with Diretta-like editorial blocks */
.sg46-page{padding-top:10px!important}
.sg46-page .sg46-topics{display:flex;flex-wrap:wrap;gap:0!important;padding:0 0 14px!important;border-bottom:1px solid rgba(255,255,255,.08)!important;margin-bottom:18px!important}
html[data-sg-theme] .sg46-page .sg46-topics>a,
html[data-sg-theme] .sg46-page .sg46-topics summary{padding:14px 16px!important;border-bottom:3px solid transparent!important;border-radius:0!important;font-size:14px!important;font-weight:800!important;letter-spacing:.01em!important;background:transparent!important}
html[data-sg-theme] .sg46-page .sg46-topics>a.is-active{border-bottom-color:var(--sg-accent,#1f8bc6)!important;color:var(--sg-text)!important}
.sg-news-cbs-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:28px!important;align-items:start}
.sg46-news-main{display:flex!important;flex-direction:column;gap:22px!important;min-width:0}
.sg-news-heading.sg-news-index-heading{display:none!important}
.sg48-panel{background:var(--sg-surface,#161b23)!important;border:1px solid var(--sg-border,#2b3340)!important;border-radius:16px!important;padding:18px!important;box-shadow:none!important}
.sg48-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px!important}
.sg48-panel-head h2{margin:0!important;font-size:20px!important;line-height:1.2!important;font-weight:850!important}
.sg48-hero{display:grid!important;grid-template-columns:minmax(280px,44%) minmax(0,1fr)!important;gap:24px!important;align-items:stretch;color:inherit!important;text-decoration:none!important}
.sg48-hero-media{display:block;min-height:320px!important;border-radius:14px!important;overflow:hidden;background:rgba(255,255,255,.04)!important}
.sg48-hero-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.sg48-hero-copy{display:flex!important;flex-direction:column;justify-content:center;gap:12px!important;min-width:0}
.sg48-meta{display:flex!important;flex-wrap:wrap;gap:10px!important;align-items:center;color:var(--sg-muted,#9fb0c3)!important;font-size:12.5px!important;text-transform:uppercase!important;letter-spacing:.05em!important}
.sg48-meta strong{color:var(--sg-accent,#1f8bc6)!important;font-weight:900!important}
.sg48-hero-title{font-size:clamp(28px,2.2vw,42px)!important;line-height:1.14!important;font-weight:900!important;color:var(--sg-text)!important}
.sg48-hero-excerpt{font-size:16px!important;line-height:1.56!important;color:var(--sg-muted,#c2cad3)!important}
.sg48-subgrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin-top:18px!important}
.sg48-tile{display:flex!important;flex-direction:column;gap:12px!important;color:inherit!important;text-decoration:none!important}
.sg48-tile-media{aspect-ratio:16/10!important;border-radius:12px!important;overflow:hidden;background:rgba(255,255,255,.04)!important}
.sg48-tile-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.sg48-tile-copy strong{display:block!important;font-size:18px!important;line-height:1.32!important;font-weight:850!important;color:var(--sg-text)!important}
.sg48-tile-copy small,.sg48-brief small,.sg48-feed-copy small{display:block!important;margin-top:8px!important;color:var(--sg-muted,#9fb0c3)!important;font-size:12px!important}
.sg48-brief-list{display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin-top:10px!important}
.sg48-brief{display:flex!important;align-items:flex-start;justify-content:space-between;gap:16px!important;padding:14px 0!important;border-top:1px solid rgba(255,255,255,.08)!important;color:inherit!important;text-decoration:none!important}
.sg48-brief strong{font-size:16px!important;line-height:1.38!important;font-weight:750!important;color:var(--sg-text)!important}
.sg48-news-feed .sg48-feed-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
.sg48-feed-item{display:grid!important;grid-template-columns:176px minmax(0,1fr)!important;gap:16px!important;align-items:start;color:inherit!important;text-decoration:none!important;padding:0 0 18px!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
.sg48-feed-item.is-lead{grid-column:1 / -1!important;grid-template-columns:300px minmax(0,1fr)!important;padding-bottom:22px!important;margin-bottom:2px!important}
.sg48-feed-media{display:block;border-radius:12px!important;overflow:hidden;background:rgba(255,255,255,.04)!important;aspect-ratio:16/10!important}
.sg48-feed-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.sg48-feed-copy{display:flex!important;flex-direction:column;gap:8px!important;min-width:0}
.sg48-feed-copy strong{display:block!important;font-size:18px!important;line-height:1.34!important;font-weight:850!important;color:var(--sg-text)!important}
.sg48-feed-item.is-lead .sg48-feed-copy strong{font-size:22px!important;line-height:1.28!important}
.sg48-feed-copy span{font-size:14px!important;line-height:1.56!important;color:var(--sg-muted,#c2cad3)!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.sg46-rail{position:sticky!important;top:90px!important;display:flex!important;flex-direction:column;gap:18px!important}
.sg46-rail :is(.sg46-rail-ads,.sg46-focus,.sg46-rail-latest){background:var(--sg-surface,#161b23)!important;border:1px solid var(--sg-border,#2b3340)!important;border-radius:16px!important;padding:16px!important}
.sg46-focus-label{display:inline-flex!important;background:rgba(31,139,198,.12)!important;color:var(--sg-accent,#1f8bc6)!important;border-radius:999px!important;padding:6px 10px!important;font-size:11px!important;font-weight:900!important;letter-spacing:.06em!important;text-transform:uppercase!important;margin-bottom:10px!important}
.sg46-focus h2,.sg46-rail-latest h2{margin:0 0 14px!important;font-size:18px!important;line-height:1.25!important;font-weight:850!important}
.sg47-focus-lead,.sg46-focus-articles>a,.sg46-rail-latest-list>a{display:flex!important;flex-direction:column;gap:10px!important;text-decoration:none!important;color:inherit!important;padding:12px 0!important;border-top:1px solid rgba(255,255,255,.08)!important}
.sg47-focus-lead:first-child,.sg46-rail-latest-list>a:first-child{border-top:0!important;padding-top:0!important}
.sg47-focus-lead img,.sg46-focus-articles img{width:100%!important;aspect-ratio:16/10!important;object-fit:cover!important;border-radius:12px!important}
.sg47-focus-lead strong,.sg46-focus-articles strong,.sg46-rail-latest-list strong{font-size:15px!important;line-height:1.38!important;font-weight:800!important;color:var(--sg-text)!important}
.sg46-rail-latest-list small{color:var(--sg-muted,#9fb0c3)!important;font-size:12px!important}
.sg-news-ad-break{margin:0!important}
.sg-news-autoload-grid .sg-news-index-card{border-radius:14px!important}
@media (max-width: 1100px){
  .sg-news-cbs-layout{grid-template-columns:minmax(0,1fr)!important}
  .sg46-rail{position:static!important}
}
@media (max-width: 860px){
  .sg48-hero{grid-template-columns:1fr!important}
  .sg48-hero-media{min-height:240px!important}
  .sg48-subgrid,.sg48-news-feed .sg48-feed-grid{grid-template-columns:1fr!important}
  .sg48-feed-item,.sg48-feed-item.is-lead{grid-template-columns:140px minmax(0,1fr)!important}
}
@media (max-width: 640px){
  .sg46-page .sg46-topics{overflow:auto hidden;flex-wrap:nowrap!important;padding-bottom:8px!important}
  .sg46-page .sg46-topics>a, .sg46-page .sg46-topics summary{white-space:nowrap!important;padding:12px 14px!important;font-size:13px!important}
  .sg48-panel{padding:14px!important}
  .sg48-panel-head h2{font-size:18px!important}
  .sg48-hero-title{font-size:24px!important}
  .sg48-feed-item,.sg48-feed-item.is-lead{grid-template-columns:1fr!important}
  .sg48-feed-media{aspect-ratio:16/9!important}
}


/* =============================================================
   SG News 0.49: complete visual replacement, NOT legacy News blocks
   Diretta-inspired layout, original SerieAGoal branding.
   No 2-column stories, no text-only briefs, no league spotlights.
   ============================================================= */
html[data-sg-theme] body.sg-body.sg-page-news .sg49-page{
  width:100%!important;max-width:1400px!important;margin:0 auto!important;
  padding:0 14px 48px!important;box-sizing:border-box!important;
  font-family:Manrope,Inter,system-ui,sans-serif!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-topics{
  width:100%!important;display:flex!important;flex-wrap:nowrap!important;
  align-items:stretch!important;gap:8px!important;overflow-x:auto!important;
  border-bottom:1px solid var(--sg-line,rgba(120,140,150,.2))!important;
  margin:0 0 24px!important;padding:0!important;scrollbar-width:thin;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-topics>a,
html[data-sg-theme] body.sg-body.sg-page-news .sg49-topics summary{
  flex-shrink:0!important;display:inline-flex!important;align-items:center!important;
  padding:18px 12px 15px!important;text-decoration:none!important;
  font-size:13.5px!important;font-weight:800!important;letter-spacing:.015em!important;
  color:var(--sg-muted)!important;border:0!important;
  border-bottom:3px solid transparent!important;border-radius:0!important;
  background:transparent!important;white-space:nowrap!important;cursor:pointer;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-topics>a.is-active{
  color:var(--sg-text)!important;border-bottom-color:#389fd0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-topics>a:hover{color:var(--sg-text)!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-more{position:relative!important;flex:0 0 auto}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-more>div{
  position:absolute;top:100%;right:0;min-width:210px;z-index:50;
  border:1px solid var(--sg-line)!important;background:var(--sg-surface)!important;
  border-radius:10px;padding:8px;box-shadow:0 10px 22px rgba(0,0,0,.18);
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-more>div a{
  display:block;padding:9px;color:var(--sg-text)!important;text-decoration:none;font-size:13px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout{
  display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;
  align-items:start!important;gap:26px!important;width:100%!important;min-width:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-main{
  display:flex!important;flex-direction:column!important;gap:22px!important;
  min-width:0!important;width:auto!important;max-width:none!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-panel{
  background:var(--sg-surface)!important;border:1px solid var(--sg-line)!important;
  border-radius:14px!important;box-shadow:none!important;padding:22px!important;
  min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-section-heading{
  font-size:21px!important;line-height:1.2!important;font-weight:850!important;
  color:var(--sg-text)!important;letter-spacing:-.02em!important;
  margin:0 0 22px!important;padding:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-hero{
  display:grid!important;grid-template-columns:minmax(0,46%) minmax(0,1fr)!important;
  gap:26px!important;align-items:center!important;text-decoration:none!important;
  color:var(--sg-text)!important;min-width:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-hero-media{
  display:block!important;height:260px!important;min-height:260px!important;
  overflow:hidden!important;border-radius:10px!important;background:var(--sg-soft)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-hero-media>img,
html[data-sg-theme] body.sg-body.sg-page-news .sg49-tile-media>img,
html[data-sg-theme] body.sg-body.sg-page-news .sg49-story-image>img{
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;
  object-fit:cover!important;object-position:center!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-hero-copy{
  display:flex!important;flex-direction:column!important;gap:12px!important;justify-content:center!important;min-width:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-hero-copy>strong{
  font-size:clamp(23px,2.3vw,34px)!important;font-weight:900!important;
  letter-spacing:-.025em!important;line-height:1.21!important;color:var(--sg-text)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-meta{
  color:var(--sg-muted)!important;font-size:12.5px!important;line-height:1.35!important;
  font-weight:650!important;letter-spacing:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-summary,
html[data-sg-theme] body.sg-body.sg-page-news .sg49-excerpt{
  color:var(--sg-muted)!important;font-size:14px!important;line-height:1.55!important;
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;
  overflow:hidden!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-tiles{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;margin-top:24px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-tile{
  color:var(--sg-text)!important;text-decoration:none!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:10px!important;min-width:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-tile-media{
  display:block!important;width:100%!important;aspect-ratio:16/10!important;height:auto!important;
  overflow:hidden!important;border-radius:10px!important;background:var(--sg-soft)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-tile>strong{
  font-size:16px!important;line-height:1.35!important;font-weight:800!important;color:var(--sg-text)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-tile>small{color:var(--sg-muted)!important;font-size:12px!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-feed-list{
  display:flex!important;flex-direction:column!important;gap:0!important;
  width:100%!important;min-width:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-story{
  display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;
  align-items:center!important;gap:21px!important;width:100%!important;
  padding:17px 0!important;margin:0!important;border:0!important;
  border-bottom:1px solid var(--sg-line)!important;border-radius:0!important;
  background:transparent!important;color:var(--sg-text)!important;text-decoration:none!important;
  box-sizing:border-box!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-story:first-child{padding-top:0!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-story-image{
  display:block!important;width:100%!important;height:120px!important;
  overflow:hidden!important;border-radius:9px!important;background:var(--sg-soft)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-story-copy{
  display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-story-copy>strong{
  font-size:18px!important;line-height:1.34!important;font-weight:850!important;
  color:var(--sg-text)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-story-copy .sg49-excerpt{font-size:13px!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-no-image{
  display:grid!important;place-items:center!important;width:100%!important;height:100%!important;
  color:#389fd0!important;background:linear-gradient(145deg,rgba(56,159,208,.12),rgba(56,159,208,.04))!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-hero:hover strong,
html[data-sg-theme] body.sg-body.sg-page-news .sg49-tile:hover>strong,
html[data-sg-theme] body.sg-body.sg-page-news .sg49-story:hover strong{color:#389fd0!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-pagination{
  display:flex!important;gap:20px!important;padding-top:16px!important;font-size:14px!important;
}
/* Keep the original 300px AdSense slot unobstructed: no inner padding or clipping. */
html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg46-rail{
  display:flex!important;flex-direction:column!important;gap:24px!important;
  width:300px!important;max-width:300px!important;min-width:300px!important;
  position:static!important;top:auto!important;overflow:visible!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg46-rail>.sg46-rail-ads{
  box-sizing:border-box!important;width:300px!important;min-width:300px!important;max-width:300px!important;
  border:0!important;background:transparent!important;padding:0!important;overflow:visible!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg46-rail :is(.sg46-focus,.sg46-rail-latest){
  border:1px solid var(--sg-line)!important;border-radius:13px!important;
  background:var(--sg-surface)!important;padding:17px!important;
}
/* Infinite stream inserted by the existing v299 client: one image/text row each. */
html[data-sg-theme] body.sg-body.sg-page-news .sg49-infinite-results,
html[data-sg-theme] body.sg-body.sg-page-news .sg49-infinite-results :is(.sg-news-stream-chapter,.sg-news-stream-ungrouped,.sg-news-stream-ranked-groups,.sg-news-stream-ranked-desk,.sg-news-more-grid,.sg-news-more-primary,.sg-news-more-secondary,.sg-news-stream-grid4){
  display:flex!important;flex-direction:column!important;gap:0!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-infinite-results .sg-news-index-card{
  display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;
  align-items:center!important;gap:21px!important;width:100%!important;
  padding:17px 0!important;border:0!important;border-bottom:1px solid var(--sg-line)!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-infinite-results .sg-news-index-media{
  display:block!important;height:120px!important;width:190px!important;min-width:0!important;aspect-ratio:auto!important;
  border-radius:9px!important;overflow:hidden!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-infinite-results .sg-news-index-media>img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-infinite-results .sg-news-index-copy{
  display:flex!important;flex-direction:column!important;gap:8px!important;padding:0!important;margin:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-infinite-results .sg-news-index-copy>strong{
  font-size:18px!important;line-height:1.34!important;font-weight:850!important;color:var(--sg-text)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-infinite-results .sg-news-stream-ranked-head{display:none!important}
/* Theme light/dark use existing tokens; never force light text on light mode. */
@media(max-width:1120px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout{grid-template-columns:minmax(0,1fr)!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg46-rail{max-width:100%!important;width:100%!important;min-width:0!important}
}
@media(max-width:720px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-page{padding-inline:10px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-panel{padding:15px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-hero{grid-template-columns:1fr!important;gap:14px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-hero-media{height:auto!important;min-height:0!important;aspect-ratio:16/9!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-hero-copy>strong{font-size:24px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-tiles{grid-template-columns:1fr!important;gap:16px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-tile{display:grid!important;grid-template-columns:116px 1fr!important;gap:10px 12px!important;align-items:center!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-tile-media{grid-row:span 2!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-story,
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-infinite-results .sg-news-index-card{
    grid-template-columns:116px minmax(0,1fr)!important;gap:12px!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-story-image,
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-infinite-results .sg-news-index-media{height:83px!important;width:116px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-story-copy>strong,
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-infinite-results .sg-news-index-copy>strong{font-size:14px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-excerpt{display:none!important}
}


/* ===============================================
   SG 0.50 · Google preferred sources + live editorial focus
   Strictly scoped to News: no other site UI is changed.
   =============================================== */
html[data-sg-theme] body.sg-body.sg-page-news .sg50-google-promo{
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  gap:24px!important;padding:21px 24px!important;
  border:1px solid var(--sg-line)!important;border-radius:14px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-google-promo-copy{
  display:flex!important;align-items:center!important;gap:19px!important;min-width:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-google-wordmark{
  font-family:Arial,sans-serif!important;font-size:27px!important;letter-spacing:-.05em!important;
  font-weight:700!important;white-space:nowrap!important;flex-shrink:0!important;
}
.sg50-google-wordmark span:nth-child(1),.sg50-google-wordmark span:nth-child(4){color:#4285f4!important}
.sg50-google-wordmark span:nth-child(2),.sg50-google-wordmark span:nth-child(6){color:#ea4335!important}
.sg50-google-wordmark span:nth-child(3){color:#fbbc05!important}
.sg50-google-wordmark span:nth-child(5){color:#34a853!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-google-promo h2{
  margin:0 0 5px!important;font-size:18px!important;line-height:1.25!important;
  letter-spacing:-.02em!important;font-weight:850!important;color:var(--sg-text)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-google-promo p{
  margin:0!important;font-size:13px!important;line-height:1.5!important;color:var(--sg-muted)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-google-promo-control{
  flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;
  min-width:175px!important;min-height:42px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-google-promo-control noscript a{color:var(--sg-text)!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-section{width:100%!important;min-width:0!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-heading{
  font-size:20px!important;font-weight:850!important;line-height:1.3!important;color:var(--sg-text)!important;
  margin:0 0 15px!important;padding:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-card{padding:17px!important;min-width:0!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-card-head{
  display:flex!important;align-items:center!important;gap:8px!important;margin-bottom:13px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-live-dot{
  width:7px!important;height:7px!important;flex-shrink:0!important;border-radius:50%!important;background:#389fd0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-card-head h3{
  margin:0!important;min-width:0!important;flex:1!important;font-size:16px!important;
  line-height:1.3!important;font-weight:850!important;color:var(--sg-text)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-card-head small{
  font-size:11px!important;color:var(--sg-muted)!important;white-space:nowrap!important;
}
html[data-sg-theme] body.sg-body.sg-page-news :is(.sg50-focus-lead,.sg50-focus-link){
  display:block!important;color:var(--sg-text)!important;text-decoration:none!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-lead strong{
  display:block!important;margin:10px 0 12px!important;color:var(--sg-text)!important;
  font-size:15.5px!important;line-height:1.36!important;font-weight:850!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-media{
  display:block!important;width:100%!important;aspect-ratio:16/9!important;overflow:hidden!important;
  border-radius:10px!important;background:var(--sg-soft)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-media img{
  width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-link{
  padding:9px 0!important;border-top:1px solid var(--sg-line)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-link strong{
  color:var(--sg-text)!important;font-size:13px!important;line-height:1.45!important;font-weight:750!important;
}
/* User request: underline SAME COLOR as title, not blue, on BOTH themes. */
html[data-sg-theme] body.sg-body.sg-page-news .sg49-page :is(.sg49-hero,.sg49-tile,.sg49-story,.sg-news-index-card,.sg50-focus-lead,.sg50-focus-link) strong{
  color:var(--sg-text)!important;transition:none!important;
  text-decoration:none!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-page :is(.sg49-hero,.sg49-tile,.sg49-story,.sg-news-index-card,.sg50-focus-lead,.sg50-focus-link):is(:hover,:focus-visible) strong{
  color:var(--sg-text)!important;
  text-decoration:underline!important;text-decoration-color:currentColor!important;
  text-decoration-thickness:1.5px!important;text-underline-offset:4px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg46-rail :is(.sg46-rail-latest-list>a,.sg46-focus-articles>a,.sg47-focus-lead) strong{
  color:var(--sg-text)!important;text-decoration:none!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg46-rail :is(.sg46-rail-latest-list>a,.sg46-focus-articles>a,.sg47-focus-lead):is(:hover,:focus-visible) strong{
  color:var(--sg-text)!important;text-decoration:underline!important;text-decoration-color:currentColor!important;
  text-decoration-thickness:1.5px!important;text-underline-offset:4px!important;
}
@media(max-width:850px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg50-google-promo{flex-wrap:wrap!important;padding:17px!important;gap:12px!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg50-google-promo-control{justify-content:flex-start!important}
  html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-grid{grid-template-columns:1fr!important}
}
@media(max-width:480px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg50-google-promo-copy{align-items:flex-start!important;flex-wrap:wrap!important;gap:7px!important}
}


/* ===============================================================
   SG 0.51 — News right rail, responsive and AdSense-safe
   Order: existing AdSense / Most read / optional sticky AdSense.
   Works in both light and dark, no changes outside News.
   =============================================================== */
html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg46-rail.sg51-news-rail{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  align-self:stretch!important;position:static!important;top:auto!important;
  gap:20px!important;width:300px!important;min-width:300px!important;max-width:300px!important;
  overflow:visible!important;height:auto!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg51-news-rail .sg51-ad-top,
html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg51-news-rail .sg51-ad-sticky{
  width:300px!important;min-width:300px!important;max-width:300px!important;
  box-sizing:border-box!important;padding:0!important;margin:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  overflow:visible!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg51-news-rail .sg51-ad-top :is(.slr-google-ad,.slr-google-ad-stage,.adsbygoogle),
html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg51-news-rail .sg51-ad-sticky :is(.slr-google-ad,.slr-google-ad-stage,.adsbygoogle){
  width:300px!important;min-width:300px!important;max-width:300px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg51-news-rail .sg51-most-read{
  padding:20px 16px!important;border-radius:14px!important;
  border:1px solid var(--sg-line)!important;
  background:var(--sg-surface)!important;box-sizing:border-box!important;
  min-width:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg51-most-read-head{
  display:flex!important;align-items:center!important;gap:10px!important;
  justify-content:space-between!important;margin-bottom:12px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg51-most-read-head h2{
  margin:0!important;font-size:19px!important;line-height:1.25!important;
  font-weight:850!important;color:var(--sg-text)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg51-most-read-head small{
  flex:0 0 auto!important;font-size:10.5px!important;color:var(--sg-muted)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg51-most-read-list{
  list-style:none!important;padding:0!important;margin:0!important;display:block!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg51-most-read-list li{
  padding:13px 0!important;margin:0!important;
  border-top:1px solid var(--sg-line)!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg51-most-read-list li:first-child{border-top:0!important}
html[data-sg-theme] body.sg-body.sg-page-news .sg51-most-read-list a{
  display:grid!important;grid-template-columns:23px minmax(0,1fr) 62px!important;
  align-items:start!important;gap:9px!important;color:var(--sg-text)!important;
  text-decoration:none!important;min-width:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg51-most-read-order{
  display:inline-block!important;font-size:17px!important;font-weight:900!important;
  color:var(--sg-muted)!important;font-variant-numeric:tabular-nums!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg51-most-read-copy strong{
  display:block!important;color:var(--sg-text)!important;text-decoration:none!important;
  font-size:13.5px!important;font-weight:750!important;line-height:1.45!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg51-most-read-list a:is(:hover,:focus-visible) .sg51-most-read-copy strong{
  color:var(--sg-text)!important;text-decoration:underline!important;
  text-decoration-color:currentColor!important;text-decoration-thickness:1.5px!important;
  text-underline-offset:3px!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg51-most-read-list img{
  width:62px!important;height:56px!important;object-fit:cover!important;border-radius:8px!important;
}
/* AdSense permits a single sticky ad, width <=300px, desktop only. The top
   ad is normal-flow and scrolls out before the lower ad can stick. */
@media (min-width:1241px) and (min-height:740px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg51-news-rail .sg51-ad-sticky{
    position:sticky!important;top:94px!important;align-self:flex-start!important;
    z-index:1!important;
  }
}
@media (max-width:1240px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg51-news-rail{
    width:100%!important;max-width:100%!important;min-width:0!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg51-news-rail .sg51-ad-sticky{
    display:none!important;position:static!important;
  }
}
@media (max-width:760px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg51-news-rail .sg51-ad-top{
    display:none!important;
  }
}


/* =============================================================
   SG News UI 0.52: desktop-only sticky lower AdSense fix.
   0.51 accidentally required viewport >=740px tall, and its grid
   aligned rows to the top, leaving the sticky with no scroll room.
   Preserve the existing 300px AdSense slot, the top banner, most-read
   and the main News 0.49 + Google/Focus 0.51 design unchanged.
   ============================================================= */
@media (min-width:1121px) and (min-height:620px){
  /* Make the rail as tall as the adjacent article feed. Without this,
     a sticky child cannot travel past the rail's original short height. */
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout{
    align-items:stretch!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg46-rail.sg51-news-rail{
    align-self:stretch!important;
    height:auto!important;
    min-height:100%!important;
    position:relative!important;
    overflow:visible!important;
    width:300px!important;
    min-width:300px!important;
    max-width:300px!important;
  }
  /* Re-enable the lower ad at 1121–1240px: 0.51 suppressed it
     even when the normal desktop 2-column rail was visible. */
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg51-news-rail .sg51-ad-sticky{
    display:block!important;
    position:-webkit-sticky!important;
    position:sticky!important;
    top:100px!important;
    align-self:flex-start!important;
    flex-shrink:0!important;
    width:300px!important;
    min-width:300px!important;
    max-width:300px!important;
    margin-bottom:24px!important;
    z-index:1!important;
    overflow:visible!important;
  }
}
/* When the viewport is too short, keep the ad in normal flow rather
   than risk clipping or overlapping the navigation and other content. */
@media (max-width:1120px), (max-height:619px){
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout>.sg51-news-rail .sg51-ad-sticky{
    position:static!important;
  }
}


/* ============================================================
   SerieAGoal 0.53 — Pronostici megamenu: daylight theme contrast
   The legacy 0.39 rule forces a dark panel regardless of theme
   while the light theme renders foreground text black. Scope this
   fix to the header megamenu alone, preserving all other sections.
   ============================================================ */

/* Day mode: white panel, legible dark text, metallic azure details. */
html[data-sg-theme="light"] body.sg-body .sg-topbar .sg-ai-mega-nav>.sg-ai-mega-menu,
html[data-slr-theme="light"] body.slr-site .sg-topbar .sg-ai-mega-nav>.sg-ai-mega-menu{
  background:#ffffff!important;
  color:#172d3d!important;
  border:1px solid #cbdbe6!important;
  box-shadow:0 22px 55px rgba(10,45,65,.18)!important;
}
html[data-sg-theme="light"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top,
html[data-slr-theme="light"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top{
  border-bottom:1px solid #dbe7ee!important;
}
html[data-sg-theme="light"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top strong,
html[data-slr-theme="light"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top strong{
  color:#172d3d!important;
  font-size:20px!important;
  line-height:1.3!important;
  font-weight:850!important;
  -webkit-text-fill-color:#172d3d!important;
}
html[data-sg-theme="light"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top small,
html[data-slr-theme="light"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top small{
  color:#2779a0!important;
  -webkit-text-fill-color:#2779a0!important;
}
html[data-sg-theme="light"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top>a,
html[data-slr-theme="light"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top>a{
  color:#116993!important;
  -webkit-text-fill-color:#116993!important;
}
html[data-sg-theme="light"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a,
html[data-slr-theme="light"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a{
  background:transparent!important;
  color:#172d3d!important;
  -webkit-text-fill-color:#172d3d!important;
  border:1px solid transparent!important;
  padding:13px 14px!important;
  border-radius:11px!important;
  text-decoration:none!important;
}
html[data-sg-theme="light"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a strong,
html[data-slr-theme="light"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a strong{
  color:#172d3d!important;
  -webkit-text-fill-color:#172d3d!important;
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:800!important;
}
html[data-sg-theme="light"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a small,
html[data-slr-theme="light"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a small{
  color:#587184!important;
  -webkit-text-fill-color:#587184!important;
  font-size:12px!important;
  line-height:1.4!important;
}
html[data-sg-theme="light"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a:is(:hover,:focus-visible),
html[data-slr-theme="light"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a:is(:hover,:focus-visible){
  background:#eaf4fa!important;
  border-color:#c8e2ef!important;
  outline-offset:2px!important;
}
html[data-sg-theme="light"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a:is(:hover,:focus-visible) strong,
html[data-slr-theme="light"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a:is(:hover,:focus-visible) strong{
  color:#115f85!important;
  -webkit-text-fill-color:#115f85!important;
}
html[data-sg-theme="light"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top>a:hover,
html[data-slr-theme="light"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top>a:hover{
  color:#0b4d70!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}

/* Night mode: explicit dark text contrast in case theme variables change. */
html[data-sg-theme="dark"] body.sg-body .sg-topbar .sg-ai-mega-nav>.sg-ai-mega-menu,
html[data-slr-theme="dark"] body.slr-site .sg-topbar .sg-ai-mega-nav>.sg-ai-mega-menu{
  background:#102b3d!important;
  color:#f3f9fd!important;
  border-color:#35617d!important;
}
html[data-sg-theme="dark"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top strong,
html[data-slr-theme="dark"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-top strong,
html[data-sg-theme="dark"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a strong,
html[data-slr-theme="dark"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a strong{
  color:#f3f9fd!important;
}
html[data-sg-theme="dark"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a,
html[data-slr-theme="dark"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a{
  color:#f3f9fd!important;
}
html[data-sg-theme="dark"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a small,
html[data-slr-theme="dark"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a small{
  color:#a9bfcd!important;
}
html[data-sg-theme="dark"] body.sg-body .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a:is(:hover,:focus-visible),
html[data-slr-theme="dark"] body.slr-site .sg-topbar .sg-ai-mega-menu .sg-ai-mega-links>a:is(:hover,:focus-visible){
  background:#1a455f!important;
}

/* ===============================================================
   SG UI 0.56 — Exact same /news/ preferred-sources component on
   article pages. Same HTML partial, same CSS values, same Google SDK.
   Only the article-scoped selectors are added; /news/ is unchanged.
   =============================================================== */
html[data-sg-theme] body.sg-body .sg-article-story .sg49-panel.sg50-google-promo{
  background:var(--sg-surface)!important;
  border:1px solid var(--sg-line)!important;
  border-radius:14px!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  max-width:100%!important;
  min-width:0!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:24px!important;
  margin:20px 0 24px!important;
  padding:21px 24px!important;
  font-family:"Manrope",Inter,system-ui,sans-serif!important;
}
html[data-sg-theme] body.sg-body .sg-article-story .sg50-google-promo-copy{
  display:flex!important;
  align-items:center!important;
  gap:19px!important;
  min-width:0!important;
}
html[data-sg-theme] body.sg-body .sg-article-story .sg50-google-wordmark{
  font-family:Arial,sans-serif!important;
  font-size:27px!important;
  letter-spacing:-.05em!important;
  font-weight:700!important;
  white-space:nowrap!important;
  flex-shrink:0!important;
  line-height:1.1!important;
}
html[data-sg-theme] body.sg-body .sg-article-story .sg50-google-promo h2{
  margin:0 0 5px!important;
  padding:0!important;
  font-size:18px!important;
  line-height:1.25!important;
  letter-spacing:-.02em!important;
  font-weight:850!important;
  color:var(--sg-text)!important;
}
html[data-sg-theme] body.sg-body .sg-article-story .sg50-google-promo p{
  margin:0!important;
  padding:0!important;
  font-size:13px!important;
  line-height:1.5!important;
  color:var(--sg-muted)!important;
}
html[data-sg-theme] body.sg-body .sg-article-story .sg50-google-promo-control{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-width:175px!important;
  min-height:42px!important;
}
html[data-sg-theme] body.sg-body .sg-article-story .sg50-google-promo-control noscript a{
  color:var(--sg-text)!important;
}
@media(max-width:850px){
  html[data-sg-theme] body.sg-body .sg-article-story .sg50-google-promo{
    flex-wrap:wrap!important;
    padding:17px!important;
    gap:12px!important;
  }
  html[data-sg-theme] body.sg-body .sg-article-story .sg50-google-promo-control{
    justify-content:flex-start!important;
  }
}
@media(max-width:480px){
  html[data-sg-theme] body.sg-body .sg-article-story .sg50-google-promo-copy{
    align-items:flex-start!important;
    flex-wrap:wrap!important;
    gap:7px!important;
  }
}


/* ================================================================
   SG UI 0.57  |  Drawer: Schedine as an independent visible section
   Removes former nested details dropdown from the mobile/desktop
   hamburger. Scoped exclusively to this menu component.
   ================================================================ */
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-section{
  margin:4px 0 16px!important;
  padding:0!important;
}
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-section>header{
  min-height:37px!important;
  padding:0 3px 9px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  color:var(--sg-muted)!important;
}
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-section>header strong{
  font-family:"Manrope",Inter,system-ui,sans-serif!important;
  font-size:11.5px!important;
  font-weight:850!important;
  text-transform:uppercase!important;
  letter-spacing:.075em!important;
}
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  margin:0!important;
  padding:0!important;
}
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid>a{
  box-sizing:border-box!important;
  min-height:54px!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  padding:9px 10px!important;
  border:1px solid var(--sg-line)!important;
  border-radius:10px!important;
  background:var(--sg-surface)!important;
  color:var(--sg-text)!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transition:background-color .16s ease,border-color .16s ease!important;
}
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid>a>strong{
  flex:1 1 auto!important;
  min-width:0!important;
  overflow:visible!important;
  font-family:"Manrope",Inter,system-ui,sans-serif!important;
  font-size:12.5px!important;
  font-weight:750!important;
  line-height:1.25!important;
  letter-spacing:-.015em!important;
  white-space:normal!important;
  color:inherit!important;
}
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-icon{
  width:28px!important;
  height:28px!important;
  flex:0 0 28px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  border-radius:7px!important;
  background:var(--sg-surface-2)!important;
  color:var(--sg-muted)!important;
  font-family:"Manrope",Inter,system-ui,sans-serif!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
}
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid>a.sg57-schedine-all{
  grid-column:1/-1!important;
  min-height:53px!important;
  border-color:color-mix(in srgb,var(--sg-accent) 35%,var(--sg-line))!important;
  background:color-mix(in srgb,var(--sg-accent) 7%,var(--sg-surface))!important;
}
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid>a.sg57-schedine-all .sg57-schedine-icon{
  background:color-mix(in srgb,var(--sg-accent) 12%,var(--sg-surface-2))!important;
  color:var(--sg-accent)!important;
}
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid>a.sg57-schedine-all>.sg-svg:last-child{
  color:var(--sg-muted)!important;
}
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid>a:is(:hover,:focus-visible){
  background:var(--sg-surface-2)!important;
  border-color:color-mix(in srgb,var(--sg-accent) 50%,var(--sg-line))!important;
  outline:none!important;
}
html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid>a:focus-visible{
  box-shadow:0 0 0 2px var(--sg-accent)!important;
}
@media(max-width:375px){
  html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid{gap:5px!important}
  html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid>a{padding:7px 6px!important;gap:6px!important}
  html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid>a>strong{font-size:11.5px!important}
  html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-icon{width:24px!important;height:24px!important;flex-basis:24px!important}
}
@media(prefers-reduced-motion:reduce){
  html[data-sg-theme] body.sg-body .sg-mobile-menu-drawer .sg57-schedine-grid>a{transition:none!important}
}


/* ======================================================================
   SG UI 0.58 — ALL single competition/team/player pages
   Restore breathing room to modern profiles and tiny dashboard typography.
   Scope: only 3 modern entities; never news/matches/predictions/ad slots.
   ====================================================================== */

/* Restrict this entire patch to the three actual single-entity center grids. */
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-content-grid.sg-competition-modern-v2226,
  .sg-content-grid.sg-team-modern-v2227,
  .sg-content-grid.sg-player-modern-v2228
) > .sg-feed{
  min-width:0!important;
}
/* Some tabs rendered their first card immediately against the hero. Enforce
   consistent rhythm for top-level containers without altering inner grids. */
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-content-grid.sg-competition-modern-v2226,
  .sg-content-grid.sg-team-modern-v2227,
  .sg-content-grid.sg-player-modern-v2228
) > .sg-feed > :not(style):not(script) ~ :not(style):not(script){
  margin-top:18px!important;
}
/* Make each profile a discrete card. Keep internal hero->tabs relationship. */
html[data-sg-theme] body.sg-body .sg-main :is(
 .sg-content-grid.sg-competition-modern-v2226 .sg-competition-modern-head,
 .sg-content-grid.sg-team-modern-v2227 .sg-team-profile,
 .sg-content-grid.sg-player-modern-v2228 .sg-player-profile
){
  border-radius:15px!important;
  overflow:hidden!important;
}
/* Taller top bar / more padding; slightly larger logos and player photo. */
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-competition-modern-v2226 .sg-competition-cover,
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-team-modern-v2227 .sg-team-cover,
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-player-modern-v2228 .sg-player-profile-hero{
  min-height:132px!important;
  height:auto!important;
  padding:22px 24px!important;
  gap:18px!important;
  align-items:center!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-competition-modern-v2226 .sg-competition-profile-main,
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-team-modern-v2227 .sg-team-profile-main,
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-player-modern-v2228 .sg-player-profile-main{
  gap:17px!important;
  min-width:0!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-competition-modern-v2226 .sg-competition-profile-logo,
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-team-modern-v2227 .sg-team-profile-logo{
  width:78px!important;height:78px!important;
  min-width:78px!important;min-height:78px!important;
  max-width:78px!important;max-height:78px!important;
  border-radius:16px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-competition-modern-v2226 .sg-competition-profile-logo img,
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-team-modern-v2227 .sg-team-profile-logo img{
  width:62px!important;height:62px!important;
  max-width:62px!important;max-height:62px!important;
  object-fit:contain!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-player-modern-v2228 .sg-player-profile-photo{
  width:82px!important;height:82px!important;
  min-width:82px!important;min-height:82px!important;
  max-width:82px!important;max-height:82px!important;
  border-radius:16px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-content-grid.sg-player-modern-v2228 .sg-player-profile-photo img{
  width:100%!important;height:100%!important;object-fit:cover!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-competition-profile-copy,
  .sg-team-modern-v2227 .sg-team-profile-copy,
  .sg-player-modern-v2228 .sg-player-profile-copy
){min-width:0!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-competition-profile-copy h1,
  .sg-team-modern-v2227 .sg-team-profile-copy h1,
  .sg-player-modern-v2228 .sg-player-profile-copy h1
){
  font-size:clamp(24px,1.6vw,29px)!important;
  line-height:1.17!important;
  letter-spacing:-.025em!important;
  margin:5px 0 0!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-competition-profile-copy .sg-kicker,
  .sg-team-modern-v2227 .sg-team-profile-copy .sg-kicker,
  .sg-player-modern-v2228 .sg-player-profile-copy .sg-kicker
){font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-competition-profile-copy p,
  .sg-team-modern-v2227 .sg-team-profile-copy p,
  .sg-player-modern-v2228 .sg-player-profile-copy>p
){font-size:13px!important;line-height:1.5!important;margin-top:7px!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-follow-btn,
  .sg-team-modern-v2227 .sg-follow-btn,
  .sg-player-modern-v2228 .sg-follow-btn
){min-height:39px!important;height:39px!important;font-size:12.5px!important;padding:0 13px!important;gap:8px!important}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-club-link{
  min-height:33px!important;padding:6px 10px!important;font-size:12px!important;gap:7px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-club-link img{
  width:22px!important;height:22px!important;
}

/* Tab ribbon padding from left/right corners + more generous spacing.
   Keep horizontal scrolling for clubs with many tabs, no forced wrapping. */
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-profile-tabs,
  .sg-team-modern-v2227 .sg-profile-tabs,
  .sg-player-modern-v2228 .sg-profile-tabs
){
  box-sizing:border-box!important;
  min-height:52px!important;height:52px!important;
  padding:0 17px!important;
  gap:7px!important;
  scroll-padding-inline:17px!important;
  display:flex!important;align-items:stretch!important;
  overflow-x:auto!important;overflow-y:hidden!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-profile-tabs>a,
  .sg-team-modern-v2227 .sg-profile-tabs>a,
  .sg-player-modern-v2228 .sg-profile-tabs>a
){
  box-sizing:border-box!important;
  min-width:max-content!important;
  height:51px!important;
  padding:0 13px!important;
  font-size:13.25px!important;
  line-height:1.28!important;
  font-weight:750!important;
}

/* All content panels follow the same rhythm, including first card below tabs. */
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226,
  .sg-team-modern-v2227,
  .sg-player-modern-v2228
) .sg-section{margin-top:18px!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-competition-overview-grid,
  .sg-team-modern-v2227 .sg-team-overview-grid,
  .sg-player-modern-v2228 .sg-player-overview-grid
){gap:16px!important;margin-top:18px!important}
/* Section headings were previously 11.5px; links an even smaller 9px. */
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-card-title,
  .sg-team-modern-v2227 .sg-card-title,
  .sg-player-modern-v2228 .sg-card-title
){min-height:51px!important;padding:0 16px!important;gap:12px!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-card-title>span,
  .sg-team-modern-v2227 .sg-card-title>span,
  .sg-player-modern-v2228 .sg-card-title>span
){font-size:14px!important;line-height:1.35!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-card-title>a,
  .sg-team-modern-v2227 .sg-card-title>a,
  .sg-player-modern-v2228 .sg-card-title>a
){font-size:12px!important;line-height:1.35!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-card-title>small,
  .sg-team-modern-v2227 .sg-card-title>small,
  .sg-player-modern-v2228 .sg-card-title>small
){font-size:12px!important;line-height:1.35!important}

/* Competition: classification and statistics, no tiny 7-9px columns. */
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-competition-table-head{
  min-height:42px!important;padding:0 14px!important;font-size:11px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-competition-standing-row{
  min-height:52px!important;padding:0 14px!important;font-size:13px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-standing-team strong{
  font-size:13.5px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-standing-team img{
  width:26px!important;height:26px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-full-standing-head{
  min-height:45px!important;font-size:11.5px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-full-standing-row{
  min-height:51px!important;font-size:13.5px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-competition-stats-strip>div{
  min-height:78px!important;padding:13px 7px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-competition-stats-strip strong{
  font-size:21px!important;line-height:1.15!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-competition-stats-strip span,
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-competition-big-stats span{
  font-size:11px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-team-grid-competition .sg-team-tile{
  min-height:117px!important;padding:13px 8px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-team-grid-competition .sg-team-tile strong{
  font-size:12.5px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-team-grid-competition .sg-team-logo-wrap{
  width:52px!important;height:52px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-team-grid-competition .sg-team-logo-wrap img{
  max-width:43px!important;max-height:43px!important;
}
/* Injuries: this is a repeat of the user's Eredivisie screenshot. */
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-injury-list>a,
  .sg-team-modern-v2227 .sg-injury-list>a,
  .sg-player-modern-v2228 .sg-injury-list>a
){min-height:67px!important;padding:10px 16px!important;gap:11px!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-injury-list>a strong,
  .sg-team-modern-v2227 .sg-injury-list>a strong,
  .sg-player-modern-v2228 .sg-injury-list>a strong
){font-size:13px!important;line-height:1.35!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-injury-list>a small,
  .sg-team-modern-v2227 .sg-injury-list>a small,
  .sg-player-modern-v2228 .sg-injury-list>a small
){font-size:11.5px!important;line-height:1.4!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-injury-list>a>span:first-child,
  .sg-team-modern-v2227 .sg-injury-list>a>span:first-child,
  .sg-player-modern-v2228 .sg-injury-list>a>span:first-child
){width:40px!important;height:40px!important;min-width:40px!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-competition-modern-v2226 .sg-injury-list>a>span:first-child img,
  .sg-team-modern-v2227 .sg-injury-list>a>span:first-child img,
  .sg-player-modern-v2228 .sg-injury-list>a>span:first-child img
){width:40px!important;height:40px!important;object-fit:cover!important}

/* Team: roster, season stats, metadata were made tiny by original modern UI. */
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-roster-list>a{
  min-height:73px!important;padding:11px 13px!important;gap:11px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-roster-photo{
  width:45px!important;height:45px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-roster-copy strong{
  font-size:13.5px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-roster-copy small{
  font-size:11.5px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-roster-list>a>b{font-size:12px!important}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-roster-group>h3{
  font-size:13px!important;min-height:40px!important;padding:12px 14px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-info-grid>div{
  min-height:62px!important;padding:14px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-info-grid small{
  font-size:11px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-info-grid strong{
  font-size:13px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-mini-stats>div,
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-stats-grid>div{
  padding:14px 9px!important;min-height:76px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-mini-stats strong,
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-stats-grid strong{
  font-size:19px!important;line-height:1.18!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-mini-stats span,
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-stats-grid span{
  font-size:11px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-rank strong{font-size:13px!important}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-rank small{font-size:11px!important}

/* Player data: analytics, info, career, match and recent form. */
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-info-list>div{
  min-height:89px!important;padding:14px!important;gap:8px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-info-list>div>span:first-child{
  font-size:11.5px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-info-list strong{
  font-size:14px!important;line-height:1.4!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-stat-tiles>div,
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-metric-grid>span{
  min-height:78px!important;padding:14px 10px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-stat-tiles strong,
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-metric-grid b{
  font-size:20px!important;line-height:1.18!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-stat-tiles span,
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-metric-grid small{
  font-size:11px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-stats-sections h3{
  min-height:42px!important;font-size:13px!important;padding:0 14px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-recent-item{
  min-height:70px!important;padding:12px 14px!important;gap:10px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-recent-opponent strong{
  font-size:13px!important;line-height:1.32!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-recent-opponent small,
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-match-date small{
  font-size:11px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-recent-numbers b,
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-match-performance b{
  font-size:11.5px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-match-app{
  min-height:100px!important;padding:14px!important;gap:12px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-match-date strong,
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-match-clubs strong{
  font-size:12.5px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-match-performance small{
  font-size:10.5px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-career-row{
  min-height:69px!important;padding:13px 15px!important;gap:12px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-career-row strong{
  font-size:13.5px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-career-row small{
  font-size:11.5px!important;line-height:1.35!important;
}

/* Context switches are now clearly readable for teams and players. */
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-team-modern-v2227 .sg-team-context-switch,
  .sg-player-modern-v2228 .sg-player-context-switch,
  .sg-player-modern-v2228 .sg-player-season-switcher
){
  margin-top:18px!important;padding:12px 14px!important;gap:11px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-team-modern-v2227 .sg-team-context-switch>span,
  .sg-player-modern-v2228 .sg-player-context-switch>span,
  .sg-player-modern-v2228 .sg-player-season-switcher>span
){font-size:11px!important;line-height:1.35!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-team-modern-v2227 .sg-team-context-switch a,
  .sg-player-modern-v2228 .sg-player-context-switch a,
  .sg-player-modern-v2228 .sg-player-season-switcher a
){min-height:38px!important;font-size:12px!important;padding:7px 11px!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-team-modern-v2227 .sg-team-context-switch a b,
  .sg-player-modern-v2228 .sg-player-context-switch a b
){font-size:12px!important}
html[data-sg-theme] body.sg-body .sg-main :is(
  .sg-team-modern-v2227 .sg-team-context-switch a small,
  .sg-player-modern-v2228 .sg-player-context-switch a small
){font-size:10.5px!important}

/* Mobile: preserve horizontal tab scrolling and avoid logos crowding actions. */
@media(max-width:760px){
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-competition-cover,
    .sg-team-modern-v2227 .sg-team-cover,
    .sg-player-modern-v2228 .sg-player-profile-hero
  ){
    min-height:110px!important;padding:16px 13px!important;gap:11px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-competition-profile-logo,
    .sg-team-modern-v2227 .sg-team-profile-logo
  ){
    width:65px!important;height:65px!important;
    min-width:65px!important;min-height:65px!important;
    max-width:65px!important;max-height:65px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-competition-profile-logo img,
    .sg-team-modern-v2227 .sg-team-profile-logo img
  ){
    width:51px!important;height:51px!important;
    max-width:51px!important;max-height:51px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-profile-photo{
    width:68px!important;height:68px!important;
    min-width:68px!important;min-height:68px!important;
    max-width:68px!important;max-height:68px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-competition-profile-copy h1,
    .sg-team-modern-v2227 .sg-team-profile-copy h1,
    .sg-player-modern-v2228 .sg-player-profile-copy h1
  ) {font-size:21px!important;line-height:1.2!important}
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-competition-profile-copy p,
    .sg-team-modern-v2227 .sg-team-profile-copy p,
    .sg-player-modern-v2228 .sg-player-profile-copy>p
  ) {font-size:11.5px!important}
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-profile-tabs,
    .sg-team-modern-v2227 .sg-profile-tabs,
    .sg-player-modern-v2228 .sg-profile-tabs
  ) {min-height:48px!important;height:48px!important;padding:0 12px!important;gap:3px!important;scroll-padding-inline:12px!important}
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-profile-tabs>a,
    .sg-team-modern-v2227 .sg-profile-tabs>a,
    .sg-player-modern-v2228 .sg-profile-tabs>a
  ){height:47px!important;font-size:12px!important;padding:0 11px!important}
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226,
    .sg-team-modern-v2227,
    .sg-player-modern-v2228
  ) > .sg-feed > :not(style):not(script) ~ :not(style):not(script){margin-top:14px!important}
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-follow-btn,
    .sg-team-modern-v2227 .sg-follow-btn,
    .sg-player-modern-v2228 .sg-follow-btn
  ){min-height:36px!important;height:36px!important;font-size:11px!important;padding:0 10px!important}
  html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-team-grid-competition .sg-team-tile{
    min-height:111px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-injury-list>a,
    .sg-team-modern-v2227 .sg-injury-list>a
  ) {padding:10px 11px!important;min-height:64px!important}
}
@media(max-width:430px){
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-competition-profile-main,
    .sg-team-modern-v2227 .sg-team-profile-main,
    .sg-player-modern-v2228 .sg-player-profile-main
  ){gap:10px!important}
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-competition-profile-logo,
    .sg-team-modern-v2227 .sg-team-profile-logo
  ){width:57px!important;height:57px!important;min-width:57px!important;max-width:57px!important;min-height:57px!important;max-height:57px!important}
  html[data-sg-theme] body.sg-body .sg-main :is(
    .sg-competition-modern-v2226 .sg-competition-profile-logo img,
    .sg-team-modern-v2227 .sg-team-profile-logo img
  ){width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important}
  html[data-sg-theme] body.sg-body .sg-main .sg-player-modern-v2228 .sg-player-profile-photo{
    width:57px!important;height:57px!important;min-width:57px!important;min-height:57px!important;max-width:57px!important;max-height:57px!important;
  }
}


/* =====================================================================
   SerieAGoal UI v0.59 — Calendario / Risultati: squadre e competizioni
   Legacy team timelines retained 7px-8px text and tiny 18px logos.
   Scope ONLY the fixture archives on single team/competition pages.
   Keep the original score / favorites / feature-rail grid geometry.
   ===================================================================== */

/* Section heading and explanatory metadata */
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive > .sg-card-title{
  min-height:62px!important;
  padding:15px 19px!important;
  gap:14px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive > .sg-card-title > span{
  font-size:16px!important;line-height:1.35!important;font-weight:850!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive > .sg-card-title > small{
  font-size:12px!important;line-height:1.35!important;
}

/* Group/date headers: long dates and fixture count */
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-fixture-archive .sg-team-fixture-day-head{
  min-height:51px!important;padding:11px 18px!important;gap:12px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-fixture-archive .sg-team-fixture-day-head strong{
  font-size:13.5px!important;line-height:1.35!important;font-weight:800!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-fixture-archive .sg-team-fixture-day-head small{
  font-size:11.5px!important;line-height:1.25!important;white-space:nowrap!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-fixture-archive .sg-fixture-round-title{
  min-height:49px!important;padding:12px 19px!important;gap:10px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-fixture-archive .sg-fixture-round-title strong{
  font-size:13.5px!important;line-height:1.3!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-fixture-archive .sg-fixture-date-title{
  min-height:47px!important;padding:10px 19px!important;gap:12px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-fixture-archive .sg-fixture-date-title span{
  font-size:13px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-fixture-archive .sg-fixture-date-title small{
  font-size:11.5px!important;line-height:1.35!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-fixture-archive .sg-next-round-badge{
  min-height:23px!important;font-size:10.5px!important;padding:3px 9px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-recovery-title strong{
  font-size:13.5px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-recovery-title small{
  font-size:11px!important;
}

/* Team fixtures: competition badge + name + round above each match.
   The badge is intentionally larger but stays in its existing lane. */
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-fixtures-global .sg-team-fixture-context{
  min-height:47px!important;padding:11px 17px 6px 75px!important;
  gap:10px!important;align-items:center!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-fixtures-global .sg-team-fixture-context>a,
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-fixtures-global .sg-team-fixture-context>span{
  gap:9px!important;min-width:0!important;flex:0 1 auto!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-fixtures-global .sg-team-fixture-context i{
  width:36px!important;height:36px!important;flex:0 0 36px!important;
  padding:4px!important;border-radius:10px!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-fixtures-global .sg-team-fixture-context img{
  width:100%!important;height:100%!important;object-fit:contain!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-fixtures-global .sg-team-fixture-context strong{
  font-size:12.5px!important;line-height:1.35!important;
  max-width:290px!important;font-weight:780!important;
}
html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-fixtures-global .sg-team-fixture-context small{
  font-size:11.5px!important;line-height:1.35!important;
  font-weight:600!important;
}

/* Shared match cells: only in team/competition fixture archive.
   No changes to grid columns of .sg-match-row or features rail. */
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-row-wrap > .sg-match-row{
  min-height:86px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link{
  padding-block:9px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link > .sg-match-teams{
  gap:6px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link > .sg-match-teams > div{
  grid-template-columns:30px minmax(0,1fr) 29px!important;
  min-height:30px!important;gap:10px!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link > .sg-match-teams img{
  width:28px!important;height:28px!important;object-fit:contain!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-team-name{
  font-size:14.5px!important;line-height:1.35!important;font-weight:750!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link > .sg-match-status{
  font-size:12px!important;line-height:1.25!important;
}
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link > .sg-match-teams b[data-sg-score-home],
html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link > .sg-match-teams b[data-sg-score-away]{
  font-size:15.5px!important;line-height:1.25!important;font-variant-numeric:tabular-nums!important;
}

/* Tablet/mobile: readable without crowding the reserved score and feature lanes. */
@media(max-width:760px){
  html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-fixture-archive .sg-team-fixture-day-head,
  html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-fixture-archive .sg-fixture-date-title{
    min-height:45px!important;padding:10px 12px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-fixture-archive .sg-team-fixture-day-head strong,
  html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-fixture-archive .sg-fixture-date-title span{
    font-size:12px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-fixture-archive .sg-team-fixture-day-head small,
  html[data-sg-theme] body.sg-body .sg-main .sg-competition-modern-v2226 .sg-fixture-archive .sg-fixture-date-title small{
    font-size:10.5px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-fixtures-global .sg-team-fixture-context{
    padding:8px 10px 4px 50px!important;min-height:43px!important;gap:7px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-fixtures-global .sg-team-fixture-context i{
    width:29px!important;height:29px!important;flex-basis:29px!important;padding:4px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-fixtures-global .sg-team-fixture-context strong{
    font-size:11px!important;max-width:155px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-team-modern-v2227 .sg-team-fixtures-global .sg-team-fixture-context small{
    font-size:10px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-row-wrap > .sg-match-row{
    min-height:73px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link > .sg-match-teams > div{
    grid-template-columns:25px minmax(0,1fr) 23px!important;min-height:26px!important;gap:6px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link > .sg-match-teams img{
    width:24px!important;height:24px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-team-name{
    font-size:12px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link > .sg-match-status{
    font-size:10px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link > .sg-match-teams b[data-sg-score-home],
  html[data-sg-theme] body.sg-body .sg-main :is(.sg-team-modern-v2227,.sg-competition-modern-v2226) .sg-fixture-archive .sg-match-main-link > .sg-match-teams b[data-sg-score-away]{
    font-size:13px!important;
  }
}


/* ================================================================
   SerieAGoal UI 0.60 – HOME / Partite: dimensions match the readable
   Team / Competition calendar of 0.59 (only home league match rows).
   No fixture structure, time/score lane or feature-rail changes.
   ================================================================ */
@media (min-width: 761px){
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-row-wrap > .sg-match-row{
    min-height:86px!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link{
    padding-block:9px!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams{
    gap:6px!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams > div{
    grid-template-columns:30px minmax(0,1fr) 29px!important;
    min-height:30px!important;
    gap:10px!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams img{
    width:28px!important;height:28px!important;object-fit:contain!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link .sg-match-team-name{
    font-size:14.5px!important;line-height:1.35!important;font-weight:500!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-status,
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-status span{
    font-size:12px!important;line-height:1.25!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams b[data-sg-score-home],
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams b[data-sg-score-away]{
    font-size:15.5px!important;line-height:1.25!important;
    font-variant-numeric:tabular-nums!important;
  }
}
/* Mobile is more restrained to keep time, team names and the icon rail legible. */
@media (max-width: 760px){
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-row-wrap > .sg-match-row{
    min-height:73px!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams{
    gap:4px!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams > div{
    grid-template-columns:25px minmax(0,1fr) 23px!important;
    min-height:26px!important;gap:6px!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams img{
    width:24px!important;height:24px!important;object-fit:contain!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link .sg-match-team-name{
    font-size:12px!important;line-height:1.3!important;font-weight:500!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-status,
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-status span{
    font-size:10px!important;line-height:1.2!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams b[data-sg-score-home],
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams b[data-sg-score-away]{
    font-size:13px!important;
  }
}
@media (max-width: 380px){
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams > div{
    grid-template-columns:22px minmax(0,1fr) 21px!important;gap:5px!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams img{
    width:21px!important;height:21px!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link .sg-match-team-name{
    font-size:11.5px!important;
  }
}


/* SG UI 0.61 – Only the leader / winner is bold in Home fixtures.
   Uses the existing is-leading class computed from real scores in sg_match_row().
   Never infer a winner from scheduled or drawn fixtures. */
html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams > div .sg-match-team-name{
  font-weight:500!important;
}
html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-league-card .sg-match-main-link > .sg-match-teams > div.is-leading .sg-match-team-name{
  font-weight:800!important;
}


/* ===============================================================
   SG UI 0.62 — Home Partite / filtri più leggibili
   Override specifico delle regole legacy a 28px, 9.5px, 8.5px.
   Non modifica date nav, squadre, risultati, layout o altre pagine.
   =============================================================== */
html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    min-height:44px!important;
    margin:4px 0 14px!important;
    padding:0 0 2px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
}
html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters::-webkit-scrollbar{
    display:none!important;
}
html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters > a.sg-pill{
    flex:0 0 auto!important;
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    height:42px!important;
    min-height:42px!important;
    padding:0 15px!important;
    gap:8px!important;
    border-radius:10px!important;
    font-family:"Manrope",Inter,system-ui,sans-serif!important;
    font-size:13.5px!important;
    font-weight:700!important;
    line-height:1.2!important;
    letter-spacing:-.012em!important;
    white-space:nowrap!important;
    text-decoration:none!important;
}
html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters > a.sg-pill > b{
    font-size:12px!important;
    line-height:1.1!important;
    font-weight:800!important;
    font-variant-numeric:tabular-nums!important;
    opacity:.88!important;
}
html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters > a.sg-pill .sg-svg,
html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters > a.sg-pill > svg{
    width:17px!important;
    height:17px!important;
    flex:0 0 17px!important;
}
html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters > a.sg-live-pill > i{
    width:8px!important;
    height:8px!important;
    flex:0 0 8px!important;
}
/* Allinea il pulsante audio senza comprometterne lo stato/JS. */
html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters > .sg-goal-sound-toggle{
    flex:0 0 42px!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    border-radius:10px!important;
    margin-left:auto!important;
}
html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters > .sg-goal-sound-toggle .sg-svg{
    width:19px!important;
    height:19px!important;
}
@media (max-width:760px){
    html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters{
        gap:7px!important;
        min-height:42px!important;
        margin:5px 0 12px!important;
    }
    html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters > a.sg-pill{
        min-height:40px!important;
        height:40px!important;
        padding:0 12px!important;
        font-size:12.5px!important;
        gap:6px!important;
    }
    html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters > a.sg-pill > b{
        font-size:11.5px!important;
    }
    html[data-sg-theme] body.sg-body.sg-page-home .sg-main .sg-home-score-filters > .sg-goal-sound-toggle{
        position:sticky!important;
        right:0!important;
        z-index:3!important;
        flex-basis:40px!important;
        min-width:40px!important;
        width:40px!important;
        height:40px!important;
        min-height:40px!important;
    }
}


/* SG UI 0.63 — signed AI-only availability badge, without private content. */
/* Keep a prematch prediction badge visible in historical finished rows;
   live refresh marks their feature rails disabled for non-prediction tools. */
html[data-sg-theme] body.sg-body .sg-match-feature-zone.is-disabled:has(.is-prediction) .sg-match-features{
  display:flex!important;
}

html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(.sg-match-ai-cta){
  display:flex!important;flex-wrap:wrap!important;align-content:center!important;
  justify-content:flex-start!important;gap:3px!important;
}
html[data-sg-theme] body.sg-body .sg-match-ai-cta{
  box-sizing:border-box!important;display:inline-flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;gap:3px!important;
  width:91px!important;max-width:100%!important;min-width:0!important;
  min-height:46px!important;padding:5px 6px!important;
  border:1px solid rgba(56,159,208,.55)!important;border-radius:10px!important;
  background:rgba(56,159,208,.075)!important;color:var(--sg-text)!important;
  text-decoration:none!important;box-shadow:none!important;line-height:1.1!important;
}
html[data-sg-theme] body.sg-body .sg-match-ai-cta .sg-match-ai-label{
  color:#258dbb!important;font:800 9px/1.15 "Manrope",system-ui,sans-serif!important;
  letter-spacing:.055em!important;white-space:nowrap!important;
}
html[data-sg-theme] body.sg-body .sg-match-ai-cta .sg-match-ai-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
  width:100%!important;padding:4px 2px!important;border-radius:6px!important;
  color:var(--sg-text)!important;font:800 10px/1.2 "Manrope",system-ui,sans-serif!important;
  background:rgba(56,159,208,.1)!important;white-space:nowrap!important;
}
html[data-sg-theme] body.sg-body .sg-match-ai-cta .sg-svg{
  width:13px!important;height:13px!important;flex:0 0 13px!important;
}
html[data-sg-theme] body.sg-body .sg-match-ai-cta:hover,
html[data-sg-theme] body.sg-body .sg-match-ai-cta:focus-visible{
  border-color:#389fd0!important;box-shadow:0 0 0 2px rgba(56,159,208,.18)!important;
  text-decoration:none!important;
}
html[data-sg-theme="dark"] body.sg-body .sg-match-ai-cta .sg-match-ai-label{
  color:#8bd8ff!important;
}
html[data-sg-theme="light"] body.sg-body .sg-match-ai-cta .sg-match-ai-button{
  background:rgba(18,96,142,.09)!important;
}
@media(max-width:760px){
 html[data-sg-theme] body.sg-body .sg-match-ai-cta{width:76px!important;min-height:36px!important;padding:3px 2px!important;border-radius:8px!important}
 html[data-sg-theme] body.sg-body .sg-match-ai-cta .sg-match-ai-label{font-size:8px!important;letter-spacing:0!important}
 html[data-sg-theme] body.sg-body .sg-match-ai-cta .sg-match-ai-button{font-size:8.5px!important;padding:3px 0!important;gap:3px!important}
 html[data-sg-theme] body.sg-body .sg-match-ai-cta .sg-svg{width:11px!important;height:11px!important;flex-basis:11px!important}
}


/* SG UI v0.64 | AI prediction badge coexists with lineup / TV / radio.
 * The feature strip is sized by the available features; never suppress
 * lineup nor cover team names/scores. Only AI-present rows are touched.
 */
@media (min-width: 981px){
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta){
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:5px!important;
    width:max-content!important;
    max-width:none!important;
  }
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features>.sg-match-ai-cta{
    flex:0 0 91px!important;
  }
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta)>.sg-match-feature{
    flex:0 0 22px!important;
  }
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta)>.sg-match-feature.is-radio{
    flex-basis:auto!important;
  }
}
/* Tablet: preserve horizontal order but allow a second line when needed. */
@media (min-width: 761px) and (max-width: 980px){
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta){
    display:flex!important;
    flex-flow:row wrap!important;
    justify-content:center!important;
    align-content:center!important;
    gap:4px!important;
    width:110px!important;
  }
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features>.sg-match-ai-cta{
    flex:0 0 91px!important;
  }
}
/* Phone: one compact AI badge above the available extra icons. No overlaps
   even when lineup, TV and radio all exist simultaneously. */
@media (max-width:760px){
  html[data-sg-theme] body.sg-body .sg-match-feature-zone:has(.sg-match-ai-cta){
    align-items:center!important;
    align-self:stretch!important;
    min-width:0!important;
    padding:6px 3px 6px 5px!important;
  }
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta){
    display:grid!important;
    grid-template-columns:repeat(3, 22px)!important;
    grid-auto-flow:row!important;
    grid-auto-rows:min-content!important;
    align-content:center!important;
    align-items:center!important;
    justify-items:center!important;
    justify-content:center!important;
    gap:4px 2px!important;
    width:80px!important;
    min-width:80px!important;
    max-width:80px!important;
  }
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features>.sg-match-ai-cta{
    grid-column:1 / -1!important;
    justify-self:center!important;
    width:78px!important;
    max-width:78px!important;
    min-height:37px!important;
  }
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta)>.sg-match-feature{
    min-width:22px!important;
    width:22px!important;
    min-height:22px!important;
    height:22px!important;
    justify-self:center!important;
  }
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta)>.sg-match-feature .sg-svg{
    width:15px!important;
    height:15px!important;
  }
}


/* SG UI v0.75 | Fix verificato sul foglio ATTIVO v064.
   Icone formazioni/TV/radio nel rail della partita, sotto il badge AI.
   Colore ufficiale blu Chelsea #034694 senza gradiente in entrambi i temi.
   Non modifica i contenuti Free/Premium o i dati di partita. */

/* Il CSS v064 forzava row nowrap + width:max-content per le gare Premium.
   Con la CTA larga 91px l'icona formazioni finiva fuori dalla colonna 118px.
   Una griglia a due livelli mantiene tutti i link accessibili senza allargare
   la colonna e senza togliere spazio a nomi/scores. */
html[data-sg-theme] body.sg-body .sg-match-feature-zone:has(>.sg-match-features .sg-match-ai-cta){
  overflow:visible!important;
}
html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta){
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,24px))!important;
  grid-template-rows:auto!important;
  grid-auto-rows:min-content!important;
  grid-auto-flow:row!important;
  align-content:center!important;
  align-items:center!important;
  justify-content:center!important;
  justify-items:center!important;
  column-gap:3px!important;
  row-gap:4px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
}
html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features>.sg-match-ai-cta{
  grid-column:1/-1!important;
  grid-row:auto!important;
  justify-self:center!important;
  width:91px!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  flex:none!important;
}
html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta)>.sg-match-feature{
  grid-column:auto!important;
  grid-row:auto!important;
  position:relative!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  justify-self:center!important;
  align-self:center!important;
  width:23px!important;
  min-width:23px!important;
  height:23px!important;
  min-height:23px!important;
  padding:2px!important;
  border:1px solid var(--sg-line)!important;
  border-radius:6px!important;
  background:var(--sg-surface-2)!important;
  color:var(--sg-muted)!important;
  box-sizing:border-box!important;
}
html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta)>.sg-match-feature .sg-svg{
  width:15px!important;
  height:15px!important;
  flex:none!important;
}
html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta)>.sg-match-feature:is(:hover,:focus-visible){
  color:var(--sg-accent)!important;
  border-color:var(--sg-accent)!important;
}
@media(max-width:760px){
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta){
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    grid-template-columns:repeat(3,minmax(0,22px))!important;
    column-gap:2px!important;
    row-gap:3px!important;
  }
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features>.sg-match-ai-cta{
    width:76px!important;
    max-width:100%!important;
    min-height:36px!important;
  }
  html[data-sg-theme] body.sg-body .sg-match-feature-zone .sg-match-features:has(>.sg-match-ai-cta)>.sg-match-feature{
    width:22px!important;
    min-width:22px!important;
    height:22px!important;
    min-height:22px!important;
  }
}

/* Identità Chelsea: il vecchio blu petrolio e il suo gradiente spariscono.
   Il tono resta uniforme anche sotto il tema notte. */
:root{
  --sg-header:#034694;
  --sg-header-modern:#034694;
  --sg-header-modern-hover:#023775;
  --sg-header-modern-text:#ffffff;
  --sg-header-modern-accent:#dbeaff;
}
html[data-sg-theme] body.sg-body .sg-topbar,
.sg-topbar,
.sg-topbar.sg-secondary-topbar{
  background:#034694!important;
  background-image:none!important;
  color:#fff!important;
  border-bottom-color:rgba(255,255,255,.18)!important;
  box-shadow:0 2px 10px rgba(1,27,66,.16)!important;
}
html[data-sg-theme] body.sg-body .sg-sportbar,
html[data-sg-theme] body.sg-body .sg-contextbar,
.sg-sportbar,
.sg-sportbar.sg-contextbar,
html[data-sg-theme="dark"] .sg-contextbar,
html[data-sg-theme="light"] .sg-contextbar{
  background:#034694!important;
  background-image:none!important;
  color:#fff!important;
}
