/* CRUCIGO · LA SFIDA — modalità a parte (c/g-sfida.js). 27 nov 2026.
   L'IDENTITÀ: la sfida è un duello, e si deve vedere a colpo d'occhio che NON è una stanza. Per questo:
     · la barra sotto la testata è SCURA (inchiostro), coi due numeri ai lati e il tempo in mezzo, come un tabellone;
     · prima e dopo la partita lo schermo è un faccia a faccia: due tondi grandi e «VS» in mezzo;
     · il colore del gioco resta l'accento (bottoni, tondo di chi vince), l'oro no (è solo del Premium). */

/* il tasto in testata: due spade e la scritta, come «Insieme» */
.gt__sf { width: auto; min-width: 52px; padding: 3px 7px 4px; display: grid; justify-items: center; align-content: center; gap: 1px; }
.gt__sf svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gt__sf::after { content: "Sfida"; font: 700 9px/1.1 var(--testo, system-ui); }
@media (max-width: 420px) { .gt--sf { gap: 5px; } .gt__sf { min-width: 46px; padding: 2px 4px 3px; } }

/* in sfida l'orologio della testata non serve: il tempo è nel tabellone */
body.sf #g-tempo, body.sf #g-sfida, body.sf #g-insieme { display: none !important; }
body.sf .ins-barra { display: none !important; }

