/* TentoniNumérik 1.41 — corrections ciblées d'expérience. La structure fonctionnelle existante reste intacte. */
:root{--tn141-safe-top:env(safe-area-inset-top,0px);--tn141-safe-bottom:env(safe-area-inset-bottom,0px)}
html,body{max-width:100%;overflow-x:clip}
html[data-tn141-device="phone"],html[data-tn141-device="tablet"]{-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* Le 1.40 pouvait être classé tablette sur iPhone si un ancien viewport fixe était présent. */
@media (max-device-width:720px), (max-width:720px){
  body.tn-reference-phone .site-shell,body.tn-reference-phone .home-page{min-width:0!important;width:100%!important;max-width:100%!important;transform:none!important;zoom:1!important}
  body.tn-reference-phone .topbar-inner,body.tn-reference-phone .nav-inner,body.tn-reference-phone .footer-inner{width:100%!important;max-width:100%!important}
  body.tn-reference-phone .home-page{padding-left:12px!important;padding-right:12px!important}
}
@media (min-device-width:721px) and (max-device-width:1280px), (min-width:721px) and (max-width:1280px){
  body.tn-reference-tablet .site-shell,body.tn-reference-tablet .home-page{min-width:0!important;transform:none!important;zoom:1!important}
}

/* Retour dans le flux : jamais posé au-dessus du contenu. */
.tn141-context-back-slot{width:min(100% - 28px,1180px);margin:8px auto 0;display:flex;align-items:center;min-height:38px;pointer-events:none}
.tn141-context-back-slot .tn141-context-back{pointer-events:auto;display:inline-flex;align-items:center;gap:7px;border:1px solid #ccdbec;background:rgba(255,255,255,.96);color:#123a70;border-radius:11px;padding:8px 12px;font-weight:800;font-size:12px;box-shadow:0 4px 14px rgba(28,61,106,.08);cursor:pointer}
body.tn-reference-phone .tn141-context-back-slot{width:100%;padding:0 12px;margin-top:6px}

/* Lanceurs flottants : même logique pour Assistante Tentoni, Monsieur Chretien et Jeux. */
#assistant-launch,#mc-launch,#tn141-games-launch{touch-action:none!important;user-select:none!important;-webkit-user-select:none!important;cursor:grab!important;z-index:410!important;will-change:left,top,transform;max-width:min(180px,46vw)}
#assistant-launch.tn141-dragging,#mc-launch.tn141-dragging,#tn141-games-launch.tn141-dragging{cursor:grabbing!important;transition:none!important}
#assistant-launch.tn141-floating,#mc-launch.tn141-floating,#tn141-games-launch.tn141-floating{position:fixed!important;right:auto!important;bottom:auto!important;margin:0!important;transform:none!important}
#assistant-launch,#mc-launch{min-width:76px!important;min-height:76px!important;border-radius:22px!important;box-shadow:0 12px 28px rgba(13,57,111,.20)!important;border:1px solid rgba(142,177,218,.35)!important;background:rgba(255,255,255,.96)!important;overflow:hidden!important}
#assistant-launch img,#mc-launch img{object-fit:contain!important;max-height:86px!important;max-width:82px!important}
#mc-launch .tn-mc-launch-avatar{width:74px!important;height:86px!important;transform:none!important}
#assistant-launch span,#mc-launch span{font-size:10px!important;font-weight:800!important;color:#123b70!important;text-shadow:none!important}
#tn141-games-launch{display:flex;align-items:center;gap:8px;border:0;border-radius:19px;background:linear-gradient(135deg,#6840df,#8a3ee8);color:#fff;padding:10px 14px;font-weight:900;box-shadow:0 12px 25px rgba(92,54,212,.25)}
#tn141-games-launch .tn141-gamepad{font-size:24px;line-height:1}
#tn141-games-launch small{display:block;font-size:8px;font-weight:700;opacity:.88}
@media(max-width:720px){
  #assistant-launch,#mc-launch{min-width:62px!important;min-height:62px!important;border-radius:18px!important}
  #assistant-launch img,#mc-launch img,#mc-launch .tn-mc-launch-avatar{max-width:64px!important;width:60px!important;height:70px!important}
  #tn141-games-launch{padding:8px 10px;border-radius:16px;font-size:10px;max-width:128px}.tn141-gamepad{font-size:20px!important}
}

/* Dialogue assistant : les deux avatars utilisent le même cadre et le micro ne disparaît plus. */
.assistant-dialog{max-width:min(620px,calc(100vw - 18px))!important}
.assistant-mini-avatar{overflow:hidden!important;background:linear-gradient(180deg,#eef7ff,#dcecff)!important;border:1px solid #cfe1f5!important}
.assistant-mini-avatar img{width:100%!important;height:100%!important;object-fit:contain!important}
.tn-assistant-voice-controls,.tn-voice-status{display:flex!important}
.tn-assistant-voice-controls .tn-voice-hidden,.tn-voice-status.tn-voice-hidden{display:initial!important}

/* Carrousel : 2 cartes visibles. R8 anime une seule actualité à la fois. */
.tn141-carousel-active>.news-slider-121,.tn141-carousel-active>.news-pagination-121{display:none!important}
.tn141-news-carousel.tn-ref-news-device{position:relative;display:grid!important;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:5px;width:100%;overflow:visible}
.tn141-news-viewport{overflow:hidden;min-width:0;border-radius:13px}
.tn141-news-track{display:flex;gap:8px;will-change:transform;transition:transform .62s cubic-bezier(.22,.61,.36,1)}
.tn141-news-track>.news-card,.tn141-news-track>.tn141-ad-card{flex:0 0 calc((100% - 8px)/2);min-width:0;box-sizing:border-box}
.tn141-news-arrow{width:30px;height:30px;border:1px solid #d5e3f2;border-radius:50%;background:#fff;color:#124991;font-size:22px;display:grid;place-items:center;box-shadow:0 5px 14px rgba(29,63,109,.12);z-index:3;cursor:pointer}
.tn141-news-dots{grid-column:2;display:flex;justify-content:center;gap:5px;margin-top:8px}
.tn141-news-dots span{width:6px;height:6px;border-radius:50%;background:#c4cfdd}.tn141-news-dots span.active{background:#1670e8}
.tn141-ad-card{display:grid;grid-template-rows:45% 55%;height:235px;border:1px solid #dce7f3;border-radius:13px;background:#fff;overflow:hidden;text-decoration:none;color:#102b5c}
.tn141-ad-media{background:linear-gradient(135deg,#dfeeff,#edf7ff);background-size:cover;background-position:center;position:relative}.tn141-ad-media b{position:absolute;left:7px;top:7px;background:#7043dc;color:#fff;border-radius:10px;padding:4px 7px;font-size:9px}
.tn141-ad-body{padding:9px}.tn141-ad-body small{font-size:9px;color:#657b9b}.tn141-ad-body h3{font-size:13px;line-height:1.2;margin:4px 0;color:#10285b}.tn141-ad-body p{font-size:10px;line-height:1.3;margin:0;color:#516a90}
@media(max-width:720px){
  .tn141-news-carousel{grid-template-columns:24px minmax(0,1fr) 24px;gap:3px}
  .tn141-news-track{gap:5px}.tn141-news-track>.news-card,.tn141-news-track>.tn141-ad-card{flex-basis:calc((100% - 5px)/2)}
  .tn141-news-arrow{width:24px;height:24px;font-size:18px}.tn141-ad-card{height:210px}.tn141-ad-body{padding:6px}.tn141-ad-body h3{font-size:8.5px}.tn141-ad-body p{font-size:7px}.tn141-ad-body small,.tn141-ad-media b{font-size:7px}
}

/* Rendu cible téléphone/tablette : le contenu utilise enfin la largeur de l'appareil. */
@media(max-width:720px){
  body.tn-reference-phone .home-page{width:100%!important}
  body.tn-reference-phone .hero-121{width:calc(100% + 24px)!important}
  body.tn-reference-phone .news-pro-121,body.tn-reference-phone .quick-access-121,body.tn-reference-phone .tn-responsive-extras{width:100%!important;max-width:100%!important}
  body.tn-reference-phone .news-pro-121{min-height:292px!important}
}

/* Discret indicateur de préparation : améliore la perception sans fausse promesse de vitesse IA. */
.tn141-assistant-fast-status{font-size:10px;color:#667b99;padding:3px 10px;background:#f7fbff;border-top:1px solid #e8f0f8}


/* 1.41 R7 — Actualités récentes : deux cartes visibles, toute la zone utile est occupée. */
.news-pro-121.tn141-carousel-active{display:flex!important;flex-direction:column!important;min-height:0!important}
.news-pro-121.tn141-carousel-active>.news-header-121,.news-pro-121.tn141-carousel-active>.section-head,.news-pro-121.tn141-carousel-active>h2{flex:0 0 auto}
.news-pro-121.tn141-carousel-active>.tn141-news-carousel{flex:1 1 auto!important;min-height:0!important;height:auto!important;align-content:stretch!important;grid-template-rows:minmax(0,1fr) auto!important}
.tn141-news-carousel .tn141-news-viewport{height:100%!important;min-height:0!important}
.tn141-news-carousel .tn141-news-track{height:100%!important;align-items:stretch!important;gap:8px!important}
.tn141-news-carousel .tn141-news-track>.news-card,.tn141-news-carousel .tn141-news-track>.tn141-ad-card{flex:0 0 calc((100% - 8px)/2)!important;height:100%!important;max-height:none!important;display:flex!important;flex-direction:column!important}
.tn141-news-carousel .tn141-news-track>.news-card .news-card-body,.tn141-news-carousel .tn141-news-track>.tn141-ad-card .tn141-ad-body{flex:1 1 auto!important}
#assistant-launch .tn141-common-avatar,#mc-launch .tn141-common-avatar{display:block!important;width:74px!important;height:86px!important;max-width:82px!important;max-height:86px!important;object-fit:contain!important}
@media (max-width:720px){
  .tn141-news-carousel .tn141-news-track{gap:5px!important}
  .tn141-news-carousel .tn141-news-track>.news-card,.tn141-news-carousel .tn141-news-track>.tn141-ad-card{flex-basis:calc((100% - 5px)/2)!important}
  #assistant-launch .tn141-common-avatar,#mc-launch .tn141-common-avatar{width:60px!important;height:70px!important;max-width:64px!important;max-height:70px!important}
}


/* 1.41 R8 — défilement séquentiel : une seule actualité est animée à la fois. */
.tn141-news-sequential .tn141-news-stage{
  --tn141-news-gap:8px;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:var(--tn141-news-gap)!important;
  position:relative!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  overflow:visible!important;
}
.tn141-news-sequential .tn141-news-slot{
  min-width:0!important;
  height:100%!important;
  display:flex!important;
  transition:transform .30s cubic-bezier(.22,.61,.36,1),opacity .30s ease!important;
  transform:translateX(0);
  opacity:1;
  will-change:transform,opacity;
}
.tn141-news-sequential .tn141-news-slot>.news-card,
.tn141-news-sequential .tn141-news-slot>.tn141-ad-card{
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  max-height:none!important;
  flex:1 1 auto!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
}
.tn141-news-sequential .tn141-news-slot>.news-card .news-card-body,
.tn141-news-sequential .tn141-news-slot>.tn141-ad-card .tn141-ad-body{flex:1 1 auto!important}
.tn141-news-sequential .tn141-slot-no-transition{transition:none!important}
.tn141-news-sequential .tn141-slot-exit-left{transform:translateX(-108%)!important;opacity:.08!important}
.tn141-news-sequential .tn141-slot-exit-right{transform:translateX(108%)!important;opacity:.08!important}
.tn141-news-sequential .tn141-slot-shift-left{transform:translateX(calc(-100% - var(--tn141-news-gap)))!important;opacity:1!important}
.tn141-news-sequential .tn141-slot-shift-right{transform:translateX(calc(100% + var(--tn141-news-gap)))!important;opacity:1!important}
.tn141-news-sequential .tn141-slot-enter-right{transform:translateX(108%)!important;opacity:.08!important}
.tn141-news-sequential .tn141-slot-enter-left{transform:translateX(-108%)!important;opacity:.08!important}
@media(max-width:720px){.tn141-news-sequential .tn141-news-stage{--tn141-news-gap:5px}}
@media(prefers-reduced-motion:reduce){.tn141-news-sequential .tn141-news-slot{transition:none!important}}

/* 1.41 R9 — typographie Actualités récentes fidèle à la maquette validée.
   Aucune structure, largeur de carte ni animation R8 n'est modifiée. */
.tn141-news-sequential .news-card .news-card-body,
.tn141-news-sequential .tn141-ad-card .tn141-ad-body{
  font-family:inherit!important;
  font-style:normal!important;
  letter-spacing:normal!important;
  padding:12px 14px 12px!important;
  box-sizing:border-box!important;
}

/* Date : petite, centrée, dense et discrète. */
.tn141-news-sequential .news-card .news-card-body :is(time,.news-date,.date,[class*="date"]),
.tn141-news-sequential .tn141-ad-card .tn141-ad-body .tn141-news-date{
  font-family:inherit!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
  color:#546c91!important;
  text-align:center!important;
  margin:0 0 7px!important;
}

/* Origine / territoire / catégorie sous la date. */
.tn141-news-sequential .news-card .news-card-body :is(.news-source,.news-origin,.news-meta,.news-location,[class*="source"],[class*="origin"],[class*="meta"],[class*="location"]),
.tn141-news-sequential .news-card .news-card-body>small,
.tn141-news-sequential .tn141-ad-card .tn141-ad-body>small{
  font-family:inherit!important;
  font-size:9px!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:0!important;
  color:#7185a4!important;
  text-align:center!important;
  margin:0 0 9px!important;
}

/* Titre : même graisse et même proportion que la capture de référence. */
.tn141-news-sequential .news-card .news-card-body :is(h2,h3,.news-title,[class*="title"]),
.tn141-news-sequential .tn141-ad-card .tn141-ad-body h3{
  font-family:inherit!important;
  font-size:15px!important;
  line-height:1.16!important;
  font-weight:800!important;
  letter-spacing:-.012em!important;
  color:#0d2f67!important;
  text-align:left!important;
  margin:0 0 8px!important;
}

/* Résumé : lisible sans grossir la carte. */
.tn141-news-sequential .news-card .news-card-body>p,
.tn141-news-sequential .news-card .news-card-body .news-summary,
.tn141-news-sequential .news-card .news-card-body [class*="summary"],
.tn141-news-sequential .tn141-ad-card .tn141-ad-body>p{
  font-family:inherit!important;
  font-size:10.5px!important;
  line-height:1.42!important;
  font-weight:400!important;
  letter-spacing:0!important;
  color:#536d94!important;
  text-align:left!important;
  margin:0!important;
}

/* Lire la suite : taille et graisse stables, placé en bas comme sur la référence. */
.tn141-news-sequential .news-card .news-card-body>a,
.tn141-news-sequential .news-card .news-card-body .news-read-more,
.tn141-news-sequential .news-card .news-card-body [class*="read-more"],
.tn141-news-sequential .tn141-ad-card .tn141-ad-body>a{
  font-family:inherit!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:0!important;
  margin-top:auto!important;
  min-height:29px!important;
  padding:7px 11px!important;
}

/* Tablette : mêmes rapports typographiques, légèrement agrandis sans changer le design. */
@media (min-width:721px) and (max-width:1280px){
  .tn141-news-sequential .news-card .news-card-body,
  .tn141-news-sequential .tn141-ad-card .tn141-ad-body{padding:11px 12px!important}
  .tn141-news-sequential .news-card .news-card-body :is(time,.news-date,.date,[class*="date"]){font-size:9.5px!important}
  .tn141-news-sequential .news-card .news-card-body :is(.news-source,.news-origin,.news-meta,.news-location,[class*="source"],[class*="origin"],[class*="meta"],[class*="location"]),
  .tn141-news-sequential .news-card .news-card-body>small{font-size:8.5px!important}
  .tn141-news-sequential .news-card .news-card-body :is(h2,h3,.news-title,[class*="title"]){font-size:14px!important}
  .tn141-news-sequential .news-card .news-card-body>p,
  .tn141-news-sequential .news-card .news-card-body .news-summary,
  .tn141-news-sequential .news-card .news-card-body [class*="summary"]{font-size:10px!important}
  .tn141-news-sequential .news-card .news-card-body>a{font-size:9.5px!important}
}

/* Téléphone : conserver exactement la hiérarchie, sans zoom automatique du navigateur. */
@media (max-width:720px){
  .tn141-news-sequential .news-card .news-card-body,
  .tn141-news-sequential .tn141-ad-card .tn141-ad-body{padding:6px 7px 7px!important}
  .tn141-news-sequential .news-card .news-card-body :is(time,.news-date,.date,[class*="date"]){font-size:7px!important;margin-bottom:4px!important}
  .tn141-news-sequential .news-card .news-card-body :is(.news-source,.news-origin,.news-meta,.news-location,[class*="source"],[class*="origin"],[class*="meta"],[class*="location"]),
  .tn141-news-sequential .news-card .news-card-body>small{font-size:6.5px!important;margin-bottom:5px!important}
  .tn141-news-sequential .news-card .news-card-body :is(h2,h3,.news-title,[class*="title"]){font-size:8.5px!important;line-height:1.18!important;margin-bottom:5px!important}
  .tn141-news-sequential .news-card .news-card-body>p,
  .tn141-news-sequential .news-card .news-card-body .news-summary,
  .tn141-news-sequential .news-card .news-card-body [class*="summary"]{font-size:7px!important;line-height:1.32!important}
  .tn141-news-sequential .news-card .news-card-body>a{font-size:7px!important;min-height:23px!important;padding:5px 7px!important}
}

/* 1.41 R10 — format uniforme des images Actualités récentes.
   Référence visuelle : les deux cartes Éducation / Territoires validées par le propriétaire.
   La structure et l'animation séquentielle R8 restent strictement inchangées. */
.tn141-news-sequential .tn141-news-slot>.news-card,
.tn141-news-sequential .tn141-news-slot>.tn141-ad-card{
  overflow:hidden!important;
}

/* Tous les médias des cartes occupent exactement la même proportion de hauteur,
   indépendamment des dimensions intrinsèques du fichier image. */
.tn141-news-sequential .news-card>img,
.tn141-news-sequential .news-card>picture,
.tn141-news-sequential .news-card>figure,
.tn141-news-sequential .news-card>.news-card-media,
.tn141-news-sequential .news-card>.news-media,
.tn141-news-sequential .news-card>.news-card-image,
.tn141-news-sequential .news-card>.news-image,
.tn141-news-sequential .news-card>.news-thumb,
.tn141-news-sequential .news-card>.news-thumbnail,
.tn141-news-sequential .news-card>:not(.news-card-body):has(img),
.tn141-news-sequential .news-card>[style*="background-image"]{
  flex:0 0 46%!important;
  width:100%!important;
  height:46%!important;
  min-height:46%!important;
  max-height:46%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  margin:0!important;
  position:relative;
}

/* L'image est toujours recadrée, jamais étirée ni débordante. */
.tn141-news-sequential .news-card>img,
.tn141-news-sequential .news-card>picture>img,
.tn141-news-sequential .news-card>figure>img,
.tn141-news-sequential .news-card>.news-card-media img,
.tn141-news-sequential .news-card>.news-media img,
.tn141-news-sequential .news-card>.news-card-image img,
.tn141-news-sequential .news-card>.news-image img,
.tn141-news-sequential .news-card>.news-thumb img,
.tn141-news-sequential .news-card>.news-thumbnail img,
.tn141-news-sequential .news-card>:not(.news-card-body):has(img)>img,
.tn141-news-sequential .news-card>:not(.news-card-body):has(img) picture>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  max-height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  margin:0!important;
}

/* La partie texte prend tout l'espace restant : plus de grande zone blanche créée
   par une image trop petite ou, à l'inverse, de texte écrasé par une image trop haute. */
.tn141-news-sequential .news-card>.news-card-body,
.tn141-news-sequential .tn141-ad-card>.tn141-ad-body{
  flex:1 1 54%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Les cartes publicitaires suivent exactement le même partage média / texte. */
.tn141-news-sequential .tn141-ad-card>.tn141-ad-media{
  flex:0 0 46%!important;
  width:100%!important;
  height:46%!important;
  min-height:46%!important;
  max-height:46%!important;
  background-size:cover!important;
  background-position:center center!important;
  overflow:hidden!important;
}

/* Tablette : même ratio que le bureau pour garder deux cartes parfaitement jumelles. */
@media (min-width:721px) and (max-width:1280px){
  .tn141-news-sequential .news-card>img,
  .tn141-news-sequential .news-card>picture,
  .tn141-news-sequential .news-card>figure,
  .tn141-news-sequential .news-card>.news-card-media,
  .tn141-news-sequential .news-card>.news-media,
  .tn141-news-sequential .news-card>.news-card-image,
  .tn141-news-sequential .news-card>.news-image,
  .tn141-news-sequential .news-card>.news-thumb,
  .tn141-news-sequential .news-card>.news-thumbnail,
  .tn141-news-sequential .news-card>:not(.news-card-body):has(img),
  .tn141-news-sequential .news-card>[style*="background-image"],
  .tn141-news-sequential .tn141-ad-card>.tn141-ad-media{
    flex-basis:46%!important;height:46%!important;min-height:46%!important;max-height:46%!important;
  }
}

/* Téléphone : un peu plus de place au texte tout en gardant toutes les images identiques. */
@media (max-width:720px){
  .tn141-news-sequential .news-card>img,
  .tn141-news-sequential .news-card>picture,
  .tn141-news-sequential .news-card>figure,
  .tn141-news-sequential .news-card>.news-card-media,
  .tn141-news-sequential .news-card>.news-media,
  .tn141-news-sequential .news-card>.news-card-image,
  .tn141-news-sequential .news-card>.news-image,
  .tn141-news-sequential .news-card>.news-thumb,
  .tn141-news-sequential .news-card>.news-thumbnail,
  .tn141-news-sequential .news-card>:not(.news-card-body):has(img),
  .tn141-news-sequential .news-card>[style*="background-image"],
  .tn141-news-sequential .tn141-ad-card>.tn141-ad-media{
    flex-basis:43%!important;height:43%!important;min-height:43%!important;max-height:43%!important;
  }
  .tn141-news-sequential .news-card>.news-card-body,
  .tn141-news-sequential .tn141-ad-card>.tn141-ad-body{flex-basis:57%!important}
}

/* 1.41 R11 — correction du VRAI bloc texte des cartes Actualités récentes.
   Le DOM existant utilise .news-body (et non .news-card-body).
   Référence : capture validée avec Éducation / Territoires, texte occupant la zone basse. */
.tn141-news-sequential .news-card>.news-body,
.tn141-news-sequential .news-card .news-body{
  flex:1 1 54%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  display:flex!important;
  flex-direction:column!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  padding:13px 15px 14px!important;
  background:#fff!important;
  font-family:inherit!important;
  font-style:normal!important;
  letter-spacing:normal!important;
}

/* Date : première ligne, centrée, comme sur la carte de référence. */
.tn141-news-sequential .news-card .news-body .publication-meta,
.tn141-news-sequential .news-card .news-body .news-date,
.tn141-news-sequential .news-card .news-body time{
  display:block!important;
  width:100%!important;
  flex:0 0 auto!important;
  margin:0 0 8px!important;
  padding:0!important;
  text-align:center!important;
  font-family:inherit!important;
  font-size:11px!important;
  line-height:1.22!important;
  font-weight:800!important;
  letter-spacing:.005em!important;
  color:#526b91!important;
}

/* Origine / territoire : deuxième ligne centrée. */
.tn141-news-sequential .news-card .news-body .publication-source{
  display:block!important;
  width:100%!important;
  flex:0 0 auto!important;
  margin:0 0 10px!important;
  padding:0 0 9px!important;
  border-bottom:1px solid #e3ebf5!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-family:inherit!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:0!important;
  color:#6c83a5!important;
}

/* Titre : reprend la présence visuelle de la deuxième capture. */
.tn141-news-sequential .news-card .news-body h3{
  display:block!important;
  flex:0 0 auto!important;
  margin:0 0 9px!important;
  padding:0!important;
  text-align:left!important;
  font-family:inherit!important;
  font-size:17px!important;
  line-height:1.18!important;
  font-weight:800!important;
  letter-spacing:-.012em!important;
  color:#0c2c62!important;
  overflow:visible!important;
  -webkit-line-clamp:unset!important;
}

/* Résumé : plus grand et plus aéré pour exploiter réellement la zone texte. */
.tn141-news-sequential .news-card .news-body>p{
  display:block!important;
  flex:1 1 auto!important;
  min-height:0!important;
  margin:0 0 10px!important;
  padding:0!important;
  text-align:left!important;
  font-family:inherit!important;
  font-size:12px!important;
  line-height:1.45!important;
  font-weight:400!important;
  letter-spacing:0!important;
  color:#516b91!important;
  overflow:visible!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
}

/* Lire la suite est ancré au bas de la zone texte, jamais collé sous le résumé. */
.tn141-news-sequential .news-card .news-body .soft-link,
.tn141-news-sequential .news-card .news-body>a{
  flex:0 0 auto!important;
  align-self:flex-start!important;
  margin-top:auto!important;
  margin-bottom:0!important;
  min-height:31px!important;
  padding:7px 11px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-family:inherit!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}

/* Même traitement pour une carte publicitaire injectée dans le carrousel. */
.tn141-news-sequential .tn141-ad-card>.tn141-ad-body{
  padding:13px 15px 14px!important;
  display:flex!important;
  flex-direction:column!important;
}
.tn141-news-sequential .tn141-ad-card>.tn141-ad-body h3{font-size:17px!important;line-height:1.18!important;margin:8px 0 9px!important}
.tn141-news-sequential .tn141-ad-card>.tn141-ad-body p{font-size:12px!important;line-height:1.45!important;flex:1 1 auto!important;margin:0 0 10px!important}
.tn141-news-sequential .tn141-ad-card>.tn141-ad-body>a{margin-top:auto!important;align-self:flex-start!important}

/* Tablette : conserver le même rapport visuel, sans recréer de vide. */
@media (min-width:721px) and (max-width:1280px){
  .tn141-news-sequential .news-card>.news-body,
  .tn141-news-sequential .news-card .news-body{padding:11px 12px 12px!important}
  .tn141-news-sequential .news-card .news-body .publication-meta,
  .tn141-news-sequential .news-card .news-body .news-date,
  .tn141-news-sequential .news-card .news-body time{font-size:9.5px!important;margin-bottom:6px!important}
  .tn141-news-sequential .news-card .news-body .publication-source{font-size:8.8px!important;margin-bottom:7px!important;padding-bottom:7px!important}
  .tn141-news-sequential .news-card .news-body h3{font-size:14.5px!important;line-height:1.18!important;margin-bottom:7px!important}
  .tn141-news-sequential .news-card .news-body>p{font-size:10.3px!important;line-height:1.4!important;margin-bottom:8px!important}
  .tn141-news-sequential .news-card .news-body .soft-link,
  .tn141-news-sequential .news-card .news-body>a{font-size:9.5px!important;min-height:28px!important;padding:6px 9px!important}
}

/* Téléphone : hiérarchie identique, adaptée aux petites cartes de la maquette. */
@media (max-width:720px){
  .tn141-news-sequential .news-card>.news-body,
  .tn141-news-sequential .news-card .news-body{padding:6px 7px 7px!important}
  .tn141-news-sequential .news-card .news-body .publication-meta,
  .tn141-news-sequential .news-card .news-body .news-date,
  .tn141-news-sequential .news-card .news-body time{font-size:6.8px!important;margin-bottom:3px!important}
  .tn141-news-sequential .news-card .news-body .publication-source{font-size:6.2px!important;margin-bottom:4px!important;padding-bottom:4px!important}
  .tn141-news-sequential .news-card .news-body h3{font-size:8.6px!important;line-height:1.17!important;margin-bottom:4px!important}
  .tn141-news-sequential .news-card .news-body>p{font-size:6.9px!important;line-height:1.3!important;margin-bottom:4px!important}
  .tn141-news-sequential .news-card .news-body .soft-link,
  .tn141-news-sequential .news-card .news-body>a{font-size:6.8px!important;min-height:22px!important;padding:4px 6px!important}
}

/* 1.41 R12 — taille d'écriture Actualités récentes renforcée.
   Référence visuelle : capture validée où date/source/titre/résumé remplissent nettement la zone texte.
   Aucun changement de structure, de hauteur d'image ou de défilement. */
@media (min-width:1281px){
  .tn141-news-sequential .news-card .news-body .publication-meta,
  .tn141-news-sequential .news-card .news-body .news-date,
  .tn141-news-sequential .news-card .news-body time{
    font-size:13.5px!important;
    line-height:1.25!important;
    margin-bottom:9px!important;
    font-weight:800!important;
  }
  .tn141-news-sequential .news-card .news-body .publication-source{
    font-size:12.5px!important;
    line-height:1.25!important;
    margin-bottom:11px!important;
    padding-bottom:10px!important;
    font-weight:700!important;
  }
  .tn141-news-sequential .news-card .news-body h3{
    font-size:22px!important;
    line-height:1.16!important;
    margin-bottom:11px!important;
    font-weight:850!important;
    letter-spacing:-.018em!important;
  }
  .tn141-news-sequential .news-card .news-body>p{
    font-size:15.5px!important;
    line-height:1.42!important;
    margin-bottom:12px!important;
    font-weight:400!important;
  }
  .tn141-news-sequential .news-card .news-body .soft-link,
  .tn141-news-sequential .news-card .news-body>a{
    font-size:13px!important;
    min-height:34px!important;
    padding:8px 13px!important;
    font-weight:800!important;
  }
  .tn141-news-sequential .tn141-ad-card>.tn141-ad-body h3{font-size:22px!important;line-height:1.16!important}
  .tn141-news-sequential .tn141-ad-card>.tn141-ad-body p{font-size:15.5px!important;line-height:1.42!important}
  .tn141-news-sequential .tn141-ad-card>.tn141-ad-body>a{font-size:13px!important;min-height:34px!important;padding:8px 13px!important}
}

@media (min-width:721px) and (max-width:1280px){
  .tn141-news-sequential .news-card .news-body .publication-meta,
  .tn141-news-sequential .news-card .news-body .news-date,
  .tn141-news-sequential .news-card .news-body time{font-size:11.5px!important;line-height:1.24!important;margin-bottom:7px!important}
  .tn141-news-sequential .news-card .news-body .publication-source{font-size:10.8px!important;line-height:1.23!important;margin-bottom:8px!important;padding-bottom:8px!important}
  .tn141-news-sequential .news-card .news-body h3{font-size:18px!important;line-height:1.17!important;margin-bottom:8px!important;font-weight:850!important}
  .tn141-news-sequential .news-card .news-body>p{font-size:13px!important;line-height:1.4!important;margin-bottom:9px!important}
  .tn141-news-sequential .news-card .news-body .soft-link,
  .tn141-news-sequential .news-card .news-body>a{font-size:11px!important;min-height:30px!important;padding:7px 10px!important}
}

@media (max-width:720px){
  .tn141-news-sequential .news-card .news-body .publication-meta,
  .tn141-news-sequential .news-card .news-body .news-date,
  .tn141-news-sequential .news-card .news-body time{font-size:8px!important;line-height:1.2!important;margin-bottom:4px!important}
  .tn141-news-sequential .news-card .news-body .publication-source{font-size:7.4px!important;line-height:1.2!important;margin-bottom:5px!important;padding-bottom:5px!important}
  .tn141-news-sequential .news-card .news-body h3{font-size:11.2px!important;line-height:1.16!important;margin-bottom:5px!important;font-weight:850!important}
  .tn141-news-sequential .news-card .news-body>p{font-size:8.7px!important;line-height:1.32!important;margin-bottom:5px!important}
  .tn141-news-sequential .news-card .news-body .soft-link,
  .tn141-news-sequential .news-card .news-body>a{font-size:8px!important;min-height:24px!important;padding:5px 7px!important}
}

/* ============================================================
   TentoniNumérik 1.41 R13 — restauration des avatars
   Même modèle visuel pour Assistante Tentoni et Monsieur Chretien.
   Micro visible uniquement dans le dialogue Monsieur Chretien.
   ============================================================ */
#assistant-launch,#mc-launch{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  visibility:visible!important;
  opacity:1!important;
  min-width:92px!important;
  min-height:112px!important;
  padding:2px 5px 5px!important;
  border:0!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.90)!important;
  box-shadow:0 12px 30px rgba(13,57,111,.20)!important;
  overflow:visible!important;
}
#assistant-launch .tn141-common-avatar,#mc-launch .tn141-common-avatar{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:84px!important;
  height:96px!important;
  max-width:84px!important;
  max-height:96px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  filter:none!important;
  transform:none!important;
  background:transparent!important;
}
#assistant-launch span,#mc-launch span{
  display:block!important;
  max-width:120px!important;
  font-size:11px!important;
  line-height:1.1!important;
  font-weight:800!important;
  text-align:center!important;
  white-space:normal!important;
  color:#123b70!important;
}
#assistant-launch.tn141-avatar-missing,#mc-launch.tn141-avatar-missing{background:rgba(255,255,255,.96)!important}
#assistant-launch .tn141-avatar-fallback,#mc-launch .tn141-avatar-fallback{display:none!important}
.assistant-mini-avatar img.tn141-common-avatar,#assistant-avatar img.tn141-common-avatar{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  opacity:1!important;
  visibility:visible!important;
}
html[data-tn-assistant-mode="tentoni"] .tn-assistant-voice-controls,
html[data-tn-assistant-mode="tentoni"] #tn-voice-status{
  display:none!important;
}
html[data-tn-assistant-mode="mc"] .tn-assistant-voice-controls{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
html[data-tn-assistant-mode="mc"] #tn-assistant-mic{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:44px!important;
  min-height:44px!important;
  cursor:pointer!important;
}
html[data-tn-assistant-mode="mc"] #tn-voice-status{display:block!important}
@media (max-width:720px){
  #assistant-launch,#mc-launch{min-width:72px!important;min-height:92px!important;border-radius:20px!important}
  #assistant-launch .tn141-common-avatar,#mc-launch .tn141-common-avatar{width:66px!important;height:76px!important;max-width:66px!important;max-height:76px!important}
  #assistant-launch span,#mc-launch span{font-size:9.5px!important;max-width:90px!important}
}

/* TentoniNumérik 1.41 R14 — avatar réellement visible, même visuel et même position à droite. */
#assistant-launch.tn141-native-avatar-proxy,
#mc-launch.tn141-native-avatar-proxy{
  display:none!important;
}
#tn141-avatar-rail{
  position:fixed!important;
  z-index:520!important;
  width:96px!important;
  min-width:96px!important;
  height:126px!important;
  min-height:126px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:3px!important;
  overflow:visible!important;
  cursor:grab!important;
  touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
#tn141-avatar-rail.tn141-avatar-dragging{cursor:grabbing!important}
#tn141-avatar-rail .tn141-avatar-rail-title{
  display:block!important;
  width:100%!important;
  font-family:inherit!important;
  font-size:10px!important;
  line-height:1.15!important;
  font-weight:900!important;
  text-align:center!important;
  white-space:nowrap!important;
  color:#071f56!important;
  text-shadow:0 1px 1px rgba(255,255,255,.9)!important;
  pointer-events:none!important;
}
#tn141-avatar-rail .tn141-shared-avatar{
  display:block!important;
  width:78px!important;
  height:104px!important;
  min-width:78px!important;
  min-height:104px!important;
  max-width:78px!important;
  max-height:104px!important;
  margin:0 auto!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  opacity:1!important;
  visibility:visible!important;
  filter:drop-shadow(0 5px 6px rgba(13,57,111,.18))!important;
  pointer-events:none!important;
}
#tn141-avatar-rail .tn141-avatar-load-error{opacity:.35!important}
@media(max-width:720px){
  #tn141-avatar-rail{width:78px!important;min-width:78px!important;height:104px!important;min-height:104px!important}
  #tn141-avatar-rail .tn141-avatar-rail-title{font-size:9px!important}
  #tn141-avatar-rail .tn141-shared-avatar{width:62px!important;height:84px!important;min-width:62px!important;min-height:84px!important;max-width:62px!important;max-height:84px!important}
}

/* TentoniNumérik 1.41 R19 — taille avatar uniforme sur tout le site. */
:root{--tn-r19-floating-label-size:16px}

/* Même taille de personnage sur accueil, connexion, espace connecté et petits écrans. */
#tn141-avatar-rail{
  width:160px!important;
  min-width:160px!important;
  height:132px!important;
  min-height:132px!important;
  max-width:160px!important;
  max-height:132px!important;
  gap:4px!important;
}
#tn141-avatar-rail .tn141-shared-avatar{
  width:78px!important;
  height:104px!important;
  min-width:78px!important;
  min-height:104px!important;
  max-width:78px!important;
  max-height:104px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
}
#tn141-avatar-rail .tn141-avatar-rail-title{
  width:160px!important;
  max-width:160px!important;
  font-size:var(--tn-r19-floating-label-size)!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  text-align:center!important;
}

