/* Accueil uniquement — restauration proportions colonne droite DEV V8.8.5G / 8.8.6G.
   Ne touche pas aux scripts ni a l'alternance TV/classement. */
@media (min-width:1181px) and (min-height:700px) {
 body:has(.homeDashboard.homeV2){height:100dvh!important;overflow-y:hidden!important;}
 body:has(.homeDashboard.homeV2) > header {height:95px!important;min-height:95px!important;max-height:95px!important;grid-template-columns:minmax(75px,92px) minmax(160px,1fr) auto!important;grid-template-rows:48px 31px!important;padding:3px 13px 4px!important;gap:2px 9px!important;box-sizing:border-box!important;}
 body:has(.homeDashboard.homeV2) > header .brand {min-width:0!important;width:75px!important;gap:0!important;}
 body:has(.homeDashboard.homeV2) > header .brand > div {display:none!important;}
 body:has(.homeDashboard.homeV2) > header .brand img {width:49px!important;height:49px!important;}
 body:has(.homeDashboard.homeV2) > header .fpcProductionBadge {justify-self:start!important;margin-left:0!important;height:33px!important;max-width:190px!important;}
 body:has(.homeDashboard.homeV2) > header > nav#nav {padding:3px 6px 1px!important;gap:clamp(6px,1.25vw,19px)!important;}
 body:has(.homeDashboard.homeV2) > header > nav#nav button {padding:4px 3px!important;}
 body:has(.homeDashboard.homeV2) > footer {display:none!important;}
 body:has(.homeDashboard.homeV2) main#app {height:calc(100dvh - 95px)!important;min-height:0!important;overflow:hidden!important;}
 .homeDashboard.homeV2 {height:100%!important;box-sizing:border-box!important;padding:7px 8px!important;overflow:hidden!important;}
 .homeDashboard.homeV2 .homeGridV2 {height:100%!important;min-height:0!important;align-items:stretch!important;grid-template-columns:minmax(245px,21%) minmax(0,1fr) minmax(300px,23%)!important;gap:8px!important;}
 .homeDashboard.homeV2 .homeActions,.homeDashboard.homeV2 .homeCenterV2{height:100%!important;max-height:100%!important;min-height:0!important;gap:8px!important;overflow:hidden!important;align-content:stretch!important;}
 .homeDashboard.homeV2 .homeActions{grid-template-rows:repeat(4,minmax(0,1fr))!important;}
 .homeDashboard.homeV2 .homeCenterV2{grid-template-rows:minmax(0,1.02fr) minmax(0,.77fr) minmax(0,1.22fr)!important;}
 /* Retour aux PROPORTIONS de droite d'origine: Classement/TV majoritaire, Mercato, Discord court. */
 .homeDashboard.homeV2 .homeRightV2{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1.25fr) minmax(0,.72fr) 82px!important;gap:10px!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;align-content:stretch!important;}
 .homeDashboard.homeV2 .homeRightV2 .homeStandingPanel,.homeDashboard.homeV2 .homeRightV2 .homeMercatoPanel{height:100%!important;min-height:0!important;max-height:100%!important;box-sizing:border-box!important;overflow:hidden!important;}
 .homeDashboard.homeV2 .homeRightV2 .homeDiscordPanel{height:82px!important;min-height:82px!important;max-height:82px!important;padding:12px 58px 12px 14px!important;box-sizing:border-box!important;overflow:hidden!important;}
 .homeDashboard.homeV2 .homeRightV2 .homeMercatoTicker {height:104px!important;max-height:104px!important;overflow:hidden!important;}
 .homeDashboard.homeV2 .homeHeroPanel{height:100%!important;aspect-ratio:auto!important;min-height:0!important;max-height:100%!important;background-size:cover!important;background-position:center 47%!important;padding:10px 16px!important;}
 .homeDashboard.homeV2 .homeUpcomingPanel,.homeDashboard.homeV2 .homeBottomGrid,.homeDashboard.homeV2 .homeGazettePanel,.homeDashboard.homeV2 .homeLivePanel,.homeDashboard.homeV2 .homeActionCard{height:100%!important;min-height:0!important;max-height:100%!important;box-sizing:border-box!important;overflow:hidden!important;}
 .homeDashboard.homeV2 .homeBottomGrid{grid-template-columns:1.08fr .92fr!important;align-items:stretch!important;gap:8px!important;}
 .homeDashboard.homeV2 .homeActionCard{padding:10px 47px 9px 15px!important;justify-content:center!important;}
 .homeDashboard.homeV2 .homeActionCard h2{font-size:clamp(17px,1.5vw,28px)!important;line-height:1.02!important;margin:3px 0!important;}
 .homeDashboard.homeV2 .homeActionCard p{font-size:clamp(10px,.76vw,13px)!important;line-height:1.2!important;}
 .homeDashboard.homeV2 .homePanelHead{min-height:34px!important;padding-top:3px!important;padding-bottom:3px!important;}
 .homeDashboard.homeV2 .homeHeroTitle h1{font-size:clamp(24px,2.1vw,37px)!important;}
 .homeDashboard.homeV2 .homeHeroContextCard,.homeDashboard.homeV2 .homeSpotlightCard{padding:8px 11px!important;}
 .homeDashboard.homeV2 .homeUpcomingPanel .homeEmpty{padding:8px!important;}
}
@media (max-width:1180px), (max-height:699px){body:has(.homeDashboard.homeV2){height:auto!important;overflow-y:auto!important;} body:has(.homeDashboard.homeV2) main#app{height:auto!important;overflow:visible!important;}}
