
/* Il 6 con i colori calmi (Simone 16/11: «troppi colori diversi»): fondo unico bianco caldo, UN colore forte (blu notte),
   rosso SOLO per Subscribe, i 4 colori dei giorni solo come piccoli segni (pillola e riga), giallo solo per sottolineatura e punteggio. */
:root { --font: 'Outfit', system-ui, sans-serif; --sfondo: #fffdf8; --testo: #17123d; --accento: #17123d; --rosso: #e02d1f; --op-bordo: #ddd8ee; --focus: #6d28d9; --raggio: 20px; --raggio-btn: 18px;
  --giallo: #ffd23f; --menta: #7fe0b9; --corallo: #ff8f73; --viola: #c3b1ff; --palco1: #5418b8; --palco2: #b0208f; --oro: #ffcd3c; }
body { font-size: 1.25rem; padding-bottom: 92px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
h2 { font-size: 2rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }

/* testata */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,253,248,.95); backdrop-filter: blur(8px); border-bottom: 1px solid #efeadf; }
.bar { display: flex; align-items: center; gap: .5rem; min-height: 72px; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--testo); font-weight: 900; font-size: 1.2rem; letter-spacing: -.02em; flex: none; }
.logo img { width: 48px; height: 48px; border-radius: 16px; background: var(--giallo); }
.logo span { white-space: nowrap; }
nav.menu { display: none; }
.strumenti { display: flex; gap: .4rem; margin-left: auto; align-items: center; }
.tasto { min-height: 56px; min-width: 56px; border-radius: 18px; border: 2px solid #ddd8ee; background: #fff; display: inline-flex; gap: .4rem; align-items: center; justify-content: center; cursor: pointer; padding: 0 .7rem; font-weight: 700; color: var(--testo); text-decoration: none; }
.lingua, .solo-pc { display: none !important; }
details.tendina { position: relative; }
details.tendina summary { list-style: none; } details.tendina summary::-webkit-details-marker { display: none; }
.tendina-lista { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 2px solid #ddd8ee; border-radius: 20px; padding: .5rem; width: min(86vw, 320px); box-shadow: 0 20px 40px -18px rgba(23,18,61,.4); display: grid; }
.tendina-lista a { display: flex; gap: .6rem; align-items: center; min-height: 56px; padding: 0 .9rem; border-radius: 14px; color: var(--testo); font-weight: 700; text-decoration: none; }
.tendina-lista a:hover { background: #f4f2ff; }
.tendina-lista .lingue { display: flex; flex-wrap: wrap; gap: .3rem; padding: .6rem .5rem .3rem; border-top: 2px solid #f0edf7; margin-top: .3rem; }
.tendina-lista .lingue button { min-height: 48px; min-width: 52px; border-radius: 12px; border: 2px solid #ddd8ee; background: #fff; font-weight: 700; }
.tendina-lista .lingue button[aria-pressed="true"] { background: var(--testo); color: #fff; border-color: var(--testo); }

/* apertura: Leo e Rosa a braccetto */
.hero { position: relative; padding-block: 1rem 1.5rem; text-align: center; }
.hero::before { content: ''; position: absolute; inset: 0 -16px auto; height: 330px; background: radial-gradient(circle at 30% 40%, rgba(255,210,63,.45), transparent 55%), radial-gradient(circle at 75% 55%, rgba(195,177,255,.5), transparent 55%), radial-gradient(circle at 50% 80%, rgba(127,224,185,.35), transparent 60%); z-index: -1; }
.hero .coppia { width: min(100%, 340px); margin: 0 auto -.5rem; animation: entra .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes entra { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.hero h1 { font-size: 2.45rem; font-weight: 900; line-height: 1.02; letter-spacing: -.035em; margin-top: .3rem; }
.hero h1 span { background: linear-gradient(transparent 60%, var(--giallo) 60%); }
.hero .lead { font-size: 1.25rem; margin: .9rem auto 1.2rem; max-width: 34ch; }
.prossimo { display: flex; gap: .9rem; align-items: center; text-align: left; background: #fff; border: 2px solid #ece7fb; border-radius: 22px; padding: .8rem 1rem; margin: 0 auto 1rem; max-width: 460px; text-decoration: none; color: var(--testo); }
.prossimo .gg { background: var(--testo); color: #fff; border-radius: 16px; padding: .45rem .7rem; text-align: center; line-height: 1.05; font-weight: 800; font-size: 1.4rem; flex: none; }
.prossimo .gg small { display: block; font-size: .8rem; font-weight: 600; opacity: .85; }
.prossimo b { display: block; font-size: 1rem; color: #6a1fd0; }
.prossimo span.t { font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.azioni { display: grid; gap: .6rem; max-width: 460px; margin-inline: auto; }
.azioni .btn { width: 100%; font-size: 1.2rem; white-space: nowrap; }
.btn-bordo { border: 3px solid var(--testo); color: var(--testo); background: #fff; }

/* palco del quiz (dal 5) */
.palco { position: relative; overflow: hidden; border-radius: 30px; background: radial-gradient(ellipse at 50% -10%, #b23ad8 0%, transparent 60%), linear-gradient(160deg, var(--palco1) 0%, #7a1fc6 50%, var(--palco2) 100%); color: #fff; padding: 1.4rem 1.2rem 1.5rem; margin-top: 1rem; }
.luci { position: absolute; inset: 0; pointer-events: none; background: conic-gradient(from 200deg at 10% -10%, transparent 0 20deg, rgba(255,230,140,.18) 25deg, transparent 32deg), conic-gradient(from 140deg at 90% -10%, transparent 0 20deg, rgba(255,230,140,.18) 26deg, transparent 33deg); }
.palco > *:not(.luci) { position: relative; }
.palco-testa { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.insegna { display: inline-flex; gap: .45rem; align-items: center; background: var(--oro); color: #3b2300; font-weight: 800; border-radius: 99px; padding: .35rem 1rem; font-size: 1rem; }
.punti { display: flex; gap: .5rem; align-items: center; font-size: .95rem; line-height: 1.1; }
.punti b { font-size: 1.8rem; color: var(--oro); font-variant-numeric: tabular-nums; }
.palco .q-domanda { font-size: 1.65rem; }
.palco .q-op { background: #fff; color: var(--testo); border-color: #fff; font-size: 1.3rem; min-height: 64px; }
.palco .q-op:hover:not(:disabled) { border-color: var(--oro); }
.palco .q-lettera { background: var(--oro); color: #3b2300; }
.palco .q-esito { background: rgba(255,255,255,.14); border-radius: 18px; padding: 1rem; }
.palco .q-video { background: var(--oro); color: #3b2300; width: 100%; }
.palco .q-op.giusta { background: #dcf5e3; border-color: #7fe0b9; }
.palco-sotto { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; font-size: 1.05rem; }
.palco-sotto img { width: 96px; flex: none; }

/* la settimana (dal 3) */
.sezione { padding-top: 2.4rem; }
.sezione > p { margin: .5rem 0 1rem; }
.settimana { display: grid; gap: .9rem; }
.giornata { border-radius: 26px; padding: 1rem; }
.giornata-testa { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.giornata .gg { font-size: 2.4rem; font-weight: 900; letter-spacing: -.04em; line-height: .9; }
.giornata .nome { font-size: 1.25rem; font-weight: 800; line-height: 1.15; }
.giornata .riga { font-size: 1rem; }
.video { display: block; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--testo); box-shadow: 0 5px 0 rgba(23,18,61,.12); }
.video img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.video span.dentro { display: block; padding: .6rem .9rem .9rem; }
.video .t { display: block; font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.video .q { display: flex; gap: .3rem; align-items: center; font-size: .95rem; font-weight: 800; color: #9b1c13; margin-bottom: .15rem; }
.video .q.presto { color: #5b21b6; }
.altro { display: flex; justify-content: space-between; align-items: center; min-height: 52px; margin-top: .6rem; padding: 0 .9rem; border-radius: 14px; background: rgba(255,255,255,.55); color: var(--testo); font-weight: 700; text-decoration: none; }
.g-games { background: var(--giallo); } .g-health { background: var(--menta); } .g-scams { background: var(--corallo); } .g-memory { background: var(--viola); }

/* truffa, telefono, iscriviti, who */
.blocco { border-radius: 30px; padding: 1.4rem 1.2rem; margin-top: 2.4rem; }
.tag { display: inline-flex; gap: .45rem; align-items: center; font-weight: 800; background: #fff; border-radius: 99px; padding: .35rem 1rem; font-size: 1rem; color: var(--testo); }
.blocco h2 { margin: .6rem 0 1rem; }
.blocco.g-scams .s-esempio { background: rgba(255,255,255,.5); }
.blocco-tel { background: var(--testo); color: #fff; display: grid; gap: 1.4rem; }
.blocco-tel .ph-passo { color: #fff; } .blocco-tel .verde { color: var(--menta); }
.lezioni { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.lezioni a { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; padding: .6rem 1rem; border-radius: 99px; font-weight: 600; min-height: 56px; display: inline-flex; align-items: center; gap: .45rem; font-size: 1.1rem; }
.lezioni a:hover { background: var(--viola); color: var(--testo); }
.finale { text-align: center; background: var(--giallo); border-radius: 30px; padding: 2rem 1.2rem; margin-top: 2.4rem; }
.finale .coppia-piccola { width: 200px; margin: -.5rem auto .5rem; }
.finale p { margin: .7rem auto 1.2rem; max-width: 34ch; }
.finale .btn { width: 100%; max-width: 420px; }
.giorni { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-bottom: 1.2rem; }
.giorni span { border-radius: 99px; padding: .3rem .8rem; font-weight: 800; font-size: 1rem; background: #fff; }
.who { display: flex; flex-direction: column; gap: 1rem; background: #f4f2ff; border-radius: 30px; padding: 1.4rem; margin-block: 2.4rem; }
footer { border-top: 2px solid #efeadf; padding-block: 1.6rem 2rem; font-size: 1.05rem; }

/* barra fissa in basso al telefono: iscriviti sempre a portata di pollice */
.barra-sotto { transition: transform .25s; }
.barra-sotto.nascosta { transform: translateY(110%); }
.barra-sotto { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: rgba(255,253,248,.97); border-top: 1px solid #e8e2d4; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: .6rem; }
.barra-sotto .btn { flex: 1; font-size: 1.15rem; }
.barra-sotto .quiz { flex: none; background: #fff; border: 3px solid var(--testo); color: var(--testo); }

/* dal tablet in su */
@media (min-width: 760px) {
  .wrap { padding-inline: 32px; }
  .hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; text-align: left; padding-block: 2rem; }
  .hero::before { height: 100%; }
  .hero .coppia { width: 100%; max-width: 500px; margin: 0; order: 2; }
  .hero h1 { font-size: clamp(3rem, 5.6vw, 4.8rem); }
  .hero .lead, .prossimo, .azioni { margin-left: 0; }
  .azioni { grid-template-columns: auto auto; justify-content: start; } .azioni .btn { width: auto; }
  .palco { padding: 2.2rem; display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; }
  .palco-sotto { flex-direction: column; text-align: center; } .palco-sotto img { width: 100%; max-width: 360px; }
  .settimana { grid-template-columns: 1fr 1fr; }
  .blocco-tel { grid-template-columns: 1fr auto; align-items: center; padding: 2.2rem; }
  .truffa-dentro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: start; } .truffa-dentro h2 { font-size: 2.6rem; }
  .who { flex-direction: row; padding: 2rem; }
  .blocco { padding: 2rem; }
}
@media (min-width: 1180px) {
  body { padding-bottom: 0; } .barra-sotto { display: none; }
  .bar { min-height: 88px; gap: 1rem; } .logo { font-size: 1.4rem; } .logo img { width: 56px; height: 56px; }
  nav.menu { display: flex; gap: .2rem; margin-left: auto; }
  nav.menu a { white-space: nowrap; text-decoration: none; color: var(--testo); font-weight: 700; padding: .55rem .85rem; border-radius: 99px; font-size: 1.1rem; }
  nav.menu a:nth-child(1):hover { background: var(--giallo); } nav.menu a:nth-child(2):hover { background: var(--menta); } nav.menu a:nth-child(3):hover { background: var(--corallo); } nav.menu a:nth-child(4):hover { background: var(--viola); }
  .strumenti { margin-left: 0; } details.tendina { display: none; } .lingua, .solo-pc { display: inline-flex !important; }
  .giornata { display: flex; flex-direction: column; } .giornata-testa { flex-direction: column; align-items: flex-start; gap: .3rem; } .giornata .gg { font-size: 3.2rem; }
  
}
@media (max-width: 380px) { .logo span { display: none; } }

/* ---- palette calma ---- */
.hero::before, .luci { display: none; }
.palco { background: var(--testo); }
.palco .insegna { background: #fff; color: var(--testo); }
.palco .q-op { border-color: #fff; }
.palco .q-op.sbagliata { background: #fde4e1; }
.palco .q-video { background: #fff; color: var(--testo); }
.palco .q-esito { background: rgba(255,255,255,.08); }
.prossimo b, .video .q.presto { color: #4a4570; }
.video .q { color: var(--testo); }
.giornata { background: #fff; border: 2px solid #ece8e0; border-top-width: 10px; }
.g-games { border-top-color: var(--giallo); } .g-health { border-top-color: var(--menta); } .g-scams { border-top-color: var(--corallo); } .g-memory { border-top-color: var(--viola); }
.giornata .gg { font-size: 1.15rem; letter-spacing: 0; padding: .45rem .8rem; border-radius: 99px; flex: none; }
.giornata.g-games .gg { background: var(--giallo); } .giornata.g-health .gg { background: var(--menta); } .giornata.g-scams .gg { background: var(--corallo); } .giornata.g-memory .gg { background: var(--viola); }
.video { box-shadow: none; border: 2px solid #ece8e0; }
.altro { background: #f6f4ef; }
.blocco.g-scams { background: #fff; border: 2px solid #ece8e0; border-top: 10px solid var(--corallo); }
.blocco.g-scams .tag { background: #f6f4ef; }
.blocco.g-scams .s-esempio { background: #fff; }
.blocco-tel { background: var(--testo); }
.lezioni a:hover { background: #fff; color: var(--testo); }
.finale { background: #fff; border: 2px solid #ece8e0; }
.giorni span { background: #f6f4ef; }
.who { background: #f6f4ef; }
.w-bottoni a { background: var(--testo); }
nav.menu a:hover { background: #f1eee6 !important; }
@media (min-width: 1180px) { .giornata .gg { font-size: 1.15rem; } .giornata-testa { flex-direction: row; align-items: center; gap: .7rem; } }

/* ---- rifinitura «da 10» ---- */
h1, h2, .q-domanda, .nome { text-wrap: balance; } p { text-wrap: pretty; }
/* quiz dopo la risposta: le altre opzioni restano leggibili e «vuote», non grigie */
.palco .q-op:disabled:not(.giusta):not(.sbagliata) { background: transparent; color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.28); opacity: 1; }
.palco .q-op:disabled:not(.giusta):not(.sbagliata) .q-lettera { background: rgba(255,255,255,.16); color: #fff; }
.palco .q-op.giusta { background: #e3f8ec; border-color: #7fe0b9; color: #0b3d22; }
.palco .q-op.giusta .q-lettera { background: #157a3b; color: #fff; }
.palco .q-op.sbagliata { background: #fde8e5; border-color: #f4a397; color: #5c120d; }
.palco .q-op.sbagliata .q-lettera { background: #b4231a; color: #fff; }
.palco .q-titolo { color: #fff; }
/* settimana: 2 righe da 2 al computer, scheda orizzontale con miniatura grande */
@media (min-width: 1180px) {
  .settimana { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .giornata { padding: 1.3rem; }
  .video { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .video img { height: auto; aspect-ratio: 16/9; align-self: center; }
  .video span.dentro { padding: 1rem 1.2rem; }
  .video .t { font-size: 1.25rem; }
  .hero { grid-template-columns: 1fr 1fr; padding-block: 2.5rem 3rem; }
  .hero .coppia { max-width: 560px; justify-self: center; }
  .hero h1 { font-size: 4.4rem; }
}
/* ritmo verticale più regolare */
.sezione, .blocco, .finale { margin-top: 3rem; } .sezione { padding-top: 0; }
.palco-sotto p { opacity: .9; }

/* ===== sito vero: regole in più rispetto al prototipo 7 (pagine interne, video, aiuto, lezioni) ===== */
@font-face { font-family: 'Outfit'; src: url('/mind-and-memories/assets/fonts/outfit.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
.salta { position: absolute; left: 12px; top: -80px; background: var(--testo); color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 99; font-weight: 700; }
.salta:focus { top: 12px; }
nav.menu a[aria-current="page"], .tendina-lista a[aria-current="page"] { background: #f1eee6; }
.tendina-lista .lingue-presto { font-size: .95rem; padding: .7rem .9rem .3rem; border-top: 2px solid #f0edf7; margin-top: .3rem; color: #4a4570; }
.pagina-testa { padding-block: 1.6rem .4rem; }
.pagina-testa h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.04; }
.pagina-testa .lead { font-size: 1.3rem; margin-top: .8rem; max-width: 46ch; }
.briciole { padding-top: 1rem; }
.briciole a { display: inline-flex; gap: .4rem; align-items: center; min-height: 48px; font-weight: 700; color: var(--testo); }
.briciole .ico { transform: scaleX(-1); }
.griglia-video { display: grid; gap: 1rem; margin-top: 1rem; }
.griglia-video > div[hidden] { display: none; }
@media (min-width: 700px) { .griglia-video { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .griglia-video { grid-template-columns: repeat(3, 1fr); } .griglia-video .video { display: block; } .griglia-video .video img { width: 100%; } }
.filtri { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.filtri button { min-height: 52px; border-radius: 99px; border: 2px solid #ddd8ee; background: #fff; padding: 0 1.1rem; font-weight: 700; cursor: pointer; font-size: 1.05rem; }
.filtri button[aria-pressed="true"] { background: var(--testo); color: #fff; border-color: var(--testo); }
/* pagina del video */
.pagina-video { max-width: 900px; }
.pagina-video .tag { background: #f6f4ef; margin-top: .6rem; }
.pagina-video h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.08; margin: .6rem 0 1rem; }
.lite { position: relative; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: var(--testo); }
.lite button { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.lite button:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }
.lite img { width: 100%; height: 100%; object-fit: cover; }
.lite-btn { position: absolute; left: 16px; bottom: 16px; background: var(--testo); /* blu notte: il rosso è solo per Subscribe (design 7, controllo finale) */ color: #fff; font-weight: 800; font-size: 1.3rem; padding: .9rem 1.6rem; border-radius: 18px; display: flex; gap: .5rem; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); white-space: nowrap; }
.lite iframe { width: 100%; height: 100%; border: 0; }
.nota-video { font-size: 1rem; color: #4a4570; margin-top: .5rem; }
.azioni-video { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.pagina-video section { margin-top: 2.2rem; }
.pagina-video h2 { font-size: 1.7rem; margin-bottom: .6rem; }
.in-breve p { font-size: 1.3rem; }
.nota-salute { margin-top: .8rem; padding: .9rem 1rem; border-radius: 14px; background: #f6f4ef; font-size: 1.1rem !important; }
.capitoli { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.capitoli a { display: flex; gap: .9rem; align-items: center; min-height: 52px; padding: .3rem .9rem; border-radius: 12px; color: var(--testo); text-decoration: none; background: #fff; border: 2px solid #ece8e0; font-weight: 600; }
.capitoli a:hover { border-color: var(--testo); }
.capitoli b { font-variant-numeric: tabular-nums; min-width: 3.2em; color: #4a4570; }
.fonti { padding-left: 1.2rem; } .fonti li { margin-bottom: .4rem; overflow-wrap: anywhere; }
.condividi-tasti { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn-bordo { cursor: pointer; }
/* aiuto e truffa */
.passi { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; counter-reset: p; }
.passi li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 2px solid #ece8e0; border-radius: 20px; padding: 1.1rem 1.2rem; }
.passi li > .ico { width: 1.6em; height: 1.6em; color: var(--testo); margin-top: .1rem; }
.passi li:first-child { border-color: var(--rosso); } .passi li:first-child > .ico { color: var(--rosso); }
.passi b { font-size: 1.3rem; display: block; }
.paesi { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 900px) { .paesi { grid-template-columns: 1fr 1fr; } }
.scheda { background: #fff; border: 2px solid #ece8e0; border-radius: 24px; padding: 1.4rem; }
.paese h3 { font-size: 1.5rem; margin: 0 0 .6rem; }
.paese ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.paese .cosa { display: block; font-size: 1rem; color: #4a4570; font-weight: 600; }
.paese .val { display: block; font-size: 1.3rem; font-weight: 800; color: var(--testo); overflow-wrap: anywhere; }
.paese .fonte { display: block; font-size: .9rem; color: #4a4570; margin-top: .15rem; }
.paese .fonte a { color: #4a4570; }
.due-colonne { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 900px) { .due-colonne { grid-template-columns: 1fr 1fr; } }
.due-colonne h2 { font-size: 1.7rem; margin-bottom: .7rem; }
.lista-ok { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.lista-ok li { display: flex; gap: .6rem; align-items: flex-start; }
.lista-ok .ico { color: #157a3b; margin-top: .25rem; }
.sub-blu { background: var(--testo); color: #fff; margin-top: .8rem; }
.blocco.solo { margin-top: 1.4rem; }
.nota-piccola { font-size: 1rem; color: #4a4570; margin-top: 2rem; max-width: 70ch; }
.testo { max-width: 70ch; margin-top: 1rem; }
.testo h2 { font-size: 1.7rem; margin: 2rem 0 .6rem; }
.testo p + p { margin-top: .8rem; }
/* elenco lezioni */
.gruppo-lez { margin-top: 2.2rem; }
.gruppo-lez h2 { font-size: 1.7rem; margin-bottom: .8rem; }
.elenco-lez { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
@media (min-width: 800px) { .elenco-lez { grid-template-columns: 1fr 1fr; } }
.elenco-lez a { display: grid; gap: .15rem; padding: 1rem 1.2rem; border-radius: 20px; background: #fff; border: 2px solid #ece8e0; color: var(--testo); text-decoration: none; min-height: 56px; }
.elenco-lez a:hover { border-color: var(--testo); }
.elenco-lez b { font-size: 1.25rem; } .elenco-lez span { font-size: 1.05rem; } .elenco-lez em { font-style: normal; font-size: .95rem; color: #4a4570; font-weight: 700; }
.piede p + p { margin-top: .5rem; } .piede-link a { color: var(--testo); }
/* lezioni: il motore di Prontofono usa il testo a 20 px (html), le nostre parti restano alla misura del sito */
.pg-lezione { --acc: #17123d; --acc-ink: #fff; --acc-2: #ece8f5; --carta: #fff; --fondo: #fffdf8; --ink: #17123d; --font: 'Outfit', system-ui, sans-serif; --font-titoli: 'Outfit', system-ui, sans-serif; font-size: 1rem; }
/* solo la testata e il piè di pagina del sito, non la «testata» dell'app finta (quarto controllo: tasti a 38 px) */
body.pg-lezione > header, body.pg-lezione > footer, .pg-lezione .who, .pg-lezione .barra-sotto, .pg-lezione .briciole, .pg-lezione .sezione, .pg-lezione .salta { zoom: .8; }
.pg-lezione .btn.sub { border-color: transparent; }
.pg-lezione main.wrap { padding-top: .5rem; }
.pg-lezione .lez { margin-top: .5rem; }
.pg-lezione .barra-sotto { display: none; } body.pg-lezione { padding-bottom: 0; }
/* lingue */
details.tendina-lingua { position: relative; }
details.tendina-lingua summary { list-style: none; } details.tendina-lingua summary::-webkit-details-marker { display: none; }
.lingue-lista { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: .5rem; background: #fff; border: 2px solid #ddd8ee; border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(23,18,61,.4); min-width: 200px; }
.lingue-lista a { display: flex; align-items: center; min-height: 52px; padding: 0 .9rem; border-radius: 12px; color: var(--testo); font-weight: 700; text-decoration: none; }
.lingue-lista a:hover, .lingue-lista a[aria-current] { background: #f1eee6; }
.tendina-lista .lingue { display: flex; flex-wrap: wrap; gap: .3rem; padding: .6rem .5rem .3rem; border-top: 2px solid #f0edf7; margin-top: .3rem; }
.tendina-lista .lingue a { min-height: 48px; min-width: 52px; padding: 0; justify-content: center; border: 2px solid #ddd8ee; border-radius: 12px; }
.tendina-lista .lingue a[aria-current] { background: var(--testo); color: #fff; border-color: var(--testo); }
@media (max-width: 1179px) { details.tendina-lingua { display: none; } }
.avviso-lingua { display: flex; gap: .5rem; align-items: flex-start; font-size: 1.05rem; color: #4a4570; margin-top: .9rem; }
.avviso-lingua .ico { margin-top: .2rem; }
.altri-paesi { font-size: 1.4rem; margin: 2rem 0 0; }
/* controllo finale 16/11: la testata non deve mai essere più larga dello schermo.
   Prima: a 390-399 px usciva di 6-9 px (Menu tagliato) e col testo a 130% di 99 px. Ora il nome va a capo
   e al telefono la testata ha misure fisse in px (i tasti sono già da 56 px), così «Bigger text» non la allarga. */
.logo { flex: 0 1 auto; min-width: 0; }
.logo span { white-space: normal; line-height: 1.05; }
.strumenti { flex: none; }
.s-esito { scroll-margin-top: 104px; } /* lo scorrimento al risultato non deve finire sotto la testata fissa */
@media (max-width: 759px) {
  .logo { font-size: 19px; }
  header .tasto { font-size: 18px; }
  .barra-sotto .btn { font-size: 18px; } /* barra fissa in basso: a 130% «Quiz» in francese usciva dal bordo */
  .bar { gap: 8px; }
}

/* ===== correzioni del CONTROLLO-FINALE (16/11/2026) ===== */
/* B2 e B3: la testata non cresce con «Bigger text» (misure in px) e sta in 360-430 px */
header .bar { gap: 8px; }
header .logo { font-size: 19px; flex: none; }
header .logo img { width: 44px; height: 44px; }
header .strumenti { gap: 6px; flex: none; }
header .tasto, header .btn, header summary { font-size: 17px; }
@media (max-width: 440px) { header .logo span { font-size: 16px; line-height: 1.05; max-width: 5.4em; white-space: normal; } }
@media (max-width: 330px) { header .logo span { display: none; } }
/* il menu a tendina c'è sempre (anche al computer: porta a tutte le pagine); i link in alto solo se c'è posto */
@media (min-width: 1180px) { details.tendina { display: block; } }
@media (min-width: 1180px) and (max-width: 1339px) { nav.menu { display: none !important; } header .strumenti { margin-left: auto; } }
.tendina-lista .contrasto-tasto { display: flex; gap: .6rem; align-items: center; min-height: 56px; padding: 0 .9rem; border-radius: 14px; border: 0; background: none; color: var(--testo); font-weight: 700; text-align: left; cursor: pointer; width: 100%; }
.tendina-lista .contrasto-tasto[aria-pressed="true"] { background: #f1eee6; }
/* bottone «Play» in basso a destra: non copre più il titolo della miniatura */
.lite-btn { left: auto !important; right: 16px; bottom: 16px; }
/* misure del brief: niente scritte sotto i 16 px, bottoni alti 56 px, bianco su rosso almeno 7:1 */
:root { --rosso: #a8150a; }
.video .q, .nota-video, .s-nota, .avviso-lingua, .nota-piccola, .paese .cosa, .paese .fonte, .fonte-truffa, .giorni span, .elenco-lez em { font-size: 1.05rem; }
.giornata .gg { font-size: 1.2rem !important; }
.altro, .filtri button, .capitoli a, .briciole a, .lingue-lista a, .tendina-lista a, .tendina-lista .lingue a, .w-bottoni a { min-height: 56px; }
/* controllo truffa: un dettaglio da guardare, non un allarme */
.s-debole { border-color: #4a4570; background: #f6f4ef; }
.s-debole .s-giudizio { color: var(--testo); }
.s-esito { scroll-margin-top: 104px; scroll-margin-bottom: 110px; }
.elenco-vuoto { font-size: 1.2rem; padding: 1rem 0; }
/* aiuto: le note italiane in testo normale, non tutto in grassetto sottolineato */
.paese .nota-riga { display: block; font-size: 1.05rem; font-weight: 400; color: #4a4570; margin-top: .15rem; }
.fratelli a { color: var(--testo); }
/* Leo e Rosa in apertura: via il riquadro chiaro attorno */
.hero .coppia { mix-blend-mode: multiply; }
/* lezioni: tasti finti almeno 44 px, riquadro «Who's behind this» alla misura delle altre pagine */
.tel [data-k="invia"], .tel [data-k="indietro"] { min-width: 44px; min-height: 44px; }
.pg-lezione .who { zoom: 1; }
.pg-lezione .who .w-nome { font-size: 1.3rem; }
/* galleria delle truffe */
.truffe { display: grid; gap: 1.4rem; margin-top: 1.4rem; }
.truffa h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .8rem; }
.truffa h3 { font-size: 1.25rem; margin: 1rem 0 .5rem; }
.esempio { background: #f6f4ef; border-left: 6px solid var(--corallo); border-radius: 14px; padding: .9rem 1.1rem; }
.esempio-tit { display: flex; gap: .4rem; align-items: center; font-weight: 800; font-size: 1rem; color: #4a4570; }
.esempio p { font-size: 1.15rem; font-style: italic; margin-top: .3rem; overflow-wrap: anywhere; }
.truffa .due { display: grid; gap: .5rem; }
@media (min-width: 800px) { .truffa .due { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.lista-segni { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.lista-segni li { display: flex; gap: .6rem; align-items: flex-start; }
.lista-segni .ico { color: #b4231a; margin-top: .25rem; }
.truffa-video { margin-top: 1rem; max-width: 520px; }
.fonte-truffa { margin-top: .8rem; color: #4a4570; }
.fonte-truffa a { color: #4a4570; }
/* contrasto forte (menu): bianco e nero, bordi neri, link sottolineati */
html[data-contrasto="alto"] { --sfondo: #fff; --testo: #000; --accento: #000; }
html[data-contrasto="alto"] body { background: #fff; color: #000; }
html[data-contrasto="alto"] header { background: #fff; border-bottom: 3px solid #000; }
html[data-contrasto="alto"] .palco, html[data-contrasto="alto"] .blocco-tel { background: #000; }
html[data-contrasto="alto"] :is(.giornata, .scheda, .video, .blocco.g-scams, .finale, .who, .passi li, .elenco-lez a, .capitoli a, .prossimo, .tasto, .filtri button, .esempio) { border: 3px solid #000 !important; background: #fff; }
html[data-contrasto="alto"] :is(.paese .cosa, .paese .fonte, .paese .nota-riga, .nota-video, .nota-piccola, .avviso-lingua, .video .q, .video .q.presto, .prossimo b, .fonte-truffa, .esempio-tit, .riga, .s-nota) { color: #000 !important; }
html[data-contrasto="alto"] main a:not(.btn):not(.video):not(.altro) { text-decoration: underline; color: #000; }
html[data-contrasto="alto"] .hero::before { display: none; }
/* bottoni dell apertura: col testo grande vanno a capo invece di uscire (DE, PT) */
.azioni .btn { white-space: normal; text-align: center; }

/* ===== secondo controllo (16/11/2026) ===== */
/* bloccante 2: il menu non esce mai dallo schermo, scorre dentro sé stesso; lingue e aiuto in cima */
.tendina-lista { max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; }
@supports not (height: 100dvh) { .tendina-lista { max-height: calc(100vh - 96px); } }
.tendina-lista .lingue { border-top: 0; margin-top: 0; padding-top: .3rem; border-bottom: 2px solid #f0edf7; padding-bottom: .6rem; margin-bottom: .3rem; }
.tendina-lista .voce-aiuto { color: #9b1c13; }
/* testata al computer: senza la riga dei link, solo strumenti a misura fissa */
header .strumenti { margin-left: auto !important; }
/* scheda video nel risultato truffa: al telefono miniatura sopra e testo sotto */
.s-video span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .s-video { flex-direction: column; align-items: stretch; } .s-video img { width: 100%; height: auto; } }
/* «Play»: al telefono sotto la miniatura, così non copre mai il titolo */
@media (max-width: 700px) {
  .lite { aspect-ratio: auto; background: none; overflow: visible; }
  .lite img { border-radius: 22px; aspect-ratio: 16/9; }
  .lite-btn { position: static !important; transform: none; display: flex; justify-content: center; margin-top: .6rem; width: 100%; box-shadow: none; }
}
/* misure piccole rimaste in home */
.punti { font-size: 1.05rem !important; }
.prossimo .gg small { font-size: 1rem; }
/* lezioni: altri tasti finti piccoli */
.tel [data-k="allega"], .tel [data-k="invia-foto"] { min-width: 44px; min-height: 44px; }
/* «Who's behind this»: stessa misura del testo in tutte le pagine (20 px) */
.who .w-testo p { font-size: 1.25rem; }
.pg-lezione .who .w-testo p { font-size: 1rem; }
/* contrasto forte: anche il campo del messaggio */
html[data-contrasto="alto"] .s-testo { border-color: #000; }
/* parole lunghe (DE, FR) col testo grande su schermi stretti: vanno a capo invece di allargare la pagina */
main :is(h1, h2, h3, p, li, .val, .cosa, .esempio p, .t) { overflow-wrap: break-word; }
/* il trattino a fine riga solo nel testo al telefono, mai nei titoli */
@media (max-width: 480px) { main :is(p, li, .val, .cosa, .esempio p) { hyphens: auto; } }
/* controllo finale 16/11: al telefono le istruzioni della lezione restano ferme sotto la testata del sito (in Prontofono
   stavano a top 0, dove qui c'è la testata) e sopra la barra dell'app finta (.ap-testata, z 10) che ci passava sopra */
@media (max-width: 860px) {
  body.pg-lezione > header { z-index: 12; }
  .pg-lezione .lez .lez-passi { top: 58px; z-index: 11; }
}

/* ===== terzo controllo (16/11/2026) ===== */
/* bloccante: col menu aperto la barra Subscribe/Quiz in basso sparisce (copriva «Strong contrast») */
body:has(details.tendina[open]) .barra-sotto, body.menu-aperto .barra-sotto { display: none !important; }
/* quiz a 320 px col testo grande: niente risposte tagliate, il punteggio va a capo */
.palco-testa { flex-wrap: wrap; row-gap: .5rem; }
.q-opzioni { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 521px) { .q-opzioni { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.q-op { min-width: 0; white-space: normal; overflow-wrap: break-word; hyphens: auto; }
/* al telefono stretto: meno margine e cerchio più piccolo, così le parole intere ci stanno */
@media (max-width: 400px) { .palco { padding-inline: .9rem; } .q-op { padding-inline: .7rem; gap: .45em; } .q-lettera { width: 1.5em; height: 1.5em; font-size: .8em; } }
/* FR /scam-check/ a 320 px: niente riquadri più larghi dello schermo */
.due-colonne { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .due-colonne { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scheda { min-width: 0; }
.barra-sotto .btn { min-width: 0; padding-inline: .8rem; }
/* tasti finti da toccare: almeno 44 px */
.tel :is([data-k="allega"], [data-k="invia-foto"], [data-k="vocale"], [data-k="videochiama"], [data-k="schermo"], [data-k="album"], [data-k="invia"], [data-k="indietro"]) { min-width: 44px !important; min-height: 44px !important; }
/* bottoni di «Who's behind this» alla stessa misura in tutte le pagine */
.pg-lezione .w-bottoni a { font-size: .84rem; }
.truffa-aiuto a { display: inline-flex; gap: .45rem; align-items: center; min-height: 48px; font-weight: 700; color: var(--testo); }

/* ===== quarto controllo (16/11/2026) ===== */
html[data-contrasto="alto"] :is(.tendina-lista, .lingue-lista) { border: 3px solid #000; }
html[data-contrasto="alto"] .tendina-lista .lingue { border-bottom-color: #000; }
/* ===== quinto controllo (16/11/2026) ===== */
html[data-contrasto="alto"] .tendina-lista .lingue a { border-color: #000; }
/* nel risultato del controllo truffa niente parole spezzate col trattino («ja- / mais») */
.s-esito :is(p, li) { hyphens: manual; }

/* ===== sesto controllo (16/11/2026) ===== */
/* B1: col contrasto forte il filtro scelto resta leggibile (prima bianco su bianco) */
html[data-contrasto="alto"] .filtri button[aria-pressed="true"] { background: #000 !important; color: #fff !important; border-color: #000 !important; }
html[data-contrasto="alto"] .filtri button[aria-pressed="false"] { background: #fff !important; color: #000 !important; }
.elenco-vuoto[hidden] { display: none; }

/* controllo 25/11: al telefono il riquadro dei passi (fermo in alto) era alto 352 px e il telefono finto finiva sotto.
   I tre tasti stanno su una riga sola, più bassi ma sempre ≥ 56 px: il riquadro scende a ~240 px. */
@media (max-width: 860px) {
  .pg-lezione .lez-tasti { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0; }
  .pg-lezione .lez-tasti .btn { flex-direction: column; gap: 2px; min-height: 56px; width: auto; padding: 6px 4px; font-size: .92rem; line-height: 1.15; text-align: center; white-space: normal; overflow-wrap: anywhere; hyphens: auto; }
  .pg-lezione .lez-testo { margin: 4px 0 4px; }
}

/* scheda da frigo (25/11): sullo schermo solo il tasto; in stampa solo la scheda scelta, numeri grandi */
.frigo-btn { width: 100%; justify-content: center; margin: .2rem 0 .6rem; font-size: 1rem; }
@media print {
  html.stampa-frigo body > *:not(#frigo-stampa) { display: none !important; }
  #frigo-stampa { display: block !important; font-family: 'Outfit', system-ui, sans-serif; color: #000; font-size: 13pt; padding: 0 2mm; }
  #frigo-stampa .fr-sito { font-size: 10pt; text-transform: uppercase; letter-spacing: .05em; margin: 0; }
  #frigo-stampa h2 { font-size: 22pt; margin: .15em 0 .35em; border-bottom: 2pt solid #000; padding-bottom: 4pt; }
  #frigo-stampa h3 { font-size: 14pt; margin: .7em 0 .2em; }
  .fr-numeri { list-style: none; padding: 0; margin: 0; }
  .fr-numeri li { display: flex; flex-direction: column; padding: 3pt 0; border-bottom: .75pt solid #999; break-inside: avoid; }
  .fr-numeri span { font-size: 10pt; } .fr-numeri b { font-size: 15pt; line-height: 1.2; }
  /* collaudo 01/12: la Francia (14 righe) usciva su due fogli; con più di 11 righe la scheda si stringe e resta su un A4 */
  .fr-tante li { padding: 1.5pt 0; } .fr-tante span { font-size: 9pt; } .fr-tante b { font-size: 13pt; line-height: 1.15; }
  .fr-regole { margin: 0; padding-left: 1.2em; } .fr-regole li { margin: .1em 0; font-size: 12pt; }
  .fr-riga { display: flex; gap: 8pt; align-items: flex-end; margin: .8em 0 0; font-size: 12pt; }
  .fr-riga span { flex: 1; border-bottom: 1pt solid #000; height: 18pt; }
  .fr-piede { margin-top: .8em; font-size: 9pt; }
}
@page { margin: 12mm; }
@media print {
}

/* controllo logica 25/11 */
/* «È una truffa?»: il risultato si porta in vista sotto la testata fissa e sopra la barra Iscriviti/Quiz */
.s-esito { scroll-margin-top: 84px; scroll-margin-bottom: 96px; }
/* lezioni al telefono: il riquadro fermo dei passi non copre mai più di ~58% dello schermo (il testo più lungo, passo 2 in tedesco, ci sta intero); se il testo è lungo scorre dentro */
@media (max-width: 860px) {
  .pg-lezione .lez .lez-passi { max-height: 58svh; overflow-y: auto; overscroll-behavior: contain; }
  .pg-lezione .lez-tel { scroll-margin-top: calc(58svh + 70px); }
}
/* collaudo 01/12: bersagli al tocco da almeno 44 px al telefono. Il logo era alto 35 px, i numeri d'aiuto (da toccare per chiamare!) 32 px,
   «Tutte le lezioni» nelle lezioni 35 px per lo zoom .8 */
header .logo { min-height: 44px; }
.paese .val { min-height: 44px; display: flex; align-items: center; padding: .15rem 0; }
/* nelle lezioni testata e briciole hanno zoom .8: 56 × .8 = 45 px veri (tema.css di Prontofono mette 44 con :not(.btn), più specifico) */
body.pg-lezione .briciole a:not(.btn), body.pg-lezione > header .logo { min-height: 56px; }

/* Strumenti riportati da Prontofono (16/11/2026): Easier reading, Real or scam?, schede da stampare, foto del messaggio.
   Design 7 «calmo»: fondo bianco, blu notte, rosso solo per Subscribe; scuole di verde/rosso solo nelle risposte del gioco. */

/* movimento ridotto scelto dall'utente in «Easier reading» (vale anche se il telefono non lo chiede) */
html[data-movimento="no"] *, html[data-movimento="no"] *::before, html[data-movimento="no"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* i bottoni principali blu notte (.sub-blu) qui dentro non hanno il margine in alto che hanno altrove */
.lm .sub-blu, .gioco .sub-blu, .briciole .sub-blu { margin-top: 0; }

/* ===== Easier reading ===== */
.lm { display: grid; gap: 1.4rem; margin-top: 1.4rem; }
.lm fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lm legend { font-size: 1.3rem; font-weight: 800; margin-bottom: .6rem; padding: 0; }
.lm-scelte { display: flex; flex-wrap: wrap; gap: .6rem; }
.lm-scelte .btn { min-height: 56px; font-size: 1.1rem; }
.lm-scelte .btn[aria-pressed="true"] { background: var(--testo); color: #fff; border-color: var(--testo); }
.lm-prova { font-size: 1.3rem; background: #f4f2ff; border-radius: 16px; padding: 1rem 1.2rem; margin: 0; }
.lm [data-ascolta] { justify-self: start; }

/* ===== Real or scam? ===== */
.gioco { margin-top: 1.2rem; }
.gioco h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.gioco .lead { font-size: 1.2rem; margin-top: .6rem; }
.gio-stato { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; font-weight: 800; margin: 1.2rem 0 .6rem; }
.gio-punti { color: var(--testo); }
.gio-msg { background: #fff; border: 3px solid var(--testo); border-radius: 20px; padding: 1.1rem 1.2rem; }
.gio-da { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0 0 .5rem; font-size: 1.05rem; }
.gio-tipo { color: #4a4570; }
.gio-testo { font-size: 1.3rem; margin: 0; overflow-wrap: anywhere; }
.gio-tasti { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.1rem; }
.gio-tasti .btn { flex: 1 1 220px; min-height: 60px; font-size: 1.2rem; }
.gio-spiega { margin-top: 1.1rem; border-radius: 20px; padding: 1.1rem 1.2rem; border: 3px solid; }
.gio-spiega.giusto { background: #eaf7ee; border-color: #157a3b; }
.gio-spiega.sbagliato { background: #fff1ee; border-color: #b3261e; }
.gio-spiega h2 { font-size: 1.5rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: 0 0 .5rem; }
.gio-spiega ul { margin: .3rem 0 .8rem 1.3rem; padding: 0; }
.gio-spiega li { margin: .2rem 0; }
.gio-spiega .btn { margin-top: .6rem; min-height: 56px; }
.gio-fine { margin-top: 1.1rem; background: #f4f2ff; border-radius: 20px; padding: 1.2rem; }
.gio-fine h2 { font-size: 1.6rem; margin: 0 0 .6rem; }
.gio-fine-tasti { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.gio-fine-tasti .btn { min-height: 56px; }

/* ===== foto del messaggio ===== */
.s-foto { cursor: pointer; display: inline-flex; gap: .5rem; align-items: center; justify-content: center; }
.s-foto:focus-within { outline: 4px solid var(--focus); outline-offset: 3px; }
.s-foto-stato { margin: .6rem 0 0; font-weight: 700; color: var(--testo); }
.s-foto-stato:empty { display: none; }

/* ===== schede da stampare ===== */
.schede-link { list-style: none; padding: 0; margin: .4rem 0 1.2rem; display: grid; gap: .6rem; }
@media (min-width: 800px) { .schede-link { grid-template-columns: 1fr 1fr; } }
.schede-link a { display: flex; gap: .6rem; align-items: center; min-height: 56px; padding: .6rem 1rem; border-radius: 16px; background: #fff; border: 2px solid #ece8e0; color: var(--testo); font-weight: 700; text-decoration: none; }
.schede-link a:hover { border-color: var(--testo); }
.schede-elenco h3 { font-size: 1.3rem; margin: 1.2rem 0 .3rem; }
.briciole.no-stampa { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.scheda-stampa { background: #fff; border: 2px solid #ece8e0; border-radius: 24px; padding: 1.6rem; max-width: 800px; }
.scheda-stampa h1 { font-size: 2.2rem; line-height: 1.1; margin: .3rem 0 .6rem; }
.scheda-sopra { font-weight: 800; color: #4a4570; margin: 0; }
.scheda-breve { font-size: 1.2rem; margin: 0 0 .8rem; }
.scheda-nota { background: #f4f2ff; border-radius: 14px; padding: .8rem 1rem; font-size: 1rem; }
.scheda-passi { list-style: none; padding: 0; margin: 1.2rem 0; counter-reset: p; display: grid; gap: 1rem; }
.scheda-passi li { counter-increment: p; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1rem; align-items: start; border: 2px solid #ddd8ee; border-radius: 18px; padding: .9rem 1rem; }
.scheda-passi li::before { content: counter(p); grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--testo); color: #fff; font-weight: 900; font-size: 1.3rem; display: grid; place-items: center; }
.scheda-passi li p { margin: 0; font-size: 1.2rem; }
.scheda-passi li .scheda-riga { grid-column: 2; font-size: .95rem; color: #4a4570; display: flex; gap: .5rem; align-items: flex-end; }
.scheda-riga span { flex: 1; border-bottom: 2px dotted #4a4570; min-height: 1.6em; }
.scheda-ricorda { font-size: 1.2rem; }
.scheda-piede { font-size: .95rem; color: #4a4570; margin-top: 1.4rem; }

@media print {
  header, footer, .salta, .barra-sotto, .no-stampa, .finale, .who, .tendina, [data-sub] { display: none !important; }
  body { background: #fff !important; padding: 0 !important; }
  .wrap { max-width: none; padding: 0; }
  .scheda-stampa { border: 0; padding: 0; }
  .scheda-nota { background: none; border: 1px solid #000; }
  .scheda-passi li { border-color: #000; break-inside: avoid; }
  .scheda-passi li::before { background: #000; color: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* contrasto forte */
html[data-contrasto="alto"] .lm-scelte .btn[aria-pressed="true"] { background: #000; border-color: #000; }
html[data-contrasto="alto"] :is(.gio-msg, .scheda-stampa, .schede-link a, .scheda-passi li) { border: 3px solid #000; }
html[data-contrasto="alto"] .gio-spiega.giusto { background: #fff; border-color: #000; }
html[data-contrasto="alto"] .gio-spiega.sbagliato { background: #fff; border-color: #000; }
html[data-contrasto="alto"] :is(.lm-prova, .gio-fine, .scheda-nota) { background: #fff; border: 3px solid #000; }

/* parole lunghe (indirizzi, e-mail, «criptovalute») non devono allargare le schede delle truffe al telefono col testo al 130% */
.truffa :is(li, p, .due > div), .gio-spiega :is(li, p) { min-width: 0; overflow-wrap: anywhere; }

/* galleria delle truffe per lingua */
.truffe-filtri { display: grid; gap: .6rem; margin: 1rem 0 .4rem; }
.truffe-filtri .filtri { margin-top: 0; }
.truffe { display: grid; gap: 1.2rem; margin-top: 1rem; }
.truffa[hidden] { display: none; }
.esempio-testo, .gio-testo { white-space: pre-line; }
.esempio-da { margin: .3rem 0 0; }
.truffa .fare { margin: 0; }
