/*
 * StileJuventus — SJ5 / Monochrome Brand System
 * ---------------------------------------------------------------
 * Obiettivo: mantenere intatto il motore SoloLaRoma ma rimuovere
 * gli accenti giallorossi dall'identità visuale di StileJuventus.
 *
 * Giorno: bianco, nero, grigi neutri.
 * Notte: nero, bianco, grigi neutri.
 * Colori funzionali (errori, successo, verificato, LIVE, cartellini)
 * restano disponibili quando hanno valore semantico.
 */

:root{
  --slr-brand-red:#111111!important;
  --slr-brand-red-dark:#000000!important;
  --slr-brand-red-bright:#2b2b2b!important;
  --slr-red:#111111!important;
  --slr-yellow:#111111!important;
  --slr-orange:#333333!important;
  --slr-min-accent:#111111!important;
}

/* =========================
   PALETTE GIORNO
   ========================= */
html[data-slr-theme="light"] body.slr-site,
html:not([data-slr-theme="dark"]) body.slr-site{
  --slr-bg:#ffffff!important;
  --slr-surface:#ffffff!important;
  --slr-surface-2:#f6f6f6!important;
  --slr-paper:#ffffff!important;
  --slr-text:#0a0a0a!important;
  --slr-muted:#64686d!important;
  --slr-line:#e2e2e2!important;
  --slr-red:#111111!important;
  --slr-yellow:#111111!important;
  --slr-orange:#333333!important;
  --slr-brand-red:#111111!important;
  --slr-brand-red-dark:#000000!important;
  --slr-brand-red-bright:#333333!important;
  --slr-social-card:#ffffff!important;
  --slr-social-soft:#f6f6f6!important;
  --slr-social-muted:#687078!important;
  --slr-social-line:#e5e5e5!important;
  --slr-social-line-strong:#cfcfcf!important;
  --slr-social-yellow:#111111!important;
  --slr-social-red:#111111!important;
  --slr-min-bg:#ffffff!important;
  --slr-min-surface:#ffffff!important;
  --slr-min-soft:#f5f5f5!important;
  --slr-min-hover:#f0f0f0!important;
  --slr-min-text:#0a0a0a!important;
  --slr-min-muted:#61666b!important;
  --slr-min-line:#dddddd!important;
  --slr-min-accent:#111111!important;
  --slr-min-primary:#111111!important;
  --slr-min-primary-hover:#303030!important;
  --slr-min-primary-text:#ffffff!important;
  --slr-settings-accent:#111111!important;
  --slr-help-accent:#111111!important;
  --slr-help-accent-hover:#333333!important;
  --slr-help-link:#111111!important;
  --slr-news-accent:#111111!important;
  --slr-news-burgundy:#111111!important;
  --slr-ui-accent:#111111!important;
}

/* =========================
   PALETTE NOTTE
   ========================= */
html[data-slr-theme="dark"] body.slr-site{
  --slr-bg:#000000!important;
  --slr-surface:#000000!important;
  --slr-surface-2:#0d0d0d!important;
  --slr-paper:#0a0a0a!important;
  --slr-text:#f5f5f5!important;
  --slr-muted:#9a9da1!important;
  --slr-line:#252525!important;
  --slr-red:#f5f5f5!important;
  --slr-yellow:#f5f5f5!important;
  --slr-orange:#d7d7d7!important;
  --slr-brand-red:#f5f5f5!important;
  --slr-brand-red-dark:#ffffff!important;
  --slr-brand-red-bright:#d7d7d7!important;
  --slr-social-card:#090909!important;
  --slr-social-soft:#111111!important;
  --slr-social-muted:#979b9f!important;
  --slr-social-line:#242424!important;
  --slr-social-line-strong:#3b3b3b!important;
  --slr-social-yellow:#f5f5f5!important;
  --slr-social-red:#f5f5f5!important;
  --slr-min-bg:#000000!important;
  --slr-min-surface:#000000!important;
  --slr-min-soft:#101010!important;
  --slr-min-hover:#181818!important;
  --slr-min-text:#f5f5f5!important;
  --slr-min-muted:#9b9ea2!important;
  --slr-min-line:#2a2a2a!important;
  --slr-min-accent:#f5f5f5!important;
  --slr-min-primary:#f5f5f5!important;
  --slr-min-primary-hover:#d8d8d8!important;
  --slr-min-primary-text:#050505!important;
  --slr-settings-accent:#f5f5f5!important;
  --slr-help-accent:#f5f5f5!important;
  --slr-help-accent-hover:#ffffff!important;
  --slr-help-link:#f5f5f5!important;
  --slr-news-accent:#f5f5f5!important;
  --slr-news-burgundy:#f5f5f5!important;
  --slr-ui-accent:#f5f5f5!important;
}

