/* Voli in diretta (live.html). La mappa è uno "schermo" scuro in entrambi i temi, come il tabellone della home. */

.live-testa { align-items: end; margin-top: 26px; }
.live-numeri {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.live-numeri div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
}
.live-numeri dt { color: var(--text-2); font-size: 13px; line-height: 1.35; }
.live-numeri dd { margin: 0; font-family: var(--mono); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.live-numeri__primo { border-color: rgb(242 181 68 / 0.35) !important; background: var(--accent-soft) !important; }
.live-numeri__primo dd { color: var(--accent-text); }

/* ---------- mappa ---------- */

.live-mappa-testa {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 16px;
}
.live-mappa-testa h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; }
.live-ora { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-family: var(--mono); font-size: 12.5px; }
.live-ora .icona { width: 15px; height: 15px; color: var(--text-3); }

.mappa-live {
  --m-text: #e9eef7;
  --m-text-2: #a7b3ca;
  --m-text-3: #7c89a3;
  --m-line: rgb(150 172 214 / 0.16);
  position: relative;
  margin: 0;
  padding: clamp(10px, 2vw, 24px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 80% at 70% 0%, rgb(70 108 190 / 0.16), transparent 70%),
    linear-gradient(180deg, #0d1424, #080c16);
  color: var(--m-text);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 0 0 1px rgb(150 172 214 / 0.16), 0 50px 90px -60px rgb(0 0 0 / 0.9);
  overflow: hidden;
}
:root[data-theme="light"] .mappa-live { box-shadow: 0 0 0 1px rgb(10 16 30 / 0.35), 0 40px 70px -40px rgb(16 28 56 / 0.5); }
.mappa-live__svg { display: block; width: 100%; height: auto; overflow: visible; }

/* 3/11/2026, Mattia: "non si capisce bene in che parte del mondo sono": terre a un punto per grado (prima ogni 2), più contrasto anche
   sul lato notte, nomi dei continenti tenui sotto i voli */
.terra { fill: none; stroke-linecap: round; stroke-width: 0.66; }
.terra--giorno { stroke: rgb(190 204 232 / 0.62); }
.terra--crepuscolo { stroke: rgb(160 176 210 / 0.46); }
.terra--notte { stroke: rgb(128 146 188 / 0.36); }
.mappa-etichette { pointer-events: none; }
.mappa-etichette text {
  fill: rgb(225 232 246 / 0.34);
  font-family: var(--mono);
  font-size: 3.1px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgb(8 12 24 / 0.55);
  stroke-width: 0.6px;
}
@media (max-width: 640px) { .mappa-etichette { display: none; } }
.altri { fill: none; stroke: rgb(233 238 247 / 0.55); stroke-width: 0.62; stroke-linecap: round; }

.volo-va { cursor: pointer; }
.volo-va__alone { fill: rgb(242 181 68 / 0.18); }
.volo-va__punto { fill: #f2b544; stroke: #0b111d; stroke-width: 0.45; }
.volo-va__prua { stroke: #f2b544; stroke-width: 0.5; stroke-linecap: round; opacity: 0.85; }
.volo-va__presa { fill: transparent; }
.volo-va--terra .volo-va__punto { fill: #0b111d; stroke: #f2b544; stroke-width: 0.6; }
.volo-va--terra .volo-va__alone { fill: rgb(242 181 68 / 0.1); }
.volo-va.is-spento { opacity: 0.18; }
.volo-va.is-scelto .volo-va__punto { r: 1.7; }
.volo-va.is-scelto .volo-va__alone { r: 4.6; fill: rgb(242 181 68 / 0.24); }
.mov-pieno .volo-va.is-scelto .volo-va__alone { animation: impulso 2.2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes impulso {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}

.rotta__fatta { fill: none; stroke: #f2b544; stroke-width: 0.6; stroke-linecap: round; }
.rotta__fatta--disegna { transition: stroke-dashoffset 1.1s var(--ease); }
.rotta__resta { fill: none; stroke: rgb(242 181 68 / 0.55); stroke-width: 0.45; stroke-dasharray: 1.2 1.4; }
.rotta__scalo { fill: #e9eef7; stroke: #0b111d; stroke-width: 0.35; }
.rotta__sigla {
  fill: #e9eef7;
  font-family: var(--mono);
  font-size: 3.4px;
  font-weight: 600;
  letter-spacing: 0.04em;
  paint-order: stroke;
  stroke: #080c16;
  stroke-width: 0.9px;
  stroke-linejoin: round;
}

.mappa-live__suggerimento {
  position: absolute;
  z-index: 2;
  max-width: 240px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f3f6fb;
  color: #0c1426;
  font-size: 12.5px;
  line-height: 1.35;
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.6);
  pointer-events: none;
}
.mappa-live__suggerimento b { font-family: var(--mono); }
.mappa-live__suggerimento span { display: block; margin-top: 2px; color: #47536d; font-family: var(--mono); font-size: 11.5px; }

/* Scheda del volo scelto: sopra la mappa sui computer, sotto sui telefoni */
.volo-scelto {
  position: absolute;
  left: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  width: min(320px, 36%);
  padding: 16px 16px 12px;
  border: 1px solid var(--m-line);
  border-radius: var(--r-l);
  background: rgb(10 16 28 / 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--m-text);
}
.volo-scelto__testa { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.volo-scelto__sigla { margin-top: 10px; font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: 0.02em; line-height: 1; }
.volo-scelto__va { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 500; }
.volo-scelto__va a { color: var(--m-text); text-decoration: underline; text-decoration-color: rgb(233 238 247 / 0.3); text-underline-offset: 3px; }
.volo-scelto__va a { padding-block: 9px; margin-block: -9px; }
.volo-scelto__va a:hover { text-decoration-color: currentColor; }
.volo-scelto__va .bandiera { width: 18px; height: 18px; flex: none; }
.volo-scelto .tratta { margin-top: 14px; }
.volo-scelto .tratta small { color: var(--m-text-3); }
.volo-scelto .tratta__barra { background: rgb(255 255 255 / 0.12); }
.volo-scelto__dati { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; color: var(--m-text-2); font-family: var(--mono); font-size: 12px; }
.volo-scelto__piede {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--m-line);
}
.volo-scelto__n { color: var(--m-text-3); font-family: var(--mono); font-size: 12px; }
.volo-scelto__freccia {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--m-text-2);
  cursor: pointer;
}
.volo-scelto__freccia:hover { background: rgb(255 255 255 / 0.08); color: var(--m-text); }
.volo-scelto__freccia .icona { width: 18px; height: 18px; }
.volo-scelto .stato--terra { background: rgb(255 255 255 / 0.1); color: var(--m-text-2); }
.volo-scelto .stato--volo { background: rgb(242 181 68 / 0.16); color: #f2b544; }
.volo-scelto .rete { background: rgb(255 255 255 / 0.08); color: var(--m-text-2); }

.mappa-legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 13px;
}
.mappa-legenda li { display: inline-flex; align-items: center; gap: 8px; }
.segno { width: 9px; height: 9px; border-radius: 50%; }
.segno--va { background: var(--accent); box-shadow: 0 0 0 3px rgb(242 181 68 / 0.22); }
.segno--altri { width: 5px; height: 5px; background: var(--text-3); }
.segno--notte { width: 18px; height: 9px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--text-3) 0 2px, transparent 2px 5px); opacity: 0.5; }

/* ---------- tratta con barra di avanzamento ---------- */

.tratta { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; align-items: center; gap: 10px; }
.tratta__scalo { display: grid; min-width: 0; }
.tratta__scalo b { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2; }
.tratta__scalo small { overflow: hidden; color: var(--text-3); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; max-width: 12ch; }
.tratta__scalo--arrivo { text-align: right; justify-items: end; }
.tratta__barra { position: relative; height: 3px; border-radius: 3px; background: var(--surface-3); }
.tratta__barra span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  border-radius: inherit;
  background: var(--accent);
}
.tratta__barra span::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  transform: translateY(-50%);
}
.volo-scelto .tratta__barra span::after { background: #0a101c; }

.stato, .rete {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.stato--volo { background: var(--accent-soft); color: var(--accent-text); }
.stato--volo::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.stato--terra { background: var(--surface-3); color: var(--text-2); }
.rete { background: var(--surface-3); color: var(--text-2); }

/* ---------- elenco dei voli ---------- */

.live-griglia {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}
.live-voli__testa {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px 20px;
}
.live-voli__testa h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; }
.live-conto { margin-top: 4px; color: var(--text-2); font-size: 14px; }
.live-cerca { flex: 1 1 260px; max-width: 340px; margin-top: 0; padding: 4px 6px 4px 14px; border-radius: 12px; box-shadow: none; }
.live-cerca input { min-height: 38px; }
.live-filtri { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.live-filtri .filtro { min-height: 40px; }
.live-filtri .filtro small { margin-left: 4px; color: var(--text-3); font-family: var(--mono); font-size: 11.5px; }

.voli { display: grid; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.voli__riga {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.25fr) 148px 40px;
  align-items: center;
  gap: 14px 22px;
  padding: 14px 14px 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
  transition: border-color 0.2s, background-color 0.2s;
}
.voli__riga:hover { border-color: var(--line-strong); }
.voli__riga.is-scelta { border-color: rgb(242 181 68 / 0.55); box-shadow: inset 3px 0 0 var(--accent); }
.voli__va { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.voli__va .bandiera { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.voli__va-testo { display: grid; gap: 6px; min-width: 0; }
.voli__nome { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
/* Il nome della compagnia è alto 20 px: la zona che si tocca arriva a 40 (14 sopra, nel margine della scheda, e 6 sotto, nello spazio fra le righe) senza spostare niente */
.voli__nome a { padding: 14px 0 6px; margin: -14px 0 -6px; overflow-wrap: anywhere; }
.voli__nome a:hover { color: var(--accent-text); }
.voli__posto {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
}
.voli__dettagli { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--text-3); font-family: var(--mono); font-size: 12px; }
.voli__dettagli b { color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.voli__dettagli .rete { height: 20px; padding: 0 6px; font-size: 11px; }
.voli__stato { display: grid; justify-items: start; gap: 3px; }
.voli__stato small { color: var(--text-3); font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
.voli__mappa {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.voli__mappa:hover { border-color: rgb(242 181 68 / 0.5); color: var(--accent-text); }
.voli__mappa .icona { width: 18px; height: 18px; }
.live-vuoto { margin-top: 16px; }
.live-vuoto .btn { margin-top: 12px; }

/* ---------- colonna di lato ---------- */

.live-lato { display: grid; gap: 16px; }
.live-lato .pannello h2 { font-size: 17px; }
.attive { display: grid; gap: 4px; margin-top: 14px; padding: 0; list-style: none; }
.attive__voce { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.attive__voce:first-child { border-top: 0; }
.attive__n { color: var(--text-3); font-family: var(--mono); font-size: 12px; }
.attive__corpo { display: grid; gap: 6px; min-width: 0; }
.attive__nome { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 500; }
.attive__nome a { padding-block: 9px; margin-block: -9px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.attive__nome a:hover { color: var(--accent-text); }
.attive__nome .bandiera { flex: none; width: 16px; height: 16px; }
.attive__barra { height: 4px; border-radius: 4px; background: var(--surface-3); }
.attive__barra span { display: block; width: var(--p); height: 100%; border-radius: inherit; background: var(--accent); }
.attive__conto { color: var(--text-2); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.attive__conto b { color: var(--text); font-size: 14px; }

.note-esempio {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-s);
  background: #0b111d;
  color: #c9d3e6;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  box-shadow: inset 0 0 0 1px rgb(150 172 214 / 0.16);
}
.note-esempio__etichetta { display: block; margin-bottom: 4px; color: #7c89a3; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.note-esempio code { font-family: inherit; overflow-wrap: anywhere; }
.note-esempio mark { padding: 1px 3px; border-radius: 3px; background: rgb(242 181 68 / 0.22); color: #f6d58f; }
.live-come__piccolo { color: var(--text-3) !important; font-size: 13px !important; }
.live-come .btn { margin-top: 14px; }
.live-manca .link-freccia { margin-top: 12px; }

.live-fonte { padding-bottom: 48px; color: var(--text-3); font-size: 12.5px; }

/* ---------- misure ---------- */

/* Fino a 1180 px (tablet in piedi e in orizzontale) elenco e colonna di lato si mettono uno sotto l'altro:
   a 1024 px l'elenco restava largo 570 px e i nomi delle compagnie andavano a capo su 4 righe. */
@media (max-width: 1180px) {
  .live-griglia { grid-template-columns: minmax(0, 1fr); }
  .live-lato { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; align-items: start; }
  .live-attive { grid-row: 1 / span 2; align-self: stretch; }
  .voli__riga { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) 140px 40px; gap: 14px 18px; }

  /* La scheda del volo scelto non sta più sopra la mappa: negli Stati Uniti, dove vola quasi tutto, nascondeva proprio i voli. */
  .volo-scelto {
    position: static;
    width: auto;
    margin-top: 14px;
    background: rgb(255 255 255 / 0.04);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
/* Sul tablet la scheda è a tutta larghezza: sigla e compagnia a sinistra, tratta e dati a destra */
@media (min-width: 641px) and (max-width: 1180px) {
  .volo-scelto {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    column-gap: clamp(24px, 5vw, 56px);
    align-items: start;
    padding: 18px 20px 12px;
  }
  .volo-scelto__testa { grid-column: 1; grid-row: 1; justify-content: flex-start; gap: 8px; }
  .volo-scelto__sigla { grid-column: 1; grid-row: 2; }
  .volo-scelto__va { grid-column: 1; grid-row: 3; }
  .volo-scelto .tratta { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-top: 0; }
  .volo-scelto__dati { grid-column: 2; grid-row: 3; align-self: center; margin-top: 8px; }
  .volo-scelto__piede { grid-column: 1 / -1; grid-row: 4; }
}
@media (max-width: 899px) {
  .rotta__sigla { font-size: 5px; }
}
@media (max-width: 760px) {
  .voli__riga {
    grid-template-columns: minmax(0, 1fr) 40px;
    grid-template-areas:
      "va mappa"
      "tratta tratta"
      "stato stato";
    gap: 14px 12px;
    padding: 14px;
  }
  .voli__va { grid-area: va; }
  .voli__mappa { grid-area: mappa; align-self: start; }
  .voli__tratta { grid-area: tratta; }
  /* Stato a sinistra, quota e tempo online uno sopra l'altro: tutte le carte hanno lo stesso aspetto, anche a 320 px */
  .voli__stato {
    grid-area: stato;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 2px 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
  }
  .voli__stato .stato { grid-row: 1 / span 2; }
  .voli__stato small { grid-column: 2; }
  .tratta__scalo small { max-width: 16ch; }
}
@media (max-width: 640px) {
  .live-numeri dd { font-size: 24px; }
  .live-numeri div { padding: 12px 14px; }
  .mappa-live { margin-inline: calc(var(--gutter) * -0.5); border-radius: var(--r-l); }
  .rotta__sigla { font-size: 7px; stroke-width: 1.6px; }
  .volo-va__punto { r: 1.8; }
  .volo-va.is-scelto .volo-va__punto { r: 2.4; }
  .live-cerca { max-width: none; flex-basis: 100%; }
  .live-filtri .filtri { width: 100%; }
  .live-filtri .filtro { flex: 1 1 auto; }
  .live-lato { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .live-attive { grid-row: auto; }
}
/* Sui telefoni la mappa è larga 300-400 px: le sigle degli aeroporti sarebbero alte 6 px e, per le tratte corte, si sovrapporrebbero.
   Restano nella scheda sotto la mappa. */
@media (max-width: 479px) {
  .rotta__sigla { display: none; }
}
@media (max-width: 380px) {
  .live-numeri { grid-template-columns: minmax(0, 1fr); }
}

/* sito vero (3/11/2026): nessun volo in corso e dati delle reti non disponibili */
.attive__vuoto { color: var(--text-2); font-size: .92rem; padding: 6px 0; }
.live-assente { margin-top: 8px; }
.volo-scelto[hidden] { display: none; }

/* Zoom per regione (3/11/2026): --k è lo zoom; i tratti si dividono per --k così sullo schermo restano della stessa misura.
   Le coste (assets/data/contorni.json) arrivano al primo zoom, tenui sotto i puntini, più chiare a mappa ingrandita. */
.mappa-live__svg { --k: 1; }
.terra { stroke-width: calc(0.66px / var(--k)); }
.altri { stroke-width: calc(0.62px / var(--k)); }
.rotta__fatta { stroke-width: calc(0.6px / var(--k)); }
.rotta__resta { stroke-width: calc(0.45px / var(--k)); stroke-dasharray: calc(1.2px / var(--k)) calc(1.4px / var(--k)); }
.rotta__scalo { stroke-width: calc(0.35px / var(--k)); }
.rotta__sigla { font-size: calc(var(--fs-sigla, 3.4px) / var(--k)); stroke-width: calc(var(--sw-sigla, 0.9px) / var(--k)); }
@media (max-width: 899px) { .rotta__sigla { --fs-sigla: 5px; } }
@media (max-width: 640px) { .rotta__sigla { --fs-sigla: 7px; --sw-sigla: 1.6px; } }
.mappa-etichette text { font-size: calc(3.1px / var(--k)); letter-spacing: calc(0.32px / var(--k)); stroke-width: calc(0.6px / var(--k)); }
.terra-contorno { fill: rgb(150 170 210 / 0.05); stroke: rgb(190 204 232 / 0.2); stroke-width: calc(0.3px / var(--k)); stroke-linejoin: round; transition: fill 0.4s, stroke 0.4s; }
.mappa-live.is-zoom .terra-contorno { fill: rgb(150 170 210 / 0.12); stroke: rgb(205 218 242 / 0.5); }
.mappa-zoom { width: fit-content; max-width: 100%; margin: -4px 0 14px; }
.mappa-zoom .filtro { min-height: 38px; }
@media (max-width: 640px) {
  .mappa-zoom { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mappa-zoom::-webkit-scrollbar { display: none; }
  .mappa-zoom .filtro { flex: 0 0 auto; }
}

/* 3/11/2026, Mattia: "il box nero a sinistra un po' copre". Anche su computer la scheda del volo scelto sta sotto la mappa,
   come su tablet e telefono: una striscia bassa su tre colonne (volo e compagnia, tratta e dati, frecce). */
@media (min-width: 1181px) {
  .volo-scelto {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) auto;
    column-gap: clamp(24px, 3.5vw, 48px);
    align-items: center;
    width: auto;
    margin-top: 14px;
    padding: 16px 20px;
    background: rgb(255 255 255 / 0.04);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .volo-scelto__testa { grid-column: 1; grid-row: 1; justify-content: flex-start; }
  .volo-scelto__sigla { grid-column: 1; grid-row: 2; }
  .volo-scelto__va { grid-column: 1; grid-row: 3; }
  .volo-scelto .tratta { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-top: 0; }
  .volo-scelto__dati { grid-column: 2; grid-row: 3; margin-top: 8px; }
  .volo-scelto__piede { grid-column: 3; grid-row: 1 / span 3; flex-direction: column; gap: 2px; margin-top: 0; padding: 0 0 0 20px; border-top: 0; border-left: 1px dashed var(--m-line); }
}
/* a mappa ingrandita il resto del mondo non deve uscire dal riquadro della mappa (finirebbe sotto la scheda del volo) */
.mappa-live.is-zoom .mappa-live__svg { overflow: hidden; }
