/* V3.1.6.4 — cross-device QA fixes. Scoped; does not change application permissions. */
/* Scrolling a modal on iPhone must not scroll the page behind it. */
body.sc3164-shake-open {overflow:hidden!important;overscroll-behavior:none}
/* Real visitor promo can be taller than a short mobile viewport; never clip its CTA or close X. */
.v3160-visitor-overlay:not(.sc3163-overlay) {overflow-y:auto!important;overscroll-behavior:contain;align-items:safe center!important;justify-items:center!important}
.v3160-visitor-overlay:not(.sc3163-overlay) .v3160-live-wrap {margin-block:auto;flex-shrink:0;max-width:min(435px,100%)}
/* Error notice is outside the blur overlay, including on small-screen dialogs. */
#toastWrap.toast-wrap {z-index:2147482200!important}
/* Consistent 44px interactive targets on mobile; do not enlarge noninteractive labels. */
@media (max-width:860px){
 .v3160-live-close,.sc3163-close {min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;display:grid;place-items:center}
 .v3160-live-wrap .v3160-featured-go,.sc3163-dialog .v3160-featured-go {min-height:44px}
 .v3160-visitor-bottom button {min-height:44px;padding:11px 8px}
 .sc3163-again {min-height:44px}
 #worldWorksBody .world-work-actions button,#worldProjectsBody .project-compact-actions-v2637 button {height:auto!important;min-height:44px!important;line-height:1.3!important;padding:9px 10px!important}
 #worldWorksBody .world-work-tags button {min-height:36px!important;padding:8px 10px!important}
 .v3160-foot .v3160-primary,.v3160-foot .v3160-secondary,.v3160-mobile-tabs button {min-height:44px}
}
@media (max-width:380px){
 .sc3163-controls {gap:7px;flex-wrap:wrap}
 .sc3163-remaining {flex:1 1 110px}
 .sc3163-again {flex:0 0 auto}
 .v3160-live-wrap .v3160-featured-hero,.sc3163-dialog .v3160-featured-hero {height:150px!important}
 .v3160-live-wrap .v3160-featured-copy,.sc3163-dialog .v3160-featured-copy {padding:16px!important}
 .v3160-live-wrap .v3160-featured-copy p,.sc3163-dialog .v3160-featured-copy p {min-height:0;margin-bottom:12px}
}
@media (prefers-reduced-motion:reduce){
 .v3160-visitor-overlay .v3160-live-wrap,.sc3163-dialog,.sc3163-dialog .v3160-featured-card {animation:none!important;transition:none!important}
}
