/* Accueil (B1) */
.home-hero__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.home-hero__teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 8px; margin: 22px 0 16px; }
.home-hero__team { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-width: 0; }
.home-hero__nm { font-stretch: 62%; font-weight: 900; font-size: clamp(22px, 5cqi, 52px); line-height: .9; text-transform: uppercase; }
.home-hero__nm-sm { font-size: 16px; font-weight: 600; }
.home-hero__st { font-size: 15px; color: #C7D6EE; }
.home-hero__mid { text-align: center; }
.home-hero__time { font-stretch: 62%; font-weight: 900; font-size: clamp(64px, 18cqi, 190px); line-height: .85; letter-spacing: -.01em; }
.home-hero__date { font-size: clamp(15px, 1.8cqi, 20px); font-weight: 600; margin-top: 8px; }
.home-hero__score { font-stretch: 62%; font-weight: 900; font-size: clamp(96px, 22cqi, 200px); line-height: .85; }
.home-hero__s1 { color: #C7D6EE; }
.home-hero__sep { color: var(--sky); margin: 0 .08em; }
.home-hero__cd { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.home-hero__cd strong { font-stretch: 62%; font-weight: 900; font-size: 24px; }
.home-hero__cd .pill { min-height: 0; padding: 8px 14px; }
.home-hero__info { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.home-hero__ctas { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px auto 0; max-width: 620px; }
.home-hero__ctas .btn { flex: 1 1 200px; }
.home-hero__cta { display: flex; margin: 14px auto 0; max-width: 620px; }

.home-last { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 10px; }
.home-last__t { display: flex; align-items: center; gap: 8px; min-width: 0; }
.home-last__t--h { justify-content: flex-end; }
.home-last__nm { font-stretch: 62%; font-weight: 900; font-size: 26px; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-last__score { font-stretch: 62%; font-weight: 900; font-size: 42px; line-height: 1; padding: 6px 12px; border-radius: 12px; background: var(--hero); color: #fff; }
.tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: var(--sf2); border-radius: 14px; padding: 12px; }
.tile__v { font-stretch: 62%; font-weight: 900; font-size: 34px; line-height: 1; }
.tile__l { font-size: 15px; color: var(--mut); margin-top: 4px; }

.mini-table { display: flex; flex-direction: column; gap: 2px; }
.mini-table__row { display: grid; grid-template-columns: 30px minmax(0,1fr) 32px 44px 40px; gap: 6px; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 12px; font-variant-numeric: tabular-nums; font-size: 16px; }
.mini-table__row > span:nth-child(n+3) { text-align: right; }
.mini-table__row--head { min-height: 0; font-size: 15px; color: var(--mut); font-stretch: 112%; font-weight: 600; }
.mini-table__row.is-club { background: var(--hl); font-weight: 800; }
.mini-table__rk { font-stretch: 62%; font-weight: 900; font-size: 20px; }
.mini-table__club { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mini-table__pts { font-stretch: 62%; font-weight: 900; font-size: 22px; }
.mini-dot { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.baro-big { display: flex; align-items: flex-end; gap: 14px; }
.baro-big__v { font-stretch: 62%; font-weight: 900; font-size: 92px; line-height: .82; }
.baro-big__v span { font-size: 48px; }
.baro-big__l { padding-bottom: 4px; font-size: 15px; line-height: 1.35; }
.baro-bar { display: flex; height: 14px; gap: 3px; border-radius: 999px; overflow: hidden; }
.baro-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; }
.baro-legend span { display: flex; align-items: center; gap: 6px; }
.baro-legend i { width: 10px; height: 10px; border-radius: 3px; display: block; }
.baro-evo { display: flex; gap: 8px; align-items: flex-end; height: 96px; padding-top: 6px; border-top: 1px solid var(--line); }
.baro-evo__b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.baro-evo__b > span:first-child { font-stretch: 62%; font-weight: 900; font-size: 18px; }
.baro-evo__b > div { width: 100%; border-radius: 8px 8px 3px 3px; }
.baro-evo__b > span:last-child { font-size: 15px; }

.home-articles { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.acards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.acard2 { display: flex; flex-direction: column; background: var(--sf); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); text-decoration: none; }
.acard2:hover { color: var(--ink); border-color: var(--sky); }
.acard2__vis { position: relative; aspect-ratio: 16/9; background: #0A1F4D; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0 20px; }
.acard2__vis::before { content: ""; position: absolute; right: -24px; top: 0; bottom: 0; width: 64px; background: #4DB2FF; transform: skewX(-14deg); }
.acard2__fig { position: relative; font-stretch: 62%; font-weight: 900; font-size: 76px; line-height: .85; }
.acard2__sub { position: relative; font-size: 15px; color: #C7D6EE; margin-top: 8px; max-width: 75%; }
.acard2__brand { position: absolute; left: 20px; bottom: 12px; font-stretch: 62%; font-weight: 900; font-size: 16px; text-transform: uppercase; color: #C7D6EE; }
.acard2__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.acard2__body h3 { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 700; text-wrap: pretty; }

.pom { flex-direction: row; gap: 16px; align-items: stretch; }
.pom__num { flex: none; width: 96px; border-radius: 16px; background: var(--hero); color: #fff; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.pom__num::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: 0; height: 22px; background: var(--sky); }
.pom__num span { position: relative; z-index: 1; font-stretch: 62%; font-weight: 900; font-size: 84px; line-height: .85; }
.pom__body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.pom__bars { display: flex; gap: 4px; align-items: flex-end; height: 40px; margin-top: 6px; }
.pom__bars div { flex: 1; border-radius: 4px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick a { display: flex; flex-direction: column; justify-content: space-between; min-height: 92px; padding: 14px; border-radius: 16px; background: var(--sf2); color: var(--ink); text-decoration: none; gap: 6px; }
.quick a:hover { box-shadow: inset 0 0 0 2px var(--sky); }
.quick .mut { font-size: 15px; }
.home-last__nm .s { display: none; }
@container (max-width: 480px) { .home-last__nm .l { display: none; } .home-last__nm .s { display: inline; } }
/* Mobile : cartes d'articles compactes (vignette carrée + titre), pour ne pas faire défiler 12 écrans. */
@container (max-width: 600px) {
  .acards { gap: 10px; }
  .acard2 { flex-direction: row; align-items: stretch; }
  .acard2__vis { flex: none; width: 104px; aspect-ratio: auto; min-height: 104px; padding: 0 10px; align-items: flex-start; }
  .acard2__vis::before { width: 22px; right: -12px; }
  .acard2__fig { font-size: 30px; line-height: .9; letter-spacing: -.01em; overflow-wrap: anywhere; }
  .acard2__sub, .acard2__brand { display: none; }
  .acard2__body { padding: 10px 12px; gap: 6px; }
  .acard2__body h3 { font-size: 16px; }
}

.home-week { gap: 12px; }
.home-week__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px; }
.home-week__m { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 16px; background: var(--sf2); color: var(--ink); text-decoration: none; }
.home-week__m:hover { color: var(--ink); box-shadow: inset 0 0 0 2px var(--sky); }
.home-week__teams { display: flex; align-items: center; gap: 8px; font-size: 16px; min-width: 0; }
.home-week__teams strong { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-week__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; }
.pom__num--photo { align-self: flex-start; width: 112px; height: 112px; border-radius: 50%; background: var(--sf2); box-shadow: 0 0 0 4px var(--sky); }
.pom__num--photo::after { display: none; }
.pom__num--photo .ph { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.pom__num--photo .pom__badge { left: auto; right: -6px; top: auto; bottom: -4px; }
.pom__badge { position: absolute !important; left: 6px; top: 6px; z-index: 2; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 9px; background: var(--hero); color: #fff; display: grid; place-items: center; font-stretch: 62%; font-weight: 900; font-size: 20px !important; line-height: 1 !important; }

/* Vignettes = images de partage générées (stade, score, logos, joueur) */
.acard2__vis--img { padding: 0; display: block; }
.acard2__vis--img::before { display: none; }
.acard2__vis--img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
