
    /* Footer GDPR */
    .footerInner.footerGdpr{ align-items:flex-start; }
    .footerLeft{ display:flex; flex-direction:column; gap:6px; min-width:0; }
    .footerLinks{ display:flex; flex-wrap:wrap; gap:10px; }
    .footerLink{
      font-size:10px;
      color:rgba(15,23,42,.66);
      font-weight:520;
      text-decoration:none;
      -webkit-tap-highlight-color:transparent;
      user-select:none;
      white-space:nowrap;
    }
    .footerLink:hover{ text-decoration:underline; }
    .footerLink:active{ opacity:.85; text-decoration:underline; }

    @media (max-width:520px){
      .footerLinks{ gap:8px; }
      .footerLink{ font-size:9.5px; }
    }

    /* Auth overlay: split login */
    .authHeaderRow{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
    }
    .authBrand{
      display:flex;
      align-items:center;
      gap:14px;
    }
    .authLogo{
      width:56px;
      height:56px;
      border-radius:16px;
      border:1px solid rgba(0,0,0,.10);
      background:#fff;
      object-fit:contain;
    }
    .authHeading{
      margin:0;
      font-size:clamp(26px,3.2vw,36px);
      line-height:1.1;
      font-weight:920;
      letter-spacing:-.02em;
      color:rgba(12,16,26,.95);
    }
    .authHeading span{
      color:rgba(15,23,42,.55);
      font-weight:800;
    }
    .authClose{
      position:fixed;
      top:calc(12px + var(--safe-top));
      right:calc(12px + var(--safe-right));
      z-index:20010;
      width:40px;
      height:40px;
      border-radius:12px;
      border:1px solid rgba(0,0,0,.10);
      background:rgba(0,0,0,.03);
      font-weight:950;
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
      user-select:none;
      flex:0 0 auto;
    }
    .authClose:active{ transform:scale(.985); filter:brightness(.98); }

    .authDivider{
      display:flex;
      align-items:center;
      gap:12px;
      font-size:11px;
      font-weight:850;
      letter-spacing:.16em;
      text-transform:uppercase;
      color:rgba(15,23,42,.45);
    }
    .authDivider::before,
    .authDivider::after{
      content:"";
      flex:1;
      height:1px;
      background:rgba(15,23,42,.12);
    }
    .authForm{
      display:flex;
      flex-direction:column;
      gap:14px;
    }
    
    .authOtpLinks{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      margin-top:-4px;
    }
    .authTextLink{
      border:none;
      background:transparent;
      color:rgba(10,132,255,.98);
      font-weight:900;
      font-size:13px;
      cursor:pointer;
      padding:6px 10px;
      border-radius:10px;
      transition:background .2s ease, transform .12s ease;
      -webkit-tap-highlight-color:transparent;
    }
    .authTextLink:hover{ background:rgba(10,132,255,.10); }
    .authTextLink:active{ transform:scale(.985); background:rgba(10,132,255,.14); }
    .authDot{ color:rgba(15,23,42,.38); font-weight:900; }
