.mp-cmp-fab{position:fixed;right:20px;bottom:calc(20px + var(--mp-tabbar-h,0px) + env(safe-area-inset-bottom,0px));z-index:50;width:52px;height:52px;padding:0;border-radius:50%;border:0;background:var(--surface-2,#29292c);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),0 8px 24px #0007;cursor:pointer;display:grid;place-items:center;transition:transform .12s,box-shadow .12s}.mp-cmp-fab img{width:44px;height:44px;border-radius:50%;display:block;pointer-events:none}.mp-cmp-fab:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 10px 28px #0009}.mp-cmp-fab:focus-visible{outline:2px solid var(--purple,#725ff9);outline-offset:3px}.mp-cmp-fab__badge{position:absolute;right:1px;top:1px;width:12px;height:12px;border-radius:50%;border:2px solid var(--surface-2,#29292c);background:#8878fa}.mp-cmp-fab[data-badge=thinking] .mp-cmp-fab__badge{animation:mp-cmp-pulse 1s ease-in-out infinite}.mp-cmp-fab[data-badge=happy] .mp-cmp-fab__badge{background:#3ccf8e}.mp-cmp-fab[data-badge=sorry] .mp-cmp-fab__badge{background:#ff6b6b}body:has(.mp-btt) .mp-cmp-fab{bottom:calc(96px + var(--mp-tabbar-h,0px))}@media (max-width:899px){.mp-cmp-fab{right:14px;width:48px;height:48px;bottom:calc(14px + var(--mp-tabbar-h,0px) + env(safe-area-inset-bottom,0px))}.mp-cmp-fab img{width:40px;height:40px}body:has(.mp-btt) .mp-cmp-fab{bottom:calc(80px + var(--mp-tabbar-h,0px))}}.mp-cmp{--cmp-bg:#18181b;--cmp-s2:#242428;--cmp-s3:#303035;--cmp-edge:inset 0 0 0 1px rgba(255,255,255,.1);--cmp-tx:#f2f2f5;--cmp-tx2:rgba(255,255,255,.7);--cmp-tx3:rgba(255,255,255,.5);--cmp-pu:var(--purple,#725ff9);--cmp-pu2:var(--purple-text,#8878fa);position:fixed;right:20px;bottom:calc(20px + var(--mp-tabbar-h,0px));z-index:60;width:400px;height:min(640px,calc(100dvh - 40px - var(--mp-tabbar-h,0px)));display:flex;flex-direction:column;background:var(--cmp-bg);color:var(--cmp-tx);border:0;border-radius:20px;box-shadow:0 24px 70px #000c;font:14px/1.55 var(--display,system-ui);overflow:hidden;animation:mp-cmp-in .16s ease-out}.mp-cmp:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:var(--cmp-edge);pointer-events:none;z-index:2}.mp-cmp *{box-sizing:border-box}.mp-cmp__grab{display:none}.mp-cmp__head{display:flex;align-items:center;gap:10px;padding:12px 12px 10px 14px;flex:none}.mp-cmp__avatar{position:relative;flex:none;width:38px;height:38px;border-radius:50%;border:2px solid var(--cmp-pu);background:#2a2550}.mp-cmp__avatar img{width:100%;height:100%;display:block;border-radius:50%}.mp-cmp__avatar:after{content:"";position:absolute;z-index:1;right:-3px;bottom:-3px;width:10px;height:10px;border-radius:50%;border:2px solid var(--cmp-bg);background:#3ccf8e}.mp-cmp__avatar[data-mood=listen]:after,.mp-cmp__avatar[data-mood=search]:after,.mp-cmp__avatar[data-mood=think]:after{background:#8878fa;animation:mp-cmp-pulse 1s ease-in-out infinite}.mp-cmp__avatar[data-mood=sorry]:after{background:#ff6b6b}.mp-cmp__avatar.is-large{width:64px;height:64px;margin:0 auto 10px}.mp-cmp__avatar.is-large:after{display:none}.mp-cmp__who{display:flex;flex-direction:column;min-width:0}.mp-cmp__who strong{font-size:15px;font-weight:700;display:flex;align-items:baseline;gap:6px}.mp-cmp__who small{font-size:11px;font-weight:500;color:var(--cmp-tx3)}.mp-cmp__naming{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;font-weight:550;color:var(--cmp-pu2);text-decoration:none;white-space:nowrap}.mp-cmp__naming:hover{text-decoration:underline}.mp-cmp__status{font-size:11.5px;color:#3ccf8e}.mp-cmp__status.is-busy{color:var(--cmp-pu2)}.mp-cmp__title{font-size:15px}.mp-cmp__tools{margin-left:auto;display:flex;gap:6px}.mp-cmp__icon{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:9px;background:var(--cmp-s2);color:var(--cmp-tx2);cursor:pointer;padding:0}.mp-cmp__icon:hover{color:var(--cmp-tx);background:var(--cmp-s3)}.mp-cmp a:focus-visible,.mp-cmp button:focus-visible,.mp-cmp__icon:focus-visible{outline:2px solid var(--cmp-pu2);outline-offset:1px}.mp-cmp__thread{flex:1 1;overflow-y:auto;overscroll-behavior:contain;padding:14px 14px 6px;display:flex;flex-direction:column;gap:10px;-webkit-mask-image:linear-gradient(180deg,transparent,#000 12px);mask-image:linear-gradient(180deg,transparent,#000 12px)}.mp-cmp__notice{align-self:center;font-size:11.5px;color:var(--cmp-tx3);background:var(--cmp-s2);padding:3px 10px;border-radius:99px;margin:0}.mp-cmp__older{align-self:center;border:0;background:none;color:var(--cmp-pu2);font:inherit;font-size:12px;cursor:pointer}.mp-cmp-msg{display:flex;flex-direction:column;gap:8px;max-width:92%}.mp-cmp-msg.is-user{align-self:flex-end;max-width:80%}.mp-cmp-msg__text{margin:0;white-space:pre-wrap;word-break:break-word;padding:9px 13px}.mp-cmp-msg.is-user .mp-cmp-msg__text{background:var(--cmp-pu);color:#fff;border-radius:16px 16px 4px 16px}.mp-cmp-msg.is-assistant .mp-cmp-msg__text{background:var(--cmp-s2);border-radius:16px 16px 16px 4px;align-self:flex-start}.mp-cmp-md{white-space:normal;overflow-wrap:anywhere}.mp-cmp-md>*{margin:0}.mp-cmp-md>*+*{margin-top:8px}.mp-cmp-md ol,.mp-cmp-md ul{padding-left:20px}.mp-cmp-md li+li{margin-top:2px}.mp-cmp-md li::marker{color:var(--cmp-tx3)}.mp-cmp-md strong{font-weight:700;color:#fff}.mp-cmp-md em{font-style:italic}.mp-cmp-md code{font:12.5px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--cmp-s3);border-radius:5px;padding:1px 5px}.mp-cmp-md a{color:var(--cmp-pu2);text-decoration:underline;text-underline-offset:2px}.mp-cmp-cursor{display:inline-block;width:7px;height:14px;margin-left:2px;vertical-align:-2px;border-radius:1px;background:var(--cmp-pu2);animation:mp-cmp-blink 1s steps(2) infinite}.mp-cmp-tool{margin:0;font-size:11.5px;line-height:1.4;color:var(--cmp-tx3);display:flex;align-items:center;gap:6px;padding-left:4px;min-width:0;max-width:100%}.mp-cmp-tool span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mp-cmp-tool i{width:6px;height:6px;border-radius:50%;background:var(--cmp-pu2);flex:none}.mp-cmp-tool.is-collapsed{font-size:11px}.mp-cmp-tool.is-collapsed i{width:4px;height:4px;background:var(--cmp-tx3)}.mp-cmp-tool.is-running i{animation:mp-cmp-pulse 1s ease-in-out infinite}.mp-cmp-tool.is-failed i{background:#ff6b6b}.mp-cmp-typing{margin:0;display:inline-flex;gap:4px;padding:12px 14px;background:var(--cmp-s2);border-radius:16px 16px 16px 4px;align-self:flex-start}.mp-cmp-typing i{width:6px;height:6px;border-radius:50%;background:var(--cmp-tx3);animation:mp-cmp-pulse 1.2s ease-in-out infinite}.mp-cmp-typing i:nth-child(2){animation-delay:.2s}.mp-cmp-typing i:nth-child(3){animation-delay:.4s}.mp-cmp-error{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#2a1a1f;color:#ffb3b3;padding:8px 12px;border-radius:12px;font-size:13px}.mp-cmp-error button{border:0;background:none;color:#fff;text-decoration:underline;font:inherit;cursor:pointer;padding:0}.mp-cmp-feedback{display:flex;gap:4px;padding-left:4px;color:var(--cmp-tx3);font-size:11.5px}.mp-cmp-feedback button{width:26px;height:26px;display:grid;place-items:center;border:0;border-radius:7px;background:none;color:var(--cmp-tx3);cursor:pointer;padding:0}.mp-cmp-feedback button:hover{background:var(--cmp-s2);color:var(--cmp-tx)}.mp-cmp-feedback .is-down svg{transform:rotate(180deg)}.mp-cmp-games{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;width:100%}.mp-cmp-game a{display:flex;gap:10px;align-items:center;background:var(--cmp-s2);border-radius:12px;padding:7px 10px 7px 7px;color:inherit;text-decoration:none;transition:background .12s}.mp-cmp-game a:hover{background:var(--cmp-s3)}.mp-cmp-game__cover{flex:none;width:44px;height:58px;border-radius:8px;background:var(--cmp-s3) center/cover no-repeat}.mp-cmp-game__body{min-width:0;flex:1 1;display:flex;flex-direction:column;gap:1px}.mp-cmp-game__body strong{font-size:13.5px;line-height:1.35;font-weight:650}.mp-cmp-game__body strong,.mp-cmp-game__meta,.mp-cmp-game__why{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mp-cmp-game__why{font-size:12px;line-height:1.4;color:var(--cmp-tx2)}.mp-cmp-game__meta{font-size:11px;line-height:1.4;color:var(--cmp-tx3)}.mp-cmp-game__meta span+span:before{content:"·";margin:0 5px;color:var(--cmp-tx3)}.mp-cmp-game__meta .is-hl{color:#3ccf8e}.mp-cmp-game__play{flex:none;display:inline-flex;align-items:center;gap:4px;background:var(--cmp-pu);color:#fff;font-weight:650;font-size:12px;height:28px;padding:0 11px;border-radius:999px}.mp-cmp-card{width:100%;background:var(--cmp-s2);border-radius:14px;padding:12px 13px}.mp-cmp-card h4{margin:0 0 6px;font-size:12px;color:var(--cmp-pu2);font-weight:650;letter-spacing:.3px}.mp-cmp-rows{margin:0;display:flex;flex-direction:column;gap:5px}.mp-cmp-row{display:grid;grid-template-columns:1fr auto;grid-gap:2px 10px;gap:2px 10px;font-size:12.5px}.mp-cmp-row dt{color:var(--cmp-tx2)}.mp-cmp-row dd{margin:0;font-weight:600;text-align:right}.mp-cmp-meter{grid-column:1/-1;height:7px;background:var(--cmp-bg);border-radius:99px;overflow:hidden}.mp-cmp-meter i{display:block;height:100%;background:linear-gradient(90deg,#8878fa,#3ccf8e)}.mp-cmp-idea__title{display:block;font-size:17px;font-weight:750;margin:2px 0 3px}.mp-cmp-idea__pitch{margin:0;color:var(--cmp-tx2);font-size:12.5px}.mp-cmp-idea__list{list-style:none;margin:8px 0 2px;padding:0;display:flex;flex-direction:column;gap:4px}.mp-cmp-idea__list li{font-size:12.5px;padding-left:16px;position:relative}.mp-cmp-idea__list li:before{content:"";position:absolute;left:3px;top:7px;width:6px;height:6px;border-radius:2px;background:var(--cmp-pu2)}.mp-cmp-idea__tags{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.mp-cmp-idea__tags span{font-size:11px;padding:2px 7px;border-radius:6px;background:var(--cmp-s3);color:var(--cmp-tx2)}.mp-cmp-idea__prompt{margin-top:10px;font-size:11.5px;color:var(--cmp-tx3)}.mp-cmp-idea__prompt summary{cursor:pointer}.mp-cmp-idea__prompt p{margin:6px 0 0;white-space:pre-wrap}.mp-cmp-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.mp-cmp-card>.mp-cmp-actions:first-child,.mp-cmp-msg>.mp-cmp-actions{margin-top:0}.mp-cmp-btn{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 12px;border-radius:10px;border:0;background:transparent;box-shadow:var(--cmp-edge);color:var(--cmp-tx);font:inherit;font-size:12.5px;font-weight:650;cursor:pointer;text-decoration:none}.mp-cmp-btn:hover{background:rgba(255,255,255,.06)}.mp-cmp-btn.is-primary{background:var(--cmp-pu);box-shadow:none;color:#fff}.mp-cmp-btn.is-primary:hover{filter:brightness(1.12)}.mp-cmp-btn.is-block{width:100%;flex:none}.mp-cmp-source{margin:0;display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:11.5px;color:var(--cmp-tx3)}.mp-cmp-source span{color:var(--cmp-pu2)}.mp-cmp-recall{display:flex;flex-direction:column;gap:6px}.mp-cmp-recall button{display:flex;align-items:center;gap:8px;text-align:left;border:0;background:var(--cmp-s2);color:var(--cmp-tx);border-radius:12px;padding:8px 10px;font:inherit;font-size:12.5px;cursor:pointer}.mp-cmp-recall small{display:block;font-size:10.5px;color:var(--cmp-tx3)}.mp-cmp__chips{display:flex;gap:6px;flex-wrap:wrap;padding:4px 14px 10px;flex:none}.mp-cmp__chips button{font:inherit;font-size:12.5px;padding:6px 11px;border-radius:999px;border:0;box-shadow:var(--cmp-edge);color:var(--cmp-tx);background:transparent;cursor:pointer}.mp-cmp__chips button:hover:not(:disabled){background:rgba(255,255,255,.06)}.mp-cmp__chips button:disabled{opacity:.5;cursor:default}.mp-cmp__form{margin:0 12px 12px;display:flex;align-items:flex-end;gap:8px;background:var(--cmp-s2);border:0;box-shadow:var(--cmp-edge);border-radius:16px;padding:8px 8px 8px 14px;flex:none}.mp-cmp__form:focus-within{background:var(--cmp-s3)}.mp-cmp__form textarea{flex:1 1;min-height:34px;max-height:120px;resize:none;border:0;background:none;color:var(--cmp-tx);font:inherit;line-height:1.5;padding:6px 0;outline:none;field-sizing:content}.mp-cmp__form textarea::placeholder{color:var(--cmp-tx3)}.mp-cmp__send{flex:none;width:34px;height:34px;border-radius:11px;border:0;background:var(--cmp-pu);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}.mp-cmp__send:disabled{color:var(--cmp-tx3);cursor:default}.mp-cmp__send.is-stop,.mp-cmp__send:disabled{background:var(--cmp-s3)}.mp-cmp__stop{width:11px;height:11px;border-radius:2px;background:#fff}.mp-cmp__form.is-disabled{opacity:.6}.mp-cmp__form textarea:disabled{cursor:not-allowed}.mp-cmp__quota{margin:0 16px 6px;font-size:11.5px;line-height:1.4;color:var(--cmp-tx3);flex:none}.mp-cmp-limit__body,.mp-cmp__quota.is-out{color:var(--cmp-tx2)}.mp-cmp-limit__body{margin:0;font-size:12.5px}.mp-cmp .mp-cmp__count{display:block;margin:-8px 16px 8px;text-align:right;font-size:11px;color:var(--cmp-tx3)}.mp-cmp__history{flex:1 1;overflow-y:auto;padding:8px 12px 14px}.mp-cmp__history h5{margin:10px 4px 4px;font-size:11.5px;font-weight:500;color:var(--cmp-tx3)}.mp-cmp__history ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.mp-cmp__history li{display:flex;align-items:center;gap:6px;background:var(--cmp-s2);border-radius:12px;padding:4px 6px 4px 4px}.mp-cmp__history li.is-active{background:var(--cmp-s3)}.mp-cmp-hist__open{flex:1 1;min-width:0;text-align:left;border:0;background:none;color:inherit;font:inherit;cursor:pointer;padding:6px 8px;display:flex;flex-direction:column}.mp-cmp-hist__open strong{font-size:13.5px;font-weight:650}.mp-cmp-hist__open span,.mp-cmp-hist__open strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mp-cmp-hist__open span{font-size:12px;color:var(--cmp-tx2)}.mp-cmp-hist__ops{display:flex;gap:4px;opacity:.6}.mp-cmp__history li:focus-within .mp-cmp-hist__ops,.mp-cmp__history li:hover .mp-cmp-hist__ops{opacity:1}.mp-cmp-hist__edit{flex:1 1;display:flex;gap:6px;padding:4px}.mp-cmp-hist__edit input{flex:1 1;min-width:0;border:0;box-shadow:var(--cmp-edge);border-radius:8px;background:var(--cmp-bg);color:var(--cmp-tx);font:inherit;padding:6px 8px}.mp-cmp-hist__edit .mp-cmp-btn{flex:none}.mp-cmp--login{height:auto;padding:26px 22px 20px;text-align:center;gap:8px}.mp-cmp--login h3{margin:0;font-size:17px}.mp-cmp--login p{margin:0 0 8px;color:var(--cmp-tx2);font-size:13px}.mp-cmp__login-close{position:absolute;right:10px;top:10px}@media (max-width:899px){.mp-cmp{left:0;right:0;bottom:0;width:auto;height:78dvh;border-radius:22px 22px 0 0;animation:mp-cmp-up .2s ease-out;padding-bottom:env(safe-area-inset-bottom,0)}.mp-cmp__grab{display:block;width:40px;height:5px;border-radius:9px;background:rgba(255,255,255,.2);margin:8px auto 0;flex:none}.mp-cmp__head{padding-top:6px}.mp-cmp--login{height:auto;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}}@keyframes mp-cmp-in{0%{opacity:0;transform:translateY(8px)}}@keyframes mp-cmp-up{0%{transform:translateY(40%);opacity:.4}}@keyframes mp-cmp-pulse{50%{opacity:.35}}@keyframes mp-cmp-blink{to{visibility:hidden}}@media (prefers-reduced-motion:reduce){.mp-cmp,.mp-cmp *,.mp-cmp-fab,.mp-cmp-fab *{animation:none!important;transition:none!important}}