/* Habillage d'AGA : le noir de l'écran éteint, le Point, l'année de l'époque. Aucun bord, aucun rayon, aucune ombre dure. */
@layer socle-base;
@font-face { font-family: "Source Sans 3"; src: url("/polices/socle/source-sans-3-vf.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Liberation Mono"; src: url("/polices/socle/liberation-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }

@property --t { syntax: "<number>"; inherits: true; initial-value: 1991; }
@property --lueur-point { syntax: "<number>"; inherits: true; initial-value: 1; }

@view-transition { navigation: auto; }

:root {
  --nuit: #000;
  --colonne-fond: #060807;
  --lettre: #8f8bc2;
  --clair: #e8e5f4;
  --point: #fbe6a6;
  --lueur: #f2a98e;
  --sourd: #8380b6;
  --eteint: #605d8f;
  --colonne: 0px;
  --barre: 0px;
  --vue-h: 100svh;
  --gouttiere: 36px;
  color-scheme: dark;
}
@media (max-width: 1023.98px) {
  :root { --gouttiere: 16px; }
}

/* Remises à zéro dans la couche la plus basse : les couches des époques (@layer epoque-…) passent devant. */
@layer socle-base {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; padding: 0; }
  a { color: inherit; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: start; }
}
html { background: var(--nuit); scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  background: var(--nuit);
  color: var(--clair);
  font: 400 16px/1.45 "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  overflow-x: clip;
  min-height: 100svh;
}
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* Focus clavier : aplat plein inversé, partout dans l'habillage. */
.habillage :focus-visible, .evite:focus-visible, .lever :focus-visible, .invitation :focus-visible, .pied :focus-visible, .page-texte :focus-visible {
  outline: none; background: var(--clair); color: #000; text-decoration: none;
}
.habillage :focus-visible .pastille, .invitation :focus-visible .pastille { background: #000; filter: none; }

/* Lien d'évitement : invisible jusqu'au focus. */
.evite { position: fixed; left: 16px; top: 12px; z-index: 40; padding: 6px 12px; background: var(--clair); color: #000; font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.evite:focus-visible { transform: none; }

/* Le Point : un seul pixel lumineux, carré et net, sans halo ni lueur floue (#65, #82) ; sa matière suit l'époque (data-forme). */
.le-point, .pastille { display: inline-block; flex: none; width: 10px; height: 10px; background: var(--point); }
.le-point { filter: none; view-transition-name: le-point; transition: background-color .6s, filter .6s, transform .6s; }
.pastille { width: 8px; height: 8px; }
[aria-pressed="false"] .pastille, .pastille.eteinte { background: var(--eteint); filter: none; }
.le-point[data-forme="1991"] { background: #b8f5c8; filter: none; }
.le-point[data-forme="1994"] { background: #ffffcc; filter: none; image-rendering: pixelated; }
.le-point[data-forme="1997"] { background: #ffff66; filter: drop-shadow(-1px 0 0 rgb(255 0 0 / .7)) drop-shadow(1px 0 0 rgb(0 80 255 / .7)); }
.le-point[data-forme="2000"] { background: radial-gradient(circle, #fff 0 30%, var(--point) 70%); filter: none; }
.le-point[data-forme="2005"] { background: linear-gradient(#fff8dc 0 45%, #f4c95d 55%); filter: none; }
.le-point[data-forme="2009"] { background: linear-gradient(135deg, #fff3c4, #c9a24a); filter: drop-shadow(0 1px 0 rgb(255 255 255 / .25)); }
.le-point[data-forme="2014"] { background: #ffd54a; filter: none; }
.le-point[data-forme="2020"] { background: color(display-p3 1 0.93 0.68); filter: none; }
.le-point[data-forme="2026"] { background: color(display-p3 1 0.95 0.75); filter: none; }
@media (dynamic-range: high) {
  .le-point[data-forme="2020"], .le-point[data-forme="2026"] { dynamic-range-limit: no-limit; background: color(rec2100-linear 3 2.7 1.9); }
}

/* Habillage : une colonne de nuit à droite (grand écran), un bandeau de nuit en haut (téléphone), hors de la page d'époque.
   Le logotype, l'année au style de son époque, « Réglages ». Pendant l'ouverture, la colonne est repliée et le bandeau vide. */
.habillage { position: fixed; inset: 0; z-index: 20; pointer-events: none; color: var(--lettre); }
.habillage::before { content: ""; position: absolute; z-index: -1; background: var(--nuit); }
.logotype {
  position: absolute; left: var(--gouttiere); top: 20px; display: inline-flex; padding: 6px; margin: -6px;
  color: var(--lettre); text-decoration: none; view-transition-name: logotype; pointer-events: auto; transition: opacity .5s;
}
.logotype svg { display: block; width: 63px; height: 21px; }
.logotype .l { fill: var(--lettre); }
.logotype .p { fill: var(--point); }
.ouvre-reglages {
  position: absolute; right: var(--gouttiere); top: 20px; display: inline-flex; align-items: center; gap: 10px;
  min-height: 30px; padding: 2px 8px; margin: -2px -8px; font-size: 15px; letter-spacing: .04em; color: var(--clair);
  pointer-events: auto; transition: opacity .5s;
}
.le-point.mini { width: 6px; height: 6px; view-transition-name: none; }
/* Le focus clavier montre l'élément tout de suite, sans fondu (#67). */
.logotype:focus-visible, .ouvre-reglages:focus-visible, .annee :focus-visible { transition: none; }
.habillage .logotype:focus-visible :is(.l, .p) { fill: #000; }

/* L'année (option A, 16/11) : écrite dans la typo de son époque, l'élément entier au style de l'époque (data-style).
   Aplat plein bord à bord de la colonne : aucun bord, aucun rayon, aucune ombre. Dessous, l'époque voisine, un lien. */
.annee {
  --a-fond: #000; --a-lettre: var(--clair); --a-sourd: var(--lettre); --a-lien: var(--clair); --a-focus-fond: var(--clair); --a-focus-lettre: #000;
  position: absolute; isolation: isolate; overflow: clip; pointer-events: auto; display: grid; justify-items: end; align-content: center;
  padding: 24px 24px 22px 12px; background: var(--a-fond); color: var(--a-lettre); text-align: right; transition: opacity .6s cubic-bezier(.2, .7, .2, 1);
}
.annee::before, .annee::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.annee-an { display: block; outline: none; cursor: default; }
.annee-an .an { display: block; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.annee-nom { margin-top: 8px; max-width: 100%; font-size: 13px; line-height: 1.25; color: var(--a-sourd); text-wrap: balance; }
.annee-voisine { margin-top: 18px; max-width: 100%; font-size: 13px; line-height: 1.3; }
.annee-voisine + .annee-voisine { margin-top: 6px; }
.annee-voisine[hidden] { display: none; }
.annee-voisine a { display: inline-block; padding: 1px 3px; margin: -1px -3px; color: var(--a-lien); text-decoration: none; }
.annee-voisine .nom { display: block; }
.annee-voisine .fl::before { content: ""; }
/* Focus clavier : aplat inversé aux couleurs de l'époque, texte plein, sans reflet.
   Spécificité 0,5,0 : elle passe devant toute règle d'époque (au plus 0,4,0), le nom de la voisine compris (#164). */
.annee.annee.annee :focus-visible:focus-visible, .annee.annee.annee :focus-visible:focus-visible * {
  outline: none; background: var(--a-focus-fond); color: var(--a-focus-lettre); -webkit-text-fill-color: currentColor; -webkit-box-reflect: none; text-decoration-color: currentColor;
}
@keyframes clignote { 50% { opacity: 0; } }

/* 1991 : terminal, phosphore vert sur noir, invite « > » et curseur qui clignote. */
.annee[data-style="1991"] { --a-fond: #000; --a-lettre: #b8f5c8; --a-sourd: #8fd9a3; --a-lien: #b8f5c8; --a-focus-fond: #b8f5c8; font-family: "Liberation Mono", ui-monospace, monospace; }
.annee[data-style="1991"] .annee-an .an { font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.annee[data-style="1991"] .annee-nom { font-size: 13px; }
.annee[data-style="1991"] .annee-voisine { margin-top: 24px; }
.annee[data-style="1991"] .suiv .fl::before { content: "> "; }
.annee[data-style="1991"] .prec .fl::before { content: "< "; }
.annee[data-style="1991"] .suiv .an::after { content: ""; display: inline-block; width: .62em; height: 1.1em; margin-left: .15em; vertical-align: -.22em; background: currentColor; animation: clignote 1.06s step-end infinite; }
.annee[data-style="1991"] .annee-voisine .nom { color: var(--a-sourd); }

/* 1994 : la page grise de Mosaic, titre criard en Times (rouge sur surligné jaune), « NEW! » qui clignote, lien bleu souligné. */
.annee:is([data-style="1994"], [data-style="1997"]) { --a-lien: #0000ee; --a-focus-fond: #000080; --a-focus-lettre: #fff; }
.annee:is([data-style="1994"], [data-style="1997"]) .annee-voisine a { text-decoration: underline; text-underline-offset: .12em; }
.annee:is([data-style="1994"], [data-style="1997"]) .suiv::after {
  content: "NEW!" / ""; display: inline-block; margin: 6px 0 0 4px; padding: 1px 4px 0; vertical-align: 1px;
  background: #a00000; color: #ffff00; font: 700 10px/1.2 Arial, "Liberation Sans", sans-serif; letter-spacing: .04em; animation: clignote .8s step-end infinite;
}
.annee[data-style="1994"] { --a-fond: #c0c0c0; --a-lettre: #000; --a-sourd: #000; font-family: "Liberation Serif", "Times New Roman", Times, serif; }
.annee[data-style="1994"] .annee-an .an { padding: 2px 4px 0; margin-right: -4px; background: #ffff00; color: #b00000; font-size: 44px; font-weight: 700; letter-spacing: -.02em; }
.annee[data-style="1994"] .annee-nom { font-size: 15px; font-style: italic; }
.annee[data-style="1994"] .annee-voisine { font-size: 15px; }
.annee[data-style="1994"] .prec .fl::before { content: "← "; }
.annee[data-style="1994"] .suiv .fl::before { content: "→ "; }

/* 1997 : page perso sur fond en mosaïque, titre arc-en-ciel en Comic, « NEW! », lien bleu souligné. */
.annee[data-style="1997"] {
  --a-fond: #ffffcc; --a-lettre: #000; --a-sourd: #500050; font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Liberation Sans", sans-serif;
  background: radial-gradient(circle at 25% 25%, #f1e3a8 0 2px, transparent 2.5px) 0 0 / 22px 22px, radial-gradient(circle at 75% 75%, #f3d9ef 0 2px, transparent 2.5px) 0 0 / 22px 22px, #ffffcc;
}
.annee[data-style="1997"] .annee-an .an {
  font-size: 38px; font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(90deg, #c00000, #904800 25%, #007000 50%, #0000c0 75%, #800080); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.annee[data-style="1997"] .annee-nom { font-size: 14px; font-weight: 700; }
.annee[data-style="1997"] .prec .fl::before { content: "<< "; }
.annee[data-style="1997"] .suiv .fl::before { content: ">> "; }

/* 2000 : l'intro animée ; rayons sombres, chiffres chromés en italique, liens en capitales espacées comme « Passer l'intro ». */
.annee[data-style="2000"] {
  --a-fond: #0e0f2b; --a-lettre: #e6e8ff; --a-sourd: #c9c6f0; --a-lien: #fbe6a6; --a-focus-fond: #fbe6a6;
  background: repeating-conic-gradient(from 0deg at 110% 50%, #17194d 0 7.5deg, #0e0f2b 7.5deg 15deg); font-family: Verdana, "DejaVu Sans", sans-serif;
}
.annee[data-style="2000"] .annee-an .an {
  font: italic 700 38px/1 Arial, "Liberation Sans", sans-serif; letter-spacing: -.03em;
  background: linear-gradient(#ffffff 0 46%, #9aa6e0 50%, #e4e8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.annee[data-style="2000"] :is(.annee-nom, .annee-voisine) { font: 400 10px/1.5 "Liberation Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .2em; }
.annee[data-style="2000"] .prec .fl::before { content: "« "; }
.annee[data-style="2000"] .suiv .fl::before { content: "» "; }

/* 2005 : Web 2.0, chiffres glacés bleus avec leur reflet, aplat glacé coupé en deux, « bêta ». */
.annee[data-style="2005"] {
  --a-fond: #fff; --a-lettre: #1f1f1f; --a-sourd: #3a3a3a; --a-lien: #0b57a8; --a-focus-fond: #0b57a8; --a-focus-lettre: #fff;
  background: linear-gradient(#ffffff 0 50%, #e6f0fb 50% 100%); font-family: Verdana, "DejaVu Sans", sans-serif;
}
.annee[data-style="2005"] .annee-an .an {
  font: 700 34px/1 "Trebuchet MS", "DejaVu Sans", Verdana, sans-serif; letter-spacing: -.06em; padding-bottom: 2px;
  background: linear-gradient(#2370bd 0 50%, #0d4f9e 50% 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.annee[data-style="2005"] .annee-nom { font-size: 12px; }
/* Le reflet sous les chiffres, sur grand écran seulement : le bandeau du téléphone n'a pas la place. */
@media (min-width: 1024px) {
  .annee[data-style="2005"] .annee-an .an { -webkit-box-reflect: below 1px linear-gradient(transparent 45%, rgb(0 0 0 / .28)); }
  .annee[data-style="2005"] .annee-nom { margin-top: 18px; }
}
.annee[data-style="2005"] .annee-nom::after { content: "bêta" / ""; margin-left: 4px; vertical-align: super; font-size: 9px; font-weight: 700; color: #a34400; }
.annee[data-style="2005"] .annee-voisine { font-size: 11px; }
.annee[data-style="2005"] .annee-voisine a { text-decoration: underline; text-underline-offset: .15em; }
.annee[data-style="2005"] .prec .fl::before { content: "« "; }
.annee[data-style="2005"] .suiv .an::after { content: " »"; }

/* 2009 : la matière ; toile de lin sombre, chiffres d'aluminium brossé. */
.annee[data-style="2009"] {
  --a-fond: #2c3038; --a-lettre: #f0ebe0; --a-sourd: #cfc8b8; --a-lien: #a9cdf5; --a-focus-fond: #f0ebe0;
  background-color: #2c3038;
  background-image: repeating-linear-gradient(45deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 3px), repeating-linear-gradient(-45deg, rgb(0 0 0 / .14) 0 1px, transparent 1px 3px);
  font-family: "Lucida Grande", "DejaVu Sans", sans-serif;
}
.annee[data-style="2009"] .annee-an .an {
  font: 700 34px/1 "Lucida Grande", "DejaVu Sans", sans-serif; letter-spacing: -.04em;
  background: linear-gradient(#ffffff 0, #e4dfd3 45%, #b9b2a2 55%, #d9d3c5 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.annee[data-style="2009"] .annee-nom { font-size: 12px; }
.annee[data-style="2009"] .annee-voisine { font-size: 12px; }
.annee[data-style="2009"] .annee-voisine a { text-decoration: underline; text-underline-offset: .15em; }
.annee[data-style="2009"] .prec .fl::before { content: "◂ "; }
.annee[data-style="2009"] .suiv .an::after { content: " ▸"; }

/* 2014 : le plat ; aplat plein et vif, typo fine, capitales espacées. */
.annee[data-style="2014"] { --a-fond: #00796b; --a-lettre: #fff; --a-sourd: #fff; --a-lien: #fff; --a-focus-fond: #fff; --a-focus-lettre: #00483f; font-family: "Source Sans 3", Roboto, sans-serif; }
.annee[data-style="2014"] .annee-an .an { font-size: 46px; font-weight: 200; letter-spacing: -.01em; }
.annee[data-style="2014"] .annee-nom { font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .16em; }
.annee[data-style="2014"] .annee-voisine { font-size: 13px; font-weight: 400; }
.annee[data-style="2014"] .prec .fl::before { content: "← "; }
.annee[data-style="2014"] .suiv .an::after { content: " →"; }

/* 2020 : le verre ; couleurs vives sous un verre dépoli, texte blanc. */
.annee[data-style="2020"] { --a-fond: #15121f; --a-lettre: #fff; --a-sourd: #ece6fa; --a-lien: #fff; --a-focus-fond: #fff; --a-focus-lettre: #15121f; font-family: "Source Sans 3", ui-sans-serif, system-ui, sans-serif; }
.annee[data-style="2020"]::before { inset: -20px; background: radial-gradient(circle at 20% 22%, #4b1fa8 0 30%, transparent 58%), radial-gradient(circle at 85% 80%, #8e1446 0 28%, transparent 60%), radial-gradient(circle at 90% 15%, #173f9c 0 22%, transparent 50%); filter: blur(14px); }
.annee[data-style="2020"]::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23g)'/%3E%3C/svg%3E"), rgb(255 255 255 / .08); }
.annee[data-style="2020"] .annee-an .an { font-size: 44px; font-weight: 700; letter-spacing: -.03em; }
.annee[data-style="2020"] .annee-nom { font-size: 13px; font-weight: 500; }
.annee[data-style="2020"] .annee-voisine a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.annee[data-style="2020"] .prec .fl::before { content: "← "; }
.annee[data-style="2020"] .suiv .an::after { content: " →"; }

/* 2026 : la typo du site sur un verre dépoli, éclairé par le Point. */
.annee[data-style="2026"] { --a-fond: #0b0b10; --a-lettre: var(--clair); --a-sourd: #b3b0dc; --a-lien: #c9c6e8; font-family: "Source Sans 3", ui-sans-serif, system-ui, sans-serif; }
.annee[data-style="2026"]::before { inset: -20px; background: radial-gradient(circle at 80% 30%, rgb(143 139 194 / .22) 0 20%, transparent 60%), radial-gradient(circle at 20% 85%, rgb(251 230 166 / .12) 0 15%, transparent 55%); filter: blur(12px); }
.annee[data-style="2026"]::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23g)'/%3E%3C/svg%3E"), rgb(232 229 244 / .045); }
.annee[data-style="2026"] .annee-an .an { font-size: 46px; font-weight: 800; letter-spacing: -.03em; }
.annee[data-style="2026"] .annee-nom { font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.annee[data-style="2026"] .annee-voisine { font-size: 14px; }
.annee[data-style="2026"] .prec .fl::before { content: "← "; }
.annee[data-style="2026"] .suiv .an::after { content: " →"; }

@media (prefers-reduced-motion: reduce) {
  .annee *, .annee *::before, .annee *::after, .annee-voisine::after { animation: none !important; }
}
.pause .annee *, .pause .annee-voisine::after { animation-play-state: paused; }

/* Menu des réglages : un voile de nuit sur tout l'écran, ouvert par « Réglages » ou la touche M. */
.reglages {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0;
  padding: clamp(64px, 12vh, 120px) var(--gouttiere) 48px; overflow: auto; overscroll-behavior: contain;
  background: rgb(2 2 6 / .9); color: var(--lettre); font-size: 17px; pointer-events: auto;
  -webkit-backdrop-filter: blur(14px) saturate(.6); backdrop-filter: blur(14px) saturate(.6);
  opacity: 1; transition: opacity .25s, display .25s allow-discrete, overlay .25s allow-discrete;
}
.reglages:not(:popover-open) { opacity: 0; }
@starting-style { .reglages:popover-open { opacity: 0; } }
.menu-tete, .menu-corps { max-width: 52rem; margin-inline: auto; }
.menu-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(28px, 6vh, 56px); }
.menu-titre { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); font-weight: 700; color: var(--clair); line-height: 1.1; }
.menu-corps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px; }
.groupe { display: grid; gap: 4px; align-content: start; justify-items: start; }
.groupe-titre { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sourd); margin-bottom: 8px; }
.reglages button, .reglages .ecrire, .reglages .langues a, .reglages .pages a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 34px; padding: 0 4px; margin: 0 -4px;
  color: var(--lettre); text-decoration: none; white-space: nowrap;
}
.reglages button[aria-pressed="true"], .reglages .ferme { color: var(--clair); }
.reglages .ferme { font-weight: 600; }
.reglages .volume { display: flex; align-items: center; gap: 4px; min-height: 34px; }
.reglages .volume span:first-child { margin-left: 20px; margin-right: 8px; }
.reglages .volume button { width: 34px; justify-content: center; margin: 0; font-size: 20px; line-height: 1; }
.reglages .volume [data-volume-valeur] { min-width: 3.4em; text-align: center; color: var(--clair); font-variant-numeric: tabular-nums; }
.reglages .ecran-courant { color: var(--clair); }
.reglages .aide { color: var(--sourd); max-width: 34ch; }
/* Actions (lettre, jeu) : pastille allumée, groupe AGA ; les réglages à bascule portent aria-pressed (#95). */
.reglages .ecrire, .reglages .jeu { color: var(--point); font-weight: 600; }
.reglages .jeu { display: none; }
html:has(main.traversee) .reglages .jeu { display: inline-flex; }
.reglages .langues, .reglages .pages { display: flex; flex-wrap: wrap; gap: 0 24px; }
.reglages .langues a[aria-current] { color: var(--point); font-weight: 600; }
.reglages :focus-visible { outline: none; background: var(--clair); color: #000; }
.reglages :focus-visible .pastille { background: #000; filter: none; }
@media (max-width: 640px) {
  .menu-corps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Grand écran (#64) : la colonne à droite, toujours visible, hors de la page d'époque.
   Le logotype en haut, l'année au milieu, « Réglages » en bas. Pendant l'ouverture, la colonne est repliée. */
@media (min-width: 1024px) {
  html.js { --colonne: 136px; }
  html.js.en-ouverture:has(main.traversee) { --colonne: 0px; }
  .traversee, .pied { transition: margin-right .7s cubic-bezier(.2, .7, .2, 1); }
  html.js .habillage::before { top: 0; bottom: 0; right: 0; width: var(--colonne); transition: width .7s cubic-bezier(.2, .7, .2, 1); }
  html.js .habillage .logotype { left: auto; right: 24px; top: 24px; }
  html.js .habillage .ouvre-reglages { top: auto; right: 24px; bottom: 20px; margin: 0 -8px 0 0; }
  html.js .habillage .annee { right: 0; top: 50%; translate: 0 -50%; width: 136px; max-height: calc(100svh - 160px); }
}
@media (max-width: 459.98px) {
  .annee:is([data-style="1994"], [data-style="1997"]) .suiv::after { content: none; }
}
/* Téléphone (#83) : un bandeau de nuit en haut, hors de la page d'époque : le logotype, l'année au style de son époque, « Réglages ».
   L'année et sa voisine sur une ligne, le nom de l'époque dessous ; seule l'époque suivante (la précédente en 2026). */
@media (max-width: 1023.98px) {
  html.js { --haut: 48px; --vue-h: calc(100svh - var(--haut)); scroll-padding-top: var(--haut); }
  html.js .habillage::before { left: 0; right: 0; top: 0; height: var(--haut); }
  html.js .habillage .logotype { top: 13px; }
  html.js .habillage .ouvre-reglages { top: 9px; }
  html.js:not(.sans-effets) :is(.epoque, .sommet) > .vue { top: var(--haut); }
  html.js:not(.sans-effets) .scene-fixe > * { top: var(--haut); }
  html.js .introuvable { margin-top: var(--haut); }
  html.js .habillage .annee {
    left: 50%; top: 0; height: var(--haut); translate: -50% 0; max-width: calc(100% - 2 * var(--gouttiere) - 192px);
    grid-template-columns: auto auto; grid-template-areas: "an voisine" "nom nom"; justify-items: center; align-items: baseline; align-content: center;
    column-gap: 8px; padding: 0 10px; text-align: center;
  }
  .annee .annee-an { grid-area: an; }
  .annee .annee-nom { grid-area: nom; margin-top: 2px; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10.5px !important; line-height: 1.15; letter-spacing: 0 !important; }
  .annee .annee-voisine { grid-area: voisine; margin: 0 !important; font-size: 12px !important; white-space: nowrap; }
  .annee .annee-voisine .nom { display: none; }
  .annee:not([data-style="2026"]) .annee-voisine.prec { display: none; }
  .annee .annee-an .an { font-size: 20px !important; }
  .annee[data-style="1994"] .annee-an .an { font-size: 22px !important; padding: 1px 3px 0; margin-right: 0; }
  .annee[data-style="2014"] .annee-an .an { font-size: 24px !important; }
  .annee[data-style="2005"] .annee-nom::after { content: none; }
  /* 2005 : le reflet tient aussi dans le bandeau ; court, il s'arrête avant le nom de l'époque (#164). */
  .annee[data-style="2005"] .annee-an .an { -webkit-box-reflect: below 0 linear-gradient(transparent 62%, rgb(0 0 0 / .34)); }
  .annee[data-style="2005"] .annee-nom { margin-top: 8px; }
  .annee:is([data-style="1994"], [data-style="1997"]) .suiv::after { margin: 0 0 0 4px; font-size: 8px; }
  .annee:not([data-style="1991"]) .annee-voisine .fl::before { content: none !important; }
  .annee[data-style="1991"] .suiv .an::after { height: 1em; }
}

/* Ouverture (#81, #87) : AGA seul, puis les titres ; l'habillage attend la fin pour arriver d'un bloc, à sa place, sans commande qui passe dessous. */
html.en-ouverture .lever .contenu > * { animation: none; opacity: 0; transition: opacity .6s cubic-bezier(.2, .7, .2, 1); }
html.en-ouverture .lever .contenu > .vu { opacity: 1; filter: none; }
/* Le A est dans la page : il paraît à la première image, avant tout script ; le reste du mot attend le lever. */
html.en-ouverture .lever .contenu > .aube { opacity: 1; }
/* Avant le lever, le Point attend sous la barre du A : il ne paraît qu'en se levant. */
html.js .lever .aube svg:not(.aga-lever) .aga-point { transform: translateY(3px); }
html.ouverture-finie .lever .contenu > * { animation: none; }
html.en-ouverture .habillage :is(.logotype, .ouvre-reglages, .annee):not(:focus-visible, :focus-within) { opacity: 0; transition: none; }

/* La Traversée : la page d'époque occupe tout sauf l'habillage. */
.traversee { margin-right: var(--colonne); position: relative; }
.pied { margin-right: var(--colonne); padding: 28px var(--gouttiere) calc(var(--barre) + 28px); display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--sourd); font-size: 15px; justify-content: center; }
.pied a { color: var(--lettre); text-underline-offset: .2em; }

/* Lever : écran noir, le tube chauffe, le Point se lève dans le A. */
.lever { position: relative; min-height: var(--vue-h); display: grid; place-items: center; padding: 48px var(--gouttiere); overflow: hidden; background: #000; }
.lever .contenu { display: grid; justify-items: center; text-align: center; gap: clamp(10px, 2.4vh, 22px); position: relative; z-index: 1; max-width: 46rem; }
.lever .aube { width: clamp(240px, 52vmin, 560px); aspect-ratio: 3; }
.lever .aube .aga-suite { opacity: 0; transition: opacity .9s cubic-bezier(.2, .7, .2, 1); }
.lever .aube.complet .aga-suite, .sans-js .lever .aube .aga-suite { opacity: 1; }
/* Le titre est le logotype dessiné : le h1 ne garde que son nom pour les lecteurs d'écran. */
.lever h1 { display: contents; }
.lever .aube svg { display: block; width: 100%; height: 100%; overflow: visible; --aga-lettre: var(--lettre); --aga-point: var(--point); --aga-lueur: var(--lueur); }
.lever .titre { font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); font-weight: 600; color: var(--point); }
.lever .sous-titre { max-width: 34ch; color: var(--lettre); text-wrap: balance; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
.lever .invite { color: var(--clair); font-weight: 600; letter-spacing: .02em; margin-top: 8px; }
.js .lever .contenu > * { animation: chauffe 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.js .lever .contenu > :nth-child(2) { animation-delay: .5s; }
.js .lever .contenu > :nth-child(3) { animation-delay: .9s; }
.js .lever .contenu > :nth-child(4) { animation-delay: 1.2s; }
.js .lever .contenu > :nth-child(5) { animation-delay: 1.6s; }
.js .lever .contenu > :nth-child(6) { animation-delay: 2.4s; }
@keyframes chauffe { from { opacity: 0; } to { opacity: 1; } }
/* La lueur du tube s'éteint quand le défilement emporte le lever (animation pilotée par le défilement). */
@supports (animation-timeline: view()) {
  .js .lever .contenu { animation: quitte linear both; animation-timeline: view(); animation-range: exit 0% exit 80%; }
  @keyframes quitte { to { opacity: 0; transform: translateY(-6vh) scale(.98); } }
}

/* Époques : une section par époque, la vue reste en place pendant que le temps avance. */
.epoque { position: relative; background: #000; }
.vue { position: relative; height: var(--vue-h); overflow: hidden; contain: paint; isolation: isolate; }
.js:not(.sans-effets) .epoque, .js:not(.sans-effets) .sommet { height: calc(var(--h) * var(--vue-h)); }
.js:not(.sans-effets) .epoque > .vue, .js:not(.sans-effets) .sommet > .vue { position: sticky; top: 0; }
.racine { position: absolute; inset: 0; }
/* Grand écran : la page d'époque garde la mise en page de son temps (vue de 1304 × 900) et s'agrandit pour remplir l'écran. */
.js:not(.sans-effets) .traversee .epoque .racine { zoom: var(--zoom-epoque, 1); }
.titre-epoque { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; padding: 24px; pointer-events: none; }
.titre-epoque h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); line-height: 1.15; color: var(--clair); text-wrap: balance; }
.titre-epoque .annees { color: var(--lettre); font-size: 1.05rem; }
/* Époque pas encore montée : son titre sur le noir de l'écran éteint, lisible quel que soit le fond de l'époque. */
.epoque:not(.defaut):not(.montee) .titre-epoque { background: #000; }
.epoque.montee .titre-epoque { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; }
.sans-js .epoque, .sans-effets .epoque { min-height: var(--vue-h); }

/* Sommet : les neuf époques en couches, la lumière du Point au fond.
   Les couches volent dans leur propre bande, au-dessus du texte, jamais dessus (#92) : la bande a sa perspective, elle s'efface vers le texte. */
.sommet { position: relative; background: #000; }
.sommet .vue { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.sommet .lumiere { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sommet .couches { position: relative; min-height: 0; container-type: size; perspective: 900px; perspective-origin: 50% 50%; mask-image: linear-gradient(#000 calc(100% - 56px), transparent); }
.sommet .couches canvas { position: absolute; left: 50%; top: 50%; display: block; backface-visibility: hidden; will-change: transform, opacity; }
.sommet .texte-sommet { position: relative; display: grid; justify-items: center; gap: 10px; padding: 12px var(--gouttiere) calc(var(--vue-h) * .08); text-align: center; z-index: 2; }
.sommet h2 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem); color: var(--clair); text-wrap: balance; }
.sommet .texte-sommet p { max-width: 40ch; color: var(--lettre); text-wrap: balance; }
.sommet .votre-ecran { color: var(--point) !important; font-variant-numeric: tabular-nums; }
/* Très grand écran : le texte du sommet suit la largeur, la page reste pleine (#164). */
@media (min-width: 2200px) {
  .sommet h2 { font-size: clamp(2.4rem, 1.2vw + 0.8rem, 3.4rem); }
  .sommet .texte-sommet p { font-size: clamp(1rem, .45vw + .4rem, 1.4rem); }
}

/* Invitation : le Point s'arrête au-dessus de l'horizon. */
.invitation { min-height: var(--vue-h); display: grid; place-content: center; justify-items: center; text-align: center; gap: 26px; padding: 64px var(--gouttiere); background: #000; }
.invitation .horizon { display: grid; justify-items: center; gap: 0; }
.invitation .horizon .le-point { width: 12px; height: 12px; margin-bottom: 18px; view-transition-name: none; }
.invitation .manifeste { max-width: 36ch; font-size: clamp(1.25rem, .8rem + 1.3vw, 3rem); line-height: 1.35; color: var(--clair); text-wrap: balance; }
.invitation .choix { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; font-size: 17px; font-weight: 600; }
.invitation .choix a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lettre); padding: 2px; }
.invitation .choix a.ecrire { color: var(--point); }
/* Signature en lettre claire : 7:1 sur le noir, même au bout de son entrée (#143). */
.invitation .signature { color: var(--lettre); }
/* L'invitation arrive pas à pas jusqu'au bas de la page : le Point, puis le manifeste, les choix, la signature (#126). */
@supports (animation-timeline: view()) {
  .js .invitation > * { animation: monte linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  .js .invitation > .manifeste { animation-range: entry 15% cover 40%; }
  .js .invitation > .choix { animation-range: entry 30% cover 47%; }
  /* La signature finit d'entrer dès qu'elle est entière dans la vue : en bas de page, son entrée est toujours achevée (#143). */
  .js .invitation > .signature { animation-range: entry 0% entry 100%; }
  @keyframes monte { from { opacity: 0; transform: translateY(16vh); } }
}

/* Couches fixes au-dessus de la page d'époque : masque d'écran, reflet du verre. */
/* Aucune couche n'a de mode de fusion : le masque est un noir transparent, une couche ratée reste transparente. */
.scene-fixe { display: contents; }
.scene-fixe > *, .saut .scene-fixe::after { position: fixed; z-index: 10; left: 0; top: 0; width: calc(100% - var(--colonne)); height: var(--vue-h); pointer-events: none; }
.scene-fixe canvas { display: block; }
/* Passage en cours : la page d'époque, cachée sous les points, ne retient ni pointeur ni molette. */
.en-passage .traversee .epoque > .vue { pointer-events: none; }
#ecran { opacity: 0; transition: opacity .6s; }
#ecran.actif { opacity: .5; }
.ecran-complet #ecran.actif { opacity: 1; }
.reflet { opacity: 0; transition: opacity .8s; background: radial-gradient(120% 90% at 22% 12%, rgb(255 255 255 / .04), transparent 46%), radial-gradient(140% 120% at 50% 50%, transparent 62%, rgb(130 150 140 / .05) 100%); }
.reflet.actif { opacity: 1; }
.saut .scene-fixe::after { content: ""; background: #000; opacity: .55; animation: attenue .5s ease both; }
@keyframes attenue { from { opacity: 0; } 40% { opacity: .55; } to { opacity: 0; } }

/* Légendes des sons : texte posé sur la page d'époque, en haut à gauche, sous le logotype. */
.legendes { position: fixed; z-index: 15; left: var(--gouttiere); top: 64px; max-width: calc(100% - 2 * var(--gouttiere)); display: grid; gap: 4px; pointer-events: none; font-size: 15px; }
.legendes span { justify-self: start; background: #000; color: var(--clair); padding: 2px 8px; animation: legende 2.6s ease both; }
@keyframes legende { 0% { opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }

/* Pages de texte (licences, accessibilité, page introuvable). */
.page-texte { margin-right: var(--colonne); min-height: 100svh; padding: 72px var(--gouttiere) calc(var(--barre) + 64px); display: grid; justify-content: center; }
.page-texte article { max-width: 44rem; display: grid; gap: 14px; color: var(--lettre); font-size: 17px; line-height: 1.55; }
.page-texte h1 { color: var(--clair); font-size: clamp(2rem, 1.6rem + 2vw, 3rem); line-height: 1.1; margin-bottom: 10px; }
.page-texte h2 { color: var(--clair); font-size: 1.35rem; margin-top: 22px; }
.page-texte h3, .page-texte h4 { color: var(--point); font-size: 1.1rem; margin-top: 12px; }
.page-texte ul { padding-left: 1.2em; display: grid; gap: 4px; }
.page-texte li::marker { color: var(--point); }
.page-texte a { color: var(--clair); text-underline-offset: .2em; }
.page-texte code { font-family: "Liberation Mono", ui-monospace, monospace; font-size: .9em; color: var(--clair); }
.page-texte strong { color: var(--clair); }
.introuvable { min-height: var(--vue-h); position: relative; margin-right: var(--colonne); overflow: hidden; }
.introuvable .racine { position: absolute; inset: 0; }
.introuvable .defaut { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 24px; }
.introuvable .defaut h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); color: var(--clair); max-width: 20ch; text-wrap: balance; }
.introuvable .defaut a { color: var(--point); font-weight: 600; font-size: 17px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 2px; }
.introuvable .defaut a:focus-visible { outline: none; background: var(--clair); color: #000; }
.introuvable .defaut .le-point.couche { transform: translateY(6px); }

/* Pause : tout s'arrête. Mouvement réduit : rien ne glisse. */
.pause *, .pause *::before, .pause *::after { animation-play-state: paused !important; }
.mouvement-reduit *, .mouvement-reduit *::before, .mouvement-reduit *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .2s !important; }
}
.sans-effets .scene-fixe, .sans-effets .sommet .couches, .sans-effets .sommet .lumiere { display: none; }
.sans-effets .sommet .texte-sommet { position: static; padding: 64px var(--gouttiere); }
.sans-effets .sommet .vue, .sans-js .sommet .vue { height: auto; }
.sans-js .sommet .texte-sommet { position: static; padding: 64px var(--gouttiere); }
.sans-js .annee, .sans-js .evite, .sans-js .ouvre-reglages { display: none; }
.sans-js .habillage { position: absolute; inset: 0 0 auto; height: 64px; }
.sans-js .traversee, .sans-js .pied, .sans-js .page-texte, .sans-js .introuvable { margin-right: 0; }
.sans-js { --barre: 0px; --vue-h: 100svh; }
.sommet.sans-gpu .vue { background: linear-gradient(var(--point), var(--point)) 50% 40% / 6px 6px no-repeat, #000; }
.sommet.sans-gpu .lumiere { display: none; }
.etoiles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; }

/* Passages d'époque (#52) : décors de l'époque d'arrivée, posés dans la vue qui part (fond) ou qui arrive (dessus).
   Ce sont des reconstitutions d'époque, dessinées « d'après » ; aucun n'appartient à l'habillage. */
.epoque.arrivee-passage { background: transparent; }
/* Passage : les deux vues restent fixes sous l'habillage, le défilement du compositeur ne les déplace jamais (#128). */
.js:not(.sans-effets) .traversee :is(.epoque.depart-passage, .epoque.arrivee-passage) > .vue { position: fixed; left: 0; top: var(--haut, 0px); width: calc(100% - var(--colonne)); }
.passage-fond, .passage-dessus { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1000; pointer-events: none; opacity: 0; }
/* Décor en fondu : ses textes attendent qu'il soit opaque, jamais deux textes l'un sur l'autre. */
.passage-fond.vide :is(.passage-etat, .passage-precharge, .passage-roue p) { visibility: hidden; }
.passage-dessous { position: fixed; left: 0; top: var(--haut, 0px); width: calc(100% - var(--colonne)); height: var(--vue-h); pointer-events: none; opacity: 0; overflow: hidden; }
/* 1994 : la fenêtre grise de Mosaic, le globe qui tourne au rythme du défilement. */
.passage-fond.passage-1994 { background: #9c9ca4; }
/* 1997 : le gris de Netscape avant la page, où les cases sombres arrivent. */
.passage-fond.passage-1997 { background: #c0c0c0; }
.passage-etat {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 3px 8px; background: #c0c0c0; color: #000; font: 13px/1.4 "Liberation Serif", "Times New Roman", serif;
}
.passage-1994 .passage-etat { font-family: "Liberation Mono", monospace; font-size: 12px; }
/* 1994 : barre d'adresse grise et globe qui tourne, comme dans le navigateur de l'époque. */
.passage-barre {
  position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 6px 10px; background: #c0c0c0; color: #000; font: 12px/1.4 "Liberation Mono", monospace;
}
.passage-adresse { background: #fff; padding: 2px 6px; min-width: 0; overflow: hidden; white-space: nowrap; flex: 1 1 auto; max-width: 36rem; }
.passage-globe {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: repeating-linear-gradient(90deg, #1b3b8a 0 5px, #2d5fd0 5px 10px) var(--globe, 0) 0 / 20px 100%, #2d5fd0;
}
.passage-blocs { display: inline-flex; gap: 2px; }
.passage-blocs i { display: block; width: 9px; height: 11px; background: #808080; }
.passage-blocs i.plein { background: #000080; }
/* 2000 : intro d'un site animé ; rayons tournants et préchargeur, puis l'iris s'ouvre sur l'intro de l'époque (#140). */
.passage-fond.passage-2000 { background: #0e0f2b; display: grid; place-items: center; overflow: hidden; }
/* Carré de 150vmax : il couvre la diagonale de la vue à tout angle ; couche à part, le compositeur le tourne sans le repeindre. */
.passage-rayons { position: absolute; left: 50%; top: 50%; width: 150vmax; height: 150vmax; margin: -75vmax 0 0 -75vmax; background: repeating-conic-gradient(#1d2062 0 7.5deg, #0e0f2b 7.5deg 15deg); will-change: rotate; backface-visibility: hidden; }
.passage-precharge { position: relative; display: grid; justify-items: center; gap: 18px; padding: 28px 40px; background: #0e0f2b; color: #c9c6f0; font: 700 clamp(18px, 2.4vw, 30px)/1 "Liberation Mono", monospace; letter-spacing: .3em; }
.passage-precharge span { display: block; width: min(560px, 70vw); height: 14px; background: #2a2b5a; }
.passage-precharge i { display: block; height: 100%; background: #fbe6a6; transform-origin: 0 50%; transform: scaleX(0); }
/* 2005 : la page blanche, la roue AJAX. */
/* 2005 : voile sombre de la « lightbox » de l'époque, roue claire ; la page arrive dessus de haut en bas */
.passage-fond.passage-2005 { background: #1e1f22; display: grid; place-items: center; }
.passage-fond.passage-2005 .passage-roue { color: #c8c8c8; }
.passage-fond.passage-2005 .passage-roue i { background: #e0e0e0; }
.passage-roue { display: grid; justify-items: center; gap: 12px; color: #666; font: 13px/1.3 Verdana, "DejaVu Sans", sans-serif; }
.passage-roue span { position: relative; display: block; width: 32px; height: 32px; rotate: var(--roue, 0deg); }
.passage-roue i { position: absolute; left: 14.5px; top: 0; width: 3px; height: 9px; background: #444; transform-origin: 1.5px 16px; }
.passage-roue i:nth-child(1) { transform: rotate(0deg); opacity: 1.0; }
.passage-roue i:nth-child(2) { transform: rotate(30deg); opacity: 0.93; }
.passage-roue i:nth-child(3) { transform: rotate(60deg); opacity: 0.86; }
.passage-roue i:nth-child(4) { transform: rotate(90deg); opacity: 0.79; }
.passage-roue i:nth-child(5) { transform: rotate(120deg); opacity: 0.72; }
.passage-roue i:nth-child(6) { transform: rotate(150deg); opacity: 0.65; }
.passage-roue i:nth-child(7) { transform: rotate(180deg); opacity: 0.58; }
.passage-roue i:nth-child(8) { transform: rotate(210deg); opacity: 0.51; }
.passage-roue i:nth-child(9) { transform: rotate(240deg); opacity: 0.44; }
.passage-roue i:nth-child(10) { transform: rotate(270deg); opacity: 0.37; }
.passage-roue i:nth-child(11) { transform: rotate(300deg); opacity: 0.3; }
.passage-roue i:nth-child(12) { transform: rotate(330deg); opacity: 0.23; }
.passage-dessus.passage-2005 { background: transparent; }
/* 2009 : le bureau sur le lin, la barre des menus, le Dock en verre et ses objets (aucune icône en tuile). */
.passage-dessous.passage-2009 {
  background-color: #2c3038;
  background-image: repeating-linear-gradient(45deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 3px), repeating-linear-gradient(-45deg, rgb(0 0 0 / .12) 0 1px, transparent 1px 3px);
}
.passage-menu { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; padding: 3px 14px; background: linear-gradient(#f4f4f4, #d2d2d2); color: #222; font: 13px/16px "DejaVu Sans", sans-serif; }
.passage-dock { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; display: flex; align-items: end; gap: 18px; padding: 0 28px 8px; }
.passage-dock::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 34px; background: linear-gradient(rgb(255 255 255 / .55), rgb(200 210 225 / .3)); clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); }
.passage-dock i { display: block; width: 68px; height: 68px; }
.passage-dock .d-globe { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #bfe3ff, #2f7fd8 55%, #123d7a); }
.passage-dock .d-carnet { width: 54px; background: linear-gradient(90deg, #6b4423 0 10%, #8a5a2e 10%); }
.passage-dock .d-aga { background: linear-gradient(#f2f2f4, #9aa0aa); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.passage-dock .d-point { width: 22px; height: 22px; margin-bottom: 23px; background: #fbe6a6; }
.passage-dock .d-cuir { background: linear-gradient(#4b2a17, #2e180c); clip-path: polygon(0 18%, 100% 18%, 100% 100%, 0 100%); }
@media (max-width: 640px) {
  .passage-dock { gap: 12px; padding: 0 18px 6px; }
  .passage-dock i { width: 48px; height: 48px; }
  .passage-dock .d-carnet { width: 38px; }
  .passage-dock .d-point { width: 16px; height: 16px; margin-bottom: 16px; }
}
/* 2014 : l'encre part du bouton d'action. */
.passage-fond.passage-2014 { background: #16697a; }
.passage-action {
  position: absolute; right: calc(14% - 28px); bottom: calc(14% - 28px); width: 56px; height: 56px; border-radius: 50%;
  background: #ffd54a; scale: calc(.2 + .8 * var(--action, 0));
}
/* 2020 : squelettes sombres, la lueur suit le défilement. */
.passage-fond.passage-2020 { background: #0f1115; padding: clamp(24px, 6vh, 64px) clamp(16px, 8vw, 120px); }
.passage-squelette { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vh, 32px); max-width: min(1500px, 100%); margin: 0 auto; }
.passage-squelette i {
  display: block; height: clamp(16px, 2.4vh, 34px); opacity: 0;
  background: linear-gradient(90deg, #1b1e24 0 35%, #343a47 50%, #1b1e24 65%) var(--lueur, 100%) 0 / 300% 100%;
}
.passage-squelette i:nth-child(1) { grid-column: 1 / -1; height: clamp(36px, 5vh, 72px); width: 46%; }
.passage-squelette i:nth-child(2) { grid-column: 1 / -1; width: 72%; }
.passage-squelette i:nth-child(3) { grid-column: 1 / -1; width: 58%; }
.passage-squelette i:nth-child(4), .passage-squelette i:nth-child(5), .passage-squelette i:nth-child(6) { height: clamp(120px, 30vh, 480px); margin-top: 12px; }
.passage-squelette i:nth-child(7) { grid-column: 1 / -1; width: 84%; }
.passage-squelette i:nth-child(8) { grid-column: 1 / -1; width: 66%; }
.passage-squelette i:nth-child(9) { grid-column: 1 / -1; width: 40%; }
@media (max-width: 640px) { .passage-squelette { grid-template-columns: minmax(0, 1fr); } .passage-squelette i:nth-child(n+5):nth-child(-n+6) { display: none; } }

/* Panne de chargement (#120) : aplat sombre en bas de l'écran, texte clair, bouton en inversé. */
.panne { position: fixed; z-index: 60; left: 50%; bottom: 24px; translate: -50% 0; width: min(36rem, calc(100% - 32px)); box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; background: #000; color: var(--clair); font-size: 15px; line-height: 1.4; }
.panne[hidden] { display: none; }
.panne p { margin: 0; flex: 1 1 16rem; }
.panne button { font: inherit; font-weight: 600; min-height: 36px; padding: 0 16px; border: 0; background: var(--clair); color: #000; cursor: pointer; }
.panne button:focus-visible { outline: none; background: var(--point); }
/* 404 : le « oups » d'Europe, en bas à gauche, aplat sombre (#122). */
.clin-404 { position: fixed; z-index: 30; left: var(--gouttiere, 16px); bottom: 16px; margin: 0; padding: 4px 10px; background: rgb(0 0 0 / .86); color: var(--clair); font-size: 14px; font-style: italic; }
