/* Scoped homepage mobile fix. Keep privacy control available, separate support. */
header nav .al-extra-nav-link{display:inline-flex;align-items:center;justify-content:center;padding:12px 10px;gap:8px;text-decoration:none;min-height:44px;line-height:1.4}
@media(max-width:1023px){
 header nav .al-extra-nav-link{font-size:1.125rem;display:flex;margin:4px 0}
 #al-at-btn{right:max(16px,env(safe-area-inset-right))!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;max-width:calc(100vw - 32px);white-space:normal}
 #al-at-panel{right:max(16px,env(safe-area-inset-right))!important;bottom:calc(132px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 160px);overflow-y:auto!important}
}

@media(max-width:1023px){
 html{scroll-padding-bottom:calc(170px + env(safe-area-inset-bottom))}
 body{padding-bottom:calc(130px + env(safe-area-inset-bottom))}
 .al-offer-cta{scroll-margin-block:180px;min-height:48px;display:flex!important;align-items:center;justify-content:center;margin-bottom:32px!important}
}

header a[href="/"]{flex-shrink:0!important}
header a[href="/"] img{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;max-width:64px!important;aspect-ratio:1/1!important;object-fit:contain!important;object-position:center!important;flex-shrink:0!important;border-radius:50%!important;background:#fff}

/* Keep support prompt readable when the site is dark. */
#al-at-panel .al-at-body{color:#172033!important}

/* Keep the mobile menu clear; restore both controls as soon as it closes. */
@media(max-width:1023px){
 body:has(header [role="dialog"][aria-modal="true"]) #al-at-btn,
 body:has(header [role="dialog"][aria-modal="true"]) #al-at-panel,
 body:has(header [role="dialog"][aria-modal="true"]) .iubenda-tp-btn{visibility:hidden!important;pointer-events:none!important}
 header [role="dialog"][aria-modal="true"]{padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}
}
