/* =====================================================================
   SCINTILLA: l'assistente del sito Forgitech
   Azzurra (ciano) quando spiega con i testi del sito; ambra quando scrive
   per il visitatore nel modulo «Proponi la tua idea».
   Tutte le classi iniziano con scn- per non toccare il resto del sito.
   ===================================================================== */
:root {
  --scn-ciano:#5ccfe6;
  --scn-ambra:#f5a524;
  --scn-brace:#ff7a1a;
  --scn-fondo:#14171c;
}

.scn-lancio, .scn-pannello, .scn-barra, .scn-bolla, .scn-invito, .scn-invito-hero {
  font-family:var(--body, 'Inter', system-ui, sans-serif);
}
.scn-pannello *, .scn-barra *, .scn-bolla { box-sizing:border-box; }
.scn-lancio[hidden], .scn-pannello[hidden], .scn-barra[hidden], .scn-invito[hidden], .scn-invito-hero[hidden], .scn-chips[hidden], .scn-mic[hidden], .scn-prova[hidden] { display:none !important; }

/* ---------- la stella ---------- */
.scn-stella { width:18px; height:18px; flex:none; color:var(--scn-ciano); filter:drop-shadow(0 0 4px currentColor); }
.scn-invito .scn-stella, .scn-invito-hero .scn-stella { animation:scn-respiro 6s ease-in-out infinite; }
[data-modo="scrive"] .scn-stella { color:var(--scn-ambra); animation:scn-forgia-colore .8s linear infinite; }
[data-modo="pensa"] .scn-stella { color:var(--scn-ambra); animation:scn-pulsa 1s ease-in-out infinite; }
@keyframes scn-respiro { 0%, 100% { color:var(--scn-ciano); } 50% { color:var(--scn-ambra); } }
@keyframes scn-forgia-colore { 0%, 100% { color:var(--scn-ambra); } 45% { color:var(--scn-brace); } 70% { color:#ffe9b8; } }
@keyframes scn-pulsa { 50% { transform:scale(.72); opacity:.6; } }

/* ---------- pulsante sempre presente: una sferetta che fa scintille ---------- */
.scn-lancio {
  position:fixed; right:16px; bottom:16px; z-index:180;
  width:62px; height:62px; padding:0; border:0; border-radius:50%;
  display:grid; place-items:center;
  background:radial-gradient(circle, rgba(92,207,230,.14), rgba(92,207,230,.04) 46%, transparent 70%);
  color:var(--text, #f4f2ee); font-family:var(--body, 'Inter', system-ui, sans-serif);
  cursor:pointer; -webkit-tap-highlight-color:transparent;
  transition:transform .25s ease, opacity .35s ease, bottom .35s ease;
}
.scn-lancio:hover { transform:scale(1.1); }
.scn-lancio:focus-visible { outline:2px solid var(--scn-ambra); outline-offset:2px; }
.scn-sfera {
  position:relative; display:block; width:18px; height:18px; border-radius:50%;
  background:radial-gradient(circle, #fff 0 32%, var(--scn-ciano) 60%, transparent 74%);
  animation:scn-sfera-luce 6s ease-in-out infinite;
}
.scn-sfera .scn-stella {
  position:absolute; left:50%; top:50%; width:46px; height:46px; margin:-23px 0 0 -23px;
  filter:drop-shadow(0 0 3px #fff) drop-shadow(0 0 7px currentColor);
  animation:scn-raggi 2.6s linear infinite, scn-respiro 6s ease-in-out infinite;
}
.scn-sfera i {                               /* le scintille: partono dal centro e si spengono */
  position:absolute; left:50%; top:50%; width:2.5px; height:2.5px; margin:-1.25px; border-radius:50%;
  background:#fff1d6; box-shadow:0 0 5px 2px rgba(255,170,70,.85); opacity:0;
  animation:scn-favilla 2.2s cubic-bezier(.2,.7,.3,1) infinite;
}
.scn-sfera i:nth-of-type(1) { --dx:-24px; --dy:-22px; animation-delay:0s; }
.scn-sfera i:nth-of-type(2) { --dx:22px;  --dy:-27px; animation-delay:.37s; box-shadow:0 0 5px 2px rgba(92,207,230,.85); }
.scn-sfera i:nth-of-type(3) { --dx:27px;  --dy:6px;   animation-delay:.73s; }
.scn-sfera i:nth-of-type(4) { --dx:6px;   --dy:-31px; animation-delay:1.1s; }
.scn-sfera i:nth-of-type(5) { --dx:-28px; --dy:4px;   animation-delay:1.47s; box-shadow:0 0 5px 2px rgba(92,207,230,.85); }
.scn-sfera i:nth-of-type(6) { --dx:-8px;  --dy:-30px; animation-delay:1.83s; }
@keyframes scn-favilla {
  0% { transform:translate(0, 0) scale(1.3); opacity:0; }
  10% { opacity:1; }
  100% { transform:translate(var(--dx), var(--dy)) scale(.3); opacity:0; }
}
@keyframes scn-sfera-luce {
  0%, 100% { box-shadow:0 0 12px 4px rgba(92,207,230,.85), 0 0 34px 12px rgba(92,207,230,.28); }
  50% { box-shadow:0 0 12px 4px rgba(245,165,36,.85), 0 0 34px 12px rgba(255,122,26,.3); }
}
/* il nome compare passando sopra col mouse, e da solo la prima volta */
.scn-lancio-testo {
  position:absolute; right:calc(100% - 2px); top:50%; transform:translate(8px, -50%);
  white-space:nowrap; pointer-events:none; opacity:0;
  padding:8px 12px; background:rgba(20,23,28,.94); border:1px solid rgba(92,207,230,.38);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  font-size:14px; font-weight:500; line-height:1.2; box-shadow:0 10px 26px rgba(0,0,0,.4);
  transition:opacity .25s ease, transform .3s ease;
}
.scn-lancio:hover .scn-lancio-testo, .scn-lancio:focus-visible .scn-lancio-testo, .scn-lancio.presenta .scn-lancio-testo { opacity:1; transform:translate(0, -50%); }
/* quando la Scintilla degli esempi arriva qui dentro */
.scn-lancio.accogli .scn-sfera { animation:scn-accogli .9s ease-out, scn-sfera-luce 6s ease-in-out infinite; }
@keyframes scn-accogli {
  0% { transform:scale(1); }
  22% { transform:scale(2.2); box-shadow:0 0 22px 9px rgba(255,200,120,.95), 0 0 64px 24px rgba(255,122,26,.5); }
  100% { transform:scale(1); }
}
html.intro .scn-lancio { opacity:0; pointer-events:none; }

/* ---------- pannello ---------- */
.scn-pannello {
  position:fixed; right:20px; bottom:20px; z-index:200;
  width:384px;
  max-height:min(640px, calc(100vh - 100px));
  max-height:min(640px, calc(100dvh - 100px));
  display:flex; flex-direction:column;
  background:var(--scn-fondo);
  border:1px solid var(--line-strong, rgba(255,255,255,.16));
  box-shadow:0 24px 60px rgba(0,0,0,.55);
  color:var(--text, #f4f2ee);
  transform-origin:bottom right;
  animation:scn-entra .28s cubic-bezier(.2,.8,.2,1);
}
@keyframes scn-entra { from { opacity:0; transform:translateY(12px) scale(.98); } }

.scn-testa { display:flex; align-items:center; gap:12px; padding:14px 12px 12px 16px; border-bottom:1px solid var(--line, rgba(255,255,255,.09)); }
.scn-testa .scn-stella { width:22px; height:22px; }
.scn-titolo { flex:1; min-width:0; line-height:1.2; }
.scn-titolo strong { display:block; font-family:var(--display, 'Barlow', sans-serif); font-weight:500; font-size:19px; letter-spacing:.03em; }
.scn-titolo small { font-size:13px; color:var(--muted, #aaa59c); }
.scn-prova { font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#1a1205; background:var(--scn-ambra); padding:3px 7px; }
.scn-chiudi {
  width:38px; height:38px; flex:none; display:grid; place-items:center;
  background:none; border:1px solid transparent; color:var(--muted, #aaa59c);
  font-size:24px; line-height:1; cursor:pointer;
}
.scn-chiudi:hover { color:var(--text, #f4f2ee); border-color:var(--line-strong, rgba(255,255,255,.16)); }

.scn-log {
  flex:1 1 auto; min-height:72px; overflow-y:auto; overscroll-behavior:contain;
  padding:16px; display:flex; flex-direction:column; gap:12px;
  scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.18) transparent;
}
.scn-msg { max-width:90%; font-size:15px; line-height:1.5; padding:10px 13px; white-space:pre-line; overflow-wrap:anywhere; }
.scn-msg.io { align-self:flex-end; background:rgba(255,255,255,.06); border:1px solid var(--line, rgba(255,255,255,.09)); color:var(--soft, #dcd8d0); }
.scn-msg.lei { align-self:flex-start; border-left:2px solid var(--scn-ciano); background:rgba(92,207,230,.06); }
.scn-msg.lei.ai { border-left-color:var(--scn-ambra); background:rgba(245,165,36,.07); }
.scn-msg.scn-ripeti { animation:scn-ripeti .9s ease; }
@keyframes scn-ripeti { 0%, 100% { background:rgba(92,207,230,.06); } 30% { background:rgba(92,207,230,.22); } }
.scn-msg-azioni { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.scn-msg-azioni button, .scn-chip {
  font:inherit; font-size:13.5px; line-height:1.25; color:var(--soft, #dcd8d0);
  background:transparent; border:1px solid var(--line-strong, rgba(255,255,255,.16));
  padding:7px 11px; cursor:pointer; text-align:left;
  transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.scn-msg-azioni button:hover, .scn-chip:hover { border-color:var(--scn-ciano); color:var(--text, #f4f2ee); background:rgba(92,207,230,.06); }
.scn-msg-azioni button.scrive:hover, .scn-chip.scrive:hover { border-color:var(--scn-ambra); background:rgba(245,165,36,.07); }
.scn-chips { display:flex; flex-wrap:wrap; gap:8px; padding:0 16px 12px; }
.scn-pensa { display:inline-flex; gap:5px; padding:4px 0; }
.scn-pensa i { width:6px; height:6px; border-radius:50%; background:var(--scn-ambra); animation:scn-punti 1s ease-in-out infinite; }
.scn-pensa i:nth-child(2) { animation-delay:.15s; }
.scn-pensa i:nth-child(3) { animation-delay:.3s; }
@keyframes scn-punti { 0%, 100% { opacity:.25; transform:translateY(0); } 40% { opacity:1; transform:translateY(-3px); } }

.scn-scrivi { display:flex; align-items:flex-end; gap:8px; padding:12px; border-top:1px solid var(--line, rgba(255,255,255,.09)); }
.scn-scrivi textarea {
  flex:1; min-width:0; resize:none; height:46px; max-height:140px;
  background:#0e1014; border:1px solid rgba(154,164,178,.3); border-radius:0;
  color:var(--text, #f4f2ee); font:inherit; font-size:16px; line-height:1.4; padding:11px 12px;
}
.scn-scrivi textarea:focus { outline:none; border-color:var(--scn-ambra); }
.scn-scrivi textarea::placeholder { color:#7d7a74; }
.scn-tasto {
  width:46px; height:46px; flex:none; display:grid; place-items:center;
  background:transparent; border:1px solid var(--line-strong, rgba(255,255,255,.16));
  color:var(--soft, #dcd8d0); cursor:pointer; transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.scn-tasto svg { width:20px; height:20px; }
.scn-tasto:hover { border-color:var(--scn-ciano); color:var(--text, #f4f2ee); }
.scn-tasto:disabled { opacity:.45; cursor:default; }
.scn-invia { background:linear-gradient(180deg, rgba(245,165,36,.26), rgba(245,165,36,.13)); border-color:rgba(245,165,36,.55); color:#ffe2b3; }
.scn-invia:hover { border-color:var(--scn-ambra); color:#fff4e0; }
.scn-mic { position:relative; }
.scn-mic[aria-pressed="true"] { border-color:transparent; color:#fff4e0; background:rgba(255,122,26,.16); }
.scn-mic .scn-ico-stop, .scn-mic[aria-pressed="true"] .scn-ico-mic { display:none; }
.scn-mic[aria-pressed="true"] .scn-ico-stop { display:block; }
/* il bordo del microfono si consuma col tempo che resta */
.scn-tasto .scn-tempo-mic { position:absolute; inset:-1px; width:calc(100% + 2px); height:calc(100% + 2px); opacity:0; pointer-events:none; }
.scn-mic[aria-pressed="true"] .scn-tempo-mic { opacity:1; }
.scn-tempo-mic rect { fill:none; stroke:var(--scn-ambra); stroke-width:2.6; stroke-dasharray:100 100; stroke-dashoffset:0; transition:stroke .4s ease; filter:drop-shadow(0 0 3px rgba(255,140,40,.7)); }
.scn-mic.scn-poco-tempo .scn-tempo-mic rect { stroke:var(--scn-brace); }

/* striscia della registrazione, come un messaggio vocale */
.scn-voce {
  display:grid; grid-template-columns:auto auto minmax(0, 1fr) auto; align-items:center; gap:6px 10px;
  margin:0 12px 10px; padding:9px 12px 10px;
  border:1px solid rgba(255,122,26,.45);
  background:linear-gradient(90deg, rgba(255,122,26,.11), rgba(245,165,36,.04));
}
.scn-voce[hidden] { display:none !important; }
.scn-registra .scn-nota { display:none; }      /* mentre registra serve spazio: la nota torna dopo */
.scn-rec { width:10px; height:10px; border-radius:50%; background:#ff4d2e; box-shadow:0 0 8px rgba(255,77,46,.9); animation:scn-rec 1s ease-in-out infinite; }
@keyframes scn-rec { 50% { opacity:.3; } }
.scn-voce[data-stato="attesa"] .scn-rec { background:#77736c; box-shadow:none; animation:none; }
.scn-voce-tempo { min-width:34px; font-size:14px; font-weight:600; font-variant-numeric:tabular-nums; color:#ffe2b3; }
.scn-onda { display:block; width:100%; height:30px; }
.scn-voce-annulla { font:inherit; font-size:13px; color:var(--muted, #aaa59c); background:none; border:0; padding:4px 0; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.scn-voce-annulla:hover { color:var(--text, #f4f2ee); }
.scn-voce-stato { grid-column:1 / -1; font-size:13px; line-height:1.4; color:var(--soft, #dcd8d0); }
.scn-voce[data-stato="fine"] .scn-voce-stato { color:#ffe2b3; }
.scn-voce[data-stato="muto"] { border-color:rgba(255,120,100,.55); }
.scn-voce[data-stato="muto"] .scn-voce-stato { color:#ffb8a6; }
@keyframes scn-ascolta { 50% { box-shadow:0 0 0 6px rgba(255,122,26,.2); } }

.scn-nota { padding:0 14px 12px; font-size:12.5px; line-height:1.45; color:var(--muted, #aaa59c); }
.scn-nota a { color:var(--soft, #dcd8d0); }
.scn-legenda { display:flex; flex-wrap:wrap; gap:4px 14px; margin-bottom:4px; color:var(--soft, #dcd8d0); }
.scn-pallino { display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:6px; vertical-align:1px; background:var(--scn-ciano); box-shadow:0 0 6px var(--scn-ciano); }
.scn-pallino.ambra { background:var(--scn-ambra); box-shadow:0 0 6px var(--scn-ambra); }

/* ---------- barra compatta mentre Scintilla lavora sulla pagina ---------- */
.scn-barra {
  position:fixed; right:20px; bottom:20px; z-index:200;
  width:min(440px, calc(100vw - 40px));
  display:flex; align-items:center; gap:12px;
  padding:12px 12px 12px 16px;
  background:rgba(20,23,28,.96);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border:1px solid var(--line-strong, rgba(255,255,255,.16));
  box-shadow:0 16px 40px rgba(0,0,0,.5);
  color:var(--text, #f4f2ee);
  animation:scn-entra .25s cubic-bezier(.2,.8,.2,1);
}
.scn-barra .scn-stella { width:20px; height:20px; }
.scn-barra-testo { flex:1; min-width:0; font-size:14.5px; line-height:1.4; }
.scn-barra-testo small { display:block; font-size:12px; color:var(--muted, #aaa59c); letter-spacing:.02em; }
.scn-barra-azioni { display:flex; gap:6px; flex:none; }
.scn-barra-azioni button {
  font:inherit; font-size:14px; color:var(--soft, #dcd8d0); background:transparent;
  border:1px solid var(--line-strong, rgba(255,255,255,.16)); padding:9px 12px; cursor:pointer; white-space:nowrap;
}
.scn-barra-azioni button:hover { border-color:var(--scn-ambra); color:var(--text, #f4f2ee); }
.scn-barra-azioni .scn-x { width:38px; padding:9px 0; font-size:20px; line-height:1; }
.scn-barra-azioni .scn-primo { border-color:rgba(245,165,36,.55); color:#ffe2b3; background:rgba(245,165,36,.14); }

/* ---------- la scintilla che vola e il suo fumetto ---------- */
/* Il faro: la zona spiegata resta in luce, il resto della pagina si scurisce (sopra la pagina, sotto pannello e fumetto) */
.scn-faro {
  position:fixed; left:0; top:0; width:0; height:0; z-index:190; pointer-events:none;
  border-radius:16px;
  box-shadow:0 0 0 200vmax rgba(4,5,8,.55), 0 0 0 1px rgba(92,207,230,.5), 0 0 28px rgba(92,207,230,.25), inset 0 0 26px rgba(92,207,230,.10);
  opacity:0; transition:opacity .4s ease;
}
.scn-faro.tondo { border-radius:50%; }
.scn-faro.vis { opacity:1; }

/* La stella: nucleo bianco, quattro raggi che girano e pulsano, alone colorato. La scia la disegna lo script. */
.scn-scia { position:fixed; inset:0; width:100vw; height:100vh; z-index:398; pointer-events:none; }
.scn-punto {
  --c:var(--scn-ciano); --a:rgba(92,207,230,.9); --b:rgba(92,207,230,.32);
  position:fixed; left:0; top:0; z-index:400; pointer-events:none;
  width:12px; height:12px; margin:-6px 0 0 -6px; border-radius:50%;
  background:radial-gradient(circle, #fff 0 34%, var(--c) 62%, transparent 74%);
  box-shadow:0 0 10px 3px var(--a), 0 0 30px 10px var(--b);
  opacity:0; transition:opacity .3s ease;
  will-change:transform;
}
.scn-punto svg {
  position:absolute; left:50%; top:50%; width:34px; height:34px; margin:-17px 0 0 -17px;
  color:var(--c); filter:drop-shadow(0 0 3px #fff) drop-shadow(0 0 7px var(--c));
  animation:scn-raggi 2.6s linear infinite;
}
@keyframes scn-raggi {
  0%   { transform:rotate(0deg)   scale(.82); }
  25%  { transform:rotate(90deg)  scale(1.08); }
  50%  { transform:rotate(180deg) scale(.86); }
  75%  { transform:rotate(270deg) scale(1.12); }
  100% { transform:rotate(360deg) scale(.82); }
}
.scn-punto.vis { opacity:1; }
.scn-punto[data-modo="scrive"] {
  --c:var(--scn-ambra); --a:rgba(245,165,36,.95); --b:rgba(255,122,26,.4);
  animation:scn-forgia .7s linear infinite;
}
.scn-punto[data-modo="scrive"] svg { animation-duration:1.1s; color:#ffc46e; }
.scn-punto[data-modo="pensa"] { --c:var(--scn-ambra); --a:rgba(245,165,36,.85); --b:rgba(245,165,36,.3); }
.scn-punto[data-modo="pensa"] svg { animation-duration:1.4s; }
@keyframes scn-forgia {
  0%, 100% { box-shadow:0 0 10px 3px rgba(245,165,36,.95), 0 0 30px 9px rgba(245,165,36,.4); }
  45% { box-shadow:0 0 13px 4px rgba(255,122,26,.95), 0 0 36px 11px rgba(255,122,26,.45); }
  70% { box-shadow:0 0 15px 5px rgba(255,236,190,.95), 0 0 34px 10px rgba(255,180,80,.4); }
}

.scn-bolla {
  position:fixed; left:0; top:0; z-index:399; pointer-events:none;
  max-width:min(290px, calc(100vw - 24px));
  padding:9px 14px 11px;
  background:rgba(20,23,28,.97);
  border:1px solid rgba(92,207,230,.6);
  box-shadow:0 14px 34px rgba(0,0,0,.55);
  color:var(--text, #f4f2ee); font-size:15px; line-height:1.42; white-space:pre-line;
  opacity:0; transform:translateY(5px);
  transition:opacity .25s ease, transform .25s ease;
}
.scn-bolla.vis { opacity:1; transform:none; }
.scn-bolla b { display:block; margin-bottom:3px; font-size:11px; font-weight:600; letter-spacing:.13em; text-transform:uppercase; color:var(--scn-ciano); }
.scn-bolla[data-modo="scrive"] { border-color:rgba(245,165,36,.7); }
.scn-bolla[data-modo="scrive"] b { color:var(--scn-ambra); }

/* campo che Scintilla sta scrivendo, e campi che deve fare il visitatore */
.idea-form .scn-campo-scrive {
  border-color:var(--scn-ambra) !important;
  box-shadow:0 0 0 1px rgba(245,165,36,.5), 0 0 24px rgba(255,122,26,.22);
}
.idea-form .scn-campo-fatto { animation:scn-tempra 1.6s ease-out; }
@keyframes scn-tempra {
  from { border-color:#ffd089; box-shadow:0 0 0 1px rgba(245,165,36,.6), 0 0 20px rgba(255,122,26,.32); }
  to { box-shadow:0 0 0 0 rgba(245,165,36,0); }
}
.scn-indicato { outline:2px solid var(--scn-ciano) !important; outline-offset:4px; transition:outline-color .3s ease; }

/* ---------- inviti nella pagina ---------- */
.scn-invito-hero {
  flex:0 0 100%;
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  background:none; border:0; padding:6px 4px; cursor:pointer;
  color:var(--soft, #dcd8d0); font-size:15px; line-height:1.35;
}
.scn-invito-hero span { border-bottom:1px solid rgba(92,207,230,.45); transition:border-color .2s ease; }
.scn-invito-hero:hover { color:var(--text, #f4f2ee); }
.scn-invito-hero:hover span { border-color:var(--scn-ambra); }
@media (max-width:900px) { .scn-invito-hero { flex:none; } }

.scn-invito {
  display:flex; align-items:center; flex-wrap:wrap; gap:14px 20px;
  margin:0 0 18px; padding:16px 20px;
  border:1px solid rgba(92,207,230,.28);
  background:linear-gradient(90deg, rgba(92,207,230,.07), rgba(245,165,36,.05));
}
.scn-invito .scn-stella { width:24px; height:24px; }
.scn-invito p { flex:1 1 300px; margin:0; font-size:15px; line-height:1.5; color:var(--soft, #dcd8d0); }
.scn-invito p strong { color:var(--text, #f4f2ee); font-weight:600; }
.scn-invito .btn-ghost { display:inline-flex; align-items:center; gap:8px; padding:11px 18px; font:inherit; font-size:15px; background:transparent; cursor:pointer; }

/* ---------- telefono ---------- */
@media (max-width:760px) {
  .scn-lancio { right:8px; bottom:calc(84px + env(safe-area-inset-bottom)); }
  .scn-lancio-testo { font-size:13px; }
  .scn:not(.scn-cta-su):not(.scn-libero) .scn-lancio { opacity:0; visibility:hidden; transform:translateY(16px); transition:opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
  .scn.scn-cta-su .scn-lancio { transition:opacity .3s ease, transform .3s ease; }
  .scn.scn-libero .scn-lancio { bottom:calc(8px + env(safe-area-inset-bottom)); }
  .scn-barra-testo { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden; }
  .scn-pannello {
    left:0; right:0; bottom:0; width:auto;
    max-height:82vh; max-height:82dvh;
    border-left:0; border-right:0; border-bottom:0;
    padding-bottom:env(safe-area-inset-bottom);
  }
  .scn-barra {
    left:0; right:0; bottom:0; width:auto;
    border-left:0; border-right:0; border-bottom:0;
    padding-bottom:calc(12px + env(safe-area-inset-bottom));
  }
  .scn-invito { padding:14px 16px; }
  .scn-invito .btn-ghost { width:100%; justify-content:center; }
}

@media (prefers-reduced-motion: reduce) {
  .scn-lancio .scn-stella, .scn-invito .scn-stella, .scn-invito-hero .scn-stella, .scn-sfera, .scn-sfera i,
  .scn-pannello, .scn-barra, .scn-punto, .scn-punto svg, .scn-rec { animation:none !important; }
  .scn-scia { display:none; }
  .scn-sfera i { display:none; }
  .scn-sfera { box-shadow:0 0 12px 4px rgba(92,207,230,.85), 0 0 34px 12px rgba(92,207,230,.28); }
  .scn-bolla { transition:opacity .15s ease; transform:none; }
}
@media print {
  .scn-lancio, .scn-pannello, .scn-barra, .scn-punto, .scn-scia, .scn-faro, .scn-bolla, .scn-invito, .scn-invito-hero { display:none !important; }
}

/* testo solo per i lettori di schermo */
.scn-sr { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