/* Le nom de l'avatar et le libellé Jeux divers utilisent la même échelle typographique. */
#tn141-games-native .tn141-native-game-label,
#tn141-games-native [data-tn141-game-label],
#tn141-games-native > span:first-child{
  font-size:var(--tn-r19-floating-label-size)!important;
  line-height:1.1!important;
  font-weight:900!important;
}

/* Annule explicitement les réductions mobiles des anciens correctifs. */
@media(max-width:720px){
  #tn141-avatar-rail{
    width:160px!important;
    min-width:160px!important;
    height:132px!important;
    min-height:132px!important;
    max-width:160px!important;
    max-height:132px!important;
  }
  #tn141-avatar-rail .tn141-shared-avatar{
    width:78px!important;
    height:104px!important;
    min-width:78px!important;
    min-height:104px!important;
    max-width:78px!important;
    max-height:104px!important;
  }
  #tn141-avatar-rail .tn141-avatar-rail-title{
    width:160px!important;
    max-width:160px!important;
    font-size:var(--tn-r19-floating-label-size)!important;
  }
}

/* TentoniNumérik 1.41 R21 — taille/nom avatar conformes à la référence validée. */
:root{--tn-r21-avatar-label-size:16px;--tn-r21-avatar-w:78px;--tn-r21-avatar-h:104px}

