:root{--bg:#fff;--sidebar:#fff;--panel:#f7f7f8;--line:#ececee;--line-strong:#e2e2e5;--text:#1c1c1e;--text-2:#5e5e64;--text-3:#9a9aa1;--bubble:#f2f2f3;--bubble-me:#161618;--selected:#ececee;--hover:#f4f4f5;--chip:#efeff1;--blue:#3a7bf7;--green:#1da160;--orange:#ff8a3d;--red:#f0473c;--shadow-1:0 1px 2px #0000000a, 0 2px 10px #0000000f;--shadow-2:0 2px 6px #0000000d, 0 10px 32px #0000001a;--radius-bubble:22px;--fs:16px;--fs-sm:14px;--font:-apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.big-font{--fs:19px;--fs-sm:16px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{background:var(--bg);height:100%;color:var(--text);font-family:var(--font);font-size:var(--fs);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overscroll-behavior:none;margin:0}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}input,textarea,select{font:inherit;color:inherit}img,video{max-width:100%;display:block}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#0000001f padding-box content-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-track{background:0 0}.chat-avatar{object-fit:contain;-webkit-user-select:none;user-select:none;flex-shrink:0;display:block;position:relative}.chat-avatar-gently{transform-origin:bottom;animation:6s ease-in-out infinite chat-avatar-float}.chat-avatar-active{animation-duration:2.4s}@keyframes chat-avatar-float{0%,to{transform:translateY(0)rotate(-1deg)}50%{transform:translateY(-4px)rotate(1deg)}}@media (prefers-reduced-motion:reduce){.chat-avatar{animation:none!important}}.group-avatar{border-radius:50%;flex:none;position:relative}.app{background:var(--bg);width:100%;height:100%;display:flex;overflow:hidden}.sidebar{background:var(--sidebar);border-right:1px solid var(--line);z-index:2;flex-direction:column;flex:none;width:340px;display:flex;position:relative}.sidebar-top{justify-content:flex-end;align-items:center;gap:14px;height:76px;padding:20px 22px 0;display:flex}.round-btn{width:44px;height:44px;box-shadow:var(--shadow-1);color:#2a2a2d;background:#fff;border-radius:50%;flex:none;place-items:center;transition:transform .15s,box-shadow .15s,background .15s;display:grid}.round-btn:hover{box-shadow:var(--shadow-2)}.round-btn:active{transform:scale(.94)}.round-btn.sm{width:36px;height:36px}.round-btn.flat{box-shadow:none;background:0 0}.round-btn.flat:hover{background:var(--hover)}.sidebar-search{background:var(--chip);height:40px;color:var(--text-3);border-radius:14px;align-items:center;gap:8px;margin:0 18px 8px;padding:0 12px;animation:.18s fade-down;display:flex}.sidebar-search input{color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:15px}.profile{flex-direction:column;align-items:center;gap:10px;padding:6px 0 18px;display:flex}.profile-avatar{cursor:pointer;border-radius:50%;position:relative}.profile-avatar .badge{background:var(--orange);color:#fff;border:3px solid #fff;border-radius:50%;place-items:center;width:26px;height:26px;display:grid;position:absolute;bottom:4px;right:2px;box-shadow:0 2px 6px #ff8a3d59}.profile-name{color:var(--text);letter-spacing:.2px;font-size:18px;font-weight:500}.conv-list{flex:1;padding:2px 14px 10px;overflow-y:auto}.list-item{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:18px;align-items:center;gap:14px;padding:12px;transition:background .15s;display:flex;position:relative}.list-item:hover{background:var(--hover)}.list-item.active{background:var(--selected)}.list-item .meta{flex:1;min-width:0}.list-item .row1{align-items:center;gap:8px;min-width:0;display:flex}.list-item .name{font-size:calc(var(--fs) + 1px);white-space:nowrap;text-overflow:ellipsis;font-weight:500;overflow:hidden}.tag-chip{color:var(--text-2);background:var(--chip);white-space:nowrap;border-radius:7px;flex:none;padding:2px 8px;font-size:12px;line-height:18px}.list-item.active .tag-chip{background:#e2e2e5}.list-item .preview{font-size:var(--fs-sm);color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;margin-top:3px;line-height:1.5;overflow:hidden}.list-item .preview .live{color:var(--orange)}.list-item .unread{background:var(--red);color:#fff;border:2px solid #fff;border-radius:10px;place-items:center;min-width:19px;height:19px;padding:0 5px;font-size:11px;font-weight:600;display:grid;position:absolute;top:8px;left:50px}.list-item .time{color:var(--text-3);flex:none;margin-left:auto;font-size:12px}.sidebar-bottom{padding:14px 20px calc(18px + var(--safe-b));align-items:center;gap:14px;display:flex}.connect-btn{height:52px;box-shadow:var(--shadow-1);background:#fff;border-radius:26px;flex:1;justify-content:center;align-items:center;gap:12px;font-size:17px;font-weight:500;transition:box-shadow .15s,transform .15s;display:flex}.connect-btn:hover{box-shadow:var(--shadow-2)}.connect-btn:active{transform:scale(.98)}.connect-btn .glyphs{gap:3px;display:flex}.connect-btn .dot{background:var(--green);border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #1da16026}.connect-btn .dot.demo{background:var(--orange);box-shadow:0 0 0 3px #ff8a3d2e}.chat{background:var(--bg);flex-direction:column;flex:1;min-width:0;display:flex;position:relative}.chat-header{z-index:5;padding:calc(14px + var(--safe-t)) 16px 26px;pointer-events:none;background:linear-gradient(#fffffff5 0%,#ffffffd9 55%,#fff0 100%);justify-content:center;align-items:center;display:flex;position:absolute;top:0;left:0;right:0}.chat-header>*{pointer-events:auto}.header-pill{height:50px;box-shadow:var(--shadow-1);background:#fff;border-radius:25px;align-items:center;gap:10px;max-width:calc(100% - 120px);padding:0 20px 0 8px;font-size:17px;font-weight:600;transition:box-shadow .15s,transform .15s;display:flex}.header-pill:hover{box-shadow:var(--shadow-2)}.header-pill:active{transform:scale(.98)}.header-pill .title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.header-pill .sub{color:var(--text-3);white-space:nowrap;margin-left:-2px;font-size:12px;font-weight:400}.header-pill .sub.live{color:var(--orange)}.chat-header .left,.chat-header .right{top:calc(17px + var(--safe-t));gap:10px;display:flex;position:absolute}.chat-header .left{left:16px}.chat-header .right{right:16px}.messages{scroll-behavior:auto;overscroll-behavior:contain;flex:1;padding:92px 0 24px;overflow:hidden auto}.messages-inner{max-width:980px;margin:0 auto;padding:0 40px}.time-sep{text-align:center;color:var(--text-3);margin:22px 0 14px;font-size:13px}.msg{align-items:flex-end;gap:12px;margin-top:6px;animation:.32s cubic-bezier(.2,.9,.3,1.2) both msg-in;display:flex}.msg.first{margin-top:20px}.msg .avatar-slot{flex:none;justify-content:center;width:38px;display:flex}.msg .col{flex-direction:column;align-items:flex-start;min-width:0;max-width:min(760px,100% - 50px);display:flex}.msg .sender{align-items:center;gap:6px;margin:0 0 6px 4px;font-size:14px;font-weight:500;display:flex}.msg .sender .role{color:var(--text-3);background:var(--chip);border-radius:6px;padding:0 6px;font-size:11px;font-weight:400;line-height:17px}.msg.me{justify-content:flex-end}.msg.me .col{align-items:flex-end}.bubble{background:var(--bubble);border-radius:var(--radius-bubble);font-size:var(--fs);color:var(--text);word-break:break-word;overflow-wrap:anywhere;max-width:100%;padding:14px 20px;line-height:1.75;position:relative}.msg.me .bubble{background:var(--bubble-me);color:#fff;border-radius:24px;padding:11px 20px}.msg.me .bubble.pending{opacity:.6}.msg.me .bubble.failed{background:#b33}.bubble.error{color:#8a2a20;background:#fff3f1}.bubble.card{width:640px;max-width:100%;padding:18px 20px 14px}.bubble p{margin:0 0 10px}.bubble p:last-child{margin-bottom:0}.bubble ol,.bubble ul{margin:6px 0 10px;padding-left:1.4em}.bubble ol:last-child,.bubble ul:last-child{margin-bottom:0}.bubble li{margin:4px 0;padding-left:4px}.bubble ul li::marker{color:var(--text-3)}.bubble strong{font-weight:600}.bubble code{background:#0000000f;border-radius:5px;padding:1px 5px;font-size:.92em}.bubble a{color:var(--blue)}.bubble-foot{color:var(--text-2);border-top:1px solid #00000014;flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:12px;font-size:13px;display:flex}.bubble-foot .sep{color:var(--text-3)}.msg-actions{opacity:0;color:var(--text-3);align-self:center;gap:2px;margin-bottom:4px;transition:opacity .15s;display:flex}.msg:hover .msg-actions{opacity:1}.msg-actions button{border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.msg-actions button:hover{background:var(--hover);color:var(--text)}.attach-grid{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-bottom:6px;display:flex}.msg:not(.me) .attach-grid{justify-content:flex-start;margin-top:10px}.attach-grid img{object-fit:cover;background:var(--chip);cursor:zoom-in;border-radius:16px;width:150px;height:150px}.attach-grid .cast{color:var(--text-2);flex-direction:column;align-items:center;gap:4px;font-size:12px;display:flex}.attach-grid .cast img{width:120px;height:160px}.quick-replies{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.quick-replies.indent{padding-left:50px;animation:.4s cubic-bezier(.2,.9,.3,1.2) .1s both msg-in}.mobile .quick-replies.indent{padding-left:46px}.quick-replies button,.suggest button{border:1px solid var(--line-strong);height:34px;color:var(--text);white-space:nowrap;background:#fff;border-radius:17px;padding:0 14px;font-size:14px;transition:background .15s,transform .15s,border-color .15s}.quick-replies button:hover,.suggest button:hover{background:var(--hover);border-color:#d4d4d8}.quick-replies button:active,.suggest button:active{transform:scale(.96)}.typing-dots{align-items:center;gap:5px;height:28px;padding:6px 2px;display:inline-flex}.typing-dots i{background:#a9a9b0;border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite dot}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes dot{0%,60%,to{opacity:.5;transform:translateY(0)}30%{opacity:1;transform:translateY(-5px)}}.scroll-down{width:44px;height:44px;box-shadow:var(--shadow-2);z-index:3;background:#fff;border-radius:50%;place-items:center;animation:.2s pop-in;display:grid;position:absolute;bottom:calc(100% + 12px);left:50%;transform:translate(-50%)}.scroll-down .n{background:var(--red);color:#fff;border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:11px;display:grid;position:absolute;top:-4px;right:-4px}.composer-wrap{padding:6px 40px calc(20px + var(--safe-b));width:100%;max-width:1060px;margin:0 auto;position:relative}.composer-tools{scrollbar-width:none;gap:8px;margin-bottom:10px;padding:2px;display:flex;overflow-x:auto}.composer-tools::-webkit-scrollbar{display:none}.suggest{gap:8px;display:flex}.stop-btn{border:1px solid var(--line-strong);background:#fff;border-radius:17px;flex:none;align-items:center;gap:6px;height:34px;padding:0 14px 0 10px;font-size:14px;display:flex}.stop-btn .spin{border:2px solid #ffd2b5;border-top-color:var(--orange);border-radius:50%;width:14px;height:14px;animation:.8s linear infinite spin}.composer{background:#fff;border-radius:32px;align-items:flex-end;gap:10px;padding:9px 10px;transition:box-shadow .2s;display:flex;box-shadow:0 0 0 1px #0000000f,0 4px 22px #00000012}.composer.focus{box-shadow:0 0 0 1px #0000001a,0 6px 28px #0000001a}.composer.drag{box-shadow:0 0 0 2px var(--blue), 0 6px 28px #3a7bf72e}.composer .plus{background:var(--chip);color:#3a3a3e;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;transition:background .15s,transform .15s;display:grid}.composer .plus:hover{background:#e4e4e7}.composer .plus:active{transform:scale(.92)}.composer .field{flex-direction:column;flex:1;justify-content:center;min-width:0;min-height:44px;display:flex}.composer textarea{resize:none;width:100%;font-size:calc(var(--fs) + 1px);background:0 0;border:0;outline:0;max-height:180px;padding:10px 4px;line-height:1.5;display:block}.composer textarea::placeholder{color:#a6a6ad}.composer .mic,.composer .send{color:#fff;background:#111113;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;transition:transform .15s,background .2s;display:grid}.composer .mic:active,.composer .send:active{transform:scale(.9)}.composer .mic.listening{background:var(--red);animation:1.2s infinite pulse}@keyframes pulse{0%{box-shadow:0 0 #f0473c73}to{box-shadow:0 0 0 14px #f0473c00}}.pending-atts{flex-wrap:wrap;gap:8px;padding:6px 4px 2px;display:flex}.pending-att{background:var(--chip);border-radius:14px;width:64px;height:64px;position:relative;overflow:hidden}.pending-att img{object-fit:cover;width:100%;height:100%}.pending-att .x{color:#fff;background:#0000008c;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:4px;right:4px}.pending-att .loading{background:#fff9;place-items:center;display:grid;position:absolute;inset:0}.spinner{border:2.5px solid #0000001f;border-top-color:#333;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.card-title{font-size:calc(var(--fs) + 2px);align-items:center;gap:8px;font-weight:600;line-height:1.4;display:flex}.card-sub{color:var(--text-2);font-size:var(--fs-sm);margin-top:4px;line-height:1.6}.chips{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.chip{color:var(--text-2);background:#fff;border-radius:8px;padding:3px 9px;font-size:12.5px;line-height:18px}.chars{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.char{background:#fff;border-radius:14px;align-items:center;gap:10px;max-width:100%;padding:8px 12px 8px 8px;display:flex}.char img{object-fit:cover;background:var(--chip);border-radius:9px;flex:none;width:40px;height:52px}.char .ph{background:linear-gradient(135deg,#f2f2f4,#e6e6ea);border-radius:9px;flex:none;width:40px;height:52px}.char .n{font-size:14px;font-weight:600}.char .l{color:var(--text-3);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.shot-list{flex-direction:column;gap:2px;margin-top:14px;display:flex}.shot-row{cursor:pointer;border-radius:12px;grid-template-columns:26px 1fr auto;align-items:start;gap:8px;padding:8px;transition:background .15s;display:grid}.shot-row:hover{background:#ffffffb3}.shot-row .no{width:22px;height:22px;color:var(--text-2);background:#fff;border-radius:7px;place-items:center;margin-top:2px;font-size:12px;font-weight:600;display:grid}.shot-row .t{font-size:15px;font-weight:500;line-height:1.6}.shot-row .cam{color:var(--text-3);margin-left:6px;font-size:12.5px;font-weight:400}.shot-row .line{color:var(--text-2);font-size:13.5px;line-height:1.6}.shot-row .p{color:var(--text-2);background:#fff;border-radius:10px;margin-top:6px;padding:8px 10px;font-size:13px;line-height:1.7}.shot-row .dur{color:var(--text-3);margin-top:4px;font-size:12px}.tiles{gap:10px;margin-top:14px;display:grid}.tile{cursor:pointer;background:#e9e9ec;border-radius:14px;transition:transform .15s;position:relative;overflow:hidden}.tile:active{transform:scale(.97)}.tile img,.tile video{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.tile .shimmer{background:linear-gradient(110deg,#ececef 8%,#f7f7f9 18%,#ececef 33%) 0 0/200% 100%;animation:1.4s linear infinite shimmer;position:absolute;inset:0}.tile .placeholder{place-items:center;display:grid;position:absolute;inset:0}@keyframes shimmer{to{background-position-x:-200%}}.tile .scrim{background:linear-gradient(#0000,#0009);height:56%;position:absolute;inset:auto 0 0}.tile .idx{color:#fff;-webkit-backdrop-filter:blur(6px);background:#00000059;border-radius:7px;padding:1px 7px;font-size:11px;font-weight:600;position:absolute;top:7px;left:7px}.tile .st{color:#fff;font-size:12px;line-height:1.3;position:absolute;bottom:8px;left:8px;right:8px}.tile .st .tt{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.tile .st .ss{opacity:.92;align-items:center;gap:4px;margin-top:2px;font-size:11px;display:flex}.tile .bar{background:#ffffff40;height:3px;position:absolute;bottom:0;left:0;right:0}.tile .bar i{background:#fff;height:100%;transition:width .5s;display:block}.tile .score{color:#fff;background:var(--green);border-radius:7px;padding:1px 6px;font-size:11px;font-weight:700;position:absolute;top:7px;right:7px}.tile .score.warn{background:var(--orange)}.tile.state-failed{outline:2px solid #ffb4ad}.tile.state-unreviewed{outline:2px solid var(--orange)}.tile .play{color:#fff;opacity:.9;place-items:center;display:grid;position:absolute;inset:0}.tile .play span{-webkit-backdrop-filter:blur(8px);background:#00000059;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.progress-line{color:var(--text-2);align-items:center;gap:10px;margin-top:12px;font-size:13px;display:flex}.progress-line .track{background:#e2e2e6;border-radius:3px;flex:1;height:6px;overflow:hidden}.progress-line .track i{background:linear-gradient(90deg,#ffb36b,#ff8a3d);border-radius:3px;height:100%;transition:width .6s;display:block}.progress-line .track i.done{background:linear-gradient(90deg,#3ccf85,#1da160)}.final-video{background:#000;border-radius:18px;margin-top:12px;position:relative;overflow:hidden}.final-video video{object-fit:contain;background:#000;width:100%;height:100%}.final-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.final-actions a,.final-actions button{height:38px;color:var(--text);background:#fff;border-radius:19px;align-items:center;gap:6px;padding:0 16px;font-size:14px;font-weight:500;text-decoration:none;transition:transform .15s,background .15s;display:inline-flex}.final-actions a.primary{color:#fff;background:#111113}.final-actions a:active,.final-actions button:active{transform:scale(.96)}.assembling{height:160px;color:var(--text-2);background:#fff;border-radius:16px;place-items:center;margin-top:12px;font-size:14px;display:grid}.assembling .inner{flex-direction:column;align-items:center;gap:12px;display:flex}.panel{border-left:1px solid var(--line);z-index:6;background:#fff;flex-direction:column;flex:none;width:340px;animation:.25s cubic-bezier(.2,.9,.3,1) slide-in-right;display:flex;position:relative}.panel-head{justify-content:flex-end;padding:16px 16px 0;display:flex}.panel-hero{flex-direction:column;align-items:center;gap:12px;padding:4px 20px 16px;display:flex}.panel-hero .name{font-size:20px;font-weight:600}.panel-hero .intro{color:var(--text-2);text-align:center;font-size:14px;line-height:1.6}.seg{background:var(--chip);border-radius:14px;margin:0 20px;padding:4px;display:flex}.seg button{height:34px;color:var(--text-2);border-radius:11px;flex:1;font-size:14px;transition:background .2s,color .2s,box-shadow .2s}.seg button.on{color:var(--text);background:#fff;font-weight:500;box-shadow:0 1px 4px #00000014}.panel-body{padding:14px 14px calc(20px + var(--safe-b));flex:1;overflow-y:auto}.member{border-radius:14px;align-items:center;gap:14px;padding:10px;display:flex}.member:hover{background:var(--hover)}.member .n{font-size:16px;font-weight:500}.member .d{color:var(--text-3);margin-top:1px;font-size:13px}.member.add{color:var(--text-2);cursor:pointer}.member.add .plus{place-items:center;width:44px;height:44px;display:grid}.kv{background:var(--panel);border-radius:16px;margin-bottom:12px;padding:6px 14px}.kv .row{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:10px 0;font-size:14px;display:flex}.kv .row:last-child{border-bottom:0}.kv .row .k{color:var(--text-2);flex:none}.kv .row .v{text-align:right;color:var(--text);word-break:break-all}.panel-btn{background:var(--panel);border-radius:14px;justify-content:center;align-items:center;gap:8px;width:100%;height:44px;margin-bottom:10px;font-size:15px;display:flex}.panel-btn.danger{color:var(--red)}.toggle-row{justify-content:space-between;align-items:center;padding:12px 0;font-size:15px;display:flex}.switch{background:#dcdce0;border-radius:14px;flex:none;width:46px;height:28px;transition:background .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.switch.on{background:#34c759}.switch.on:after{transform:translate(18px)}.gallery{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.gallery .g{aspect-ratio:3/4;background:var(--chip);cursor:pointer;border-radius:10px;position:relative;overflow:hidden}.gallery .g img{object-fit:cover;width:100%;height:100%}.gallery .g .badge{color:#fff;background:#00000073;border-radius:5px;padding:0 5px;font-size:10px;position:absolute;bottom:4px;left:4px}.empty-tip{text-align:center;color:var(--text-3);padding:40px 10px;font-size:14px;line-height:1.7}.overlay{z-index:50;background:#14141852;place-items:center;padding:16px;animation:.2s fade;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:26px;flex-direction:column;width:min(680px,100%);max-height:min(860px,100dvh - 32px);animation:.25s cubic-bezier(.2,.9,.3,1.2) pop-in;display:flex;overflow:hidden;box-shadow:0 24px 80px #00000038}.modal-head{align-items:center;gap:12px;padding:20px 20px 12px 24px;display:flex}.modal-head h2{flex:1;margin:0;font-size:20px;font-weight:600}.modal-body{padding:0 24px 20px;overflow-y:auto}.modal-foot{padding:14px 24px calc(18px + var(--safe-b));border-top:1px solid var(--line);justify-content:flex-end;gap:10px;display:flex}.btn{background:var(--chip);border-radius:22px;height:44px;padding:0 22px;font-size:15px;font-weight:500;transition:transform .15s,background .15s}.btn.primary{color:#fff;background:#111113}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.5}.form-section{margin-top:18px}.form-section h3{align-items:center;gap:8px;margin:0 0 4px;font-size:15px;font-weight:600;display:flex}.form-section .hint{color:var(--text-3);margin:0 0 10px;font-size:13px;line-height:1.6}.form-card{background:var(--panel);border-radius:18px;padding:6px 16px}.field-row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:10px 0;display:flex}.field-row:last-child{border-bottom:0}.field-row label{width:128px;color:var(--text-2);flex:none;font-size:14px}.field-row input,.field-row select{min-width:0;height:36px;box-shadow:inset 0 0 0 1px var(--line);background:#fff;border:0;border-radius:10px;outline:0;flex:1;padding:0 12px;font-size:14px}.field-row input:focus,.field-row select:focus{box-shadow:inset 0 0 0 1.5px var(--blue)}.presets{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.presets button{background:var(--chip);border-radius:15px;height:30px;padding:0 12px;font-size:13px}.presets button.on{color:#fff;background:#111113}.status-strip{background:var(--panel);color:var(--text-2);border-radius:16px;flex-wrap:wrap;gap:8px;padding:12px 14px;font-size:13px;line-height:1.7;display:flex}.status-strip b{color:var(--text);font-weight:500}.lightbox{z-index:60;padding:calc(56px + var(--safe-t)) 16px calc(24px + var(--safe-b));background:#000000e0;flex-direction:column;justify-content:center;align-items:center;animation:.2s fade;display:flex;position:fixed;inset:0}.lightbox .media{justify-content:center;max-width:min(1000px,100%);max-height:calc(100% - 120px);display:flex}.lightbox video,.lightbox img{background:#000;border-radius:14px;max-width:100%;max-height:calc(100dvh - 220px)}.lightbox .close{top:calc(14px + var(--safe-t));color:#fff;background:#ffffff24;position:absolute;right:16px}.lightbox .info{color:#fff;text-align:center;max-width:min(760px,100%);margin-top:16px;font-size:14px;line-height:1.7}.lightbox .info .h{font-size:16px;font-weight:600}.lightbox .attempts{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:10px;display:flex}.lightbox .attempts button{color:#fff;background:#ffffff24;border-radius:15px;height:30px;padding:0 12px;font-size:13px}.lightbox .attempts button.on{color:#111;background:#fff}.lightbox .issues{color:#ffffffb8;margin-top:6px;font-size:13px}.toast{left:50%;top:calc(18px + var(--safe-t));color:#fff;z-index:80;text-align:center;background:#1c1c1eeb;border-radius:20px;max-width:calc(100% - 32px);padding:10px 18px;font-size:14px;animation:.22s fade-down;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #0003}.menu{z-index:40;background:#fff;border-radius:16px;min-width:200px;padding:6px;animation:.18s pop-in;position:absolute;box-shadow:0 10px 40px #00000029}.menu button{text-align:left;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 12px;font-size:15px;display:flex}.menu button:hover{background:var(--hover)}.picker-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.picker-item{background:var(--panel);text-align:left;border-radius:18px;align-items:center;gap:12px;padding:12px;transition:background .15s,transform .15s;display:flex}.picker-item:hover{background:#efeff1}.picker-item:active{transform:scale(.98)}.picker-item .n{font-size:15px;font-weight:600}.picker-item .d{color:var(--text-3);margin-top:2px;font-size:12.5px;line-height:1.5}.gate{place-items:center;height:100%;padding:24px;display:grid}.gate-card{text-align:center;flex-direction:column;align-items:center;gap:16px;width:min(380px,100%);display:flex}.gate-card h1{margin:8px 0 0;font-size:26px}.gate-card p{color:var(--text-2);margin:0}.gate-card input{background:var(--chip);text-align:center;border:0;border-radius:26px;outline:0;width:100%;height:52px;padding:0 22px;font-size:17px}.gate-card .btn{border-radius:26px;width:100%;height:52px;font-size:17px}.empty-chat{height:100%;color:var(--text-3);flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex}@keyframes msg-in{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:none}}@keyframes fade{0%{opacity:0}}@keyframes fade-down{0%{opacity:0;transform:translate(var(--tx,0), -8px)}}.toast{--tx:-50%}@keyframes pop-in{0%{opacity:0;transform:scale(.94)}}.scroll-down{animation:none}@keyframes slide-in-right{0%{opacity:0;transform:translate(30px)}}.mobile{height:var(--app-h,100%);position:relative;overflow:hidden}.mobile .screen{will-change:transform;background:#fff;flex-direction:column;transition:transform .38s cubic-bezier(.22,.9,.24,1);display:flex;position:absolute;inset:0}.mobile .screen.list{z-index:1}.mobile .screen.list.pushed{transform:translate(-28%)}.mobile .screen.list.pushed:after{content:"";background:#0000000f;position:absolute;inset:0}.mobile .screen.chat-screen{z-index:2;transform:translate(100%);box-shadow:-10px 0 30px #00000014}.mobile .screen.chat-screen.open{transform:translate(0)}.mobile .screen.chat-screen.dragging,.mobile .screen.list.dragging{transition:none}.mobile .sidebar{border-right:0;width:100%;height:100%}.mobile .sidebar-top{padding:calc(10px + var(--safe-t)) 18px 0;justify-content:space-between;height:auto;min-height:60px}.mobile .brand{letter-spacing:.5px;font-size:22px;font-weight:700}.mobile .profile{flex-direction:row;justify-content:flex-start;gap:14px;padding:6px 22px 14px}.mobile .profile .who{flex-direction:column;gap:2px;display:flex}.mobile .profile .who .s{color:var(--text-3);font-size:13px}.mobile .conv-list{padding:0 10px 10px}.mobile .list-item{padding:11px 12px}.mobile .chat{height:100%}.mobile .messages{padding-top:calc(80px + var(--safe-t))}.mobile .msg .avatar-slot{width:34px}.mobile .bubble{border-radius:20px;padding:12px 16px}.mobile .composer{border-radius:28px;padding:6px}.mobile .composer .plus,.mobile .composer .mic,.mobile .composer .send{width:42px;height:42px}.mobile .header-pill{max-width:calc(100% - 128px);height:46px;font-size:16px}.mobile .chat-header{padding-bottom:20px}.mobile .attach-grid img{width:120px;height:120px}.mobile .msg-actions{display:none}.mobile .time-sep{margin:18px 0 10px}.sheet-overlay{z-index:40;background:#0000004d;animation:.2s fade;position:fixed;inset:0}.sheet{z-index:41;background:#fff;border-radius:26px 26px 0 0;flex-direction:column;max-height:88dvh;animation:.32s cubic-bezier(.2,.9,.3,1) sheet-up;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 40px #00000026}.sheet .grabber{background:#d8d8dc;border-radius:3px;width:40px;height:5px;margin:8px auto 2px}.sheet .panel{border-left:0;flex:1;width:100%;min-height:0;animation:none}@keyframes sheet-up{0%{transform:translateY(100%)}}@media (width<=560px){.modal{border-radius:24px 24px 0 0;align-self:end;width:100%;max-height:92dvh}.overlay{place-items:end stretch;padding:0}.field-row{flex-direction:column;align-items:stretch;gap:6px}.field-row label{width:auto}.field-row input,.field-row select{flex:none;width:100%;height:40px}.picker-grid{grid-template-columns:1fr}}@media (width<=1180px) and (width>=861px){.app>.panel{position:absolute;top:0;bottom:0;right:0;box-shadow:-12px 0 40px #0000001f}}.composer-dock{position:relative}.media-wrap{flex-direction:column;align-items:flex-start;display:flex}.media-msg{aspect-ratio:1.4;background:#000;border-radius:18px;width:min(72vw,300px);position:relative;overflow:hidden}.media-msg.landscape{aspect-ratio:16/9;width:min(86vw,360px)}.media-msg video,.media-msg img{object-fit:contain;background:#000;width:100%;height:100%;position:absolute;inset:0}.media-play{place-items:center;display:grid;position:absolute;inset:0}.media-play span{color:#fff;-webkit-backdrop-filter:blur(12px)saturate(160%);background:#ffffff42;border-radius:50%;place-items:center;width:58px;height:58px;padding-left:3px;transition:transform .15s;display:grid;box-shadow:inset 0 0 0 1px #ffffff40}.media-play:active span{transform:scale(.92)}.media-actions{color:var(--text-2);align-items:center;gap:16px;margin:8px 0 2px 6px;font-size:13px;display:flex}.media-actions a,.media-actions button{color:var(--text-2);align-items:center;gap:4px;font-size:13px;text-decoration:none;display:inline-flex}.media-actions .dur{color:var(--text-3)}.mobile .chat-header{padding:calc(10px + var(--safe-t)) 16px 18px;background:linear-gradient(#ffffffdb 0%,#ffffff80 55%,#fff0 100%)}.mobile .chat-header .left,.mobile .chat-header .right{top:calc(10px + var(--safe-t))}.mobile .chat-header .round-btn,.mobile .header-pill{-webkit-backdrop-filter:blur(20px)saturate(180%);background:#ffffff94;box-shadow:0 0 0 .5px #0000001a,0 6px 20px #00000012,inset 0 1px #ffffffe6}.mobile .chat-header .round-btn{color:#1c1c1e;width:50px;height:50px}.mobile .header-pill{gap:9px;max-width:calc(100% - 140px);height:50px;padding:0 20px 0 7px;font-size:18px;font-weight:500}.mobile .chat{position:relative}.mobile .messages{padding-top:calc(74px + var(--safe-t));padding-bottom:calc(var(--dock-h,84px) + 10px)}.mobile .messages-inner{padding:0 16px}.mobile .msg{gap:0;margin-top:6px}.mobile .msg.first{margin-top:14px}.mobile .msg .col{max-width:86%}.mobile .msg.wide .col{width:100%;max-width:100%}.mobile .msg.me .col{max-width:80%}.mobile .bubble{font-size:calc(var(--fs) + 1px);background:#f1f1f3;border-radius:20px;padding:11px 16px;line-height:1.6}.mobile .msg.me .bubble{background:var(--bubble-me);border-radius:22px;padding:10px 16px}.mobile .bubble.card{width:100%;padding:14px 14px 12px}.mobile .sender.sm{margin:0 0 4px 8px;font-size:12.5px}.mobile .sender.sm .role{font-size:10.5px;line-height:15px}.mobile .time-sep{color:#a1a1a6;margin:22px 0 16px;font-size:13.5px}.mobile .quick-replies{margin-top:10px}.mobile .composer-dock{z-index:4;background:linear-gradient(#fff0 0%,#ffffffb3 18%,#fff 38% 100%);padding-top:16px;position:absolute;bottom:0;left:0;right:0}.mobile .composer-wrap{padding:0 16px calc(12px + var(--safe-b))}.mobile .composer{border-radius:30px;gap:8px;padding:7px;box-shadow:0 0 0 1px #00000017,0 6px 24px #0000000f}.mobile .composer .plus,.mobile .composer .mic-lite,.mobile .composer .voice,.mobile .composer .send{border-radius:50%;flex:none;place-items:center;width:42px;height:42px;transition:transform .15s,background .2s;display:grid}.mobile .composer .plus,.mobile .composer .mic-lite{color:#8e8e93;background:#f0f0f2}.mobile .composer .plus{color:#3a3a3e}.mobile .composer .voice,.mobile .composer .send{color:#fff;background:#111113}.mobile .composer .plus:active,.mobile .composer .mic-lite:active,.mobile .composer .voice:active,.mobile .composer .send:active{transform:scale(.9)}.mobile .composer .mic-lite.listening{color:var(--red);background:#ffe3e1;animation:1.2s infinite pulse}.mobile .composer .voice.listening{background:var(--red);animation:1.2s infinite pulse}.mobile .composer textarea{padding:9px 2px;font-size:17px}.mobile .composer textarea::placeholder{color:#aeaeb2}.mobile .composer-tools{margin-bottom:8px}.mobile .scroll-down{color:#1c1c1e;width:46px;height:46px;bottom:calc(100% - 4px);box-shadow:0 0 0 .5px #00000014,0 6px 20px #0000001f}.menu-edit{gap:6px;padding:4px;display:flex}.menu-edit input{background:var(--chip);border:0;border-radius:10px;outline:0;flex:1;min-width:0;height:38px;padding:0 12px;font-size:15px}.menu .menu-edit .ok{color:#fff;background:#111113;flex:none;justify-content:center;width:auto;padding:0 14px}.menu .menu-edit .ok:hover{background:#111113}.confirm-row{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;font-size:14px;display:flex}.confirm-row span{text-align:center;flex:100%}.confirm-row .panel-btn{flex:1;margin:0}.panel-btn.danger.solid{background:var(--red);color:#fff}.preview-chip{color:#b4560f;background:#fff1e5;border-radius:10px;margin-top:-2px;padding:3px 10px;font-size:12px}.in-artifact{--safe-t:0px;--safe-b:0px}.in-artifact .lightbox{padding-top:calc(56px + env(safe-area-inset-top,0px));padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}.in-artifact .lightbox .close{top:calc(14px + env(safe-area-inset-top,0px))}.in-artifact .toast{top:calc(18px + env(safe-area-inset-top,0px))}.media-msg img,.final-video img{animation:9s ease-in-out infinite alternate kenburns}@keyframes kenburns{0%{transform:scale(1)}to{transform:scale(1.12)translate(-1.5%,-1%)}}@media (prefers-reduced-motion:reduce){.media-msg img,.final-video img{animation:none}}.auth-gate{padding:30px 18px;overflow-y:auto}.auth-card{width:min(420px,100%)}.auth-card label,.delete-account label{text-align:left;color:var(--text-2);margin:12px 0;font-size:13px;display:block}.auth-card label input:not([type=checkbox]),.delete-account input{border:1px solid var(--line,#ddd);width:100%;min-height:46px;color:var(--text);background:#fff;border-radius:12px;margin-top:6px;padding:10px 14px;display:block}.auth-card .btn{width:100%;margin:10px 0}.auth-card .consent{align-items:center;gap:8px;display:flex}.auth-card .consent input{width:18px;height:18px;margin:0}.text-btn{color:var(--text);cursor:pointer;font:inherit;background:0 0;border:0;padding:10px;font-size:14px}.muted,.hint{color:var(--text-3)}.form-error{color:var(--red);font-size:14px}.privacy-copy{text-align:left;color:var(--text-2);padding:10px 0;font-size:13px;line-height:1.7}.account-modal{max-width:480px}.account-quota{background:var(--chip);border-radius:18px;gap:40px;margin:24px 0 14px;padding:24px;display:flex}.account-quota div{flex-direction:column;flex:1;gap:7px;display:flex}.account-quota strong{font-size:36px}.account-quota small{color:var(--text-3);font-size:17px}.account-quota span{font-size:14px}.account-note{background:#fff6e8;border-radius:14px;margin:20px 0;padding:15px 20px}.account-note p{font-size:14px;line-height:1.6}.account-orders>div{border-bottom:1px solid var(--line,#eee);justify-content:space-between;padding:12px 0;font-size:14px;display:flex}.account-products article{border:1px solid var(--line,#ddd);border-radius:14px;margin-bottom:12px;padding:18px}.account-products button{margin-right:8px}.quota-label{color:var(--text-3);margin-left:auto;font-size:12px}.delete-account{margin-top:14px;font-size:13px;line-height:1.7}button:disabled{opacity:.55;cursor:wait}
