/* La gare : un tableau des départs à palettes, la nuit. */
:root {
  --nuit: #07080a;
  --tableau: #101216;
  --tuile: #1a1c21;
  --tuile-haut: #212329;
  --fente: #040405;
  --craie: #f2ede0;
  --craie-2: #a8a499;
  --craie-3: #6c6a64;
  --ambre: #ffb12b;
  --vert: #4fd67f;
  --rouge: #ff5d4f;
  --gris: #74777f;
  --bleu: #72b8ff;
  --titre: 'Big Shoulders Display', 'Oswald', Impact, sans-serif;
  --mono: 'B612 Mono', 'DejaVu Sans Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(255, 177, 43, .07), transparent 60%),
    radial-gradient(900px 600px at 110% 10%, rgba(114, 184, 255, .05), transparent 60%),
    var(--nuit);
  color: var(--craie);
  font: 14px/1.45 var(--mono);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---------------------------------------------------------------- le fronton -- */
.fronton {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 28px;
  min-height: clamp(300px, 34vw, 400px);
  padding: 34px clamp(16px, 4vw, 56px) 22px;
  border-bottom: 3px solid var(--ambre);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
  overflow: hidden;
  isolation: isolate;
}
/* Le quai en 3D, derrière tout : le texte flotte au-dessus, seuls ses éléments actifs captent la souris. */
.quai3d { position: absolute; inset: 0; z-index: -2; }
.quai3d canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.quai3d canvas.pret { opacity: 1; }
.fronton::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, .82) 0%, rgba(7, 8, 10, .35) 32%, transparent 55%),
    linear-gradient(0deg, rgba(7, 8, 10, .75) 0%, transparent 38%);
}
.fronton > :not(.quai3d) { pointer-events: none; }
.fronton .signal[role=button], .fronton .signal[title] { pointer-events: auto; }
body.sans-quai .fronton { min-height: 0; }