/* Rail R14/R19 : personnage compact, nom au-dessus, aucun grossissement selon la page. */
#tn141-avatar-rail{
  width:160px!important;
  min-width:160px!important;
  max-width:160px!important;
  height:132px!important;
  min-height:132px!important;
  max-height:132px!important;
  padding:0!important;
  gap:4px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
#tn141-avatar-rail .tn141-avatar-rail-title{
  order:-1!important;
  width:160px!important;
  max-width:160px!important;
  margin:0!important;
  padding:0!important;
  font-size:var(--tn-r21-avatar-label-size)!important;
  line-height:1.1!important;
  font-weight:900!important;
  white-space:nowrap!important;
  text-align:center!important;
  color:#071f56!important;
}
#tn141-avatar-rail .tn141-shared-avatar{
  order:0!important;
  display:block!important;
  width:var(--tn-r21-avatar-w)!important;
  height:var(--tn-r21-avatar-h)!important;
  min-width:var(--tn-r21-avatar-w)!important;
  min-height:var(--tn-r21-avatar-h)!important;
  max-width:var(--tn-r21-avatar-w)!important;
  max-height:var(--tn-r21-avatar-h)!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  background:transparent!important;
}

/* Filet de sécurité : si une page affiche encore l'ancien lanceur natif, il adopte le même format au lieu d'afficher un avatar géant. */
#assistant-launch,#mc-launch{
  width:160px!important;
  min-width:160px!important;
  max-width:160px!important;
  height:132px!important;
  min-height:132px!important;
  max-height:132px!important;
  padding:0!important;
  gap:4px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