/* ---------- il tabellone ---------- */
.sf-barra { position: sticky; top: var(--gt-h, 62px); z-index: 101; display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 6px; min-height: 56px; box-sizing: border-box;
  padding: 6px max(10px, env(safe-area-inset-right)) 6px max(10px, env(safe-area-inset-left)); background: var(--su-colore, #151311); color: #FBF9F4; cursor: default; }
.sf-lato { min-width: 0; display: flex; align-items: center; gap: 8px; }
.sf-lato--lui { justify-content: flex-end; text-align: right; }
.sf-lato span { min-width: 0; display: grid; gap: 1px; }
.sf-lato small { font: 600 11.5px/1.1 var(--testo, system-ui); color: rgba(251, 249, 244, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-lato b { font: 400 25px/1 var(--macchina, monospace); font-variant-numeric: tabular-nums; min-height: 25px; }
.sf-lato.via { opacity: .45; }
.sf-lato.fatto small::after { content: " · finito"; color: var(--g, #FFC72E); }
.sf-piu { margin-left: 4px; font-style: normal; color: var(--g, #FFC72E); }
.sf-centro { display: grid; justify-items: center; gap: 1px; min-width: 64px; padding: 4px 10px; border-radius: 10px; background: rgba(251, 249, 244, .1); }
.sf-centro small { font: 600 10.5px/1.1 var(--testo, system-ui); letter-spacing: .06em; text-transform: uppercase; color: rgba(251, 249, 244, .7); white-space: nowrap; }
.sf-c-t { font: 700 21px/1 var(--testo, system-ui); font-variant-numeric: tabular-nums; }
.sf-vs-t { font: 400 26px/1 var(--stampa, Georgia, serif); font-style: italic; color: var(--g, #FFC72E); }
.sf-centro.poco { background: var(--errore, #D4351C); animation: sf-batti 1s ease-in-out infinite; }
.sf-centro.poco small { color: #fff; }
@keyframes sf-batti { 50% { transform: scale(1.06); } }
.sf-emo { width: 34px; height: 34px; display: grid; place-items: center; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(251, 249, 244, .12); color: #FBF9F4; cursor: pointer; }
.sf-emo svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sf-emo-p { position: absolute; right: 8px; top: calc(100% + 6px); z-index: 30; display: flex; gap: 2px; padding: 6px; border: 2px solid var(--inchiostro, #151311); border-radius: 999px; background: var(--foglio, #fff); box-shadow: 0 3px 0 var(--inchiostro, #151311); }
.sf-emo-p button { width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; font-size: 22px; cursor: pointer; }
.sf-vola { position: fixed; z-index: 60; transform: translateX(-50%); font-size: 30px; pointer-events: none; animation: sf-vola 1.8s ease-out both; }
@keyframes sf-vola { 0% { opacity: 0; transform: translate(-50%, -10px) scale(.4); } 15% { opacity: 1; transform: translate(-50%, 6px) scale(1.2); } 100% { opacity: 0; transform: translate(-50%, 120px); } }
@media (prefers-reduced-motion: reduce) { .sf-centro.poco, .sf-vola { animation: none; } }

/* i tondi delle persone */
.sf-tondo { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--p, #5E5A54); color: #fff; font: 700 15px/1 var(--testo, system-ui); font-style: normal; box-shadow: 0 0 0 2px #FBF9F4; }
.sf-tondo--vuoto { background: transparent; color: rgba(251, 249, 244, .6); box-shadow: inset 0 0 0 2px rgba(251, 249, 244, .4); }
.sf-tondo--grande { width: 72px; height: 72px; font-size: 30px; box-shadow: 0 0 0 3px var(--foglio, #fff), 0 0 0 5px var(--inchiostro, #151311); }
.sf-schermo .sf-tondo--vuoto, .sf-crea .sf-tondo--vuoto { color: var(--grafite, #5E5A54); box-shadow: inset 0 0 0 3px var(--riga, rgba(21, 19, 17, .25)); }
.sf-schermo .sf-tondo--vuoto.sf-tondo--grande { border: 3px dashed var(--grafite, #5E5A54); box-shadow: none; }

/* ---------- lo schermo: attesa, 3-2-1, risultato. Prende il posto del tavolo (il tavolo resta montato, invisibile) ---------- */
body.sf-coperto #g-campo { visibility: hidden; }
.sf-schermo { display: none; }
/* LIVELLI (misurati il 27 nov): le tastiere dei giochi stanno fino a z 80, gli avvisi a 60, i fogli a 150. Lo schermo
   della sfida sta SOPRA le tastiere (in sciarada copriva «Ci sono»), sotto i fogli; gli avvisi gli salgono sopra */
body.sf .g-toast { z-index: 120; }
body.sf-coperto .sf-schermo { position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; top: calc(var(--gt-h, 62px) + var(--sf-h, 56px)); overflow-y: auto; display: grid; place-items: center;
  padding: 20px max(16px, env(safe-area-inset-left)) 32px; box-sizing: border-box; background: var(--carta, #FBF9F4); }
body.sf-coperto:not(:has(.sf-barra)) .sf-schermo { top: var(--gt-h, 62px); }
.sf-pannello { width: 100%; max-width: 440px; display: grid; gap: 14px; text-align: center; }
.sf-kick { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 0; font: 700 12px/1 var(--testo, system-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--grafite, #5E5A54); }
.sf-kick svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sf-titolo { margin: 0; font: 400 clamp(30px, 8vw, 42px)/1.05 var(--stampa, Georgia, serif); }
.sf-titolo b { font-weight: 700; }
.sf-titolo--grande { font-size: clamp(40px, 12vw, 58px); }
.sf-regola { margin: 0; font: 400 16px/1.42 var(--testo, system-ui); }
.sf-nota { margin: 0; }
.sf-et { margin: 4px 0 -4px; text-align: left; }
.sf-err { margin: 0; color: var(--errore, #D4351C); font: 600 14px/1.3 var(--testo, system-ui); }
.sf-err[hidden] { display: none; }
.sf-entra { display: grid; gap: 10px; text-align: left; }
.sf-bt { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; }
.sf-bt svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* il faccia a faccia */
.sf-faccia { display: grid; }
.sf-faccia > .sf-gioc, .sf-faccia > .sf-vs { grid-row: 1; }
.sf-faccia:has(> .sf-vs) { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.sf-vs { font: 400 40px/1 var(--stampa, Georgia, serif); font-style: italic; color: var(--inchiostro, #151311); }
.sf-gioc { display: grid; justify-items: center; gap: 8px; min-width: 0; }
.sf-gioc b { font: 700 17px/1.15 var(--testo, system-ui); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-gioc small { font: 600 13px/1 var(--testo, system-ui); color: var(--grafite, #5E5A54); }
.sf-gioc.pronto small { color: var(--inchiostro, #151311); padding: 4px 9px; border-radius: 999px; background: color-mix(in oklab, var(--g, #FFC72E) 45%, var(--foglio, #fff)); }
.sf-gioc.pronto .sf-tondo--grande { box-shadow: 0 0 0 3px var(--foglio, #fff), 0 0 0 6px var(--g, #FFC72E); }
.sf-gruppo { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.sf-link { display: flex; align-items: center; gap: 14px; padding: 12px; border: 2px solid var(--riga, rgba(21, 19, 17, .16)); border-radius: 14px; background: var(--foglio, #fff); text-align: left; }
.sf-link b { display: block; font: 700 15.5px/1.25 var(--testo, system-ui); }
.sf-link small { display: block; margin-top: 4px; font: 400 13.5px/1.35 var(--testo, system-ui); color: var(--grafite, #5E5A54); }
.sf-qr { flex: none; border-radius: 8px; background: #fff; }

/* 3-2-1 */
.sf-321 { justify-items: center; }
.sf-321 b { font: 400 clamp(120px, 38vw, 180px)/1 var(--stampa, Georgia, serif); animation: sf-entra .9s ease-out both; }
.sf-321 small { font: 700 13px/1 var(--testo, system-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--grafite, #5E5A54); }
@keyframes sf-entra { 0% { transform: scale(1.6); opacity: 0; } 25% { transform: scale(1); opacity: 1; } 100% { transform: scale(.92); opacity: .8; } }

/* il risultato */
.sf-podio { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sf-podio.tanti { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.sf-col { display: grid; justify-items: center; gap: 6px; padding: 16px 8px 14px; border: 2px solid var(--riga, rgba(21, 19, 17, .16)); border-radius: 16px; background: var(--foglio, #fff); }
.sf-col.primo { border-color: var(--inchiostro, #151311); background: color-mix(in oklab, var(--g, #FFC72E) 22%, var(--foglio, #fff)); box-shadow: 0 4px 0 var(--inchiostro, #151311); }
.sf-col__n { font: 700 16px/1.15 var(--testo, system-ui); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-col.mia .sf-col__n { text-decoration: underline; text-underline-offset: 3px; }
.sf-col__num { font: 400 44px/1 var(--macchina, monospace); }
.sf-col small { font: 500 13px/1.3 var(--testo, system-ui); color: var(--grafite, #5E5A54); }
.sf-col__t { font-variant-numeric: tabular-nums; }
.sf-esito.vinto .sf-titolo em { color: var(--inchiostro, #151311); background: linear-gradient(transparent 62%, color-mix(in oklab, var(--g, #FFC72E) 70%, transparent) 62%); }
.sf-altri { justify-self: center; font: 600 15px/1 var(--testo, system-ui); color: var(--inchiostro, #151311); }
body.sf-finita #g-campo { pointer-events: none; }

/* il foglio per creare la sfida */
.sf-crea { display: grid; gap: 12px; }
.sf-crea__regola { margin: 0; font: 400 16px/1.42 var(--testo, system-ui); }
.sf-mini-vs { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 2px 0 4px; }
.sf-mini-vs b { font: 400 30px/1 var(--stampa, Georgia, serif); font-style: italic; }
.sf-mini-vs .sf-tondo { width: 52px; height: 52px; font-size: 22px; background: var(--inchiostro, #151311); color: var(--carta, #FBF9F4); box-shadow: none; }
.sf-mini-vs .sf-tondo--vuoto { background: transparent; border: 3px dashed var(--grafite, #5E5A54); }
.sf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-chips button { flex: 1 1 0; min-width: 64px; min-height: 44px; margin: 0; padding: 0 12px; border: 2px solid var(--riga, rgba(21, 19, 17, .16)); border-radius: 999px; background: var(--foglio, #fff); color: var(--inchiostro, #151311);
  font: 600 14.5px/1.1 var(--testo, system-ui); cursor: pointer; touch-action: manipulation; }
.sf-chips button[aria-pressed="true"] { border-color: var(--inchiostro, #151311); background: var(--inchiostro, #151311); color: var(--carta, #FBF9F4); }

/* TEMA NOTTE: la pagina è quasi nera, il tabellone nero ci sparirebbe dentro. Di notte il tabellone è un grigio caldo
   più chiaro della pagina, con un filo sotto: resta «la barra della sfida» e si stacca dal tavolo */
html[data-tema="notte"] .sf-barra { background: #2E2A25; border-bottom: 1px solid rgba(243, 239, 230, .18); }
html[data-tema="notte"] .sf-tondo { box-shadow: 0 0 0 2px #2E2A25; }
html[data-tema="notte"] .sf-schermo .sf-tondo--grande { box-shadow: 0 0 0 3px var(--carta), 0 0 0 5px var(--inchiostro); }
/* computer e tablet: i due lati del tabellone stanno vicini al gioco, non ai bordi dello schermo (visto a 1280: «Tu»
   all'estremo sinistro e «Bruno» all'estremo destro, il tempo lontanissimo da entrambi) */
@media (min-width: 720px) { .sf-barra { padding-left: max(16px, calc((100% - 660px) / 2)); padding-right: max(16px, calc((100% - 660px) / 2)); } }

/* ---------- SECONDO GIRO (27 nov notte): bandiera bianca, riga di stato, 3-2-1 con anello, «Via!», risultato animato ---------- */
.sf-azioni { display: flex; gap: 6px; }
.sf-resa svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.sf-lato.resa { opacity: .55; }
.sf-lato.resa small::after { content: " · fuori"; color: rgba(251, 249, 244, .8); }
.sf-lato b.batte { animation: sf-batte .45s ease-out; }
@keyframes sf-batte { 0% { transform: scale(1); } 35% { transform: scale(1.35); color: var(--g, #FFC72E); } 100% { transform: scale(1); } }
/* la riga sotto il tabellone: c'è solo quando serve, e spinge giù il tavolo invece di coprirlo */
.sf-riga { position: sticky; top: calc(var(--gt-h, 62px) + var(--sf-b, 56px)); z-index: 100; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; padding: 7px 12px;
  background: color-mix(in oklab, var(--g, #FFC72E) 30%, var(--foglio, #fff)); border-bottom: 2px solid var(--inchiostro, #151311); font: 600 14px/1.25 var(--testo, system-ui); color: var(--inchiostro, #151311); text-align: center; }
.sf-riga[hidden] { display: none; }
.sf-riga button { min-height: 36px; margin: 0; padding: 0 14px; border: 2px solid var(--inchiostro, #151311); border-radius: 999px; background: var(--foglio, #fff); color: var(--inchiostro, #151311); font: 700 14px/1 var(--testo, system-ui); cursor: pointer; }
/* 3-2-1: il numero dentro un anello che si svuota nel colore del gioco */
.sf-anello { --q: 1; position: relative; display: grid; place-items: center; width: min(62vw, 230px); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--g, #FFC72E) calc(var(--q) * 360deg), color-mix(in oklab, var(--inchiostro, #151311) 10%, transparent) 0); }
.sf-anello::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--carta, #FBF9F4); }
.sf-anello b { position: relative; font: 400 clamp(96px, 30vw, 150px)/1 var(--stampa, Georgia, serif); animation: sf-entra .9s ease-out both; }
.sf-via-flash { position: fixed; z-index: 99; left: 50%; top: 42%; transform: translate(-50%, -50%); pointer-events: none; font: 700 italic clamp(64px, 20vw, 120px)/1 var(--stampa, Georgia, serif);
  color: var(--inchiostro, #151311); text-shadow: 4px 4px 0 var(--g, #FFC72E); animation: sf-via .9s ease-out both; }
@keyframes sf-via { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 25% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); } }
/* lobby: chi entra «arriva» */
.sf-gioc.entra .sf-tondo--grande { animation: sf-arriva .4s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes sf-arriva { from { transform: scale(.5); opacity: 0; } }
/* il risultato: prima le colonne e i numeri che salgono; poi il timbro (.timbra); poi titolo e tasti (.dopo) */
.sf-esito .sf-col { position: relative; overflow: visible; animation: sf-colonna .45s ease-out both; }
.sf-esito .sf-col:nth-child(2) { animation-delay: .08s; }
@keyframes sf-colonna { from { opacity: 0; transform: translateY(16px); } }
.sf-timbro { position: absolute; top: 10px; right: -6px; padding: 5px 9px 3px; border: 3px solid var(--inchiostro, #151311); border-radius: 6px; background: var(--g, #FFC72E); color: var(--inchiostro, #151311);
  font: 900 15px/1 var(--timbro, var(--stampa, Georgia, serif)); letter-spacing: .12em; transform: rotate(-12deg); opacity: 0; }
.sf-timbro--pari { background: var(--foglio, #fff); }
.sf-timbro--resa { background: var(--foglio, #fff); color: var(--grafite, #5E5A54); border-color: var(--grafite, #5E5A54); }
.sf-esito.timbra .sf-timbro, .sf-esito.fermo .sf-timbro { opacity: 1; animation: sf-timbro .42s cubic-bezier(.2, 1.4, .4, 1) both; }
.sf-esito.fermo .sf-timbro { animation: none; }
@keyframes sf-timbro { 0% { opacity: 0; transform: rotate(-12deg) scale(2.6); } 60% { opacity: 1; transform: rotate(-12deg) scale(.92); } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }
.sf-esito.timbra .sf-col:not(.primo):not(:only-child), .sf-esito.fermo .sf-col:not(.primo):not(:only-child) { opacity: .62; transition: opacity .4s; }
.sf-esito .sf-titolo, .sf-esito .sf-perche, .sf-esito .sf-bts, .sf-esito > .sf-nota { opacity: 0; transform: translateY(10px); transition: opacity .35s ease-out, transform .35s ease-out; }
.sf-esito.dopo .sf-titolo, .sf-esito.dopo .sf-perche, .sf-esito.dopo .sf-bts, .sf-esito.dopo > .sf-nota,
.sf-esito.fermo .sf-titolo, .sf-esito.fermo .sf-perche, .sf-esito.fermo .sf-bts, .sf-esito.fermo > .sf-nota { opacity: 1; transform: none; }
.sf-bts { display: grid; gap: 10px; }
.sf-perche { margin-top: -6px; color: var(--grafite, #5E5A54); font-size: 15px; }
.sf-col.resa .sf-col__num { color: var(--grafite, #5E5A54); }
.sf-bt-resa svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.sf-bt-resa { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; }
@media (prefers-reduced-motion: reduce) {
  .sf-lato b.batte, .sf-anello b, .sf-gioc.entra .sf-tondo--grande, .sf-esito .sf-col { animation: none; }
}
.sf-emo[hidden] { display: none; }
.sf-t-io, .sf-t-lui { display: contents !important; }
/* i due lati speculari: a destra nome e numero si allineano sul bordo verso il tondo */
.sf-lato--lui > span:not(.sf-t-lui) { justify-items: end; }
.sf-lato--lui b { text-align: right; }
/* telefoni bassi: il tabellone si stringe di 10 px (sopra la tastiera dei giochi ogni riga conta: MISURATO 27 nov a
   375×615, nella sciarada le caselle finivano sotto la tastiera) */
@media (max-height: 760px) {
  .sf-barra { min-height: 46px; padding-top: 4px; padding-bottom: 4px; }
  .sf-lato b { font-size: 21px; min-height: 21px; }
  .sf-c-t { font-size: 18px; }
  .sf-centro { padding: 3px 9px; }
  .sf-barra .sf-tondo { width: 30px; height: 30px; font-size: 13px; }
  .sf-emo { width: 32px; height: 32px; }
}

/* ---------- «CERCA UN AVVERSARIO» (29 nov 2026) ---------- */
/* LA SCRITTA ACCANTO AL NOME DEL BOT (schermata VS, tabellone, risultato, foglio della ricerca). Oggi non compare: il testo
   è vuoto per scelta dell'owner, che la scrive lui (c/g-sfida.js → TESTO_BOT). Lo stile resta pronto. */
.sf-bot { display: inline-block; margin-left: 6px; padding: 2px 6px 1px; border: 1.5px solid currentColor; border-radius: 5px; font: 700 10.5px/1.2 var(--testo, system-ui); font-style: normal; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; text-decoration: none; }
.sf-bot[hidden] { display: none; }
.sf-lato small .sf-bot { margin-left: 5px; padding: 1px 4px 0; font-size: 9.5px; vertical-align: 1px; color: #FBF9F4; }
.sf-titolo .sf-bot { vertical-align: 6px; }
/* nel foglio: due strade, una sotto l'altra */
.sf-oppure { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; font: 700 11.5px/1 var(--testo, system-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--grafite, #5E5A54); }
.sf-oppure::before, .sf-oppure::after { content: ""; flex: 1; height: 2px; background: var(--riga, rgba(21, 19, 17, .16)); }
/* «Cerco un avversario…»: il tondo dell'altro pulsa, la barra si riempie in cinque secondi (quanto aspetta il server) */
.sf-cerca { text-align: center; }
.sf-cerca__t { margin: 0; min-height: 2.9em; font: 400 17px/1.42 var(--testo, system-ui); }
.sf-cerca__chi { animation: sf-cerca-pulsa 1.1s ease-in-out infinite; }
@keyframes sf-cerca-pulsa { 50% { transform: scale(1.12); border-color: var(--inchiostro, #151311); color: var(--inchiostro, #151311); } }
.sf-mini-vs .sf-cerca__trovato { background: var(--g, #FFC72E); color: var(--inchiostro, #151311); border: 0; box-shadow: 0 0 0 3px var(--foglio, #fff), 0 0 0 5px var(--inchiostro, #151311); animation: sf-arriva .4s cubic-bezier(.3, 1.6, .5, 1) both; }
.sf-cerca__barra { height: 8px; border: 2px solid var(--inchiostro, #151311); border-radius: 999px; overflow: hidden; background: var(--foglio, #fff); }
.sf-cerca__barra i { display: block; height: 100%; width: 100%; background: var(--g, #FFC72E); transform-origin: left center; animation: sf-cerca-barra 5s linear both; }
@keyframes sf-cerca-barra { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sf-cerca.trovato .sf-cerca__barra i { animation: none; transform: none; }
.sf-parte { margin: 0; padding: 14px 16px; border: 2px dashed var(--riga, rgba(21, 19, 17, .25)); border-radius: 14px; font: 700 16px/1.2 var(--testo, system-ui); }
@media (prefers-reduced-motion: reduce) { .sf-cerca__chi, .sf-mini-vs .sf-cerca__trovato { animation: none; } }
