#px-support{position:fixed;right:24px;bottom:24px;z-index:9000;font-family:inherit;color:#F5EEFF}#px-support [hidden]{display:none!important}
#px-support button{cursor:pointer;font:inherit;color:inherit} .px-launch{width:60px;height:60px;border:1px solid #C7A1FF;border-radius:22px;background:linear-gradient(145deg,#A36BF2,#6334B4);box-shadow:0 10px 36px #0008;font-size:28px!important}
.px-chat{width:min(390px,calc(100vw - 32px));height:min(580px,calc(100dvh - 48px));display:flex;flex-direction:column;background:#181121;border:1px solid #65418D;border-radius:24px;overflow:hidden;box-shadow:0 24px 80px #0009}
.px-head{display:flex;align-items:center;justify-content:space-between;padding:18px;background:linear-gradient(120deg,#34204D,#21152F)}.px-brand{display:flex;align-items:center;gap:12px}.px-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#7544C9;font-weight:800;font-size:23px}.px-title{font-size:17px;font-weight:700}.px-close{background:none;border:0;font-size:26px!important}
.px-info,.px-foot{padding:10px 18px;font-size:12px;color:#C5B7D9}.px-feed{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:18px}.px-bubble{max-width:88%;padding:12px 14px;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.px-other{align-self:flex-start;background:#2C213B}.px-own{align-self:flex-end;background:#6541A0}.px-bubble small{display:block;font-size:10px;color:#E0D2F2;margin-top:5px}.px-form{display:flex;gap:8px;margin:0 14px;padding:8px;border:1px solid #513969;border-radius:16px;background:#21182D}.px-form textarea{flex:1;min-width:0;background:none;border:0;color:#FFF;resize:none;padding:8px;font:inherit;font-size:14px}.px-send{width:44px;border:0;border-radius:12px;background:#7544C9;font-size:23px!important}.px-foot{text-align:center}.px-tabs{display:flex;gap:8px;padding:10px 14px}.px-tabs button,.px-resolve,.px-thread{border:1px solid #513969;background:#291D39;border-radius:12px;padding:10px}.px-thread{text-align:left;display:grid;gap:6px}.px-thread small,.px-empty{color:#C5B7D9}.px-resolve{font-size:12px!important}.px-resolve:disabled{opacity:.6}
@media(max-width:600px){#px-support{right:12px;bottom:80px}.px-chat{height:min(560px,calc(100dvh - 100px));width:calc(100vw - 24px)}.px-launch{width:54px;height:54px}}

/* Refined support widget */
.px-launch{display:grid;place-items:center;border-radius:50%;width:62px;height:62px;background:linear-gradient(145deg,#A65CFF,#7134D4);box-shadow:0 8px 30px #7134D466}
.px-chat-icon,.px-mark:before{display:block;width:25px;height:20px;border:2px solid #FFFFFF;border-radius:8px;position:relative;box-sizing:border-box}
.px-chat-icon:after,.px-mark:after{content:"";position:absolute;width:7px;height:7px;border-left:2px solid #FFFFFF;border-bottom:2px solid #FFFFFF;bottom:-5px;left:4px;background:#8A45E8;transform:skewY(-35deg)}
.px-chat-icon:before{content:"•••";position:absolute;inset:0;text-align:center;font-size:13px;line-height:15px;letter-spacing:1px;color:#FFFFFF}
.px-mark{position:relative;background:linear-gradient(145deg,#A65CFF,#7134D4);box-shadow:0 4px 14px #7134D455}.px-mark:before{content:"";width:23px;height:18px}.px-mark:after{left:14px;bottom:8px;width:5px;height:5px}
.px-chat{height:min(510px,calc(100dvh - 48px));border-color:#624580;background:#17111F;box-shadow:0 20px 70px #000A}
.px-head{padding:16px 18px;background:linear-gradient(110deg,#392250,#251832);border-bottom:1px solid #49345F}
.px-title{font-size:18px;letter-spacing:-.02em}.px-title:after{content:"Служба поддержки";display:block;color:#D0BFDF;font-size:12px;font-weight:400;margin-top:4px}
.px-info{font-size:12px;padding:10px 18px}.px-tabs{padding:10px 16px 0}.px-tabs button{flex:1;min-height:38px}.px-feed{padding:16px 18px}.px-bubble{font-size:14px;line-height:1.55}
.px-form{align-items:center;padding:7px;margin:0 14px;border-radius:16px;gap:8px}.px-form textarea{min-height:40px;height:40px;padding:10px 8px;box-sizing:border-box}.px-send{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;background:linear-gradient(145deg,#A65CFF,#7134D4);border-radius:12px}
.px-send-icon{width:19px;height:19px;background:#FFFFFF;clip-path:polygon(0 0,100% 50%,0 100%,24% 56%,70% 50%,24% 44%);transform:rotate(-35deg)}
.px-close{width:36px;height:36px;border-radius:10px;color:#D9C9EA!important}.px-close:hover{background:#49345F}.px-foot{padding:10px;font-size:11px}
@media(max-width:600px){.px-chat{height:min(510px,calc(100dvh - 100px))}.px-launch{width:56px;height:56px}}
.px-filters{display:flex;gap:6px;padding:0 0 8px}.px-filter{flex:1;border:1px solid #49345F;background:#21182D;border-radius:10px;padding:9px 5px;font-size:12px!important}.px-filter.active{background:#513180;border-color:#A36BF2;color:#FFFFFF}.px-archived{opacity:.78}.px-empty{text-align:center;padding:24px 0;font-size:13px}
