/* freeetv — NAVIGATION CONTINUE des archives (grille /tv/ + catégories/pays/audiences).
   Spec Lili 12/07 (demande Stéphane) : défaut = scroll continu pur, switch
   « Continuous | Pages » persisté, pagination existante = fallback sans JS + SEO.
   Module ISOLÉ (ne touche pas freeetv.css — lot mosaïque gelé chez Sahra). */

/* Switch pilule, discret, près du tri. */
.ftv-as-switch{display:inline-flex;align-items:center;border:1px solid var(--line-2);border-radius:999px;overflow:hidden;margin-left:14px;vertical-align:middle}
.ftv-as-switch button{border:0;background:none;color:var(--muted);font:inherit;font-size:.72rem;letter-spacing:.05em;
  padding:5px 12px;cursor:pointer;line-height:1}
.ftv-as-switch button.on{background:rgba(46,123,255,.16);color:var(--ink)}
.ftv-as-switch button:not(.on):hover{color:var(--soft)}

/* Pagination masquée UNIQUEMENT quand le mode continu est actif (le markup reste
   dans le DOM : crawlers + fallback sans JS). */
body.ftv-as-on .ftv-pagination{display:none}

/* Sentinel invisible + squelette pendant le fetch (tokens). */
.ftv-as-sentinel{height:1px}
.ftv-as-skel{height:120px;border-radius:12px;margin-top:18px;
  background:linear-gradient(100deg,var(--panel) 30%,var(--panel-2) 50%,var(--panel) 70%);
  background-size:200% 100%;animation:ftv-as-shimmer 1.3s linear infinite}
@keyframes ftv-as-shimmer{from{background-position:200% 0}to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.ftv-as-skel{animation:none}}

/* Fin de liste, même ton que la home. */
.ftv-as-end{margin:26px 0 0;color:var(--muted);font-size:.9rem;font-weight:600;text-align:center}

/* Annonce lecteur d'écran. */
.ftv-as-live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
