/*
 * StileJuventus.com — V9.404
 * Correzione chirurgica di hover e contrasto.
 * Sostituisce la versione troppo estesa della V9.403.
 */

/* Il contenuto interno di un vero pulsante mantiene il colore del pulsante. */
html[data-slr-theme] body.slr-site button:is(:hover,:focus-visible) :is(span,strong,b,i,em,small),
html[data-slr-theme] body.admin-shell :is(button,.button):is(:hover,:focus-visible) :is(span,strong,b,i,em,small){
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
}

/* --------------------------------------------------------------------------
   Titoli ed excerpt: la card può cambiare superficie, il testo non cambia
   famiglia cromatica. Nessun excerpt rosso/giallo e nessun titolo bianco nel
   tema Giorno.
   -------------------------------------------------------------------------- */
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post,.slr-news-archive-card,.slr-news-category-card,
  .slr-news-series-card,.slr-match-related-card,.slr-article-related-card,
  .slr-social-explore-post,.slr-social-explore-result
) :is(h2,h3,h4,h2 a,h3 a,h4 a){
  color:#0f1419!important;
  -webkit-text-fill-color:#0f1419!important;
}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post,.slr-news-archive-card,.slr-news-category-card,
  .slr-news-series-card,.slr-match-related-card,.slr-article-related-card,
  .slr-social-explore-post,.slr-social-explore-result
) :is(h2,h3,h4,h2 a,h3 a,h4 a){
  color:#eff3f4!important;
  -webkit-text-fill-color:#eff3f4!important;
}
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post-content,.slr-news-archive-card,.slr-news-category-card,
  .slr-news-series-card,.slr-match-related-card,.slr-article-related-card,
  .slr-social-explore-post-copy,.slr-social-explore-result-copy
) > p,
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(
  .slr-news-archive-card,.slr-news-category-card,.slr-news-series-card,
  .slr-match-related-card,.slr-article-related-card
) p{
  color:#3f4850!important;
  -webkit-text-fill-color:#3f4850!important;
}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post-content,.slr-news-archive-card,.slr-news-category-card,
  .slr-news-series-card,.slr-match-related-card,.slr-article-related-card,
  .slr-social-explore-post-copy,.slr-social-explore-result-copy
) > p,
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(
  .slr-news-archive-card,.slr-news-category-card,.slr-news-series-card,
  .slr-match-related-card,.slr-article-related-card
) p{
  color:#c9ced3!important;
  -webkit-text-fill-color:#c9ced3!important;
}
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post,.slr-news-archive-card,.slr-news-category-card,
  .slr-news-series-card,.slr-match-related-card,.slr-article-related-card,
  .slr-social-explore-post,.slr-social-explore-result
):is(:hover,:focus-within) :is(h2,h3,h4,h2 a,h3 a,h4 a){
  color:#0f1419!important;
  -webkit-text-fill-color:#0f1419!important;
}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post,.slr-news-archive-card,.slr-news-category-card,
  .slr-news-series-card,.slr-match-related-card,.slr-article-related-card,
  .slr-social-explore-post,.slr-social-explore-result
):is(:hover,:focus-within) :is(h2,h3,h4,h2 a,h3 a,h4 a){
  color:#eff3f4!important;
  -webkit-text-fill-color:#eff3f4!important;
}
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post,.slr-news-archive-card,.slr-news-category-card,
  .slr-news-series-card,.slr-match-related-card,.slr-article-related-card,
  .slr-social-explore-post,.slr-social-explore-result
):is(:hover,:focus-within) :is(.slr-social-post-content,.slr-social-explore-post-copy,.slr-social-explore-result-copy) > p,
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(
  .slr-news-archive-card,.slr-news-category-card,.slr-news-series-card,
  .slr-match-related-card,.slr-article-related-card
):is(:hover,:focus-within) p{
  color:#3f4850!important;
  -webkit-text-fill-color:#3f4850!important;
}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post,.slr-news-archive-card,.slr-news-category-card,
  .slr-news-series-card,.slr-match-related-card,.slr-article-related-card,
  .slr-social-explore-post,.slr-social-explore-result
):is(:hover,:focus-within) :is(.slr-social-post-content,.slr-social-explore-post-copy,.slr-social-explore-result-copy) > p,
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(
  .slr-news-archive-card,.slr-news-category-card,.slr-news-series-card,
  .slr-match-related-card,.slr-article-related-card
):is(:hover,:focus-within) p{
  color:#c9ced3!important;
  -webkit-text-fill-color:#c9ced3!important;
}

/* Nomi e link persona: hover tramite sottolineatura, mai tramite testo bianco. */
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post-author-link,.slr-social-inline-follow-person,
  .slr-social-player-profile-link,.slr-social-side-player-link,
  .slr-squad-member-main,.slr-editorial-director-link,
  .slr-social-explore-person-top>a:first-child,.slr-social-follow-person
) :is(strong,h1,h2,h3){
  color:#0f1419!important;
  -webkit-text-fill-color:#0f1419!important;
}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post-author-link,.slr-social-inline-follow-person,
  .slr-social-player-profile-link,.slr-social-side-player-link,
  .slr-squad-member-main,.slr-editorial-director-link,
  .slr-social-explore-person-top>a:first-child,.slr-social-follow-person
) :is(strong,h1,h2,h3){
  color:#eff3f4!important;
  -webkit-text-fill-color:#eff3f4!important;
}
html[data-slr-theme] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post-author-link,.slr-social-inline-follow-person,
  .slr-social-player-profile-link,.slr-social-side-player-link,
  .slr-squad-member-main,.slr-editorial-director-link,
  .slr-social-explore-person-top>a:first-child,.slr-social-follow-person
):is(:hover,:focus-visible) :is(strong,h1,h2,h3){
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:2px!important;
}

