.sq-dock{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:calc(28px + env(safe-area-inset-bottom));z-index:80;display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-family:var(--font)}
.sq-link{width:54px;min-height:54px;padding:8px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(255,255,255,.85);border-radius:19px;background:rgba(255,255,255,.88);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 6px 24px rgba(22,24,29,.1),0 0 0 .5px rgba(22,24,29,.08);color:#16181d;text-decoration:none;cursor:pointer;font:600 10px/1.2 var(--font);transition:transform .2s,background .2s,box-shadow .2s}
.sq-link svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.sq-link:hover{transform:translateY(-3px);background:#fff;box-shadow:0 9px 28px rgba(22,24,29,.17)}
.sq-link:focus-visible,.sq-close:focus-visible,.sq-cta:focus-visible{outline:3px solid #a78cb6;outline-offset:4px}
.sq-link--chat{background:#16181d;color:#fff;border-color:rgba(255,255,255,.2);margin-top:4px}
.sq-link--chat:hover{background:#303039}
.sq-link--chat img{width:23px;height:23px;border-radius:50%;object-fit:cover}
.sq-dialog{width:min(620px,calc(100% - 32px));max-height:calc(100svh - 48px);padding:0;border:1px solid rgba(255,255,255,.8);border-radius:28px;background:#faf9fb;color:#16181d;box-shadow:0 30px 100px rgba(22,24,29,.24);font-family:var(--font);overflow:auto}
.sq-dialog::backdrop{background:rgba(22,24,29,.42);backdrop-filter:blur(8px)}
.sq-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid rgba(22,24,29,.08)}
.sq-dialog-head h2{font-size:17px;font-weight:600;margin:0}
.sq-close{border:0;background:rgba(22,24,29,.06);color:#16181d;border-radius:50%;width:36px;height:36px;font:24px/1 var(--font);cursor:pointer}
.sq-body{padding:32px 28px}.sq-body h3{font-size:25px;line-height:1.4;letter-spacing:-.8px;margin:0 0 12px}.sq-body p{font-size:14px;line-height:1.8;color:#696670;margin:0 0 24px}
.sq-poster{aspect-ratio:16/9;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#d6cedf,#f4d9cf 60%,#f3ad91);margin-bottom:24px}
.sq-poster img{width:110px;height:auto}.sq-cta{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:13px 20px;border-radius:16px;background:#16181d;color:#fff;font-size:14px;font-weight:600;text-decoration:none}
.sq-secondary{display:block;text-align:center;margin-top:18px;color:#696670;font-size:13px;text-underline-offset:4px}
.sq-media{width:100%;aspect-ratio:16/9;border:0;background:#16181d;border-radius:16px;display:block}
@media(max-width:600px){.sq-dock{right:max(12px,env(safe-area-inset-right));bottom:calc(14px + env(safe-area-inset-bottom));gap:6px}.sq-link{width:46px;min-height:48px;border-radius:16px;font-size:9px;padding:6px 2px;gap:3px}.sq-link svg{width:18px;height:18px}.sq-link--chat img{width:21px;height:21px}.sq-body{padding:24px 22px}.sq-body h3{font-size:22px}}
.sq-dialog--chat{position:fixed;inset:auto 24px 100px auto;width:400px;max-width:calc(100vw - 32px);height:690px;max-height:calc(100dvh - 124px);margin:0;display:none;flex-direction:column;isolation:isolate;border-radius:34px;border:1px solid rgba(255,255,255,.8);background:transparent;box-shadow:0 20px 50px rgba(22,24,29,.12),0 0 0 .5px rgba(22,24,29,.08);overflow:hidden;letter-spacing:-.2px}
.sq-dialog--chat[open]{display:flex}
.sq-dialog--chat:before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:linear-gradient(165deg,rgba(255,255,255,.76) 0%,rgba(255,255,255,.64) 55%,rgba(248,249,251,.70) 100%);-webkit-backdrop-filter:blur(40px) saturate(180%);backdrop-filter:blur(40px) saturate(180%)}
.sq-dialog--chat::backdrop{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
.sq-dialog--chat .sq-dialog-head{position:relative;flex:none;gap:12px;padding:16px 16px 14px 18px;border:0}
.sq-chat-avatar{display:block;position:relative;width:36px;height:36px;flex:none;align-self:start;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(22,24,29,.08)}
.sq-chat-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.sq-chat-avatar--head{width:42px;height:42px}
.sq-online{position:absolute;right:-1px;bottom:-1px;width:12px;height:12px;border:2.5px solid #fff;border-radius:50%;background:#34d399}
.sq-chat-brand{flex:1;min-width:0}
.sq-dialog--chat .sq-chat-brand h2{font-size:16px;font-weight:700;letter-spacing:-.4px;line-height:1.2}
.sq-chat-brand p{margin:2px 0 0;font-size:12.5px;color:rgba(22,24,29,.58)}
.sq-chat-icon{width:32px;height:32px;flex:none;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#52525b;cursor:pointer}
.sq-chat-icon:hover{background:rgba(22,24,29,.06)}
.sq-dialog--chat button:focus-visible,.sq-dialog--chat a:focus-visible{outline:2px solid rgba(22,24,29,.4);outline-offset:3px}
.sq-chat-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.sq-chat-menu{position:absolute;right:16px;top:62px;z-index:3;min-width:180px;padding:6px;border-radius:16px;border:1px solid rgba(22,24,29,.08);background:rgba(255,255,255,.96);box-shadow:0 12px 36px rgba(22,24,29,.12);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
.sq-chat-menu[hidden],.sq-topics[hidden]{display:none}
.sq-chat-menu a,.sq-chat-menu .sq-close{display:block;width:100%;height:auto;text-align:left;margin:0;padding:11px 12px;border:0;border-radius:10px;background:none;color:#16181d;font:13px var(--font);text-decoration:none;cursor:pointer}
.sq-chat-menu a:hover,.sq-chat-menu .sq-close:hover{background:#f2f3f5}
.sq-conversation{flex:1;min-height:0;padding:2px 0 10px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(22,24,29,.16) transparent}
.sq-message{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:12px;padding:16px 18px 16px 16px}
.sq-message+.sq-message{border-top:1px solid rgba(22,24,29,.08)}
.sq-message-body{display:flex;flex-direction:column;gap:7px;min-width:0}
.sq-message-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:1px;font-size:14px;line-height:1.2;font-weight:700;letter-spacing:-.3px;color:#16181d}
.sq-message-kind{font-size:12px;color:rgba(22,24,29,.58)}
.sq-message-time{font-size:13px;font-weight:400;color:rgba(22,24,29,.4)}
.sq-message-text{white-space:pre-wrap;overflow-wrap:anywhere;word-break:keep-all;font-size:14.5px;line-height:1.6;color:rgba(22,24,29,.86)}
.sq-topics{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.sq-topics button{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 12px;border:1px solid #e4e4e7;border-radius:16px;background:#fff;color:#16181d;font:13px/1.3 var(--font);cursor:pointer;text-align:left}
.sq-topics button:after{content:"›";margin-left:3px;font-size:17px;color:rgba(22,24,29,.4)}
.sq-topics button:hover{border-color:rgba(22,24,29,.3)}
.sq-ask{flex:none;margin:0;padding:10px 14px 8px;border:0;background:none}
.sq-input-box{display:flex;align-items:center;gap:6px;height:54px;padding:0 6px;border-radius:27px;border:1px solid rgba(22,24,29,.10);background:rgba(255,255,255,.72);transition:border-color .2s,background .2s}
.sq-input-box:focus-within{background:#fff;border-color:rgba(22,24,29,.24)}
.sq-ask input{flex:1;min-width:0;padding:0 4px;border:0;background:none;color:#16181d;font:15px var(--font);letter-spacing:-.2px;outline:none}
.sq-ask input:focus-visible{outline:none}
.sq-ask input::placeholder{color:rgba(22,24,29,.4)}
.sq-recommend,.sq-send{display:grid;place-items:center;flex:0 0 36px;height:36px;padding:0;border:0;border-radius:22px;background:#16181d;color:#fff;cursor:pointer}
.sq-recommend svg,.sq-send svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}
.sq-send svg{stroke-width:2.4}
.sq-send:disabled{background:rgba(22,24,29,.07);color:rgba(22,24,29,.4);cursor:default}
.sq-chat-foot{display:flex;justify-content:space-between;flex:none;gap:8px;padding:0 20px 12px;font-size:10px;color:rgba(22,24,29,.4)}
.sq-chat-foot a{color:rgba(22,24,29,.58);text-underline-offset:3px}
.sq-fold-icon{display:none}
body:has(#sq-chat[open]) .sq-link--chat{width:64px;height:64px;min-height:64px;padding:0;border-radius:50%;background:#fff;color:#16181d}
body:has(#sq-chat[open]) .sq-link--chat img,body:has(#sq-chat[open]) .sq-link--chat span{display:none}
body:has(#sq-chat[open]) .sq-link--chat .sq-fold-icon{display:block;width:24px;height:24px}
.sq-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){.sq-dialog--chat{inset:auto 0 0;width:100%;max-width:none;height:92dvh;max-height:92dvh;border-radius:28px 28px 0 0;border-bottom:0}.sq-dialog--chat .sq-dialog-head{padding-top:22px}.sq-dialog--chat .sq-dialog-head:before{content:"";position:absolute;top:8px;left:50%;width:38px;height:4px;margin-left:-19px;border-radius:2px;background:rgba(22,24,29,.15)}.sq-ask input{font-size:16px}.sq-ask{padding-bottom:8px}.sq-chat-foot{padding-bottom:calc(12px + env(safe-area-inset-bottom));font-size:9px}}
@media(prefers-reduced-motion:reduce){.sq-link{transition:none}.sq-link:hover{transform:none}}
