/* ==========================================================================================================================================
   OPLYO · MOBILE PREMIUM (staging, 03/11/2026)
   Obiettivo: il mobile (picco di traffico) deve avere lo stesso livello del desktop "Metrik", gli STESSI contenuti, e portare l'utente alla CTA con meno attrito.
   Qui solo PRESENTAZIONE (spazi, dimensioni, superfici), solo <992px. Il desktop non e' toccato.
   Specificita' "html:root body" come oplyo-metrik.css (che questo file segue): l'ordine di caricamento dei fogli differiti non conta.
   Indice: M0 scala 90,25% · M1 header (CTA sempre visibile, barra pulita) · M2 menu a pannello pieno · M3 hero (+ meno vuoto sopra) · M4 banner cookie compatto (+ M4b orizzontale)
           M5 footer (rifatto 09/11: colonne, Legale a 2 colonne, lingua a griglia) · M6 dettagli (corpi minimi) · M7 RISULTATI = la stessa finestra .dbx del desktop come fila di card
   Tap target e micro-testi sono in PX (o max(rem, px)): la scala M0 riduce i rem, ma un bersaglio da tocco non deve scendere sotto ~44 px.
   ========================================================================================================================================== */

/* M0 · SCALA: sul mobile tutto sembrava "zoomato". Come sul desktop (radice 95% -> 85,5%), qui 95% -> 90,25% e --vs .95 -> .9025,
   cioe' ogni valore in rem o in calc(px * --vs) e' il 95% di prima (come Chrome al 95%). I valori in vw e i px puri non cambiano.
   Niente `zoom`: falserebbe i calcoli in px del JS delle demo. Questo foglio e' bloccante: la radice e' definitiva al primo paint (nessun salto). */
@media (max-width: 767px) {
  html:root { font-size: 90.25%; --vs: .9025; }
}

/* M1 · HEADER mobile: logo | burger. "Accedi" e "Inizia ora" non stanno piu' nella barra (10/11): sono nel menu a tutto schermo; "Inizia ora" resta anche nell'hero. */
@media (max-width: 991px) {
  html:root body .hd .hd_in { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
  html:root body .hd .hd_act { display: none; }
  html:root body .hd .hd_burger { width: 44px; height: 44px; }
  html:root body .hd .hd_brand { gap: .5rem; }
  /* barra pulita su qualsiasi fondo: il vetro al 78-86% (metrik §header) sopra le bande grafite diventava un grigio sporco a gradiente (si vedeva il bordo della sezione sotto la barra).
     Qui quasi opaca (96%) e uniforme: sopra il chiaro resta bianca, sopra il grafite non si sporca; filo + ombra morbida in basso. Solo < 992 px (il desktop e' invariato). */
  html:root body .hd, html:root body .hd.is-scrolled {
    background: rgba(252, 252, 252, .96); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, .07); box-shadow: 0 10px 22px -18px rgba(0, 0, 0, .3);
  }
}

/* M2 · MENU: ora e' l'overlay a tutto schermo (stili in oplyo-nav.css, valido anche per pagine legali e 404) */