/* Il social shell aveva una palette scura hardcoded: ora rispetta davvero Giorno/Notte. */
html[data-slr-theme="light"] body.slr-home-social{background:#fff!important;color:#0a0a0a!important}
html[data-slr-theme="dark"] body.slr-home-social{background:#000!important;color:#f5f5f5!important}

/* Header/rail/menu: nessun nero forzato nel Giorno. */
html[data-slr-theme="light"] body.slr-site :is(.slr-desktop-rail,.slr-header,.slr-hero-utility){background:#fff!important;color:#0a0a0a!important;border-color:#e2e2e2!important}
html[data-slr-theme="dark"] body.slr-site :is(.slr-desktop-rail,.slr-header,.slr-hero-utility){background:#000!important;color:#f5f5f5!important;border-color:#252525!important}

/* Ribbon e bande editoriali: solo bianco/nero, niente bordeaux/oro. */
html[data-slr-theme="light"] body.slr-site .slr-score-ribbon{background:#fff!important;color:#0a0a0a!important;border-bottom:1px solid #e2e2e2!important}
html[data-slr-theme="dark"] body.slr-site .slr-score-ribbon{background:#000!important;color:#f5f5f5!important;border-bottom:1px solid #252525!important}
body.slr-site .slr-ribbon-brand{color:inherit!important;-webkit-text-fill-color:inherit!important}

/* Logo remoto temporaneo: neutro e senza trattamento cromatico Roma. */
body.slr-site .slr-social-brand img{object-fit:contain;border-radius:10px;filter:none!important}
html[data-slr-theme="light"] body.slr-site .slr-social-brand img{background:#fff!important}
html[data-slr-theme="dark"] body.slr-site .slr-social-brand img{background:#000!important}

/* =========================
   CTA PRIMARIE
   ========================= */
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-primary-action,
  .slr-post-composer-submit button,
  .slr-home-inline-composer-submit,
  .slr-social-auth-submit,
  .slr-settings-form-actions button[type="submit"],
  .slr-settings-primary-link,
  .slr-fan-club-primary,
  .slr-fan-club-header-action,
  .slr-fan-club-search button,
  .slr-support-form-card button[type="submit"],
  .slr-collabora-form button[type="submit"],
  .slr-social-submit-form button[type="submit"],
  .slr-comment-submit,
  .slr-post-edit-save,
  .slr-ai-send,
  [data-comment-submit],[data-social-composer-submit],[data-home-inline-submit]
){background:#111!important;background-color:#111!important;background-image:none!important;border-color:#111!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important}
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-primary-action,.slr-post-composer-submit button,.slr-home-inline-composer-submit,
  .slr-social-auth-submit,.slr-settings-form-actions button[type="submit"],.slr-settings-primary-link,
  .slr-fan-club-primary,.slr-fan-club-header-action,.slr-fan-club-search button,
  .slr-support-form-card button[type="submit"],.slr-collabora-form button[type="submit"],
  .slr-social-submit-form button[type="submit"],.slr-comment-submit,.slr-post-edit-save,.slr-ai-send,
  [data-comment-submit],[data-social-composer-submit],[data-home-inline-submit]
):not(:disabled):is(:hover,:focus-visible){background:#333!important;background-color:#333!important;border-color:#333!important;color:#fff!important;-webkit-text-fill-color:#fff!important}

html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-primary-action,
  .slr-post-composer-submit button,
  .slr-home-inline-composer-submit,
  .slr-social-auth-submit,
  .slr-settings-form-actions button[type="submit"],
  .slr-settings-primary-link,
  .slr-fan-club-primary,
  .slr-fan-club-header-action,
  .slr-fan-club-search button,
  .slr-support-form-card button[type="submit"],
  .slr-collabora-form button[type="submit"],
  .slr-social-submit-form button[type="submit"],
  .slr-comment-submit,
  .slr-post-edit-save,
  .slr-ai-send,
  [data-comment-submit],[data-social-composer-submit],[data-home-inline-submit]
){background:#f5f5f5!important;background-color:#f5f5f5!important;background-image:none!important;border-color:#f5f5f5!important;color:#050505!important;-webkit-text-fill-color:#050505!important;box-shadow:none!important}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-primary-action,.slr-post-composer-submit button,.slr-home-inline-composer-submit,
  .slr-social-auth-submit,.slr-settings-form-actions button[type="submit"],.slr-settings-primary-link,
  .slr-fan-club-primary,.slr-fan-club-header-action,.slr-fan-club-search button,
  .slr-support-form-card button[type="submit"],.slr-collabora-form button[type="submit"],
  .slr-social-submit-form button[type="submit"],.slr-comment-submit,.slr-post-edit-save,.slr-ai-send,
  [data-comment-submit],[data-social-composer-submit],[data-home-inline-submit]
):not(:disabled):is(:hover,:focus-visible){background:#d7d7d7!important;background-color:#d7d7d7!important;border-color:#d7d7d7!important;color:#050505!important;-webkit-text-fill-color:#050505!important}

/* =========================
   NAVIGAZIONE / TAB
   ========================= */
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-nav,.slr-social-mobile-nav,.slr-social-feed-tabs,.slr-social-explore-tabs,
  .slr-social-match-tabs,.slr-player-profile-tabs,.slr-author-profile-tabs,
  .slr-market-tabs,.slr-match-side-tabs,.slr-match-mobile-tabs,.slr-social-match-months,
  .slr-roma-team-switch,.slr-social-following-tabs
) :is(.is-active,[aria-current="page"],[aria-selected="true"]){color:#0a0a0a!important;-webkit-text-fill-color:#0a0a0a!important;border-color:#0a0a0a!important}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(
  .slr-social-nav,.slr-social-mobile-nav,.slr-social-feed-tabs,.slr-social-explore-tabs,
  .slr-social-match-tabs,.slr-player-profile-tabs,.slr-author-profile-tabs,
  .slr-market-tabs,.slr-match-side-tabs,.slr-match-mobile-tabs,.slr-social-match-months,
  .slr-roma-team-switch,.slr-social-following-tabs
) :is(.is-active,[aria-current="page"],[aria-selected="true"]){color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important;border-color:#f5f5f5!important}
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(.slr-social-feed-tabs,.slr-social-explore-tabs,.slr-social-match-tabs,.slr-player-profile-tabs,.slr-author-profile-tabs,.slr-market-tabs) :is(.is-active,[aria-current="page"],[aria-selected="true"])::after{background:#111!important}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(.slr-social-feed-tabs,.slr-social-explore-tabs,.slr-social-match-tabs,.slr-player-profile-tabs,.slr-author-profile-tabs,.slr-market-tabs) :is(.is-active,[aria-current="page"],[aria-selected="true"])::after{background:#f5f5f5!important}

html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(.slr-social-nav,.slr-social-mobile-nav,.slr-social-feed-tabs,.slr-social-explore-tabs,.slr-social-match-tabs,.slr-player-profile-tabs,.slr-author-profile-tabs,.slr-market-tabs,.slr-roma-team-switch) :is(a,button):not(.is-active):not([aria-current="page"]):not([aria-selected="true"]):is(:hover,:focus-visible){background:#f1f1f1!important;color:#111!important;-webkit-text-fill-color:#111!important}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(.slr-social-nav,.slr-social-mobile-nav,.slr-social-feed-tabs,.slr-social-explore-tabs,.slr-social-match-tabs,.slr-player-profile-tabs,.slr-author-profile-tabs,.slr-market-tabs,.slr-roma-team-switch) :is(a,button):not(.is-active):not([aria-current="page"]):not([aria-selected="true"]):is(:hover,:focus-visible){background:#161616!important;color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important}

/* Mobile: icona attiva neutra, niente riempimento oro. */
html[data-slr-theme="light"] body.slr-site .slr-social-mobile-nav .is-active svg{stroke:#111!important;fill:rgba(0,0,0,.06)!important}
html[data-slr-theme="dark"] body.slr-site .slr-social-mobile-nav .is-active svg{stroke:#f5f5f5!important;fill:rgba(255,255,255,.08)!important}

/* =========================
   LINK / COMPOSER / FOCUS
   ========================= */
html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(.slr-article-body,.slr-social-post-body,.slr-comment-body,.slr-social-rich-editor) a:not(.slr-social-primary-action){color:#111!important;-webkit-text-fill-color:#111!important;text-decoration-color:#777!important}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(.slr-article-body,.slr-social-post-body,.slr-comment-body,.slr-social-rich-editor) a:not(.slr-social-primary-action){color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important;text-decoration-color:#8c8c8c!important}

html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(.slr-post-composer-tools,.slr-comment-composer-tools,.slr-home-inline-tools,.slr-comment-modal-tools) button:is(:hover,:focus-visible){background:#f1f1f1!important;color:#111!important;-webkit-text-fill-color:#111!important}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(.slr-post-composer-tools,.slr-comment-composer-tools,.slr-home-inline-tools,.slr-comment-modal-tools) button:is(:hover,:focus-visible){background:#161616!important;color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important}

html[data-slr-theme="light"] body.slr-site:not(.slr-legal-site) :is(a,button,input,textarea,select,[role="button"]):focus-visible{outline-color:#111!important}
html[data-slr-theme="dark"] body.slr-site:not(.slr-legal-site) :is(a,button,input,textarea,select,[role="button"]):focus-visible{outline-color:#f5f5f5!important}
html[data-slr-theme] body.slr-site:not(.slr-legal-site) :is(input[type="checkbox"],input[type="radio"],input[type="range"]){accent-color:var(--slr-min-accent)!important}

/* Badge editoriale: bianconero; badge verificato blu resta semantico. */
html[data-slr-theme="light"] body.slr-site .slr-social-badge.is-editorial .slr-badge-bg{fill:#111!important}
html[data-slr-theme="light"] body.slr-site .slr-social-badge.is-editorial .slr-badge-mark{stroke:#fff!important}
html[data-slr-theme="dark"] body.slr-site .slr-social-badge.is-editorial .slr-badge-bg{fill:#f5f5f5!important}
html[data-slr-theme="dark"] body.slr-site .slr-social-badge.is-editorial .slr-badge-mark{stroke:#050505!important}

/* =========================
   COMPONENTI CON VECCHI GRADIENTI ROMA
   ========================= */
body.slr-site :is(.slr-fan-club-profile-hero,.slr-fan-club-hero,.slr-image-fallback){background:linear-gradient(145deg,#050505,#1a1a1a 58%,#343434)!important}
html[data-slr-theme="light"] body.slr-site :is(.slr-fan-club-directory-hero,.slr-fan-club-map-coming,.slr-fan-club-location-placeholder,.slr-news-intro,.slr-news-category-card,.slr-news-series-card,.slr-social-now,.slr-social-community-preview,.slr-social-player-card,.slr-social-match-pulse-card,.slr-social-side-match-body,.slr-standing-row.is-roma,.slr-social-side-standing>div>a.is-roma){background-image:none!important}
html[data-slr-theme="dark"] body.slr-site :is(.slr-fan-club-directory-hero,.slr-fan-club-map-coming,.slr-fan-club-location-placeholder,.slr-news-intro,.slr-news-category-card,.slr-news-series-card,.slr-social-now,.slr-social-community-preview,.slr-social-player-card,.slr-social-match-pulse-card,.slr-social-side-match-body,.slr-standing-row.is-roma,.slr-social-side-standing>div>a.is-roma){background-image:none!important}

/* Classifica: la squadra seguita resta evidenziata, ma in monocromia. */
html[data-slr-theme="light"] body.slr-site .slr-standing-row.is-roma{background:#f4f4f4!important;box-shadow:inset 4px 0 #111!important}
html[data-slr-theme="dark"] body.slr-site .slr-standing-row.is-roma{background:#0f0f0f!important;box-shadow:inset 4px 0 #f5f5f5!important}
html[data-slr-theme="light"] body.slr-site .slr-social-side-standing>div>a.is-roma{box-shadow:inset 3px 0 #111!important}
html[data-slr-theme="dark"] body.slr-site .slr-social-side-standing>div>a.is-roma{box-shadow:inset 3px 0 #f5f5f5!important}

/* Vecchie etichette pubbliche hardcoded rosso/oro. */
html[data-slr-theme="light"] body.slr-site :is(.slr-player-card small,.slr-fixture-public>div:first-child small,.slr-side-sticky small,.slr-not-found span,.slr-kicker,.slr-social-article-kicker,.slr-match-competition,.slr-match-date-large,.slr-match-central-score small,.slr-social-match-row-meta span,.slr-social-match-card-kicker span,.slr-match-side-kicker){color:#111!important;-webkit-text-fill-color:#111!important}
html[data-slr-theme="dark"] body.slr-site :is(.slr-player-card small,.slr-fixture-public>div:first-child small,.slr-side-sticky small,.slr-not-found span,.slr-kicker,.slr-social-article-kicker,.slr-match-competition,.slr-match-date-large,.slr-match-central-score small,.slr-social-match-row-meta span,.slr-social-match-card-kicker span,.slr-match-side-kicker){color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important}

/* Squadra: neutralizza l'override giallo inline della base Roma. */
html[data-slr-theme="light"] body.slr-site.slr-home-social.slr-squad-social-page .slr-roma-team-switch>:is(a,button):is(.is-active,[aria-current="page"],[aria-selected="true"]){background:#111!important;background-color:#111!important;border-color:#111!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-slr-theme="dark"] body.slr-site.slr-home-social.slr-squad-social-page .slr-roma-team-switch>:is(a,button):is(.is-active,[aria-current="page"],[aria-selected="true"]){background:#f5f5f5!important;background-color:#f5f5f5!important;border-color:#f5f5f5!important;color:#050505!important;-webkit-text-fill-color:#050505!important}
html[data-slr-theme="dark"] body.slr-site.slr-home-social.slr-squad-social-page .slr-squad-member-actions>button[data-squad-follow]:is(.is-following,[aria-pressed="true"]):not(:disabled):is(:hover,:focus-visible){border-color:#f5f5f5!important;color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important}

/* Follow: il pieno usa inversione bianco/nero, non oro. */
html[data-slr-theme="light"] body.slr-site :is(.slr-social-player-card>button.is-following,.slr-social-side-follow-list button.is-following,.slr-squad-member-actions>button.is-following,.slr-social-follow-button.is-following,.slr-player-follow-button.is-following,.slr-author-follow-button.is-following){background:#111!important;border-color:#111!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-slr-theme="dark"] body.slr-site :is(.slr-social-player-card>button.is-following,.slr-social-side-follow-list button.is-following,.slr-squad-member-actions>button.is-following,.slr-social-follow-button.is-following,.slr-player-follow-button.is-following,.slr-author-follow-button.is-following){background:#f5f5f5!important;border-color:#f5f5f5!important;color:#050505!important;-webkit-text-fill-color:#050505!important}

/* =========================
   AUTH / COLLABORA
   ========================= */
body.slr-site.slr-social-auth-page .slr-social-auth-visual{background:linear-gradient(150deg,#050505 0%,#161616 58%,#303030 100%)!important}
body.slr-site.slr-social-auth-page .slr-social-auth-visual>img{display:none!important}
body.slr-site.slr-collabora-page .slr-collabora-hero-media{background:linear-gradient(150deg,#050505,#242424)!important}
body.slr-site.slr-collabora-page .slr-collabora-hero-media>img{opacity:.06!important;filter:grayscale(1)!important}
body.slr-collabora-page .slr-collabora-final-cta{background:#050505!important}
body.slr-collabora-page .slr-collabora-final-cta:before{background:linear-gradient(145deg,#050505,#242424 58%,#0d0d0d)!important;opacity:.45!important;filter:none!important}
body.slr-collabora-page .slr-collabora-final-cta:after{background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(145deg,rgba(0,0,0,.25),rgba(36,36,36,.42))!important;background-size:24px 24px,24px 24px,auto!important}

/* =========================
   PREMIUM — BIANCONERO
   ========================= */
body.slr-premium-page .slr-premium-rocket-motion,
body.slr-premium-focus-page .slr-premium-rocket-motion{
  --slr-rocket-gold:#f1f1f1!important;
  --slr-rocket-gold-soft:#ffffff!important;
  --slr-rocket-red:#9c9c9c!important;
  --slr-rocket-ink:#050505!important;
}
body.slr-premium-focus-page .slr-premium-focus-hero.slr-premium-focus-hero-compact::before{background:radial-gradient(circle at 50% 48%,rgba(255,255,255,.10),transparent 52%)!important}
body.slr-premium-focus-page .slr-premium-rocket{filter:drop-shadow(0 0 14px rgba(255,255,255,.20))!important}
body.slr-premium-focus-page .slr-premium-rocket-trail{background:linear-gradient(to bottom,rgba(255,255,255,.92),rgba(205,205,205,.45) 38%,rgba(120,120,120,.18) 70%,transparent 100%)!important}
body.slr-premium-focus-page .slr-premium-rocket-trail::after{background:linear-gradient(to bottom,rgba(255,255,255,.16),transparent 82%)!important}
body.slr-premium-focus-page .slr-premium-rocket-star{background:rgba(255,255,255,.9)!important;box-shadow:0 0 8px rgba(255,255,255,.40)!important}
body.slr-premium-focus-page .slr-premium-rocket-star.is-three{background:rgba(160,160,160,.92)!important;box-shadow:0 0 8px rgba(255,255,255,.28)!important}
body.slr-premium-focus-page :is(.slr-premium-kicker,.slr-premium-plan-label,.slr-premium-saving,.slr-premium-focus-hero.slr-premium-focus-hero-compact h1 span){color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important}
body.slr-premium-focus-page .slr-premium-focus-mark{background:#101010!important;border-color:#333!important;color:#f5f5f5!important}
body.slr-premium-focus-page .slr-premium-saving{background:#202020!important}

/* =========================
   CONSENSO / MONETIZZAZIONE
   ========================= */
.slr-consent-root{--consent-burgundy:#111!important;--consent-yellow:#111!important}
html[data-slr-theme="dark"] .slr-consent-root{--consent-burgundy:#f5f5f5!important;--consent-yellow:#f5f5f5!important}
html[data-slr-theme="light"] .slr-consent-eyebrow,
html[data-slr-theme="light"] .slr-consent-links a{color:#111!important;-webkit-text-fill-color:#111!important}
html[data-slr-theme="dark"] .slr-consent-eyebrow,
html[data-slr-theme="dark"] .slr-consent-links a{color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important}

/* =========================
   ADMIN — STESSA IDENTITÀ
   ========================= */
html[data-slr-theme="light"] body:is(.admin-shell,.admin-auth){
  --accent:#111!important;
  --admin-nav-active:#111!important;
  --admin-nav-active-bg:#f1f1f1!important;
  --admin-nav-active-border:#d8d8d8!important;
  --admin-accent-text:#fff!important;
  --admin-focus:#111!important;
}
html[data-slr-theme="dark"] body:is(.admin-shell,.admin-auth){
  --accent:#f5f5f5!important;
  --admin-nav-active:#f5f5f5!important;
  --admin-nav-active-bg:#181818!important;
  --admin-nav-active-border:#3b3b3b!important;
  --admin-accent-text:#050505!important;
  --admin-focus:#f5f5f5!important;
}
html[data-slr-theme="light"] body.admin-shell .admin-brandmark{background:#111!important;border-color:#111!important;color:#fff!important}
html[data-slr-theme="dark"] body.admin-shell .admin-brandmark{background:#f5f5f5!important;border-color:#f5f5f5!important;color:#050505!important}
html[data-slr-theme="light"] body.admin-shell .admin-menu-link.active{color:#111!important;border-color:#d8d8d8!important;background:#f1f1f1!important}
html[data-slr-theme="dark"] body.admin-shell .admin-menu-link.active{color:#f5f5f5!important;border-color:#3a3a3a!important;background:#171717!important}
html[data-slr-theme="light"] body.admin-shell :is(button[type="submit"],.button.is-primary,.admin-primary-action){background:#111!important;border-color:#111!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background-image:none!important}
html[data-slr-theme="light"] body.admin-shell :is(button[type="submit"],.button.is-primary,.admin-primary-action):not(:disabled):is(:hover,:focus-visible){background:#333!important;border-color:#333!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-slr-theme="dark"] body.admin-shell :is(button[type="submit"],.button.is-primary,.admin-primary-action){background:#f5f5f5!important;border-color:#f5f5f5!important;color:#050505!important;-webkit-text-fill-color:#050505!important;background-image:none!important}
html[data-slr-theme="dark"] body.admin-shell :is(button[type="submit"],.button.is-primary,.admin-primary-action):not(:disabled):is(:hover,:focus-visible){background:#d7d7d7!important;border-color:#d7d7d7!important;color:#050505!important;-webkit-text-fill-color:#050505!important}

/* Quick tools editor admin: niente bordeaux/oro sugli stati interattivi. */
html[data-slr-theme="light"] body.admin-shell :is(.admin-media-dropzone,.media-picker-dropzone,.admin-editor-quicktools):is(:hover,:focus-within,.is-dragover){border-color:#111!important}
html[data-slr-theme="dark"] body.admin-shell :is(.admin-media-dropzone,.media-picker-dropzone,.admin-editor-quicktools):is(:hover,:focus-within,.is-dragover){border-color:#f5f5f5!important}

/* SEO audit: avanzamento neutro; severità semantiche restano colorate. */
body.admin-shell .audit-progress span{background:linear-gradient(90deg,#111,#777)!important}
html[data-slr-theme="dark"] body.admin-shell .audit-progress span{background:linear-gradient(90deg,#f5f5f5,#777)!important}
body.admin-shell .audit-run-card:hover,
body.admin-shell .audit-run-card.active{border-color:currentColor!important}

/* Niente ombre colorate sui controlli di brand. */
body.slr-site :is(.slr-social-primary-action,.slr-post-composer-submit button,.slr-home-inline-composer-submit,.slr-settings-form-actions button,.slr-settings-primary-link,.slr-social-auth-submit,.slr-fan-club-primary,.slr-fan-club-header-action,.slr-fan-club-search button){box-shadow:none!important}

/* ========================================================================
   SJ6 — MONOCHROME RESIDUE PURGE
   Override ad alta specificità per i residui cromatici Roma ancora presenti
   nei fogli legacy caricati prima del brand layer Juventus.
   ======================================================================== */

/* Variabili focus/caret/interazione: mai più bordeaux/oro come branding. */
html[data-slr-theme="light"] body.slr-site{
  --slr-state-focus:#111111!important;
  --slr-polish-focus:#111111!important;
  --fc-accent:#111111!important;
}
html[data-slr-theme="dark"] body.slr-site{
  --slr-state-focus:#f5f5f5!important;
  --slr-polish-focus:#f5f5f5!important;
  --fc-accent:#f5f5f5!important;
}
html[data-slr-theme="light"] body.slr-site :is(input,textarea,[contenteditable="true"]){caret-color:#111111!important}
html[data-slr-theme="dark"] body.slr-site :is(input,textarea,[contenteditable="true"]){caret-color:#f5f5f5!important}

/* ------------------------------------------------------------------------
   MENU SINISTRO — override esatto del vecchio theme-v9318.
   Giorno: nero. Notte: bianco. Nessuna pillola colorata.
   ------------------------------------------------------------------------ */
html[data-slr-theme="light"] body.slr-home-social .slr-social-left .slr-social-nav > a.is-active,
html[data-slr-theme="light"] body.slr-home-social .slr-social-left .slr-social-nav > a[aria-current="page"]{
  border-color:transparent!important;
  background:transparent!important;
  background-color:transparent!important;
  color:#111111!important;
  -webkit-text-fill-color:#111111!important;
  font-weight:900!important;
  box-shadow:none!important;
  filter:none!important;
}
html[data-slr-theme="light"] body.slr-home-social .slr-social-left .slr-social-nav > :is(a.is-active,a[aria-current="page"]) :is(span,i,b,strong,small){
  color:#111111!important;
  -webkit-text-fill-color:#111111!important;
  opacity:1!important;
}
html[data-slr-theme="light"] body.slr-home-social .slr-social-left .slr-social-nav > :is(a.is-active,a[aria-current="page"]) svg{
  color:#111111!important;
  stroke:#111111!important;
  fill:none!important;
  opacity:1!important;
}
html[data-slr-theme="dark"] body.slr-home-social .slr-social-left .slr-social-nav > a.is-active,
html[data-slr-theme="dark"] body.slr-home-social .slr-social-left .slr-social-nav > a[aria-current="page"]{
  border-color:transparent!important;
  background:transparent!important;
  background-color:transparent!important;
  color:#f5f5f5!important;
  -webkit-text-fill-color:#f5f5f5!important;
  font-weight:900!important;
  box-shadow:none!important;
  filter:none!important;
}
html[data-slr-theme="dark"] body.slr-home-social .slr-social-left .slr-social-nav > :is(a.is-active,a[aria-current="page"]) :is(span,i,b,strong,small){
  color:#f5f5f5!important;
  -webkit-text-fill-color:#f5f5f5!important;
  opacity:1!important;
}
html[data-slr-theme="dark"] body.slr-home-social .slr-social-left .slr-social-nav > :is(a.is-active,a[aria-current="page"]) svg{
  color:#f5f5f5!important;
  stroke:#f5f5f5!important;
  fill:none!important;
  opacity:1!important;
}
html[data-slr-theme] body.slr-home-social .slr-social-left .slr-social-nav > :is(a.is-active,a[aria-current="page"]):is(:hover,:focus-visible){
  background:var(--slr-ui-hover,rgba(127,127,127,.10))!important;
  background-color:var(--slr-ui-hover,rgba(127,127,127,.10))!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

/* ------------------------------------------------------------------------
   AVATAR DI DEFAULT — iniziali esclusivamente bianconere.
   Le immagini reali degli utenti non vengono toccate.
   ------------------------------------------------------------------------ */
html[data-slr-theme="light"] body.slr-site :is(
  .slr-social-account-avatar,
  .slr-post-composer-avatar,
  .slr-home-inline-composer-avatar,
  .slr-social-notification-avatar,
  .slr-social-side-user-avatar,
  .slr-social-post-avatar,
  .slr-list-member-avatar,
  .slr-settings-relationship-avatar,
  .slr-fan-club-person-avatar
){background:#111111!important;background-image:none!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
html[data-slr-theme="dark"] body.slr-site :is(
  .slr-social-account-avatar,
  .slr-post-composer-avatar,
  .slr-home-inline-composer-avatar,
  .slr-social-notification-avatar,
  .slr-social-side-user-avatar,
  .slr-social-post-avatar,
  .slr-list-member-avatar,
  .slr-settings-relationship-avatar,
  .slr-fan-club-person-avatar
){background:#f5f5f5!important;background-image:none!important;color:#050505!important;-webkit-text-fill-color:#050505!important}
html[data-slr-theme="light"] body.slr-site :is(
  .slr-social-account-avatar,.slr-post-composer-avatar,.slr-home-inline-composer-avatar,
  .slr-social-notification-avatar,.slr-social-side-user-avatar,.slr-social-post-avatar,
  .slr-list-member-avatar,.slr-settings-relationship-avatar,.slr-fan-club-person-avatar
) :is(span,b,strong){color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
html[data-slr-theme="dark"] body.slr-site :is(
  .slr-social-account-avatar,.slr-post-composer-avatar,.slr-home-inline-composer-avatar,
  .slr-social-notification-avatar,.slr-social-side-user-avatar,.slr-social-post-avatar,
  .slr-list-member-avatar,.slr-settings-relationship-avatar,.slr-fan-club-person-avatar
) :is(span,b,strong){color:#050505!important;-webkit-text-fill-color:#050505!important}
/* Gli img continuano a coprire integralmente il fallback. */
body.slr-site :is(.slr-social-account-avatar,.slr-post-composer-avatar,.slr-home-inline-composer-avatar,.slr-social-notification-avatar,.slr-social-side-user-avatar,.slr-social-post-avatar,.slr-list-member-avatar,.slr-settings-relationship-avatar,.slr-fan-club-person-avatar)>img{background:transparent!important}

/* ------------------------------------------------------------------------
   PROFILO AUTORE/UTENTE — fallback cover, badge e tab in monocromia.
   ------------------------------------------------------------------------ */
html[data-slr-theme="light"] body.slr-author-social-page .slr-author-profile-cover:not(.has-image),
html[data-slr-theme="light"] body.slr-author-social-page .slr-author-edit-cover:not(.has-image){
  background:#111111!important;
  background-image:none!important;
}
html[data-slr-theme="dark"] body.slr-author-social-page .slr-author-profile-cover:not(.has-image),
html[data-slr-theme="dark"] body.slr-author-social-page .slr-author-edit-cover:not(.has-image){
  background:#0b0b0b!important;
  background-image:none!important;
}
body.slr-author-social-page .slr-author-profile-cover:not(.has-image)::before,
body.slr-author-social-page .slr-author-profile-cover:not(.has-image)::after,
body.slr-author-social-page .slr-author-edit-cover:not(.has-image)::before,
body.slr-author-social-page .slr-author-edit-cover:not(.has-image)::after{
  content:none!important;
  display:none!important;
  background:none!important;
}
html[data-slr-theme="light"] body.slr-author-social-page .slr-author-profile-role{
  border-color:#d7d7d7!important;
  background:#f7f7f7!important;
  color:#111111!important;
  -webkit-text-fill-color:#111111!important;
}
html[data-slr-theme="dark"] body.slr-author-social-page .slr-author-profile-role{
  border-color:#353535!important;
  background:#111111!important;
  color:#f5f5f5!important;
  -webkit-text-fill-color:#f5f5f5!important;
}
html[data-slr-theme="light"] body.slr-author-social-page .slr-author-profile-tabs a.is-active::after{background:#111111!important}
html[data-slr-theme="dark"] body.slr-author-social-page .slr-author-profile-tabs a.is-active::after{background:#f5f5f5!important}
html[data-slr-theme="light"] body.slr-author-social-page .slr-author-pagination a{color:#111111!important;-webkit-text-fill-color:#111111!important}
html[data-slr-theme="dark"] body.slr-author-social-page .slr-author-pagination a{color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important}

/* ------------------------------------------------------------------------
   NOTIFICHE PUSH — card profilo e impostazioni senza bordeaux/oro.
   ------------------------------------------------------------------------ */
html[data-slr-theme="light"] body.slr-site .slr-push-card-icon{background:#111111!important;color:#ffffff!important}
html[data-slr-theme="dark"] body.slr-site .slr-push-card-icon{background:#f5f5f5!important;color:#050505!important}
html[data-slr-theme="light"] body.slr-site :is(.slr-push-profile-card button,.slr-push-action.is-primary){background:#111111!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
html[data-slr-theme="light"] body.slr-site :is(.slr-push-profile-card button,.slr-push-action.is-primary):not(:disabled):is(:hover,:focus-visible){background:#333333!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
html[data-slr-theme="dark"] body.slr-site :is(.slr-push-profile-card button,.slr-push-action.is-primary){background:#f5f5f5!important;color:#050505!important;-webkit-text-fill-color:#050505!important}
html[data-slr-theme="dark"] body.slr-site :is(.slr-push-profile-card button,.slr-push-action.is-primary):not(:disabled):is(:hover,:focus-visible){background:#d7d7d7!important;color:#050505!important;-webkit-text-fill-color:#050505!important}
html[data-slr-theme="light"] body.slr-site :is(.slr-push-profile-card small,.slr-push-settings-block>header small){color:#686e78!important;-webkit-text-fill-color:#686e78!important}
html[data-slr-theme="dark"] body.slr-site :is(.slr-push-profile-card small,.slr-push-settings-block>header small){color:#9a9ea6!important;-webkit-text-fill-color:#9a9ea6!important}
html[data-slr-theme="light"] body.slr-site :is(.slr-push-topic-list input,.slr-push-topic-mode input){accent-color:#111111!important}
html[data-slr-theme="dark"] body.slr-site :is(.slr-push-topic-list input,.slr-push-topic-mode input){accent-color:#f5f5f5!important}

/* ------------------------------------------------------------------------
   ALTRI ACCENTI EDITORIALI/COMMUNITY NON SEMANTICI.
   Errori, LIVE, successo e badge verifica restano colorati per funzione.
   ------------------------------------------------------------------------ */
html[data-slr-theme="light"] body.slr-site :is(
  .slr-social-article-hashtags a,
  .slr-social-article-kicker,.slr-social-article-kicker a,
  .slr-news-series-card b,
  .slr-editorial-team>header small,
  .slr-editorial-director-link small,
  .slr-editorial-grid strong,
  .slr-fan-club-composer>header small,
  .slr-fan-club-content-summary small,
  .slr-fan-club-shared-copy>small,
  .slr-fan-club-feed-kicker span,
  .slr-social-explore-fan-clubs>header small
){color:#111111!important;-webkit-text-fill-color:#111111!important}
html[data-slr-theme="dark"] body.slr-site :is(
  .slr-social-article-hashtags a,
  .slr-social-article-kicker,.slr-social-article-kicker a,
  .slr-news-series-card b,
  .slr-editorial-team>header small,
  .slr-editorial-director-link small,
  .slr-editorial-grid strong,
  .slr-fan-club-composer>header small,
  .slr-fan-club-content-summary small,
  .slr-fan-club-shared-copy>small,
  .slr-fan-club-feed-kicker span,
  .slr-social-explore-fan-clubs>header small
){color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important}

html[data-slr-theme="light"] body.slr-site :is(
  .slr-news-series-card>span,
  .slr-editorial-director-avatar,
  .slr-editorial-member-avatar,
  .slr-article-share-service-icon.is-profile
){background:#111111!important;background-image:none!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
html[data-slr-theme="dark"] body.slr-site :is(
  .slr-news-series-card>span,
  .slr-editorial-director-avatar,
  .slr-editorial-member-avatar,
  .slr-article-share-service-icon.is-profile
){background:#f5f5f5!important;background-image:none!important;color:#050505!important;-webkit-text-fill-color:#050505!important}
html[data-slr-theme="light"] body.slr-social-editorial-page .slr-editorial-director-avatar{border-color:#111111!important;box-shadow:none!important}
html[data-slr-theme="dark"] body.slr-social-editorial-page .slr-editorial-director-avatar{border-color:#f5f5f5!important;box-shadow:none!important}

html[data-slr-theme="light"] body.slr-site :is(.slr-news-series-card:hover,.slr-news-series-card:focus-visible,.slr-news-series-card.is-active){border-color:#111111!important;box-shadow:inset 0 0 0 1px #111111!important}
html[data-slr-theme="dark"] body.slr-site :is(.slr-news-series-card:hover,.slr-news-series-card:focus-visible,.slr-news-series-card.is-active){border-color:#f5f5f5!important;box-shadow:inset 0 0 0 1px #f5f5f5!important}

html[data-slr-theme="light"] body.slr-site .slr-fan-club-profile-tabs a.is-active::after{background:#111111!important}
html[data-slr-theme="dark"] body.slr-site .slr-fan-club-profile-tabs a.is-active::after{background:#f5f5f5!important}
html[data-slr-theme="light"] body.slr-site .slr-fan-club-composer :is(input,select,textarea):focus{border-color:#111111!important;box-shadow:0 0 0 3px rgba(17,17,17,.08)!important}
html[data-slr-theme="dark"] body.slr-site .slr-fan-club-composer :is(input,select,textarea):focus{border-color:#f5f5f5!important;box-shadow:0 0 0 3px rgba(245,245,245,.10)!important}
html[data-slr-theme="light"] body.slr-site :is(.slr-fan-club-composer form>footer button,.slr-fan-club-content-summary>a,.slr-social-following-empty a){background:#111111!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
html[data-slr-theme="dark"] body.slr-site :is(.slr-fan-club-composer form>footer button,.slr-fan-club-content-summary>a,.slr-social-following-empty a){background:#f5f5f5!important;color:#050505!important;-webkit-text-fill-color:#050505!important}

/* Fan Club fallback lettere/logo. */
html[data-slr-theme="light"] body.slr-site :is(.slr-fan-club-shared-logo b,.slr-social-explore-fan-club-logo b){color:#111111!important;-webkit-text-fill-color:#111111!important}
html[data-slr-theme="dark"] body.slr-site :is(.slr-fan-club-shared-logo b,.slr-social-explore-fan-club-logo b){color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important}

/* Verifica: CTA e avanzamento sono UI, non badge di verifica. */
html[data-slr-theme="light"] body.slr-site .slr-verification-request-form button{background:#111111!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
html[data-slr-theme="dark"] body.slr-site .slr-verification-request-form button{background:#f5f5f5!important;color:#050505!important;-webkit-text-fill-color:#050505!important}
body.slr-site .slr-verification-progress>i>b{background:linear-gradient(90deg,#444444,#111111)!important}
html[data-slr-theme="dark"] body.slr-site .slr-verification-progress>i>b{background:linear-gradient(90deg,#bdbdbd,#f5f5f5)!important}

/* Analytics/tab e squad tabs: alta specificità contro gli ultimi guardrail legacy. */
html[data-slr-theme="light"] body.slr-analytics-page .slr-analytics-content-tabs a.is-active{background:#ffffff!important;color:#111111!important;-webkit-text-fill-color:#111111!important;box-shadow:inset 0 0 0 2px #111111!important}
html[data-slr-theme="dark"] body.slr-analytics-page .slr-analytics-content-tabs a.is-active{background:#f5f5f5!important;color:#050505!important;-webkit-text-fill-color:#050505!important;box-shadow:none!important}
html[data-slr-theme="light"] body.slr-analytics-page .slr-analytics-content-tabs a:focus-visible{outline-color:#111111!important}
html[data-slr-theme="dark"] body.slr-analytics-page .slr-analytics-content-tabs a:focus-visible{outline-color:#f5f5f5!important}

html[data-slr-theme="light"] body.slr-site.slr-home-social.slr-social-matches-page .slr-roma-team-switch:is(a,button).is-active,
html[data-slr-theme="light"] body.slr-site.slr-home-social.slr-social-matches-page .slr-roma-team-switch:is(a,button).is-active:is(:hover,:focus-visible,:active){background:#111111!important;border-color:#111111!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
html[data-slr-theme="dark"] body.slr-site.slr-home-social.slr-social-matches-page .slr-roma-team-switch:is(a,button).is-active,
html[data-slr-theme="dark"] body.slr-site.slr-home-social.slr-social-matches-page .slr-roma-team-switch:is(a,button).is-active:is(:hover,:focus-visible,:active){background:#f5f5f5!important;border-color:#f5f5f5!important;color:#050505!important;-webkit-text-fill-color:#050505!important}

/* Legal: stati attivi/hover coerenti con il brand monocromatico. */
html[data-slr-theme="light"] body.slr-legal-site :is(a.is-active,[aria-current="page"]){color:#111111!important;-webkit-text-fill-color:#111111!important;border-color:#111111!important}
html[data-slr-theme="dark"] body.slr-legal-site :is(a.is-active,[aria-current="page"]){color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important;border-color:#f5f5f5!important}

/* Admin Fan Club: rimuove le variabili giallorosse residue. */
html[data-slr-theme="light"] body.admin-shell{--fan-admin-accent:#111111!important}
html[data-slr-theme="dark"] body.admin-shell{--fan-admin-accent:#f5f5f5!important}
