:root{color:#f4f8ff;background:#050913;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body,#app{width:100%;min-width:0;min-height:100%}body{min-height:100vh;margin:0;overflow-x:clip;background:#050913}input,textarea,select{font:inherit}@media(max-width:760px){input,textarea,select{font-size:16px}}button,h1,h2,p{margin:0}button{border:0;padding:0;color:inherit;background:transparent;font:inherit}button:focus-visible{outline:2px solid #35e6d0;outline-offset:3px}.app-shell{min-height:100vh;background:#050913}.auth-page{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:max(28px,env(safe-area-inset-top)) 20px max(28px,env(safe-area-inset-bottom));background:linear-gradient(rgba(53,230,208,.035) 1px,transparent 1px) 0 0 / 32px 32px,linear-gradient(90deg,rgba(53,230,208,.035) 1px,transparent 1px) 0 0 / 32px 32px,radial-gradient(circle at 50% 22%,rgba(53,230,208,.13),transparent 38%),#050913}.auth-panel{width:min(100%,420px);padding:30px 24px 24px;border:1px solid #1b394a;border-radius:24px;background:#0a1624f5;box-shadow:0 24px 72px #00000057,0 0 32px #35e6d00d}.auth-heading{display:flex;align-items:center;gap:14px}.auth-brand-mark{width:48px;height:48px;flex:none;border:1px solid rgba(53,230,208,.58);border-radius:14px;box-shadow:0 0 22px #35e6d02e;object-fit:cover}.auth-heading h1{margin:3px 0 0;font-size:27px;font-weight:650;letter-spacing:-.5px}.auth-intro{margin-top:24px;color:#9cb1c8;font-size:14px;line-height:1.7}.auth-form{display:grid;gap:16px;margin-top:24px}.auth-field{display:grid;gap:8px}.auth-field>span{color:#c5d2df;font-size:13px;font-weight:600}.auth-field input{width:100%;height:50px;padding:0 14px;border:1px solid #24465b;border-radius:12px;outline:none;color:#f4f8ff;background:#081421;caret-color:#35e6d0;transition:border-color .16s ease,box-shadow .16s ease}.auth-field input::placeholder{color:#587087}.auth-field input:focus{border-color:#35e6d0;box-shadow:0 0 0 3px #35e6d01c}.auth-field input:disabled{cursor:not-allowed;opacity:.62}.auth-error{padding:10px 12px;border:1px solid rgba(255,135,145,.35);border-radius:10px;color:#ffb1b8;background:#b83d4b1a;font-size:13px;line-height:1.55}.auth-submit{width:100%;margin-top:2px}.auth-footnote{margin-top:18px;color:#6f879f;font-size:12px;line-height:1.6;text-align:center}.auth-legal-consent{display:flex;align-items:flex-start;gap:9px;color:#9cb1c8;font-size:12px;line-height:1.6}.auth-legal-consent input{width:17px;height:17px;flex:none;margin-top:1px;accent-color:#35e6d0}.auth-legal-links{display:flex;gap:10px;margin-top:-12px;padding-left:26px}.auth-legal-links button,.legal-gate-actions button{color:#35e6d0;font-size:12px}.legal-page,.privacy-page,.membership-page,.system-messages-page{min-height:100vh;color:#f4f8ff;background:#08111e}.legal-topbar{position:sticky;z-index:4;top:0;height:calc(56px + env(safe-area-inset-top));display:grid;grid-template-columns:48px 1fr 48px;align-items:end;padding:env(safe-area-inset-top) 8px 0;border-bottom:1px solid #162c3c;background:#08111ef0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.legal-topbar button,.legal-topbar span{height:56px;display:grid;place-items:center;color:#9cb1c8;font-size:30px}.legal-topbar strong{height:56px;display:grid;place-items:center;font-size:17px;font-weight:650}.legal-content,.privacy-content,.system-message-content{width:min(100%,480px);margin:0 auto;padding:28px 20px max(40px,env(safe-area-inset-bottom))}.legal-content h1{margin-top:5px;font-size:30px;font-weight:650}.legal-effective{margin:8px 0 28px;color:#6f879f;font-size:12px}.legal-content section+section{margin-top:24px}.legal-content h2,.privacy-group h2,.privacy-danger h2{font-size:16px;font-weight:650}.legal-content section p,.privacy-heading p,.privacy-danger p{margin-top:8px;color:#9cb1c8;font-size:14px;line-height:1.8}.legal-gate h1{margin-top:6px;font-size:26px}.legal-gate-links{display:grid;gap:10px;margin-top:22px}.legal-gate-consent{margin:20px 0}.legal-gate-actions{display:flex;justify-content:space-between;margin-top:10px}.legal-gate-actions .danger-link{color:#ff8791}.auth-checking{flex-direction:column;gap:14px;color:#9cb1c8;font-size:14px}.auth-status-mark{width:28px;height:28px;border:2px solid rgba(53,230,208,.22);border-top-color:#35e6d0;border-radius:50%;animation:auth-spin .8s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.page-content{min-height:100vh;padding-bottom:calc(88px + env(safe-area-inset-bottom))}.page-section{width:min(100%,480px);min-height:calc(100vh - 88px - env(safe-area-inset-bottom));margin:0 auto;padding:0 20px 32px}.topbar{height:56px;display:flex;align-items:center;color:#f4f8ff;font-size:18px;font-weight:650}.messages-page{padding-right:0;padding-left:0}.messages-topbar{justify-content:space-between;padding:0 20px}.messages-topbar h1{font-size:22px;font-weight:650}.messages-topbar button{width:44px;height:44px;display:grid;place-items:center;color:#9cb1c8}.messages-topbar button:disabled{opacity:.45}.messages-topbar svg,.messages-empty-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.messages-page>.notice{margin:12px 20px 0}.conversation-list{border-top:1px solid #162c3c;border-bottom:1px solid #162c3c;background:#0d1928}.conversation-row{width:100%;min-height:76px;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 20px;text-align:left}.conversation-row+.conversation-row{position:relative}.conversation-row+.conversation-row:before{position:absolute;top:0;right:20px;left:84px;height:1px;background:#162c3c;content:""}.conversation-row:active{background:#13253a}.conversation-row:disabled{opacity:.56}.conversation-avatar{width:52px;height:52px;border-radius:10px;object-fit:cover;background:#08111e}.conversation-avatar-placeholder{display:grid;place-items:center;border:1px solid #24465b;color:#35e6d0;font-size:18px;font-weight:650}.system-message-avatar{display:grid;place-items:center;border:1px solid rgba(53,230,208,.5);color:#050913;background:#35e6d0;font-size:17px;font-weight:750}.system-conversation-row{position:relative}.announcement-unread-badge{z-index:1;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #08111e;border-radius:999px;color:#fff;background:#fa5151;font-size:10px;font-variant-numeric:tabular-nums;font-weight:700;line-height:1}.system-message-unread-badge{position:absolute;top:6px;left:58px;border-color:#0d1928}.conversation-copy{min-width:0;display:grid;gap:5px}.conversation-copy strong,.conversation-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-copy strong{color:#f4f8ff;font-size:16px;font-weight:600}.conversation-copy span,.conversation-row time{color:#6f879f;font-size:12px}.conversation-row time{align-self:start;padding-top:5px;white-space:nowrap}.messages-empty{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 34px;color:#6f879f;text-align:center}.messages-empty-icon{width:56px;height:56px;display:grid;place-items:center;border:1px solid #24465b;border-radius:18px;color:#35e6d0;background:#0d1928}.messages-empty h2{margin-top:18px;color:#f4f8ff;font-size:17px;font-weight:600}.messages-empty p{max-width:260px;margin-top:8px;font-size:13px;line-height:1.65}.messages-empty .btn{width:min(100%,220px);margin-top:24px}.messages-empty-compact{min-height:260px}.system-message-content{display:grid;gap:14px}.system-message-card{padding:18px;border:1px solid #1b394a;border-radius:16px;background:#0d1928}.system-message-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#6f879f;font-size:12px}.system-message-card header span{color:#35e6d0}.system-message-card h2{margin-top:12px;color:#f4f8ff;font-size:17px;font-weight:650}.system-message-card p{margin-top:8px;color:#9cb1c8;font-size:14px;line-height:1.7}.stack{display:flex;flex-direction:column;gap:12px}.stack-lg{display:flex;flex-direction:column;gap:24px}.row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.grow{flex:1;min-width:0}.title-xl{margin-top:6px;font-size:32px;font-weight:650;letter-spacing:-1px;line-height:1.16}.title-md{font-size:18px;font-weight:650;line-height:1.35}.eyebrow,.meta{font-family:ui-monospace,SF Mono,Menlo,monospace}.eyebrow{color:#35e6d0;font-size:11px;font-weight:600;letter-spacing:1.5px;line-height:1.5}.lead{margin-top:10px;color:#9cb1c8;font-size:15px;line-height:1.7}.meta{color:#6f879f;font-size:12px;line-height:1.5}.card,.notice,.settings-entry{border:1px solid #162c3c;border-radius:20px;background:#0d1928}.card{padding:16px}.card.compact{padding:12px;border-radius:14px}.notice{padding:12px 14px;color:#9cb1c8;font-size:13px;line-height:1.65}.btn{min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:14px;font-size:15px;font-weight:600}.btn-primary{color:#050913;background:#35e6d0;box-shadow:0 0 20px #35e6d024}.btn-secondary{border:1px solid #24465b;color:#f4f8ff;background:#13253a}.btn-danger{color:#fff5f6;background:#b83d4b}.btn:disabled{cursor:not-allowed;opacity:.55}.section-head{margin-bottom:10px}.text-link{min-height:44px;display:inline-flex;align-items:center;color:#35e6d0;font-size:13px}.danger-link{color:#ff8791}.studio-heading{align-items:flex-start}.studio-heading .title-md{margin-top:5px;font-size:24px}.studio-subtitle{max-width:290px;margin-top:8px;color:#9cb1c8;font-size:13px;line-height:1.6}.studio-create-button{min-height:38px;flex:none;padding:0 13px;border:1px solid rgba(53,230,208,.5);border-radius:10px;color:#35e6d0;background:#35e6d00f;font-size:13px}.avatar-list{overflow:hidden;border:1px solid #162c3c;border-radius:16px;background:#0d1928}.avatar-row{min-height:92px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid #162c3c}.avatar-row:last-of-type{border-bottom:0}.avatar-row:not(.is-platform-example)+.avatar-row.is-platform-example{border-top:8px solid #020812}.avatar-row-image{width:58px;height:58px;border-radius:10px;object-fit:cover;background:#08111e}.avatar-row-placeholder{display:block;border:1px solid #24465b}.avatar-row-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.avatar-row-copy strong{overflow:hidden;color:#f4f8ff;font-size:16px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.avatar-row-copy>span:not(.meta){overflow:hidden;color:#35e6d0;font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.avatar-row-copy .ai-asset-label{width:fit-content;padding:2px 7px;border:1px solid rgba(53,230,208,.38);border-radius:999px;background:#35e6d014;font-size:10px;line-height:1.3}.avatar-row.is-platform-example .ai-asset-label{padding:3px 9px;border-width:2px;font-size:13px;font-weight:700}.avatar-row-copy .meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar-row-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.video-call-button{min-height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid rgba(53,230,208,.5);border-radius:10px;color:#35e6d0;background:#35e6d012;font-size:12px;font-weight:600}.video-call-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.video-call-button:disabled,.avatar-manage-actions button:disabled{cursor:not-allowed;opacity:.5}.avatar-manage-actions{display:flex;gap:10px}.avatar-manage-actions button{min-height:24px;color:#6f879f;font-size:11px}.avatar-manage-actions .danger-link{color:#ff8791}.avatar-empty-row{width:100%;min-height:90px;padding:18px;color:#9cb1c8;font-size:14px;text-align:left}.live-call-page{--call-controls-bottom: clamp(92px, 13vh, 122px);--call-corner-bottom: max(18px, env(safe-area-inset-bottom));position:relative;width:min(100%,480px);height:100vh;height:100dvh;min-height:520px;margin:0 auto;overflow:hidden;isolation:isolate;color:#fff;background:#000}.call-media-layer,.call-media-shade{position:absolute;inset:0}.call-media-layer{z-index:-1;overflow:hidden;background:#000;opacity:0;transition:opacity .32s ease}.is-connected .call-media-layer{opacity:1}.call-media-shade{background:linear-gradient(180deg,#0000000a 48%,#0000009e)}.call-connecting{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center}.call-connecting h1{position:absolute;top:clamp(92px,16vh,158px);color:#fff;font-size:clamp(38px,10.8vw,52px);font-weight:500;letter-spacing:-2px;line-height:1}.call-avatar-ring{position:absolute;top:46%;width:clamp(126px,34vw,158px);aspect-ratio:1;overflow:hidden;display:flex;align-items:center;justify-content:center;border:3px solid #535dff;border-radius:50%;color:#fff;background:#151515;box-shadow:0 0 0 1px #535dff2e,0 0 28px #535dff1f;font-size:44px;transform:translateY(-50%)}.call-avatar-ring img{width:100%;height:100%;object-fit:cover}.call-hangup-button{position:absolute;bottom:clamp(74px,11vh,112px);width:clamp(70px,19vw,82px);aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#ff3946;background:#fff;box-shadow:0 10px 34px #00000047}.call-hangup-button:disabled{opacity:.55}.call-hangup-button svg{width:35%;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2.1}.call-connected-ui{position:absolute;inset:0}.call-duration{position:absolute;bottom:calc(var(--call-corner-bottom) + 12px);left:18px;color:#fff;font-size:16px;font-variant-numeric:tabular-nums;font-weight:500;line-height:1.2;white-space:nowrap;text-shadow:0 2px 14px rgba(0,0,0,.6)}.call-reconnecting-status{position:absolute;z-index:2;top:max(24px,env(safe-area-inset-top));left:50%;padding:8px 13px;border-radius:999px;background:#0000008a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-size:13px;white-space:nowrap;transform:translate(-50%)}.live-call-controls{position:absolute;right:clamp(32px,10vw,52px);bottom:var(--call-controls-bottom);left:clamp(32px,10vw,52px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));place-items:center;gap:clamp(22px,8vw,42px)}.live-call-controls.audio-only{grid-template-columns:repeat(2,minmax(0,1fr))}.call-control{width:clamp(66px,18vw,76px);aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#111;background:#fffffff5;box-shadow:0 8px 28px #0000003d;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.call-control-icon{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.call-control[aria-pressed=false]{color:#fff;background:#181818ad}.call-control-end,.call-control-end[aria-pressed=false]{color:#fff;background:#ff3946}.call-control:disabled{cursor:not-allowed;opacity:.45}.call-control svg{position:absolute;width:34%;height:34%;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.call-control .control-slash{width:42%;height:42%;filter:drop-shadow(0 0 2px rgba(0,0,0,.45))}.ai-call-disclosure{position:absolute;right:0;bottom:calc(var(--call-controls-bottom) - 48px);left:0;color:#ffffffc2;font-size:16px;font-weight:600;letter-spacing:1px;text-align:center;text-shadow:0 2px 12px rgba(0,0,0,.7)}.call-info-button{position:absolute;z-index:4;right:18px;bottom:var(--call-corner-bottom);width:44px;height:44px;border:0;border-radius:50%;color:#fff;font-size:17px;font-weight:700;line-height:1;text-shadow:0 1px 6px rgba(0,0,0,.7)}.call-info-button:before{position:absolute;inset:6px;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 10px #00000059;content:""}.call-info-button.attention:after{position:absolute;top:3px;right:3px;width:7px;height:7px;border:1.5px solid #000;border-radius:50%;background:#ff9f0a;content:""}.call-info-backdrop{position:absolute;z-index:5;inset:0;width:100%;background:#0000005c}.call-info-sheet{position:absolute;z-index:6;right:12px;bottom:max(72px,calc(50px + env(safe-area-inset-bottom)));left:12px;display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid rgba(255,255,255,.14);border-radius:24px;background:#121212eb;box-shadow:0 22px 60px #0000007a;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);animation:call-sheet-in .22s ease-out both}.call-info-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.call-info-heading span{color:#ffffff8f;font-size:12px}.call-info-heading h2{margin-top:4px;font-size:22px;font-weight:600}.call-info-heading button{width:40px;height:40px;border-radius:50%;color:#fff;background:#ffffff1a;font-size:26px}.call-info-notice{padding:11px 12px;border-radius:12px;color:#ffffffc7;background:#ffffff14;font-size:13px;line-height:1.55}.call-terminal-card{position:absolute;z-index:3;top:50%;right:24px;left:24px;display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px 22px 22px;border:1px solid rgba(255,255,255,.12);border-radius:28px;background:#161616f0;box-shadow:0 24px 64px #00000080;text-align:center;transform:translateY(-50%)}.call-terminal-icon{width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:#ff3946;font-size:36px;font-weight:300}.call-terminal-card h1{font-size:26px;font-weight:600}.call-terminal-card p{max-width:320px;color:#ffffffad;font-size:14px;line-height:1.6}.call-terminal-actions{width:100%;display:grid;gap:10px;margin-top:6px}.rtc-remote-video,.rtc-placeholder{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.rtc-remote-video{opacity:0;transition:opacity .18s ease}.rtc-remote-video.visible{opacity:1}.rtc-placeholder{object-position:center top}.rtc-placeholder-empty{background:#101010}.rtc-local-preview{position:absolute;z-index:4;top:max(16px,env(safe-area-inset-top));right:16px;width:clamp(96px,26vw,124px);aspect-ratio:3 / 4;overflow:hidden;border:1px solid rgba(255,255,255,.62);border-radius:18px;opacity:0;visibility:hidden;background:#111;box-shadow:0 10px 32px #00000057;cursor:grab;pointer-events:none;touch-action:none;transition:opacity .18s ease,box-shadow .18s ease;-webkit-user-select:none;user-select:none}.rtc-local-preview.visible{opacity:1;visibility:visible;pointer-events:auto}.rtc-local-preview.dragging{box-shadow:0 14px 42px #00000075;cursor:grabbing}.rtc-local-preview:focus-visible{outline:3px solid rgba(255,255,255,.92);outline-offset:3px}.rtc-local-video{width:100%;height:100%;display:block;object-fit:cover;pointer-events:none}.rtc-status-list{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 18px;color:#ffffff8c;font-size:13px;line-height:1.5}.rtc-status-list strong{color:#ffffffe6;font-weight:500;text-align:right}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}@keyframes call-sheet-in{0%{opacity:0;transform:translateY(16px)}}@media(max-height:620px){.live-call-page{--call-controls-bottom: 76px;--call-corner-bottom: 14px}.ai-call-disclosure{bottom:20px}}@media(prefers-reduced-motion:reduce){.auth-status-mark{animation:none}.call-media-layer,.rtc-remote-video{transition:none}.call-info-sheet{animation:none}}.text-link:disabled{color:#6f879f}.capture-frame{width:100%;height:125px;display:block;border:1px dashed #24465b;border-radius:16px;background:linear-gradient(#35e6d0,#35e6d0) 14px 14px / 22px 2px no-repeat,linear-gradient(#35e6d0,#35e6d0) 14px 14px / 2px 22px no-repeat,linear-gradient(#35e6d0,#35e6d0) calc(100% - 14px) calc(100% - 14px) / 22px 2px no-repeat,linear-gradient(#35e6d0,#35e6d0) calc(100% - 14px) calc(100% - 14px) / 2px 22px no-repeat,radial-gradient(circle at 50% 42%,rgba(53,230,208,.16),transparent 28%),linear-gradient(145deg,#13253a,#08111e)}.profile-page{padding-top:0}.profile-card,.settings-entry{width:100%;min-height:104px;display:flex;align-items:center;gap:14px;text-align:left}.profile-card:active,.settings-entry:active,.asset-create:active{border-color:#24465b;background:#13253a}.profile-avatar{width:68px;height:68px;flex:none;display:flex;align-items:center;justify-content:center;border:1px solid #24465b;border-radius:50%;color:#35dbc8;background:#13253a;font-size:26px;font-weight:700}.profile-copy{display:flex;flex-direction:column}.profile-name{color:#f4f8ff;font-size:19px;font-weight:650;line-height:1.35}.profile-phone{margin-top:5px;color:#9cb1c8;font-size:13px}.settings-entry{min-height:74px;padding:10px 13px;border-radius:14px}.logout-button{width:100%}.membership-content{width:min(100%,720px);display:grid;gap:22px;margin:0 auto;padding:28px 20px max(40px,env(safe-area-inset-bottom))}.membership-status-card{display:grid;gap:6px;padding:18px;border:1px solid #24465b;border-radius:16px;background:linear-gradient(145deg,#13253a,#0d1928 62%)}.membership-status-card span,.membership-status-card small,.membership-page-heading span{color:#9cb1c8;font-size:12px}.membership-status-card strong{color:#f4f8ff;font-size:18px}.membership-page-heading h1{margin:4px 0 6px;font-size:24px}.membership-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.membership-card{min-width:0;display:grid;gap:10px;padding:15px;border:1px solid #24465b;border-radius:16px;background:linear-gradient(145deg,#13253a,#0d1928 62%)}.membership-card-top{display:flex;align-items:start;justify-content:space-between;gap:10px}.membership-card h3{margin-top:4px;color:#f4f8ff;font-size:16px}.membership-card-top strong,.membership-card-top b{display:block;margin-top:4px;color:#35e6d0;font-size:13px}.membership-card-top b{flex:none;margin-top:0;color:#f4f8ff}.membership-card p,.membership-card small{color:#9cb1c8;font-size:12px;line-height:1.55}.membership-card .btn{min-height:42px;margin-top:auto;font-size:13px}.membership-tag{display:inline-flex;padding:3px 6px;border:1px solid rgba(53,230,208,.4);border-radius:999px;color:#35e6d0;font-size:10px}@media(max-width:420px){.membership-grid{grid-template-columns:1fr}}.privacy-group{display:grid;gap:10px}.privacy-heading{margin-bottom:2px}.consent-record{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #162c3c;border-radius:14px;background:#0d1928}.consent-record>div{min-width:0;display:grid;gap:4px}.consent-record strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.consent-record span,.consent-record time{color:#6f879f;font-size:11px;line-height:1.45}.consent-record button{min-height:40px;flex:none;font-size:12px}.consent-record .consent-revoked{flex:none;color:#9cb1c8}.privacy-danger{padding:18px;border:1px solid rgba(255,135,145,.3);border-radius:16px;background:#b83d4b14}.privacy-danger .btn{width:100%;margin-top:18px}.privacy-toast{bottom:max(20px,env(safe-area-inset-bottom))}.account-delete-overlay{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:20px;background:#02070dd1;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.account-delete-dialog{width:min(100%,400px);display:grid;gap:16px;padding:24px;border:1px solid rgba(255,135,145,.3);border-radius:20px;color:#f4f8ff;background:#0d1928;box-shadow:0 24px 80px #00000073}.account-delete-dialog h2{font-size:22px}.account-delete-dialog>p:not(.eyebrow,.auth-error){color:#9cb1c8;font-size:13px;line-height:1.7}.account-delete-dialog .btn{width:100%}.membership-payment-dialog{border-color:#24465b}.membership-payment-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid #24465b;border-radius:14px;background:#08111e}.membership-payment-summary span{color:#9cb1c8;font-size:13px;line-height:1.5}.membership-payment-summary strong{flex:none;color:#35e6d0;font-size:22px}.membership-contact{min-height:72px;padding:14px;border:1px solid #24465b;border-radius:14px;color:#f4f8ff;background:#08111e;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.membership-contact-image{width:100%;max-height:min(42vh,360px);border:1px solid #24465b;border-radius:14px;object-fit:contain;background:#08111e}.list-label{color:#f4f8ff;font-size:14px;line-height:1.5}.chevron{color:#6f879f;font-size:22px}.toast{position:fixed;z-index:3;right:20px;bottom:calc(82px + env(safe-area-inset-bottom));left:20px;max-width:440px;margin:0 auto;padding:10px 14px;border:1px solid #24465b;border-radius:12px;color:#f4f8ff;background:#13253a;font-size:13px;text-align:center}.tabbar{position:fixed;z-index:2;right:0;bottom:0;left:0;min-height:calc(68px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 max(12px,env(safe-area-inset-left)) env(safe-area-inset-bottom) max(12px,env(safe-area-inset-right));border-top:1px solid #162c3c;background:#08111e}.tab{position:relative;min-height:68px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#6f879f;font-size:11px}.tab:before{position:absolute;top:8px;left:50%;width:22px;height:2px;border-radius:999px;background:transparent;content:"";transform:translate(-50%)}.tab svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.tab-unread-badge{position:absolute;top:10px;left:calc(50% + 6px)}.tab.active{color:#35e6d0;font-weight:650}.tab.active:before{background:#35e6d0;box-shadow:0 0 12px #35e6d080}@media(min-width:481px){.tabbar{right:50%;left:auto;width:480px;transform:translate(50%)}}:root.user-h5{--warm-canvas: #fff8f0;--warm-surface: #fffcf8;--warm-surface-muted: #f1e2d2;--warm-line: #e5d1c0;--warm-text: #3b2f2a;--warm-text-muted: #77665f;--warm-primary: #b95743;--warm-primary-soft: #f6ded6;--warm-sage: #748b72;--warm-danger: #ad3f48;--warm-shadow: 0 18px 55px rgba(112, 76, 54, .12);color:var(--warm-text);background:var(--warm-canvas);color-scheme:light;font-family:PingFang SC,Microsoft YaHei,sans-serif}html.user-h5 body{color:var(--warm-text);background:radial-gradient(circle at 88% 4%,rgba(185,87,67,.12),transparent 24rem),radial-gradient(circle at 2% 44%,rgba(116,139,114,.1),transparent 22rem),var(--warm-canvas)}html.user-h5 button:focus-visible{outline-color:var(--warm-primary)}html.user-h5 .app-shell{background:radial-gradient(circle at 88% 2%,rgba(185,87,67,.11),transparent 22rem),radial-gradient(circle at 0 46%,rgba(116,139,114,.08),transparent 18rem),var(--warm-canvas)}html.user-h5 .auth-page{background:radial-gradient(circle at 86% 12%,rgba(185,87,67,.17),transparent 19rem),radial-gradient(circle at 8% 82%,rgba(116,139,114,.13),transparent 18rem),var(--warm-canvas)}html.user-h5 .auth-panel{border-color:#e5d1c0e6;border-radius:32px 12px 32px 32px;color:var(--warm-text);background:#fffcf8f0;box-shadow:var(--warm-shadow)}html.user-h5 .auth-brand-mark{border-color:#b9574357;border-radius:16px 6px 16px 16px;box-shadow:0 10px 30px #b957432b}html.user-h5 .auth-heading h1,html.user-h5 .title-xl,html.user-h5 .messages-empty h2,html.user-h5 .membership-page-heading h1,html.user-h5 .voice-library-heading h1{color:var(--warm-text);font-family:Songti SC,STSong,serif;font-weight:700}html.user-h5 .auth-intro,html.user-h5 .auth-footnote,html.user-h5 .auth-legal-consent,html.user-h5 .legal-content section p,html.user-h5 .privacy-heading p,html.user-h5 .privacy-danger p,html.user-h5 .lead,html.user-h5 .meta,html.user-h5 .studio-subtitle,html.user-h5 .profile-phone,html.user-h5 .membership-status-card span,html.user-h5 .membership-status-card small,html.user-h5 .membership-page-heading span,html.user-h5 .membership-card p,html.user-h5 .membership-card small,html.user-h5 .consent-record span,html.user-h5 .consent-record time,html.user-h5 .membership-payment-summary span{color:var(--warm-text-muted)}html.user-h5 .auth-field>span{color:var(--warm-text)}html.user-h5 .auth-field input,html.user-h5 .voice-field select{border-color:var(--warm-line);color:var(--warm-text);background:var(--warm-surface);caret-color:var(--warm-primary)}html.user-h5 .auth-field input::placeholder{color:#a18e84}html.user-h5 .auth-field input:focus,html.user-h5 .voice-field select:focus{border-color:var(--warm-primary);box-shadow:0 0 0 3px #b957431f}html.user-h5 .auth-legal-consent input,html.user-h5 .voice-rights input{accent-color:var(--warm-primary)}html.user-h5 .auth-legal-links button,html.user-h5 .legal-gate-actions button,html.user-h5 .text-link,html.user-h5 .eyebrow{color:var(--warm-primary)}html.user-h5 .auth-error{border-color:#ad3f4840;color:var(--warm-danger);background:#ad3f4812}html.user-h5 .auth-status-mark{border-color:#b9574333;border-top-color:var(--warm-primary)}html.user-h5 .legal-page,html.user-h5 .privacy-page,html.user-h5 .membership-page,html.user-h5 .system-messages-page{color:var(--warm-text);background:radial-gradient(circle at 100% 4%,rgba(185,87,67,.1),transparent 18rem),var(--warm-canvas)}html.user-h5 .legal-topbar{border-bottom-color:#e5d1c0c7;color:var(--warm-text);background:#fff8f0e6}html.user-h5 .legal-topbar button,html.user-h5 .legal-topbar span,html.user-h5 .legal-effective{color:var(--warm-text-muted)}html.user-h5 .page-content,html.user-h5 .topbar{color:var(--warm-text)}html.user-h5 .messages-topbar{height:74px}html.user-h5 .messages-topbar h1{font-family:Songti SC,STSong,serif;font-size:26px;font-weight:700}html.user-h5 .messages-topbar button{color:var(--warm-primary)}html.user-h5 .conversation-list{display:grid;gap:10px;padding:0 20px;border:0;background:transparent}html.user-h5 .conversation-row{min-height:82px;padding:13px 14px;border:1px solid rgba(229,209,192,.82);border-radius:22px 8px 22px 22px;background:#fffcf8eb;box-shadow:0 8px 26px #704c3612}html.user-h5 .conversation-row+.conversation-row:before{display:none}html.user-h5 .conversation-row:active{background:var(--warm-primary-soft)}html.user-h5 .conversation-avatar{border-radius:16px 6px 16px 16px;background:var(--warm-surface-muted)}html.user-h5 .conversation-avatar-placeholder{border-color:var(--warm-line);color:var(--warm-primary)}html.user-h5 .system-message-avatar{border-color:transparent;color:#fffaf4;background:var(--warm-primary)}html.user-h5 .conversation-copy strong,html.user-h5 .system-message-card h2{color:var(--warm-text)}html.user-h5 .conversation-copy span,html.user-h5 .conversation-row time{color:var(--warm-text-muted)}html.user-h5 .messages-empty{position:relative;width:calc(100% - 40px);min-height:430px;align-items:flex-start;margin:10px 20px 0;padding:72px 28px 42px;overflow:hidden;border:1px solid rgba(229,209,192,.86);border-radius:42px 14px 42px 42px;color:var(--warm-text-muted);background:radial-gradient(circle at 84% 24%,rgba(185,87,67,.24),transparent 8.5rem),radial-gradient(circle at 92% 18%,rgba(255,255,255,.74),transparent 4.8rem),linear-gradient(150deg,#fffcf8fa,#f1e2d2d1);box-shadow:var(--warm-shadow);text-align:left}html.user-h5 .messages-empty:after{position:absolute;top:54px;right:-30px;width:154px;height:154px;border:1px solid rgba(185,87,67,.22);border-radius:50%;box-shadow:inset 0 0 0 24px #fffcf84d;content:""}html.user-h5 .messages-empty-icon{position:relative;z-index:1;border:0;border-radius:18px 6px 18px 18px;color:#fffaf4;background:var(--warm-primary);box-shadow:0 12px 30px #b957433d}html.user-h5 .messages-empty h2{position:relative;z-index:1;max-width:230px;margin-top:28px;font-size:29px;line-height:1.28}html.user-h5 .messages-empty p{position:relative;z-index:1;max-width:250px;margin-top:12px;font-size:14px;line-height:1.8}html.user-h5 .messages-empty .btn{position:relative;z-index:1;width:min(100%,190px);margin-top:30px}html.user-h5 .messages-empty-compact{min-height:320px;padding-top:48px}html.user-h5 .system-message-card,html.user-h5 .card,html.user-h5 .notice,html.user-h5 .settings-entry,html.user-h5 .consent-record{border-color:#e5d1c0db;color:var(--warm-text);background:#fffcf8eb;box-shadow:0 8px 26px #704c360f}html.user-h5 .system-message-card{border-radius:22px 8px 22px 22px}html.user-h5 .system-message-card header,html.user-h5 .system-message-card p,html.user-h5 .notice{color:var(--warm-text-muted)}html.user-h5 .system-message-card header span{color:var(--warm-primary)}html.user-h5 .card,html.user-h5 .settings-entry{border-radius:24px 9px 24px 24px}html.user-h5 .btn-primary{color:#fffaf4;background:var(--warm-primary);box-shadow:0 12px 26px #b9574338}html.user-h5 .btn-secondary{border-color:var(--warm-line);color:var(--warm-text);background:var(--warm-surface)}html.user-h5 .btn-danger{color:#fffaf4;background:var(--warm-danger)}html.user-h5 .danger-link,html.user-h5 .avatar-manage-actions .danger-link,html.user-h5 .legal-gate-actions .danger-link{color:var(--warm-danger)}html.user-h5 .studio-heading{padding-top:8px}html.user-h5 .studio-heading .title-md{color:var(--warm-text);font-family:Songti SC,STSong,serif;font-size:28px}html.user-h5 .studio-create-button,html.user-h5 .video-call-button{border-color:#b9574357;color:var(--warm-primary);background:var(--warm-primary-soft)}html.user-h5 .avatar-list{display:grid;gap:12px;overflow:visible;border:0;background:transparent}html.user-h5 .avatar-row{min-height:108px;border:1px solid rgba(229,209,192,.86);border-radius:26px 9px 26px 26px;background:#fffcf8f0;box-shadow:0 9px 28px #704c3612}html.user-h5 .avatar-row:last-of-type{border-bottom:1px solid rgba(229,209,192,.86)}html.user-h5 .avatar-row:not(.is-platform-example)+.avatar-row.is-platform-example{margin-top:10px;border-top:1px solid rgba(229,209,192,.86)}html.user-h5 .avatar-row-image{width:64px;height:76px;border-radius:18px 6px 18px 18px;background:var(--warm-surface-muted)}html.user-h5 .avatar-row-placeholder{border-color:var(--warm-line)}html.user-h5 .avatar-row-copy strong,html.user-h5 .profile-name,html.user-h5 .list-label,html.user-h5 .membership-status-card strong,html.user-h5 .membership-card h3,html.user-h5 .membership-card-top b{color:var(--warm-text)}html.user-h5 .avatar-row-copy>span:not(.meta),html.user-h5 .membership-card-top strong,html.user-h5 .membership-payment-summary strong{color:var(--warm-primary)}html.user-h5 .avatar-row-copy .ai-asset-label,html.user-h5 .membership-tag{border-color:#b957434d;color:var(--warm-primary);background:var(--warm-primary-soft)}html.user-h5 .avatar-manage-actions button,html.user-h5 .chevron{color:var(--warm-text-muted)}html.user-h5 .capture-frame{border-color:var(--warm-line);background:linear-gradient(var(--warm-primary),var(--warm-primary)) 14px 14px / 22px 2px no-repeat,linear-gradient(var(--warm-primary),var(--warm-primary)) 14px 14px / 2px 22px no-repeat,linear-gradient(var(--warm-primary),var(--warm-primary)) calc(100% - 14px) calc(100% - 14px) / 22px 2px no-repeat,linear-gradient(var(--warm-primary),var(--warm-primary)) calc(100% - 14px) calc(100% - 14px) / 2px 22px no-repeat,radial-gradient(circle at 50% 42%,rgba(185,87,67,.13),transparent 28%),linear-gradient(145deg,var(--warm-primary-soft),var(--warm-surface))}html.user-h5 .profile-card:active,html.user-h5 .settings-entry:active,html.user-h5 .asset-create:active{border-color:#d7bdad;background:var(--warm-primary-soft)}html.user-h5 .profile-avatar{border-color:#b9574333;color:#fffaf4;background:var(--warm-primary);box-shadow:0 10px 28px #b9574333}html.user-h5 .membership-status-card,html.user-h5 .membership-card{border-color:#e5d1c0e6;border-radius:24px 9px 24px 24px;background:radial-gradient(circle at 92% 8%,rgba(185,87,67,.16),transparent 7rem),var(--warm-surface);box-shadow:0 10px 30px #704c3612}html.user-h5 .privacy-danger{border-color:#ad3f4838;background:#ad3f480f}html.user-h5 .account-delete-overlay{background:#3b2f2a75}html.user-h5 .account-delete-dialog{border-color:#e5d1c0e6;border-radius:28px 10px 28px 28px;color:var(--warm-text);background:var(--warm-surface);box-shadow:var(--warm-shadow)}html.user-h5 .account-delete-dialog>p:not(.eyebrow,.auth-error){color:var(--warm-text-muted)}html.user-h5 .membership-payment-summary,html.user-h5 .membership-contact,html.user-h5 .membership-contact-image{border-color:var(--warm-line);color:var(--warm-text);background:var(--warm-canvas)}html.user-h5 .toast{border-color:#b9574340;color:var(--warm-text);background:#fffcf8f5;box-shadow:var(--warm-shadow)}html.user-h5 .tabbar{min-height:calc(74px + env(safe-area-inset-bottom));border-top-color:#e5d1c0cc;background:#fffcf8eb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}html.user-h5 .tab{min-height:74px;color:var(--warm-text-muted)}html.user-h5 .tab.active{color:var(--warm-primary)}html.user-h5 .tab.active:before{width:30px;height:3px;background:var(--warm-primary);box-shadow:none}html.user-h5 .live-call-page{color:#fffaf4;background:#17110f}html.user-h5 .live-call-page .call-info-sheet,html.user-h5 .live-call-page .call-terminal-card{border-color:#f1e2d22e;color:#fffaf4;background:#241a16f2}html.user-h5 .live-call-page .call-info-heading span,html.user-h5 .live-call-page .call-terminal-card p,html.user-h5 .live-call-page .rtc-status-list span{color:#d8c5b8}html.user-h5 .live-call-page .call-info-button,html.user-h5 .live-call-page .call-control{border-color:#fff8f02e;color:#fffaf4;background:#3b2f2ab8}html.user-h5 .live-call-page .call-duration,html.user-h5 .live-call-page .ai-call-disclosure{color:#fffaf4;background:#3b2f2aa3}@media(prefers-reduced-motion:no-preference){html.user-h5 .auth-panel,html.user-h5 .messages-empty,html.user-h5 .conversation-row,html.user-h5 .avatar-row,html.user-h5 .profile-card,html.user-h5 .settings-entry{animation:warm-rise .36s ease-out both}}@keyframes warm-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}html.user-h5 .character-page{color:var(--warm-text);background:radial-gradient(circle at 88% 8%,rgba(185,87,67,.14),transparent 20rem),radial-gradient(circle at 0 52%,rgba(116,139,114,.09),transparent 18rem),var(--warm-canvas)}html.user-h5 .character-topbar{border-bottom:1px solid rgba(229,209,192,.72);color:var(--warm-text);background:#fff8f0e6}html.user-h5 .character-topbar strong,html.user-h5 .section-heading h1,html.user-h5 .section-heading h2{color:var(--warm-text);font-family:Songti SC,STSong,serif;font-weight:700}html.user-h5 .portrait-section,html.user-h5 .character-page .form-section{padding:20px;border:1px solid rgba(229,209,192,.88);border-radius:30px 10px 30px 30px;background:#fffcf8e6;box-shadow:0 10px 34px #704c3612}html.user-h5 .section-index{width:27px;height:27px;display:grid;place-items:center;padding:0;border-radius:10px 3px 10px 10px;color:#fffaf4;background:var(--warm-primary);font-family:PingFang SC,Microsoft YaHei,sans-serif;letter-spacing:0}html.user-h5 .section-heading p,html.user-h5 .field-line small,html.user-h5 .field-help,html.user-h5 .upload-empty small,html.user-h5 .my-voice-empty,html.user-h5 .voice-actions small,html.user-h5 .rights-section>summary span,html.user-h5 .rights-section>p{color:var(--warm-text-muted)}html.user-h5 .portrait-upload{width:min(100%,264px);border-color:var(--warm-line);border-radius:34px 10px 34px 34px;color:var(--warm-text);background:radial-gradient(circle at 74% 18%,rgba(185,87,67,.16),transparent 7rem),var(--warm-surface-muted);box-shadow:0 14px 34px #704c361f}html.user-h5 .portrait-upload:before{border-color:#d6bfae;border-radius:26px 6px 26px 26px}html.user-h5 .character-page .field input,html.user-h5 .character-page .field textarea,html.user-h5 .character-page .field select{border-color:var(--warm-line);color:var(--warm-text);background-color:var(--warm-surface)}html.user-h5 .character-page .field select{color-scheme:light;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2377665f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")}html.user-h5 .character-page .field select option{color:var(--warm-text);background:var(--warm-surface)}html.user-h5 .character-page .field input:focus,html.user-h5 .character-page .field textarea:focus,html.user-h5 .character-page .field select:focus{border-color:var(--warm-primary);box-shadow:0 0 0 3px #b957431f}html.user-h5 .character-page .field input::placeholder,html.user-h5 .character-page .field textarea::placeholder{color:#a18e84}html.user-h5 .character-page .choice,html.user-h5 .character-page .voice-rights,html.user-h5 .character-page .voice-rights legend,html.user-h5 .rights-options label,html.user-h5 .consent-choice{color:var(--warm-text)}html.user-h5 .voice-mode-choice input,html.user-h5 .character-page .voice-rights input,html.user-h5 .rights-options input,html.user-h5 .consent-choice input{accent-color:var(--warm-primary)}html.user-h5 .my-voice-panel{border-left-color:var(--warm-line)}html.user-h5 .voice-actions button{border-color:var(--warm-line);color:var(--warm-text);background:var(--warm-surface)}html.user-h5 .voice-actions button.recording{border-color:#ad3f4880;color:var(--warm-danger)}html.user-h5 .voice-preview,html.user-h5 .voice-create-fields,html.user-h5 .rights-section{border-color:var(--warm-line);color:var(--warm-text);background:var(--warm-canvas)}html.user-h5 .voice-preview>button,html.user-h5 .voice-query-button{color:var(--warm-primary)}html.user-h5 .voice-create-button,html.user-h5 .submit-button{color:#fffaf4;background:var(--warm-primary);box-shadow:0 14px 32px #b9574338}html.user-h5 .voice-ready{color:var(--warm-sage)}html.user-h5 .form-error{border-color:#ad3f484d;color:var(--warm-danger);background:#ad3f480f}html.user-h5 .cancel-button{color:var(--warm-text-muted)}html.user-h5 .character-page .modal{background:#3b2f2a7a}html.user-h5 .character-page .modal-card{border-color:var(--warm-line);border-radius:30px 10px 30px 30px;color:var(--warm-text);background:var(--warm-surface);box-shadow:var(--warm-shadow)}html.user-h5 .modal-kicker{color:var(--warm-primary)}html.user-h5 .character-page .modal-card>p{color:var(--warm-text-muted)}html.user-h5 .voice-library-heading>div>p:last-child,html.user-h5 .voice-file-row span,html.user-h5 .voice-row p,html.user-h5 .voice-row time,html.user-h5 .voice-empty p{color:var(--warm-text-muted)}html.user-h5 .voice-create-form{border-radius:24px 8px 24px 24px}html.user-h5 .voice-file-row{border-color:var(--warm-line);border-radius:18px 6px 18px 18px;background:var(--warm-canvas)}html.user-h5 .voice-file-row button{border-color:#b957434d;color:var(--warm-primary);background:var(--warm-primary-soft)}html.user-h5 .voice-library-content .voice-rights label{color:var(--warm-text)}html.user-h5 .voice-row-title .ready{color:var(--warm-sage)}html.user-h5 .voice-row-title .processing{color:#9b6b24}html.user-h5 .voice-row-title .failed{color:var(--warm-danger)}html.user-h5 .voice-empty{border-color:var(--warm-line);background:radial-gradient(circle at 92% 12%,rgba(185,87,67,.13),transparent 7rem),var(--warm-surface)}
