#pv-floating-support{--pvchat-cyan:#51dddf;--pvchat-muted:#99abc3}
#pv-floating-support #pv-support-panel{padding:16px;border-radius:22px;border-color:#49627e70;box-shadow:0 18px 50px #0006;background:linear-gradient(150deg,#162b43,#102035)}
#pv-floating-support #pv-support-panel .pv-support-option{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;min-height:60px;padding:11px 12px;border-radius:13px;background:#ffffff05;border:1px solid #ffffff0c;font-size:13px;transition:background .16s,border-color .16s,box-shadow .16s}
#pv-floating-support #pv-support-panel .pv-support-option:hover{background:#4ed7d013;border-color:#5de4d44d;box-shadow:0 3px 14px #0002}
#pv-floating-support #pv-support-panel .pv-support-option:active{background:#4ed7d023}
#pv-floating-support .pvchat-channel-icon{width:32px;height:32px;border-radius:10px;background:#45d3ba15;color:#74e2d7;display:grid;place-items:center;flex-shrink:0}
#pv-floating-support .pvchat-channel-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#pv-floating-support #pv-support-panel .pv-support-option small{font-size:10px;color:#8eabc0}
#pv-floating-support .pvchat-panel{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:var(--pvchat-bottom,84px);width:min(400px,calc(100% - 32px));box-sizing:border-box;height:min(960px,calc(var(--pvchat-vh,100dvh) * .8));max-height:calc(var(--pvchat-vh,100dvh) - 104px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #45617c80;border-radius:23px;background:#101f33;color:#edf5fc;box-shadow:0 24px 75px #0006;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;z-index:1;text-align:left}
#pv-floating-support .pvchat-panel[hidden]{display:none}
#pv-floating-support .pvchat-panel *{box-sizing:border-box}
#pv-floating-support .pvchat-panel header{display:flex;justify-content:space-between;align-items:center;padding:18px 18px 12px;border-bottom:1px solid #ffffff08;gap:10px;flex-shrink:0;background:linear-gradient(125deg,#182f46,#14263a)}
#pv-floating-support .pvchat-panel header .pvchat-heading{display:flex;flex:1;gap:8px;align-items:center;justify-content:space-between;min-width:0;flex-wrap:wrap}
#pv-floating-support .pvchat-panel header strong{font-size:14px;font-weight:650;letter-spacing:.1px}
#pv-floating-support .pvchat-panel button{border:1px solid #7c9bbb30;border-radius:10px;padding:8px 13px;min-height:34px;color:#e9f4ff;background:#213850;cursor:pointer;font:inherit;white-space:normal}
#pv-floating-support .pvchat-panel button:hover{background:#2c4963}
#pv-floating-support .pvchat-panel button:disabled{opacity:.5;cursor:default}
#pv-floating-support .pvchat-panel button:focus-visible,#pv-floating-support .pvchat-panel textarea:focus-visible,#pv-floating-support .pvchat-panel summary:focus-visible{outline:2px solid #51dddf;outline-offset:2px}
#pv-floating-support .pvchat-panel header button{border:0;min-width:30px;min-height:30px;padding:2px;color:#93abc4;background:transparent;font-size:20px;line-height:1}
#pv-floating-support .pvchat-presence{display:inline-flex;align-items:center;gap:5px;color:#f0a6a8;background:#c4566214;border-radius:20px;padding:4px 7px;font-size:10px;white-space:nowrap}
#pv-floating-support .pvchat-presence:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
#pv-floating-support .pvchat-presence[data-state=online]{color:#85e4bd;background:#2dc58514}
#pv-floating-support .pvchat-presence[data-state=away],#pv-floating-support .pvchat-presence[data-state=busy]{color:#ebc487;background:#d69c4414}
#pv-floating-support .pvchat-status-note{font-size:11px;color:#8ca8c0;margin:0;padding:10px 18px;background:#14273b66;flex-shrink:0}
#pv-floating-support .pvchat-log{flex:1;min-height:50px;overflow-y:auto;overscroll-behavior:contain;padding:18px 16px;display:flex;flex-direction:column;gap:14px;background:linear-gradient(#102035,#0d1c30)}
#pv-floating-support .pvchat-message{max-width:87%;padding:10px 13px;border-radius:3px 15px 15px;background:#203b55;flex-shrink:0;overflow-wrap:anywhere;border:1px solid #94b5d20b}
#pv-floating-support .pvchat-message.mine{align-self:flex-end;background:#174b50;border-radius:15px 3px 15px 15px;border-color:#6cd9c412}
#pv-floating-support .pvchat-message.theirs{align-self:flex-start}
#pv-floating-support .pvchat-message p{margin:4px 0 6px;white-space:pre-wrap;line-height:1.6}
#pv-floating-support .pvchat-message small,#pv-floating-support .pvchat-message time{display:block;font-size:9px;color:#91afc2}
#pv-floating-support .pvchat-panel form{padding:13px 16px 10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;border-top:1px solid #ffffff0c;flex-shrink:0;background:#142439}
#pv-floating-support .pvchat-panel label{grid-column:1/-1;font-size:10px;color:#91a9bf}
#pv-floating-support .pvchat-panel textarea{width:100%;min-width:0;min-height:49px;max-height:110px;resize:vertical;background:#0a1b2c;color:#fff;border:1px solid #7999b933;border-radius:12px;padding:10px;font:16px/1.4 system-ui,sans-serif}
#pv-floating-support .pvchat-panel form button[type=submit]{background:#70ddd1;border-color:#70ddd1;color:#092c37;font-size:12px;font-weight:700;min-width:54px;padding:8px 11px}
#pv-floating-support .pvchat-panel .pvchat-desktop-push{align-self:flex-start;margin:0 16px 6px;padding:3px 0;flex-shrink:0;border:0;background:transparent;color:#9be6ee;text-decoration:underline;text-underline-offset:.16em;font:500 11px/1.4 system-ui,sans-serif;cursor:pointer}
#pv-floating-support .pvchat-panel .pvchat-desktop-push:disabled{opacity:.6;cursor:wait}
#pv-floating-support .pvchat-privacy{margin:0;padding:0 17px 12px;font-size:10px;color:#8da7bf;flex-shrink:0;background:#142439}
#pv-floating-support .pvchat-privacy summary{cursor:pointer;display:list-item;width:max-content;max-width:100%}
#pv-floating-support .pvchat-privacy p{margin:8px 0 0;line-height:1.65;max-height:110px;overflow:auto;color:#b4c5d6}
#pv-floating-support .pvchat-feedback{font-size:11px;margin:0;padding:0 16px;color:#e5bf85;min-height:0;background:#142439}
#pv-floating-support .pvchat-feedback:empty{display:none}
#pv-floating-support .pv-open-chat:disabled{opacity:.5;cursor:default}
#pv-floating-support .pvchat-panel.pvchat-compact header{padding:8px 12px}
#pv-floating-support .pvchat-panel.pvchat-compact .pvchat-status-note{padding:4px 12px;font-size:10px}
#pv-floating-support .pvchat-panel.pvchat-compact .pvchat-log{min-height:0;padding:10px}
#pv-floating-support .pvchat-panel.pvchat-compact form{padding:6px 12px}
#pv-floating-support .pvchat-panel.pvchat-compact textarea{height:42px;min-height:42px;max-height:64px}
#pv-floating-support .pvchat-panel.pvchat-compact .pvchat-privacy{padding:0 12px 6px}
#pv-floating-support.pvchat-protected{display:none}
#pv-floating-support.pvchat-mobile-open{z-index:100000}
#pv-floating-support .pvchat-panel.pvchat-mobile {
 --pvchat-top-gap:max(12px,env(safe-area-inset-top,0px));
 --pvchat-bottom-gap:max(8px,env(safe-area-inset-bottom,0px));
 right:max(10px,env(safe-area-inset-right,0px));
 left:max(10px,env(safe-area-inset-left,0px));
 bottom:calc(var(--pvchat-bottom,0px) + var(--pvchat-bottom-gap));
 width:auto;
 height:calc(var(--pvchat-vh,100dvh) - var(--pvchat-top-gap) - var(--pvchat-bottom-gap));
 max-height:none;
 border-radius:20px;
}
#pv-floating-support .pvchat-mobile header{padding:8px 12px}
#pv-floating-support .pvchat-mobile header strong{font-size:13px}
#pv-floating-support .pvchat-mobile .pvchat-heading{gap:5px}
#pv-floating-support .pvchat-mobile .pvchat-presence{font-size:9px}
#pv-floating-support .pvchat-mobile .pvchat-status-note{padding:4px 12px}
#pv-floating-support .pvchat-mobile .pvchat-log{flex:1 1 0;min-height:0;padding:12px}
#pv-floating-support .pvchat-mobile form{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:6px 10px}
#pv-floating-support .pvchat-mobile form>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#pv-floating-support .pvchat-mobile textarea{order:1;flex:1 0 100%;min-height:44px;max-height:80px}
#pv-floating-support .pvchat-mobile .pvchat-draft{order:2;flex:1 0 100%}
#pv-floating-support .pvchat-mobile .pvchat-draft img{max-height:56px}
#pv-floating-support .pvchat-mobile .pvchat-tools{order:3;flex:1 1 178px;gap:3px}
#pv-floating-support .pvchat-mobile .pvchat-send-actions{order:4;flex:0 0 auto;margin-inline-start:auto}
#pv-floating-support .pvchat-mobile .pvchat-privacy{padding:0 12px 7px}
#pv-floating-support .pvchat-mobile.pvchat-compact .pvchat-status-note{display:none}
#pv-floating-support .pvchat-mobile.pvchat-compact .pvchat-log{padding:7px 10px}
@media(prefers-reduced-motion:reduce){#pv-floating-support #pv-support-panel .pv-support-option{transition:none}}

#pv-floating-support .pvchat-welcome {max-width:94%;align-self:flex-start;border-radius:14px;border-color:#5edbc94a}
#pv-floating-support .pvchat-welcome p {margin:0}
#pv-floating-support .pvchat-welcome p:last-child {margin-top:1.6em;font-size:.88em;color:#bde7ed}

#pv-floating-support .pv-support-toggle{position:relative}
#pv-floating-support .pvchat-unread-badge{
  position:absolute;inset-inline-end:-4px;top:-6px;z-index:1;pointer-events:none;
  display:grid;place-items:center;min-width:22px;height:22px;padding:0 4px;
  box-sizing:border-box;border:2px solid #0b1726;border-radius:999px;
  background:#b62f43;color:#fff;font:700 11px/1 system-ui,sans-serif;
}
#pv-floating-support .pvchat-unread-badge[hidden]{display:none}
