/* Legalofe V2.41 - Home desktop nello stile Risultati. Mobile invariato. */
@media (min-width:801px){
  body.page-home .home-live,
  body.page-home .home-box{background:#fff!important;border:1px solid #dce3eb!important;border-radius:14px!important;box-shadow:0 3px 12px rgba(20,45,72,.05)!important;color:#17283b!important;overflow:hidden}
  body.page-home .home-box{padding:1rem!important}
  body.page-home .home-box>header{margin:-1rem -1rem .8rem!important;padding:9px 12px!important;background:#082c47!important;border:0!important;color:#fff!important}
  body.page-home .home-box>header h2,body.page-home .home-box>header strong{color:#fff!important;font-weight:650!important}
  body.page-home .home-box>header span,body.page-home .home-box>header a{color:#dce9f3!important;font-weight:400!important}
  body.page-home .home-live{padding:0!important}
  body.page-home .home-live-heading{margin:0!important;padding:10px 14px!important;background:#082c47!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
  body.page-home .home-live-heading h2,body.page-home .home-live-heading>span{color:#fff!important}
  body.page-home .home-live-heading h2{font-weight:650!important}
  body.page-home .home-live-heading>a{color:#dce9f3!important}
  body.page-home .home-live-selector{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;background:#fff!important}
  body.page-home .home-live-selector>a{min-height:116px!important;border:0!important;border-right:1px solid #e5eaf0!important;border-radius:0!important;background:#fff!important;color:#17283b!important;box-shadow:none!important}
  body.page-home .home-live-selector>a:last-child{border-right:0!important}
  body.page-home .home-live-selector strong{color:#17283b!important;font-weight:550!important}
  body.page-home .home-live-selector b{background:#082c47!important;color:#fff!important;border-radius:7px!important;font-weight:700!important}
  body.page-home .home-live-refresh{margin:0!important;padding:8px 12px!important;border-top:1px solid #edf0f4!important;background:#fafbfc!important}
  body.page-home .home-results{margin:0 -1rem -1rem!important;width:calc(100% + 2rem)!important;background:#fff!important}
  body.page-home .home-results a{padding:9px 14px!important;border-bottom:1px solid #edf0f4!important;background:#fff!important;color:#17283b!important}
  body.page-home .home-results a:nth-child(even){background:#f7f9fb!important}
  body.page-home .home-results a:hover{background:#eef3f7!important}
  body.page-home .home-result-team{color:#17283b!important;font-weight:550!important}
  body.page-home .home-results a>b{background:#082c47!important;color:#fff!important;border-radius:7px!important;font-weight:700!important}
  body.page-home .next-turn-list,body.page-home .mini-standing{margin:0 -1rem -1rem!important;width:calc(100% + 2rem)!important;background:#fff!important}
  body.page-home .next-turn-list a,body.page-home .mini-standing>div{padding:8px 12px!important;border-bottom:1px solid #edf0f4!important;background:#fff!important;color:#17283b!important}
  body.page-home .next-turn-list a:nth-child(even),body.page-home .mini-standing>div:nth-child(odd){background:#f7f9fb!important}
  body.page-home .next-turn-list span,body.page-home .mini-standing span,body.page-home .mini-standing b,body.page-home .mini-standing strong{color:#17283b!important}
  body.page-home .mini-standing-head{background:#082c47!important;color:#fff!important;text-transform:uppercase!important;font-size:.68rem!important;letter-spacing:.04em!important}
  body.page-home .mini-standing-head span,body.page-home .mini-standing-head b{color:#fff!important}
  body.page-home .mini-standing strong{color:#082c47!important}
  body.page-home .deadline-box{background:#fff!important;color:#17283b!important}
  body.page-home .deadline-box h2{color:#17283b!important;font-weight:650!important}
  body.page-home .deadline-box>strong{color:#082c47!important}
  body.page-home .deadline-box>small,body.page-home .home-empty{color:#607086!important}
  body.page-home .big-match-box>div,body.page-home .team-performance{color:#17283b!important}
  body.page-home .big-match-box strong,body.page-home .team-performance strong{color:#17283b!important}
  body.page-home .big-match-box small,body.page-home .big-match-box p,body.page-home .team-performance>small{color:#607086!important}
  body.page-home .team-performance>span{color:#082c47!important}
}

/* Final Home alignment: results one match per row and scorer photos visible. */
@media (min-width:801px){
  body.page-home .home-results-above-topflop .home-results{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
  }
  body.page-home .home-results-above-topflop .home-results>a{
    width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)!important;
  }
}

body.page-home .home-scorers-table .home-scorer-row{
  grid-template-columns:34px minmax(0,1fr) 35px!important;
}
body.page-home .home-scorer-face{
  width:30px!important;
  height:30px!important;
  border-radius:50%!important;
  object-fit:cover!important;
}
@media (max-width:800px){
  body.page-home .home-scorers-table .home-scorer-row{
    grid-template-columns:34px minmax(0,1fr) 42px!important;
  }
}

/* V2.42 - blocchi informativi recuperati dalla Home Sails.js. SOLO DESKTOP. */
@media (min-width:801px){
  body.page-home .desktop-sails-extras{display:block}
  /* V2.44 - Home desktop: colonna principale più ampia della laterale */
  body.page-home .home-old-dashboard{
    display:grid!important;
    grid-template-columns:minmax(0,3fr) minmax(260px,1fr)!important;
    gap:1.25rem!important;
    align-items:start!important;
  }
  body.page-home .home-main-column,
  body.page-home .home-side-column{min-width:0!important}
  body.page-home .home-team-strip{margin-bottom:1rem}
  body.page-home .home-team-logos{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:0!important;margin:0 -1rem -1rem!important;padding:12px 8px!important;background:#fff!important}
  body.page-home .home-team-logos a{display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important;padding:4px!important;color:#26384a!important;text-decoration:none!important;min-width:0!important}
  body.page-home .home-team-logos img{width:48px!important;height:48px!important;object-fit:contain!important;filter:none!important}
  body.page-home .home-team-logos small{max-width:100%!important;font-size:.67rem!important;font-weight:500!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.page-home .home-day-performance{margin-bottom:1rem}
  body.page-home .home-topflop-columns{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin:0 -1rem -1rem!important}
  body.page-home .home-topflop-columns>div:first-child{border-right:1px solid #e5eaf0!important}
  body.page-home .home-topflop-columns h3{margin:0!important;padding:8px 12px!important;background:#f2f5f8!important;color:#40546a!important;font-size:.72rem!important;font-weight:650!important;text-transform:uppercase!important;letter-spacing:.05em!important;border-bottom:1px solid #e5eaf0!important}
  body.page-home .home-player-row{display:grid!important;grid-template-columns:22px 24px minmax(0,1fr) 42px!important;align-items:center!important;gap:7px!important;padding:6px 11px!important;border-bottom:1px solid #edf0f4!important;background:#fff!important;min-height:42px!important}
  body.page-home .home-player-row:nth-of-type(odd){background:#f8fafb!important}
  body.page-home .home-player-row>em{font-style:normal!important;color:#8a98a7!important;font-size:.68rem!important;text-align:center!important}
  body.page-home .home-player-row>span:nth-child(3){min-width:0!important}
  body.page-home .home-player-row strong{display:block!important;color:#25384b!important;font-size:.76rem!important;font-weight:540!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.page-home .home-player-row small{display:block!important;color:#7b8997!important;font-size:.64rem!important;font-weight:400!important}
  body.page-home .home-player-row>b{color:#082c47!important;font-size:.82rem!important;font-weight:650!important;text-align:right!important}
  body.page-home .player-role{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;border-radius:5px!important;color:#fff!important;font-size:.62rem!important;font-weight:700!important}
  body.page-home .role-p{background:#b78b2d!important}.role-d{background:#4b8b62!important}.role-c{background:#477fa6!important}.role-a{background:#b65c61!important}
  body.page-home .home-sails-summary-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:1rem!important;margin-bottom:1rem!important}
  body.page-home .home-scorers-table{margin:0 -1rem -1rem!important}
  body.page-home .home-scorers-table>div{display:grid!important;grid-template-columns:22px 24px minmax(0,1fr) 35px!important;align-items:center!important;gap:7px!important;padding:7px 11px!important;border-bottom:1px solid #edf0f4!important}
  body.page-home .home-scorers-table>div:nth-child(even){background:#f8fafb!important}
  body.page-home .home-scorers-table em{font-style:normal!important;color:#8a98a7!important;font-size:.68rem!important;text-align:center!important}
  body.page-home .home-scorers-table strong{display:block!important;color:#25384b!important;font-size:.76rem!important;font-weight:540!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.page-home .home-scorers-table small{display:block!important;color:#7b8997!important;font-size:.64rem!important}
  body.page-home .home-scorers-table b{color:#082c47!important;text-align:center!important;font-size:.9rem!important}
  body.page-home .home-top-player>div{min-height:170px!important;display:grid!important;grid-template-columns:auto 1fr auto!important;grid-template-rows:auto auto!important;align-content:center!important;align-items:center!important;gap:5px 10px!important;padding:18px!important}
  body.page-home .home-top-player>div>.player-role{grid-row:1/3!important}
  body.page-home .home-top-player>div>strong{color:#25384b!important;font-size:1rem!important;font-weight:550!important}
  body.page-home .home-top-player>div>small{color:#7b8997!important;font-size:.72rem!important}
  body.page-home .home-top-player>div>b{grid-column:3!important;grid-row:1/3!important;color:#082c47!important;font-size:1.65rem!important;font-weight:650!important}
}
@media (max-width:800px){body.page-home .desktop-sails-extras{display:none!important}}

/* V2.45 - forza proporzione Home desktop 75/25; cache-bust v245 */
@media (min-width:801px){
  body.page-home section.home-old-dashboard{
    display:grid!important;
    grid-template-columns:calc(75% - .625rem) calc(25% - .625rem)!important;
    column-gap:1.25rem!important;
    width:100%!important;
  }
  body.page-home section.home-old-dashboard > .home-main-column{grid-column:1!important;width:auto!important;max-width:none!important;min-width:0!important}
  body.page-home section.home-old-dashboard > .home-side-column{grid-column:2!important;width:auto!important;max-width:none!important;min-width:0!important}
}


/* V2.46 - Live desktop più compatto, allineato al layout 75/25 e staccato dall'hero. */
@media (min-width:801px){
  body.page-home .home-live-desktop{
    width:calc(100% - 2rem)!important;
    max-width:1180px!important;
    margin:18px auto 1.1rem!important;
    border-radius:12px!important;
    overflow:hidden!important;
  }
  body.page-home .home-live-heading{padding:7px 12px!important;min-height:38px!important}
  body.page-home .home-live-heading h2{font-size:1rem!important;margin:0!important}
  body.page-home .home-live-heading>span,
  body.page-home .home-live-heading>a{font-size:.72rem!important}
  body.page-home .home-live-selector>a{
    min-height:82px!important;
    padding:7px 6px!important;
  }
  body.page-home .home-live-selector img{width:30px!important;height:30px!important;object-fit:contain!important}
  body.page-home .home-live-selector strong{font-size:.68rem!important;line-height:1.15!important}
  body.page-home .home-live-selector b{font-size:.78rem!important;padding:3px 6px!important}
  body.page-home .home-live-refresh{padding:5px 10px!important}
  body.page-home .home-live-refresh .button{padding:5px 9px!important;font-size:.7rem!important}
}


/* V2.47 - Desktop: colonna destra più larga e Live esattamente allineato alle colonne sottostanti. */
@media (min-width:801px){
  body.page-home section.home-old-dashboard{
    grid-template-columns:minmax(0,70fr) minmax(310px,30fr)!important;
  }
  body.page-home section.home-old-dashboard > .home-side-column{
    min-width:310px!important;
  }
  body.page-home .home-side-column .next-turn-list a,
  body.page-home .home-side-column .home-results a,
  body.page-home .home-side-column .mini-standing > div{
    white-space:nowrap!important;
  }
  body.page-home .home-live-desktop{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    margin:18px 0 1.1rem!important;
  }
}

/* V2.48 - Home desktop: rapporto 70:40, Live allineato e tabelle coordinate alla pagina Risultati. */
@media (min-width:801px){
  /* 70:40 = rapporto tra le due colonne (circa 64% / 36% dello spazio disponibile). */
  body.page-home section.home-old-dashboard{
    display:grid!important;
    grid-template-columns:minmax(0,70fr) minmax(340px,40fr)!important;
    gap:1.25rem!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
  body.page-home section.home-old-dashboard > .home-main-column,
  body.page-home section.home-old-dashboard > .home-side-column{
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
  }
  body.page-home section.home-old-dashboard > .home-side-column{min-width:340px!important}

  /* Il Live usa gli stessi identici bordi esterni del blocco a due colonne. */
  body.page-home .home-live-desktop{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:18px 0 1.25rem 0!important;
    box-sizing:border-box!important;
    border:1px solid #dce3eb!important;
    border-radius:14px!important;
    box-shadow:0 3px 12px rgba(20,45,72,.05)!important;
  }

  /* Linguaggio grafico della pagina Risultati: card bianche, bordi fini, testate petrolio. */
  body.page-home .home-box,
  body.page-home .home-live-desktop{
    background:#fff!important;
    border-color:#dce3eb!important;
    border-radius:14px!important;
    box-shadow:0 3px 12px rgba(20,45,72,.05)!important;
  }
  body.page-home .home-box>header,
  body.page-home .home-live-heading{
    background:#082c47!important;
    color:#f2f6f9!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
    font-weight:600!important;
    letter-spacing:.01em!important;
  }
  body.page-home .home-box>header h2,
  body.page-home .home-live-heading h2{font-weight:600!important;color:#f2f6f9!important}

  /* Righe come tabellino Risultati: compatte, bianche/alternate e separatori sottili. */
  body.page-home .home-results a,
  body.page-home .next-turn-list a,
  body.page-home .mini-standing>div,
  body.page-home .home-player-row,
  body.page-home .home-scorers-table>div{
    border-bottom:1px solid #edf0f4!important;
    color:#17283b!important;
    box-shadow:none!important;
  }
  body.page-home .home-results a:nth-child(even),
  body.page-home .next-turn-list a:nth-child(even),
  body.page-home .mini-standing>div:nth-child(odd),
  body.page-home .home-player-row:nth-of-type(odd),
  body.page-home .home-scorers-table>div:nth-child(even){background:#f4f7fa!important}
  body.page-home .home-results a:nth-child(odd),
  body.page-home .next-turn-list a:nth-child(odd){background:#fff!important}

  /* Intestazioni interne coordinate alla testata Giocatore/Voto/Eventi/Fanta. */
  body.page-home .home-topflop-columns h3,
  body.page-home .mini-standing-head{
    background:#082c47!important;
    color:#f2f6f9!important;
    border-color:rgba(255,255,255,.10)!important;
    font-weight:600!important;
    letter-spacing:.045em!important;
  }

  /* Nomi meno marcati, come nel tabellino Risultati. */
  body.page-home .home-player-row strong,
  body.page-home .home-scorers-table strong,
  body.page-home .home-result-team,
  body.page-home .next-turn-list span,
  body.page-home .mini-standing span{font-weight:500!important}

  /* Evita gli a-capo nella colonna destra dove lo spazio ora è maggiore. */
  body.page-home .home-side-column .next-turn-list a,
  body.page-home .home-side-column .mini-standing>div,
  body.page-home .home-side-column .big-match-box strong,
  body.page-home .home-side-column .team-performance strong{white-space:nowrap!important}
}


/* V2.49 - Rifiniture Home desktop: ruolo Top/Flop a trattino e Prossimo turno più leggero. */
@media (min-width:801px){
  body.page-home .home-topflop-columns .player-role{
    font-size:1.05rem!important;
    font-weight:500!important;
    line-height:1!important;
    background:transparent!important;
    border-radius:0!important;
  }
  body.page-home .home-side-column .next-turn-list a,
  body.page-home .home-side-column .next-turn-list span,
  body.page-home .home-side-column .next-turn-list b,
  body.page-home .home-side-column .next-turn-list i{
    font-weight:400!important;
  }
  body.page-home .home-side-column .next-turn-list span{
    font-size:.92rem!important;
    letter-spacing:0!important;
  }
}


/* V2.50 - Top/Flop senza numerazione, trattini ruolo visibili, Prossimo turno più compatto. */
@media (min-width:801px){
  body.page-home .home-topflop-columns .home-player-row{
    grid-template-columns:24px minmax(0,1fr) 42px!important;
  }
  body.page-home .home-topflop-columns .home-player-row>span:nth-child(2){min-width:0!important}
  body.page-home .home-topflop-columns .player-role{
    width:22px!important;height:22px!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    background:transparent!important;font-size:0!important;
  }
  body.page-home .home-topflop-columns .player-role::before{
    content:"";display:block;width:15px;height:3px;border-radius:2px;background:#8a98a7;
  }
  body.page-home .home-topflop-columns .player-role.role-p::before{background:#b78b2d!important}
  body.page-home .home-topflop-columns .player-role.role-d::before{background:#4b8b62!important}
  body.page-home .home-topflop-columns .player-role.role-c::before{background:#477fa6!important}
  body.page-home .home-topflop-columns .player-role.role-a::before{background:#b65c61!important}
  body.page-home .home-side-column .next-turn-list span{font-size:.82rem!important}
  body.page-home .home-side-column .next-turn-list a{font-size:.82rem!important;padding-top:7px!important;padding-bottom:7px!important}
}


/* V2.51 - Home desktop: linea verticale ruoli Top/Flop e Risultati più uniforme/compatto. */
@media (min-width:801px){
  body.page-home .home-topflop-columns .player-role{
    width:10px!important;
    height:27px!important;
    display:block!important;
    position:relative!important;
    background:transparent!important;
    border-radius:0!important;
    font-size:0!important;
  }
  body.page-home .home-topflop-columns .player-role::before{
    content:""!important;
    position:absolute!important;
    left:2px!important;
    top:3px!important;
    bottom:3px!important;
    width:3px!important;
    height:auto!important;
    border-radius:2px!important;
  }
  body.page-home .home-topflop-columns .home-player-row{
    grid-template-columns:10px minmax(0,1fr) 42px!important;
    column-gap:7px!important;
  }
  body.page-home .home-side-column .home-results a{
    grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important;
    gap:7px!important;
    padding:7px 10px!important;
    min-height:36px!important;
    font-size:.76rem!important;
    line-height:1.15!important;
  }
  body.page-home .home-side-column .home-results .home-result-team{
    font-size:.76rem!important;
    font-weight:430!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.page-home .home-side-column .home-results .home-result-team.away{text-align:right!important}
  body.page-home .home-side-column .home-results a>b{
    font-size:.75rem!important;
    font-weight:650!important;
    padding:4px 5px!important;
    min-width:38px!important;
    text-align:center!important;
  }
  body.page-home .home-side-column .home-results img{display:none!important}
}

/* V2.52 - Classifica leggibile, modulo Top/Flop e Cannonieri paginati. Solo desktop. */
@media (min-width:801px){
  /* Classifica: intestazione ben separata e sempre leggibile. */
  body.page-home .home-side-column .mini-standing .mini-standing-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 34px 28px 28px 28px!important;
    align-items:center!important;
    gap:4px!important;
    padding:8px 10px!important;
    background:#082c47!important;
    color:#fff!important;
  }
  body.page-home .home-side-column .mini-standing .mini-standing-head span,
  body.page-home .home-side-column .mini-standing .mini-standing-head b{
    display:block!important;color:#fff!important;font-size:.66rem!important;font-weight:600!important;
    line-height:1!important;text-align:center!important;opacity:1!important;visibility:visible!important;
  }
  body.page-home .home-side-column .mini-standing .mini-standing-head span{text-align:left!important}
  body.page-home .home-side-column .mini-standing>div:not(.mini-standing-head){
    display:grid!important;grid-template-columns:minmax(0,1fr) 34px 28px 28px 28px!important;gap:4px!important;align-items:center!important;
  }

  /* Selettore modulo nella testata Top / Flop. */
  body.page-home .home-day-performance>header{display:flex!important;align-items:center!important;gap:12px!important}
  body.page-home .home-day-performance>header h2{margin-right:auto!important}
  body.page-home .home-module-form{display:flex!important;align-items:center!important;gap:6px!important;margin:0!important}
  body.page-home .home-module-form label{font-size:.65rem!important;color:#dce9f3!important;font-weight:400!important}
  body.page-home .home-module-form select{
    height:28px!important;padding:2px 25px 2px 8px!important;border:1px solid rgba(255,255,255,.28)!important;
    border-radius:6px!important;background:#fff!important;color:#082c47!important;font-size:.72rem!important;font-weight:550!important;
  }

  /* Cannonieri: vera testata, linea verticale ruolo, 10 righe per pagina. */
  body.page-home .home-scorers-head{
    display:grid!important;grid-template-columns:30px minmax(0,1fr) 42px!important;gap:8px!important;align-items:center!important;
    margin:0 -1rem!important;padding:7px 12px!important;background:#eef3f7!important;border-bottom:1px solid #dce3eb!important;
    color:#607086!important;font-size:.64rem!important;text-transform:uppercase!important;letter-spacing:.04em!important;
  }
  body.page-home .home-scorers-head>span:first-child{text-align:center!important}
  body.page-home .home-scorers-head b{text-align:center!important;font-weight:600!important}
  body.page-home .home-scorers-table>div{
    grid-template-columns:30px minmax(0,1fr) 42px!important;gap:8px!important;padding:8px 12px!important;min-height:42px!important;
  }
  body.page-home .home-scorers-table .scorer-name{position:relative!important;padding-left:10px!important;min-width:0!important}
  body.page-home .home-scorers-table .scorer-name::before{
    content:""!important;position:absolute!important;left:0!important;top:2px!important;bottom:2px!important;width:3px!important;border-radius:2px!important;background:#8a98a7!important;
  }
  body.page-home .home-scorers-table .role-p::before{background:#b78b2d!important}
  body.page-home .home-scorers-table .role-d::before{background:#4b8b62!important}
  body.page-home .home-scorers-table .role-c::before{background:#477fa6!important}
  body.page-home .home-scorers-table .role-a::before{background:#b65c61!important}
  body.page-home .home-scorers-table em{font-size:.7rem!important;color:#7b8997!important}
  body.page-home .home-scorers-table strong{font-size:.76rem!important;font-weight:500!important;color:#25384b!important}
  body.page-home .home-scorers-table small{font-size:.63rem!important;color:#7b8997!important}
  body.page-home .home-scorers-table b{font-size:.82rem!important;font-weight:650!important;color:#082c47!important}
  body.page-home .home-scorers-pages{
    display:flex!important;justify-content:center!important;gap:5px!important;margin:0 -1rem -1rem!important;padding:9px 10px!important;
    border-top:1px solid #edf0f4!important;background:#fafbfc!important;
  }
  body.page-home .home-scorers-pages button{
    min-width:28px!important;height:27px!important;padding:0 7px!important;border:1px solid #dce3eb!important;border-radius:6px!important;
    background:#fff!important;color:#082c47!important;font-size:.68rem!important;font-weight:550!important;cursor:pointer!important;
  }
  body.page-home .home-scorers-pages button.active{background:#082c47!important;color:#fff!important;border-color:#082c47!important}
}


/* V2.58 - Cannonieri Home desktop: max 10 per pagina e stile coerente Top/Flop. */
@media (min-width:801px){
  body.page-home .home-scorers-box{overflow:hidden!important;background:#fff!important}
  body.page-home .home-scorers-box>header{background:#082c47!important;color:#fff!important}
  body.page-home .home-scorers-head{
    display:grid!important;grid-template-columns:34px minmax(0,1fr) 46px!important;align-items:center!important;gap:8px!important;
    margin:0 -1rem!important;padding:8px 12px!important;background:#082c47!important;color:#fff!important;
    border-top:1px solid rgba(255,255,255,.08)!important;border-bottom:1px solid rgba(255,255,255,.12)!important;
    font-size:.65rem!important;font-weight:500!important;text-transform:uppercase!important;letter-spacing:.045em!important
  }
  body.page-home .home-scorers-head span:first-child,body.page-home .home-scorers-head b{text-align:center!important;color:#fff!important}
  body.page-home .home-scorers-table{margin:0 -1rem!important;background:#fff!important}
  body.page-home .home-scorers-table .home-scorer-row{
    display:grid!important;grid-template-columns:34px minmax(0,1fr) 46px!important;align-items:center!important;gap:8px!important;
    min-height:44px!important;padding:7px 12px!important;background:#fff!important;border-bottom:1px solid #edf0f4!important
  }
  body.page-home .home-scorers-table .home-scorer-row:nth-child(even){background:#f7f9fb!important}
  body.page-home .home-scorers-table .home-scorer-row[hidden]{display:none!important}
  body.page-home .home-scorers-table em{font-style:normal!important;text-align:center!important;color:#8a98a7!important;font-size:.69rem!important;font-weight:400!important}
  body.page-home .home-scorers-table .scorer-name{position:relative!important;display:block!important;min-width:0!important;padding-left:11px!important}
  body.page-home .home-scorers-table .scorer-name:before{content:""!important;position:absolute!important;left:0!important;top:1px!important;bottom:1px!important;width:3px!important;border-radius:2px!important;background:#8a98a7!important}
  body.page-home .home-scorers-table .role-p:before{background:#b78b2d!important}
  body.page-home .home-scorers-table .role-d:before{background:#4b8b62!important}
  body.page-home .home-scorers-table .role-c:before{background:#477fa6!important}
  body.page-home .home-scorers-table .role-a:before{background:#b65c61!important}
  body.page-home .home-scorers-table strong{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#25384b!important;font-size:.75rem!important;font-weight:500!important;line-height:1.15!important}
  body.page-home .home-scorers-table small{display:block!important;margin-top:2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#7b8997!important;font-size:.62rem!important;font-weight:400!important}
  body.page-home .home-scorers-table b{text-align:center!important;color:#082c47!important;font-size:.84rem!important;font-weight:650!important}
  body.page-home .home-scorers-pages{display:flex!important;justify-content:center!important;align-items:center!important;gap:5px!important;margin:0 -1rem -1rem!important;padding:9px 10px!important;background:#fafbfc!important;border-top:1px solid #e4e9ee!important}
  body.page-home .home-scorers-pages button{min-width:28px!important;height:27px!important;padding:0 7px!important;border:1px solid #dce3eb!important;border-radius:6px!important;background:#fff!important;color:#607086!important;font-size:.68rem!important;font-weight:500!important;cursor:pointer!important}
  body.page-home .home-scorers-pages button:hover{background:#eef3f7!important;color:#082c47!important}
  body.page-home .home-scorers-pages button.active{background:#082c47!important;border-color:#082c47!important;color:#fff!important}
}


/* V2.59 - Cannonieri: niente numerazione, nomi neutri, linea verticale ruolo. Desktop. */
@media (min-width:801px){
  body.page-home .home-scorers-head{grid-template-columns:minmax(0,1fr) 42px!important;padding-left:12px!important}
  body.page-home .home-scorers-head>span:first-child{text-align:left!important;padding-left:11px!important}
  body.page-home .home-scorers-table .home-scorer-row{grid-template-columns:minmax(0,1fr) 42px!important;padding-left:12px!important}
  body.page-home .home-scorers-table em{display:none!important}
  body.page-home .home-scorers-table strong{color:#25384b!important;font-weight:500!important}
  body.page-home .home-scorers-table .scorer-name:before{display:block!important;content:""!important;position:absolute!important;left:0!important;top:1px!important;bottom:1px!important;width:3px!important;border-radius:2px!important}
  body.page-home .home-scorers-table .role-p:before{background:#b78b2d!important}
  body.page-home .home-scorers-table .role-d:before{background:#4b8b62!important}
  body.page-home .home-scorers-table .role-c:before{background:#477fa6!important}
  body.page-home .home-scorers-table .role-a:before{background:#b65c61!important}
}


/* V2.60 - Fix definitivo Cannonieri: classe ruolo dedicata, senza conflitti con i badge globali. */
@media (min-width:801px){
  body.page-home .home-scorers-table .home-scorer-row{
    grid-template-columns:minmax(0,1fr) 42px!important;
  }
  body.page-home .home-scorers-table .scorer-name{
    position:relative!important;display:block!important;padding-left:12px!important;
    background:transparent!important;color:#25384b!important;border:0!important;
  }
  body.page-home .home-scorers-table .scorer-name strong{
    color:#25384b!important;background:transparent!important;font-weight:500!important;
  }
  body.page-home .home-scorers-table .scorer-name:before{
    content:""!important;display:block!important;position:absolute!important;left:0!important;top:1px!important;bottom:1px!important;width:3px!important;border-radius:2px!important;background:#8a98a7!important;
  }
  body.page-home .home-scorers-table .scorer-role-p:before{background:#b78b2d!important}
  body.page-home .home-scorers-table .scorer-role-d:before{background:#4b8b62!important}
  body.page-home .home-scorers-table .scorer-role-c:before{background:#477fa6!important}
  body.page-home .home-scorers-table .scorer-role-a:before{background:#b65c61!important}
}

/* V2.61 - Classifica soft + Top/Flop Team al posto di Top Player (solo desktop) */
@media (min-width:801px){
  body.page-home .mini-standing>div:not(.mini-standing-head) span,
  body.page-home .mini-standing>div:not(.mini-standing-head) strong,
  body.page-home .mini-standing>div:not(.mini-standing-head) b{
    font-weight:400!important;
    font-size:.78rem!important;
  }
  body.page-home .mini-standing>div:not(.mini-standing-head) strong{font-weight:550!important;}
  body.page-home .mini-standing>div:not(.mini-standing-head) span em{font-weight:400!important;}

  body.page-home .home-team-performance-stack{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    min-width:0!important;
  }
  body.page-home .home-team-performance-stack .team-performance{
    margin:0!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    column-gap:10px!important;
    padding:12px 14px!important;
    background:#fff!important;
  }
  body.page-home .home-team-performance-stack .team-performance h2{
    grid-column:1/-1!important;
    margin:-12px -14px 10px!important;
    padding:8px 12px!important;
    background:#082c47!important;
    color:#fff!important;
    font-size:.82rem!important;
    font-weight:600!important;
  }
  body.page-home .home-team-performance-stack .team-performance img{
    width:38px!important;height:38px!important;object-fit:contain!important;grid-row:2/4!important;
  }
  body.page-home .home-team-performance-stack .team-performance strong{
    font-size:.86rem!important;font-weight:500!important;color:#25384b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  body.page-home .home-team-performance-stack .team-performance span{
    font-size:.78rem!important;font-weight:550!important;color:#082c47!important;white-space:nowrap!important;
  }
}

/* V2.62 - Big Match bianco + Top/Flop Team più leggibili (solo desktop) */
@media (min-width:801px){
  /* Big Match: corpo bianco, titolo invariato */
  body.page-home .big-match-box{background:#fff!important;}
  body.page-home .big-match-box>div,
  body.page-home .big-match-box>p{background:#fff!important;}
  body.page-home .big-match-box>header{background:#082c47!important;}

  /* Top/Flop Team: card più ariose, logo più grande e titolo ordinato */
  body.page-home .home-team-performance-stack{gap:14px!important;}
  body.page-home .home-team-performance-stack .team-performance{
    grid-template-columns:64px minmax(0,1fr) auto!important;
    grid-template-rows:auto minmax(58px,auto)!important;
    column-gap:14px!important;
    row-gap:0!important;
    padding:14px 16px!important;
    border:1px solid #dce3eb!important;
    border-radius:14px!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  body.page-home .home-team-performance-stack .team-performance h2{
    grid-column:1/-1!important;
    grid-row:1!important;
    margin:-14px -16px 12px!important;
    padding:9px 14px!important;
    min-height:34px!important;
    display:flex!important;
    align-items:center!important;
    background:#082c47!important;
    color:#fff!important;
    font-size:.86rem!important;
    line-height:1.15!important;
    font-weight:600!important;
    letter-spacing:.01em!important;
  }
  body.page-home .home-team-performance-stack .team-performance img{
    grid-column:1!important;
    grid-row:2!important;
    width:58px!important;
    height:58px!important;
    object-fit:contain!important;
    align-self:center!important;
  }
  body.page-home .home-team-performance-stack .team-performance strong{
    grid-column:2!important;
    grid-row:2!important;
    align-self:center!important;
    color:#25384b!important;
    font-size:.92rem!important;
    line-height:1.2!important;
    font-weight:500!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  body.page-home .home-team-performance-stack .team-performance span{
    grid-column:3!important;
    grid-row:2!important;
    align-self:center!important;
    color:#082c47!important;
    font-size:.82rem!important;
    font-weight:550!important;
    white-space:nowrap!important;
  }
}


/* V2.63 - Fix visivo effettivo Big Match + Top/Flop Team (solo desktop) */
@media (min-width:801px){
  /* Big Match: tutto il contenuto sotto la testata è bianco, senza zone scure residue. */
  body.page-home .home-side-column .big-match-box{
    background:#fff!important;
    color:#25384b!important;
  }
  body.page-home .home-side-column .big-match-box>header{
    background:#082c47!important;
  }
  body.page-home .home-side-column .big-match-box>header,
  body.page-home .home-side-column .big-match-box>header *{
    color:#fff!important;
  }
  body.page-home .home-side-column .big-match-box>div,
  body.page-home .home-side-column .big-match-box>div>span,
  body.page-home .home-side-column .big-match-box>div>b,
  body.page-home .home-side-column .big-match-box>p,
  body.page-home .home-side-column .big-match-box>p *{
    background:#fff!important;
    background-image:none!important;
    color:#25384b!important;
  }
  body.page-home .home-side-column .big-match-box>div{
    margin:0!important;
    padding:14px 12px 10px!important;
  }
  body.page-home .home-side-column .big-match-box>p{
    margin:0!important;
    padding:8px 12px 13px!important;
    border-top:1px solid #edf0f4!important;
  }

  /* Top/Flop Team: header reale come le altre tabelle + corpo separato e logo grande. */
  body.page-home .home-team-performance-stack .team-performance{
    display:block!important;
    padding:0!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-head{
    display:block!important;
    margin:0!important;
    padding:0!important;
    background:#082c47!important;
    border:0!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-head h2{
    display:block!important;
    margin:0!important;
    padding:10px 14px!important;
    background:#082c47!important;
    color:#fff!important;
    font-size:.86rem!important;
    line-height:1.2!important;
    font-weight:600!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body{
    display:grid!important;
    grid-template-columns:76px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:14px!important;
    min-height:92px!important;
    padding:12px 16px!important;
    background:#fff!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body img{
    width:72px!important;
    height:72px!important;
    object-fit:contain!important;
    grid-column:auto!important;
    grid-row:auto!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body strong{
    color:#25384b!important;
    font-size:.92rem!important;
    line-height:1.2!important;
    font-weight:500!important;
    white-space:normal!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body span{
    color:#082c47!important;
    font-size:.82rem!important;
    font-weight:550!important;
    white-space:nowrap!important;
  }
}

/* Legalofe V2.64 - Top/Flop Team centrati e simmetrici. Solo desktop. */
@media (min-width:801px){
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    gap:7px!important;
    min-height:180px!important;
    padding:16px 18px 18px!important;
    text-align:center!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body img{
    display:block!important;
    width:104px!important;
    height:104px!important;
    margin:0 auto 2px!important;
    object-fit:contain!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body strong{
    display:block!important;
    width:100%!important;
    margin:0!important;
    color:#25384b!important;
    font-size:.94rem!important;
    line-height:1.2!important;
    font-weight:500!important;
    text-align:center!important;
    white-space:normal!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body span{
    display:block!important;
    width:100%!important;
    margin:0!important;
    color:#082c47!important;
    font-size:.84rem!important;
    line-height:1.2!important;
    font-weight:550!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
}

/* Legalofe V2.65 - Cannonieri più larghi, Top/Flop Team compatti, Prossimo turno uniforme. Solo desktop. */
@media (min-width:801px){
  /* Nel riepilogo sinistro diamo più spazio ai Cannonieri. */
  body.page-home .home-sails-summary-grid{
    grid-template-columns:minmax(0,2.15fr) minmax(210px,.85fr)!important;
    gap:14px!important;
    align-items:start!important;
  }

  /* Top/Flop Team più stretti e più bassi, mantenendo logo/nome/punteggio centrati. */
  body.page-home .home-team-performance-stack{
    width:100%!important;
    max-width:280px!important;
    justify-self:end!important;
    gap:10px!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-head h2{
    padding:8px 10px!important;
    font-size:.78rem!important;
    text-align:center!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body{
    min-height:126px!important;
    padding:10px 10px 12px!important;
    gap:4px!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body img{
    width:82px!important;
    height:82px!important;
    margin:0 auto!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body strong{
    font-size:.80rem!important;
    line-height:1.15!important;
  }
  body.page-home .home-team-performance-stack .team-performance>.team-performance-body span{
    font-size:.76rem!important;
    line-height:1.15!important;
  }

  /* Prossimo turno: stessa scala tipografica di Risultati/Classifica. */
  body.page-home .home-side-column .next-turn-list a{
    grid-template-columns:minmax(0,1fr) 20px 14px 20px minmax(0,1fr)!important;
    align-items:center!important;
    column-gap:5px!important;
    min-height:36px!important;
    padding:7px 10px!important;
    font-size:.76rem!important;
    line-height:1.15!important;
    font-weight:400!important;
  }
  body.page-home .home-side-column .next-turn-list span{
    font-size:.76rem!important;
    line-height:1.15!important;
    font-weight:400!important;
  }
  body.page-home .home-side-column .next-turn-list b{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:14px!important;
    font-size:.76rem!important;
    line-height:1!important;
    font-weight:400!important;
  }
  body.page-home .home-side-column .next-turn-list i{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    padding:0!important;
    margin:0!important;
    border-radius:50%!important;
    font-size:.72rem!important;
    line-height:20px!important;
    font-style:normal!important;
    font-weight:500!important;
    text-align:center!important;
    box-sizing:border-box!important;
  }
}

/* V2.66 - Desktop: il Live deve avere gli stessi bordi esterni delle colonne sottostanti. */
@media (min-width:801px){
  body.page-home main.container > .home-live.home-live-desktop,
  body.page-home .home-live.home-live-desktop{
    width:calc(100% + 4rem)!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:-2rem!important;
    margin-right:-2rem!important;
    box-sizing:border-box!important;
  }
}
\n\n/* Legalofe V2.67 - Top Player sotto Flop Team con volto. Solo desktop. */\n@media (min-width:801px){\n  body.page-home .home-top-player-card{\n    background:#fff!important;border:1px solid #dce3eb!important;border-radius:14px!important;overflow:hidden!important;padding:0!important;\n  }\n  body.page-home .home-top-player-card>header{\n    margin:0!important;padding:8px 11px!important;background:#082c47!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:space-between!important;\n  }\n  body.page-home .home-top-player-card>header h2{margin:0!important;color:#fff!important;font-size:.88rem!important;font-weight:650!important;}\n  body.page-home .home-top-player-card>header span{color:#dce9f3!important;font-size:.68rem!important;font-weight:400!important;}\n  body.page-home .home-top-player-body{\n    min-height:150px!important;padding:10px 12px 12px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;background:#fff!important;\n  }\n  body.page-home .home-top-player-face{\n    width:92px!important;height:92px!important;object-fit:cover!important;object-position:center top!important;border-radius:50%!important;background:#eef2f5!important;border:1px solid #e1e7ed!important;margin:0 auto 7px!important;display:block!important;\n  }\n  body.page-home .home-top-player-info{display:flex!important;flex-direction:column!important;align-items:center!important;line-height:1.15!important;}\n  body.page-home .home-top-player-info strong{color:#25384b!important;font-size:.84rem!important;font-weight:550!important;}\n  body.page-home .home-top-player-info small{color:#7b8997!important;font-size:.66rem!important;margin-top:2px!important;}\n  body.page-home .home-top-player-info span{color:#082c47!important;font-size:1.18rem!important;font-weight:650!important;margin-top:5px!important;}\n}\n
/* Legalofe V2.69 - Top Player identico a Top Team / Flop Team. Solo desktop. */
@media (min-width:801px){
  body.page-home .home-team-performance-stack .home-top-player-card{
    display:block!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
    background:#fff!important;
    border:1px solid #dce3eb!important;
    border-radius:14px!important;
    overflow:hidden!important;
    box-shadow:0 3px 12px rgba(20,45,72,.05)!important;
  }
  body.page-home .home-team-performance-stack .home-top-player-card>header{
    display:block!important;
    margin:0!important;
    padding:0!important;
    background:#082c47!important;
    border:0!important;
  }
  body.page-home .home-team-performance-stack .home-top-player-card>header h2{
    display:block!important;
    margin:0!important;
    padding:8px 10px!important;
    color:#fff!important;
    font-size:.78rem!important;
    line-height:1.2!important;
    font-weight:600!important;
    text-align:center!important;
  }
  body.page-home .home-team-performance-stack .home-top-player-card>header span{
    display:none!important;
  }
  body.page-home .home-team-performance-stack .home-top-player-card .home-top-player-body{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    min-height:126px!important;
    padding:10px 10px 12px!important;
    gap:4px!important;
    text-align:center!important;
    background:#fff!important;
  }
  body.page-home .home-team-performance-stack .home-top-player-card .home-top-player-face{
    display:block!important;
    width:82px!important;
    height:82px!important;
    margin:0 auto!important;
    object-fit:cover!important;
    object-position:center top!important;
    border-radius:50%!important;
    background:#eef2f5!important;
    border:1px solid #e1e7ed!important;
  }
  body.page-home .home-team-performance-stack .home-top-player-card .home-top-player-info{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    width:100%!important;
    gap:2px!important;
    line-height:1.15!important;
  }
  body.page-home .home-team-performance-stack .home-top-player-card .home-top-player-info strong{
    width:100%!important;
    margin:0!important;
    color:#25384b!important;
    font-size:.80rem!important;
    line-height:1.15!important;
    font-weight:500!important;
    text-align:center!important;
  }
  body.page-home .home-team-performance-stack .home-top-player-card .home-top-player-info small{
    color:#7b8997!important;
    font-size:.68rem!important;
    line-height:1.15!important;
    text-align:center!important;
  }
  body.page-home .home-team-performance-stack .home-top-player-card .home-top-player-info span{
    width:100%!important;
    margin:0!important;
    color:#082c47!important;
    font-size:.76rem!important;
    line-height:1.15!important;
    font-weight:550!important;
    text-align:center!important;
  }
}

/* V3.00 - Allineamento definitivo Live alla griglia Home. SOLO DESKTOP.
   Annulla l'allargamento V2.66 (+4rem / -2rem) che faceva sporgere il Live. */
@media (min-width:801px){
  body.page-home main.container > .home-live.home-live-desktop,
  body.page-home .home-live.home-live-desktop{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
}


/* V3.01 - Home desktop: hover Live piu morbido e testo bianco. */
@media (min-width:801px){
  body.page-home .home-live-selector>a{
    transition:background-color .18s ease,color .18s ease!important;
  }
  body.page-home .home-live-selector>a:hover,
  body.page-home .home-live-selector>a:focus-visible{
    background:#174765!important;
    color:#fff!important;
  }
  body.page-home .home-live-selector>a:hover strong,
  body.page-home .home-live-selector>a:focus-visible strong,
  body.page-home .home-live-selector>a:hover span,
  body.page-home .home-live-selector>a:focus-visible span{
    color:#fff!important;
  }
}


/* V3.02 - Top/Flop desktop: foto, voto a badge accanto alla foto, nome/squadra leggibili, righe bianche. */
@media (min-width:801px){
  body.page-home .home-topflop-columns .home-player-row.home-player-row-card{
    display:grid!important;
    grid-template-columns:10px 40px 48px minmax(0,1fr)!important;
    align-items:center!important;
    column-gap:8px!important;
    min-height:58px!important;
    padding:7px 10px!important;
    background:#fff!important;
    border-bottom:1px solid #e5eaf0!important;
    box-sizing:border-box!important;
  }
  body.page-home .home-topflop-columns .home-player-row.home-player-row-card:hover{background:#fff!important;}
  body.page-home .home-topflop-columns .home-player-face{
    width:40px!important;height:40px!important;display:block!important;object-fit:cover!important;object-position:center top!important;
    border-radius:50%!important;background:#eef2f5!important;border:1px solid #e0e6ec!important;
  }
  body.page-home .home-topflop-columns .home-player-vote{
    width:46px!important;min-width:46px!important;height:28px!important;margin:0!important;padding:0!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    border-radius:14px!important;font-size:.82rem!important;line-height:1!important;font-weight:750!important;
    color:#fff!important;background:#188a4a!important;
  }
  body.page-home .home-topflop-columns .is-flop .home-player-vote{background:#c94f55!important;}
  body.page-home .home-topflop-columns .home-player-copy{display:block!important;min-width:0!important;line-height:1.12!important;}
  body.page-home .home-topflop-columns .home-player-copy strong{
    display:block!important;color:#16334a!important;font-size:.79rem!important;font-weight:700!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  body.page-home .home-topflop-columns .home-player-copy small{
    display:block!important;margin-top:3px!important;color:#75889a!important;font-size:.65rem!important;font-weight:400!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
}


/* V3.04 - Top/Flop desktop: font più contenuto, voto senza pillola, trattino ruolo ripristinato. */
@media (min-width:801px){
  body.page-home .home-topflop-columns .home-player-row.home-player-row-card{
    grid-template-columns:5px 40px 34px minmax(0,1fr)!important;
    column-gap:8px!important;
  }
  body.page-home .home-topflop-columns .player-role{
    width:3px!important;height:30px!important;min-width:3px!important;padding:0!important;margin:0!important;
    display:block!important;border-radius:2px!important;background:#8a98a7!important;font-size:0!important;
  }
  body.page-home .home-topflop-columns .player-role::before{display:none!important;content:none!important;}
  body.page-home .home-topflop-columns .player-role.role-p{background:#b78b2d!important;}
  body.page-home .home-topflop-columns .player-role.role-d{background:#4b8b62!important;}
  body.page-home .home-topflop-columns .player-role.role-c{background:#477fa6!important;}
  body.page-home .home-topflop-columns .player-role.role-a{background:#b65c61!important;}
  body.page-home .home-topflop-columns .home-player-vote{
    width:auto!important;min-width:0!important;height:auto!important;padding:0!important;border-radius:0!important;
    background:transparent!important;color:#16894a!important;font-size:.76rem!important;font-weight:750!important;
  }
  body.page-home .home-topflop-columns .is-flop .home-player-vote{background:transparent!important;color:#c94f55!important;}
  body.page-home .home-topflop-columns .home-player-copy strong{font-size:.74rem!important;font-weight:650!important;}
  body.page-home .home-topflop-columns .home-player-copy small{font-size:.61rem!important;margin-top:2px!important;}
}


/* V3.05 - Risultati sopra Top/Flop; layout desktop invariato sul mobile. */
@media (min-width:801px){
  body.page-home .desktop-sails-extras>.home-results-above-topflop{margin-bottom:14px!important;}
  body.page-home .desktop-sails-extras>.home-results-above-topflop .home-results{display:grid!important;grid-template-columns:1fr 1fr!important;}
  body.page-home .desktop-sails-extras>.home-results-above-topflop .home-results a{min-height:38px!important;}
}

/* V3.06 - Risultati più ordinati + Top Player nella colonna destra. Solo desktop. */
@media (min-width:801px){
  body.page-home .home-results-above-topflop{overflow:hidden!important;padding:0!important;border:1px solid #dce3eb!important;border-radius:14px!important;background:#fff!important;}
  body.page-home .home-results-above-topflop>header{margin:0!important;padding:9px 13px!important;background:#0A2C46!important;color:#fff!important;}
  body.page-home .home-results-above-topflop>header h2,body.page-home .home-results-above-topflop>header span{color:#fff!important;}
  body.page-home .home-results-above-topflop .home-results{margin:0!important;width:100%!important;display:grid!important;grid-template-columns:1fr!important;background:#fff!important;}
  body.page-home .home-results-above-topflop .home-results a{display:grid!important;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)!important;align-items:center!important;min-height:42px!important;padding:7px 14px!important;background:#fff!important;border-bottom:1px solid #e7ecf1!important;gap:10px!important;}
  body.page-home .home-results-above-topflop .home-results a:last-child{border-bottom:0!important;}
  body.page-home .home-results-above-topflop .home-results a:hover{background:#f4f7f9!important;}
  body.page-home .home-results-above-topflop .home-result-team{font-size:.78rem!important;font-weight:600!important;color:#23384b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  body.page-home .home-results-above-topflop .home-result-team.away{text-align:right!important;}
  body.page-home .home-results-above-topflop .home-results a>b{justify-self:center!important;min-width:58px!important;padding:5px 8px!important;border-radius:7px!important;background:#0A2C46!important;color:#fff!important;text-align:center!important;font-size:.78rem!important;}
  body.page-home .home-side-column>.home-top-player-side{margin-top:0!important;}
  body.page-home .home-top-player-side .home-top-player-body{min-height:132px!important;display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;text-align:left!important;padding:12px!important;}
  body.page-home .home-top-player-side .home-top-player-face{width:76px!important;height:76px!important;margin:0!important;}
  body.page-home .home-top-player-side .home-top-player-info{align-items:flex-start!important;text-align:left!important;}
}
\n\n/* V3.07 - Risultati sempre uno sotto l'altro e Top Player stabilmente nella colonna destra. */
@media (min-width:801px){
  body.page-home .desktop-sails-extras > .home-results-above-topflop .home-results{
    display:flex!important;flex-direction:column!important;grid-template-columns:none!important;
  }
  body.page-home .desktop-sails-extras > .home-results-above-topflop .home-results > a{
    width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)!important;
    min-height:42px!important;margin:0!important;
  }
  body.page-home .home-side-column > .home-top-player-side{
    display:block!important;width:100%!important;grid-column:auto!important;order:initial!important;
  }
}

/* V3.08 - overrides definitivi dopo tutte le regole Home precedenti. */
html body.page-home main.container .home-results-above-topflop .home-results{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  width:100%!important;
}
html body.page-home main.container .home-results-above-topflop .home-results>a{
  display:grid!important;
  width:100%!important;
  grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)!important;
  min-height:42px!important;
  margin:0!important;
}

html body.page-home main.container .home-scorers-table .home-scorer-row{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 42px!important;
  align-items:center!important;
  gap:8px!important;
  min-height:52px!important;
  padding:7px 12px!important;
}
html body.page-home main.container .home-scorer-face{
  display:block!important;
  width:34px!important;
  height:34px!important;
  border-radius:50%!important;
  object-fit:cover!important;
}
html body.page-home main.container .home-scorers-table .scorer-name{
  min-width:0!important;
  overflow:hidden!important;
}
html body.page-home main.container .home-scorers-table .scorer-name strong,
html body.page-home main.container .home-scorers-table .scorer-name small{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
html body.page-home main.container .home-scorers-table .home-scorer-row>b{
  text-align:center!important;
}

html body.page-home main.container .home-top-player-side{
  background:#fff!important;
  color:#17283b!important;
}
html body.page-home main.container .home-top-player-side>header{
  background:#082c47!important;
  border-bottom:1px solid #1b4966!important;
}
html body.page-home main.container .home-top-player-side>header h2,
html body.page-home main.container .home-top-player-side>header span{
  color:#fff!important;
}
html body.page-home main.container .home-top-player-side .home-top-player-info strong,
html body.page-home main.container .home-top-player-side .home-top-player-info small,
html body.page-home main.container .home-top-player-side .home-top-player-info span{
  color:#17283b!important;
}

html body.page-home main.container .home-scorers-table .home-scorer-row[hidden]{
  display:none!important;
}

/* Top Player: card più pulita e foto valorizzata. */
html body.page-home main.container .home-top-player-side .home-top-player-body{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  min-height:132px!important;
  padding:14px!important;
  background:#fff!important;
  text-align:left!important;
}
html body.page-home main.container .home-top-player-side .home-top-player-face{
  flex:0 0 88px!important;
  width:88px!important;
  height:88px!important;
  object-fit:cover!important;
  object-position:center top!important;
  border:3px solid #0d5f92!important;
  border-radius:18px!important;
  background:#eef3f7!important;
  box-shadow:0 4px 10px rgba(8,44,71,.20)!important;
  margin:0!important;
}
html body.page-home main.container .home-top-player-side .home-top-player-info{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:12px!important;
  width:100%!important;
  text-align:left!important;
}
html body.page-home main.container .home-top-player-side .home-top-player-info strong{
  grid-column:1!important;
  grid-row:1!important;
  font-size:.94rem!important;
  font-weight:700!important;
}
html body.page-home main.container .home-top-player-side .home-top-player-info small{
  grid-column:1!important;
  grid-row:2!important;
}
html body.page-home main.container .home-top-player-side .home-top-player-info span{
  grid-column:2!important;
  grid-row:1 / 3!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-top:0!important;
  padding:4px 9px!important;
  border-radius:7px!important;
  background:#eef3f7!important;
  font-size:1.08rem!important;
  font-weight:750!important;
}

/* V3.13 - Home: rimuove solo le bande bianche, senza alterare Classifica/Cannonieri. */
@media (min-width:801px){
  /* La fascia era il margine sotto la testata del box. */
  body.page-home .home-day-performance>header,
  body.page-home .home-scorers-box>header,
  body.page-home .home-side-column>.home-box:has(.mini-standing)>header{
    margin-bottom:0!important;
  }

  /* Mantiene le strutture originali e le fa partire subito sotto la testata. */
  body.page-home .home-day-performance .home-topflop-columns{
    margin-top:0!important;
  }
  body.page-home .home-scorers-box .home-scorers-head{
    margin-top:0!important;
  }
  body.page-home .home-side-column .mini-standing{
    margin-top:0!important;
  }

  /* Risultati Home: alternanza bianco / azzurro chiaro. */
  body.page-home .desktop-sails-extras>.home-results-above-topflop .home-results>a:nth-child(odd){
    background:#fff!important;
  }
  body.page-home .desktop-sails-extras>.home-results-above-topflop .home-results>a:nth-child(even){
    background:#eef3f7!important;
  }
  body.page-home .desktop-sails-extras>.home-results-above-topflop .home-results>a:hover{
    background:#e5edf3!important;
  }
}

/* v96: home live - remove PROVVISORIO label injected by global card CSS */
body.page-home .home-live-selector>a::before{content:none!important;display:none!important;}