@media (max-width: 767px) {
  /* M3 · HERO ---------------------------------------------------------------------------------------------------------------------------- */
  /* titolo: scala col viewport cosi' sta in 3 righe da 320 a 430 px; vale anche per gli span (type.css da' loro una dimensione propria) */
  html:root body .hero--demo .hero_title, html:root body .hero--demo .hero_title .ht-ig, html:root body .hero--demo .hero_title .ht-ai,
  html:root body .hero--demo .hero_title .ht-ai * { font-size: clamp(1.65rem, 8.7vw, 2.3rem); }
  /* meno vuoto fra header e prima riga (erano ~52 px): su telefoni da 640-667 px di altezza il banner cookie copriva meta' della CTA principale; ora la CTA resta sopra il banner da 360x640 in su */
  html:root body .hero--demo { padding-top: calc(60px + 2.25rem); }
  html:root body .hero--demo .hero_rated { margin-bottom: .8125rem; }   /* piu' aria sotto l'header, compensata sotto la pillola: la CTA resta sopra il banner cookie a 360x640 */
  html:root body .hero--demo .hero_cta { gap: .625rem; }
  html:root body .hero--demo .hero_cta .btn { min-height: 50px; font-weight: 600; }
  html:root body .hero--demo .hero_cta .btn--ghost { min-height: 46px; font-weight: 500; }

  /* fiducia: stessa pillola del desktop, tre celle uguali con filetti (check sopra, testo sotto) invece di due righe sparse */
  html:root body .hero--demo .trust {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; max-width: 24rem; margin-inline: auto;
    padding: .625rem .25rem; border-radius: 1.125rem; background: rgba(255, 255, 255, .9);   /* niente backdrop-filter su mobile: su fondo chiaro non si vede e costa GPU */
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04), 0 14px 28px -18px rgba(0, 0, 0, .2);
  }
  html:root body .hero--demo .trust li {
    position: relative; flex-direction: column; justify-content: flex-start; align-items: center; gap: .3125rem; padding: .125rem .5rem;
    font-size: max(.8125rem, 12px); line-height: 1.25; font-weight: 500; letter-spacing: -.005em; text-align: center; white-space: normal; text-wrap: balance; color: #404040;
  }
  html:root body .hero--demo .trust li + li::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: rgba(0, 0, 0, .1); }
  html:root body .hero--demo .trust svg { width: 1rem; height: 1rem; }
}

/* M3b · HERO su schermi BASSI (<= 700 px di altezza utile: iPhone SE/8, Android 360x640, browser interno di Instagram/Facebook che toglie ~170 px): al primo accesso il banner
   cookie (~170 px) e poi la barra WhatsApp (68 px) coprivano "Inizia ora". Con barra promo (40) + header (58) il primo schermo utile e' ~330-400 px: si stringono solo spazi e
   corpo del sottotitolo (stessi testi, stessi pulsanti), cosi' titolo + CTA primaria restano sopra il banner da 360x640 in su. */
@media (max-width: 767px) and (max-height: 700px) {
  html:root body .hero--demo { padding-top: calc(60px + 1.25rem); }
  html:root body .hero--demo .hero_rated { margin-bottom: .5rem; }
  html:root body .hero--demo .hero_sub { margin-top: .625rem; font-size: max(15.5px, 1.04rem); line-height: 1.42; }
  html:root body .hero--demo .hero_cta { margin-top: .875rem; }
}

/* M4 · BANNER COOKIE compatto: prima occupava ~190 px e su telefoni da 667-740 px copriva le CTA della hero finche' non si sceglieva.
   Testi, tre azioni di pari peso e tutti i link restano identici (parita' di consenso): cambiano solo spazi e corpo testo (px: leggibile anche con la scala M0). */
@media (max-width: 640px) {
  html:root body .cmp_bar { padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); }
  html:root body .cmp h2 { margin: 0 0 4px; font-size: 15px; line-height: 1.2; }
  html:root body .cmp_bar p { font-size: 12.5px; line-height: 1.4; }
  html:root body .cmp_bar .cmp_actions { margin-top: 10px; gap: 6px; }
  html:root body .cmp_bar .cmp_btn { min-height: 44px; padding-block: 6px; font-size: 13px; }   /* 44 px = bersaglio minimo del progetto (test consent), come oplyo-cmp.css */
}

/* M4b · BANNER COOKIE in orizzontale (telefono girato, 641-991 px di larghezza e meno di 520 di altezza): la scheda flottante da 420 px copriva il titolo della hero.
   Diventa una barra bassa a due colonne (testo | tre azioni). Stessi testi, stesse tre azioni di pari peso. */
