/* TESSERA "GESTISCI TUTTO, OVUNQUE TU SIA" (19/11/2026 sera, staging, scelta utente: variante B delle anteprime; al posto di "Risultati reali").
   Un telefono sale dal fondo (maschera in basso) con la Home e l'icona vera dell'app (oplyo-192.png = apple-touch-icon dell'app): un tocco sull'icona e l'app si apre a tutto schermo con icona + lettering,
   poi torna alla Home (loop 8 s, solo CSS, nessun JS). Senza movimento: Home ferma, nessuna apertura. Prefisso .ia_ (libero in tutti i fogli; .ap_ e' di oplyo-ai.css). Testi: solo gain.c2_t / gain.c2_p (nessuna
   stringa nel visual: "9:41" e "Oplyo" sono UI del telefono). Le varianti A/C/D scartate sono in scratchpad (oplyo-ia.all-variants.css). Per tornare indietro: togliere il foglio e rimettere la tessera "Risultati reali" (§38 di oplyo-metrik.css e' ancora presente). */

html:root body .sec.control .gt_viz--ia { display: block; position: relative; height: 16rem; min-height: 16rem; overflow: hidden; }
.ia { position: absolute; inset: 0; --ia-ink: #171717; --ia-mut: #a8acb3; --ia-r: 22.4%; --T: 9s; }
.ia svg { display: block; }

/* icona dell'app (quella vera: oplyo-192.png, l'apple-touch-icon dell'app) */
.ia_ico { position: relative; display: block; width: var(--s, 3.5rem); aspect-ratio: 1; flex: none; border-radius: var(--ia-r); overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 .9rem 1.4rem -.5rem rgba(0, 0, 0, .75); }
.ia_ico img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.ia_ico::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(158deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 44%); }
/* app generiche: vetro con un glifo semplice */
.ia_g { position: relative; display: block; width: var(--s, 3.5rem); aspect-ratio: 1; border-radius: var(--ia-r); background: linear-gradient(158deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 0 0 1px rgba(255, 255, 255, .07), 0 .6rem 1rem -.5rem rgba(0, 0, 0, .65); }
.ia_g::before, .ia_g::after { content: ""; position: absolute; }
.ia_g--1::before { inset: 27%; border-radius: 50%; border: .14rem solid rgba(255, 255, 255, .42); }
.ia_g--2::before { left: 28%; right: 28%; top: 30%; height: .14rem; border-radius: .1rem; background: rgba(255, 255, 255, .42); box-shadow: 0 .55rem 0 rgba(255, 255, 255, .42), 0 1.1rem 0 rgba(255, 255, 255, .3); }
.ia_g--3::before { inset: 29%; border-radius: 28%; border: .14rem solid rgba(255, 255, 255, .42); }
.ia_g--4::before { left: 30%; bottom: 29%; width: 11%; height: 24%; border-radius: .1rem; background: rgba(255, 255, 255, .42); box-shadow: .42rem -.3rem 0 rgba(255, 255, 255, .42), .84rem -.62rem 0 rgba(255, 255, 255, .3); }
.ia_lw { display: grid; place-items: center; height: .8rem; }
.ia_lb { display: block; width: 2.1rem; height: .32rem; border-radius: .2rem; background: rgba(255, 255, 255, .2); }
.ia_nm { font: 500 .64rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif; color: #eceef1; letter-spacing: .005em; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }

/* ============================ B · il telefono sale dal fondo, tocco sull'icona, l'app si apre ============================ */
.ia--b { --T: 8s; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 98%); mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 98%); }
.ia--b .ia_ph { position: absolute; left: 50%; top: 1.5rem; width: 14.2rem; height: 30rem; margin-left: -7.1rem; padding: .38rem; border-radius: 2.7rem; box-sizing: border-box;
  background: linear-gradient(158deg, #6a6d75, #24262a 36%, #3a3d43 74%, #1d1e21);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 0 1px rgba(255, 255, 255, .16), 0 2.6rem 3.6rem -1rem rgba(0, 0, 0, .85), 0 0 4rem -1rem rgba(255, 255, 255, .2); }
.ia--b .ia_scr { position: relative; height: 100%; border-radius: 2.35rem; overflow: hidden; isolation: isolate;
  background: radial-gradient(78% 46% at 24% 0, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 62%), radial-gradient(60% 36% at 96% 36%, rgba(255, 255, 255, .11), rgba(255, 255, 255, 0) 70%), linear-gradient(172deg, #5d626e 0, #30333b 46%, #17181b 100%); }
.ia--b .ia_isl { position: absolute; z-index: 4; top: .55rem; left: 50%; width: 4rem; height: 1.15rem; margin-left: -2rem; border-radius: 1rem; background: #000; }
.ia--b .ia_sb { position: absolute; z-index: 3; top: .62rem; left: 1.35rem; right: 1.25rem; display: flex; align-items: center; justify-content: space-between; font: 600 .62rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif; color: #fff; }
.ia--b .ia_sb i { display: block; width: 1.05rem; height: .52rem; border-radius: .18rem; border: 1px solid rgba(255, 255, 255, .7); position: relative; }
.ia--b .ia_sb i::after { content: ""; position: absolute; inset: 1px 3px 1px 1px; border-radius: .08rem; background: #fff; }
.ia--b .ia_grid { position: absolute; left: .95rem; right: .95rem; top: 3.2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem .45rem; }
.ia--b .ia_app { display: grid; justify-items: center; gap: .26rem; }
.ia--b .ia_app .ia_g, .ia--b .ia_app .ia_ico { --s: 2.5rem; }
.ia--b .ia_app .ia_lw { height: .62rem; }
.ia--b .ia_app .ia_lb { width: 1.6rem; height: .28rem; }
.ia--b .ia_nm { font-size: .54rem; }
.ia--b .ia_tap { position: absolute; z-index: 3; left: 3.96rem; top: 3.0rem; width: 2.5rem; aspect-ratio: 1; border-radius: 50%; pointer-events: none; opacity: 0; background: rgba(255, 255, 255, .5); box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .22); }
.ia--b .ia_launch { position: absolute; z-index: 2; inset: 0; display: grid; align-content: start; justify-items: center; gap: .8rem; padding-top: 3.3rem; background: #000;
  clip-path: inset(3.2rem calc(100% - 6.5rem) calc(100% - 5.7rem) 4.0rem round .65rem); opacity: 0; }
.ia--b .ia_launch .ia_ico { --s: 4.2rem; box-shadow: none; background: none; border-radius: 0; }
.ia--b .ia_lt { display: block; width: 3.2rem; height: auto; filter: invert(1); opacity: .94; }
.ia--b .ia_launch .ia_ico::after { display: none; }
.ia--b .ia_launch .ia_ico img { transform: none; }
.ia--b .ia_ph { translate: 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .ia--b .ia_ph { animation: iafloat 6s ease-in-out infinite; }
  .ia--b .ia_tap { animation: iatap var(--T) linear infinite both; }
  .ia--b .ia_app--me .ia_ico { animation: iapress var(--T) linear infinite both; }
  .ia--b .ia_launch { animation: ialaunch var(--T) linear infinite both; }
  .ia--b .ia_launch .ia_ico, .ia--b .ia_lt { animation: iasplash var(--T) linear infinite both; }
}
@keyframes iafloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.32rem; } }
@keyframes iatap { 0%, 20% { opacity: 0; transform: scale(1.5); } 24% { opacity: 1; transform: scale(1); } 29% { opacity: 1; transform: scale(.82); } 34%, 100% { opacity: 0; transform: scale(1.1); } }
@keyframes iapress { 0%, 22% { transform: scale(1); } 27%, 30% { transform: scale(.9); } 36%, 100% { transform: scale(1); } }
@keyframes ialaunch {
  0%, 28%  { opacity: 0; clip-path: inset(3.2rem calc(100% - 6.5rem) calc(100% - 5.7rem) 4.0rem round .65rem); }
  29%      { opacity: 1; animation-timing-function: cubic-bezier(.3, .8, .2, 1); }
  40%, 72% { opacity: 1; clip-path: inset(0 0 0 0 round 2.35rem); animation-timing-function: cubic-bezier(.6, 0, .3, 1); }
  84%      { opacity: 1; clip-path: inset(3.2rem calc(100% - 6.5rem) calc(100% - 5.7rem) 4.0rem round .65rem); }
  85%, 100% { opacity: 0; clip-path: inset(3.2rem calc(100% - 6.5rem) calc(100% - 5.7rem) 4.0rem round .65rem); }
}
@keyframes iasplash { 0%, 36% { opacity: 0; transform: scale(.6); } 46%, 68% { opacity: 1; transform: scale(1); } 76%, 100% { opacity: 0; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .ia--b .ia_launch { display: none; } }
