/* ActuFoot – panneau lecteurs (v0.37.0) : chargé seulement sur les articles quand le panneau est activé. */
.af-sheet { position: fixed; inset: 0; z-index: 1000; }
.af-sheet[hidden] { display: none; }
.af-sheet__bg { position: absolute; inset: 0; background: rgba(10, 12, 16, .38); opacity: 0; transition: opacity .25s ease; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.af-sheet__bg { background: rgba(10, 12, 16, .28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
}
.af-sheet.is-open .af-sheet__bg { opacity: 1; }
.af-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; max-height: 88vh; overflow: auto; overscroll-behavior: contain;
	background: var(--surface); color: var(--text); border-radius: 22px 22px 0 0; padding: 10px 20px calc(22px + env(safe-area-inset-bottom)); text-align: center;
	transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1); outline: none; box-shadow: 0 -6px 30px rgba(0, 0, 0, .18); }
.af-sheet.is-open .af-sheet__panel { transform: translateY(0); }
.af-sheet__grip { width: 38px; height: 4px; border-radius: 2px; background: var(--border); margin: 0 auto 6px; }
.af-sheet__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.af-sheet__x:hover { background: var(--bg); color: var(--text); }
html.af-sheet-lock, html.af-sheet-lock body { overflow: hidden; }