.authField{
      display:flex;
      flex-direction:column;
      gap:6px;
    }
    .authLabel{
      font-size:12px;
      font-weight:850;
      color:rgba(15,23,42,.55);
      margin-top:2px;
    }
    .authInput{
      width:100%;
      border:1px solid rgba(0,0,0,.10);
      background:rgba(255,255,255,.85);
      padding:12px 12px;
      border-radius:12px;
      font-weight:850;
      font-size:14px;
      letter-spacing:-.01em;
    }
    .authInput:focus{
      outline:none;
      border-color:rgba(10,132,255,.55);
      box-shadow:0 0 0 4px rgba(10,132,255,.12);
      background:rgba(255,255,255,.96);
    }
    .authPrimaryBtn{
      border:none;
      width:100%;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      padding:13px 14px;
      border-radius:12px;
      font-weight:950;
      background:linear-gradient(180deg,rgba(10,132,255,.98),rgba(10,132,255,.86));
      color:#fff;
      box-shadow:0 14px 34px rgba(10,132,255,.22), 0 2px 10px rgba(15,23,42,.08);
      cursor:pointer;
      transition:transform .12s ease, filter .2s ease, box-shadow .2s ease;
      -webkit-tap-highlight-color:transparent;
      user-select:none;
    }
    .authPrimaryBtn:active{ transform:scale(.985); filter:brightness(.98); }
    .authPrimaryBtn:disabled{
      opacity:.55;
      cursor:default;
      transform:none;
      filter:none;
      box-shadow:0 10px 22px rgba(15,23,42,.10);
    }
    .authSwitch{
      font-size:13px;
      font-weight:850;
      color:rgba(10,132,255,.95);
      text-decoration:none;
    }
    .authSwitch:hover{ text-decoration:underline; }
    .authTerms{
      font-size:11px;
      color:rgba(15,23,42,.45);
      line-height:1.4;
    }
    .authTerms a{
      color:rgba(10,132,255,.9);
      text-decoration:none;
      font-weight:850;
    }
    .authTerms a:hover{ text-decoration:underline; }

    .authFoot.ok{ color:rgba(52,199,89,.92); font-weight:850; }
    .authFoot.err{ color:rgba(255,59,48,.92); font-weight:850; }

    /* Legal overlay (Sicurezza e Trasparenza) */
    .legalOverlay{
      position:fixed;
      inset: var(--fixed-header-h) 0 var(--fixed-footer-visual-h) 0;
      z-index:9999;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:16px calc(14px + var(--safe-right)) 16px calc(14px + var(--safe-left));
      background:rgba(15,23,42,.45);
      backdrop-filter: blur(10px);
      opacity:0;
      pointer-events:none;
      transition: opacity .18s ease;
    }
    .legalOverlay[aria-hidden="false"]{ opacity:1; pointer-events:auto; }
    .legalShell{
      width:min(860px, 96vw);
      max-height:100%;
      border-radius:22px;
      border:1px solid rgba(0,0,0,.10);
      background:rgba(255,255,255,.96);
      box-shadow:0 30px 90px rgba(0,0,0,.24);
      padding:16px;
      display:flex;
      flex-direction:column;
      gap:12px;
    }
    .legalHeader{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:12px;
    }
    .legalTitle{
      font-size:18px;
      font-weight:950;
      letter-spacing:-.02em;
    }
    .legalSub{
      font-size:13px;
      color:rgba(15,23,42,.55);
      font-weight:750;
      line-height:1.35;
      margin-top:2px;
    }
    .legalClose{
      width:40px;
      height:40px;
      border-radius:14px;
      border:1px solid rgba(0,0,0,.10);
      background:rgba(0,0,0,.03);
      font-weight:950;
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
      user-select:none;
      flex:0 0 auto;
    }
    .legalClose:active{ transform:scale(.985); filter:brightness(.98); }

    .legalBody{
      overflow:auto;
      -webkit-overflow-scrolling:touch;
      padding-right:4px;
    }
    .legalBody h3{
      margin:14px 0 6px;
      font-size:14px;
      font-weight:950;
      letter-spacing:-.01em;
    }
    .legalBody p{
      margin:0 0 10px;
      font-size:13px;
      line-height:1.5;
      color:rgba(15,23,42,.84);
    }
    .legalCallout{
      margin:10px 0;
      padding:12px 12px;
      border-radius:16px;
      border:1px solid rgba(10,132,255,.18);
      background:rgba(10,132,255,.06);
      font-size:13px;
      font-weight:850;
      color:rgba(15,23,42,.88);
    }

    /* Pending overlay: micro stile (se non già presente) */
    .pendingShell{
      width:min(420px, 92vw);
      border-radius:22px;
      border:1px solid rgba(0,0,0,.10);
      background:rgba(255,255,255,.96);
      box-shadow:0 30px 90px rgba(0,0,0,.24);
      padding:18px;
      display:flex;
      flex-direction:column;
      gap:8px;
      align-items:center;
      text-align:center;
    }
    .pendingSpinner{
      width:28px;
      height:28px;
      border-radius:999px;
      border:2px solid rgba(28,36,52,.18);
      border-top-color:rgba(28,36,52,.78);
      animation:authSpin .8s linear infinite;
      background:transparent;
    }
    .pendingTitle{ font-weight:950; font-size:14px; }
    .pendingSub{ font-weight:750; font-size:12px; color:rgba(15,23,42,.55); line-height:1.35; }
  