:root{--ink:#303c34;--muted:#5f6557;--accent:#486455;--light:#f0e7eb;--line:#ded6c4;--canvas:#faf6ec;--viewport:100dvh;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{border:0;color:inherit;background:none}a{color:inherit;text-decoration:none}input,select,textarea{border:1px solid var(--line);border-radius:10px;padding:13px 14px;background:#fff;color:var(--ink);width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:#8c9b84;box-shadow:0 0 0 3px #8c9b8420}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}label{display:block;font-size:13px;font-weight:500;margin-bottom:20px}label input,label select{margin-top:9px}h1,h2,h3,p{margin-top:0}h2{font-weight:600}h3{font-size:14px}button.primary{background:var(--accent);color:#fff;border-radius:10px;padding:14px 18px;width:100%;font-weight:600;transition:background .2s}button.primary:hover,.send-button:hover{background:#3a5447}.secondary{display:block;border:1px solid #d9ceb9;border-radius:9px;padding:11px 15px;margin:12px 0;width:100%;background:#f7f3f0}.small-copy{font-size:12px;color:#5f6557;line-height:1.9}.subtle{color:var(--muted);font-size:12px}.eyebrow{font-size:10px;letter-spacing:2px;color:#5f6557;font-weight:500}.brand{display:flex;align-items:center;gap:10px;font-size:29px;font-weight:650;letter-spacing:1px}.brand-symbol{display:grid;place-items:center;width:38px;height:38px;border:1.5px solid #486455;border-radius:13px;font-size:40px;line-height:1;color:#486455;padding-bottom:0}.brand-dot{color:#b796a3}.demo-banner{height:32px;padding:7px 16px;background:#eee8de;color:#74604d;text-align:center;font-size:11px;overflow:hidden}.auth-screen{min-height:var(--viewport);display:grid;grid-template-columns:1fr 1fr}.demo-banner:not([hidden])~.auth-screen{min-height:calc(var(--viewport) - 32px)}.auth-story{background:#ebe2de;position:relative;overflow:hidden;padding:48px 60px;display:flex;flex-direction:column;justify-content:space-between}.auth-story:after{content:"";width:500px;height:500px;position:absolute;border:1px solid #d4c4c5;border-radius:50%;left:-210px;bottom:-330px;box-shadow:0 0 0 70px #d4c4c555,0 0 0 140px #d4c4c544;pointer-events:none}.story-copy{margin:70px 0;z-index:1}.story-copy h1{font-family:"Songti SC",STSong,serif;font-size:clamp(32px,3.3vw,54px);font-weight:500;line-height:1.6;letter-spacing:3px;margin:22px 0}.story-copy p{font-size:14px;line-height:2.2;color:#5f6557}.story-avatars{display:flex;margin:32px 0 16px;padding-left:5px}.story-avatars span{display:grid;place-items:center;font-size:25px;width:53px;height:53px;background:#faf7f3;border:4px solid #ebe2de;border-radius:50%;margin-left:-5px}.story-caption{font-size:12px;letter-spacing:2px;color:#5f6557}.story-footer{font-size:11px;color:#5f6557;z-index:1;letter-spacing:1px}.story-footer span{margin:0 13px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:45px 30px;background:#fffbf2}.auth-card{width:100%;max-width:340px}.mini-leaf{display:inline-grid;place-items:center;color:#486455;background:#e8dfe0;width:48px;height:48px;font-size:34px;border-radius:16px;margin-bottom:28px}.auth-card h2{font-size:25px;letter-spacing:1px;margin-bottom:10px}.auth-card>p{color:var(--muted);font-size:13px;margin-bottom:32px}.password-wrap{position:relative}.password-wrap input{padding-right:55px}.password-wrap button{position:absolute;right:12px;top:22px;font-size:11px;color:var(--muted)}.form-error{font-size:12px;color:#934c47;line-height:1.7;min-height:0;margin:0 0 12px}.auth-submit{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.auth-submit span{font-size:20px;font-weight:400}.auth-card .auth-note{font-size:11px;line-height:2;margin:20px 0 26px;color:#5f6557}.auth-card .privacy-note{font-size:10px;text-align:center;border-top:1px solid var(--line);padding-top:24px;margin:25px 0 0;letter-spacing:1px}.demo-accounts{background:#f2eddf;border:1px dashed #d4c4c5;border-radius:12px;padding:15px;font-size:11px}.demo-accounts b{font-weight:600}.demo-accounts p{color:#5f6557;line-height:1.8;margin:7px 0 10px}#demo-buttons{display:flex;gap:5px;flex-wrap:wrap}#demo-buttons button{background:#fff;padding:7px;border-radius:7px;font-size:11px}.app{display:grid;grid-template-columns:286px minmax(0,1fr) 264px;height:var(--viewport);max-width:1800px;margin:auto;background:#fffbf2}.demo-banner:not([hidden])~.app{height:calc(var(--viewport) - 32px)}.sidebar{background:#f2eddf;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:32px 25px 35px}.sidebar-top .brand{font-size:25px}.sidebar-top .brand-symbol{width:33px;height:33px;font-size:34px;border-radius:11px}.private-tag{font-size:9px;border:1px solid #d9ceb9;padding:4px 7px;border-radius:5px;color:#5f6557}.sidebar-heading{padding:0 25px;display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.sidebar-heading h1{font-size:20px;letter-spacing:1px;margin:0}.search{display:flex;gap:8px;align-items:center;background:#eae4e1;border-radius:9px;margin:0 20px 25px;padding:0 12px;height:39px}.search>span{font-size:25px;color:#8c7b83;line-height:1}.search input{background:none;border:0;padding:0;box-shadow:none;font-size:11px;margin:0;height:100%;min-width:0}.search input::placeholder{color:#5f6557}.conversation-list{padding:0 12px;overflow:auto;flex:1}.nav-section{font-size:10px;color:#5f6557;padding:5px 13px 12px;letter-spacing:1px}.conversation{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:15px 13px;border-radius:12px;position:relative;margin:0 0 4px;min-width:0}.conversation:hover{background:#ede8da}.conversation.selected{background:#ecdcd0}.conversation .avatar{width:42px;height:42px;flex-shrink:0;border-radius:13px;font-size:23px}.avatar{width:40px;height:40px;display:inline-grid;place-items:center;background:#e8e6d7;border-radius:13px;flex-shrink:0;font-size:23px}.avatar.group-avatar{background:#ecdcd0;color:#486455;font-size:31px}.conversation-detail{min-width:0;flex:1}.conversation-title{display:flex;justify-content:space-between;gap:5px;align-items:center;margin-bottom:7px}.conversation-title b{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-title time{font-size:9px;color:#5f6557;white-space:nowrap}.conversation-preview{font-size:11px;color:#5f6557;display:flex;gap:8px;align-items:center}.conversation-preview>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.unread-badge{font-size:9px!important;min-width:17px;height:17px;border-radius:8px;background:#486455;color:white;display:grid;place-items:center;flex-shrink:0;padding:0 4px}.sidebar-bottom{padding:15px 20px 22px}.little-note{display:flex;align-items:center;gap:12px;padding:18px 8px 24px;border-bottom:1px solid #d9ceb9;margin-bottom:18px}.little-note>span{font-size:30px;color:#b59aa4}.little-note p{font-size:11px;color:#5f6557;line-height:1.9;margin:0}.little-note small{font-size:10px;color:#5f6557}.profile-button{width:100%;display:flex;gap:10px;text-align:left;align-items:center}.profile-button .avatar{height:37px;width:37px;background:#e8e6d7;font-size:22px;border-radius:11px}.profile-button b{display:block;font-size:12px;font-weight:600}.profile-button small{display:block;color:#5f6557;font-size:10px;margin-top:5px}.settings-mark{margin-left:auto;color:#5f6557;font-size:17px}.chat-panel{display:flex;flex-direction:column;position:relative;min-height:0;min-width:0;background:#faf6ec}.chat-header{height:94px;padding:0 30px;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);flex-shrink:0;background:#fffbf2}.chat-header .avatar{height:42px;width:42px}.chat-title{flex:1;min-width:0}.chat-title h2{font-size:17px;letter-spacing:.5px;margin-bottom:7px}.chat-title>span{color:#5f6557;font-size:10px}.icon-button{width:34px;height:34px;display:inline-grid;place-items:center;color:#486455;font-size:21px;flex-shrink:0;border-radius:8px}.icon-button:hover{background:#ede8da}.back-button{display:none;font-size:34px}.chat-scroll{overflow:auto;overscroll-behavior:contain;flex:1;padding:0 30px 22px;scrollbar-width:thin;scrollbar-color:#d3c5c8 transparent}.chat-welcome{text-align:center;padding:30px 0 25px;color:#5f6557}.chat-welcome>span{display:block;font-size:25px;color:#a98a96;margin-bottom:12px}.chat-welcome p{font-size:10px;letter-spacing:1px;margin-bottom:6px}.chat-welcome small{font-size:9px;color:#5f6557}.date-divider{display:flex;align-items:center;justify-content:center;margin:9px 0 27px;gap:12px;color:#5f6557;font-size:9px}.date-divider:before,.date-divider:after{content:"";height:1px;width:40px;background:#ded6c4}.message{display:flex;gap:10px;margin-bottom:23px;align-items:flex-start}.message .avatar{width:33px;height:33px;font-size:20px;border-radius:11px;margin-top:3px}.message-content{max-width:78%;min-width:0}.message-meta{display:flex;align-items:center;gap:9px;color:#5f6557;font-size:10px;margin-bottom:8px}.message-meta time{font-size:9px;color:#5f6557}.bubble{padding:12px 15px;background:#fff;border:1px solid #ded6c4;border-radius:0 13px 13px 13px;color:#3e4239;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left}.message.self{flex-direction:row-reverse}.message.self .message-meta{justify-content:flex-end}.message.self .bubble{background:#dee8d9;border-color:#d5c6b2;border-radius:13px 0 13px 13px;color:#314b40}.message.self .avatar{background:#ecdcd0}.message-status{font-size:10px;color:#906146;text-align:right;padding:5px}.retry-button{font-size:11px;text-decoration:underline;color:#934c47;padding:5px}.empty-messages{text-align:center;font-size:12px;line-height:2;color:#5f6557;padding:40px 10px}.composer{border-top:1px solid var(--line);margin:0 30px;position:relative;padding:17px 0 calc(17px + env(safe-area-inset-bottom));background:#faf6ec;flex-shrink:0}.composer-row{display:flex;align-items:flex-end;gap:10px}.composer-row textarea{resize:none;background:transparent;border:0;box-shadow:none;line-height:1.7;padding:7px 0;max-height:120px;min-height:38px;font-size:13px;flex:1;min-width:0}.composer-row textarea::placeholder{color:#5f6557}.emoji-button{font-size:27px;margin-bottom:1px}.send-button{height:38px;min-width:77px;background:#486455;color:white;border-radius:9px;font-size:13px;letter-spacing:1px;flex-shrink:0}.send-button>span{font-size:11px;margin-right:7px;letter-spacing:0}.composer-foot{display:flex;justify-content:space-between;color:#5f6557;font-size:9px;margin:12px 0 0 44px;gap:10px}.composer-foot i{display:inline-block;background:#85937f;border-radius:50%;width:5px;height:5px;vertical-align:middle;margin-right:5px}.connection-bar{padding:9px 20px;font-size:11px;background:#f1e9da;color:#74604d;flex-shrink:0}.new-message-button{position:absolute;bottom:120px;left:50%;transform:translateX(-50%);background:#486455;color:white;box-shadow:0 3px 15px #48645530;border-radius:20px;padding:10px 17px;font-size:11px}.text-button{color:#486455;font-size:11px}.older{display:block;margin:0 auto 20px}.emoji-picker{position:absolute;bottom:100%;left:0;width:260px;padding:13px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 35px #314b4015;border-radius:14px;display:grid;grid-template-columns:repeat(6,1fr);gap:6px;z-index:2}.emoji-picker button{font-size:24px;padding:6px;border-radius:7px}.emoji-picker button:hover{background:#f0e7eb}.circle-panel{border-left:1px solid var(--line);padding:43px 25px 25px;display:flex;align-items:center;flex-direction:column;background:#f0ecdf;overflow:auto}.circle-panel>.eyebrow{font-size:9px;letter-spacing:1.5px;color:#5f6557}.circle-illustration{height:150px;width:180px;position:relative;margin:22px 0 9px;flex-shrink:0}.circle-illustration:before{content:"";position:absolute;width:115px;height:115px;border:1px dashed #d4c4c5;border-radius:50%;left:33px;top:15px}.circle-heart{position:absolute;top:47px;left:63px;color:#a98a96;font-size:48px;line-height:1}.orbit{position:absolute;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#ede8da;font-size:22px;z-index:1}.o1{left:30px;top:10px;transform:rotate(-14deg)}.o2{right:23px;top:24px;transform:rotate(12deg)}.o3{left:38px;bottom:13px;transform:rotate(-10deg)}.o4{right:32px;bottom:19px;transform:rotate(10deg)}.circle-panel>h2{font-family:"Songti SC",STSong,serif;font-size:21px;font-weight:500;letter-spacing:2px;margin-bottom:13px}.circle-panel>p{font-size:11px;line-height:2.1;text-align:center;color:#5f6557;letter-spacing:.5px;margin-bottom:28px}.divider{width:100%;height:1px;background:var(--line);margin-bottom:24px}.members-heading{display:flex;justify-content:space-between;width:100%;align-items:center;margin-bottom:17px}.members-heading h3{font-size:12px;margin:0;font-weight:500}.members-heading span{font-size:10px;color:#5f6557}#rail-members{width:100%}.rail-member{display:flex;align-items:center;gap:10px;margin-bottom:17px;width:100%;text-align:left}.rail-member .avatar{height:30px;width:30px;border-radius:10px;font-size:18px}.rail-member b{font-size:11px;font-weight:500}.owner-tag{font-size:8px;border:1px solid #d9ceb9;border-radius:4px;padding:2px 5px;color:#5f6557;margin-left:auto}.member-active{font-size:9px;color:#5f6557;margin-left:auto}.manage-button{font-size:11px;border:1px solid #d9ceb9;border-radius:8px;display:flex;justify-content:space-between;width:100%;padding:11px 13px;color:#486455;margin:8px 0 20px}.circle-bottom{margin-top:auto;text-align:center;padding-top:30px;color:#5f6557;font-size:9px;line-height:1.9}.circle-bottom>span{font-size:10px}.circle-bottom p{margin:10px 0 0;color:#5f6557}dialog{width:calc(100% - 36px);max-width:440px;border:1px solid #d9ceb9;border-radius:18px;background:#fffbf2;padding:25px;color:var(--ink);max-height:calc(var(--viewport) - 50px);overflow:auto;box-shadow:0 20px 80px #314b4020}dialog::backdrop{background:#3c303855;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:10px}.dialog-head h2{font-size:20px;margin:0}.dialog-head .icon-button{font-size:27px}dialog p{line-height:1.9;font-size:13px}dialog h3{margin:24px 0 15px}dialog details{border-top:1px solid var(--line);padding-top:20px;margin:22px 0}dialog summary{font-size:13px;cursor:pointer;margin-bottom:15px}.danger-text{display:block;color:#934c47;text-align:center;width:100%;margin-top:16px;padding:10px}.admin-row,.invite-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.admin-row>div,.invite-row>div{flex:1;min-width:0}.admin-row b,.invite-row b{display:block;font-weight:500;font-size:12px}.admin-row small,.invite-row small{font-size:10px;color:var(--muted);display:block;margin-top:6px}.admin-row button,.invite-row button{color:#934c47;font-size:11px;padding:7px;background:#ede8da;border-radius:7px}.invite-row>span{font-size:10px;color:var(--muted)}#invite-result{padding:15px;margin-top:20px;background:#ebe2de;border-radius:10px}#invite-result input{font-size:11px}#invite-result label{margin-bottom:12px}.toast{position:fixed;bottom:max(25px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#314b40;color:#fff;padding:13px 22px;border-radius:10px;font-size:12px;line-height:1.8;box-shadow:0 5px 25px #314b4022;z-index:50;max-width:calc(100% - 30px);width:max-content}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}
@media(min-width:1600px){.app{grid-template-columns:310px minmax(0,1fr) 290px}.chat-header{padding:0 45px}.chat-scroll{padding-left:45px;padding-right:45px}.composer{margin-left:45px;margin-right:45px}}
@media(max-width:1199px){.app{grid-template-columns:270px minmax(0,1fr)}.circle-panel{display:none}.auth-story{padding:40px}.story-copy h1{font-size:39px}}
@media(max-width:700px){:root{font-size:14px}.auth-screen{grid-template-columns:1fr;min-height:var(--viewport)}.auth-story{padding:24px;background:#ebe2de;display:block}.auth-story .brand{font-size:24px}.auth-story .brand-symbol{width:31px;height:31px;font-size:32px}.story-copy{margin:25px 0 3px}.story-copy .eyebrow{font-size:8px}.story-copy h1{font-size:27px;line-height:1.55;margin:15px 0 10px}.story-copy p{font-size:11px;line-height:1.9;margin-bottom:5px}.story-avatars,.story-caption,.story-footer{display:none}.auth-panel{padding:30px 25px 35px;align-items:flex-start}.auth-card{max-width:400px}.mini-leaf{display:none}.auth-card h2{font-size:21px}.auth-card>p{margin-bottom:24px}.demo-banner{font-size:9px;text-align:left;height:30px;white-space:nowrap;text-overflow:ellipsis}.demo-banner:not([hidden])~.app{height:calc(var(--viewport) - 30px)}.app{display:block;overflow:hidden}.sidebar{width:100%;height:100%;border:0}.sidebar-top{padding:25px 24px 28px}.sidebar-heading{padding:0 24px}.sidebar-heading h1{font-size:23px}.sidebar-top .brand{font-size:28px}.private-tag{font-size:10px}.search{margin-left:22px;margin-right:22px;height:43px}.search input{font-size:13px}.conversation-list{padding:0 12px}.conversation{padding:17px 14px}.conversation .avatar{width:48px;height:48px;font-size:27px;border-radius:15px}.conversation-title b{font-size:15px}.conversation-title time{font-size:10px}.conversation-preview{font-size:12px}.nav-section{font-size:11px}.sidebar-bottom{padding-bottom:max(20px,env(safe-area-inset-bottom))}.little-note{padding:9px 8px 18px}.chat-panel{display:none;height:100%;width:100%}.app.chat-open .sidebar{display:none}.app.chat-open .chat-panel{display:flex}.back-button{display:inline-grid;width:24px;margin-left:-7px}.chat-header{height:76px;padding:0 17px;gap:10px;padding-top:env(safe-area-inset-top)}.chat-title h2{font-size:16px}.chat-title>span{font-size:10px}.chat-header .avatar{width:37px;height:37px;font-size:26px}.chat-scroll{padding:0 16px 16px}.chat-welcome{padding:24px 0}.chat-welcome p{font-size:10px}.message{gap:8px;margin-bottom:22px}.message .avatar{width:31px;height:31px;font-size:19px}.message-content{max-width:calc(100% - 62px)}.bubble{font-size:14px;padding:10px 13px}.message-meta{font-size:10px}.composer{margin:0;padding:12px 14px calc(10px + env(safe-area-inset-bottom))}.composer-row{gap:9px}.composer-row textarea{font-size:16px;padding:6px 0;max-height:100px}.composer-foot{font-size:8px;margin:7px 0 0 40px}.composer-foot>span:first-child{max-width:70%}.send-button{min-width:62px;height:37px}.send-button>span{font-size:11px;margin-right:3px}.emoji-button{width:30px}.emoji-picker{left:10px}.new-message-button{bottom:106px}dialog{padding:22px;max-height:calc(var(--viewport) - 34px)}input,select{font-size:16px}.profile-button b{font-size:14px}.profile-button small{font-size:11px}.toast{font-size:12px}.connection-bar{font-size:11px}.auth-note{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:700px){body.signed-in{overflow:hidden;height:var(--viewport)}.signed-in .app{position:fixed;left:0;right:0;top:var(--viewport-top,0px)}.signed-in .demo-banner:not([hidden]){position:fixed;left:0;right:0;top:var(--viewport-top,0px);z-index:5}.signed-in .demo-banner:not([hidden])~.app{top:calc(var(--viewport-top,0px) + 30px)}}

/* 暖瓷白、石色与少量藕粉；以留白突出消息。 */
.brand-symbol{background:#e8dfe0;box-shadow:0 3px 10px #4864550a}.brand-dot{color:#b796a3}.auth-story{background:radial-gradient(ellipse at 85% 25%,#fdfbf7 0,transparent 58%),#ebe2de}.auth-panel{background:linear-gradient(150deg,#fdfbf8,#f6f1ee)}.conversation.selected{box-shadow:inset 0 0 0 1px #d5c6b2}.send-button,button.primary{box-shadow:0 3px 9px #48645514}.circle-illustration:before{box-shadow:0 0 0 17px #ebe2de66,0 0 0 34px #ebe2de33}.circle-heart{color:#486455}.chat-welcome>span{color:#a98a96}.auth-card .mini-leaf{color:#486455}

/* 图片与视频使用受权限保护的地址，待发送文件只在本机预览。 */
.attachment-button{font-size:27px;width:30px;height:36px;color:#486455}
.attachment-menu{position:absolute;bottom:100%;left:42px;z-index:4;width:225px;padding:8px;background:#fffbf2;border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 35px #314b401a}
.attachment-menu button{width:100%;display:grid;grid-template-columns:35px 1fr;align-items:center;text-align:left;padding:11px 12px;border-radius:9px;font-size:13px;font-weight:600}
.attachment-menu button:hover{background:#ede8da}.attachment-menu button>span{grid-row:span 2;font-size:25px;color:#486455}.attachment-menu small{font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}
.selected-file{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#f2eddf;border:1px solid #d5c6b2;border-radius:12px;margin:0 0 12px}
.selected-file img{height:48px;width:48px;object-fit:cover;border-radius:8px}.selected-file>span{display:grid;place-items:center;width:48px;height:48px;font-size:30px;background:#ecdcd0;border-radius:8px;color:#486455}
.selected-file>div{flex:1;min-width:0}.selected-file b,.pending-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}.selected-file small,.pending-file small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.selected-file>button{font-size:25px;color:#486455;padding:8px}
.media-bubble{padding:8px;max-width:340px;overflow:hidden;white-space:normal}.media-caption{white-space:pre-wrap;overflow-wrap:anywhere}.media-bubble .media-caption{padding:3px 6px 8px}
.chat-image-open{display:block;padding:0;border-radius:8px;overflow:hidden;max-width:100%}.chat-image{display:block;width:auto;max-width:100%;height:auto;max-height:240px;border-radius:8px;object-fit:contain;background:#f1ece7}
.chat-video{display:block;width:300px;max-width:100%;height:auto;max-height:320px;border-radius:8px;background:#322f31;aspect-ratio:4/3}
.media-download{display:block;padding:8px 5px 2px;font-size:10px;color:#486455;text-align:right;line-height:1.7}.media-download:hover{text-decoration:underline}.video-fallback{font-size:11px;line-height:1.7;padding:8px 5px;margin:0;color:#486455}
.pending-file{display:flex;align-items:center;gap:10px;max-width:250px;min-width:120px}.pending-file>div{min-width:0;flex:1}.pending-image{width:64px;height:64px;border-radius:8px;object-fit:cover}.pending-file-mark{display:grid;place-items:center;font-size:32px;color:#486455;width:48px;height:48px;flex-shrink:0}
.image-dialog{max-width:900px;width:calc(100% - 30px)}.image-dialog>img{display:block;max-width:100%;max-height:calc(var(--viewport) - 180px);margin:auto;object-fit:contain}.image-dialog .media-download{font-size:12px;padding-top:15px}
.storage-usage{padding:12px 14px;border:1px solid #d5c6b2;border-radius:10px;background:#f2eddf;color:#486455;font-size:12px!important}
.brand-symbol img{display:block;width:100%;height:100%;border-radius:10px}.brand-symbol:has(img){padding:0;border:0;background:transparent;box-shadow:none}
@media(max-width:700px){.composer-row{gap:7px}.attachment-button{width:27px}.media-bubble{max-width:100%}.chat-video{width:260px;max-height:280px}.chat-image{max-height:280px}.attachment-menu{left:36px}.selected-file{gap:8px;padding:8px 10px}.selected-file img,.selected-file>span{width:42px;height:42px}.composer-foot{margin-left:0}.pending-file{max-width:210px}.image-dialog{padding:18px}.image-dialog>img{max-height:calc(var(--viewport) - 170px)}}

.mini-leaf img{width:48px;height:48px;border-radius:14px}.circle-heart img{width:60px;height:60px;border-radius:17px}.circle-heart{top:40px;left:61px}.avatar.group-avatar img{width:100%;height:100%;object-fit:contain;border-radius:inherit}

/* 桃花入庭：轻线条标识与安静的材质配色。 */
.brand{font-family:"Songti SC",STSong,serif;font-weight:600;letter-spacing:2px;gap:12px}
.brand-symbol{width:44px;height:44px}.sidebar-top .brand-symbol{width:38px;height:38px}.sidebar-top .brand{font-size:24px}
.brand-symbol img{border-radius:12px}.sidebar{background:#f1ecdf}.sidebar-top{padding-top:31px}.search{background:#e7e3d3}
.conversation.selected{background:#ecdcd0;box-shadow:inset 3px 0 0 #a27b6c;border-radius:4px 12px 12px 4px}
.conversation.selected .conversation-title b{color:#314b40}.conversation:hover:not(.selected){background:#ebe5e1}
.chat-panel,.composer{background:#faf6ec}.chat-header{background:#fffbf2}.chat-header .avatar{background:transparent}
.bubble{background:#fffcf5;border-color:#ded6c4;box-shadow:0 2px 6px #43333d03;border-radius:3px 14px 14px 14px}
.message.self .bubble{background:#dee8d9;border-color:#c4d2bf;color:#314b40;border-radius:14px 3px 14px 14px}
.circle-panel{background:#f0ecdf}.circle-panel>.eyebrow{letter-spacing:2px}.circle-illustration{height:156px;margin:20px 0 12px}
.circle-illustration:before{width:128px;height:144px;left:26px;top:0;border:1px solid #d9ceb9;border-radius:70px 70px 60px 60px;box-shadow:none}
.circle-heart{top:24px;left:40px;width:100px;height:100px;line-height:0}.circle-heart img{width:100px;height:100px;border-radius:30px}
.circle-panel>h2{font-size:22px;letter-spacing:3px;color:#4d4247}.circle-panel>p{color:#5f6557}.manage-button{background:#faf7f3}
.auth-story{background:radial-gradient(ellipse at 85% 25%,#fcf9f4 0,transparent 60%),#ece5df}.auth-panel{background:#faf6ec}
.auth-story:after{opacity:.5}.story-copy h1{color:#314b40}.mini-leaf{background:transparent}
.send-button,button.primary{background:#486455;box-shadow:0 3px 9px #314b4010}.send-button:hover,button.primary:hover{background:#3a5447}
.demo-banner{background:#eee8de;color:#74604d}.attachment-menu,dialog{background:#fffbf2}.selected-file,.storage-usage{background:#f2eddf}
@media(max-width:700px){.brand-symbol{width:40px;height:40px}.sidebar-top .brand{font-size:28px}.sidebar-top .brand-symbol{width:40px;height:40px}.auth-story .brand-symbol{width:35px;height:35px}}

/* 用户提供的桃源山水：米杏纸色、青绿山色与桃粉花色。 */
:root{--ink:#303c34;--muted:#5f6557;--accent:#486455;--light:#eee5d5;--line:#ded4bf;--canvas:#faf6ec}
.sidebar{background:linear-gradient(155deg,#f6f0e3,#ececdd)}
.search{background:#e8e5d6}.private-tag{background:#faf6ec99;border-color:#d8ceb8;color:#5f6557}
.conversation.selected{background:#ecdcd0;box-shadow:inset 3px 0 0 #aa7d68}.conversation.selected .conversation-title b{color:#534638}
.conversation:hover:not(.selected){background:#e8e9db}
.avatar{background:#e8e6d7}.message.self .avatar{background:#e1e7d7}
.brand-symbol img,.avatar.group-avatar img{object-fit:cover;border:1px solid #cebea0;border-radius:inherit}
.brand-symbol{border-radius:11px}.brand{color:#344c3e}
.chat-panel,.composer{background:#faf6ec}
.chat-header{background:linear-gradient(90deg,#fffbf2f7,#fffbf2e6),url('/static/taoyuan-scene.jpg?v=taoyuan1') center 32%/cover}
.chat-title h2{font-family:"Songti SC",STSong,serif;letter-spacing:1px;font-size:18px;color:#344c3e}
.chat-scroll{background:linear-gradient(180deg,#faf6ecd9,#faf6ecc9),url('/static/taoyuan-scene.jpg?v=taoyuan1') center/cover no-repeat}
.chat-welcome>span{color:#b67d7c}.chat-welcome p{font-family:"Songti SC",STSong,serif;font-size:12px;color:#47533f}
.bubble{background:#fffcf5f7;border:1px solid #ded4bf;border-radius:3px 14px 14px 14px;box-shadow:0 2px 7px #49523a08;color:#3e4239}
.message.self .bubble{background:#dee8d9f7;border-color:#c4d2bf;color:#314b40}
.date-divider{color:#5f6557}.date-divider:before,.date-divider:after{background:#cfc8b1}
.send-button,button.primary,.unread-badge,.new-message-button{background:#486455;color:#fff}.send-button:hover,button.primary:hover{background:#3a5447}
.composer{border-color:#d6cbb6}.composer-foot i{background:#799274}.icon-button,.attachment-button,.text-button,.media-download{color:#486455}
.circle-panel{background:linear-gradient(180deg,#f3eddd,#eeeddf)}
.circle-illustration{height:142px;width:100%;margin:22px 0 22px;padding:5px;border:1px solid #d4c5a9;border-radius:7px;background:#faf6ec}
.circle-illustration:before{display:none}.circle-heart{position:static;display:block;width:100%;height:100%}
.circle-heart img{display:block;width:100%;height:100%;border-radius:3px;object-fit:cover}
.circle-panel>h2{color:#3f513f}.manage-button{background:#faf6ec;border-color:#d4c5a9;color:#486455}
.demo-banner{background:#ede3ce;color:#6d593d}.demo-accounts{background:#f0eddf;border-color:#cdbf9f}
.auth-story{background:linear-gradient(180deg,#faf6ecf2 0%,#faf6ece8 32%,#faf6ec38 72%,#faf6ec88 100%),url('/static/taoyuan-scene.jpg?v=taoyuan1') center bottom/cover}
.auth-story:after{display:none}.auth-story .brand,.story-copy h1{color:#344c3e}.auth-panel{background:#faf6ec}
.story-copy{margin:50px 0 auto}.story-copy h1{font-weight:500}.story-copy p{color:#4b5947}.story-footer{color:#3e503e;background:#faf6ecb8;width:max-content;max-width:100%;padding:8px 10px;border-radius:4px}
.story-avatars span{border-color:#f2eddc;background:#fffbf2}.mini-leaf{background:transparent}.mini-leaf img{border:1px solid #cebea0}
.attachment-menu,dialog{background:#fffbf2}.selected-file,.storage-usage{background:#f0eddf;border-color:#d4c5a9}.selected-file>span{background:#dee8d9;color:#486455}
@media(max-width:700px){.chat-title h2{font-size:17px}.auth-story{background:linear-gradient(90deg,#faf6ecf0,#faf6ecb0),url('/static/taoyuan-scene.jpg?v=taoyuan1') center/cover}.story-copy{margin:25px 0 3px}.chat-scroll{background-position:48% center}}

.chat-scroll .message-meta,.chat-scroll .message-meta time,.chat-scroll .date-divider,.chat-welcome small{color:#4c5345}
