/* TentoniNumérik 1.41 R42 — responsive strict téléphone/tablette.
   IMPORTANT : aucune règle ne cible le bureau. Les règles suivantes neutralisent
   les anciennes coordonnées/largeurs fixes uniquement quand R42 a confirmé un appareil portable réel. */
:root{--tn-r42-safe-top:env(safe-area-inset-top,0px);--tn-r42-safe-bottom:env(safe-area-inset-bottom,0px)}
html.tn-r42-phone,html.tn-r42-tablet{
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;overflow-x:hidden!important;
  -webkit-text-size-adjust:100%!important;text-size-adjust:100%!important;
}
html.tn-r42-phone body,html.tn-r42-tablet body{
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;overflow-x:hidden!important;
  transform:none!important;zoom:1!important;position:relative!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
}
html.tn-r42-phone body .site-shell,html.tn-r42-tablet body .site-shell,
html.tn-r42-phone body .home-page,html.tn-r42-tablet body .home-page,
html.tn-r42-phone body .home-dashboard-121,html.tn-r42-tablet body .home-dashboard-121,
html.tn-r42-phone body .home-left-121,html.tn-r42-tablet body .home-left-121,
html.tn-r42-phone body main,html.tn-r42-tablet body main{
  min-width:0!important;max-width:100%!important;transform:none!important;zoom:1!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
}
html.tn-r42-phone body .site-shell,html.tn-r42-tablet body .site-shell{
  width:100%!important;margin:0!important;padding:0!important;position:relative!important;
}
/* Les vieilles classes 1.41 peuvent être recréées par experience-141.js : R42 garde la priorité. */
html.tn-r42-phone body.tn-reference-phone .site-shell,
html.tn-r42-phone body.tn-reference-phone .home-page,
html.tn-r42-tablet body.tn-reference-tablet .site-shell,
html.tn-r42-tablet body.tn-reference-tablet .home-page{
  min-width:0!important;max-width:100%!important;transform:none!important;zoom:1!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
}
/* Pages internes : empêcher une ancienne largeur bureau de décaler toute la page. */
html.tn-r42-phone body main,html.tn-r42-phone body .page-main,html.tn-r42-phone body .site-main,
html.tn-r42-phone body .content-page,html.tn-r42-phone body .page-content,
html.tn-r42-tablet body main,html.tn-r42-tablet body .page-main,html.tn-r42-tablet body .site-main,
html.tn-r42-tablet body .content-page,html.tn-r42-tablet body .page-content{
  width:100%!important;min-width:0!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;
}
/* R42 GARDE-FOU : ce fichier n'agit que lorsque responsive-r42.js a identifié un VRAI téléphone/tablette.
   Aucun style bureau n'est modifié. Les avatars, Jeux divers et Chat conservent leurs propres couches. */
/* TentoniNumérik 1.41 R42 — recalage téléphone/tablette sans reconstruction de la structure. */
:root{--tn-r42-safe-top:env(safe-area-inset-top,0px);--tn-r42-safe-bottom:env(safe-area-inset-bottom,0px)}
html.tn-r42-phone,html.tn-r42-tablet{width:100%!important;max-width:100%!important;overflow-x:hidden!important;-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important}
html.tn-r42-phone body,html.tn-r42-tablet body{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow-x:hidden!important;transform:none!important;zoom:1!important;position:relative!important;left:auto!important;right:auto!important}
html.tn-r42-phone *,html.tn-r42-tablet *{box-sizing:border-box}
html.tn-r42-phone img,html.tn-r42-phone video,html.tn-r42-phone canvas,html.tn-r42-phone svg,
html.tn-r42-tablet img,html.tn-r42-tablet video,html.tn-r42-tablet canvas,html.tn-r42-tablet svg{max-width:100%;height:auto}