/* ------------------------------------------------------------- les annonces -- */
.annonces { display: flex; align-items: stretch; height: 40px; background: #0c0d10; border-bottom: 1px solid #1e2025; overflow: hidden; }
.annonce-titre {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: 0 16px 0 clamp(16px, 4vw, 56px);
  background: var(--ambre); color: #1a1204;
  font: 800 16px/1 var(--titre); letter-spacing: .18em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding-right: 26px;
}
.haut-parleur { width: 14px; height: 14px; background: #1a1204; clip-path: polygon(0 32%, 35% 32%, 75% 0, 75% 100%, 35% 68%, 0 68%); }
.annonce-defile {
  flex: 1; overflow: hidden; white-space: nowrap; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.annonce-defile span { display: inline-block; padding-left: 100%; color: var(--craie-2); font-size: 13px; animation: defile var(--duree, 40s) linear infinite; }
.annonce-defile:hover span { animation-play-state: paused; color: var(--craie); }
@keyframes defile { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .annonce-defile span { animation: none; padding-left: 16px; }
}
.enseigne h1 {
  margin: 0;
  font: 900 clamp(56px, 9vw, 118px)/.82 var(--titre);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--craie);
  text-shadow: 0 0 40px rgba(255, 177, 43, .18);
}
.sous-titre {
  margin: 10px 0 0;
  color: var(--ambre);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: 11px;
}
.signaux { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.signal {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px 5px 8px;
  border: 1px solid #25272d; border-radius: 3px;
  background: var(--tableau);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--craie-2); cursor: default;
}
.signal[role=button] { cursor: pointer; }
.signal[role=button]:hover { border-color: var(--ambre); color: var(--craie); }
.signal b { font-weight: 400; color: var(--craie); }
.diode { width: 8px; height: 8px; border-radius: 50%; background: var(--gris); }
.diode.vert { background: var(--vert); box-shadow: 0 0 10px var(--vert); }
.diode.ambre { background: var(--ambre); box-shadow: 0 0 10px var(--ambre); }
.diode.rouge { background: var(--rouge); box-shadow: 0 0 10px var(--rouge); }

/* ----------------------------------------------------------------- les palettes -- */
.volet { display: inline-flex; gap: 3px; vertical-align: middle; }
.tuile {
  position: relative;
  display: inline-grid; place-items: center;
  width: 1.18em; height: 1.62em;
  background: linear-gradient(180deg, var(--tuile-haut) 0 49%, var(--fente) 49% 51%, var(--tuile) 51% 100%);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 1px 0 rgba(0, 0, 0, .6);
  font-weight: 700;
  color: var(--craie);
}
.tuile.bascule { animation: bascule 70ms linear; }
@keyframes bascule {
  0% { transform: scaleY(1); }
  50% { transform: scaleY(.1); filter: brightness(1.6); }
  100% { transform: scaleY(1); }
}
.volet.vert .tuile { color: var(--vert); }
.volet.rouge .tuile { color: var(--rouge); }
.volet.ambre .tuile { color: var(--ambre); }
.volet.gris .tuile { color: var(--gris); }
.volet.bleu .tuile { color: var(--bleu); }
.horloge .volet { font-size: 30px; }
.horloge .tuile { color: var(--ambre); }
.horloge .deux-points { font-size: 30px; color: var(--craie-3); padding: 0 1px; }

/* -------------------------------------------------------------------- la page -- */
main { padding: 10px clamp(16px, 4vw, 56px) 80px; max-width: 1400px; }
.rubrique {
  display: flex; align-items: center; gap: 16px;
  margin: 38px 0 16px;
  font: 800 22px/1 var(--titre);
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--craie-2);
}
.rubrique i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, #2a2c32 0 6px, transparent 6px 12px); }

.alerte {
  margin-top: 22px; padding: 12px 16px;
  border-left: 4px solid var(--rouge);
  background: rgba(255, 93, 79, .08);
}

/* ------------------------------------------------------------------- les voies -- */
.voies { display: grid; gap: 18px; }
.voie {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 8px 26px;
  padding: 22px 24px 22px 0;
  background: linear-gradient(180deg, #121419, #0e1013);
  border: 1px solid #202228;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .4s, box-shadow .4s;
}
.voie > * { min-width: 0; }
.voie-infos span { overflow-wrap: anywhere; }
.voie::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 110px;
  background: repeating-linear-gradient(135deg, rgba(255, 177, 43, .06) 0 10px, transparent 10px 20px);
  border-right: 1px solid #202228;
}
.voie.arrivee { border-color: var(--vert); box-shadow: 0 0 0 1px var(--vert), 0 0 40px rgba(79, 214, 127, .25); }
.voie.deraillee { border-color: var(--rouge); box-shadow: 0 0 0 1px var(--rouge), 0 0 40px rgba(255, 93, 79, .25); animation: secousse .45s; }
@keyframes secousse { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

.numero {
  position: relative; grid-row: 1 / span 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font: 600 11px/1 var(--mono); letter-spacing: .3em; color: var(--craie-3); text-transform: uppercase;
}
.numero strong { font: 900 64px/.9 var(--titre); letter-spacing: 0; color: var(--ambre); }

.voie-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.voie-nom { margin: 0; font: 800 34px/1 var(--titre); text-transform: uppercase; letter-spacing: .04em; }
.voie-nom a { text-decoration: none; }
.voie-nom a:hover { color: var(--ambre); }
.voie-infos { color: var(--craie-2); font-size: 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.voie-infos .ok { color: var(--vert); }
.voie-infos .alerte-texte { color: var(--ambre); }
.voie-infos .rouge { color: var(--rouge); }

.actions { grid-row: 1 / span 2; grid-column: 3; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.bouton {
  padding: 12px 18px;
  border: 0; border-radius: 3px;
  background: var(--ambre); color: #1a1204;
  font: 800 17px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 3px 0 #a86c00;
  transition: transform .08s, box-shadow .08s, filter .2s;
}
.bouton:hover { filter: brightness(1.08); }
.bouton:active { transform: translateY(2px); box-shadow: 0 1px 0 #a86c00; }
.bouton:disabled { background: #2a2c31; color: var(--craie-3); box-shadow: none; cursor: default; }
.actions .aide { font-size: 10.5px; line-height: 1.3; color: var(--craie-3); text-align: center; }
.liens { display: flex; gap: 6px; margin-top: 4px; }
.lien-bouton {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 10px; border-radius: 3px;
  box-shadow: inset 0 0 0 1px #33353c; color: var(--craie-2); text-decoration: none;
  font: 800 13px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase;
  transition: color .15s, box-shadow .15s;
}
.lien-bouton:hover { color: var(--craie); box-shadow: inset 0 0 0 1px var(--craie-2); }
.pictogramme.github {
  width: 14px; height: 14px; flex: none; background: currentColor;
  --github: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z'/%3E%3C/svg%3E");
  -webkit-mask: var(--github) center / contain no-repeat;
          mask: var(--github) center / contain no-repeat;
}
.voyageurs { margin: 16px 30px 0; }
.voyageurs ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.voyageurs li { display: flex; flex-wrap: wrap; gap: 0 6px; align-items: baseline; padding: 7px 12px; background: #0d0f12; border-left: 2px solid var(--ambre); font-size: 13px; }
.voyageurs a { text-decoration: none; }
.voyageurs code { color: var(--ambre); }
.voyageurs small { color: var(--craie-3); }
.bouton.discret { background: transparent; color: var(--craie-2); box-shadow: inset 0 0 0 1px #33353c; font-size: 13px; padding: 9px 12px; }
.bouton.discret:hover { color: var(--craie); box-shadow: inset 0 0 0 1px var(--craie-3); }

/* ------------------------------------------------------------------ le parcours -- */
.parcours { grid-column: 2 / span 2; display: flex; align-items: flex-start; margin: 14px 0 4px; }
.station { position: relative; flex: 1 1 0; min-width: 0; text-align: center; }
.station .rail {
  position: absolute; top: 9px; right: 50%; left: -50%; height: 3px;
  background: #2a2c32;
}
.station:first-child .rail { display: none; }
.station .point {
  position: relative; z-index: 1;
  display: block; width: 20px; height: 20px; margin: 0 auto;
  border-radius: 50%;
  background: var(--nuit);
  border: 3px solid #34363d;
}
.station .nom {
  display: block; margin-top: 8px; padding: 0 4px;
  font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--craie-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.station .temps { display: block; font-size: 10px; color: var(--craie-3); min-height: 1.3em; }
.station.ok .point { background: var(--vert); border-color: var(--vert); }
.station.ok .rail, .station.en_cours .rail, .station.echec .rail { background: var(--vert); }
.station.ok .nom { color: var(--craie-2); }
.station.saute .point { background: transparent; border-style: dashed; border-color: #3d4047; }
.station.saute .rail { background: repeating-linear-gradient(90deg, #2e3036 0 5px, transparent 5px 10px); }
.station.echec .point { background: var(--rouge); border-color: var(--rouge); box-shadow: 0 0 14px var(--rouge); }
.station.echec .nom { color: var(--rouge); }
.station.en_cours .point { border-color: var(--ambre); background: var(--nuit); }
.station.en_cours .nom { color: var(--ambre); }
.station.en_cours .point::after {
  /* la locomotive */
  content: ''; position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--ambre);
  animation: sonar 1.2s ease-out infinite;
}
@keyframes sonar { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.parcours.passe .station { opacity: .55; }

.voie-bas { grid-column: 2 / span 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 6px; }
.etiquette { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--craie-3); }
.voie-bas .volet { font-size: 16px; }
.voie-bas .commit { color: var(--craie-2); min-width: 0; max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voie-bas .commit code { color: var(--ambre); }
.medailles { margin-left: auto; display: flex; gap: 8px; }
.medaille {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 4px 9px; border-radius: 999px;
  background: #16181c; border: 1px solid #25272d;
  font-size: 11px; color: var(--craie-2);
  white-space: nowrap;
}
.medaille strong { font: 800 16px/1 var(--titre); color: var(--craie); }
.medaille.feu strong { color: var(--ambre); }
.medaille.feu.chaud { border-color: rgba(255, 177, 43, .5); box-shadow: 0 0 16px rgba(255, 177, 43, .18); }

/* ------------------------------------------------------------ le tableau -- */
.tableau { background: var(--tableau); border: 1px solid #1e2025; border-radius: 4px; overflow: hidden; }
.ligne {
  display: grid;
  grid-template-columns: 84px 130px minmax(0, 1fr) 96px 80px 190px;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  border-top: 1px solid #1b1d22;
}
.ligne.entete { border-top: 0; background: #0c0d10; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ambre); }
#departs .ligne { cursor: pointer; transition: background .15s; }
#departs .ligne:hover { background: #171a1f; }
#departs .ligne.nouvelle { animation: arrivee 1.2s ease-out; }
@keyframes arrivee { from { background: rgba(255, 177, 43, .18); } to { background: transparent; } }
.ligne .heure { color: var(--ambre); font-weight: 700; }
.ligne .voie-cell { text-transform: uppercase; font-weight: 700; letter-spacing: .06em; }
.ligne .destination { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--craie); }
.ligne .destination small { color: var(--craie-3); margin-left: 8px; }
.ligne .sha { color: var(--craie-2); }
.ligne .duree { color: var(--craie-2); }
.ligne .volet { font-size: 12px; }
.vide { padding: 28px 18px; color: var(--craie-3); text-align: center; letter-spacing: .1em; }

/* ------------------------------------------------------------------ le billet -- */
.voile {
  position: fixed; inset: 0; z-index: 10;
  display: grid; place-items: start center;
  padding: 5vh 16px;
  background: rgba(4, 5, 6, .78);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.voile[hidden] { display: none; }
.ticket {
  position: relative;
  width: min(1100px, 100%);
  background: #121418;
  border: 1px solid #25282e;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.ticket-tete {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start;
  padding: 26px 30px 22px;
  border-bottom: 2px dashed #2b2e35;
  position: relative;
}
.ticket-tete::before, .ticket-tete::after {
  content: ''; position: absolute; bottom: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--nuit);
}
.ticket-tete::before { left: -12px; }
.ticket-tete::after { right: -12px; }
.ticket h2 { margin: 0; font: 900 44px/.95 var(--titre); text-transform: uppercase; letter-spacing: .02em; }
.ticket h2 small { display: block; margin-bottom: 8px; font: 400 11px/1 var(--mono); letter-spacing: .3em; color: var(--ambre); }
.ticket .fermer { background: none; border: 1px solid #33353c; border-radius: 3px; padding: 8px 12px; cursor: pointer; color: var(--craie-2); }
.ticket .fermer:hover { color: var(--craie); border-color: var(--craie-3); }
.ticket .volet { font-size: 20px; margin-top: 14px; }
.faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px 24px; padding: 20px 30px; border-bottom: 1px solid #1e2025; }
.fait span { display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--craie-3); margin-bottom: 4px; }
.fait b { font-weight: 400; color: var(--craie); word-break: break-word; }
.fait code { color: var(--ambre); }
.ticket .parcours { padding: 22px 30px 6px; margin: 0; }
.ticket .station .nom { font-size: 11px; }
.erreur-bloc { margin: 14px 30px 0; padding: 12px 14px; border-left: 3px solid var(--rouge); background: rgba(255, 93, 79, .07); color: #ffc7c1; }
.raison-bloc { margin: 14px 30px 0; padding: 12px 14px; border-left: 3px solid var(--gris); background: rgba(255, 255, 255, .03); color: var(--craie-2); }
.console {
  margin: 18px 30px 30px;
  padding: 16px 18px;
  max-height: 58vh; overflow: auto;
  background: #050607;
  border: 1px solid #1c1e23; border-radius: 4px;
  font: 12.5px/1.55 var(--mono);
  color: #cfcabd;
  white-space: pre-wrap; word-break: break-word;
}
.console .l-station { color: var(--ambre); font-weight: 700; }
.console .l-cmd { color: var(--bleu); }
.console .l-err { color: var(--rouge); font-weight: 700; }
.console .l-fin { color: var(--vert); font-weight: 700; }
.console .curseur { display: inline-block; width: .6em; height: 1.1em; vertical-align: text-bottom; background: var(--ambre); animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 20; transform: translateX(-50%);
  padding: 12px 18px; border-radius: 4px;
  background: #1b1d22; border: 1px solid #33353c;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.toast.ok { border-color: var(--vert); }
.toast.ko { border-color: var(--rouge); }

/* ---------------------------------------------------------------- la connexion -- */
.page-connexion { display: grid; place-items: center; padding: 28px 16px; }
main.guichet { width: min(470px, 100%); padding: 0; }
.guichet-enseigne { text-align: center; margin-bottom: 28px; }
.guichet-enseigne h1 {
  margin: 0;
  font: 900 clamp(66px, 17vw, 108px)/.82 var(--titre);
  text-transform: uppercase; letter-spacing: .02em;
  text-shadow: 0 0 40px rgba(255, 177, 43, .18);
}
.controle {
  position: relative;
  padding: 24px 28px 28px;
  background: #121418;
  border: 1px solid #25282e; border-top: 3px solid var(--ambre); border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.controle.refuse { animation: secousse .45s; }
.controle-tete { position: relative; margin: 0 -28px 24px; padding: 0 28px 22px; border-bottom: 2px dashed #2b2e35; }
.controle-tete::before, .controle-tete::after {
  content: ''; position: absolute; bottom: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--nuit);
}
.controle-tete::before { left: -12px; }
.controle-tete::after { right: -12px; }
.panneau { margin-top: 12px; }
.panneau .volet { font-size: clamp(15px, 4.6vw, 21px); }
.champ { display: block; margin-bottom: 16px; }
.champ > span:first-child {
  display: block; margin-bottom: 7px;
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--craie-3);
}
.champ input {
  width: 100%; padding: 13px 14px;
  background: #08090b; color: var(--craie);
  border: 1px solid #2a2c32; border-radius: 3px;
  font: 15px var(--mono);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.champ input:focus { border-color: var(--ambre); box-shadow: 0 0 0 3px rgba(255, 177, 43, .15); }
.avec-bouton { position: relative; display: block; }
.avec-bouton input { padding-right: 78px; }
.voir {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  padding: 6px 8px; border: 0; background: none; cursor: pointer;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--craie-3);
}
.voir:hover { color: var(--ambre); }
.message { min-height: 1.4em; margin: 2px 0 14px; font-size: 13px; color: #ffc7c1; }
.composter { width: 100%; padding: 16px; font-size: 21px; }

.signal.quitter { cursor: pointer; }
.signal.quitter:hover { border-color: var(--rouge); color: var(--craie); }

@media (max-width: 860px) {
  .fronton { grid-template-columns: 1fr; align-items: start; min-height: 0; padding-top: 232px; }
  /* Sur mobile, le quai devient une bannière au-dessus du texte, au lieu de passer dessous. */
  .quai3d { bottom: auto; height: 220px; }
  .fronton::after { background: linear-gradient(0deg, var(--nuit) 0%, rgba(7, 8, 10, .92) calc(100% - 240px), transparent calc(100% - 150px)); }
  body.sans-quai .fronton { padding-top: 34px; }
  .signaux { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .horloge .volet, .horloge .deux-points { font-size: 22px; }
  .voie { grid-template-columns: 1fr; padding: 18px; }
  .voie::before { display: none; }
  .numero { grid-row: auto; flex-direction: row; justify-content: flex-start; gap: 10px; }
  .numero strong { font-size: 30px; }
  .actions { grid-row: auto; grid-column: auto; flex-direction: column; }
  .parcours, .voie-bas { grid-column: auto; }
  .station .nom { font-size: 9px; letter-spacing: 0; }
  .medailles { margin-left: 0; }
  .ligne { grid-template-columns: 58px 80px minmax(0, 1fr) 150px; }
  .ligne .option { display: none; }
  .ligne .volet { font-size: 10px; }
}