@media (min-width: 641px) and (max-height: 520px) {
  html:root body .cmp_bar { left: 0; right: 0; bottom: 0; width: auto; max-width: none; margin: 0; border-radius: 16px 16px 0 0; border-bottom: 0;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; }
  html:root body .cmp h2 { grid-column: 1; margin: 0 0 2px; font-size: 14px; line-height: 1.2; }
  html:root body .cmp_bar p { grid-column: 1; margin: 0; font-size: 12px; line-height: 1.35; }
  html:root body .cmp_bar .cmp_actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 6px; }
  html:root body .cmp_bar .cmp_btn { min-height: 40px; padding: 6px 14px; font-size: 13px; white-space: nowrap; }
}

/* M5 · FOOTER (rifatto 09/11): le colonne del desktop (Prodotto · Supporto · Legale) in due colonne + "Legale" a due colonne, titoli di colonna a 15 px (21/11: non piu' in maiuscoletto), selettore lingua a griglia 3 x 2
   a tutta larghezza (prima: pillola a capo su due righe con il globo da solo sopra), fine print piu' leggibile. Testi, link e ordine invariati. */
@media (max-width: 767px) {
  html:root body .ft_top { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 1.25rem; row-gap: 1.25rem; }   /* seconda colonna piu' larga: "Informativa sulla privacy" sta su una riga */
  html:root body .ft .ft_col { gap: 0; }
  html:root body .ft .ft_col > p { margin: 0 0 .125rem; font-size: 15px; line-height: 1.4; font-weight: 500; letter-spacing: normal; text-transform: none; color: #737373; }
  html:root body .ft .ft_col a, html:root body .ft .ft_col .ft_cmp { min-height: 44px; padding-block: 0; display: inline-flex; align-items: center; }
  html:root body .ft .ft_col:last-child { grid-column: 1 / -1; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 1.25rem; }
  html:root body .ft .ft_col:last-child > p { grid-column: 1 / -1; }
  html:root body .ft_low { margin-top: 1.5rem; padding-top: 1.25rem; gap: 1rem; align-items: stretch; }
  html:root body .ft_low > p { color: #6f6f6f; }
  html:root body .ft_lang { width: 100%; }
  html:root body .ft_lang ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; width: 100%; padding: 3px; border-radius: 1.125rem; }
  html:root body .ft_lang li { display: flex; min-width: 0; }
  html:root body .ft_lang a, html:root body .ft_lang [aria-current] { flex: 1; justify-content: center; gap: .4rem; min-height: 42px; padding: 0 .4rem; border-radius: .875rem; font-size: 13px; line-height: 1.2; }
  html:root body .ft_disc { margin-top: 1rem; font-size: 12px; line-height: 1.6; color: #767676; }
}

/* M6 · DETTAGLI: micro-testi a >= 11,5 px dove sono testo vero (le illustrazioni dell'app restano in scala) */
@media (max-width: 767px) {
  html:root body .tg_tags li { font-size: 11.5px; }
  html:root body .lt_l { font-size: 11px; }                     /* mini-interfaccia "Configurazione personalizzata": etichette e chip leggibili anche dopo la scala */
  html:root body .lt_chips span { font-size: 12px; }
  html:root body .seg_badge { font-size: max(11.5px, .72rem); }  /* "2 mesi gratis" nel selettore Mensile/Annuale */
}

/* M8 · BARRA WHATSAPP in basso (<992): 46px con icona da 28px e testi da 13/11,5px sembrava una striscia minuscola. Ora 68px: icona verde 40px, titolo 15px, seconda riga 13px,
   freccia in pallina scura come sul desktop; testo allineato a sinistra e a tutta larghezza (tocco comodo). --wa-h guida padding del body e posizione della CTA sticky. */
@media (max-width: 991px) {
  html:root { --wa-h: calc(68px + env(safe-area-inset-bottom, 0px)); --m-wa-h: var(--wa-h); }
  html:root body .wa { height: var(--wa-h); padding-top: 0; padding-inline: max(14px, env(safe-area-inset-left, 0px)) max(14px, env(safe-area-inset-right, 0px)); justify-content: flex-start; gap: 12px;
    background: linear-gradient(180deg, #fff, #fafafa); box-shadow: 0 -10px 28px -14px rgba(0, 0, 0, .28); }
  html:root body .wa .wa_ic { width: 42px; height: 42px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 4px rgba(0, 80, 30, .25), 0 6px 12px -6px rgba(17, 162, 74, .65); }
  html:root body .wa .wa_tx { flex: 1 1 auto; gap: 3px; }
  html:root body .wa .wa_tx b { font-size: 15px; letter-spacing: -.01em; }
  html:root body .wa .wa_tx small { font-size: 13px; }
  html:root body .wa .wa_go { width: 36px; height: 36px; background: linear-gradient(180deg, #333, #171717); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 5px 9px -5px rgba(0, 0, 0, .5); }
  html:root body .wa .wa_go svg { width: 46%; height: 46%; color: #fff; }
}

/* M8b · schermi stretti (<=380) e lingue lunghe: niente pallina scura (resta la freccia), il testo puo' andare a capo invece di finire con i puntini */
@media (max-width: 380px) {
  html:root body .wa { gap: 10px; padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px)); }
  html:root body .wa .wa_ic { width: 38px; height: 38px; }
  html:root body .wa .wa_go { width: auto; height: auto; background: none; box-shadow: none; }
  html:root body .wa .wa_go svg { width: 18px; height: 18px; color: var(--ink-3); }
  html:root body .wa .wa_tx b, html:root body .wa .wa_tx small { white-space: normal; overflow: visible; text-overflow: clip; }
  html:root body .wa .wa_tx b { font-size: 14.5px; line-height: 1.2; }
  html:root body .wa .wa_tx small { font-size: 12.5px; line-height: 1.25; }
}
@media (max-width: 340px) { html:root { --wa-h: calc(80px + env(safe-area-inset-bottom, 0px)); } }

/* M9 · NOTIFICA INSTAGRAM nel telefono hero (<768): come su un iPhone vero. Il layer sta DENTRO lo schermo (JS nPlace), ritagliato dai bordi arrotondati; il banner e' largo quanto lo schermo
   meno un filo di margine, sta sotto la Dynamic Island e SCENDE dall'alto (poi risale), invece di galleggiare sopra il telefono. Nessun blur d'entrata ne' floating. */
@media (max-width: 767px) {
  html:root body .hero--demo .hp_screen > .hn_layer { position: absolute; inset: 0; z-index: 6; overflow: hidden; border-radius: inherit; pointer-events: none; perspective: none; }
  html:root body .hero--demo .hp_screen > .hn_layer .hn {
    left: 5px; right: 5px; width: auto; top: calc(37px * var(--vs)); bottom: auto; rotate: none; translate: none; animation: none; filter: none; will-change: transform;
    gap: 8px; padding: 8px 10px 8px 8px; border-radius: calc(26px * var(--k));
    opacity: 1; transform: translate3d(0, calc(-100% - 60px), 0);
    transition: transform .42s cubic-bezier(.5, 0, .75, .35);                      /* uscita: risale accelerando */
  }
  html:root body .hero--demo .hp_screen > .hn_layer .hn.is-in { transform: translate3d(0, 0, 0); transition: transform .72s cubic-bezier(.2, 1.05, .3, 1); }   /* entrata: scende con un filo di molla */
  html:root body .hero--demo .hp_screen > .hn_layer .hn_ic { width: 28px; height: 28px; border-radius: 22.4%; }
  html:root body .hero--demo .hp_screen > .hn_layer .hn_h b { font-size: 11.5px; }
  html:root body .hero--demo .hp_screen > .hn_layer .hn_h em { font-size: 10px; }
  html:root body .hero--demo .hp_screen > .hn_layer .hn_ac { font-size: 11px; line-height: 1.25; -webkit-line-clamp: 3; }
  html:root body .hero--demo .hp_screen > .hn_layer .hn_th { width: 30px; height: 30px; border-radius: 6px; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  html:root body .hero--demo .hp_screen > .hn_layer .hn { transition: none; }
}

/* M7 · "MONITORA LE TUE STATISTICHE" (< 992 px): la STESSA composizione del desktop (19/11, costellazione ad arco su grigio perla): le 4 card reali di vetro (Crescita, Citta', Genere, Eta'), senza telefono
   ne' finestra, stesso box 424 x 392u, stesso contenuto, stesso vetro. TELEFONO (< 700 px): la tela e' IDENTICA a quella del desktop (stesse posizioni in u, stessa scala .82, stesse inclinazioni rotateY/rotateZ,
   stesso arco: interne in alto, esterne piu' basse) e si scorre col dito da destra a sinistra (scroll-snap, la card successiva fa capolino). TABLET (700-991 px): 2 x 2 con inclinazione alternata.
   Niente camera ne' scorrimento verticale interno. Ogni card entra quando la sezione e' in vista (modulo [data-dbx] in oplyo-ai.js, enterAll).
   (Prima, dal 10/11: smartphone con la dashboard di 8 card che scorreva dentro; backup in scratchpad ec31d814 bak/oplyo-mkm.before-rsarc.css.) */
@media (max-width: 991.98px) {
  html:root body .rs_phone, html:root body .rs_lap { display: none; }
  html:root body .rs_ph::before, html:root body .rs_ph::after { display: none; }
  html:root body .rs_comp { display: block; width: 100%; padding: 0; overflow: visible; background: none; border: 0; box-shadow: none; }
  html:root body .rs_comp > .rsd { display: none; }
  html:root body .dbx { display: block; }
  html:root body .dbx_stage { position: relative; width: 100%; margin-inline: auto; padding: 0; }
  html:root body .dbx_scr { position: relative; z-index: 1; transform: none; }
  /* via finestra, isola, barra dell'app: come sul desktop */
  html:root body .dbx_win { padding: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
  html:root body .dbx_win::after, html:root body .dbx_hdr, html:root body .dbx_bar, html:root body .dbx_vp::before { display: none; }
  html:root body .dbx_vp { position: relative; display: block; overflow: visible; container-type: inline-size; aspect-ratio: auto; background: none; border-radius: 0; box-shadow: none; }
  html:root body .dbx_cv { position: relative; left: auto; top: auto; box-sizing: border-box; transform: none; transition: none; will-change: auto; padding: 0; touch-action: auto; }
  /* le griglie dell'app spariscono: le card diventano elementi della tela */
  html:root body .dbx_cv .dx-ov2, html:root body .dbx_cv #dx-main-content, html:root body .dbx_cv .dx-route-content, html:root body .dbx_cv .dx-ov2-grid { display: contents; }
  /* solo le 4 card dell'arco: via testata profilo, Attivita' in tempo reale e Origine (come sul desktop) */
  html:root body .dbx_cv .dx-profile-card, html:root body .dbx_cv .dx-ov2-livefeed-card, html:root body .dbx_cv .dx-ov2-geo-card { display: none !important; }

  /* vetro identico al desktop (misure in u; niente blur dietro: lo sfondo e' un grigio uniforme e il filtro costa GPU sui telefoni) */
  html:root body .sec.rs .dbx_cv.dx-pg .dx-ov2 .dx-overview-content .dx-card {
    position: relative; grid-column: auto; grid-row: auto; margin: 0; min-width: 0; box-sizing: border-box; scale: 1; transform-origin: 50% 50%;
    width: calc(var(--dxu) * 424) !important; height: calc(var(--dxu) * 392) !important;
    background: linear-gradient(150deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .34)) !important; border: 1px solid rgba(255, 255, 255, .9) !important; border-radius: calc(var(--dxu) * 22) !important;
    box-shadow: 0 calc(var(--dxu) * 46) calc(var(--dxu) * 80) calc(var(--dxu) * -38) rgba(30, 30, 50, .34), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    transition: opacity .9s ease, translate .9s cubic-bezier(.2, .7, .2, 1) !important;
    translate: 0 0;
  }
  /* ingresso: dissolvenza + piccola salita (la trasformazione 3D e' fissa: si anima la proprieta' `translate`) */
  html:root body .sec.rs .dbx_cv.is-anim .dx-ov2 .dx-overview-content .dx-card:not(.is-in) { translate: 0 calc(var(--dxu) * 24); }
}

/* indicatore dell'arco scorrevole (creato dal modulo [data-dbx] solo su telefono): 4 puntini decorativi, quello attivo e' la card piu' vicina al centro */
html:root body .rs_dots { display: none; }

/* TELEFONO (< 700 px): l'arco del desktop, scorrevole in orizzontale. Tela 1480u a tutta larghezza di schermo (il vano esce dai margini della pagina). --rsu = unita' (card visiva 76% dello schermo, max 21rem, / 348u: la vicina fa capolino di ~55 px). I margini laterali (50vw - 200u) mettono al CENTRO dello schermo
   anche la prima e l'ultima card (il loro centro dista 200u dal bordo della tela): ogni card si ferma esattamente a meta' schermo. */
@media (max-width: 699.98px) {
  html:root body .dbx_vp {
    --rsu: calc(min(76vw, 21rem) / 348); margin-inline: calc(var(--gut, 16px) * -1); padding-inline: calc(50vw - 200 * var(--rsu)); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pan-y;
  }
  html:root body .dbx_vp::-webkit-scrollbar { display: none; }
  /* SCORRIMENTO: il grafico di Crescita dell'app ha `touch-action: pan-y` (serve a spostare la linguetta col dito nell'app vera): su questa striscia diceva al browser di ignorare ogni trascinamento
     orizzontale che partiva sopra il grafico, cioe' sulla maggior parte della prima card. Qui deve passare allo scroller. */
  html:root body .dbx_cv .dx-ov2-fchart, html:root body .dbx_cv .dx-card, html:root body .dbx_cv .dx-card * { touch-action: pan-x pan-y; }
  html:root body .rs_dots { display: flex; justify-content: center; align-items: center; gap: 8px; height: 8px; margin-top: 4px; }
  html:root body .rs_dots i { display: block; width: 7px; height: 7px; border-radius: 99px; background: rgba(23, 23, 23, .2); transition: width .35s cubic-bezier(.2, .7, .2, 1), background-color .35s ease; }
  html:root body .rs_dots i.is-on { width: 22px; background: #171717; }
  html:root body .dbx_cv { --dxu: var(--rsu); display: block; width: calc(var(--dxu) * 1480); height: calc(var(--dxu) * 450); }
  html:root body .sec.rs .dbx_cv.dx-pg .dx-ov2 .dx-overview-content .dx-card { position: absolute; scale: .82; scroll-snap-align: center; scroll-snap-stop: always; }   /* always: un flick veloce non salta card, ne avanza una alla volta */
  /* CARD DRITTE (22/11, richiesta utente: "su mobile mettile dritte, senza forma ad arco"): stessa fila orizzontale scorrevole, ma tutte alla stessa altezza e SENZA inclinazione (niente
     inclinazioni 3D, niente dislivello fra card interne ed esterne). Posizioni orizzontali invariate (passo ~358u: le card non si sovrappongono), scatto al centro e puntini come prima.
     Solo telefono (< 700 px): desktop (arco) e tablet (2 x 2) non cambiano. Prima: top 17/-13/-13/17u, rotateZ -8/-3/3/8deg e rotateY +-7/+-3deg. */
  html:root body .sec.rs .dbx_cv.dx-pg .dx-ov2 .dx-overview-content .dx-ov2-followers-card { left: calc(var(--dxu) * -12) !important; top: calc(var(--dxu) * 10) !important; transform: none !important; z-index: 2; }
  html:root body .sec.rs .dbx_cv.dx-pg .dx-ov2 .dx-overview-content .dx-card:has(#dx-citiesChart) { left: calc(var(--dxu) * 346) !important; top: calc(var(--dxu) * 10) !important; transform: none !important; z-index: 2; }
  html:root body .sec.rs .dbx_cv.dx-pg .dx-ov2 .dx-overview-content .dx-card:has(#dx-genderChart) { left: calc(var(--dxu) * 710) !important; top: calc(var(--dxu) * 10) !important; transform: none !important; z-index: 2; }
  html:root body .sec.rs .dbx_cv.dx-pg .dx-ov2 .dx-overview-content .dx-card:has(#dx-age-ranges) { left: calc(var(--dxu) * 1068) !important; top: calc(var(--dxu) * 10) !important; transform: none !important; z-index: 2; }
}

/* TABLET (700-991 px): 2 x 2, stessa card, inclinazione alternata */
@media (min-width: 700px) and (max-width: 991.98px) {
  html:root body .dbx_cv {
    --dxu: calc(min((100cqw - 24px - 28px) / 2, 26rem) / 424);
    display: grid; grid-template-columns: repeat(2, calc(var(--dxu) * 424)); justify-content: center; align-content: start; row-gap: calc(var(--dxu) * 44); column-gap: 28px;
    width: auto; height: auto; padding: calc(var(--dxu) * 20) 0 calc(var(--dxu) * 36);
  }
  html:root body .sec.rs .dbx_cv.dx-pg .dx-ov2 .dx-overview-content .dx-ov2-followers-card { order: 1; transform: scaleX(.9976) rotate(-2.4deg) !important; }
  html:root body .sec.rs .dbx_cv.dx-pg .dx-ov2 .dx-overview-content .dx-card:has(#dx-citiesChart) { order: 2; transform: scaleX(.9976) rotate(2.4deg) !important; }
  html:root body .sec.rs .dbx_cv.dx-pg .dx-ov2 .dx-overview-content .dx-card:has(#dx-genderChart) { order: 3; transform: scaleX(.9976) rotate(-2.4deg) !important; }
  html:root body .sec.rs .dbx_cv.dx-pg .dx-ov2 .dx-overview-content .dx-card:has(#dx-age-ranges) { order: 4; transform: scaleX(.9976) rotate(2.4deg) !important; }
}

/* --- M8 (10/11) Assistenza premium dedicata, chat su mobile --------------------------------------------------------------------------------------------------
   Sotto i 768px le bolle erano a 11,5px con 8px di padding verticale: 29-43px di altezza, "schiacciate", e nella finestra ne stavano solo tre. Qui: corpo piu' grande, bolle piu' alte e piu' respirate
   (padding verticale ~11px, angoli 1.2em), finestra piu' alta cosi' restano visibili 3 bolle intere + l'inizio della precedente, ritmo fra i messaggi regolare. Solo misure: l'animazione (22 s) e' invariata. */
@media (max-width: 767px) {
  html:root body .sec.control .gt_viz--sup { height: 18.5rem; }
  html:root body .sec.control .sp_st { width: min(100%, 25rem); font-size: .92rem; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 2.6em); mask-image: linear-gradient(180deg, transparent 0, #000 2.6em); }
  html:root body .sec.control .sp_ch { padding-bottom: .35em; }
  html:root body .sec.control .sp_m { max-width: 86%; margin: .2em .5em .95em; padding: .85em 1.15em; font-size: 1em; line-height: 1.38; border-radius: 1.15em; text-wrap: pretty; }
  html:root body .sec.control .sp_m--q { gap: .6em; border-bottom-right-radius: .35em; }
  html:root body .sec.control .sp_m--a { border-bottom-left-radius: .35em; }
  html:root body .sec.control .sp_ty { padding: 1.05em 1.2em; border-bottom-left-radius: .35em; }
  html:root body .sec.control .sp_ty i { width: .5em; height: .5em; }
}

/* M11 · CTA a metà pagina a tutta larghezza (<= 767 px). Hero, "Ideato per persone come te", prezzi e chiusura hanno gia' il pulsante a 316-359 px; dopo "Monitora le tue
   statistiche" e dentro "Risultati reali" restava una pillola da 132 px, piu' piccola e piu' lontana dal pollice. Stesso pulsante, stesso link: cambia solo la larghezza. */
@media (max-width: 767px) {
  html:root body .sec.rs .rs_end .btn, html:root body .sec.guar .gu_cta .btn { width: 100%; align-self: stretch; justify-self: stretch; }
}