/* Logos alignés, qui se chevauchent */
.af-sheet__logos { display: flex; justify-content: center; margin: 22px 0 14px; }
.af-sheet__pick { position: relative; margin-left: -12px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; transition: transform .15s ease; }
.af-sheet__pick:first-child { margin-left: 0; }
.af-sheet__pick:active { transform: scale(.94); }
.af-sheet__logo { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--surface); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 1px 0 var(--border); }
.af-sheet__logo img { width: 70%; height: 70%; object-fit: contain; }
.af-sheet__logo.is-flag img { width: 100%; height: 100%; object-fit: cover; }
.af-sheet__logo .af-fv__ini { width: 100%; height: 100%; font-size: 1.25rem; }
.af-sheet__pick[aria-pressed="false"] .af-sheet__logo > * { opacity: .4; filter: grayscale(1); }
.af-sheet__names { min-height: 1.25em; margin: -4px 0 12px; font-size: .8125rem; color: var(--muted); }
.af-sheet__check { position: absolute; right: 0; bottom: 2px; width: 22px; height: 22px; border-radius: 50%; background: #1f9d55; color: #fff; border: 2px solid var(--surface); display: none; align-items: center; justify-content: center; }
.af-sheet__pick[aria-pressed="true"] .af-sheet__check { display: flex; }
.af-sheet__title { margin: 0 auto; max-width: 360px; font-size: 1.125rem; line-height: 1.4; font-weight: 600; }
.af-sheet__title b { font-weight: 800; }
.af-sheet__sub { margin: 6px 0 0; font-size: .8125rem; color: var(--muted); }
.af-sheet__cta { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 50px; margin-top: 18px; border: 0; border-radius: 14px; background: var(--c-primary); color: #fff; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.af-sheet__cta:hover { filter: brightness(1.08); }
.af-sheet__cta.is-off { background: var(--bg); color: var(--muted); cursor: default; filter: none; }
.af-sheet__ok { margin: 18px 0 0; font-weight: 600; }
.af-sheet__ok a { color: var(--c-primary); text-decoration: underline; }

/* Match en direct */
.af-sheet__live { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 40px 0; font-size: .8125rem; color: var(--muted); }
.af-sheet__live > span:nth-child(2) { color: var(--c-live); font-weight: 700; }
.af-sheet__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-live); animation: af-sheet-pulse 1.6s ease-in-out infinite; }
.af-sheet__lg::before { content: "·"; margin-right: 8px; }
.af-sheet__score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 18px 0 2px; }
.af-sheet__score > b { font-size: 2.125rem; font-weight: 800; letter-spacing: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.af-sheet__team { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.af-sheet__team .af-sheet__logo { width: 60px; height: 60px; }
.af-sheet__tname { font-size: .875rem; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes af-sheet-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
	.af-sheet__panel, .af-sheet__bg { transition: none; }
	.af-sheet__dot { animation: none; }
}
@media (min-width: 768px) {
	.af-sheet__panel { bottom: 24px; border-radius: 22px; }
}

/* v0.37.1 ------------------------------------------------------------------ */
.af-sheet__ghost { display: block; width: 100%; min-height: 44px; margin-top: 4px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .9375rem; cursor: pointer; }
.af-sheet__ghost:hover { color: var(--text); }
.af-sheet__scorer { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 6px 0 0; font-size: .875rem; color: var(--muted); }
.af-sheet__preview { margin: 6px 40px 0; font-size: .75rem; font-weight: 700; color: #996800; }
[data-af-sheet-score].is-flash { animation: af-sheet-flash 1.2s ease; }
@keyframes af-sheet-flash { 0%, 100% { color: inherit; transform: none; } 25% { color: #1f9d55; transform: scale(1.15); } }

/* Logos qui arrivent l'un après l'autre */
.af-sheet.is-open .af-sheet__pick { animation: af-sheet-pop .32s cubic-bezier(.2, .8, .2, 1.2) both; animation-delay: calc(80ms + var(--i, 0) * 60ms); }
@keyframes af-sheet-pop { from { opacity: 0; transform: translateY(8px) scale(.85); } }

/* Après « Suivre » : ce que le lecteur y gagne */
.af-sheet__done { width: 48px; height: 48px; margin: 18px auto 12px; border-radius: 50%; background: rgba(31, 157, 85, .14); color: #1f9d55; display: flex; align-items: center; justify-content: center; }
.af-sheet__infos { margin: 16px 0 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-align: left; }
.af-sheet__info { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: inherit; text-decoration: none; }
.af-sheet__info + .af-sheet__info { border-top: 1px solid var(--border); }
.af-sheet__info:hover { background: var(--bg); }
.af-sheet__info svg { flex: none; color: var(--muted); }
.af-sheet__info small { display: block; font-size: .75rem; color: var(--muted); }

/* Ordinateur : carte en bas à droite, sans fond assombri ni flou, la page reste utilisable */
.af-sheet.is-card { inset: auto 24px 24px auto; width: 360px; }
.af-sheet.is-card .af-sheet__bg { display: none; }
.af-sheet.is-card .af-sheet__panel { position: relative; max-width: none; border-radius: 18px; border: 1px solid var(--border); padding: 8px 18px 14px; transform: translateY(24px); opacity: 0; transition: transform .22s ease, opacity .22s ease; box-shadow: 0 12px 36px rgba(0, 0, 0, .18); }
.af-sheet.is-card.is-open .af-sheet__panel { transform: none; opacity: 1; }
.af-sheet.is-card .af-sheet__grip { display: none; }
.af-sheet.is-card .af-sheet__logos { margin-top: 14px; }

/* Mini-score au-dessus de la barre du bas */
.af-mini { position: fixed; z-index: 65; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 420px; margin: 0 auto; display: flex; align-items: center;
	background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
	transform: translateY(16px); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
.af-mini[hidden] { display: none; }
.af-mini.is-on { transform: none; opacity: 1; }
.has-bottom-nav .af-mini { bottom: calc(var(--bottom-h) + 18px + env(safe-area-inset-bottom)); }
.af-mini__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 8px 4px 8px 14px; color: inherit; text-decoration: none; font-size: .9375rem; }
.af-mini__link b { font-weight: 800; font-variant-numeric: tabular-nums; }
.af-mini__logo { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: none; border: 1px solid var(--border); }
.af-mini__logo img { width: 74%; height: 74%; object-fit: contain; }
.af-mini__logo.is-flag img { width: 100%; height: 100%; object-fit: cover; }
.af-mini__logo .af-fv__ini { width: 100%; height: 100%; font-size: .6875rem; }
.af-mini__min { color: var(--c-live); font-weight: 700; font-size: .8125rem; white-space: nowrap; }
.af-mini__go { margin-left: auto; color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.af-mini__x { flex: none; width: 40px; height: 40px; margin-right: 2px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 768px) {
	.af-mini { left: auto; right: 24px; bottom: 24px; max-width: 380px; }
}
@media (prefers-reduced-motion: reduce) {
	.af-sheet.is-open .af-sheet__pick, [data-af-sheet-score].is-flash { animation: none; }
	.af-mini, .af-sheet.is-card .af-sheet__panel { transition: none; }
}
.af-sheet__scorer .af-goal { color: var(--text); } /* v0.39.5 */