#assistant-launch span,#mc-launch span{
  order:-1!important;
  display:block!important;
  width:160px!important;
  max-width:160px!important;
  margin:0!important;
  padding:0!important;
  font-size:var(--tn-r21-avatar-label-size)!important;
  line-height:1.1!important;
  font-weight:900!important;
  white-space:nowrap!important;
  text-align:center!important;
  color:#071f56!important;
}
#assistant-launch img,#mc-launch img,
#assistant-launch .tn141-common-avatar,#mc-launch .tn141-common-avatar,
#mc-launch .tn-mc-launch-avatar{
  order:0!important;
  display:block!important;
  width:var(--tn-r21-avatar-w)!important;
  height:var(--tn-r21-avatar-h)!important;
  min-width:var(--tn-r21-avatar-w)!important;
  min-height:var(--tn-r21-avatar-h)!important;
  max-width:var(--tn-r21-avatar-w)!important;
  max-height:var(--tn-r21-avatar-h)!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  transform:none!important;
  background:transparent!important;
}

/* Le libellé Jeux divers reste la référence typographique. */
#tn141-games-native .tn141-native-game-label,
#tn141-games-native [data-tn141-game-label],
#tn141-games-native > span:first-child,
#tn141-games-launch .tn141-native-game-label{
  font-size:var(--tn-r21-avatar-label-size)!important;
  line-height:1.1!important;
  font-weight:900!important;
}

