/* Vellust 5.35.2 — fixes for iOS overlays, chat navigation and profile */
body.v536-locked{position:fixed!important;left:0;right:0;width:100%;overflow:hidden!important;touch-action:none}
#v531-panel:not([hidden]){z-index:2147482000!important;overscroll-behavior:contain;touch-action:pan-y}
#v531-panel.v5351-chat{position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#v531-panel.v5351-chat #v531-content{flex:1 1 auto!important;height:100%!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#v531-panel.v5351-chat .v531-title{display:flex!important;align-items:center!important;width:100%!important;box-sizing:border-box!important}
#v531-panel.v5351-chat #v531-thread{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;touch-action:pan-y;overscroll-behavior:contain}
#v531-panel.v5351-chat #v531-send{flex:0 0 auto!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;min-width:0!important;display:flex!important;padding:10px 14px calc(12px + env(safe-area-inset-bottom,0px))!important;gap:10px!important}
#v531-panel.v5351-chat #v531-send input{flex:1 1 0%!important;min-width:0!important;width:0!important;box-sizing:border-box!important;font-size:16px!important}
#v531-panel.v5351-chat #v531-send button{flex:0 0 46px!important;width:46px!important;min-width:46px!important;max-width:46px!important;height:46px!important;overflow:hidden!important;font-size:20px!important;color:#fff!important}
#v531-panel.v5351-chat #v5351-options{display:grid!important;place-items:center;flex:0 0 38px!important;min-width:38px!important}
#v531-panel.v5351-chat .v531-bubble .v535-reply{font-size:11px!important;opacity:.7}
#v531-profile:not([hidden]){z-index:2147482100!important;overflow-y:auto!important;overscroll-behavior:contain;touch-action:pan-y;padding:14px!important;box-sizing:border-box}
#v531-profile .v531-profile-card{position:relative;width:min(440px,100%)!important;max-height:min(86dvh,800px)!important;padding:0 0 22px!important;overflow-y:auto!important;border-radius:24px!important;background:#171020!important;border:1px solid #765096!important;box-shadow:0 24px 85px #000b!important}
#v531-profile-close{position:sticky!important;top:12px;float:right;z-index:2;background:#332341!important;color:#fff!important;border:1px solid #79589c!important;border-radius:999px!important;padding:9px 14px!important;margin:12px 14px 0 0!important;font-size:13px!important}
#v531-profile-content{padding:0 18px 10px;clear:both}
#v531-profile-content .v531-person{display:flex;align-items:center;gap:13px;margin:12px 0 20px}
#v531-profile-content .v531-avatar{flex:0 0 58px!important;width:58px!important;min-width:58px!important;height:58px!important;border-radius:50%!important;object-fit:cover!important}
#v531-profile-content .v531-person h2{font-size:21px!important;margin:0!important;line-height:1.2}
#v531-profile-content .v531-person p{font-size:13px!important;margin:5px 0 0!important}
#v531-profile-content button{font-size:13px!important;max-width:100%;white-space:normal}
#v531-profile-content .v533-actions{gap:8px!important;margin:14px 0!important}
#v531-profile-content .v533-actions button{padding:10px 12px!important;font-size:12px!important;border-radius:12px!important}
#v531-profile-content button[hidden]{display:none!important}
#v531-profile-content h3{font-size:16px!important;margin:20px 0 10px!important}
@media(max-width:600px){#v531-panel.v5351-chat .v531-title{padding-top:calc(12px + env(safe-area-inset-top,0px))!important}#v531-panel:not(.v5351-chat){inset:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px)!important;max-width:none!important;border-radius:0!important}#v531-tabs{overflow-x:auto!important;display:flex!important;scrollbar-width:none}#v531-tabs button{flex:0 0 65px!important;min-width:65px!important}}
@media(prefers-reduced-motion:reduce){#v531-panel,#v531-profile{animation:none!important}}
