/* === 17.87 — Tipografia, navigazione e componenti condivisi === */
:root { --live-base-font: 16px; --live-modal-radius: 18px; }
body.live-home, body.live-unified-shell, body.live-app-shell,
html.live-app-shell body { font-size: var(--live-base-font); line-height: 1.52; }
body .form-control, body .form-select, body .select2-selection,
body .modal .modal-body, body .table { font-size: .95rem; }
body .btn, body .modal .modal-footer .btn { font-size: .94rem; }
body.live-unified-shell .live-sidebar .nav-link,
html.live-app-shell .sidebar-nav .nav-link {font-size: .98rem;}
body.live-unified-shell .live-sidebar .nav-content a,
html.live-app-shell .sidebar-nav .nav-content a {font-size: .92rem;}
@media (min-width:1200px) {
  html.live-app-shell body:not(.live-unified-shell) .sidebar{width:320px;}
  html.live-app-shell body:not(.live-unified-shell) #main,
  html.live-app-shell body:not(.live-unified-shell) #footer{margin-left:320px;}
  html.live-app-shell body:not(.live-unified-shell) .toggle-sidebar #main,
  html.live-app-shell body:not(.live-unified-shell) .toggle-sidebar #footer{margin-left:0;}
  html.live-app-shell body:not(.live-unified-shell) .toggle-sidebar .sidebar{left:-320px;}
}
@media (max-width:1199px){html.live-app-shell .sidebar{left:-320px}}

/* Base unica per modal del backoffice e frontend, inclusi quelli montati in JS. 
   Le classi Bootstrap modal-sm/lg/xl e fullscreen decidono soltanto la larghezza. */
