/* Keep banner/header/search in separate in-flow rows from the first paint. */
@media(max-width:767px){
 body.pdv-custom-header-enabled .pdv-header-appbar{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;margin:0!important;transform:none!important;float:none!important;clear:both;z-index:100!important}
 body.pdv-custom-header-enabled .pdv-header-appbar .pdv-header-appbar-inner{box-sizing:border-box!important;min-height:36px!important}
 body.pdv-custom-header-enabled .pdv-site-header{position:relative!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important;float:none!important}
 body .pdvh-home[data-pdvh-home] .pdvh-hero{position:relative!important;top:auto!important;transform:none!important;clear:both}
 body .pdvh-home[data-pdvh-home] .pdvh-search-wrap{position:relative!important;top:auto!important;bottom:auto!important;transform:none!important;clear:both;z-index:2}
 body .pdvh-home[data-pdvh-home] .pdvh-app-search{position:relative!important;top:auto!important;bottom:auto!important;transform:none!important}
 body .pdv-dashboard .pdv-mobile-more-sheet[inert]{visibility:hidden!important;pointer-events:none!important}
 body .pdv-dashboard .pdv-mobile-more-sheet .pdv-more-welcome{padding:14px;border:1px solid #eae8f1;border-radius:14px;background:#fff}
 :is(body,#pdv-site-typography) .pdv-dashboard .pdv-more-welcome>strong{color:#1e293b;font-size:14px!important;font-weight:600!important}
 :is(body,#pdv-site-typography) .pdv-dashboard .pdv-more-welcome>p{margin:8px 0 12px;color:#64748b;font-size:12px!important;line-height:1.4!important}
 body .pdv-dashboard .pdv-more-welcome>a{display:flex;align-items:center;gap:9px;margin-top:7px;padding:10px;border:1px solid #dcd6f7;border-radius:10px;color:#6c5ce7;font-size:12px;font-weight:500}
 body .pdv-dashboard .pdv-more-welcome>a>span{flex:1}
 body .pdv-dashboard .pdv-more-welcome>a>em{font-style:normal}
}

/* Slightly narrower More drawer; preserve small-screen responsiveness. */
@media(max-width:767px){
 body .pdv-dashboard .pdv-mobile-more-sheet{width:min(86vw,350px)!important}
}
/* App-matched guest authentication actions within the More drawer. */
@media(max-width:767px){
 body .pdv-dashboard .pdv-mobile-more-sheet .pdv-more-auth-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:8px!important;width:100%!important;margin:14px 0 0!important;padding:0!important}
 :is(body,#pdv-site-typography) .pdv-dashboard .pdv-mobile-more-sheet .pdv-more-auth-buttons>a{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:0!important;width:100%!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important;margin:0!important;padding:0 8px!important;border:1px solid #6c5ce7!important;border-radius:10px!important;background:#6c5ce7!important;color:#fff!important;font-size:12px!important;font-weight:500!important;line-height:1.2!important;text-decoration:none!important;box-shadow:none!important}
 :is(body,#pdv-site-typography) .pdv-dashboard .pdv-mobile-more-sheet .pdv-more-auth-buttons>a[data-pdv-more-auth-tab=register]{border-color:#dcd6f7!important;background:#fff!important;color:#6c5ce7!important}
 body .pdv-dashboard .pdv-mobile-more-sheet .pdv-more-auth-buttons>a>.pdv-more-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 17px!important;width:17px!important;height:17px!important;margin:0!important;padding:0!important;color:inherit!important}
 body .pdv-dashboard .pdv-mobile-more-sheet .pdv-more-auth-buttons .pdv-more-icon svg{width:17px!important;height:17px!important;stroke-width:1.7!important}
 :is(body,#pdv-site-typography) .pdv-dashboard .pdv-mobile-more-sheet .pdv-more-auth-buttons>a>span{flex:0 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;color:inherit!important;font-size:12px!important;font-weight:500!important;line-height:1.2!important;text-align:center!important}
 body .pdv-dashboard .pdv-mobile-more-sheet .pdv-more-auth-buttons>a>em{display:none!important}
 body .pdv-dashboard .pdv-mobile-more-sheet .pdv-more-auth-buttons>a[data-pdv-more-auth-tab=login]:hover{background:#5c4bd4!important}
 body .pdv-dashboard .pdv-mobile-more-sheet .pdv-more-auth-buttons>a[data-pdv-more-auth-tab=register]:hover{background:#f5f2ff!important}
}
@media(max-width:340px){body .pdv-dashboard .pdv-mobile-more-sheet .pdv-more-auth-buttons{grid-template-columns:minmax(0,1fr)!important}}
/* Geometrically centred close icon, independent of text-font baselines. */
@media(max-width:767px){
 body .pdv-dashboard .pdv-mobile-more-sheet>.pdv-mobile-account-title>button[data-pdv-mobile-more-close]{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;max-height:36px!important;box-sizing:border-box!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#ffffff18!important;color:#fff!important;font-size:0!important;line-height:0!important;text-indent:0!important;transform:none!important;box-shadow:none!important}
 body .pdv-dashboard .pdv-mobile-more-sheet>.pdv-mobile-account-title>button[data-pdv-mobile-more-close]:before,
 body .pdv-dashboard .pdv-mobile-more-sheet>.pdv-mobile-account-title>button[data-pdv-mobile-more-close]:after{display:none!important;content:none!important}
 body .pdv-dashboard .pdv-mobile-more-sheet>.pdv-mobile-account-title>button[data-pdv-mobile-more-close]>.pdv-more-close-icon{position:static!important;display:block!important;flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;padding:0!important;border:0!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;transform:none!important;pointer-events:none!important}
}