:root{color-scheme:dark;--bg:#0a0a0a;--panel:#171717;--in:#262626;--out:#174b49;--accent:#00b8a9;--purple:#7864c8;--muted:#9b9b9b;--line:#2c2c2c;font-family:Arial,Helvetica,sans-serif;font-synthesis:none;--vv-height:100dvh;--vv-top:0px}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:#fff;height:100%;overflow:hidden;overscroll-behavior:none;-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit;color:inherit}button{border:0;background:none;padding:0;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.5}input,textarea,select{font-size:16px}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:20px}h2{font-size:20px}h3{font-size:16px}small{font-size:12px}.muted{color:var(--muted)}.accent{color:var(--accent)}.shell{height:var(--vv-height);position:fixed;top:var(--vv-top);inset-inline:0;width:100%;max-width:520px;margin:auto;display:flex;flex-direction:column;background:var(--bg);overflow:hidden}.header{display:flex;align-items:center;gap:8px;flex-shrink:0;min-height:62px;background:var(--panel);padding:calc(5px + env(safe-area-inset-top)) 9px 5px;border-bottom:1px solid #202020;z-index:5}.icon-btn{width:40px;height:42px;display:grid;place-items:center;flex-shrink:0;color:#c7c7c7;border-radius:50%}.icon-btn:active{background:#ffffff10}.header .icon-btn svg{width:23px;height:23px}.avatar{width:41px;height:41px;border-radius:50%;background:#695293;color:#fff;display:grid;place-items:center;font-size:23px;line-height:1;flex-shrink:0}.contact-button{display:flex;align-items:center;gap:11px;flex:1;min-width:0;text-align:left;min-height:48px}.contact-copy{min-width:0}.contact-copy h1{font-size:18px;line-height:1.3;font-weight:600}.contact-status{display:block;font-size:13px;line-height:1.4;color:#929292;margin-top:2px;min-height:18px}.contact-status.online,.contact-status.typing{color:#63c8be}.dots-icon svg{width:21px}.header-spacer{flex:1}.messages{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 11px 17px;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;touch-action:pan-y}.messages::-webkit-scrollbar{display:none}.date-label{text-align:center;position:relative;margin:6px 0 15px;font-size:12px;color:#a9a9a9;line-height:1.4}.date-label span{display:inline-block;padding:4px 11px;border-radius:12px;background:#1d1d1d}.message-row{display:flex;margin:5px 0;position:relative;align-items:flex-end}.message-row.out{justify-content:flex-end}.bubble{position:relative;max-width:84%;min-width:66px;background:var(--in);border-radius:14px 14px 14px 4px;padding:8px 10px 6px;box-shadow:0 1px 1px #0003;-webkit-touch-callout:none}.out .bubble{background:var(--out);border-radius:14px 14px 4px 14px}.bubble-text{font-size:16px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.bubble-meta{display:flex;justify-content:flex-end;align-items:center;gap:4px;line-height:1;margin:4px 0 0 14px;color:#a5a5a5;font-size:10px;min-height:12px;white-space:nowrap}.out .bubble-meta{color:#9dc2bd}.ticks{width:17px;height:12px;stroke-width:1.7}.ticks.read{color:#5fd7c8}.bubble:has(.audio-message){min-width:260px;max-width:min(84%,350px);padding:11px 9px 7px}.audio-message{display:flex;gap:9px;align-items:center;min-height:43px;position:relative}.play-audio{width:43px;height:43px;border-radius:50%;background:#7864c8;display:grid;place-items:center;color:#fff;flex-shrink:0}.out .play-audio{background:#41b4a8;color:#063a34}.play-audio svg{width:20px;height:20px;fill:currentColor;stroke-width:0}.audio-body{flex:1;min-width:0;position:relative}.wave{display:flex;height:27px;gap:2px;align-items:center;overflow:hidden;position:relative}.wave i{display:block;min-width:2px;flex:1;max-width:4px;height:calc(4px + var(--h)*21px);border-radius:2px;background:#929292}.out .wave i{background:#65a49c}.wave i.played{background:#c1a9f4}.out .wave i.played{background:#86f0da}.wave-seek{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.audio-sub{font-size:11px;color:#b5b5b5;display:flex;align-items:center;gap:5px;margin-top:3px}.out .audio-sub{color:#abd2c9}.media-more{width:21px;height:30px;align-self:flex-start;flex-shrink:0;color:#afc4c1;display:grid;place-items:center}.media-more svg{width:18px;height:18px}.video-bubble,.photo-bubble{padding:3px;overflow:hidden;width:min(80vw,310px)}.video-thumb,.photo-thumb{position:relative;width:100%;aspect-ratio:4/3;display:block;overflow:hidden;border-radius:11px;background:#202020}.video-thumb video,.video-thumb img,.photo-thumb img{width:100%;height:100%;display:block;object-fit:cover}.video-thumb .play-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#0002}.play-overlay svg{width:46px;height:46px;border-radius:50%;background:#0007;padding:11px;fill:white;stroke-width:0}.media-duration{position:absolute;left:8px;top:7px;border-radius:5px;padding:3px 6px;background:#0009;font-size:11px}.video-bubble .bubble-meta,.photo-bubble .bubble-meta{margin:7px 6px 4px}.media-caption{padding:6px 7px 0}.round-bubble{background:transparent!important;padding:0!important;box-shadow:none;width:min(66vw,244px);max-width:84%}.round-bubble .video-thumb{border-radius:50%;aspect-ratio:1}.round-bubble .video-thumb video{object-fit:cover}.round-bubble .bubble-meta{width:max-content;margin:5px 7px 0 auto;background:#161616;padding:4px 7px;border-radius:8px}.round-bubble .media-duration{top:auto;bottom:20px;left:50%;transform:translateX(-50%)}.composer{display:flex;align-items:flex-end;flex-shrink:0;gap:3px;padding:6px 6px calc(6px + env(safe-area-inset-bottom));background:var(--panel);border-top:1px solid #242424;z-index:5}.composer textarea{flex:1;min-width:0;resize:none;max-height:132px;min-height:44px;height:44px;background:none;border:0;outline:none!important;line-height:22px;padding:11px 2px 10px;font-size:16px;scrollbar-width:none}.composer textarea::placeholder{color:#929292}.composer .icon-btn{width:36px;height:44px;color:#939393}.composer .send{width:43px;height:43px;border-radius:50%;background:var(--accent);color:#043d36;margin:0 1px 1px 2px;display:grid;place-items:center;flex-shrink:0}.composer .send svg{width:21px;height:21px;stroke-width:2}.composer .record{width:39px;height:44px;color:#aaa;flex-shrink:0;display:grid;place-items:center}.composer .record svg{width:24px;height:24px}.new-messages{position:absolute;bottom:83px;right:15px;width:42px;height:42px;background:#292929;border:1px solid #404040;border-radius:50%;display:grid;place-items:center;z-index:4;color:#ddd}.new-messages[hidden]{display:none}.typing-dots{display:inline-flex;gap:2px;vertical-align:middle;margin-left:4px}.typing-dots i{display:block;width:3px;height:3px;background:currentColor;border-radius:50%;animation:pulse 1.4s infinite}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes pulse{50%{opacity:.3}}.chat-list{flex:1;min-height:0;overflow:auto}.chat-search{margin:14px 16px 10px;border-radius:11px;background:#202020;display:flex;gap:9px;align-items:center;padding:10px 13px;color:#999}.chat-search input{width:100%;background:none;border:0;outline:none;color:#fff;min-width:0}.chat-list-item{display:flex;width:100%;gap:12px;padding:16px;text-align:left;align-items:center}.chat-list-item .avatar{width:53px;height:53px;font-size:29px}.chat-list-copy{flex:1;min-width:0;border-bottom:1px solid #242424;padding-bottom:15px}.chat-list-copy p{font-size:14px;color:#999;margin-top:5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-list-copy h2{font-size:17px}.list-time{font-size:11px;color:#999}.list-title{display:flex;align-items:center;justify-content:space-between}.list-footer{color:#666;font-size:12px;text-align:center;padding:24px}.empty-chat{text-align:center;display:grid;place-content:center;min-height:100%;color:#888;font-size:14px;gap:9px}.empty-chat svg{width:40px;height:40px;margin:auto;color:#686868}.empty-chat h2{font-size:18px;color:#bbb}.search-header{display:flex;align-items:center;gap:7px;width:100%}.search-header input{background:#242424;border:0;border-radius:8px;padding:9px;flex:1;min-width:0}.search-counter{font-size:12px;white-space:nowrap;color:#aaa}.match .bubble{outline:1px solid #7864c8}.match.current .bubble{outline:2px solid #ac91ef}.boot{display:grid;place-items:center;height:100%}.boot-mark{width:60px;height:60px;border-radius:18px;background:#174b49;color:#75dccb;display:grid;place-items:center;font-size:31px}.toast{position:fixed;bottom:calc(88px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,8px);max-width:calc(100vw - 32px);width:max-content;padding:11px 15px;border:1px solid #454545;border-radius:11px;background:#303030;color:#eee;z-index:100;opacity:0;pointer-events:none;font-size:14px;line-height:1.45;box-shadow:0 5px 20px #0007;transition:opacity .15s,transform .15s}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{position:fixed;inset:auto 0 0;width:100%;max-width:520px;max-height:calc(var(--vv-height) - 18px);margin:0 auto;padding:0;border:1px solid #333;border-bottom:0;border-radius:19px 19px 0 0;background:#1b1b1b;color:white;overflow-y:auto;box-shadow:0 -12px 80px #000a}dialog::backdrop{background:#000a}.modal-head{position:sticky;top:0;background:#1b1b1b;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px 9px 18px;border-bottom:1px solid #303030}.modal-head h2{font-size:18px}.modal-body{padding:17px 18px calc(18px + env(safe-area-inset-bottom))}.modal-option{display:flex;align-items:center;gap:15px;width:100%;padding:13px 0;text-align:left;font-size:16px}.modal-option svg{color:#aaa;width:22px;height:22px}.modal-option.danger{color:#dd9b9b}.option-note{font-size:13px;color:#8f8f8f;line-height:1.5;margin-top:3px}.primary,.secondary,.danger-button{min-height:45px;display:flex;justify-content:center;align-items:center;gap:8px;padding:10px 15px;border-radius:10px;font-weight:600;font-size:15px}.primary{background:var(--accent);color:#06362f}.secondary{background:#303030;color:#eee}.danger-button{background:#6e3539;color:#ffe6e6}.primary svg,.secondary svg{width:21px;height:21px}.full{width:100%}.button-row{display:flex;gap:8px;margin-top:16px;align-items:center}.button-row>*{flex:1}.field{display:block;margin-bottom:14px;font-size:14px;color:#b5b5b5}.field input,.field textarea,.field select{display:block;width:100%;margin-top:6px;border:1px solid #414141;border-radius:8px;padding:10px;background:#222;color:#fff;min-width:0;line-height:1.4}.field textarea{resize:vertical;min-height:74px}.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23999'%3E%3Cpath d='m5 7 5 5 5-5'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:34px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.info{font-size:14px;line-height:1.65;color:#aaa}.info strong{color:#ddd}.center{text-align:center}.profile-avatar{width:85px;height:85px;font-size:42px;margin:6px auto 15px}.profile-name{font-size:24px;margin-bottom:4px}.divider{height:1px;background:#333;margin:18px 0}.emoji-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.emoji-grid button{font-size:28px;min-height:42px}.record-stage{text-align:center}.record-status{font-size:14px;color:#aaa;min-height:21px;margin:12px 0}.record-clock{font-size:35px;font-variant-numeric:tabular-nums;font-weight:400;letter-spacing:1px;margin:10px 0}.record-light{display:inline-block;width:8px;height:8px;border-radius:50%;background:#df6565;margin-right:8px;vertical-align:5px;animation:pulse 1s infinite}.record-wave{display:flex;align-items:center;justify-content:center;gap:4px;min-height:55px}.record-wave i{width:4px;border-radius:3px;background:#7864c8;height:10px;transition:height .1s}.stop-record{width:64px;height:64px;border-radius:50%;border:2px solid #df6666;display:grid;place-items:center;margin:15px auto}.stop-record span{display:block;width:23px;height:23px;border-radius:4px;background:#df6666}.start-record{width:66px;height:66px;border-radius:50%;border:2px solid #ddd;padding:5px;margin:16px auto;display:block}.start-record span{width:100%;height:100%;border-radius:50%;background:#df6666;display:block}.camera-preview{width:100%;max-height:48dvh;aspect-ratio:3/4;background:#090909;object-fit:cover;border-radius:12px;display:block}.camera-preview.round{border-radius:50%;aspect-ratio:1;max-width:320px;margin:auto}.attachment-preview video,.attachment-preview img{width:100%;max-height:49dvh;border-radius:11px;background:#090909;object-fit:contain;display:block}.attachment-preview.round video{aspect-ratio:1;object-fit:cover;border-radius:50%;max-width:310px;margin:auto}.attachment-preview audio{width:100%;margin:18px 0}.playback-modal video{width:100%;max-height:65dvh;display:block;background:#070707;border-radius:10px}.playback-modal.round video{aspect-ratio:1;object-fit:cover;border-radius:50%}.playback-modal img{width:100%;max-height:65dvh;object-fit:contain}.file-meta{font-size:12px;color:#999;margin-top:9px;overflow-wrap:anywhere}.call-avatar{width:85px;height:85px;margin:15px auto;font-size:43px}.call-name{font-size:27px}.hangup{width:60px;height:60px;margin:30px auto 10px;background:#bb4c50;border-radius:50%;display:grid;place-items:center}.hangup svg{transform:rotate(135deg)}.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.media-grid button{position:relative;aspect-ratio:1;overflow:hidden;background:#303030;display:grid;place-items:center;border-radius:5px}.media-grid img,.media-grid video{width:100%;height:100%;object-fit:cover}.media-grid .media-duration{left:4px;top:auto;bottom:4px}.director{flex:1;min-height:0;overflow:auto;padding:18px 16px 35px}.director-top{padding:13px 16px;border-bottom:1px solid #333;background:#171717;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0}.director-top h1{font-size:19px}.director-top .secondary{font-size:13px;min-height:37px;padding:8px 10px}.director-sub{color:#9b9b9b;font-size:13px;line-height:1.5;margin-bottom:18px}.director-section{padding:18px 0;border-top:1px solid #313131}.director-section h2{font-size:18px;margin-bottom:14px}.director-section:first-of-type{border:0;padding-top:0}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px;font-size:15px}.toggle-row input{width:22px;height:22px;accent-color:var(--accent)}.step{padding:14px 12px;background:#202020;border:1px solid #343434;border-radius:12px;margin-bottom:12px}.step.current-step{border-color:#547b74}.step-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px}.step-header strong{font-size:14px}.step-tools{display:flex;gap:3px}.step-tools button{padding:5px;color:#aaa}.step-tools svg{width:17px;height:17px}.step .field{font-size:12px;margin-bottom:11px}.step .field input,.step .field textarea,.step .field select{font-size:14px}.step .field textarea{min-height:65px}.step-file{font-size:12px;color:#a5c8bd;margin-top:7px;overflow-wrap:anywhere}.script-note{font-size:12px;line-height:1.6;color:#aaa;margin:8px 0 14px}.json-field{font-family:Consolas,monospace;font-size:12px!important;min-height:240px!important;line-height:1.5!important}.storage-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.storage-grid div{background:#242424;border-radius:10px;padding:13px}.storage-grid small{color:#999;display:block;margin-bottom:5px}.take-item{padding:12px 0;border-bottom:1px solid #333;display:flex;justify-content:space-between;align-items:center;gap:8px}.take-item span{font-size:13px;color:#aaa;display:block;margin-top:3px}.take-item .secondary{font-size:12px;min-height:34px;padding:7px 9px}.search-hidden{display:none!important}.storage-badge{display:inline-flex;padding:3px 7px;font-size:11px;background:#163a30;color:#85d0b3;border-radius:5px;margin-top:7px}.storage-badge.warning{background:#493526;color:#e9c6a1}.row{display:flex;gap:10px;align-items:center}.hidden{display:none!important}@media(min-width:700px){body{background:#151515}.shell{border-inline:1px solid #242424;box-shadow:0 0 70px #0005}.bubble{max-width:82%}}@media(max-width:365px){.header{gap:5px;padding-inline:5px}.header .icon-btn{width:35px}.bubble{max-width:88%}.bubble:has(.audio-message){min-width:245px}.composer .icon-btn{width:31px}.composer{gap:1px}.contact-copy h1{font-size:17px}.director{padding-inline:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