/* Le lien d'accès rapide reste accessible au clavier mais ne prend jamais de place dans la maquette. */
html.tn-r42-phone a[href="#main-content"],html.tn-r42-phone a[href="#content"],html.tn-r42-phone .skip-link,
html.tn-r42-tablet a[href="#main-content"],html.tn-r42-tablet a[href="#content"],html.tn-r42-tablet .skip-link{position:fixed!important;left:-10000px!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;z-index:999999!important}
html.tn-r42-phone a[href="#main-content"]:focus,html.tn-r42-phone a[href="#content"]:focus,html.tn-r42-phone .skip-link:focus,
html.tn-r42-tablet a[href="#main-content"]:focus,html.tn-r42-tablet a[href="#content"]:focus,html.tn-r42-tablet .skip-link:focus{left:8px!important;top:8px!important;width:auto!important;height:auto!important;padding:8px 12px!important;background:#fff!important;color:#082a63!important;border-radius:8px!important}

@media (max-width:1366px){
  html.tn-r42-phone body .site-shell,html.tn-r42-tablet body .site-shell{width:100vw!important;max-width:100vw!important;min-width:0!important;margin:0!important;padding:0!important;transform:none!important;zoom:1!important;left:auto!important;right:auto!important;overflow:visible!important;background:linear-gradient(180deg,#f8fbff 0%,#eef8ff 100%)!important}
  html.tn-r42-phone body .topbar-inner,html.tn-r42-phone body .nav-inner,html.tn-r42-phone body .home-page,html.tn-r42-phone body .footer-inner,
  html.tn-r42-tablet body .topbar-inner,html.tn-r42-tablet body .nav-inner,html.tn-r42-tablet body .home-page,html.tn-r42-tablet body .footer-inner{min-width:0!important;transform:none!important;zoom:1!important;left:auto!important;right:auto!important}
  html.tn-r42-phone body .home-page,html.tn-r42-tablet body .home-page{height:auto!important;min-height:0!important;overflow:visible!important;background:transparent!important}
  html.tn-r42-phone body .home-dashboard-121,html.tn-r42-tablet body .home-dashboard-121{height:auto!important;min-height:0!important;min-width:0!important;max-width:100%!important;transform:none!important;zoom:1!important}
  html.tn-r42-phone body .home-left-121,html.tn-r42-tablet body .home-left-121{min-width:0!important;max-width:100%!important}
}

/* ========================= TABLETTE ========================= */
@media (min-width:721px) and (max-width:1366px){
  html.tn-r42-tablet body{background:#eaf6ff!important}
  html.tn-r42-tablet body .ambient-scene{opacity:.12!important}
  html.tn-r42-tablet body .topbar{height:68px!important;background:#fff!important;border-bottom:1px solid #e4edf8!important}
  html.tn-r42-tablet body .topbar-inner{width:min(calc(100% - 30px),1086px)!important;max-width:1086px!important;height:68px!important;margin:0 auto!important;padding:0 8px!important;gap:10px!important}
  html.tn-r42-tablet body .brand{min-width:200px!important}.tn-r42-tablet .brand-mark{width:40px!important;height:40px!important}.tn-r42-tablet .brand-copy strong{font-size:19px!important}.tn-r42-tablet .brand-copy small{font-size:8px!important}
  html.tn-r42-tablet body .top-meta{margin-left:auto!important;gap:8px!important;display:flex!important}.tn-r42-tablet .top-date,.tn-r42-tablet .top-time,.tn-r42-tablet .top-weather-inline{display:flex!important}.tn-r42-tablet .top-weather-inline{max-width:380px!important}.tn-r42-tablet .top-weather-place{max-width:150px!important}
  html.tn-r42-tablet body .top-actions{gap:7px!important}.tn-r42-tablet .round-action{width:38px!important;height:38px!important}.tn-r42-tablet .connect-btn{height:40px!important;padding:0 15px!important}
  html.tn-r42-tablet body .mainnav{display:block!important;position:relative!important;background:#fff!important;border-bottom:1px solid #e1ebf6!important;box-shadow:0 3px 12px rgba(35,73,130,.05)!important}
  html.tn-r42-tablet body .nav-inner{width:min(calc(100% - 30px),1086px)!important;max-width:1086px!important;height:62px!important;margin:0 auto!important;padding:0!important}
  html.tn-r42-tablet body .nav-links{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;width:100%!important;gap:2px!important}
  html.tn-r42-tablet body .nav-link{height:62px!important;justify-content:center!important;gap:5px!important;font-size:10px!important;padding:0 4px!important}.tn-r42-tablet .nav-link img{width:25px!important;height:25px!important}.tn-r42-tablet .search-form{display:none!important}

  html.tn-r42-tablet body .home-page{width:min(calc(100% - 32px),1086px)!important;max-width:1086px!important;margin:0 auto!important;padding:14px 0 18px!important}
  html.tn-r42-tablet body .home-dashboard-121{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
  html.tn-r42-tablet body .home-left-121{display:contents!important}
  html.tn-r42-tablet body .hero-121{order:1!important;width:100%!important;height:280px!important;min-height:280px!important;margin:0!important;border-radius:0!important;display:grid!important;grid-template-columns:50% 50%!important;overflow:hidden!important;background:linear-gradient(90deg,#eff8ff,#dcefff)!important;box-shadow:none!important}
  html.tn-r42-tablet .hero-copy-121{padding:32px 12px 18px 18px!important;z-index:2!important}.tn-r42-tablet .hero-visual-121{height:100%!important}.tn-r42-tablet .hero-photo-121{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
  html.tn-r42-tablet .hero-welcome-121{font-size:27px!important;line-height:1.05!important}.tn-r42-tablet .hero-brand-121{font-size:44px!important;line-height:1!important;letter-spacing:-1.8px!important;white-space:nowrap!important}.tn-r42-tablet .hero-sub-122{font-size:15px!important;line-height:1.48!important;max-width:430px!important;margin-top:15px!important}
  html.tn-r42-tablet .tn-ref-hero-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:20px!important}.tn-r42-tablet .tn-ref-pill{font-size:12px!important;padding:10px 13px!important}

  html.tn-r42-tablet body .news-pro-121{order:2!important;width:100%!important;min-height:310px!important;height:auto!important;margin:0!important;padding:12px 18px 14px!important;border-radius:18px!important;background:#fff!important;box-shadow:0 7px 22px rgba(28,70,125,.10)!important;overflow:hidden!important}
  html.tn-r42-tablet .news-heading-121 h2{font-size:20px!important}.tn-r42-tablet .tn141-news-carousel{grid-template-columns:32px minmax(0,1fr) 32px!important;gap:6px!important;width:100%!important}.tn-r42-tablet .tn141-news-track{gap:10px!important}.tn-r42-tablet .tn141-news-track>.news-card,.tn-r42-tablet .tn141-news-track>.tn141-ad-card{flex:0 0 calc((100% - 20px)/3)!important;height:238px!important;min-width:0!important}.tn-r42-tablet .news-card{grid-template-rows:46% 54%!important}.tn-r42-tablet .news-body{padding:8px 10px!important}.tn-r42-tablet .news-body h3{font-size:14px!important;line-height:1.2!important}.tn-r42-tablet .news-body p{font-size:11px!important;line-height:1.35!important}.tn-r42-tablet .tn141-news-arrow{width:32px!important;height:32px!important}

  html.tn-r42-tablet body .quick-access-121{order:3!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;height:auto!important;margin:0!important}.tn-r42-tablet .quick-access-121 .quick-access:nth-child(n+4){display:grid!important;visibility:visible!important;opacity:1!important}.tn-r42-tablet .quick-access{height:210px!important;display:grid!important;grid-template-rows:90px 1fr!important;border-radius:17px!important;padding:0!important;overflow:hidden!important;background:#fff!important;box-shadow:0 5px 18px rgba(32,79,135,.08)!important}.tn-r42-tablet .tn-ref-quick-photo{display:block!important;width:100%!important;height:90px!important;background-size:cover!important;background-position:center!important}.tn-r42-tablet .quick-access-icon-shell{width:58px!important;height:58px!important;position:absolute!important;left:50%!important;top:90px!important;transform:translate(-50%,-50%)!important;z-index:3!important}.tn-r42-tablet .quick-access-copy{padding:34px 15px 12px!important;text-align:center!important}.tn-r42-tablet .quick-access-copy strong{font-size:17px!important}.tn-r42-tablet .quick-access-copy small{font-size:11px!important}.tn-r42-tablet .quick-access-cta{font-size:11px!important}

  html.tn-r42-tablet .tn-responsive-extras{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:12px!important;margin-top:14px!important;width:100%!important;max-width:100%!important}.tn-r42-tablet .tn-ref-events{grid-column:1!important;grid-row:1 / span 3!important}.tn-r42-tablet .tn-ref-resources{grid-column:2!important;grid-row:1 / span 3!important}.tn-r42-tablet .tn-ref-weather{grid-column:3!important;grid-row:1!important}.tn-r42-tablet .tn-ref-games{grid-column:3!important;grid-row:2!important}.tn-r42-tablet .tn-ref-help{grid-column:3!important;grid-row:3!important;display:grid!important;grid-template-columns:72px 1fr 46px!important;align-items:center!important;min-height:94px!important}.tn-r42-tablet .tn-ref-help img{width:72px!important;height:88px!important;object-fit:contain!important}
  html.tn-r42-tablet body .site-footer{margin-top:12px!important}.tn-r42-tablet .footer-inner{width:min(calc(100% - 30px),1086px)!important;max-width:1086px!important;margin:0 auto!important;min-height:92px!important;padding:12px 18px!important}
}

/* ========================= TELEPHONE ========================= */
@media (max-width:720px){
  html.tn-r42-phone body{background:#f3f9ff!important}
  html.tn-r42-phone body .ambient-scene{opacity:.10!important}
  html.tn-r42-phone body .topbar{height:72px!important;background:#fff!important;border-bottom:1px solid #e5edf8!important;position:relative!important;z-index:140!important}
  html.tn-r42-phone body .topbar-inner{width:100%!important;max-width:none!important;height:72px!important;padding:0 14px!important;margin:0!important;gap:8px!important}
  html.tn-r42-phone .mobile-menu-btn{display:flex!important;flex:0 0 38px!important;width:38px!important;height:38px!important;margin:0!important}.tn-r42-phone .brand{min-width:0!important;flex:1!important;overflow:hidden!important}.tn-r42-phone .brand-mark{width:38px!important;height:38px!important}.tn-r42-phone .brand-copy{min-width:0!important}.tn-r42-phone .brand-copy strong{font-size:18px!important;line-height:1!important;white-space:nowrap!important}.tn-r42-phone .brand-copy small{font-size:7px!important;white-space:nowrap!important}.tn-r42-phone .top-meta,.tn-r42-phone .connect-btn{display:none!important}.tn-r42-phone .top-actions{display:flex!important;gap:5px!important;flex:0 0 auto!important}.tn-r42-phone .round-action{display:grid!important;width:38px!important;height:38px!important;border-radius:50%!important}
  html.tn-r42-phone body .mainnav{position:absolute!important;top:72px!important;left:0!important;right:0!important;width:100%!important;z-index:130!important;display:none!important;background:#fff!important}.tn-r42-phone .mainnav.open{display:block!important}.tn-r42-phone .nav-inner{width:100%!important;height:auto!important;padding:10px!important}.tn-r42-phone .nav-links{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.tn-r42-phone .nav-link{height:48px!important;justify-content:flex-start!important;padding:0 12px!important}.tn-r42-phone .search-form{display:none!important}

  html.tn-r42-phone body .home-page{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0 12px 14px!important;transform:none!important;zoom:1!important}
  html.tn-r42-phone body .home-dashboard-121{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;min-width:0!important}.tn-r42-phone .home-left-121{display:contents!important}
  html.tn-r42-phone body .hero-121{order:1!important;width:calc(100% + 24px)!important;max-width:none!important;height:252px!important;min-height:252px!important;margin:0 -12px!important;display:grid!important;grid-template-columns:55% 45%!important;border-radius:0!important;overflow:hidden!important;background:linear-gradient(90deg,#eff8ff,#dcefff)!important;transform:none!important;zoom:1!important}
  html.tn-r42-phone .hero-copy-121{padding:22px 2px 13px 17px!important;z-index:2!important}.tn-r42-phone .hero-visual-121{height:100%!important;min-width:0!important}.tn-r42-phone .hero-photo-121{width:100%!important;height:100%!important;object-fit:cover!important;object-position:55% center!important}.tn-r42-phone .hero-welcome-121{font-size:21px!important;line-height:1.05!important;margin-bottom:4px!important}.tn-r42-phone .hero-brand-121{font-size:36px!important;line-height:.98!important;letter-spacing:-1.3px!important;white-space:normal!important;overflow-wrap:anywhere!important}.tn-r42-phone .hero-sub-122{font-size:12px!important;line-height:1.42!important;margin-top:12px!important;max-width:340px!important}.tn-r42-phone .tn-ref-hero-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin-top:13px!important;width:calc(100% + 82%)!important;max-width:420px!important}.tn-r42-phone .tn-ref-pill{min-width:0!important;justify-content:center!important;font-size:8px!important;padding:7px 5px!important;border-radius:10px!important;white-space:nowrap!important}

  html.tn-r42-phone body .news-pro-121{order:2!important;width:100%!important;max-width:100%!important;min-height:292px!important;height:auto!important;margin:0!important;padding:10px 10px 12px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 6px 18px rgba(28,70,125,.10)!important;overflow:hidden!important}.tn-r42-phone .news-heading-121{padding:0 4px!important}.tn-r42-phone .news-heading-121 h2{font-size:17px!important}.tn-r42-phone .news-heading-121 a{font-size:10px!important}.tn-r42-phone .tn141-news-carousel{grid-template-columns:26px minmax(0,1fr) 26px!important;gap:4px!important;width:100%!important}.tn-r42-phone .tn141-news-viewport{width:100%!important;min-width:0!important}.tn-r42-phone .tn141-news-track{gap:5px!important}.tn-r42-phone .tn141-news-track>.news-card,.tn-r42-phone .tn141-news-track>.tn141-ad-card{flex:0 0 calc((100% - 10px)/3)!important;height:210px!important;min-width:0!important;max-width:none!important;border-radius:10px!important}.tn-r42-phone .news-card{grid-template-rows:43% 57%!important}.tn-r42-phone .news-tag{font-size:6.5px!important;padding:3px 5px!important}.tn-r42-phone .news-body{padding:4px 5px 5px!important}.tn-r42-phone .publication-meta{font-size:6.5px!important}.tn-r42-phone .publication-source{font-size:6px!important}.tn-r42-phone .news-body h3{font-size:8.7px!important;line-height:1.15!important;margin:2px 0!important}.tn-r42-phone .news-body p{font-size:7.1px!important;line-height:1.18!important;margin:2px 0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.tn-r42-phone .soft-link{font-size:7px!important}.tn-r42-phone .tn141-news-arrow{width:27px!important;height:27px!important;font-size:20px!important}.tn-r42-phone .tn141-news-dots{margin-top:6px!important}

  html.tn-r42-phone body .quick-access-121{order:3!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important;height:auto!important;margin:0!important}.tn-r42-phone .quick-access-121 .quick-access:nth-child(n+4){display:grid!important;visibility:visible!important;opacity:1!important}.tn-r42-phone .quick-access{position:relative!important;height:101px!important;min-height:101px!important;display:grid!important;grid-template-columns:37% 63%!important;grid-template-rows:1fr!important;border-radius:13px!important;border:1px solid #d7e5f5!important;padding:0!important;overflow:hidden!important;background:#fff!important}.tn-r42-phone .tn-ref-quick-photo{display:block!important;grid-column:1!important;grid-row:1!important;width:100%!important;height:100%!important;min-height:101px!important;background-position:center!important;background-size:cover!important}.tn-r42-phone .quick-access-icon-shell{position:absolute!important;left:37%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:51px!important;height:51px!important;z-index:3!important;margin:0!important}.tn-r42-phone .quick-access-copy{grid-column:2!important;grid-row:1!important;padding:10px 45px 8px 32px!important;text-align:left!important;align-items:flex-start!important;justify-content:center!important;min-width:0!important}.tn-r42-phone .quick-access-copy strong{font-size:14px!important;line-height:1.05!important}.tn-r42-phone .quick-access-copy small{font-size:8px!important;line-height:1.22!important}.tn-r42-phone .quick-access-cta{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;font-size:0!important;padding:7px 8px!important}.tn-r42-phone .quick-access-cta b{font-size:14px!important}

  html.tn-r42-phone .tn-responsive-extras{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important;max-width:100%!important;margin-top:10px!important}.tn-r42-phone .tn-ref-weather{grid-column:1!important;grid-row:1!important;min-height:126px!important}.tn-r42-phone .tn-ref-games{grid-column:2!important;grid-row:1!important;min-height:126px!important}.tn-r42-phone .tn-ref-events{grid-column:1!important;grid-row:2!important;min-height:228px!important}.tn-r42-phone .tn-ref-resources{grid-column:2!important;grid-row:2!important;min-height:228px!important}.tn-r42-phone .tn-ref-help{grid-column:1/-1!important;grid-row:3!important;min-height:82px!important;display:grid!important;grid-template-columns:76px 1fr 45px!important;align-items:center!important;gap:8px!important;border-radius:14px!important}.tn-r42-phone .tn-ref-utility{padding:10px!important}.tn-r42-phone .tn-ref-utility h3,.tn-r42-phone .tn-ref-help h3{font-size:13px!important}.tn-r42-phone .tn-ref-help img{width:72px!important;height:88px!important;object-fit:contain!important}.tn-r42-phone .tn-ref-help p{font-size:10px!important;line-height:1.25!important}.tn-r42-phone .tn-ref-weather-body{grid-template-columns:1fr!important}.tn-r42-phone .tn-ref-now{grid-template-columns:42px 1fr!important}.tn-r42-phone .tn-ref-sun{font-size:38px!important}.tn-r42-phone .tn-ref-now strong{font-size:21px!important}.tn-r42-phone .tn-ref-forecast{grid-template-columns:repeat(4,1fr)!important}.tn-r42-phone .tn-ref-forecast span{font-size:8px!important}.tn-r42-phone .tn-ref-games>div{grid-template-columns:48px 1fr!important}.tn-r42-phone .tn-ref-game-icon{font-size:38px!important}.tn-r42-phone .tn-ref-games p{font-size:9px!important}.tn-r42-phone .tn-ref-games a{font-size:9px!important;padding:6px 9px!important}.tn-r42-phone .tn-ref-event{grid-template-columns:38px 1fr!important;padding:7px 0!important}.tn-r42-phone .tn-ref-event>b{font-size:17px!important}.tn-r42-phone .tn-ref-event span strong{font-size:9px!important}.tn-r42-phone .tn-ref-event span small{font-size:7px!important}.tn-r42-phone .tn-ref-resources>a:not(.tn-ref-more){grid-template-columns:28px 1fr 12px!important;padding:7px 0!important}.tn-r42-phone .tn-ref-resources>a span{font-size:20px!important}.tn-r42-phone .tn-ref-resources>a strong{font-size:9px!important}.tn-r42-phone .tn-ref-resources>a small{font-size:7px!important}.tn-r42-phone .tn-ref-more{font-size:9px!important}
  html.tn-r42-phone body .site-footer{margin-top:9px!important;min-height:56px!important}.tn-r42-phone .footer-inner{width:100%!important;max-width:100%!important;min-height:56px!important;padding:8px 12px!important;display:flex!important;justify-content:center!important;gap:16px!important;color:#67809e!important;background:transparent!important;border-top:1px solid #dbe8f5!important}.tn-r42-phone .footer-brand,.tn-r42-phone .footer-links,.tn-r42-phone .socials,.tn-r42-phone .footer-copy{display:none!important}.tn-r42-phone .secure-badge{margin:0!important;font-size:11px!important}.tn-r42-phone .footer-inner::after{content:"tentoninumerik.fr";font-size:11px;color:#7185a1;white-space:nowrap}
}

@media (max-width:390px){
  html.tn-r42-phone .brand-copy strong{font-size:16px!important}.tn-r42-phone .hero-brand-121{font-size:32px!important}.tn-r42-phone .hero-sub-122{font-size:11px!important}.tn-r42-phone .tn-ref-pill{font-size:7px!important;padding-inline:4px!important}.tn-r42-phone .news-body h3{font-size:8px!important}.tn-r42-phone .quick-access-copy strong{font-size:13px!important}
}

/* R42 : dernier garde-fou contre le site miniaturisé/décalé dans un coin. */
html.tn-r42-phone body .topbar,html.tn-r42-phone body .mainnav,html.tn-r42-phone body .site-footer,
html.tn-r42-tablet body .topbar,html.tn-r42-tablet body .mainnav,html.tn-r42-tablet body .site-footer{
  transform:none!important;zoom:1!important;left:auto!important;right:auto!important;
}
html.tn-r42-phone body .topbar-inner,html.tn-r42-phone body .nav-inner,html.tn-r42-phone body .footer-inner,
html.tn-r42-tablet body .topbar-inner,html.tn-r42-tablet body .nav-inner,html.tn-r42-tablet body .footer-inner{
  transform:none!important;zoom:1!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
}


/* R42 — flottants : gabarit avatar validé R40, jamais agrandi par le responsive. */
#tn-r36-global-assistant,#tn-r35-global-assistant,#tn-r34-global-assistant,#tn-r40-espace-assistant{
  width:160px!important;min-width:160px!important;max-width:160px!important;
  height:132px!important;min-height:132px!important;max-height:132px!important;
}
#tn-r36-global-assistant [class*="assistant-title"],#tn-r35-global-assistant [class*="assistant-title"],#tn-r34-global-assistant [class*="assistant-title"],#tn-r40-espace-assistant .tn-r40-title{
  width:160px!important;max-width:160px!important;font-size:16px!important;line-height:1.05!important;
}
#tn-r36-global-assistant [class*="assistant-img"],#tn-r35-global-assistant [class*="assistant-img"],#tn-r34-global-assistant [class*="assistant-img"],#tn-r40-espace-assistant .tn-r40-img{
  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;
}
/* Masquer seulement les anciens avatars natifs surdimensionnés. */
#tn141-avatar-rail,.tn141-avatar-rail,#assistant-launch,#mc-launch{
  display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
}

/* Téléphone : rendre Connexion/Déconnexion réellement visible sans casser l'en-tête. */
@media (max-width:720px){
  html.tn-r42-phone body .topbar{height:66px!important;min-height:66px!important}
  html.tn-r42-phone body .topbar-inner{height:66px!important;min-height:66px!important;padding:0 8px!important;gap:4px!important;display:flex!important;align-items:center!important;overflow:visible!important}
  html.tn-r42-phone .mobile-menu-btn{flex:0 0 32px!important;width:32px!important;height:32px!important}
  html.tn-r42-phone .brand{flex:1 1 auto!important;min-width:0!important;max-width:148px!important;overflow:hidden!important}
  html.tn-r42-phone .brand-mark{width:32px!important;height:32px!important;flex:0 0 32px!important}
  html.tn-r42-phone .brand-copy strong{font-size:15px!important;line-height:1!important;white-space:nowrap!important}
  html.tn-r42-phone .brand-copy small{font-size:6.5px!important;line-height:1!important;white-space:nowrap!important}
  html.tn-r42-phone .top-meta{display:none!important}
  html.tn-r42-phone .top-actions{display:flex!important;align-items:center!important;gap:3px!important;flex:0 0 auto!important;min-width:0!important}
  html.tn-r42-phone .connect-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:30px!important;min-height:30px!important;min-width:64px!important;max-width:78px!important;padding:0 7px!important;font-size:9.5px!important;line-height:1!important;white-space:nowrap!important;border-radius:16px!important;overflow:hidden!important}
  html.tn-r42-phone .round-action{display:grid!important;width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;border-radius:50%!important}
  html.tn-r42-phone body .mainnav{top:66px!important}
  html.tn-r42-phone body main,html.tn-r42-phone body .page-main,html.tn-r42-phone body .site-main,html.tn-r42-phone body .content-page,html.tn-r42-phone body .page-content{padding-left:8px!important;padding-right:8px!important;overflow-x:hidden!important}
  html.tn-r42-phone body main>*{max-width:100%!important;min-width:0!important}
  html.tn-r42-phone #tn-r36-global-game,html.tn-r42-phone #tn-r35-global-game,html.tn-r42-phone #tn-r34-global-game{width:92px!important;min-width:92px!important;max-width:92px!important;height:64px!important;min-height:64px!important;max-height:64px!important}
  html.tn-r42-phone #tn-r36-global-game [class*="game-title"],html.tn-r42-phone #tn-r35-global-game [class*="game-title"],html.tn-r42-phone #tn-r34-global-game [class*="game-title"]{font-size:12px!important;width:92px!important}
  html.tn-r42-phone #tn-r36-global-game [class*="game-icon"],html.tn-r42-phone #tn-r35-global-game [class*="game-icon"],html.tn-r42-phone #tn-r34-global-game [class*="game-icon"]{width:42px!important;height:32px!important}
}
@media (max-width:360px){
  html.tn-r42-phone .brand{max-width:124px!important}
  html.tn-r42-phone .brand-copy strong{font-size:13.5px!important}
  html.tn-r42-phone .brand-copy small{display:none!important}
  html.tn-r42-phone .connect-btn{min-width:58px!important;max-width:66px!important;padding:0 5px!important;font-size:8.5px!important}
  html.tn-r42-phone .round-action{width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important}
}

/* Tablette : conserver les commandes visibles et éviter les débordements horizontaux. */
@media (min-width:721px) and (max-width:1366px){
  html.tn-r42-tablet body .topbar-inner{padding-left:10px!important;padding-right:10px!important;overflow:hidden!important}
  html.tn-r42-tablet .connect-btn{display:inline-flex!important;white-space:nowrap!important;min-width:94px!important}
  html.tn-r42-tablet body main,html.tn-r42-tablet body .page-main,html.tn-r42-tablet body .site-main,html.tn-r42-tablet body .content-page,html.tn-r42-tablet body .page-content{overflow-x:hidden!important}
  html.tn-r42-tablet body main>*{max-width:100%!important;min-width:0!important}
}
@media (min-width:721px) and (max-width:900px){
  html.tn-r42-tablet .top-weather-place{display:none!important}
  html.tn-r42-tablet .top-weather-inline{max-width:210px!important}
  html.tn-r42-tablet .brand{min-width:175px!important}
}