body .modal .modal-content {
  border:1px solid #dce4f2;
  border-radius:var(--live-modal-radius);
  background:#fff;
  box-shadow:0 26px 70px rgba(15,35,75,.22);
  overflow:hidden;
}
body .modal .modal-header {
  padding:1.1rem 1.35rem;
  border:0;
  border-bottom:1px solid #e3eaf5;
  background:#f5f8ff;
  color:#213e86;
  min-height:66px;
  margin:0!important;
}
body .modal .modal-header .modal-title{font-size:1.12rem;font-weight:800;line-height:1.3;color:inherit;}
body .modal .modal-header .solid-border,
body .modal .modal-header > .solid-border{border:0!important;padding:0!important;margin:0!important;width:100%;}
body .modal .modal-body{padding:1.25rem 1.35rem;min-width:0;}
body .modal .modal-footer{padding:1rem 1.35rem;border:0;border-top:1px solid #e3eaf5;background:#f8faff;gap:.5rem;margin:0!important;}
body .modal .modal-footer .btn,
body .modal .modal-header .btn:not(.btn-close){border-radius:10px;}
body .modal .modal-header .btn-close{opacity:.75;}
body .modal .modal-header .btn-close:hover{opacity:1;}
/* Non schiacciare gli editor complessi o la galleria fullscreen. */
body .modal .modal-dialog.modal-fullscreen .modal-content{border-radius:0;}
@media (max-width:575.98px){
  body .modal:not(.modal-fullscreen) .modal-header, body .modal:not(.modal-fullscreen) .modal-footer{padding:.9rem 1rem;}
  body .modal:not(.modal-fullscreen) .modal-body{padding:1rem;}
}

/* Home hero multidsicplinare: un solo asset WebP, nessun nuovo foglio CSS. */
.live-home .live-hero--sports{
 background-image:linear-gradient(90deg,#112b67 0%,rgba(16,42,102,.99) 30%,rgba(16,42,102,.78) 52%,rgba(16,42,102,.06) 100%),url("../img/live-home-hero-sports.webp");
 background-position:center,center center;
 background-size:cover;
 background-repeat:no-repeat;
 border-radius:0 0 26px 26px;
 box-shadow:0 18px 45px rgba(20,45,95,.18);
}
.live-home .live-hero--sports .live-hero__content{min-height:355px;display:flex;align-items:center;padding-top:60px;padding-bottom:60px;}
.live-home .live-hero--sports .live-hero__content>div:first-child{max-width:650px;position:relative;z-index:1;}
.live-home .live-hero--sports .live-hero__content p:not(.live-hero__eyebrow){font-size:1.03rem;color:#e1eafb;}
.live-home .live-hero--sports .live-hero__illustration{display:none;}
@media (max-width:767px){
 .live-home .live-hero--sports{background-position:center,62% center;background-image:linear-gradient(90deg,rgba(16,42,102,.95),rgba(16,42,102,.79)),url("../img/live-home-hero-sports.webp");}
 .live-home .live-hero--sports .live-hero__content{min-height:330px;padding:43px 4px;}
}

/* Un solo calendario: risultati e gare nello stesso elenco, intervallo dal/al. */
.live-home .live-calendar__layout--single{display:block;}
.live-home .live-calendar__layout--single .live-calendar__primary{width:100%;max-width:none;}
.live-home .live-date-range-form{display:flex;align-items:end;flex-wrap:wrap;gap:10px;}
.live-home .live-date-range-form label{display:flex;flex-direction:column;gap:5px;font-size:.83rem;font-weight:750;color:#536b91;}
.live-home .live-date-range-form .form-control{font-size:.95rem;min-width:150px;}
.live-home .live-date-range-form button{min-height:42px;}
.live-home .live-calendar[aria-busy=true] .live-match-list{opacity:.62;transition:opacity .2s;}
.live-home-range-loading{margin-left:12px;vertical-align:middle;}
@media(max-width:600px){.live-home .live-date-range-form{width:100%;}.live-home .live-date-range-form label{flex:1 1 130px;}.live-home .live-date-range-form button{flex:1 1 100%;justify-content:center;}}

/* Standard comune con precedenza sulle vecchie varianti delle singole modali. */
body .modal .modal-content{border-radius:var(--live-modal-radius)!important;}
body .modal .modal-dialog.modal-fullscreen .modal-content{border-radius:0!important;}
body .modal .modal-header{
 background:#f5f8ff!important;color:#213e86!important;
 border-bottom:1px solid #e3eaf5!important;
}
body .modal .modal-footer{
 background:#f8faff!important;border-top:1px solid #e3eaf5!important;
}
body .modal .modal-header .btn-close{filter:none!important;}

.live-home .live-discover--inline{display:flex;align-items:center;gap:12px;margin-top:24px;padding:15px 18px;}
.live-home .live-discover--inline>span{flex:1;font-size:.95rem;font-weight:650;}
.live-home .live-discover--inline>i{font-size:1.2rem;}
.live-home .live-discover--inline>a{white-space:nowrap;}
@media(max-width:550px){.live-home .live-discover--inline{flex-wrap:wrap;}.live-home .live-discover--inline>span{flex-basis:70%;}.live-home .live-discover--inline>a{margin-left:auto;}}

/* Andamento ultime cinque: stesse icone su classifica, team e storico gara. */
.live-game-form__chips{gap:5px;}
.live-game-form__chip{border-radius:50%;width:26px;height:26px;font-size:17px;font-weight:900;color:#fff;}
.live-game-form__chip.is-win{background:#1a9d60;color:#fff;}
.live-game-form__chip.is-draw{background:#9499a8;color:#fff;}
.live-game-form__chip.is-loss{background:#e04e4f;color:#fff;}
.live-game-form__chip.is-latest{outline:2px solid currentColor;outline-offset:2px;}


/* === 17.88: elementi condivisi, senza CSS di pagina aggiuntivi === */
/* Chiudi: simbolo Bootstrap leggibile e target di almeno 44px, anche con vecchio .btn-close{background-size:25%}. */
body .modal .modal-header .btn-close,
body .modal .modal-header button.close:not(.btn-close) {
  box-sizing:border-box;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;
  margin:0 0 0 auto!important;padding:0!important;
  border:1px solid #d6deef;border-radius:12px;background-color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  opacity:1!important;transition:background-color .16s,border-color .16s,box-shadow .16s;
}
body .modal .modal-header .btn-close {
  background-size:17px 17px!important;background-position:center!important;background-repeat:no-repeat!important;
}
body .modal .modal-header button.close:not(.btn-close){font-size:27px;line-height:1;color:#21409a;}
body .modal .modal-header .btn-close:hover,
body .modal .modal-header button.close:not(.btn-close):hover {background-color:#e9efff;border-color:#9aaddd;}
body .modal .modal-header .btn-close:focus-visible,
body .modal .modal-header button.close:not(.btn-close):focus-visible {outline:3px solid #f37021;outline-offset:2px;box-shadow:none;}
/* L'unico contenitore calendario mantiene le coppie di azioni leggibili e non troncate. */
.live-team-google-calendar__actions{
  flex:1 1 650px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
.live-team-google-calendar__group{display:flex;flex-direction:column;gap:9px;min-width:0;padding:12px;border:1px solid #e0e7f5;border-radius:14px;background:#fff;}
.live-team-google-calendar__group-label{color:#536b92;font-weight:800;font-size:13px;line-height:1.3;}
.live-team-google-calendar__group-buttons{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;flex-wrap:wrap;}
.live-team-detail .live-team-google-calendar__group-buttons :is(a,button){
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  flex:0 0 auto;width:auto;min-height:42px;margin:0;padding:9px 12px;border-radius:10px;
  font-size:13px;font-weight:750;line-height:1.25;white-space:nowrap;overflow-wrap:normal;word-break:normal;text-decoration:none;
}
.live-team-detail .live-team-google-calendar__group-buttons :is(a,button) span{white-space:nowrap;}
.live-team-detail .live-team-google-calendar__group-buttons .live-team-google-calendar__open{background:#21409a;color:white;border:1px solid #21409a;}
.live-team-detail .live-team-google-calendar__group-buttons .live-team-google-calendar__copy,
.live-team-detail .live-team-google-calendar__group-buttons .live-team-google-calendar__copy-ical,
.live-team-detail .live-team-google-calendar__group-buttons .live-team-google-calendar__ical{background:#fff;border:1px solid #d8e0ee;color:#21409a;}
@media(max-width:1100px){.live-team-google-calendar__actions{grid-template-columns:1fr;}}
@media(max-width:560px){
 .live-team-google-calendar__actions{grid-template-columns:minmax(0,1fr);width:100%;}
 .live-team-google-calendar__group-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
 .live-team-detail .live-team-google-calendar__group-buttons :is(a,button){width:100%;min-width:0;font-size:11px;padding:9px 6px;}
}
/* Sport, passione, comunità: motto nuovamente visibile nel nuovo hero. */


/* Tre scorciatoie leggere, sovrapposte al fondo dell'hero. */
.live-home .live-home-quicklinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;position:relative;z-index:2;margin-top:-23px;}
.live-home .live-home-quicklink{display:flex;align-items:center;gap:13px;min-width:0;padding:16px 19px;border-radius:16px;
 background:#fff;color:#21409a;border:1px solid #e1e8f5;box-shadow:0 10px 30px rgba(21,43,96,.10);text-decoration:none;transition:transform .17s,box-shadow .17s;}
.live-home .live-home-quicklink:hover{color:#21409a;transform:translateY(-3px);box-shadow:0 17px 34px rgba(21,43,96,.15);}
.live-home .live-home-quicklink__icon{display:grid;place-items:center;flex:0 0 47px;height:47px;border-radius:13px;background:#e9efff;color:#21409a;font-size:21px;}
.live-home .live-home-quicklink__icon--orange{background:#fff0e5;color:#e76b1c;}
.live-home .live-home-quicklink>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px;}
.live-home .live-home-quicklink strong{font-size:15px;font-weight:850;}
.live-home .live-home-quicklink small{font-size:13px;line-height:1.35;color:#74829a;}
.live-home .live-home-quicklink>i:last-child{margin-left:auto;color:#f37021;font-size:16px;}
/* Le stesse immagini in mini-card, sidebar e testata delle gare. */
.live-home .live-sports{padding-top:37px;}
.live-home .live-sports__scroll{gap:12px;padding:4px 3px 18px;}
.live-home .live-sport-pill{min-width:191px;max-width:250px;min-height:88px;padding:10px;gap:12px;align-items:center;border-radius:16px;
 background:linear-gradient(145deg,#fff,#f8faff);box-shadow:0 8px 22px rgba(29,54,107,.07);font-size:13px;}
.live-home .live-sport-pill__image{width:64px;height:64px;min-width:64px;object-fit:cover;border-radius:12px;box-shadow:0 4px 10px rgba(15,34,65,.12);}
.live-home .live-sport-pill__copy{display:flex;flex-direction:column;gap:5px;min-width:0;text-align:left;line-height:1.2;}
.live-home .live-sport-pill__copy strong{font-weight:800;font-size:13px;white-space:normal;}
.live-home .live-sport-pill__copy small{font-size:11px;color:#8291a9;}
.live-home .live-sport-pill.is-selected{background:#21409a;color:#fff;border-color:#21409a;}
.live-home .live-sport-pill.is-selected .live-sport-pill__image{padding:0;background:transparent;}
.live-home .live-sport-pill.is-selected .live-sport-pill__copy small{color:#d7e2ff;}
/* Più profondità nell'elenco senza sacrificare densità e leggibilità. */
.live-home #calendario .live-panel-heading h3{font-size:21px;}
.live-home #calendario .live-game-card{position:relative;border-color:#e0e8f3;box-shadow:0 7px 19px rgba(20,41,85,.045);}
.live-home #calendario .live-game-card:hover{border-color:#b1c3e7;box-shadow:0 14px 29px rgba(20,41,85,.11);}
.live-home #calendario .live-game-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#dae4f7;pointer-events:none;}
.live-home #calendario .live-game-card:has(.live-game-card__status.is-final)::before{background:#21a66d;}
.live-home #calendario .live-game-card:has(.live-game-card__status.is-upcoming)::before{background:#f37021;}
.live-home #calendario .live-game-card__score strong{background:#eaf0fd;color:#163d91;}
.live-home #calendario .live-week{border:1px solid #dce5f5;box-shadow:0 9px 22px rgba(20,41,85,.06);}
@media(max-width:850px){
 .live-home .live-home-quicklinks{grid-template-columns:1fr;gap:8px;margin-top:12px;}
 .live-home .live-home-quicklink{padding:11px 14px;}
 .live-home .live-sports{padding-top:26px;}
}
@media(max-width:520px){
 .live-home .live-sport-pill{min-width:163px;min-height:72px;padding:8px;gap:9px;}
 .live-home .live-sport-pill__image{width:53px;height:53px;min-width:53px;}
 .live-home .live-sport-pill__copy strong{font-size:13px;}
 .live-home .live-sport-pill__copy small{font-size:10px;}
}
@media(prefers-reduced-motion:reduce){.live-home .live-home-quicklink{transition:none;}}


/* 17.89a — sidebar con palloni realistici scontornati; nessun riquadro artificiale. */
.live-side-nav__sport-symbol--ball,
.live-side-nav__group--sport summary:hover .live-side-nav__sport-symbol--ball{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 34px;width:34px;height:34px;padding:0;
  border:0;border-radius:0;background:transparent!important;box-shadow:none;
}
.live-side-nav__sport-symbol--ball img{
  display:block;width:32px;height:32px;max-width:none;object-fit:contain;
  filter:drop-shadow(0 1px 2px rgba(16,35,78,.18));
}
.live-side-nav__sport-symbol--ball i{font-size:19px;color:#21409a}

/* 17.89a — motto allineato dentro la griglia dell'hero, mai assoluto o fuori sezione. */
.live-home .live-hero--sports .live-hero__content{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,305px);
  align-items:center;gap:clamp(16px,3vw,42px);min-height:385px;
  padding-top:49px;padding-bottom:58px;
}
.live-home .live-hero--sports .live-hero__content>div:first-child{max-width:660px;min-width:0}






/* 17.89a — cataloghi: foto rettangolare a filo, senza ovali, cerchi o maschere ellittiche. */
.live-home .live-public-hero--leagues{--live-hero-image:url("../img/public-hero-leagues.webp")}
.live-home .live-public-hero--venues{--live-hero-image:url("../img/public-hero-venues.webp")}
.live-home .live-public-hero--archive{--live-hero-image:url("../img/public-hero-archive.webp")}
.live-home .live-teams-page__hero.live-public-hero{--live-hero-image:url("../img/dashboard-teams.webp")}
.live-home .live-public-hero--competition{background:linear-gradient(112deg,#15346f,#234ba0 75%,#172e66)}
.live-home .live-competition-banner.live-public-hero::after{
  content:""!important;display:block!important;
  position:absolute;inset:0 0 0 auto!important;width:min(52%,680px)!important;height:100%!important;
  border:none!important;border-radius:0!important;clip-path:none!important;transform:none!important;
  background:var(--live-hero-image,none) center/cover no-repeat!important;
  opacity:.45!important;pointer-events:none!important;z-index:0;
  mask-image:linear-gradient(to right,transparent 0%,#000 55%)!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 55%)!important;
}
.live-home .live-competition-banner.live-public-hero>.live-competition-banner__art{
  display:none!important;
}
.live-home .live-competition-banner.live-public-hero>div:first-child{position:relative;z-index:2;max-width:min(100%,750px)}
.live-home .live-public-hero--archive::before{
  content:"2008  ·  2014  ·  2020  ·  2026";position:absolute;right:27px;bottom:18px;
  font-size:13px;letter-spacing:.16em;color:#e8eaf8;opacity:.6;pointer-events:none;z-index:2;
}
/* Il dettaglio squadra rimane senza foto duplicata nell'hero. */
.live-home .live-team-hero--identity{
  background:linear-gradient(112deg,#16346f 0%,#244b9f 100%);min-height:280px;
}
.live-home .live-team-hero--identity::after{display:none!important}
.live-team-hero__watermark{position:absolute;right:4%;top:-58px;font-size:260px;line-height:1;transform:rotate(-17deg);color:rgba(255,255,255,.075);pointer-events:none}
.live-team-hero__watermark i{font-size:inherit}

/* L'overview resta nel flusso e non si sovrappone al motto. */
.live-home-overview{display:grid;grid-template-columns:minmax(240px,1fr) minmax(400px,1.6fr);gap:28px;align-items:center;margin-top:25px;margin-bottom:26px;padding:29px 32px;border:1px solid #dfe7f6;border-radius:20px;background:linear-gradient(115deg,#fff,#f5f8ff);box-shadow:0 12px 28px rgba(23,47,109,.045)}
.live-home-overview__intro h2{font-size:clamp(22px,2.1vw,29px);font-weight:850;color:#173577;letter-spacing:-.035em;margin:7px 0}
.live-home-overview__intro p{font-size:14px;color:#687e9e;margin-bottom:11px}
.live-home-overview__intro a{color:#21409a;font-size:13px;font-weight:800;text-decoration:none}
.live-home-overview__figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.live-home-overview__figures>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;min-height:135px;padding:18px 19px;background:#fff;border:1px solid #e0e8f7;border-radius:15px}
.live-home-overview__figures i{color:#f37021;font-size:20px}
.live-home-overview__figures strong{font-size:clamp(25px,2.4vw,35px);line-height:1;font-weight:900;color:#173577}
.live-home-overview__figures span{font-size:13px;color:#637796;line-height:1.4}

@media(max-width:1000px){
 .live-home .live-hero--sports .live-hero__content{grid-template-columns:minmax(0,1fr) minmax(195px,245px);min-height:345px;gap:14px}
 
}
@media(max-width:767.98px){
 .live-home .live-hero--sports .live-hero__content{grid-template-columns:1fr;min-height:0;padding-top:40px;padding-bottom:37px;gap:22px}
 
 
 .live-home .live-competition-banner.live-public-hero::after{width:65%!important;opacity:.23!important}
 .live-home-overview{grid-template-columns:1fr;padding:20px;gap:18px}
 .live-home-overview__figures{gap:7px}
 .live-home-overview__figures>div{min-height:112px;padding:12px}
 .live-home-overview__figures span{font-size:10px}
 .live-team-hero__watermark{font-size:170px;top:5px}
}


/* 17.90: schede statistiche comuni a squadra, campionato e partita. */
.live-public-stats-section{margin:26px 0 30px}
.live-public-stats-section .live-team-section__heading{margin-bottom:18px}
.live-public-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 22px}
.live-public-metric{display:flex;flex-direction:column;gap:7px;align-items:flex-start;min-width:0;padding:19px 18px;border:1px solid #dce7f6;border-radius:15px;background:linear-gradient(160deg,#fff,#f8faff);box-shadow:0 7px 18px rgba(19,46,106,.045)}
.live-public-metric>i{font-size:21px;color:#f37021}
.live-public-metric__label{font-size:13px;font-weight:800;color:#506a90}
.live-public-metric__value{color:#173577;font-size:clamp(19px,2vw,26px);line-height:1.1;font-weight:850;overflow-wrap:anywhere}
.live-public-metric>small{font-size:11px;color:#7484a0;line-height:1.4}
.live-game-panel .live-public-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.live-game-panel .live-public-metric{padding:12px 10px}
.live-game-panel .live-public-metric__value{font-size:16px}
@media(max-width:850px){.live-public-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.live-game-panel .live-public-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.live-public-metrics{gap:8px}.live-public-metric{padding:13px 10px}.live-game-panel .live-public-metrics{grid-template-columns:1fr}.live-public-metric__value{font-size:19px}}


/* Livescore 17.91 · icone sport, hero e statistiche evidenti — tutte regole condivise. */
.live-side-nav__sport-symbol--ball,
.live-side-nav__group--sport summary:hover .live-side-nav__sport-symbol--ball{
  width:26px!important;height:26px!important;flex:0 0 26px!important;min-width:26px;
  border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;
}
.live-side-nav__sport-symbol--ball img{
  width:22px!important;height:22px!important;max-width:22px!important;object-fit:contain;
  filter:none!important;display:block;
}
/* L'hero della squadra valorizza lo stemma, non duplica la foto dei media. */
.live-home.live-team-detail .live-team-hero--identity{
  position:relative;isolation:isolate;overflow:hidden;min-height:305px;
  background:radial-gradient(ellipse at 80% 20%,rgba(108,164,255,.30),transparent 45%),
    repeating-linear-gradient(146deg,transparent 0,transparent 46px,rgba(255,255,255,.025) 47px,transparent 49px),
    linear-gradient(112deg,#0c275b 0%,#1d418d 55%,#315db0 100%);
}
.live-home.live-team-detail .live-team-hero--identity::after{
  content:""!important;display:block!important;position:absolute;inset:auto -4% -35% auto!important;
  width:52%!important;height:120%!important;border:2px solid rgba(255,255,255,.09)!important;
  border-radius:50%!important;clip-path:none!important;transform:rotate(-20deg)!important;
  background:none!important;mask:none!important;-webkit-mask:none!important;
  pointer-events:none;opacity:1!important;
}
.live-home .live-team-hero--identity .live-team-hero__watermark{
  position:absolute;inset:50% 5% auto auto;width:min(32%,300px);height:auto;
  transform:translateY(-50%) rotate(-8deg);opacity:.16;filter:grayscale(1) brightness(2.1);
  z-index:0;pointer-events:none;
}
.live-home .live-team-hero--identity .live-team-hero__watermark img{
  display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;
}
.live-home .live-team-hero--identity .live-team-hero__content,
.live-home .live-team-hero--identity .live-entity-hero-actions{position:relative;z-index:2}
/* Motto tipografico, piccolo e in basso: niente card o elementi flottanti. */
.live-home .live-hero--sports .live-hero__content{align-items:center;grid-template-columns:minmax(0,1fr) minmax(210px,290px)}
.live-home .live-hero--sports .live-hero__motto-inline{
  align-self:end;justify-self:end;max-width:290px;margin:0 0 34px;padding:0 0 0 16px;
  color:#fff;border:0;border-left:3px solid #ff9449;background:transparent;
  text-align:left;filter:drop-shadow(0 2px 5px rgba(0,0,0,.2));
}
.live-home .live-hero--sports .live-hero__motto-inline small{
  display:block;color:#f6be97;letter-spacing:.14em;font-size:10px;font-weight:800;margin-bottom:6px;
}
.live-home .live-hero--sports .live-hero__motto-inline strong{
  font-size:clamp(16px,1.5vw,21px);line-height:1.25;display:block;font-weight:850;letter-spacing:-.025em;
}
.live-home .live-hero--sports .live-hero__motto-inline em{color:#ffa36b;font-style:normal}
/* Le sezioni statistiche sono blocchi autonomi, subito dopo l'hero. */
.live-public-stats-section--game,.live-public-stats-section--league{
  padding:22px clamp(16px,2.5vw,28px);border-radius:20px;
  border:1px solid #dfe7f5;background:linear-gradient(120deg,#fff 0%,#f6f8fd 100%);
  box-shadow:0 12px 30px rgba(13,45,100,.055);margin:20px 0 26px;
}
.live-public-stats-section--game .live-team-section__heading,
.live-public-stats-section--league .live-team-section__heading{margin:0 0 12px}
.live-public-stats-section__subheading{display:flex;align-items:center;gap:9px;margin:24px 0 12px;color:#21409a}
.live-public-stats-section__subheading h3{font-size:17px;font-weight:850;margin:0}
.live-public-stats-section__subheading i{font-size:19px;color:#f37021}
.live-public-stats-section--game .live-public-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.live-public-stats-section--league .live-public-metrics{margin:12px 0 16px}
.live-public-stats-empty{margin:15px 0;color:#647c9e;font-weight:600}
@media(max-width:850px){
 .live-public-stats-section--game .live-public-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767.98px){
 .live-home.live-team-detail .live-team-hero--identity{min-height:265px}
 .live-home .live-team-hero--identity .live-team-hero__watermark{width:48%;right:1%;opacity:.08}
 .live-home .live-hero--sports .live-hero__content{grid-template-columns:1fr}
 .live-home .live-hero--sports .live-hero__motto-inline{
    align-self:end;justify-self:end;width:auto;max-width:100%;margin:0 0 0 auto;padding-left:12px;
 }
 .live-home .live-hero--sports .live-hero__motto-inline strong{font-size:16px}
 .live-public-stats-section--game,.live-public-stats-section--league{padding:17px 13px}
}
@media(max-width:480px){
 .live-public-stats-section--game .live-public-metrics{grid-template-columns:1fr 1fr}
 .live-public-stats-section--game .live-public-metric{padding:12px 10px}
 .live-public-stats-section--game .live-public-metric__value{font-size:17px}
}
/* Nessun ovale residuo nell'hero squadra: il fondale resta fotografico-free, a texture diagonale. */
.live-home.live-team-detail .live-team-hero--identity::after,
.live-home.live-team-detail .live-team-hero--identity::before{display:none!important}

/* 17.92 · Statistiche vicino alla probabilità, navigazione per ancore. */
#match-overview,#league-numbers{scroll-margin-top:110px}
.live-game-panel .live-public-stats-section--embedded{
  margin:20px 0 0;padding:19px 0 0;border:0;border-top:1px solid #dfe7f5;
  border-radius:0;background:none;box-shadow:none;
}
.live-game-panel .live-public-stats-section--embedded .live-team-section__heading{
  display:flex;flex-wrap:wrap;align-items:flex-end;gap:5px 16px;margin:0 0 12px;
}
.live-game-panel .live-public-stats-section--embedded .live-team-section__heading h2{font-size:clamp(18px,1.5vw,23px);margin:0}
.live-game-panel .live-public-stats-section--embedded .live-team-section__heading>span{font-size:13px;color:#71819a}
.live-game-panel .live-public-stats-section--embedded .live-public-metrics{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0 0;
}
.live-game-panel .live-public-stats-section--embedded .live-public-metric{
  padding:12px;min-width:0;box-shadow:none;background:#f8faff;
}
.live-game-panel .live-public-stats-section--embedded .live-public-metric__value{font-size:clamp(15px,1.4vw,18px)}
@media(max-width:540px){
  .live-game-panel .live-public-stats-section--embedded .live-public-metrics{grid-template-columns:1fr}
}


/* Fase 17.92b: mobile drawer, ordine stacking coerente tra pannello e backdrop.
   Il backdrop non deve coprire il menu aperto e intercettarne i tocchi.
   La testata resta al suo livello e il drawer comincia sotto di essa. */
@media (max-width:991.98px) {
  .live-unified-shell .live-sidebar,
  .live-home .live-sidebar {
    z-index:1042 !important;
  }
  .live-unified-shell .live-sidebar-backdrop,
  .live-home .live-sidebar-backdrop {
    z-index:1040 !important;
  }
  .live-unified-shell.sidebar-open .live-sidebar-backdrop,
  .live-home.sidebar-open .live-sidebar-backdrop {
    opacity:1;
    pointer-events:auto;
  }
  .live-unified-shell.sidebar-open .live-sidebar,
  .live-home.sidebar-open .live-sidebar {
    pointer-events:auto;
  }
  .live-menu-toggle {
    width:46px !important;
    height:46px !important;
    min-width:46px;
    min-height:46px;
    padding:0;
    border-radius:12px;
    font-size:24px;
  }
  .live-menu-toggle > .bi,
  .live-menu-toggle > i { font-size:24px; line-height:1; }
}

