.install-banner[data-v-3310c977]{position:fixed;bottom:0;left:0;right:0;z-index:3000;padding:12px 14px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));background:#2e2e2e;animation:slideUp-3310c977 .3s ease}@keyframes slideUp-3310c977{0%{transform:translateY(100%)}to{transform:translateY(0)}}.install-banner-content[data-v-3310c977]{display:flex;align-items:center;gap:12px;max-width:600px;margin:0 auto}.install-icon[data-v-3310c977]{width:44px;height:44px;border-radius:10px;background:#07c160;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.install-text[data-v-3310c977]{flex:1;min-width:0}.install-title[data-v-3310c977]{font-size:15px;font-weight:600;color:#fff;margin-bottom:2px}.install-desc[data-v-3310c977]{font-size:13px;color:#ffffffb3}.install-desc strong[data-v-3310c977]{color:#fff}.install-btn[data-v-3310c977]{padding:8px 16px;background:#07c160;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap;flex-shrink:0}.install-btn[data-v-3310c977]:active{opacity:.8}.install-close[data-v-3310c977]{width:28px;height:28px;border:none;background:#ffffff26;color:#fff9;border-radius:50%;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}*{margin:0;padding:0;box-sizing:border-box}:root{--bg: #ededed;--header-bg: #2e2e2e;--header-text: #ffffff;--bubble-self: #95ec69;--bubble-other: #ffffff;--text-primary: #1a1a1a;--text-secondary: #888888;--text-time: #b0b0b0;--border-color: #d9d9d9;--input-bg: #f7f7f7;--danger: #e74c3c;--primary: #07c160;--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-top: env(safe-area-inset-top, 0px)}html,body{height:100%;height:100dvh;width:100%;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:15px;color:var(--text-primary);background:#1a1a1a;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;position:fixed;top:0;right:0;bottom:0;left:0}#app{width:100%;height:100%;height:100dvh;display:flex;flex-direction:column;background:var(--bg);overflow:hidden;position:relative}.chat-header{background:var(--header-bg);color:var(--header-text);padding:10px 16px;padding-top:calc(10px + var(--safe-top));display:flex;align-items:center;justify-content:space-between;flex-shrink:0;z-index:10;-webkit-user-select:none;user-select:none}.chat-header h1{font-size:17px;font-weight:500}.chat-header .online-badge{font-size:12px;background:#fff3;padding:3px 10px;border-radius:10px}.message-list{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 16px;-webkit-overflow-scrolling:touch;scroll-behavior:auto;-webkit-transform:translateZ(0)}.load-more-hint{text-align:center;padding:12px;color:var(--text-secondary);font-size:13px}.loading-spinner{display:inline-block;width:16px;height:16px;border:2px solid #ccc;border-top-color:var(--primary);border-radius:50%;animation:spin .6s linear infinite;margin-right:6px;vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}.time-divider{text-align:center;margin:16px 0}.time-divider span{display:inline-block;background:#cecece;color:#fff;font-size:11px;padding:3px 8px;border-radius:3px}.message-row{display:flex;margin-bottom:16px;align-items:flex-start;gap:10px}.message-row.mine{flex-direction:row-reverse}.message-row.mine .message-content-wrapper{align-items:flex-end}.avatar{width:40px;height:40px;border-radius:6px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;color:#fff;-webkit-user-select:none;user-select:none}.message-content-wrapper{display:flex;flex-direction:column;max-width:70%;min-width:0}.sender-name{font-size:12px;color:var(--text-secondary);margin-bottom:3px;padding:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px}.bubble{padding:10px 14px;border-radius:4px;font-size:15px;line-height:1.5;word-break:break-word;position:relative;box-shadow:0 1px 2px #0000000f}.bubble.self{background:var(--bubble-self);border-top-right-radius:2px}.bubble.other{background:var(--bubble-other);border-top-left-radius:2px}.bubble img{max-width:220px;max-height:220px;border-radius:4px;cursor:pointer;display:block}.bubble .image-placeholder{width:200px;height:150px;background:#e0e0e0;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#999;font-size:12px;text-align:center}.bubble .file-card{display:flex;align-items:center;gap:10px;padding:4px 0;min-width:180px}.bubble .file-card .file-icon{width:42px;height:42px;border-radius:8px;background:#e8e8e8;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}.bubble .file-card .file-info{flex:1;min-width:0}.bubble .file-card .file-info .file-name{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:2px}.bubble .file-card .file-info .file-size{font-size:11px;color:var(--text-secondary)}.bubble .file-card .file-download{flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:16px;cursor:pointer}.message-time{font-size:11px;color:var(--text-time);margin-top:2px;padding:0 4px}.chat-input{background:var(--input-bg);border-top:1px solid var(--border-color);padding:8px 10px;display:flex;align-items:flex-end;gap:6px;flex-shrink:0;padding-bottom:calc(8px + var(--safe-bottom));position:relative;z-index:20}.chat-input .tool-btn{width:36px;height:36px;border:none;background:transparent;font-size:22px;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s;flex-shrink:0;padding:0;line-height:1;-webkit-tap-highlight-color:transparent}.chat-input .tool-btn:hover{background:#00000014}.chat-input .tool-btn:active{background:#00000026;transform:scale(.95)}.chat-input textarea{flex:1;border:none;background:#fff;border-radius:8px;padding:9px 12px;font-size:16px;font-family:inherit;resize:none;outline:none;max-height:100px;line-height:1.4;min-height:36px;-webkit-appearance:none}.chat-input textarea::placeholder{color:#b0b0b0}.chat-input .send-btn{width:36px;height:36px;border:none;background:var(--primary);color:#fff;font-size:16px;border-radius:50%;cursor:pointer;flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:opacity .2s;-webkit-tap-highlight-color:transparent}.chat-input .send-btn:hover{opacity:.85}.chat-input .send-btn:disabled{opacity:.4;cursor:default}.chat-input .send-btn:active:not(:disabled){transform:scale(.95)}.emoji-picker-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:transparent}.emoji-picker{position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:8px;background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000002e;padding:8px;display:grid;grid-template-columns:repeat(8,1fr);gap:2px;z-index:201;width:296px}.emoji-picker .emoji-btn{width:34px;height:34px;border:none;background:transparent;font-size:20px;cursor:pointer;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:background .15s;-webkit-tap-highlight-color:transparent}.emoji-picker .emoji-btn:hover{background:#f0f0f0}.emoji-picker .emoji-btn:active{background:#e0e0e0;transform:scale(1.2)}.image-preview-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000f7;z-index:1000;display:flex;align-items:center;justify-content:center;cursor:pointer}.image-preview-overlay img{max-width:95vw;max-height:95vh;max-height:95dvh;object-fit:contain;border-radius:4px}.image-preview-overlay .close-btn{position:absolute;top:max(16px,var(--safe-top));right:16px;width:36px;height:36px;border-radius:50%;background:#fff3;border:none;color:#fff;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:2000;display:flex;align-items:center;justify-content:center;padding:20px}.modal-box{background:#fff;border-radius:12px;padding:28px 24px;width:100%;max-width:340px;box-shadow:0 8px 30px #0003}.modal-box h2{font-size:18px;font-weight:600;margin-bottom:8px;text-align:center}.modal-box p{font-size:13px;color:var(--text-secondary);text-align:center;margin-bottom:20px}.modal-box input{width:100%;padding:10px 14px;border:1px solid var(--border-color);border-radius:8px;font-size:16px;outline:none;margin-bottom:16px;-webkit-appearance:none}.modal-box input:focus{border-color:var(--primary)}.modal-box .btn{width:100%;padding:10px;border:none;border-radius:8px;font-size:16px;cursor:pointer;font-weight:500}.modal-box .btn-primary{background:var(--primary);color:#fff}.upload-toast{position:fixed;top:60px;top:calc(60px + var(--safe-top));left:50%;transform:translate(-50%);background:#333;color:#fff;padding:10px 20px;border-radius:8px;font-size:13px;z-index:500;display:flex;align-items:center;gap:8px;box-shadow:0 4px 12px #0000004d}.message-list::-webkit-scrollbar{width:5px}.message-list::-webkit-scrollbar-track{background:transparent}.message-list::-webkit-scrollbar-thumb{background:#00000026;border-radius:3px}@media (min-width: 768px){.message-content-wrapper{max-width:55%}.message-list{padding:16px 24px}.chat-input{padding:10px 16px;gap:10px}}@media (min-width: 1200px){.message-content-wrapper{max-width:40%}.message-list{padding:20px 40px}.chat-input{padding:12px 24px;gap:12px}}@media (max-width: 380px){.message-content-wrapper{max-width:78%}.bubble img{max-width:150px;max-height:150px}.chat-input{padding:6px;padding-bottom:calc(6px + var(--safe-bottom));gap:4px}.chat-input .tool-btn{width:32px;height:32px;font-size:20px}.chat-input textarea{font-size:15px;padding:7px 10px;min-height:32px}.chat-input .send-btn{width:32px;height:32px;font-size:14px}.emoji-picker{width:260px;grid-template-columns:repeat(8,1fr);gap:1px}.emoji-picker .emoji-btn{width:30px;height:30px;font-size:18px}}
