/* The home (pagina vera, fase 5): «Il mondo da casa tua», the globe page the owner chose, in the brand «Notte»: the
   world at night from a plane window. From the prototype's sheet (landing-5/marchio/notte/mondo.css, after the polish
   rounds) with: the site's real sign-up (E's form, its consent and fine print, the Worker's answers) drawn in this
   brand; the site's footer (_piede-e) and skip link; the page without a script (D10); the two versions of the lower
   page chosen by ONE attribute of <html>, data-sotto="notte" | "carta" (D9). This page does not load e.css.
   Two brand colours only: Mezzanotte (the page) and Alba (the one warm light: routes, prices, what a finger touches).
   Everything else is a neutral of the night (surfaces one tone lighter, white ink, a blue-grey for secondary text).
   Renamed from the prototype because the name meets a class of E's form: .pill (the city pills) → .citta-pill. */
@font-face {
  font-family: "Inter";
  src: url("/assets/e/comune/font/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root, [data-tema="notte"] {
  /* the two brand colours */
  --mezzanotte: #0A0F1F;                       /* the page, and the ink on Alba */
  --alba: #FFA63D; --alba-rgb: 255, 166, 61;   /* the one warm light */
  --alba-chiara: #FFBE6B;                      /* Alba under the finger (hover) */
  --alba-scura: #F08F1F;                       /* Alba pressed */
  /* neutrals of the night */
  --pagina: #0A0F1F; --carta: #141B32; --carta-2: #1C2542; --fondo: #060913;
  --inchiostro: #FFFFFF; --inchiostro-2: #A9B4CF;
  --barra: #FFFFFF; --barra-testo: #0A0F1F;
  --azione: #FFA63D; --azione-scura: #FFBE6B; --azione-vivo: #FFA63D; --azione-tenue: rgba(255, 166, 61, .14); --azione-testo: #0A0F1F;
  --risalto: #FFA63D; --risalto-testo: #0A0F1F;
  --cielo-1: #0A0F1F; --cielo-2: #0E1530; --cielo-3: #121B3A;
  --mare: #141B32; --terra: #26314F; --rotta: #FFA63D;
  --bordo: #222B49; --bordo-forte: #5A6894;
  --ombra-rgb: 0, 2, 10;
  --ombra-p: 0 0 0 1px rgba(255, 255, 255, .06), 0 6px 18px rgba(var(--ombra-rgb), .45);
  --ombra-su: 0 0 0 1px rgba(255, 255, 255, .07), 0 18px 40px rgba(var(--ombra-rgb), .6);
  --molla: cubic-bezier(.22, 1, .36, 1);
  --foglio: cubic-bezier(.32, .72, 0, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* the globe */
  --globo-mare: #040817; --globo-terra: #34488C; --globo-costa: rgba(255, 166, 61, .6); --globo-rotta: #FFA63D;
  /* the three colours the private copy of the module now reads (round «ritocchi»): a softer grid and sheen, a warm rim */
  --globo-reticolo: rgba(190, 205, 255, .16); --globo-lucentezza: rgba(200, 215, 255, .2); --globo-bordo: rgba(255, 196, 128, .55);
  --globo-punto: #FFFFFF; --globo-partenza: #FFFFFF; --globo-ombra: rgba(0, 2, 10, .5);
  --globo-pillola: rgba(10, 15, 31, .88); --globo-pillola-testo: #FFA63D;
  --globo-inchiostro: #FFFFFF; --globo-carta: #0A0F1F;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--inchiostro); font-family: var(--font); font-size: 1rem; line-height: 1.5;
  font-weight: 450; -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative;
  background: var(--pagina);
}
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.1; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
a { color: var(--alba); }
:focus-visible { outline: 3px solid var(--alba); outline-offset: 3px; }
.simboli { position: absolute; width: 0; height: 0; overflow: hidden; }
.solo-lettori { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icona { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.accento { color: var(--alba); }
[hidden] { display: none !important; }
.salta {
  position: absolute; left: 12px; top: 8px; z-index: 30; padding: 12px 18px; border-radius: 999px; background: var(--alba);
  color: var(--mezzanotte); font-weight: 800; text-decoration: none; transform: translateY(-160%);
}
.salta:focus { transform: none; }
.altre:focus { outline: none; }
.occhiello { font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--inchiostro-2); }

/* ---------------------------------------------------------------- the sky behind the first screen */
.cielo {
  position: absolute; inset: 0 0 auto 0; height: 1000px; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1.2px 1.2px at 12% 9%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1px 1px at 31% 22%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(1.4px 1.4px at 78% 6%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1px 1px at 91% 19%, rgba(255, 255, 255, .4), transparent 60%),
    radial-gradient(1px 1px at 58% 13%, rgba(255, 255, 255, .35), transparent 60%),
    radial-gradient(1.2px 1.2px at 6% 34%, rgba(255, 255, 255, .4), transparent 60%),
    radial-gradient(1px 1px at 94% 41%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(90% 38% at 50% 78%, rgba(var(--alba-rgb), .16) 0%, transparent 70%),
    radial-gradient(130% 60% at 50% 0%, #16204A 0%, transparent 70%),
    linear-gradient(180deg, var(--cielo-1) 0%, var(--cielo-2) 45%, var(--cielo-3) 72%, var(--pagina) 100%);
}

/* ---------------------------------------------------------------- the globe at night (colours only) */
.palco .mm-tela { filter: contrast(1.1) drop-shadow(0 0 2px rgba(var(--alba-rgb), .55)) drop-shadow(0 0 22px rgba(var(--alba-rgb), .32)); }
.palco .mm-prezzo { box-shadow: inset 0 0 0 1px rgba(var(--alba-rgb), .55), 0 2px 10px rgba(0, 2, 10, .6); }
.palco .mm-punto--scelto .mm-prezzo { background: var(--alba); color: var(--mezzanotte); box-shadow: 0 0 0 2px var(--mezzanotte), 0 0 22px rgba(var(--alba-rgb), .75); }
.palco .mm-pallino { box-shadow: 0 0 0 2.5px var(--alba), 0 0 10px rgba(var(--alba-rgb), .8); }
.palco .mm-punto--senza .mm-pallino { box-shadow: 0 0 0 2px var(--alba), 0 0 8px rgba(var(--alba-rgb), .7); }
.palco .mm-punto--scelto .mm-pallino { box-shadow: 0 0 0 3px #FFFFFF, 0 0 16px rgba(var(--alba-rgb), .9); }
.palco .mm-partenza-punto { box-shadow: 0 0 14px rgba(255, 255, 255, .7); }
.palco .mm-partenza-nome { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 3px 12px rgba(0, 2, 10, .6); }
.palco .mm-punto:focus-visible::after { border-color: var(--alba); }
/* a place whose price cannot show (at the rim) is a small amber dot, not a grey mark */
.palco .mm-punto:not(.mm-punto--scelto):has(.mm-prezzo--via) .mm-pallino { transform: scale(.6); background: var(--alba); box-shadow: 0 0 6px rgba(var(--alba-rgb), .6); }

/* ---------------------------------------------------------------- top bar */
.testa {
  position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) 16px 0;
}
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--barra); text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 1rem; min-height: 44px; }
.logo-segno { width: 30px; height: 30px; color: var(--alba); }
.testa-lista {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: #FFFFFF; font-weight: 750; font-size: .875rem; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ---------------------------------------------------------------- the first screen */
.mondo { position: relative; padding: 6px 0 0; }
.mondo-testo { padding: 0 16px; text-align: center; position: relative; z-index: 3; }
.stato {
  display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); font-size: .8125rem; font-weight: 650; color: #D3DAEA; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.ping { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--alba); }
/* the ring grows and fades with transform and opacity only (no shadow repainted at every frame) */
.ping::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(var(--alba-rgb), .6); animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(3); opacity: 0; } }
h1 { margin-top: 8px; font-size: clamp(2.3rem, 10.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; color: #FFFFFF; }
.citta {
  display: inline-flex; align-items: center; gap: .12em; margin-top: 4px; padding: .02em .28em .06em .38em; border: 0;
  border-radius: 999px; background: var(--alba); color: var(--mezzanotte); font: inherit; letter-spacing: inherit;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 28px rgba(var(--alba-rgb), .45), 0 8px 22px rgba(var(--ombra-rgb), .5); transition: transform .2s var(--molla); min-height: 44px;
}
/* the chevron: the button holds only the city's name (it is the generator's [[citta|…]] element), so it is drawn here */
.citta::after {
  content: ""; flex: none; width: .62em; height: .62em; opacity: .9; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.citta:disabled { cursor: default; }
.citta:hover { background: var(--alba-chiara); }
.citta:active { transform: scale(.96); background: var(--alba-scura); }
.sotto { margin-top: 10px; font-size: 1rem; color: var(--inchiostro-2); }
.sotto b { color: var(--alba); font-weight: 750; }
.sotto-gesto { display: block; }

.palco {   /* never wider than the screen; on a short screen the globe gets smaller so the button stays in the first screen */
  position: relative; margin: 6px 0 0; touch-action: pan-y;
  height: clamp(240px, calc(100vh - 430px), 372px); height: clamp(240px, calc(100svh - 430px), 372px);
}
.globo { position: absolute; inset: 0; }
.alone {
  position: absolute; left: 50%; top: 50%; width: min(400px, 100%); height: auto; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 110, 210, .38) 0%, rgba(60, 90, 190, .22) 47%, rgba(var(--alba-rgb), .10) 57%, transparent 70%);
  pointer-events: none;
}
.bolla {
  position: absolute; left: 0; top: 0; z-index: 4; width: 76px; height: 76px; margin: -100px 0 0 -38px; padding: 0;
  border: 3px solid var(--alba); border-radius: 50%; background: var(--carta); overflow: visible;
  box-shadow: 0 0 0 3px rgba(10, 15, 31, .9), 0 0 26px 4px rgba(var(--alba-rgb), .55), 0 10px 24px rgba(var(--ombra-rgb), .6); opacity: 0; transform: translate(-200px, -200px) scale(.4);
  transition: opacity .3s ease-out; pointer-events: none;
}
.bolla img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.bolla { margin: -38px 0 0 -38px; }
@media (max-width: 899px) { .bolla { width: 66px; height: 66px; margin: -33px 0 0 -33px; } }
.gambo { /* the stem from the dot to the bubble; it sits in the globe's layer, under the price pills */
  position: absolute; left: 0; top: 0; z-index: auto; width: 40px; height: 3px; margin-top: -1.5px; border-radius: 2px;
  background: var(--alba); box-shadow: 0 0 8px rgba(var(--alba-rgb), .6); transform-origin: 0 50%; opacity: 0; pointer-events: none; transition: opacity .3s ease-out;
}
.bolla--su, .gambo--su { opacity: 1; }
.bolla--su { pointer-events: auto; }
.gesto {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  background: rgba(10, 15, 31, .78); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); font-size: .8125rem; font-weight: 700; pointer-events: none;
  animation: dondola 2.4s ease-in-out infinite; transition: opacity .4s;
}
.gesto--via { opacity: 0; visibility: hidden; animation-play-state: paused; transition: opacity .4s, visibility 0s .4s; }
/* «Prezzi di esempio»: fixed on the stage, always in view with the globe; and the round pause control */
.palco-esempio {
  position: absolute; left: 10px; top: 4px; z-index: 3; padding: 4px 10px; border-radius: 999px; pointer-events: none;
  background: rgba(10, 15, 31, .8); color: #D3DAEA; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  font-size: .75rem; font-weight: 750; letter-spacing: .01em; white-space: nowrap;
}
.pausa {
  position: absolute; right: 6px; bottom: 4px; z-index: 5; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(10, 15, 31, .8); color: var(--alba);
  box-shadow: inset 0 0 0 1.5px rgba(var(--alba-rgb), .55), 0 4px 14px rgba(var(--ombra-rgb), .5);
}
.pausa .icona { width: 18px; height: 18px; grid-area: 1 / 1; }
.pausa .icona-gioca, .fermo .pausa .icona-pausa { display: none; }
.fermo .pausa .icona-gioca { display: block; }
.pausa:hover { background: rgba(28, 37, 66, .95); }
.pausa:active { transform: scale(.94); }
/* once stopped, nothing on the first screen keeps moving */
.fermo .ping::after, .fermo .mm-partenza-punto::after, .fermo .gesto { animation: none; }
@keyframes dondola { 0%, 100% { transform: translateX(calc(-50% - 8px)); } 50% { transform: translateX(calc(-50% + 8px)); } }

.mondo-sotto { padding: 0 16px; position: relative; z-index: 3; }
.nastro {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px; margin: 0 auto; padding: 8px 10px 8px 8px; border: 0;
  border-radius: 22px; background: rgba(20, 27, 50, .92); text-align: left; box-shadow: var(--ombra-su); min-height: 80px;
  transition: transform .2s var(--molla);
}
.nastro:hover { background: var(--carta-2); }
.nastro:active { transform: scale(.98); }
.nastro-foto { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; flex: none; background: var(--carta-2); }
.nastro-testo { flex: 1; min-width: 0; display: grid; gap: 2px; }
/* until the first deal is there the strip is an empty glass bar, not «Milano → …» */
.nastro:not(.nastro--pieno) > * { visibility: hidden; }
.nastro-rotta { font-weight: 800; font-size: 1.0625rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the route in three pieces (ritocchi-casa, C2): when the line is short both names shorten with «…», each in proportion
   to its length, so the departure and the destination both keep their first letters; the arrow never shortens */
.nastro-rotta { display: flex; min-width: 0; }
.nastro-da, .nastro-a { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nastro-freccia { flex: none; white-space: pre; }
.nastro-solito { display: flex; min-width: 0; font-size: .8125rem; color: var(--inchiostro-2); white-space: nowrap; }
.nastro-abituale { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nastro-sconto { flex: none; white-space: pre; }
.nastro-solito--a-capo { flex-wrap: wrap; column-gap: .4em; white-space: normal; line-height: 1.3; }
.nastro-prezzo {
  flex: none; display: grid; justify-items: center; padding: 6px 12px; border-radius: 16px; background: var(--alba); color: var(--mezzanotte);
  box-shadow: 0 0 22px rgba(var(--alba-rgb), .35);
}
.nastro-prezzo b { font-size: 1.375rem; font-weight: 850; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.nastro-prezzo small { font-size: .6875rem; font-weight: 750; color: var(--mezzanotte); }
.nastro--cambia .nastro-foto, .nastro--cambia .nastro-testo, .nastro--cambia .nastro-prezzo { animation: entra .45s var(--molla); }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.puntini { display: flex; justify-content: center; gap: 6px; margin: 10px 0 12px; }
.puntini i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .24); transition: width .3s var(--molla), background-color .3s; }
.puntini i.su { width: 20px; background: var(--alba); box-shadow: 0 0 10px rgba(var(--alba-rgb), .7); }

.bottone {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0;
  border-radius: 999px; background: var(--azione); color: var(--azione-testo); font-weight: 800; text-decoration: none;
  letter-spacing: -.01em; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 0 32px rgba(var(--alba-rgb), .4), 0 10px 24px rgba(var(--ombra-rgb), .5); transition: transform .2s var(--molla), background-color .2s;
}
.bottone:hover { background: var(--alba-chiara); }
.bottone:active { transform: scale(.97); background: var(--alba-scura); }
.bottone--grande { min-height: 56px; font-size: 1.0625rem; width: 100%; max-width: 520px; }
.cta-alto { display: flex; margin: 0 auto; }

.cta-fissa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10, 15, 31, 0), rgba(10, 15, 31, .94) 40%);
  transform: translateY(110%); transition: transform .35s var(--molla); display: flex; justify-content: center;
}
.cta-fissa--su { transform: none; }

/* ---------------------------------------------------------------- small phones (320 and 360 wide, short screens) */
@media (max-width: 374px) {
  .testa { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .logo { font-size: .9375rem; gap: 6px; white-space: nowrap; }
  .logo-segno { width: 26px; height: 26px; }
  .testa-lista { padding: 0 12px; font-size: .8125rem; white-space: nowrap; }
  .nastro { gap: 10px; padding: 6px 8px 6px 6px; min-height: 72px; }
  .nastro-foto { width: 56px; height: 56px; border-radius: 14px; }
  .nastro-rotta { font-size: 1rem; }
  .nastro-prezzo { padding: 5px 9px; }
  .nastro-prezzo b { font-size: 1.1875rem; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .mondo { padding-top: 2px; }
  .stato { min-height: 26px; padding: 2px 10px; font-size: .75rem; }
  h1 { margin-top: 6px; font-size: clamp(2.1rem, 9.6vw, 4.6rem); }
  .citta { min-height: 44px; }
  .sotto { margin-top: 6px; font-size: .9375rem; line-height: 1.4; }
  .palco { margin-top: 4px; height: clamp(230px, calc(100vh - 380px), 372px); height: clamp(230px, calc(100svh - 380px), 372px); }
  .nastro { min-height: 68px; }
  .puntini { margin: 8px 0; }
  .bottone--grande { min-height: 52px; }
}
@media (max-width: 374px) {
  .sotto { font-size: .875rem; }
  .bottone--grande { font-size: .9375rem; padding: 0 14px; gap: 6px; }
  .nastro-solito { font-size: .78125rem; }
}
@media (max-width: 899px) and (max-height: 660px) {
  .bolla { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .palco { height: clamp(210px, calc(100vh - 376px), 372px); height: clamp(210px, calc(100svh - 376px), 372px); }
}

/* ---------------------------------------------------------------- below: the slim strip, postcards, sign-up */
.striscia { margin: 36px 16px 0; padding: 18px 16px; border-radius: 24px; background: var(--carta); color: #FFFFFF; max-width: 1100px; box-shadow: var(--ombra-p); }
.striscia .occhiello { color: var(--alba); }
.passi { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.passi li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; line-height: 1.4; color: #C9D1E3; }
.passi b { color: #FFFFFF; }
.passo-n {
  flex: none; width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center;
  background: var(--risalto); color: var(--risalto-testo); font-weight: 850; font-size: .9375rem;
}

.altre { margin: 40px 0 0; }
.altre h2, .altre-sotto { padding: 0 16px; }
.altre h2 { font-size: 1.625rem; color: #FFFFFF; }
.altre-sotto { margin-top: 4px; color: var(--inchiostro-2); font-size: .9375rem; }
.cartoline {
  list-style: none; margin: 14px 0 0; padding: 4px 16px 16px; display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.cartoline::-webkit-scrollbar { display: none; }
.cartoline li { flex: none; width: 176px; scroll-snap-align: start; }
.cartolina {
  display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--carta);
  box-shadow: var(--ombra-p); text-align: left;
}
.cartolina img { width: 100%; height: 132px; object-fit: cover; background: var(--carta-2); }
.cartolina-corpo { display: grid; gap: 2px; padding: 10px 12px 12px; }
.cartolina-nome { font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.cartolina-prezzo { font-size: .875rem; color: var(--inchiostro-2); }
.cartolina-prezzo b { color: var(--alba); font-size: 1.0625rem; font-weight: 850; }

.iscriviti { margin: 36px 16px 0; scroll-margin-top: 16px; }
.iscriviti-scheda {
  position: relative; max-width: 620px; margin: 0 auto; padding: 26px 20px 22px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(90% 70% at 100% 0%, rgba(var(--alba-rgb), .22) 0%, transparent 60%), linear-gradient(160deg, #1A2346, var(--carta) 60%); box-shadow: var(--ombra-su);
}
.iscriviti-aereo { position: absolute; right: 18px; top: 18px; width: 34px; height: 34px; color: var(--alba); transform: rotate(-20deg); opacity: .9; }
.iscriviti h2 { font-size: 1.625rem; color: #FFFFFF; padding-right: 40px; }
.iscriviti-sotto { margin-top: 8px; color: var(--inchiostro-2); }
.fiducia, .domande { margin: 40px 16px 0; max-width: 720px; }
.fiducia h2, .domande h2 { font-size: 1.5rem; color: #FFFFFF; margin-bottom: 12px; }
.fiducia-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fiducia-lista li { padding: 14px 16px; border-radius: 18px; background: var(--carta); box-shadow: var(--ombra-p); color: var(--inchiostro-2); }
.fiducia-lista b { color: var(--inchiostro); }
.domande details { border-bottom: 1px solid var(--bordo-forte); }
.domande summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; cursor: pointer;
  font-weight: 750; list-style: none;
}
.domande summary::-webkit-details-marker { display: none; }
.domande summary .icona { transition: transform .25s var(--molla); color: var(--inchiostro-2); }
.domande details[open] summary .icona { transform: rotate(180deg); }
.domande details p { padding: 0 0 16px; color: var(--inchiostro-2); }

/* the bottom band: the prototype's footer look around the site's footer (_piede-e: the six languages, the legal lines),
   then the licence line and the photo credits */
.fondo { margin: 48px 0 0; padding: 28px 16px 110px; background: var(--fondo); color: var(--inchiostro-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); font-size: .875rem; display: grid; gap: 10px; }
.fondo a { color: #FFFFFF; }
.logo--piede { color: #FFFFFF; }
.logo--piede .logo-segno { color: var(--alba); }
.piede-sito { display: grid; gap: 10px; }
.lingue ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.lingue li:not(:last-child)::after { content: "·"; margin: 0 .35em; }
.lingue a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.lingue a[aria-current] { color: var(--alba); font-weight: 750; }
.piede-legale { display: grid; gap: 6px; overflow-wrap: anywhere; }
.piede-legale a { display: inline-flex; align-items: center; min-height: 44px; }
.fondo-nota { font-size: .8125rem; }
.crediti li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.crediti summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: #FFFFFF; font-weight: 650; }
.crediti ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 0; font-size: .8125rem; }

/* ---------------------------------------------------------------- sheets */
dialog.foglio {
  position: fixed; inset: auto 0 0 0; width: 100%; max-width: 560px; max-height: 92vh; margin: 0 auto; padding: 0; border: 0;
  border-radius: 28px 28px 0 0; background: var(--carta); color: var(--inchiostro); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 -10px 50px rgba(0, 2, 10, .7);
}
dialog.foglio[open] { animation: sale .42s var(--foglio); }
dialog.foglio:focus { outline: none; }
/* the close X stays at the top while the sheet scrolls, and the main button stays at its bottom */
.foglio-chiudi { position: sticky; top: 0; height: 0; z-index: 3; }
.foglio-chiudi .tondo { top: 14px; right: 14px; }
#meta-cta { position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 2; margin-top: 4px; }
.foglio--citta .foglio-testa { position: sticky; top: -18px; z-index: 2; margin: -18px -16px 0; padding: 18px 16px 8px; background: var(--carta); }
dialog.foglio::backdrop { background: rgba(3, 5, 12, .7); }
@keyframes sale { from { transform: translateY(100%); } to { transform: none; } }
.foglio-foto { position: relative; height: 260px; background: var(--carta-2); }
@media (max-height: 760px) { .foglio-foto { height: 210px; } }
.foglio-foto img { width: 100%; height: 100%; object-fit: cover; }
.tondo {
  position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(10, 15, 31, .72); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tondo:hover { background: rgba(10, 15, 31, .9); }
.tondo--chiaro { position: static; background: var(--carta-2); color: var(--inchiostro); }
.tondo--chiaro:hover { background: #26304F; }
.foglio-sconto {
  position: absolute; left: 14px; bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--risalto); color: var(--risalto-testo);
  font-weight: 850; font-size: 1.125rem; letter-spacing: -.02em;
}
.foglio-corpo { padding: 18px 20px max(22px, env(safe-area-inset-bottom)); display: grid; gap: 6px; }
.foglio-rotta { font-size: .8125rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--inchiostro-2); }
.foglio-corpo h2 { font-size: 2rem; color: #FFFFFF; }
.foglio-frase { color: var(--inchiostro-2); }
.foglio-prezzo { margin-top: 6px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.foglio-prezzo b { font-size: 2.25rem; font-weight: 850; letter-spacing: -.04em; color: var(--alba); text-shadow: 0 0 24px rgba(var(--alba-rgb), .35); }
.esempio { font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--bordo-forte); color: #D3DAEA; }
.foglio-solito { width: 100%; color: var(--inchiostro-2); font-size: .9375rem; }
.foglio-info { font-size: .9375rem; color: var(--inchiostro-2); }
.foglio-corpo .occhiello { margin-top: 10px; }
.date { list-style: none; margin: 4px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.date li { padding: 8px 12px; border-radius: 14px; background: var(--carta-2); font-size: .875rem; font-weight: 650; }
.date li b { color: var(--alba); margin-left: 6px; }
.foglio-credito { margin-top: 8px; font-size: .75rem; color: var(--inchiostro-2); }
.foglio--citta { padding: 18px 16px max(22px, env(safe-area-inset-bottom)) !important; }
.foglio-testa { display: flex; align-items: center; justify-content: space-between; }
.foglio-testa h2 { font-size: 1.75rem; color: #FFFFFF; }
.foglio-sotto { color: var(--inchiostro-2); margin: 4px 0 14px; }
.paesi { display: grid; gap: 14px; }
.paese-nome { font-size: .8125rem; font-weight: 750; color: var(--inchiostro-2); margin-bottom: 6px; }
.paese-citta { display: flex; flex-wrap: wrap; gap: 8px; }
.citta-pill {
  min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--bordo-forte); background: var(--carta-2);
  font-weight: 750; font-size: 1rem; color: #FFFFFF;
}
.citta-pill:hover { border-color: var(--alba); }
.citta-pill[aria-pressed="true"] { background: var(--alba); color: var(--mezzanotte); border-color: var(--alba); }

/* ---------------------------------------------------------------- wide screens */
@media (min-width: 900px) {
  .testa { max-width: 1600px; margin: 0 auto; padding: 18px clamp(32px, 4vw, 72px) 0; }
  .logo { font-size: 1.125rem; }
  /* the sky is taller than any first screen and fades into the page instead of ending on a straight edge */
  .cielo {
    height: max(1100px, calc(100vh + 260px));
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent);
  }
  .mondo {
    max-width: 1600px; margin: 0 auto; padding: 0 clamp(32px, 4vw, 72px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto; column-gap: clamp(24px, 3vw, 56px); align-items: center; min-height: calc(100vh - 80px);
  }
  .mondo-testo { grid-column: 1; grid-row: 1; text-align: left; padding: 0; align-self: end; }
  .mondo-sotto { grid-column: 1; grid-row: 2; padding: 0; align-self: start; margin-top: 26px; }
  /* the stage is as tall as it is wide (no empty band under the globe), up to the height of the screen */
  .palco { grid-column: 2; grid-row: 1 / span 2; width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: calc(100vh - 100px); margin: 0; align-self: center; }
  .alone { width: 104%; }
  h1 { font-size: clamp(3.6rem, 6.4vw, 6.8rem); }
  .palco-esempio { left: 4%; top: 4%; font-size: .8125rem; padding: 5px 12px; }
  .pausa { right: 4%; bottom: 4%; }
  /* the left column is only ~380 px at 1024: the strip grows with the screen, so the route keeps its room there
     and reaches its full size (photo 80, route 1.375rem, price 1.75rem) by ~1440 */
  .nastro { max-width: 560px; min-height: clamp(80px, 7vw - 4px, 96px); }
  .nastro-foto { width: clamp(64px, 6vw - 6px, 80px); height: clamp(64px, 6vw - 6px, 80px); }
  .nastro-rotta { font-size: clamp(1.0625rem, .2rem + 1.4vw, 1.375rem); }
  .nastro-solito { font-size: clamp(.8125rem, .35rem + .6vw, .9375rem); }
  .nastro-prezzo b { font-size: clamp(1.375rem, .3rem + 1.75vw, 1.75rem); }
  .bottone--grande { max-width: 560px; }
  .sotto { font-size: 1.25rem; margin-top: 16px; }
  .nastro, .bottone--grande, .cta-alto { margin: 0; }
  .puntini { justify-content: flex-start; padding-left: 12px; }
  .striscia { margin: 40px auto 0; padding: 22px 28px; display: flex; gap: 32px; align-items: center; }
  .striscia .occhiello { flex: none; }
  .passi { grid-template-columns: repeat(3, 1fr); margin: 0; gap: 24px; }
  .altre { max-width: 1600px; margin: 56px auto 0; padding: 0 clamp(16px, 4vw, 72px); }
  /* with a mouse a sideways row cannot be scrolled: on a wide screen every deal is in view, in a grid */
  .cartoline { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; overflow: visible; padding: 4px 0 16px; }
  .cartoline li { width: auto; }
  .cartolina { height: 100%; transition: transform .2s var(--molla), box-shadow .2s; }
  .cartolina:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(var(--alba-rgb), .5), 0 14px 30px rgba(var(--ombra-rgb), .55); }
  .cartolina img { height: 160px; }
  .iscriviti { margin-top: 56px; }
  .fiducia, .domande { margin-left: auto; margin-right: auto; }
  .fondo { padding: 32px max(32px, calc(50vw - 600px)) 40px; }
  .cta-fissa { display: none; }
  dialog.foglio { inset: 0; margin: auto; border-radius: 28px; max-height: 88vh; }
  dialog.foglio[open] { animation: appare .3s var(--molla); }
  @keyframes appare { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
}
/* between 900 and 1000 px the 5/7 split leaves the strip less room than a phone has: give the words a little more */
@media (min-width: 900px) and (max-width: 999px) {
  .mondo { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ping::after, .gesto { animation: none; }
  .pausa { display: none; }   /* nothing moves: nothing to pause */
  dialog.foglio[open], .nastro--cambia .nastro-foto, .nastro--cambia .nastro-testo, .nastro--cambia .nastro-prezzo { animation: none; }
  .bolla, .cta-fissa, .puntini i { transition: none; }
}

/* ---------------------------------------------------------------- «notte sopra, carta sotto» (data-sotto="carta")
   The first screen stays the night; from «Come funziona» down the page is warm paper with midnight ink, easier in
   sunlight and lighter for reading. Alba appears only as blocks (buttons, numbers, price tags) with midnight on
   them, never as text on paper. With data-sotto="notte" (the model's default) the whole page stays midnight. */
html[data-sotto="carta"] {
  --carta-pagina: #F5EFE3; --carta-superficie: #FFFCF6; --carta-inchiostro: #0A0F1F; --carta-inchiostro-2: #4A5266;
  --carta-filo: #E2D9C8; --carta-bordo: #6B7389;
}
[data-sotto="carta"] .sotto-carta {
  margin-top: 40px; padding: 36px 0 56px; border-radius: 32px 32px 0 0; background: var(--carta-pagina); color: var(--carta-inchiostro);
  box-shadow: 0 -18px 50px rgba(0, 2, 10, .35);
}
[data-sotto="carta"] .sotto-carta { color-scheme: light; }   /* the form's own controls (the consent box) drawn for paper */
[data-sotto="carta"] .sotto-carta :focus-visible { outline-color: var(--carta-inchiostro); }
[data-sotto="carta"] .fondo { margin-top: 0; }
[data-sotto="carta"] .striscia { margin-top: 0; background: var(--carta-superficie); color: var(--carta-inchiostro); box-shadow: 0 0 0 1px var(--carta-filo), 0 8px 24px rgba(60, 45, 20, .08); }
[data-sotto="carta"] .striscia .occhiello { color: var(--carta-inchiostro); }
[data-sotto="carta"] .passi li { color: var(--carta-inchiostro-2); }
[data-sotto="carta"] .passi b { color: var(--carta-inchiostro); }
[data-sotto="carta"] .altre h2 { color: var(--carta-inchiostro); }
[data-sotto="carta"] .altre-sotto { color: var(--carta-inchiostro-2); }
[data-sotto="carta"] .cartolina { background: var(--carta-superficie); color: var(--carta-inchiostro); box-shadow: 0 0 0 1px var(--carta-filo), 0 6px 18px rgba(60, 45, 20, .08); }
[data-sotto="carta"] .cartolina img { background: var(--carta-filo); }
[data-sotto="carta"] .cartolina-prezzo { color: var(--carta-inchiostro-2); }
[data-sotto="carta"] .cartolina-prezzo b { display: inline-block; padding: 0 7px; border-radius: 8px; background: var(--alba); color: var(--mezzanotte); }
[data-sotto="carta"] .iscriviti-scheda { background: var(--carta-superficie); color: var(--carta-inchiostro); box-shadow: 0 0 0 1px var(--carta-filo), 0 14px 40px rgba(60, 45, 20, .12); }
[data-sotto="carta"] .iscriviti-aereo { color: var(--carta-inchiostro); }
[data-sotto="carta"] .sotto-carta .bottone { box-shadow: inset 0 0 0 1px rgba(10, 15, 31, .1), 0 8px 20px rgba(120, 70, 10, .2); }
[data-sotto="carta"] .iscriviti h2 { color: var(--carta-inchiostro); }
[data-sotto="carta"] .iscriviti h2 .accento { padding: 0 .22em; border-radius: .3em; background: var(--alba); color: var(--mezzanotte); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
[data-sotto="carta"] .iscriviti-sotto { color: var(--carta-inchiostro-2); }
[data-sotto="carta"] .fiducia h2, [data-sotto="carta"] .domande h2 { color: var(--carta-inchiostro); }
[data-sotto="carta"] .fiducia-lista li { background: var(--carta-superficie); color: var(--carta-inchiostro-2); box-shadow: 0 0 0 1px var(--carta-filo); }
[data-sotto="carta"] .fiducia-lista b { color: var(--carta-inchiostro); }
[data-sotto="carta"] .domande details { border-bottom-color: #CFC4AE; }
[data-sotto="carta"] .domande summary { color: var(--carta-inchiostro); }
[data-sotto="carta"] .domande summary .icona, [data-sotto="carta"] .domande details p { color: var(--carta-inchiostro-2); }
@media (min-width: 900px) {
  [data-sotto="carta"] .sotto-carta { margin-top: 56px; padding-top: 48px; border-radius: 40px 40px 0 0; }
  [data-sotto="carta"] .striscia { margin-top: 0; }
  [data-sotto="carta"] .cartolina:hover { box-shadow: 0 0 0 2px var(--alba), 0 14px 30px rgba(60, 45, 20, .16); }
}

/* ---------------------------------------------------------------- the site's sign-up (E's form, D3), in this brand
   The form is the generator's (_iscrizione-e: e-mail, «Partenza: … · Cambia», the versioned consent, the fine print,
   the bubble of every answer; _iscrizione-e-senza-js without a script). Its rules are e.css's (l.315-361, 499-505:
   .modulino*, .m-sugg*, .hp, [data-doi], .pill, .pill--azione, .solo-lettori), drawn here in Notte: fields as the
   prototype's, the button as the prototype's big amber button, small text in the night's blue-grey. */
.iscriviti .modulino { margin-top: 18px; display: grid; gap: 12px; text-align: left; }
.modulino, .modulino-campo { grid-template-columns: minmax(0, 1fr); }
.modulino-campo { display: grid; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--inchiostro-2); }
.modulino-campo input {
  width: 100%; min-width: 0; min-height: 54px; padding: 0 16px; border: 2px solid var(--bordo-forte); border-radius: 16px; background: var(--mezzanotte);
  font-size: 1.0625rem; font-weight: 600; color: var(--inchiostro); box-shadow: none; -webkit-appearance: none; appearance: none;
}
.modulino-campo input::placeholder { color: #8C97B4; opacity: 1; }
.modulino-campo input:focus { outline: none; border-color: var(--alba); }
.modulino-campo input:focus-visible { outline: none; }
.modulino-campo input[aria-invalid="true"] { border-color: var(--alba); }
.modulino-partenza { display: flex; flex-wrap: nowrap; align-items: center; column-gap: .35rem; min-height: 44px; margin-top: -4px; font-size: .875rem; color: var(--inchiostro-2); }
.modulino-partenza b { font-weight: 750; color: var(--inchiostro); }
/* the departure is never hidden (ritocchi-casa, M1): a name that does not fit beside «· Cambia» (a long city on a small
   phone, large text) goes on a second line inside its own span, «Cambia» stays beside it */
.modulino-partenza [data-partenza] { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.modulino-partenza .modulino-punto, .modulino-cambia { flex: none; white-space: nowrap; }
.modulino-cambia { min-height: 44px; padding: 0 .2rem; margin: 0 0 0 -.2rem; border: 0; background: none; color: var(--alba); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.modulino-altra { display: grid; gap: .1rem; }
.modulino-ok { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--inchiostro-2); min-height: 44px; padding-top: 4px; }
.modulino-ok input { width: 22px; height: 22px; margin: 0; accent-color: var(--azione); flex: none; }
.modulino-consenso { font-size: .8125rem; }
.modulino-consenso label { line-height: 1.45; overflow-wrap: anywhere; }
.modulino-ok a, .modulino-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.modulino-nota:empty { display: none; }
.modulino-nota, .modulino-aiuto { margin-top: .3rem; font-size: .8125rem; color: var(--inchiostro-2); }
.modulino-fine { font-size: .75rem; line-height: 1.45; color: var(--inchiostro-2); overflow-wrap: anywhere; }
.modulino-esito:empty { display: none; }
.modulino-esito { padding: 12px 14px; border-radius: 16px; background: rgba(var(--alba-rgb), .14); color: var(--inchiostro); font-size: .9375rem; overflow-wrap: anywhere; box-shadow: inset 0 0 0 1px rgba(var(--alba-rgb), .35); }
.modulino-esito--errore { background: #2A1F18; box-shadow: inset 4px 0 0 var(--alba), inset 0 0 0 1px rgba(var(--alba-rgb), .45); font-weight: 650; }
.modulino-esito-riga { display: block; }
.modulino-esito-riga:first-child { font-weight: 750; }
.modulino-esito-riga + .modulino-esito-riga { margin-top: .25rem; font-size: .8125rem; color: var(--inchiostro-2); }
.modulino-usa { border: 0; padding: 0; background: none; color: var(--alba); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.m-sugg { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: 8px; }
.m-sugg button { width: 100%; display: flex; align-items: center; gap: .8rem; min-height: 52px; padding: 6px 1rem 6px 6px; border-radius: 18px; border: 0; background: var(--carta-2); color: var(--inchiostro); box-shadow: var(--ombra-p); text-align: left; transition: transform .18s var(--molla); }
.m-sugg button:active { transform: scale(.98); }
.m-sugg .m-sugg-segno { width: 2.5rem; height: 2.5rem; border-radius: 12px; flex: none; background: var(--mezzanotte); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--alba); }
.m-sugg-testi { display: flex; flex-direction: column; min-width: 0; }
.m-sugg-testi b { font-weight: 750; }
.m-sugg-testi span { font-size: .8125rem; color: var(--inchiostro-2); }
/* the button: the prototype's big amber button, with the site's words */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; text-decoration: none; -webkit-user-select: none; user-select: none; }
.pill--azione {
  min-height: 56px; padding: 0 22px; border-radius: 999px; background: var(--azione); color: var(--azione-testo); font-weight: 800; font-size: 1.0625rem;
  letter-spacing: -.01em; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 0 32px rgba(var(--alba-rgb), .4), 0 10px 24px rgba(var(--ombra-rgb), .5);
  transition: transform .2s var(--molla), background-color .2s;
}
.pill--azione:hover { background: var(--alba-chiara); }
.pill--azione:active { transform: scale(.97); background: var(--alba-scura); }
.modulino .pill { justify-self: stretch; white-space: normal; text-align: center; }
/* the trap field and the texts of the double opt-in (as e.css) */
.hp { position: absolute; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }
[data-doi] .doi-only, [data-doi] .doi-on-block { display: none; }
[data-doi="on"] .doi-only { display: inline; }
[data-doi="on"] .doi-on-block { display: block; }
[data-doi="on"] .doi-off { display: none; }
/* the sign-up on paper (data-sotto="carta"): midnight ink, white fields, amber only as the button's block */
[data-sotto="carta"] .modulino-campo, [data-sotto="carta"] .modulino-partenza, [data-sotto="carta"] .modulino-ok,
[data-sotto="carta"] .modulino-nota, [data-sotto="carta"] .modulino-aiuto, [data-sotto="carta"] .modulino-fine,
[data-sotto="carta"] .m-sugg-testi span, [data-sotto="carta"] .modulino-esito-riga + .modulino-esito-riga { color: var(--carta-inchiostro-2); }
[data-sotto="carta"] .modulino-partenza b { color: var(--carta-inchiostro); }
[data-sotto="carta"] .modulino-campo input { background-color: #FFFFFF; border-color: var(--carta-bordo); color: var(--carta-inchiostro); }
[data-sotto="carta"] .modulino-campo input::placeholder { color: #6B7389; }
[data-sotto="carta"] .modulino-campo input:focus { border-color: var(--carta-inchiostro); box-shadow: 0 0 0 3px var(--alba); }
[data-sotto="carta"] .modulino-campo input[aria-invalid="true"] { border-color: var(--carta-inchiostro); }
[data-sotto="carta"] .modulino-cambia, [data-sotto="carta"] .modulino-usa { color: var(--carta-inchiostro); }
[data-sotto="carta"] .modulino-ok input { accent-color: var(--carta-inchiostro); }
[data-sotto="carta"] .modulino-esito { background: #FFF4E2; color: var(--carta-inchiostro); box-shadow: inset 0 0 0 1px var(--carta-filo); }
[data-sotto="carta"] .modulino-esito--errore { background: #FFFFFF; box-shadow: inset 4px 0 0 var(--alba), inset 0 0 0 1.5px var(--carta-inchiostro); }
[data-sotto="carta"] .m-sugg button { background: var(--carta-superficie); color: var(--carta-inchiostro); box-shadow: 0 0 0 1px var(--carta-filo); }
[data-sotto="carta"] .m-sugg .m-sugg-segno { background: var(--carta-pagina); color: var(--carta-inchiostro); }
[data-sotto="carta"] .sotto-carta .pill--azione { box-shadow: inset 0 0 0 1px rgba(10, 15, 31, .1), 0 8px 20px rgba(120, 70, 10, .2); }

/* ---------------------------------------------------------------- without a script (D10)
   The examples are made by the script, day by day: without it the globe's stage, the strip, the gesture line, the
   cards (and the skip link to them), the sticky button and the photo credits are not on screen; the city in the
   heading is plain text (its button stays disabled); the form is the one without a script in #lista-posto, which posts
   to the Worker (fase 7, P6: it is there with a script too, until the script puts the full form in its place). */
@media (scripting: none) {
  .palco, .nastro, .puntini, .sotto-gesto, .altre, .salta--offerte, .cta-fissa, .crediti { display: none; }
  .citta { display: inline; margin: 0; padding: 0; background: none; color: inherit; box-shadow: none; min-height: 0; border-radius: 0; }
  .citta::after { display: none; }
  .mondo-sotto { margin-top: 18px; }
}
/* on a wide screen without the globe, the first screen is one centred column, not a left half beside an empty one
   (ritocchi-casa, B3) */
@media (scripting: none) and (min-width: 900px) {
  .mondo { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 8vh; padding-bottom: 2vh; }
  .mondo-testo { text-align: center; justify-self: center; max-width: 980px; }
  .mondo-sotto { justify-self: center; width: 100%; max-width: 560px; }
}
.altre:focus, .iscriviti:focus { outline: none; }

/* the wordmark: the drawing of the letters (strumenti/marchio/scritta.svg, written into the page by the generator),
   1.25em tall, its width from its viewBox (92.29 x 19.80): the name for screen readers is the .solo-lettori beside it */
.scritta { display: inline-flex; align-items: center; overflow: visible; }
.scritta-disegno { display: block; height: 1.25em; width: 5.826em; flex: none; }