/* Même gabarit sur tablette/téléphone : pas de réduction ni d'agrandissement automatique. */
@media(max-width:1280px){
  #tn141-avatar-rail,#assistant-launch,#mc-launch{
    width:160px!important;min-width:160px!important;max-width:160px!important;
    height:132px!important;min-height:132px!important;max-height:132px!important;
  }
  #tn141-avatar-rail .tn141-avatar-rail-title,#assistant-launch span,#mc-launch span{
    width:160px!important;max-width:160px!important;font-size:var(--tn-r21-avatar-label-size)!important;
  }
  #tn141-avatar-rail .tn141-shared-avatar,
  #assistant-launch img,#mc-launch img,
  #assistant-launch .tn141-common-avatar,#mc-launch .tn141-common-avatar,
  #mc-launch .tn-mc-launch-avatar{
    width:var(--tn-r21-avatar-w)!important;height:var(--tn-r21-avatar-h)!important;
    min-width:var(--tn-r21-avatar-w)!important;min-height:var(--tn-r21-avatar-h)!important;
    max-width:var(--tn-r21-avatar-w)!important;max-height:var(--tn-r21-avatar-h)!important;
  }
}

/* TentoniNumérik 1.41 R23 — avatar public unique, indépendant de l'ancien rail R14/R22. */
html.tn-r23-public #tn141-avatar-rail,
html.tn-r23-public .tn141-avatar-rail,
html.tn-r23-public #tn141-public-avatar-r22,
html.tn-r23-public #assistant-launch,
html.tn-r23-public #assistant-launch.tn141-native-avatar-proxy,
html.tn-r23-public .tn-r23-hide-public-avatar,
html.tn-r23-public .tn-r22-public-avatar-duplicate{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

html.tn-r23-public #tn141-public-avatar-r23{
  position:fixed!important;
  z-index:590!important;
  width:160px!important;
  min-width:160px!important;
  max-width:160px!important;
  height:132px!important;
  min-height:132px!important;
  max-height:132px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:4px!important;
  overflow:visible!important;
  cursor:grab!important;
  touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  transform:none!important;
}
html.tn-r23-public #tn141-public-avatar-r23.tn-r23-dragging{
  cursor:grabbing!important;
  transform:scale(1.015)!important;
}
html.tn-r23-public #tn141-public-avatar-r23 .tn-r23-avatar-title{
  order:-1!important;
  display:block!important;
  width:160px!important;
  max-width:160px!important;
  margin:0!important;
  padding:0!important;
  font-family:inherit!important;
  font-size:16px!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  text-align:center!important;
  color:#071f56!important;
  text-shadow:0 1px 1px rgba(255,255,255,.92)!important;
  pointer-events:none!important;
}
html.tn-r23-public #tn141-public-avatar-r23 .tn-r23-avatar-img{
  order:0!important;
  display:block!important;
  width:78px!important;
  height:104px!important;
  min-width:78px!important;
  min-height:104px!important;
  max-width:78px!important;
  max-height:104px!important;
  margin:0 auto!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:drop-shadow(0 5px 6px rgba(13,57,111,.18))!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:none!important;
}
@media (max-width:720px){
  html.tn-r23-public #tn141-public-avatar-r23{width:150px!important;min-width:150px!important;max-width:150px!important}
  html.tn-r23-public #tn141-public-avatar-r23 .tn-r23-avatar-title{width:150px!important;max-width:150px!important;font-size:15px!important}
}
