/* Fizé — la console de mission. Fond bleu nuit, blanc lunaire, flamme en accent rare.
   Unbounded (titres, compte à rebours) + JetBrains Mono (télémétrie). */

:root {
  --night: #05070F;
  --night-2: #0A1022;
  --night-3: #101A36;
  --night-4: #18264A;
  --sea-top: #0B1530;
  --moon: #E8F0FF;
  --moon-2: rgba(232, 240, 255, .72);
  --moon-3: rgba(232, 240, 255, .5);
  --line: rgba(232, 240, 255, .16);
  --line-2: rgba(232, 240, 255, .3);
  --flame: #FF4D1C;
  --flame-2: #FF8A5C;
  --panel: rgba(9, 14, 31, .94);
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gutter: clamp(16px, 2.6vw, 36px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--night);
  color: var(--moon);
  font: 400 15px/1.55 var(--mono);
  overflow-x: hidden;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--moon); outline-offset: 3px; border-radius: 2px; }
kbd {
  --kh: 18px; /* hauteur de la touche */
  display: inline-grid; place-items: center;
  min-width: var(--kh); height: var(--kh); padding-inline: 4px;
  font: 500 10px/1 var(--mono);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--moon-2);
  /* la touche n'hérite pas de l'espacement du texte autour (.hud-label, poignées, boutons) :
     les navigateurs ajoutent cet espace APRÈS la lettre, ce qui la décalait vers la gauche */
  letter-spacing: 0; word-spacing: 0; text-indent: 0; text-transform: none;
}
/* centrage vertical exact : on centre la hauteur des capitales, pas la boîte de ligne (que Safari et Chrome
   arrondissent différemment, d'où un demi-pixel d'écart). 0.365em = moitié de la hauteur des capitales de JetBrains Mono */
@supports (text-box: trim-both cap alphabetic) {
  kbd {
    display: inline-block; text-align: center;
    text-box: trim-both cap alphabetic;
    padding-top: calc(var(--kh) / 2 - 1px - .365em);
  }
}
/* lignes équilibrées : titres et textes courts sans mot orphelin */
p, li, dd, dt, figcaption { text-wrap: pretty; }
h1, h2, h3, .hud-label, .telemetry__dir, .wx__words, .wx__note, .wx__source, .cd__note, .hud__rocket, .gauge__label, .site__facts li, .note { text-wrap: balance; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--moon); color: var(--night); padding: 8px 12px; }
.skip:focus { left: 8px; }
.hud-label {
  margin: 0 0 6px;
  font: 500 10.5px/1.3 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--moon-3);
}
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: middle; }
.note { color: var(--moon-3); font-size: 13px; }
.hint { color: var(--moon-3); font-size: 12px; }