/* Link di titoli e card: l'hover non cambia il colore, aggiunge solo feedback. */
html[data-slr-theme] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-post,.slr-news-archive-card,.slr-news-category-card,
  .slr-news-series-card,.slr-match-related-card,.slr-article-related-card,
  .slr-social-explore-post,.slr-social-explore-result
) :is(h2,h3,h4) a:is(:hover,:focus-visible){
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
}

/* Pulsanti Segui: contrasto completo. Le card e i cerchi della Rosa non sono
   toccati: recuperano integralmente il disegno originale. */
html[data-slr-theme="light"] body.slr-site :is(
  button[data-player-follow],button[data-squad-follow],button[data-social-follow-user],
  .slr-author-follow-profile,.slr-social-inline-follow-login,
  .slr-social-side-follow-login,.slr-social-explore-person-login,
  .slr-editorial-follow-login
):not(:disabled):not(.is-following):not([aria-pressed="true"]){
  border-color:#0f1419!important;
  background:#0f1419!important;
  background-color:#0f1419!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  filter:none!important;
}
html[data-slr-theme="light"] body.slr-site :is(
  button[data-player-follow],button[data-squad-follow],button[data-social-follow-user],
  .slr-author-follow-profile,.slr-social-inline-follow-login,
  .slr-social-side-follow-login,.slr-social-explore-person-login,
  .slr-editorial-follow-login
):not(:disabled):not(.is-following):not([aria-pressed="true"]):is(:hover,:focus-visible){
  border-color:#292e33!important;
  background:#292e33!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html[data-slr-theme="dark"] body.slr-site :is(
  button[data-player-follow],button[data-squad-follow],button[data-social-follow-user],
  .slr-author-follow-profile,.slr-social-inline-follow-login,
  .slr-social-side-follow-login,.slr-social-explore-person-login,
  .slr-editorial-follow-login
):not(:disabled):not(.is-following):not([aria-pressed="true"]){
  border-color:#f1f3f4!important;
  background:#f1f3f4!important;
  background-color:#f1f3f4!important;
  color:#111418!important;
  -webkit-text-fill-color:#111418!important;
  opacity:1!important;
  filter:none!important;
}
html[data-slr-theme="dark"] body.slr-site :is(
  button[data-player-follow],button[data-squad-follow],button[data-social-follow-user],
  .slr-author-follow-profile,.slr-social-inline-follow-login,
  .slr-social-side-follow-login,.slr-social-explore-person-login,
  .slr-editorial-follow-login
):not(:disabled):not(.is-following):not([aria-pressed="true"]):is(:hover,:focus-visible){
  border-color:#f0b51d!important;
  background:#f0b51d!important;
  color:#171006!important;
  -webkit-text-fill-color:#171006!important;
}
html[data-slr-theme] body.slr-site :is(
  button[data-player-follow],button[data-squad-follow],button[data-social-follow-user],
  .slr-author-follow-profile,.slr-social-inline-follow-login,
  .slr-social-side-follow-login,.slr-social-explore-person-login,
  .slr-editorial-follow-login
) :is(span,i,b,strong,small){
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
}

/* Stato già seguito: neutro, leggibile e senza testo che scompare. */
html[data-slr-theme="light"] body.slr-site :is(
  button[data-player-follow],button[data-squad-follow],button[data-social-follow-user],
  .slr-author-follow-profile
):is(.is-following,[aria-pressed="true"]):not(:disabled){
  border-color:#6b747d!important;
  background:#fff!important;
  color:#0f1419!important;
  -webkit-text-fill-color:#0f1419!important;
  opacity:1!important;
}
html[data-slr-theme="light"] body.slr-site :is(
  button[data-player-follow],button[data-squad-follow],button[data-social-follow-user],
  .slr-author-follow-profile
):is(.is-following,[aria-pressed="true"]):not(:disabled):is(:hover,:focus-visible){
  border-color:#0f1419!important;
  background:#eef1f3!important;
  color:#0f1419!important;
  -webkit-text-fill-color:#0f1419!important;
}
html[data-slr-theme="dark"] body.slr-site :is(
  button[data-player-follow],button[data-squad-follow],button[data-social-follow-user],
  .slr-author-follow-profile
):is(.is-following,[aria-pressed="true"]):not(:disabled){
  border-color:#59616a!important;
  background:#101316!important;
  color:#eff3f4!important;
  -webkit-text-fill-color:#eff3f4!important;
  opacity:1!important;
}
html[data-slr-theme="dark"] body.slr-site :is(
  button[data-player-follow],button[data-squad-follow],button[data-social-follow-user],
  .slr-author-follow-profile
):is(.is-following,[aria-pressed="true"]):not(:disabled):is(:hover,:focus-visible){
  border-color:#f0b51d!important;
  background:#211d12!important;
  color:#f0b51d!important;
  -webkit-text-fill-color:#f0b51d!important;
}

/* Nessuna regola qui per:
   - Legal/Centro assistenza e footer
   - pagina Notifiche
   - azioni sotto post/articoli
   - popup Esci/account
   - Match Center e campo formazioni
   - Rosa e cerchi giocatori
   - cover profili
   Questi componenti tornano quindi esattamente ai fogli originali V9.401. */

@media (prefers-reduced-motion:reduce){
  html[data-slr-theme] body.slr-site :is(button,a){transition:none!important}
}
