:root{--bg:#f7f8fa;--card:#ffffff;--text:#1a1d24;--muted:#6b7280;--blue:#2563eb;--blue-bg:#eff6ff;--green:#059669;--yellow:#d97706;--red:#dc2626;--border:#e5e7eb;--zb-chat-font:14.5px;--zb-ui-font:14px;color-scheme:light}html[data-theme=dark]{--bg:#12151a;--card:#1c2128;--text:#e8eaed;--muted:#9aa3b2;--blue:#6b9bff;--blue-bg:#1a2740;--green:#3dbe8c;--yellow:#e0a33a;--red:#f07178;--border:#2c3440;color-scheme:dark}html[data-font=sm]{--zb-font:14px;--zb-font-sm:12px;--zb-font-lg:15px;--zb-chat-font:13.5px;--zb-ui-font:13px}html:not([data-font]),html[data-font=md]{--zb-font:16px;--zb-font-sm:13px;--zb-font-lg:17px;--zb-chat-font:14.5px;--zb-ui-font:14px}html[data-font=lg]{--zb-font:18px;--zb-font-sm:15px;--zb-font-lg:20px;--zb-chat-font:16.5px;--zb-ui-font:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,PingFang SC,Microsoft YaHei,sans-serif;font-size:var(--zb-font,16px)}:root{--zb-kb-height:0px;--zb-shell-height:var(--zb-app-height,100dvh)}html{height:100%;height:-webkit-fill-available}body,html{height:100%;max-height:var(--zb-shell-height,var(--zb-app-height,100dvh));overflow:hidden;overscroll-behavior:none}body{min-height:100%;min-height:-webkit-fill-available}.zb-composer{flex-shrink:0;padding-bottom:10px;background:var(--bg);z-index:5}html:not([data-zb-kb]) .zb-composer{padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}.zb-composer input{font-size:16px}body,html{-webkit-tap-highlight-color:transparent}html{text-size-adjust:100%}:root{--zb-pad:clamp(0.5rem,2.5vw,1rem);--zb-font:clamp(0.9375rem,0.88rem + 0.3vw,1rem);--zb-font-sm:clamp(0.75rem,0.7rem + 0.25vw,0.875rem);--zb-font-lg:clamp(0.95rem,0.9rem + 0.35vw,1.125rem);--zb-gap:clamp(0.375rem,1.5vw,0.75rem);--zb-radius:clamp(0.5rem,2vw,0.75rem)}body{font-size:var(--zb-font)}.zb-break,.zb-prose{overflow-wrap:break-word;word-break:break-word;max-width:100%;min-width:0;box-sizing:border-box}.zb-scroll-y{min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.zb-pre-code,.zb-scroll-x{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.zb-pre-code{display:block;overflow-y:hidden;overflow-wrap:normal;word-break:normal;white-space:pre}.zb-flex-row{display:flex;flex-wrap:wrap;min-width:0;max-width:100%}.zb-flex-row>*{margin-right:.5rem;margin-bottom:.375rem}.zb-flex-1{flex:1 1 auto;min-width:0;max-width:100%}.zb-chip{max-width:280px;width:72%;flex:0 0 auto}.zb-card,.zb-chip{min-width:0;overflow-wrap:break-word;word-break:break-word;box-sizing:border-box}.zb-card{max-width:100%}.zb-bubble{max-width:78%;min-width:0;overflow-wrap:break-word;word-break:break-word;white-space:pre-wrap;box-sizing:border-box}.zb-composer,.zb-composer-main{max-width:100%;min-width:0;box-sizing:border-box}.zb-composer-main{display:flex;align-items:flex-end;width:100%}.zb-composer textarea.zb-composer-input,.zb-composer-input{width:55%;min-height:44px;max-height:120px;font-size:16px;line-height:1.4;resize:none;overflow-x:hidden;overflow-y:auto}.zb-composer input,.zb-composer textarea,.zb-composer textarea.zb-composer-input,.zb-composer-input{flex:1 1 auto;min-width:0!important;max-width:100%;box-sizing:border-box}.zb-listen-hint{max-width:100%;min-width:0;overflow-wrap:break-word;word-break:break-word;white-space:pre-wrap;box-sizing:border-box}.zb-top-slim{padding-left:max(var(--zb-pad),env(safe-area-inset-left,0px));padding-right:max(var(--zb-pad),env(safe-area-inset-right,0px));gap:var(--zb-gap);min-width:0}.zb-top-slim>*{min-width:0}.zb-drawer-item{font-size:var(--zb-font);overflow-wrap:break-word;word-break:break-word}.zb-tabs{scrollbar-width:none;max-width:100%;overflow-x:auto}.zb-tabs::-webkit-scrollbar{display:none}@media (max-width:320px){body{font-size:clamp(.875rem,.85rem + .2vw,.9375rem)}.zb-peers{padding-bottom:4.5rem}.zb-voice-mumo-wrap{width:78vw;max-width:200px;height:78vw;max-height:200px}.zb-voice-blob-wrap{width:70vw;max-width:180px;height:70vw;max-height:180px}.zb-hamburger{width:2rem;height:2rem;font-size:1rem}}@media (min-width:321px) and (max-width:360px){body{font-size:.9375rem}.zb-peers{padding-bottom:4.5rem}}@media (min-width:361px) and (max-width:390px){body{font-size:.95rem}.zb-peers{padding-bottom:4.5rem}}@media (min-width:391px) and (max-width:412px){body{font-size:.96875rem}.zb-peers{padding-bottom:4.5rem}}@media (min-width:413px) and (max-width:480px){body{font-size:1rem}.zb-peers{padding-bottom:4.5rem}}@media (min-width:481px) and (max-width:600px){.zb-peers{padding-bottom:4rem}}@media (max-width:720px){.zb-peers{padding-bottom:72px}}@media (min-width:601px) and (max-width:768px){body{font-size:1rem}}@media (min-width:769px) and (max-width:1024px){body{font-size:1rem}}@media (min-width:1025px){body{font-size:1rem}}@media (orientation:landscape) and (max-height:480px){.zb-voice-mumo-wrap{width:min(42vh,180px);height:min(42vh,180px)}.zb-voice-blob-wrap{width:min(38vh,160px);height:min(38vh,160px)}.zb-top-slim{padding-top:max(6px,env(safe-area-inset-top,0px));padding-bottom:6px}}@media (-webkit-min-device-pixel-ratio:1.25),(min-resolution:1.25dppx){.zb-drawer-item{line-height:1.35}}.zb-voice-sky-mumo{background:radial-gradient(ellipse 80% 50% at 50% -10%,rgba(248,232,216,.75),transparent 60%),radial-gradient(ellipse 60% 40% at 80% 80%,rgba(247,156,147,.12),transparent 50%)!important}.zb-voice-mumo-wrap{position:relative;z-index:1;width:min(72vw,260px);height:min(72vw,260px);display:flex;align-items:center;justify-content:center}.zb-voice-mumo{width:100%;height:100%;filter:drop-shadow(0 10px 24px rgba(80,55,35,.18))}.zb-voice-mumo svg{width:100%;height:100%;display:block}.zb-voice-canvas.zb-has-choice .zb-voice-mumo-wrap{width:min(34vw,132px);height:min(34vw,132px);max-width:132px;max-height:132px}.zb-choice{display:flex;flex-direction:column;gap:8px;width:min(100%,420px);max-height:46dvh;overflow-y:auto;margin:10px auto 0;padding:0 4px 4px;box-sizing:border-box}.zb-choice-q{color:#3d342c;line-height:1.45}.zb-choice-btn,.zb-choice-q{font-size:16px;font-weight:600;text-align:center;overflow-wrap:anywhere}.zb-choice-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;border:1px solid #b7e0cc;background:#fff;color:#145c42;border-radius:14px;min-height:48px;padding:12px 16px;line-height:1.35;cursor:pointer;font-family:inherit}.zb-choice-btn:active{background:#e7f6ee}.zb-choice-btn:disabled{opacity:.55;cursor:default}.zb-choice-skip{border:none;background:transparent;color:#7a7168;font-size:13px;min-height:36px;padding:6px 10px;cursor:pointer;font-family:inherit}.zb-choice-skip:disabled{opacity:.55;cursor:default}.zb-voice-mumo .mumo.state-idle{--mAcc:#A0A4AB}.zb-voice-mumo .mumo.state-think{--mAcc:#FF9F45}.zb-voice-mumo .mumo.state-work{--mAcc:#3BA9F5}.zb-voice-mumo .mumo.state-done,.zb-voice-mumo .mumo.state-happy{--mAcc:#4BC97A}.zb-voice-canvas{-moz-user-select:none;user-select:none;-webkit-user-select:none}.zb-voice-sky{position:absolute;inset:0;background:radial-gradient(ellipse 80% 50% at 50% -10%,rgba(125,211,252,.55),transparent 60%),radial-gradient(ellipse 60% 40% at 80% 80%,rgba(167,139,250,.2),transparent 50%);pointer-events:none}.zb-voice-blob-wrap{position:relative;z-index:1;width:220px;height:220px;display:flex;align-items:center;justify-content:center}.zb-voice-blob{position:relative;animation:zb-float 3.6s ease-in-out infinite}.zb-voice-blob.zb-hot{animation:zb-pulse 1.4s ease-in-out infinite}.zb-voice-face{display:block;filter:drop-shadow(0 12px 28px rgba(37,99,235,.25))}@keyframes zb-float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes zb-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.04)}}.zb-rings{position:absolute;inset:-18px;pointer-events:none}.zb-rings span{position:absolute;inset:0;border:2px solid rgba(37,99,235,.35);border-radius:50%;animation:zb-ring 2s ease-out infinite}.zb-rings span:nth-child(2){animation-delay:.4s}.zb-rings span:nth-child(3){animation-delay:.8s}@keyframes zb-ring{0%{transform:scale(.85);opacity:.7}to{transform:scale(1.35);opacity:0}}.zb-sound-bars{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);display:flex;gap:4px;align-items:flex-end;height:28px}.zb-sound-bars i{display:block;width:5px;border-radius:3px;background:#3b82f6;animation:zb-bar .7s ease-in-out infinite}.zb-sound-bars i:first-child{height:10px;animation-delay:0s}.zb-sound-bars i:nth-child(2){height:18px;animation-delay:.1s}.zb-sound-bars i:nth-child(3){height:24px;animation-delay:.2s}.zb-sound-bars i:nth-child(4){height:14px;animation-delay:.15s}.zb-sound-bars i:nth-child(5){height:8px;animation-delay:.05s}@keyframes zb-bar{0%,to{transform:scaleY(.55)}50%{transform:scaleY(1)}}.zb-drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.4);z-index:40;animation:zb-fade .18s ease}.zb-drawer{position:fixed;top:0;left:0;bottom:0;width:min(86vw,320px);height:100%;max-height:var(--zb-shell-height,var(--zb-app-height,100dvh));background:var(--card);color:var(--text);z-index:50;box-shadow:8px 0 32px rgba(15,23,42,.18);display:flex;flex-direction:column;transform:translateX(0);animation:zb-slide-in .2s ease;padding-top:env(safe-area-inset-top,0);padding-bottom:max(12px,env(safe-area-inset-bottom,0px));overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}@keyframes zb-slide-in{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes zb-fade{0%{opacity:0}to{opacity:1}}.zb-drawer-item{display:flex;align-items:center;gap:10px;padding:12px 18px;border:none;background:transparent;font-size:15px;color:#1f2329;cursor:pointer;text-align:left;width:100%}.zb-drawer-item.zb-on,.zb-drawer-item:active{background:#eef3fe;color:#3565e0;font-weight:600}.zb-top-slim{background:#3565e0;color:#fff;padding:max(10px,env(safe-area-inset-top)) 12px 10px;display:flex;align-items:center;gap:10px;flex-shrink:0}.zb-hamburger{border:none;background:rgba(255,255,255,.18);color:#fff;width:36px;height:36px;border-radius:10px;font-size:18px;cursor:pointer}.zb-composer-main{background:#fff}.zb-composer-iconbtn{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.zb-composer textarea.zb-composer-input{border:none!important;background:transparent!important;box-shadow:none!important}.zb-composer-input::placeholder{color:#8a94a6}.zb-mode-pill{border:none;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;cursor:pointer;line-height:1.2;-webkit-tap-highlight-color:transparent}.zb-mode-pill-on-dark{background:rgba(255,255,255,.18);color:#fff}.zb-mode-pill-on-dark:active{background:rgba(255,255,255,.28)}.zb-voice-float-bar{position:absolute;top:0;left:0;right:0;z-index:6;display:flex;align-items:center;gap:8px;padding:max(10px,env(safe-area-inset-top,0px)) 12px 10px;pointer-events:none;background:linear-gradient(180deg,rgba(247,245,241,.92),rgba(247,245,241,.55) 70%,transparent)}.zb-voice-float-btn{pointer-events:auto;border:none;background:rgba(255,255,255,.72);color:#3d342c;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);width:40px;height:40px;border-radius:14px;font-size:16px;cursor:pointer;box-shadow:0 4px 14px rgba(80,55,35,.1);display:inline-flex;align-items:center;justify-content:center;gap:4px;-webkit-tap-highlight-color:transparent}.zb-voice-float-btn:active{transform:scale(.96);background:rgba(255,255,255,.92)}.zb-voice-float-text{width:auto;padding:0 12px;font-size:13px;font-weight:600;color:#3565e0}.zb-voice-float-status{pointer-events:none;font-size:12px;color:#7a7168;font-weight:500;max-width:42vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zb-voice-shell .zb-voice-canvas{padding-top:8px}