:root{
  --paper:#E6E8EC;
  --paper-warm:#EDEEF1;
  --ink:#10131C;
  --ink-soft:#4A5163;
  --rule:#C3C8D2;
  --gold:#B8862B;
  --gold-lit:#E8C070;
  --halo:#6E7BA8;
  --plate:#0B0E17;
  --measure:66ch;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:"Newsreader",Georgia,serif;
  font-size:19px;
  line-height:1.62;
  font-weight:300;
}
h1,h2,h3{font-weight:400;line-height:1.15;margin:0;letter-spacing:-0.01em}
p{margin:0 0 1.05em}
a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--gold);padding-bottom:1px}
a:hover{color:var(--gold)}
a:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:2px}

.wrap{max-width:860px;margin:0 auto;padding:0 28px}
.eyebrow{
  font-family:"IBM Plex Mono",monospace;
  font-size:11px;font-weight:500;
  letter-spacing:0.18em;text-transform:uppercase;
  color:var(--ink-soft);
  display:block;margin-bottom:18px;
}
.rule{height:1px;background:var(--rule);border:0;margin:0}

/* ---------- plate (hero) ---------- */
.plate{
  background:var(--plate);
  color:#D7DAE3;
  padding:76px 0 60px;
  position:relative;
  overflow:hidden;
}
.plate::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 80% at 50% 22%,rgba(184,134,43,.10),transparent 62%);
}
.plate .wrap{position:relative;z-index:1}
.plate .eyebrow{color:#7C8398}
.wordmark{
  display:block;
  width:100%;
  max-width:420px;
  height:auto;
  margin:0 0 18px -6px;
}
.lede{
  font-size:clamp(19px,2.4vw,23px);
  color:#AEB4C4;
  max-width:52ch;
  margin-bottom:38px;
}
.figure-hero{display:block;width:100%;max-width:520px;margin:6px auto 30px}
.figcap{
  font-family:"IBM Plex Mono",monospace;
  font-size:11.5px;line-height:1.7;letter-spacing:.03em;
  color:#7C8398;text-align:center;max-width:46ch;margin:0 auto 40px;
}
.cta-row{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:center}
.cta{
  display:inline-block;
  background:var(--gold);color:#0B0E17;
  font-family:"IBM Plex Mono",monospace;font-size:13px;font-weight:500;
  letter-spacing:.06em;text-transform:uppercase;
  padding:13px 24px;border:0;border-radius:2px;
}
.cta:hover{background:var(--gold-lit);color:#0B0E17}
.cta-note{font-family:"IBM Plex Mono",monospace;font-size:12px;color:#7C8398;letter-spacing:.02em}

/* ---------- sections ---------- */
section{padding:64px 0}
section + section{border-top:1px solid var(--rule)}
h2{font-size:clamp(27px,3.6vw,34px);margin-bottom:22px;max-width:24ch}
.body{max-width:var(--measure)}
.body p:last-child{margin-bottom:0}

/* ---------- eclipse table ---------- */
.ephem{width:100%;border-collapse:collapse;margin-top:6px}
.ephem th{
  font-family:"IBM Plex Mono",monospace;
  font-size:10.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-soft);text-align:left;
  padding:0 14px 9px 0;border-bottom:1px solid var(--rule);
}
.ephem td{
  padding:15px 14px 15px 0;
  border-bottom:1px solid var(--rule);
  vertical-align:top;font-size:17px;
}
.ephem td:first-child{
  font-family:"IBM Plex Mono",monospace;font-size:13px;
  white-space:nowrap;padding-right:22px;
}
.ephem tr.hi td{background:rgba(184,134,43,.09)}
.ephem tr.hi td:first-child{box-shadow:inset 2px 0 0 var(--gold)}
.dur{font-family:"IBM Plex Mono",monospace;font-size:13px;color:var(--ink-soft);white-space:nowrap}

/* ---------- method ---------- */
.specs{
  list-style:none;padding:0;margin:26px 0 0;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:0;
  border-top:1px solid var(--rule);
}
.specs li{padding:18px 20px 18px 0;border-bottom:1px solid var(--rule)}
.specs b{
  display:block;font-family:"IBM Plex Mono",monospace;
  font-size:10.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-soft);margin-bottom:6px;
}
.specs span{font-size:17px;line-height:1.5}

/* ---------- signature: delta-T figure ---------- */
.sig{background:var(--paper-warm)}
.figure-dt{display:block;width:100%;max-width:820px;margin:34px auto 14px}

/* ---------- shots ---------- */
.shots{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.shot{
  aspect-ratio:9/17;background:#DADDE4;
  border:1px solid var(--rule);border-radius:3px;
  display:flex;align-items:center;justify-content:center;
  font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.06em;
  color:#8B92A3;text-align:center;padding:16px;
}
.shot img{width:100%;height:100%;object-fit:cover;border-radius:2px;display:block}

/* ---------- tiers ---------- */
.tiers{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:26px;border-top:1px solid var(--rule)}
.tiers div{padding:22px 26px 22px 0;border-bottom:1px solid var(--rule)}
.tiers h3{
  font-family:"IBM Plex Mono",monospace;font-size:11px;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:10px;
}
.tiers p{font-size:17px;line-height:1.55}

/* ---------- footer ---------- */
footer{background:var(--plate);color:#7C8398;padding:48px 0;font-size:15px}
footer a{color:#C9CEDA;border-bottom-color:#4A5163}
footer a:hover{color:var(--gold-lit);border-bottom-color:var(--gold)}
.foot-links{display:flex;flex-wrap:wrap;gap:12px 28px;margin-bottom:22px}
.colophon{font-family:"IBM Plex Mono",monospace;font-size:11.5px;line-height:1.8;letter-spacing:.02em;color:#5D6478}

@media (max-width:620px){
  body{font-size:18px}
  section{padding:48px 0}
  .plate{padding:56px 0 46px}
  .tiers{grid-template-columns:1fr}
  .ephem td:first-child{padding-right:14px}
  .shots{grid-template-columns:repeat(2,1fr)}
}
@media (prefers-reduced-motion:no-preference){
  .corona{animation:breathe 14s ease-in-out infinite}
  @keyframes breathe{0%,100%{opacity:.85}50%{opacity:1}}
}

/* ---------- pages par ville (générées : tools/site/generer_pages.py) ---------- */
.wordmark-lien{display:inline-block;border:0;padding:0;margin-bottom:30px}
.wordmark-lien:hover{opacity:.8}
.wordmark-haut{display:block;width:100%;max-width:300px;height:auto}
.fil{font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.06em;color:#7C8398;margin-bottom:26px}
.fil a{color:#AEB4C4;border-bottom-color:#4A5163}
.fil a:hover{color:var(--gold-lit)}
.fil span{margin:0 6px;color:#4A5163}
.titre-ville{font-size:clamp(30px,4.4vw,44px);color:#F0EAD9;max-width:22ch;margin-bottom:22px}
.ville .plate{padding:56px 0 52px}
.ville .lede{max-width:60ch;margin-bottom:0}
.ville section{padding:52px 0}
.phases{margin-top:22px}
.phases th.num,.phases td.num{text-align:right;font-family:"IBM Plex Mono",monospace;font-size:14px;white-space:nowrap}
/* Temps universel : centre sous son en-tete court (Ludo, 2026-08-30). */
.phases th.tu,.phases td.tu{text-align:center}
.phases td:first-child{font-family:"Newsreader",Georgia,serif;font-size:17px;white-space:normal;padding-right:18px}
.phases tr.hi td{font-weight:500}
.phases .abrege{display:none}
.chiffres{margin-top:34px}
.chiffres span{font-family:"IBM Plex Mono",monospace;font-size:18px}
.vignette{margin:34px auto 0;max-width:360px}
.vignette img{display:block;width:100%;height:auto;border:1px solid var(--rule);border-radius:3px}
.vignette .figcap{margin:12px auto 0;color:var(--ink-soft)}
.cta-row-clair{margin-top:26px}
.retour{margin:30px 0 0;font-size:17px}
.autres{background:var(--paper-warm)}
.pays-liste{columns:3;column-gap:36px;margin-top:26px;border-top:1px solid var(--rule)}
.pays{break-inside:avoid;padding:16px 0 16px;border-bottom:1px solid var(--rule)}
.pays h3{font-family:"IBM Plex Mono",monospace;font-size:10.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:8px}
.liste-villes{font-size:16px;line-height:1.85;max-width:none;margin:0}
.liste-villes a{border-bottom-color:var(--rule)}
.liste-villes a:hover{border-bottom-color:var(--gold)}
@media (max-width:900px){
  .pays-liste{columns:2}
}
@media (max-width:620px){
  .wordmark-haut{max-width:230px}
  .pays-liste{columns:1}
  .phases td:first-child{font-size:15px;padding-right:10px}
  .phases th.num,.phases td.num{font-size:12.5px}
  .phases th:nth-child(3),.phases td:nth-child(3){display:none} /* TU masqué sur petit écran */
  .phases .glose{display:none}
  .phases .abrege{display:inline}
  .phases th,.phases td{padding-left:0;padding-right:8px}
  .phases td:last-child,.phases th:last-child{padding-right:0}
}

/* ---------- page pivot d'une éclipse ---------- */
.carte{margin:26px 0 34px}
.carte img{display:block;width:100%;height:auto;border:1px solid var(--rule);border-radius:3px;background:#CFD6E2}
.carte .figcap{margin:14px auto 0;max-width:58ch;color:var(--ink-soft);text-align:center}
.pivot h2{font-size:clamp(23px,3vw,29px);margin:34px 0 18px}
.classement{margin-top:22px}
.classement td,.classement th{padding-top:11px;padding-bottom:11px}
.classement td:first-child{font-size:17px}
.classement .pays-col{font-family:"IBM Plex Mono",monospace;font-size:12px;color:var(--ink-soft);letter-spacing:.04em}
.classement td.forte{color:var(--ink);font-weight:500;font-size:14.5px}
.classement th.num,.classement td.num{text-align:right;font-family:"IBM Plex Mono",monospace;font-size:13.5px;white-space:nowrap}
@media (max-width:620px){
  .classement .pays-col{display:none}
  .classement th.num,.classement td.num{font-size:12px}
  .classement td:first-child{font-size:15px}
}

/* ---------- en-tête commun (gabarit.py) : wordmark, menu, langues ---------- */
/* une barre identique partout : petit wordmark au-dessus (sauf sur l'accueil),
   puis menu à gauche et langues à droite, fermée par un filet, puis de l'air */
.entete{padding-bottom:18px;margin-bottom:40px;border-bottom:1px solid #232838}
.entete .wordmark-lien{display:inline-block;margin:0 0 18px}
.entete .wordmark-haut{max-width:260px}
.navs{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 22px}
.menu{display:flex;flex-wrap:wrap;gap:4px 18px;font-family:"IBM Plex Mono",monospace;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase}
.menu a{color:#AEB4C4;border-bottom:1px solid transparent;padding-bottom:2px}
.menu a:hover{color:var(--gold-lit)}
.menu a.actif{color:#F0EAD9;border-bottom-color:var(--gold)}
.langues{display:flex;gap:2px;font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.1em}
.langues a{color:#7C8398;border:1px solid #2A3044;border-radius:2px;padding:3px 7px}
.langues a:hover{color:var(--gold-lit);border-color:var(--gold)}
.langues a.actif{color:#F0EAD9;border-color:#4A5163}
.entete-accueil{margin-bottom:44px}
.accueil .wordmark{margin-top:0}
@media (max-width:620px){
  .entete .wordmark-haut{max-width:200px}
  .menu{font-size:11px;gap:4px 14px}
}

/* ---------- accueil (portail) ---------- */
.rubriques{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:0;border-top:1px solid var(--rule)}
.carte-rubrique{display:block;border:0;border-bottom:1px solid var(--rule);padding:22px 26px 22px 0;color:var(--ink)}
.carte-rubrique h3{font-family:"IBM Plex Mono",monospace;font-size:11.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:10px}
.carte-rubrique p{font-size:16.5px;line-height:1.55;margin:0}
.carte-rubrique:hover h3{color:var(--gold)}
.carte-rubrique:hover{color:var(--ink)}
.note-langue{font-size:16px;color:var(--ink-soft);margin-top:22px}
.prochaines td:first-child{font-family:"Newsreader",Georgia,serif;font-size:17px;white-space:normal}
.prochaines th.num,.prochaines td.num{text-align:right;font-family:"IBM Plex Mono",monospace;font-size:13.5px;white-space:nowrap}
.aucun{font-size:16px;color:var(--ink-soft);font-style:italic}

/* ---------- articles (articles.py) ---------- */
.titre-article{font-size:clamp(30px,4.4vw,44px);color:#F0EAD9;max-width:26ch;margin-bottom:22px}
.article-page .plate,.catalogue .plate{padding:56px 0 52px}
.article-page .lede,.catalogue .lede{max-width:60ch;margin-bottom:0}
.meta-article{font-family:"IBM Plex Mono",monospace;font-size:11.5px;letter-spacing:.04em;color:#7C8398;margin:22px 0 0}
.article{padding:52px 0 64px}
.texte h2{font-size:clamp(24px,3.2vw,30px);margin:48px 0 18px;max-width:none}
.texte h2:first-child{margin-top:0}
.texte h3{font-size:clamp(20px,2.6vw,23px);margin:34px 0 12px;font-style:italic}
.texte ul,.texte ol{padding-left:1.3em;margin:0 0 1.05em}
.texte li{margin-bottom:.35em}
.texte blockquote{margin:26px 0 26px 0;padding:4px 0 4px 22px;border-left:2px solid var(--gold);font-size:18px;line-height:1.6;color:var(--ink-soft)}
.texte blockquote p:last-child{margin-bottom:0}
.texte code{font-family:"IBM Plex Mono",monospace;font-size:.82em;background:var(--paper-warm);padding:1px 5px;border-radius:2px}
.texte table{width:100%;border-collapse:collapse;margin:22px 0 30px;font-size:16.5px}
.texte th{font-family:"IBM Plex Mono",monospace;font-size:10.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);text-align:left;padding:0 14px 9px 0;border-bottom:1px solid var(--rule)}
.texte td{padding:11px 14px 11px 0;border-bottom:1px solid var(--rule);vertical-align:top}
.texte sup{font-size:.7em;line-height:0;vertical-align:baseline;position:relative;top:-.55em}
.texte sup a{border-bottom:0;color:var(--gold);font-family:"IBM Plex Mono",monospace;padding:0 1px}
.fig{margin:32px 0}
.fig img{display:block;width:100%;max-width:680px;height:auto;border:1px solid var(--rule);border-radius:3px;margin:0 auto}
.fig figcaption{font-family:"IBM Plex Mono",monospace;font-size:11.5px;line-height:1.7;letter-spacing:.03em;color:var(--ink-soft);text-align:center;max-width:56ch;margin:12px auto 0}

/* Crédit d'une image sous licence (photos Creative Commons du glossaire,
   2026-09-01). L'attribution est une OBLIGATION de licence, pas une
   décoration : discrète, mais elle doit rester lisible et le lien cliquable. */
.fig figcaption .credit{display:block;margin-top:7px;opacity:.7;font-size:10.5px}
.fig figcaption .credit a{color:inherit;text-underline-offset:2px}
.sommaire{margin:0 0 36px;padding:18px 22px;background:var(--paper-warm);border:1px solid var(--rule);border-radius:3px;font-size:16px}
.sommaire b{display:block;font-family:"IBM Plex Mono",monospace;font-size:10.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:10px}
.sommaire ol{margin:0;padding-left:1.4em;line-height:1.7}
.sommaire ol ol{padding-left:1.2em;font-size:15px}
.sommaire a{border-bottom-color:var(--rule)}
.footnote{margin-top:48px;padding-top:6px;font-size:15.5px;line-height:1.6;color:var(--ink-soft)}
.footnote h2{font-size:clamp(20px,2.6vw,24px);margin:0 0 12px}
.footnote ol{padding-left:1.6em}
.footnote li{margin-bottom:.5em}
.footnote li p{margin:0}
.footnote .footnote-backref{border-bottom:0;color:var(--gold);margin-left:.3em;font-family:"IBM Plex Mono",monospace;font-size:.85em}
.biblio{margin-top:40px;font-size:16px;line-height:1.6}
.biblio h2{font-size:clamp(20px,2.6vw,24px);margin:0 0 12px}
.biblio ul{list-style:none;padding:0;margin:0}
.biblio li{padding-left:2em;text-indent:-2em;margin-bottom:.55em}
.ref-manquante{background:#F6D4D4;color:#7A1F1F;font-family:"IBM Plex Mono",monospace;font-size:.8em;padding:1px 5px;border-radius:2px}
/* Encadré d'ouverture d'un article, pour ce qui doit être lu même si
   l'on ne lit rien d'autre (article « Observer une éclipse »,
   2026-09-10). Même famille que .encadre-appli, en plus affirmé. */
/* Appel vers l'article de sécurité oculaire, au bas de « ce que l'on
   verra » sur chaque page de ville (2026-09-10). */
.appel-securite{margin-top:18px}
.appel-securite a{font-family:"IBM Plex Mono",monospace;font-size:13.5px;color:var(--gold);text-decoration:none;border-bottom:1px solid transparent}
.appel-securite a:hover{border-bottom-color:var(--gold)}
/* Figure étroite et centrée, pour un portrait (2026-09-10). */
.fig.fig-etroite{max-width:420px;margin-left:auto;margin-right:auto}
.encadre-urgent{margin:0 0 38px;padding:22px 26px;border:1px solid var(--rule);border-left:3px solid var(--gold);background:var(--paper-warm);border-radius:3px}
.encadre-urgent p:first-child{font-family:"IBM Plex Mono",monospace;font-size:10.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin:0 0 12px}
.encadre-urgent p:first-child strong{font-weight:500}
.encadre-urgent ul{margin:0;padding-left:20px}
.encadre-urgent li{font-size:16px;line-height:1.5;margin-bottom:9px}
.encadre-urgent li:last-child{margin-bottom:0}
.encadre-appli{margin:34px 0;padding:20px 24px;border:1px solid var(--rule);border-left:3px solid var(--gold);background:var(--paper-warm);border-radius:3px}
.encadre-appli b{display:block;font-family:"IBM Plex Mono",monospace;font-size:10.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:8px}
.encadre-appli p{font-size:16.5px;line-height:1.55;margin-bottom:14px}
.encadre-appli .cta{font-size:12px;padding:10px 18px}
.citer{margin-top:48px;padding:18px 22px;border:1px solid var(--rule);border-radius:3px;font-size:15.5px;line-height:1.6;color:var(--ink-soft)}
.citer b{display:block;font-family:"IBM Plex Mono",monospace;font-size:10.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}
.citer p{margin:0;word-break:break-word}
.liste-articles{margin-top:40px}
.liste-articles h2{font-size:clamp(22px,3vw,27px);margin-bottom:14px}
.liste-articles ul{list-style:none;padding:0;margin:0;border-top:1px solid var(--rule)}
.liste-articles li{padding:14px 0;border-bottom:1px solid var(--rule)}
.liste-articles li a{font-size:19px}
.liste-articles li span{display:block;font-size:16px;color:var(--ink-soft);margin-top:4px}
.autres-langues{font-family:"IBM Plex Mono",monospace;font-size:11.5px;letter-spacing:.04em;color:var(--ink-soft);margin-bottom:22px}
@media (max-width:620px){
  .texte blockquote{padding-left:16px;font-size:17px}
  .fig{margin:24px 0}
}

/* ---------- fiche d'éclipse historique (generer_site.fiche_historique) ---------- */
.fiche h2{margin-top:44px}
.fiche h2:first-of-type{margin-top:0}
.fiche .coords{font-family:"IBM Plex Mono",monospace;font-size:12px;color:var(--ink-soft);letter-spacing:.04em;margin-left:10px;white-space:nowrap}
.geometrie{font-size:16px;color:var(--ink-soft);max-width:var(--measure);margin:18px 0 0}
.liens-recit{font-size:19px}

/* Encadré d'observation (fiches historiques racontées : Kepler 1600) —
   même famille que .encadre-appli, valeurs en mono. */
.encadre-obs{margin:34px 0;padding:20px 24px;border:1px solid var(--rule);border-left:3px solid var(--gold);background:var(--paper-warm);border-radius:3px}
.encadre-obs b{display:block;font-family:"IBM Plex Mono",monospace;font-size:10.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:10px}
.encadre-obs table{width:100%;border-collapse:collapse;font-family:"IBM Plex Mono",monospace;font-size:13px;line-height:1.7}
.encadre-obs td{padding:3px 0;vertical-align:top}
.encadre-obs td+td{text-align:right;white-space:nowrap}
.encadre-obs .obs-note{font-size:12.5px;color:var(--ink-soft);margin-top:10px;margin-bottom:0}
.encadre-obs p{font-size:15.5px;line-height:1.6;margin:0 0 12px}

/* --- Pages arabes (dir="rtl", 2026-08-31) : miroir minimal. La mise en
   page suit d'elle-même le sens d'écriture ; on ne corrige que ce qui est
   fixé en dur sur la gauche. --- */
html[dir="rtl"] body{font-family:"Noto Naskh Arabic","Newsreader",Georgia,serif}
/* L'ESPACEMENT DE LETTRES délie la cursive arabe (les lettres d'un même mot
   ne se touchent plus) : on l'annule partout, et les petites étiquettes qui
   comptaient sur lui gardent leur police mono pour les chiffres seulement —
   le texte arabe passe en Naskh. */
html[dir="rtl"] *{letter-spacing:0 !important}
html[dir="rtl"] .menu a,html[dir="rtl"] .fil,html[dir="rtl"] .fil a,
html[dir="rtl"] .eyebrow,html[dir="rtl"] .figcap,
html[dir="rtl"] .phases thead th,html[dir="rtl"] .specs b,
html[dir="rtl"] .colophon,html[dir="rtl"] .cta-note,
html[dir="rtl"] .foot-links a,html[dir="rtl"] h2.section,
html[dir="rtl"] .retour a{font-family:"Noto Naskh Arabic","Segoe UI",sans-serif}
html[dir="rtl"] .figcap{text-align:right}
html[dir="rtl"] .texte th{text-align:right;padding:0 0 9px 14px}
html[dir="rtl"] .texte ul,html[dir="rtl"] .texte ol{padding-left:0;padding-right:1.3em}
/* Heures, durées, coordonnées : petits blocs latins dans un texte arabe —
   leur sens interne reste gauche → droite (tableau des phases ET
   classements de la page pivot). */
html[dir="rtl"] .phases td.num,html[dir="rtl"] .phases th.num,
html[dir="rtl"] .classement td.num{direction:ltr}
/* Les cellules et en-têtes en police mono déliaient l'arabe (glyphes
   isolés) : Naskh pour tout ce qui porte du texte. */
html[dir="rtl"] .classement th,html[dir="rtl"] .classement .pays-col,
html[dir="rtl"] .classement td a{font-family:"Noto Naskh Arabic","Segoe UI",sans-serif}
@media (max-width:700px){
  html[dir="rtl"] .phases th,html[dir="rtl"] .phases td{padding-left:8px;padding-right:0}
}

/* ---- carte régionale d'une ville (chantier du 2026-09-09) --------------
   Elle est en <object> et non en <img> : c'est ce qui rend cliquables les
   noms de villes dessinés dedans. Un objet SVG n'a pas de hauteur
   intrinsèque comme une image, d'où l'aspect-ratio — nos cartes sont
   carrées. */
.carte-locale object{display:block;width:100%;aspect-ratio:1/1;border:1px solid var(--rule);border-radius:3px;background:#CFD6E2}
.carte-legende{list-style:none;display:flex;flex-wrap:wrap;gap:7px 20px;margin:14px 0 0;padding:0;font-family:"IBM Plex Mono",monospace;font-size:12px;color:var(--ink-soft)}
.carte-legende li{display:flex;align-items:center;gap:8px}
.carte-legende span{flex:none;display:inline-block}
.cl-bande{width:18px;height:11px;background:rgba(16,19,28,.16);border:1.5px solid #8A5F13}
.cl-axe{width:19px;height:0;border-top:2px dashed var(--gold)}
.cl-ici{width:11px;height:11px;border-radius:50%;background:#B3261E}
.cl-or{width:11px;height:11px;border-radius:50%;background:var(--gold)}
.cl-creux{width:11px;height:11px;border-radius:50%;background:var(--paper-warm);border:2px solid #8A5F13}
.cl-sombre{width:11px;height:11px;border-radius:50%;background:var(--ink-soft)}
.carte-sources{margin:7px 0 0;font-family:"IBM Plex Mono",monospace;font-size:9.5px;letter-spacing:.02em;line-height:1.5;color:var(--ink-soft);opacity:.65;text-align:center}
@media (max-width:620px){.carte-legende{font-size:11px;gap:6px 14px}}

/* ---------- la prochaine éclipse, pays par pays (par_pays.py, 2026-09-10) ---------- */
.ephem.par-pays{margin-top:34px}
.ephem.par-pays td{font-size:15.5px;padding:12px 14px 12px 0;line-height:1.4}
.ephem.par-pays td:first-child{font-family:inherit;font-size:15.5px;font-weight:600;white-space:normal;width:26%}
.ephem.par-pays .pays-de{display:block;font-size:12.5px;font-weight:400;color:var(--ink-soft)}
.ephem.par-pays tr.groupe th{padding:40px 0 9px;font-size:12px;color:var(--ink);letter-spacing:.18em}
.ephem.par-pays .detail{display:block;font-family:"IBM Plex Mono",monospace;font-size:12px;line-height:1.55;color:var(--ink-soft);margin-top:3px}
.ephem.par-pays td.aucune{font-size:14px;color:var(--ink-soft);font-style:italic}
@media (max-width:600px){
  .ephem.par-pays td,.ephem.par-pays td:first-child{font-size:14px;padding-right:8px}
  .ephem.par-pays .detail{font-size:11px}
}
.mise-a-jour{font-family:"IBM Plex Mono",monospace;font-size:12px;color:var(--ink-soft);margin:18px 0 0}
.plate .mise-a-jour{color:rgba(240,234,217,.6)}
.aller-a{font-size:15px;margin:26px 0 0;line-height:2}
.aller-a b{font-family:"IBM Plex Mono",monospace;font-size:10.5px;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-right:8px}
.aller-a a{white-space:nowrap}
/* Une ancre (#fr, #europe) ne doit pas coller au bord haut de la fenêtre. */
.ephem.par-pays tr[id]{scroll-margin-top:24px}
.ephem.par-pays tr.groupe[id]{scroll-margin-top:12px}
/* Le renvoi au tableau des pays, sous la liste des prochaines éclipses. */
.liens-recit.apres-table{margin-top:26px;font-size:17px}
/* Suite d'une même idée : pas de filet de séparation (Ludo, 2026-09-10 —
   la carte et les pays traversés ne sont qu'une seule chose). */
section + section.sans-trait{border-top:none;padding-top:0}
.pays-traverses{font-size:17px;line-height:1.9}
/* Second bouton de boutique : l'App Store, à côté de Google Play
   (l'iPhone est publié depuis le 2026-09-10). */
.cta.cta-second{background:none;border:1px solid rgba(240,234,217,.38);color:var(--paper)}
.cta.cta-second:hover{border-color:var(--gold);color:var(--gold)}
/* Planisphère du siècle : il déborde la colonne de texte, comme une planche. */
.fig-large{max-width:none}
.fig-large img{width:100%;border:1px solid var(--rule)}

/* ---------- un siècle d'ombres (accumulation.py, 2026-09-11) ---------- */
.legende-bandes{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;
  font-family:"IBM Plex Mono",monospace;font-size:12.5px;color:var(--ink-soft);margin-top:22px}
.pastille{display:inline-block;width:26px;height:11px;border-radius:2px;margin-right:-8px}
.pastille.totale{background:#2A3044;opacity:.55}
.pastille.annulaire{background:#8A6410;opacity:.55}
.legende-note{font-size:11.5px;opacity:.8}