/* ---------------------------------------------------------------- arrière-plan */
.sky { position: fixed; inset: 0; z-index: 0; display: block; }
.sky canvas { width: 100%; height: 100%; display: block; }
.scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.horizon { position: absolute; left: 0; bottom: 0; width: 100%; height: 80%; }
.horizon__land { fill: #03050B; }
.horizon__islands { fill: #060A17; }
.horizon__pad { fill: none; stroke: rgba(232, 240, 255, .4); stroke-width: 1.1; stroke-linejoin: round; }
.horizon__mast { stroke-width: .9; }
.horizon__wire { stroke-width: .6; stroke-opacity: .6; }
.horizon__rocket { fill: rgba(232, 240, 255, .14); stroke: rgba(232, 240, 255, .62); transition: opacity .6s; }
body[data-status="flight"] .horizon__rocket, body.is-liftoff .horizon__rocket, body[data-status="success"] .horizon__rocket { opacity: 0; }
.trajectory { fill: none; stroke: rgba(232, 240, 255, .32); stroke-width: 1.3; stroke-dasharray: .004 .008; }
.trajectory__flame { fill: var(--flame); opacity: 0; filter: drop-shadow(0 0 8px var(--flame)); }
body[data-status="flight"] .trajectory, body[data-status="success"] .trajectory { stroke: rgba(255, 138, 92, .7); }
body[data-status="flight"] .trajectory__flame { opacity: 1; }

/* ---------------------------------------------------------------- console (un écran) */
.console {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  grid-template-areas:
    "top top top"
    "bl center br"
    "bl center br"
    "foot foot foot";
  gap: 12px var(--gutter);
  padding: calc(var(--gutter) * .8) calc(var(--gutter) + 44px) 14px;
}
/* cadre tête haute : coins et graduations */
.console::before, .console::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid transparent;
  --c: rgba(232, 240, 255, .4);
  background:
    linear-gradient(var(--c), var(--c)) top left / 26px 1px,
    linear-gradient(var(--c), var(--c)) top left / 1px 26px,
    linear-gradient(var(--c), var(--c)) top right / 26px 1px,
    linear-gradient(var(--c), var(--c)) top right / 1px 26px,
    linear-gradient(var(--c), var(--c)) bottom left / 26px 1px,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 26px,
    linear-gradient(var(--c), var(--c)) bottom right / 26px 1px,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 26px;
  background-repeat: no-repeat;
}
.console::after {
  inset: 12px 30%;
  height: 8px;
  background: repeating-linear-gradient(90deg, rgba(232, 240, 255, .25) 0 1px, transparent 1px 14px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.hud-top {
  grid-area: top;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.clocks { display: flex; gap: 28px; }
.clock { display: grid; }
.clock__time { font: 500 22px/1.1 var(--mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.clock__tz { color: var(--moon-3); }
.brand {
  justify-self: center;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  text-decoration: none;
}
.brand__mark { grid-row: span 2; width: 37px; height: 32px; overflow: visible; }
.brand__horizon { fill: none; stroke: var(--moon); stroke-opacity: .42; stroke-width: 4; stroke-linecap: round; }
.brand__traj { fill: none; stroke: var(--moon); stroke-width: 6.5; stroke-linecap: round; }
.brand__dot { fill: var(--flame); transform-box: fill-box; transform-origin: center; }
.brand:hover .brand__dot, .brand:focus-visible .brand__dot { filter: drop-shadow(0 0 5px var(--flame)); }
.brand.is-launching .brand__dot { animation: dot-flare .5s .82s var(--ease); }
@keyframes dot-flare { 40% { transform: scale(1.35); } }
.brand__name { font: 700 20px/1 var(--display); letter-spacing: .02em; }
.brand__sub { font: 500 9.5px/1.4 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--moon-3); }
.hud-actions { justify-self: end; display: flex; gap: 10px; align-items: center; }
/* Les deux pilules ont la même hauteur ; celle de la langue a une largeur fixe (FR comme GCR) : rien ne bouge en changeant de langue. */
.btn-apps, .lang [data-trigger] { box-sizing: border-box; height: 36px; }
.btn-apps {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 0 8px 0 14px; border: 1px solid var(--line-2); border-radius: 999px;
  text-decoration: none; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.btn-apps:hover { border-color: var(--moon); }

/* menu de langue */
.lang { position: relative; }
.lang [data-trigger] {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; color: var(--moon); border: 1px solid var(--line-2); border-radius: 999px;
  width: 76px; justify-content: center;
  padding: 0 12px; font: 500 12px/1 var(--mono); letter-spacing: .08em; cursor: pointer;
}
.lang__current { display: inline-block; min-width: 3ch; text-align: center; view-transition-name: fz-lang; }
.lang [data-menu] {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30;
  list-style: none; margin: 0; padding: 6px; min-width: 210px;
  background: var(--night-2); border: 1px solid var(--line-2); border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}
.lang [data-menu] a { display: block; padding: 8px 10px; border-radius: 6px; text-decoration: none; font-size: 13px; }
.lang [data-menu] a:hover, .lang [data-menu] a[aria-current] { background: var(--night-4); }
.lang__code { display: inline-block; width: 30px; color: var(--moon-3); }
html:not(.js) .lang [data-menu] { position: static; }

/* ---------------------------------------------------------------- centre */
.hud { grid-area: center; display: grid; place-items: center; outline: none; min-height: 0; }
.hud__frame {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(18px, 4vh, 48px) 8px;
  width: 100%;
}
.reticle {
  position: absolute; z-index: -1;
  width: min(68vh, 92%); aspect-ratio: 1; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  fill: none; stroke: rgba(232, 240, 255, .1); stroke-width: 1;
}
.reticle__inner { stroke-dasharray: 2 6; }
.reticle__ticks line { stroke: rgba(232, 240, 255, .22); }
.js .reticle { animation: spin 240s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hud__eyebrow { margin: 0 0 14px; font: 500 12px/1.3 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--moon-2); }
.hud__eyebrow .dot { color: var(--flame); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hud__mission {
  margin: 14px 0 4px;
  font: 600 clamp(22px, 3.2vw, 44px)/1.08 var(--display);
  letter-spacing: -.01em;
  text-wrap: balance;
  max-width: 22ch;
}
.hud__rocket { margin: 0; color: var(--moon-2); font-size: 14px; letter-spacing: .06em; }
.hud__state { display: grid; justify-items: center; gap: 8px; margin-top: 16px; }
.hud__when { margin: 0; font-size: 14px; color: var(--moon); }
.hud__yourtime { display: block; color: var(--moon-3); font-size: 12.5px; }
.hud__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; }
.hud__lost { color: var(--flame-2); }

/* compte à rebours */
.cd { display: grid; justify-items: center; }
.cd__row { display: flex; align-items: flex-start; gap: clamp(4px, .8vw, 12px); font-variant-numeric: tabular-nums; }
.cd__sign { font: 300 clamp(28px, 5vw, 76px)/1 var(--display); color: var(--moon-3); margin-right: 4px; padding-top: .14em; }
.cd__group { display: grid; justify-items: center; gap: 6px; }
.cd__digits { display: flex; gap: 3px; font: 500 clamp(44px, 8.6vw, 132px)/1 var(--display); letter-spacing: -.02em; }
.cd__unit { font: 500 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--moon-3); }
.cd__sep { font: 300 clamp(36px, 7vw, 108px)/1 var(--display); color: var(--moon-3); padding-top: .06em; }
.cd__big { font: 500 clamp(44px, 8vw, 120px)/1 var(--display); letter-spacing: -.02em; }
.cd__big--text { font-size: clamp(26px, 4.6vw, 64px); text-transform: uppercase; max-width: 16ch; text-wrap: balance; }
.cd__note { margin: 12px 0 0; max-width: 46ch; color: var(--moon-3); font-size: 12.5px; }
.cd-empty { font: 500 22px/1.3 var(--display); }
/* cellules à bascule (créées par fz-countdown) */
.flap {
  position: relative; display: inline-block; width: .74em; height: 1.08em;
  perspective: 3em;
  background: linear-gradient(180deg, rgba(24, 38, 74, .75) 0 49.4%, rgba(5, 7, 15, .9) 49.4% 50.6%, rgba(16, 26, 54, .75) 50.6%);
  border-radius: .08em;
  box-shadow: inset 0 0 0 1px rgba(232, 240, 255, .08);
}
.flap__half {
  position: absolute; left: 0; right: 0; height: 50%; overflow: hidden;
  display: flex; justify-content: center;
  backface-visibility: hidden;
}
.flap__half span { display: block; line-height: 1.08em; }
.flap__top { top: 0; transform-origin: bottom; }
.flap__bottom { bottom: 0; align-items: flex-end; transform-origin: top; }
.flap__top span, .flap__bottom span { height: 1.08em; flex: none; display: flex; align-items: center; }
.flap--turn .flap__fold { animation: fold .32s var(--ease) forwards; }
.flap--turn .flap__unfold { animation: unfold .32s .16s var(--ease) both; }
.flap__fold { z-index: 2; background: rgba(24, 38, 74, .96); }
.flap__unfold { z-index: 2; background: rgba(16, 26, 54, .96); transform: rotateX(90deg); }
@keyframes fold { to { transform: rotateX(-90deg); } }
@keyframes unfold { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }

/* badges de statut */
.badge {
  display: inline-block; padding: 4px 10px 3px; border-radius: 3px;
  font: 600 11px/1.3 var(--mono); letter-spacing: .14em;
  border: 1px solid var(--line-2); color: var(--moon-2);
}
.badge--go { background: var(--moon); color: var(--night); border-color: var(--moon); box-shadow: 0 0 18px rgba(232, 240, 255, .35); }
.badge--hold, .badge--failure { background: var(--flame); color: #fff; border-color: var(--flame); }
.badge--partial { border-color: var(--flame); color: var(--flame-2); }
.badge--flight { background: var(--flame); color: #fff; border-color: var(--flame); animation: blink 1.2s steps(2, start) infinite; }
.badge--success { border-color: var(--moon); color: var(--moon); }

/* boutons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(5, 7, 15, .5); color: var(--moon);
  font: 500 12.5px/1.2 var(--mono); letter-spacing: .06em; text-decoration: none; cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color .2s, background .2s;
}
.btn:hover { border-color: var(--moon); background: rgba(24, 38, 74, .6); }
.btn--primary { background: var(--moon); color: var(--night); border-color: var(--moon); }
.btn--primary:hover { background: #fff; color: var(--night); }
.btn--primary kbd { color: var(--night); border-color: rgba(5, 7, 15, .3); }
.btn--live { border-color: var(--flame); }
.btn--live .dot { color: var(--flame); animation: blink 1.2s steps(2, start) infinite; }
.btn--small { padding: 7px 12px; font-size: 12px; }
.ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---------------------------------------------------------------- coins bas : météo, pas de tir */
.hud-bl { grid-area: bl; align-self: end; max-width: 330px; }
.hud-br { grid-area: br; align-self: end; justify-self: end; max-width: 330px; width: 100%; }
.wx__where { margin: 0 0 8px; font-size: 12.5px; color: var(--moon-2); }
.wx__gauges { display: flex; gap: 8px; }
.gauge { margin: 0; width: 92px; display: grid; justify-items: center; }
.gauge svg { width: 92px; height: 52px; overflow: visible; }
.gauge path { fill: none; stroke-width: 5; stroke-linecap: round; }
.gauge__track { stroke: rgba(232, 240, 255, .12); }
.gauge__value { stroke: var(--moon); transition: stroke-dashoffset 1.2s var(--ease); }
.gauge--rain .gauge__value { stroke: #8FB4FF; }
.gauge--view[data-view="poor"] .gauge__value { stroke: var(--flame); }
.gauge figcaption { display: grid; justify-items: center; margin-top: -20px; }
.gauge__num { font: 500 17px/1.1 var(--display); }
.gauge__num small { font: 400 10px var(--mono); margin-left: 2px; color: var(--moon-3); }
.gauge__num--word { font: 600 12.5px/1.1 var(--mono); text-transform: uppercase; letter-spacing: .02em; padding-top: 4px; white-space: nowrap; }
.gauge__label { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--moon-3); margin-top: 3px; text-align: center; }
.wx__words { margin: 10px 0 2px; font-size: 13px; }
.wx__note { margin: 4px 0; font-size: 12px; color: var(--moon-3); }
.wx__source { margin: 6px 0 0; font-size: 10.5px; color: var(--moon-3); letter-spacing: .04em; }

.telemetry { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: end; }
.telemetry__rocket { width: 30px; height: 92px; color: var(--moon); }
.telemetry dl { margin: 0; display: grid; gap: 6px; }
.telemetry dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; font-size: 12.5px; border-bottom: 1px dashed var(--line); padding-bottom: 5px; }
.telemetry dt { color: var(--moon-3); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.telemetry dd { margin: 0; }
.telemetry .telemetry__nth { grid-template-columns: 1fr; color: var(--moon-2); font-size: 11.5px; border: 0; }
.telemetry__dir { margin: 8px 0 0; font-size: 11.5px; color: var(--moon-3); }

/* ---------------------------------------------------------------- poignées des panneaux */
.handle {
  position: fixed; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--moon-2);
  background: rgba(10, 16, 34, .72);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
  transition: color .2s, border-color .2s, background .2s, transform .3s var(--ease);
}
.handle:hover, .handle:focus-visible, .handle[aria-current] { color: var(--moon); border-color: var(--moon); background: rgba(24, 38, 74, .85); }
.handle__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; }
.handle--left { left: 0; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; border-right: 0; border-radius: 8px 0 0 8px; padding: 16px 10px; }
.handle--left .handle__icon, .handle--right .handle__icon { rotate: 180deg; } /* icônes droites malgré la poignée retournée */
/* touche droite (comme une vraie touche) : pas de ligne de base verticale, que chaque navigateur place différemment */
.handle--left kbd, .handle--right kbd { writing-mode: horizontal-tb; rotate: 180deg; }
.handle--left:hover { transform: translateY(-50%) translateX(4px) rotate(180deg); }
/* Mission se lit de bas en haut, comme Calendrier */
.handle--right { right: 0; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; border-left: 0; border-radius: 0 8px 8px 0; padding: 16px 10px; }
.handle--right:hover { transform: translateY(-50%) translateX(-4px) rotate(180deg); }
.handle--bottom { bottom: 0; left: 50%; transform: translateX(-50%); border-bottom: 0; border-radius: 8px 8px 0 0; }
.handle--bottom:hover { transform: translateX(-50%) translateY(-3px); }
.handle--top { display: none; }

/* ---------------------------------------------------------------- pied */
.hud-foot {
  grid-area: foot;
  /* le pied occupe la mer : météo et repères restent au-dessus de l'horizon (côte à 135/720 du bas de l'illustration) */
  min-height: max(9.4vw, 15vh);
  align-content: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "src coco" "legal coco";
  gap: 4px 20px;
  font-size: 10.5px;
  color: var(--moon-3);
  letter-spacing: .03em;
  padding-bottom: 38px;
}
.hud-foot p { margin: 0; }
.hud-foot__src { grid-area: src; }
.hud-foot__legal { grid-area: legal; }
.hud-foot .coco { grid-area: coco; }
.hud-foot__legal a { color: var(--moon-2); margin-left: 6px; }
.hud-foot__keys { margin-left: 14px; opacity: .8; }
.hud-foot__keys kbd { --kh: 16px; padding-inline: 3px; font-size: 9.5px; margin-right: 2px; }
.fresh { color: var(--moon-2); }
.fresh .dot { color: #8FE3B0; width: 5px; height: 5px; margin-right: 5px; }
ck-freshness[stale] { color: var(--flame-2); }
.coco {
  align-self: center;
  display: inline-flex; gap: 8px; align-items: center;
  text-decoration: none; color: var(--moon-3); font-size: 11px;
}
.coco img { display: block; }
.coco:hover { color: var(--moon); }

/* ---------------------------------------------------------------- panneaux (ck-drawer) */
ck-drawer.panel {
  position: fixed; z-index: 40;
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  visibility: hidden;
  transition: transform .42s var(--ease), visibility 0s .42s;
  overflow: hidden;
}
ck-drawer.panel[open] { visibility: visible; transform: none; transition: transform .42s var(--ease), visibility 0s; }
ck-drawer.panel[side="left"] { left: 0; top: 0; bottom: 0; width: min(600px, 94vw); transform: translateX(-104%); border-left: 0; }
ck-drawer.panel[side="right"] { right: 0; top: 0; bottom: 0; width: min(600px, 94vw); transform: translateX(104%); border-right: 0; }
ck-drawer.panel[side="bottom"] { left: 0; right: 0; bottom: 0; max-height: min(78vh, 760px); transform: translateY(104%); border-bottom: 0; }
ck-drawer.panel[side="top"] { left: 0; right: 0; top: 0; max-height: 94vh; transform: translateY(-104%); border-top: 0; }
ck-drawer.panel[side][open] { transform: none; }
/* lignes de balayage à l'ouverture */
ck-drawer.panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(232, 240, 255, .06) 0 1px, transparent 1px 4px);
  opacity: 0;
}
ck-drawer.panel[open]::after { animation: scan .5s var(--ease); }
@keyframes scan { 0% { opacity: 1; transform: translateY(-30%); } 100% { opacity: 0; transform: translateY(30%); } }
html:not(.js) ck-drawer.panel:not([open]) { display: none; }
.ck-drawer-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(2, 3, 8, .55); opacity: 0; transition: opacity .3s; }
.ck-drawer-backdrop.is-visible { opacity: 1; }
.panel__chrome {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  flex: none;
}
.panel__chrome .hud-label { margin: 0; }
.panel__close {
  display: inline-flex; gap: 8px; align-items: center;
  background: none; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--moon); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 10px; cursor: pointer;
}
.panel__close:hover { border-color: var(--moon); }
.panel__body { overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px 40px; flex: 1; min-height: 0; }
.panel__body.is-loading { opacity: .5; }
.panel__head { margin-bottom: 16px; }
.panel__title { margin: 0 0 8px; font: 600 clamp(22px, 2.4vw, 30px)/1.12 var(--display); text-wrap: balance; }
.panel__lead { margin: 0 0 10px; color: var(--moon-2); }
.panel__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0 0; }
.panel__source { margin-top: 28px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 11px; color: var(--moon-3); }

/* onglets */
.tabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs__list [data-tab] {
  background: none; border: 0; color: var(--moon-3);
  font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 12px 12px 11px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs__list [data-tab][aria-selected="true"] { color: var(--moon); border-bottom-color: var(--flame); }

/* filtres */
/* puces en ligne (et non en flex) pour que text-wrap: balance répartisse les lignes à parts égales */
.chips { display: block; text-wrap: balance; margin: 0 0 8px; }
.chips button { display: inline-block; margin: 0 2px 6px 0; vertical-align: top; }
.chips button {
  background: none; border: 1px solid var(--line-2); border-radius: 999px; color: var(--moon-2);
  font: 500 11.5px/1 var(--mono); padding: 7px 11px; cursor: pointer;
}
.chips button[aria-pressed="true"] { background: var(--moon); color: var(--night); border-color: var(--moon); }

/* listes de lancements */
.cal-month { margin-bottom: 18px; }
.cal-month__title { margin: 0 0 6px; font: 500 11px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--flame-2); }
.cal-month__title .count { color: var(--moon-3); margin-left: 6px; }
.lrows { list-style: none; margin: 0; padding: 0; }
.lrow__link {
  display: grid; grid-template-columns: 46px 16px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 6px; text-decoration: none; border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.lrow__link:hover { background: rgba(24, 38, 74, .6); }
.lrow__date { display: grid; justify-items: center; line-height: 1.05; }
.lrow__day { font: 600 19px/1 var(--display); }
.lrow__mon { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--moon-3); margin-top: 3px; white-space: nowrap; }
.lrow__rocket { width: 14px; height: 40px; color: var(--moon-2); }
.lrow__title { display: block; font: 500 14.5px/1.25 var(--display); }
.lrow__meta { display: block; font-size: 11.5px; color: var(--moon-3); margin-top: 3px; }
.lrow__badge { font-size: 9.5px; padding: 3px 7px 2px; }
.lrows--compact .lrow__link { padding: 7px 6px; }
.lrows--compact .lrow__title { font-size: 13.5px; }
.lrows--compact .lrow__rocket { height: 32px; }
.empty { color: var(--moon-3); }

/* vue mois (ck-calendar) */
.month { display: block; margin-bottom: 18px; }
.month::part(head) { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.month::part(title) { font: 600 16px/1 var(--display); text-transform: capitalize; }
.month::part(nav) {
  background: none; border: 1px solid var(--line-2); border-radius: 999px; color: var(--moon);
  width: 34px; height: 34px; cursor: pointer; font: 500 14px var(--mono);
}
.month::part(grid) { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.month::part(weekday) { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--moon-3); text-align: center; padding: 4px 0; }
.month::part(day) {
  min-height: 52px; border: 1px solid var(--line); border-radius: 4px; padding: 5px;
  font: 500 12px var(--mono); color: var(--moon-2); background: rgba(10, 16, 34, .5);
}
.month::part(outside) { opacity: .25; }
.month::part(today) { border-color: var(--moon); color: var(--moon); }
.month::part(event) {
  display: block; margin-top: 4px; padding: 3px 4px; border-radius: 3px;
  background: var(--moon); color: var(--night); font: 600 9.5px/1.2 var(--mono); text-decoration: none;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.month::part(list) { margin-top: 12px; display: grid; gap: 6px; }
.month::part(list-item) { font-size: 12.5px; }
.month__fallback { font-size: 13px; }

/* fiche mission */
.mission__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: end; margin-bottom: 14px; }
.mission__rocket { width: 40px; height: 118px; color: var(--moon); }
.mission__rocketname { margin: 0; color: var(--moon-2); }
.mission__status { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 0; font-size: 12.5px; color: var(--moon-2); }
.mission__when { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mission__date { margin: 0; font: 500 16px/1.4 var(--display); }
.mission__window { margin: 6px 0 0; color: var(--moon-2); font-size: 12.5px; }
.mission__block { margin-top: 22px; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.facts dt { color: var(--moon-3); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding-top: 2px; }
.facts dd { margin: 0; }
.facts small { color: var(--moon-3); }
.prose p { margin: 0 0 12px; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15.5px; line-height: 1.6; max-width: 62ch; }
.prose h3 { font: 600 16px/1.3 var(--display); margin: 22px 0 8px; }
.prose ul { padding-left: 18px; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; }
.prose li { margin-bottom: 6px; }
.callout { border-left: 2px solid var(--flame); padding-left: 12px; color: var(--moon); }
.minimap { width: 100%; max-width: 320px; height: auto; display: block; margin: 4px 0 8px; }
.minimap__coast { fill: none; stroke: var(--moon-3); stroke-width: 1.2; }
.minimap__pad { fill: var(--flame); }
.minimap__traj { fill: none; stroke: var(--moon); stroke-width: 1.4; stroke-dasharray: 3 5; }
.minimap__label { fill: var(--moon-3); font: 500 10px var(--mono); letter-spacing: .1em; }
.minimap__label--dir { fill: var(--moon); font-size: 12px; }
.links { padding-left: 18px; font-size: 13.5px; }
.links li { margin-bottom: 6px; }
.changes { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.change { position: relative; padding: 0 0 12px 16px; font-size: 13px; }
.change::before { content: ""; position: absolute; left: -4px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--moon-3); }
.change--net::before { background: var(--flame); }
.change time { display: block; color: var(--moon-3); font-size: 11px; }
.change small { color: var(--moon-3); }

/* observer */
.observe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.panel--observe .panel__actions { margin-top: 4px; }
.site { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: rgba(10, 16, 34, .6); }
.site__tag { margin: 0; font: 500 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--flame-2); }
.site__name { margin: 4px 0 10px; font: 600 22px/1.1 var(--display); }
.site__facts { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.site__facts li::before { content: "› "; color: var(--moon-3); }
.site p { font-size: 13.5px; margin: 0 0 8px; }
.site--free { border-color: var(--line-2); }

/* à propos */
.about { max-width: 70ch; }
.coco--about { margin-top: 26px; display: inline-flex; font-size: 13px; }

/* apps et simili-démo */
.apps__head { text-align: center; max-width: 720px; margin: 0 auto 14px; }
.apps__title { font-size: clamp(26px, 3.4vw, 44px); }
.demo { display: grid; justify-items: center; gap: 14px; }
.demo__platform { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.demo__platform button {
  background: none; border: 0; color: var(--moon-2); border-radius: 999px; padding: 7px 14px;
  font: 500 12px var(--mono); letter-spacing: .08em; cursor: pointer;
}
.demo__platform button[aria-pressed="true"] { background: var(--moon); color: var(--night); }
.demo__stage { display: grid; grid-template-columns: auto minmax(0, 300px); gap: clamp(20px, 4vw, 56px); align-items: center; }
.lights { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.light { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 2px 12px; opacity: .45; transition: opacity .4s; }
.light__dot { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--moon-2); margin-top: 5px; transition: background .4s, box-shadow .4s; }
.light__name { font: 600 14px/1.3 var(--display); }
.light__text { font-size: 12.5px; color: var(--moon-2); }
.light.is-on { opacity: 1; }
.light.is-on .light__dot { background: var(--flame); border-color: var(--flame); box-shadow: 0 0 12px var(--flame); }
.demo__caption { margin: 0; min-height: 2.6em; text-align: center; max-width: 52ch; color: var(--moon-2); font-size: 13px; }
.demo__controls { display: flex; gap: 8px; }
.demo__static-note { display: none; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 0; }
.store {
  display: inline-flex; gap: 10px; align-items: center; padding: 9px 16px;
  border: 1px solid var(--line-2); border-radius: 10px; font-size: 12.5px; opacity: .8;
}
.store svg { width: 22px; height: 22px; fill: var(--moon); }
.store span { display: grid; }
.store small { color: var(--moon-3); font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; }

/* téléphone (ck-device-frame) */
.phone { --w: clamp(220px, calc((94vh - 360px) * 9 / 19.5), 290px); display: block; width: var(--w); }
.phone::part(frame) {
  position: relative; width: var(--w); aspect-ratio: 9 / 19.5;
  border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #2A3350, #0B1022 60%, #1D2540);
  box-shadow: 0 0 0 1px rgba(232, 240, 255, .2), 0 40px 80px rgba(0, 0, 0, .6);
}
.phone::part(screen) { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #060914; }
.phone[model="android"]::part(frame) { border-radius: 30px; }
.phone[model="android"]::part(screen) { border-radius: 22px; }
.screen { position: absolute; inset: 0; font-family: -apple-system, system-ui, sans-serif; color: #fff; }
.sim-tag {
  position: absolute; z-index: 6; bottom: 10px; left: 50%; transform: translateX(-50%);
  font: 600 8.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 99px; background: rgba(255, 77, 28, .85);
}
.scr { position: absolute; inset: 0; padding: 54px 14px 20px; opacity: 0; transition: opacity .5s; }
.scr.is-on { opacity: 1; }
.scr--home { background: radial-gradient(120% 70% at 30% 0%, #23336A, #0A1022 60%, #05070F); }
.widget {
  border-radius: 20px; padding: 14px; background: rgba(5, 7, 15, .75);
  border: 1px solid rgba(232, 240, 255, .14); backdrop-filter: blur(10px);
}
.widget__k { margin: 0; font-size: 9px; letter-spacing: .14em; color: var(--moon-3); }
.widget__name { margin: 6px 0 2px; font: 600 15px/1.15 var(--display); }
.widget__t { margin: 6px 0 2px; font: 500 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.widget__when { margin: 0; font-size: 10px; color: var(--moon-2); }
.apps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 12px; margin-top: 18px; }
.apps-grid span { aspect-ratio: 1; border-radius: 13px; background: rgba(232, 240, 255, .1); }
.follow {
  position: absolute; left: 14px; right: 14px; bottom: 42px;
  border: 0; border-radius: 14px; padding: 12px; background: var(--moon); color: var(--night);
  font: 600 13px var(--display); transition: transform .2s;
}
.follow.is-pressed { transform: scale(.94); }
.scr--lock { background: radial-gradient(120% 80% at 50% 100%, #2B1A2C, #0B1022 55%, #05070F); text-align: center; }
.lock__time { margin: 6px 0 0; font: 300 54px/1 -apple-system, system-ui, sans-serif; letter-spacing: -.02em; }
.lock__date { margin: 4px 0 18px; font-size: 12px; color: var(--moon-2); }
.la {
  text-align: left; border-radius: 22px; padding: 12px 14px; background: rgba(5, 7, 15, .82);
  border: 1px solid rgba(232, 240, 255, .14); transform: translateY(30px); opacity: 0; transition: transform .6s var(--ease), opacity .6s;
}
.la.is-on { transform: none; opacity: 1; }
.la__top { display: flex; justify-content: space-between; align-items: center; font-size: 9.5px; color: var(--moon-3); letter-spacing: .1em; }
.la__top .badge { font-size: 8.5px; padding: 2px 6px 1px; }
.la__name { margin: 6px 0 0; font: 600 12.5px/1.2 var(--display); }
.la__t { margin: 6px 0; font: 500 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.la__bar { height: 4px; border-radius: 4px; background: rgba(232, 240, 255, .15); overflow: hidden; }
.la__bar span { display: block; height: 100%; width: 30%; background: var(--flame); transition: width 1s; }
.la__when { margin: 6px 0 0; font-size: 10px; color: var(--moon-2); }
.la.is-updated { animation: pulse 1s; }
@keyframes pulse { 30% { box-shadow: 0 0 0 3px var(--flame); } }
.notif {
  position: absolute; left: 10px; right: 10px; top: 46px; z-index: 4; text-align: left;
  border-radius: 18px; padding: 10px 12px; background: rgba(40, 46, 70, .92); backdrop-filter: blur(10px);
  transform: translateY(-140%); transition: transform .5s var(--ease);
}
.notif.is-on { transform: none; }
.notif p { margin: 0; }
.notif__app { font-size: 9px; letter-spacing: .14em; color: var(--moon-3); }
.notif__title { font: 600 12.5px/1.3 -apple-system, system-ui, sans-serif; margin-top: 2px !important; }
.notif__body { font-size: 11.5px; color: var(--moon-2); line-height: 1.35; }
.island {
  position: absolute; z-index: 5; top: 11px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; border-radius: 20px; background: #000;
  display: flex; justify-content: space-between; align-items: center; padding: 0 10px;
  font-size: 10px; overflow: hidden;
  transition: width .5s var(--ease), height .5s var(--ease), border-radius .5s;
}
.island > span { opacity: 0; transition: opacity .3s; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.island svg { width: 12px; height: 12px; fill: none; stroke: var(--flame); stroke-width: 2; }
.island.is-compact { width: 190px; }
.island.is-compact > span { opacity: 1; }
.island.is-expanded { width: 236px; height: 120px; border-radius: 34px; align-items: flex-start; padding-top: 12px; }
.island.is-expanded > span { opacity: 1; }
.island__x { position: absolute; left: 16px; right: 16px; top: 40px; opacity: 0; transition: opacity .3s .2s; }
.island.is-expanded .island__x { opacity: 1; }
.island__x p { margin: 0 0 4px; }
.island__name { font: 600 13px/1.2 var(--display); }
.island__meta { font-size: 10px; color: var(--moon-2); }
.island__watch { font-size: 11px; color: var(--flame-2); }
.phone[model="android"] .island { display: none; }
.scr--liftoff { background: linear-gradient(#05070F, #0B1530 70%, #1A1020); display: grid; align-content: end; text-align: center; padding-bottom: 46px; }
.liftoff { position: absolute; inset: 0; width: 100%; height: 100%; }
.liftoff__traj { fill: none; stroke: var(--flame-2); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.liftoff__flame { fill: var(--flame); filter: drop-shadow(0 0 8px var(--flame)); }
.scr--liftoff.is-on .liftoff__traj { animation: draw 2.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.liftoff__title { position: relative; margin: 0; font: 700 26px/1 var(--display); }
.liftoff__body { position: relative; margin: 6px 0 0; font-size: 11.5px; color: var(--moon-2); }

/* toasts */
.toasts { position: fixed; z-index: 60; top: 16px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(520px, 92vw); }
.toast {
  padding: 12px 16px; border-radius: 8px; background: var(--night-3); border: 1px solid var(--flame);
  font-size: 13px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); animation: toast-in .4s var(--ease);
}
@keyframes toast-in { from { transform: translateY(-20px); opacity: 0; } }
.draft-banner { position: fixed; z-index: 70; bottom: 0; left: 0; right: 0; margin: 0; padding: 6px 12px; background: var(--flame); color: #fff; font-size: 12px; text-align: center; }

/* ---------------------------------------------------------------- décollage (au T−0 réel) */
body.is-liftoff .trajectory { stroke: var(--flame-2); stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 6s var(--ease) forwards; }
body.is-liftoff .trajectory__flame { opacity: 1; }

/* ---------------------------------------------------------------- écrans moyens */
@media (max-width: 1100px) {
  .console { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "top top" "center center" "bl br" "foot foot"; }
  .hud-foot__keys { display: none; }
  .observe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- mobile : barre d'icônes en bas, panneaux qui montent */
@media (max-width: 760px) {
  body { font-size: 14px; }
  .scene { opacity: .45; }
  .horizon { height: 46%; }
  .console {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "top" "center" "bl" "br" "foot";
    padding: 14px 16px calc(84px + env(safe-area-inset-bottom));
    gap: 18px;
  }
  .console::before { inset: 6px; }
  .console::after { display: none; }
  .hud-top { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand actions" "clocks clocks"; row-gap: 12px; }
  .brand { grid-area: brand; justify-self: start; }
  .hud-actions { grid-area: actions; }
  .clocks { grid-area: clocks; gap: 20px; }
  .clock__time { font-size: 17px; }
  .btn-apps { display: none; }
  .hud__frame { padding: 10px 0; }
  .reticle { width: 94vw; }
  .cd__digits { font-size: clamp(36px, 12vw, 64px); }
  .cd__sign { font-size: 26px; }
  .cd__sep { font-size: 30px; }
  .hud-bl, .hud-br { max-width: none; justify-self: stretch; border-top: 1px solid var(--line); padding-top: 14px; }
  .wx__gauges { justify-content: space-between; }
  .handle, .handle--left, .handle--right, .handle--bottom, .handle--top {
    display: flex; position: fixed; z-index: 45; bottom: 0; top: auto; left: auto; right: auto;
    transform: none; rotate: none; writing-mode: horizontal-tb;
    width: 25%; height: calc(64px + env(safe-area-inset-bottom)); padding: 8px 0 env(safe-area-inset-bottom);
    flex-direction: column; justify-content: center; gap: 4px;
    border: 0; border-top: 1px solid var(--line-2); border-radius: 0;
    font-size: 9.5px; letter-spacing: .12em; background: rgba(5, 7, 15, .94);
  }
  .handle:hover { transform: none; }
  .handle .handle__icon, .handle--left .handle__icon, .handle--right .handle__icon { rotate: none; width: 20px; height: 20px; }
  .handle kbd { display: none; }
  .handle--left { left: 0; }
  .handle--right { left: 25%; }
  .handle--bottom { left: 50%; }
  .handle--top { left: 75%; }
  .hud-foot { grid-template-columns: minmax(0, 1fr); grid-template-areas: "src" "legal" "coco"; padding-bottom: 0; min-height: 0; }
  .observe { grid-template-columns: minmax(0, 1fr); }
  ck-drawer.panel[side] {
    left: 0; right: 0; top: auto; bottom: 0; width: auto;
    height: calc(100dvh - 40px); max-height: none;
    transform: translateY(104%);
    border: 1px solid var(--line-2); border-bottom: 0; border-radius: 16px 16px 0 0;
  }
  ck-drawer.panel[open] { transform: none; }
  .panel__body { padding: 16px 16px 40px; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .demo__stage { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .phone { --w: min(250px, 70vw); }
  .lrow__link { grid-template-columns: 40px 12px minmax(0, 1fr); }
  .lrow__badge { grid-column: 3; justify-self: start; }
}

/* ---------------------------------------------------------------- mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .demo__controls { display: none; }
  .demo__static-note { display: block; }
}

/* Opposition à la mesure d'audience (élément <coco-optout> du socle) */
coco-optout { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.coco-optout__status { color: var(--moon); opacity: .8; }

/* ---------------------------------------------------------------- changement de langue (transition entre documents) */
@media (prefers-reduced-motion: no-preference) {
  /* type « fz-nav » : seulement les navigations entre pages (changement de langue surtout), pas l'ouverture des panneaux */
  @view-transition { navigation: auto; types: fz-nav; }
  html:active-view-transition-type(fz-nav)::view-transition-old(root) { animation: .28s var(--ease) both fz-page-out; }
  html:active-view-transition-type(fz-nav)::view-transition-new(root) { animation: .55s .08s var(--ease) both fz-page-in; }
  html:active-view-transition-type(fz-nav)::view-transition-old(fz-lang) { animation: .26s ease-in both fz-flap-out; transform-origin: 50% 100%; }
  html:active-view-transition-type(fz-nav)::view-transition-new(fz-lang) { animation: .3s .22s var(--ease) both fz-flap-in; transform-origin: 50% 0; }
}
@keyframes fz-page-out { to { opacity: 0; filter: blur(6px); transform: translateY(-6px); } }
@keyframes fz-page-in { from { opacity: 0; filter: blur(8px); transform: translateY(8px); } }
@keyframes fz-flap-out { to { transform: perspective(60px) rotateX(90deg); opacity: .4; } }
@keyframes fz-flap-in { from { transform: perspective(60px) rotateX(-90deg); opacity: .4; } }
