html,body,#root{touch-action:manipulation;background:#f5f5f8;width:100%;height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif;overflow:hidden}.app-layout{flex-direction:column;width:100%;height:100%;display:flex}.app-content{-webkit-overflow-scrolling:touch;flex:1;position:relative;overflow:hidden auto}.tab-bar{padding-bottom:env(safe-area-inset-bottom);z-index:100;background:#fff;border-top:1px solid #e8e8ed;flex-shrink:0;justify-content:space-around;align-items:stretch;display:flex}.tab-bar-item{cursor:pointer;color:#999;background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;padding:6px 0;font-size:10px;transition:color .2s;display:flex}.tab-bar-item .tab-icon{font-size:22px;line-height:1}.tab-bar-item .tab-label{font-size:10px;line-height:1.2}.tab-bar-item.active{color:#007aff}.tab-bar-item:active{opacity:.7}.page{min-height:100%;padding:16px;padding-top:max(16px, env(safe-area-inset-top))}.page-title{color:#1a1a1a;margin-bottom:20px;padding-top:8px;font-size:24px;font-weight:700}.profile-card{background:#fff;border-radius:16px;margin-bottom:16px;padding:24px 20px}.profile-header{align-items:center;gap:16px;margin-bottom:20px;display:flex}.profile-avatar{object-fit:cover;color:#ccc;background:#f0f0f5;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:72px;height:72px;font-size:28px;display:flex;overflow:hidden}.profile-avatar img{object-fit:cover;width:100%;height:100%}.profile-name{color:#1a1a1a;font-size:20px;font-weight:600}.profile-age{color:#999;margin-top:4px;font-size:14px}.profile-field{margin-bottom:16px}.profile-field-label{color:#999;margin-bottom:4px;font-size:12px}.profile-field-value{color:#333;font-size:15px;line-height:1.5}.profile-actions{gap:12px;margin-top:8px;display:flex}.btn-primary{color:#fff;cursor:pointer;background:#007aff;border:none;border-radius:12px;flex:1;padding:12px 0;font-size:15px;font-weight:600}.btn-primary:active{opacity:.85}.btn-secondary{color:#333;cursor:pointer;background:#fff;border:1px solid #e0e0e0;border-radius:12px;flex:1;padding:12px 0;font-size:15px}.btn-secondary:active{opacity:.85}.profile-form{background:#fff;border-radius:16px;padding:20px}.form-group{margin-bottom:18px}.form-label{color:#666;margin-bottom:6px;font-size:13px;display:block}.form-input,.form-textarea{color:#333;background:#fafafa;border:1px solid #e8e8ed;border-radius:10px;outline:none;width:100%;padding:10px 14px;font-family:inherit;font-size:15px;transition:border-color .2s}.form-input:focus,.form-textarea:focus{background:#fff;border-color:#007aff}.form-textarea{resize:none;min-height:80px}.avatar-upload{align-items:center;gap:16px;display:flex}.avatar-preview{color:#ccc;background:#f0f0f5;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:72px;height:72px;font-size:28px;display:flex;overflow:hidden}.avatar-preview img{object-fit:cover;width:100%;height:100%}.avatar-upload-btn{color:#007aff;cursor:pointer;background:#fff;border:1px solid #e0e0e0;border-radius:10px;padding:8px 20px;font-size:14px}.avatar-upload-btn:active{opacity:.85}.stats-section{margin-bottom:24px}.stats-section-title{color:#1a1a1a;margin-bottom:12px;padding-left:2px;font-size:16px;font-weight:600}.stats-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:16px;display:grid}.stats-card{background:#fff;border-radius:12px;padding:14px}.stats-card-value{color:#1a1a1a;font-size:28px;font-weight:700;line-height:1.2}.stats-card-label{color:#999;margin-top:4px;font-size:12px}.stats-card.highlight .stats-card-value{color:#007aff}.stats-card.warn .stats-card-value{color:#ff9500}.stats-card.danger .stats-card-value{color:#ff3b30}.target-list{background:#fff;border-radius:12px;overflow:hidden}.target-item{cursor:pointer;border-bottom:1px solid #f5f5f8;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.target-item:last-child{border-bottom:none}.target-item:active{background:#f8f8fa}.target-item-name{color:#333;font-size:15px;font-weight:500}.target-item-arrow{color:#ccc;font-size:14px}.chat-list{background:#fff;border-radius:12px;overflow:hidden}.chat-item{cursor:pointer;border-bottom:1px solid #f5f5f8;align-items:center;gap:12px;padding:14px 16px;display:flex}.chat-item:last-child{border-bottom:none}.chat-item:active{background:#f8f8fa}.chat-item-avatar{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:18px;font-weight:600;display:flex}.chat-item-info{flex:1;min-width:0}.chat-item-name{color:#333;font-size:15px;font-weight:500}.chat-item-last{color:#999;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:13px;overflow:hidden}.chat-item-time{color:#ccc;flex-shrink:0;align-self:flex-start;margin-top:2px;font-size:11px}.chat-detail-header{align-items:center;gap:12px;margin-bottom:16px;display:flex}.chat-detail-back{cursor:pointer;background:#f0f0f5;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:18px;display:flex}.chat-detail-back:active{background:#e0e0e5}.chat-detail-title{color:#1a1a1a;font-size:18px;font-weight:600}.chat-user-card{background:#fff;border-radius:12px;align-items:center;gap:12px;margin-bottom:16px;padding:16px;display:flex}.chat-user-avatar{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;font-size:22px;font-weight:600;display:flex}.chat-user-name{color:#333;font-size:17px;font-weight:600}.chat-user-desc{color:#999;margin-top:4px;font-size:13px}.message-list{flex-direction:column;gap:12px;display:flex}.message-bubble{word-break:break-word;border-radius:16px;max-width:75%;padding:10px 14px;font-size:14px;line-height:1.5}.message-bubble.sent{color:#fff;background:#007aff;border-bottom-right-radius:4px;align-self:flex-end}.message-bubble.received{color:#333;background:#fff;border-bottom-left-radius:4px;align-self:flex-start}.message-time{color:#ccc;text-align:center;padding:4px 0;font-size:11px}.cloud-phone-page{background:#000;flex-direction:column;width:100%;height:100%;display:flex;position:relative}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}.cloud-phone-container{flex:1;justify-content:center;align-items:center;display:flex;position:relative}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{color:#ccc;flex-direction:column;justify-content:center;align-items:center;padding:60px 20px;display:flex}.empty-state-icon{margin-bottom:12px;font-size:48px}.empty-state-text{color:#999;font-size:14px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0}html,body,#root{touch-action:manipulation;background-color:#000;width:100%;height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow:hidden}body{-webkit-user-select:none;user-select:none}.control-bar{z-index:1000;padding:8px 16px;padding-top:max(8px, env(safe-area-inset-top));-webkit-backdrop-filter:blur(10px);background:#000000b3;justify-content:space-between;align-items:center;display:flex;position:fixed;top:0;left:0;right:0}.control-bar .status{color:#fff;align-items:center;gap:6px;font-size:13px;display:flex}.control-bar .status-dot{background-color:#666;border-radius:50%;width:8px;height:8px;transition:background-color .3s}.control-bar .status-dot.connected{background-color:#4cd964}.control-bar .status-dot.connecting{background-color:#fc0;animation:1.5s infinite pulse}.control-bar .status-dot.error{background-color:#ff3b30}.mode-btn{cursor:pointer;white-space:nowrap;border:none;border-radius:20px;padding:6px 16px;font-size:13px;font-weight:600;transition:all .3s}.mode-btn.manual{color:#fff;background:#007aff}.mode-btn.auto{color:#fff;background:#ff9500}.mode-btn.switching{color:#ccc;pointer-events:none;background:#666}.mode-btn:active{transform:scale(.95)}.cloud-phone-container{justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}.cloud-phone-container iframe{border:none;width:100%;height:100%}.loading-overlay{color:#fff;z-index:100;background:#000;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:absolute;inset:0}.loading-overlay .spinner{border:3px solid #fff3;border-top-color:#007aff;border-radius:50%;width:40px;height:40px;animation:.8s linear infinite spin}.loading-overlay .loading-text{color:#999;font-size:14px}.error-overlay{color:#fff;z-index:100;background:#000;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex;position:absolute;inset:0}.error-overlay .error-icon{font-size:48px}.error-overlay .error-msg{color:#999;text-align:center;font-size:14px}.error-overlay .retry-btn{color:#fff;cursor:pointer;background:#007aff;border:none;border-radius:24px;margin-top:8px;padding:10px 32px;font-size:15px}.error-overlay .retry-btn:active{transform:scale(.95)}.auto-overlay{z-index:999;padding:12px 16px;padding-bottom:max(12px, env(safe-area-inset-bottom));pointer-events:none;background:linear-gradient(#0000,#000c);justify-content:center;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0}.auto-overlay .auto-tip{color:#ff9500;font-size:13px;font-weight:500}:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}
