:root{color:#111;--app-height:100dvh;background:#d5d5d5;font-family:PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{overflow:hidden}button,textarea{font:inherit;touch-action:manipulation}.app{height:var(--app-height);background:#ededed;display:flex}.sidebar{display:none}.chat{background:#ededed;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.chat-head{background:#f7f7f7;border-bottom:1px solid #dcdcdc;justify-content:space-between;align-items:center;gap:12px;height:56px;padding:0 14px;display:flex}.chat-title{font-size:17px;font-weight:600;line-height:1.2}.chat-sub{color:#888;margin-top:2px;font-size:12px}.chat-actions{gap:4px;display:flex}.text-btn{color:#576b95;cursor:pointer;background:0 0;border:0;padding:6px 8px;font-size:15px}.log{flex:1;min-height:0;padding:12px 12px 8px;overflow-y:auto}.time,.system{color:#8d8d8d;text-align:center;margin:10px auto;font-size:12px;line-height:1.5}.system{max-width:460px;padding:0 18px}.row{align-items:flex-start;gap:8px;margin:12px 0;display:flex}.row.me{justify-content:flex-end}.avatar{color:#fff;border-radius:4px;flex:none;place-items:center;width:38px;height:38px;font-size:16px;font-weight:600;display:grid}.me-avatar{background:#07c160}.row.me .avatar{display:none}.bubble-wrap{max-width:min(78%,460px)}.row.me .bubble-wrap{justify-content:flex-end;display:flex}.name{margin:0 0 4px 2px;font-size:12px;line-height:1.2}.bubble{white-space:pre-wrap;word-break:break-word;background:#fff;border-radius:6px;width:fit-content;max-width:100%;padding:9px 12px;font-size:16px;line-height:1.5}.bubble.mine{background:#95ec69}.typing-bubble{align-items:center;gap:5px;min-width:52px;min-height:22px;display:flex}.dot{background:#b2b2b2;border-radius:50%;width:6px;height:6px;animation:1.2s infinite blink}.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}.hint{color:#576b95;text-align:left;cursor:pointer;background:#fff;border:0;border-radius:16px;margin:0 12px 8px;padding:8px 12px;font-size:13px;line-height:1.4;display:block}.composer{padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#f7f7f7;border-top:1px solid #e5e5e5;align-items:flex-end;gap:8px;display:flex}.composer textarea{resize:none;background:#fff;border:0;border-radius:6px;flex:1;max-height:96px;padding:9px 12px;font-size:16px;line-height:1.4}.composer textarea:focus{outline:none}.composer button{color:#fff;cursor:pointer;background:#07c160;border:0;border-radius:6px;height:36px;padding:0 14px;font-size:15px}.composer button:disabled{cursor:default;background:#b7e6cb}.sheet{z-index:5;background:#00000059;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet-card{width:100%;max-height:min(78dvh,640px);padding-bottom:env(safe-area-inset-bottom);background:#fff;border-radius:12px 12px 0 0;overflow:auto}.sheet-head{justify-content:space-between;align-items:center;padding:12px 8px 8px 16px;font-size:16px;display:flex}.sheet-list{margin:0;padding:0 0 12px;list-style:none}.sheet-list li{align-items:center;gap:10px;padding:10px 16px;display:flex}.sheet-name{font-size:16px}.sheet-principle{color:#888;margin-top:2px;font-size:13px;line-height:1.4}@media (width>=960px){body{justify-content:center;align-items:center;display:flex}.app{width:min(1120px,100vw - 48px);height:min(840px, calc(var(--app-height) - 48px));border-radius:10px;overflow:hidden;box-shadow:0 16px 48px #0000002e}.sidebar{color:#f3f3f3;background:#2e2e2e;flex-direction:column;flex:none;width:300px;display:flex}.sidebar-head{padding:22px 18px 12px}.sidebar-title{font-size:18px;font-weight:600}.sidebar-head p{color:#bdbdbd;margin:8px 0 0;font-size:13px;line-height:1.5}.member-list{flex:1;min-height:0;margin:0;padding:0;list-style:none;overflow:auto}.member{align-items:flex-start;gap:10px;padding:12px 16px;display:flex}.member.typing{background:#3a3a3a}.member-name{font-size:15px;line-height:1.3}.member-principle{color:#b5b5b5;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:3px;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.sidebar-foot{color:#9a9a9a;padding:12px 16px 16px;font-size:12px;line-height:1.45}.members-btn{display:none}.log{padding:16px 22px 10px}.row.me .avatar{display:grid}.bubble-wrap{max-width:min(70%,520px)}.sheet{display:none}}@media (prefers-reduced-motion:reduce){.dot{animation:none}}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}
