@font-face{font-family:SenSource;src:url('./sen-source.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
html:root,html:root[data-theme]{color-scheme:light;--font-en:SenSource,serif;--font-cn:SenSource,'Songti SC',serif;--font-script:SenSource,serif;--bg:#f6efdf;--paper:#fffbf2;--ink:#393b2c;--text:#393b2c;--text-soft:#706f5c;--text-faint:#888575;--muted:#888575;--accent:#626644;--accent-deep:#4c5035;--line:#dcd2bb;--hairline:#dcd2bb;--header-bg:#f6efdf;--bubble-ai-bg:transparent;--bubble-ai-fg:#393b2c;--bubble-human-bg:#e3e4d1;--bubble-human-fg:#393b2c;--send-bg:#626644;--composer-bg:#f6efdf;--field-bg:#fffbf2;--field-line:#dcd2bb;--panel-bg:#f6efdf;--sheet-bg:#fffbf2;--sheet-line:#dcd2bb;--card-bg:#fffbf2;--card-line:#dcd2bb;--seg-track:#e7e4d4;--seg-thumb:#fffbf2;--row-press:#e6e3d0;--wall:none;--menu-wall-default:none;--scrim:transparent;--shadow:0 4px 16px #393b2c08;--soft-shadow:0 2px 8px #393b2c08;--mcp-bg:#f6efdf;--mcp-text:#393b2c;--mcp-muted:#706f5c;--mcp-faint:#888575;--mcp-accent:#626644;--mcp-line:#dcd2bb;--mcp-card:#fffbf2;--mcp-field:#fffbf2;--mcp-track:#e7e4d4;--mcp-wall:none;--mcp-shadow:none;--classic-nav:calc(68px + env(safe-area-inset-bottom));--classic-keyboard:0px;--composer-zone:calc(var(--composer-h,72px) + var(--classic-nav) + 28px + var(--keyboard-offset,0px))}
html body{background:#f6efdf;color:#393b2c;font-family:SenSource,'Songti SC',serif}
html:root,html:root[data-theme]{--ref-width:850px}
body button,body input,body textarea,body select,body h1,body h2,body h3,body .menu-title,body .menu-name,body .bubble,body .mcp-title h1,body .mcp-stats strong{font-family:SenSource,'Songti SC',serif}
body input,body textarea,body select{font-size:16px}
body .wall,body .mcp-wall{background:#f6efdf!important;background-image:none!important}
body .menu-page,body .profile-page,body .login{background-color:#f6efdf;background-image:none}
body .topbar{background:#f6efdf;border-bottom:1px solid #dcd2bb;box-shadow:none}
body .topbar{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;padding:calc(env(safe-area-inset-top) + 8px) 14px 8px;height:calc(68px + env(safe-area-inset-top))}
body .topbar .backbtn,body .topbar .header-actions{position:static;transform:none}
body .topbar .header-actions{gap:2px}
body .topbar .topbtn{width:32px;height:36px;flex:none}
body .topbar .peerpill{padding:0;min-width:0;align-items:flex-start}
body .peerpill .name{font-family:SenSource,serif;font-size:19px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .peerpill .status{font-size:10px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .row.ai .bubble{background:transparent;border:0;box-shadow:none;padding-left:0}
body .row.human .bubble{background:#e3e4d1;box-shadow:none;border:1px solid #d7dac2;border-radius:12px 3px 12px 12px}
body .bubble{line-height:1.85;overflow-wrap:anywhere}
body .row .bubble,body .row.enter-human .bubble,body .row.enter-ai .bubble{animation:none!important}
body .row.ai:before{box-shadow:none}
body .composer{bottom:var(--classic-nav);background:#f6efdf;border-top:1px solid #dcd2bb;padding:10px var(--side-pad,16px);transition:none;align-items:flex-end}
body .composer .field{min-width:0;border-radius:5px;box-shadow:none;align-items:flex-end;padding:7px 8px;gap:5px}
body .composer textarea{width:0;min-width:0;min-height:34px;max-height:110px;font-size:16px;line-height:1.65;padding:4px 0}
body .composer .floatbtn,body .composer .emojibtn{flex:0 0 34px;width:34px;height:34px;margin:0;transform:none;transition:none;animation:none}
body .composer .send{flex-basis:42px;width:42px;height:48px;border-radius:5px;box-shadow:none}
body .newmsg-pill{bottom:calc(var(--classic-nav) + var(--composer-h,72px) + 15px)}
body .emoji-picker{bottom:calc(100% + 8px);max-height:min(330px,45dvh);border-radius:7px;box-shadow:0 -4px 20px #393b2c12}
body .ep-emoji{font-family:'Apple Color Emoji','Segoe UI Emoji',sans-serif!important}
body .menu-panel,body .profile-panel{bottom:var(--classic-nav);height:auto;transform:none!important;transition:none!important}
body .menu-panel:not(.open),body .profile-panel:not(.open){pointer-events:none;visibility:hidden}
body .menu-panel.open,body .profile-panel.open{visibility:visible}
body .menu-head{margin-bottom:28px}
body .menu-title{font-size:38px;letter-spacing:6px;text-shadow:none;font-weight:400;line-height:1.5}
body .menu-hero{margin-bottom:30px;border-bottom:1px solid #dcd2bb;padding-bottom:22px}
body .menu-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body .menu-item{grid-template-columns:24px 1fr;gap:12px;background:#fffbf2;border:1px solid #dcd2bb;border-radius:4px;padding:18px 12px}
body .menu-dot,body .menu-chev{display:none}
body .menu-name{font-size:18px;letter-spacing:2px}
body .menu-sub{font-size:11px;margin-top:7px}
body .menu-foot{color:#896649;line-height:1.8}
body .classic-greeting{margin:20px 0 0;font-size:26px;line-height:1.8;letter-spacing:3px;position:relative;min-height:155px;padding-right:95px}
body .classic-greeting svg{position:absolute;right:0;bottom:0;width:115px;height:160px}
body .profile-scroll{padding-bottom:32px}
body .settings-card,body .mcp-card,body .mcp-dialog,body .sheet,body .session-pop{background:#fffbf2;border-color:#dcd2bb;border-radius:7px;box-shadow:none}
body .classic-bottom{position:fixed;z-index:140;bottom:0;left:0;right:0;height:var(--classic-nav);margin:0 auto;padding:7px 8px calc(7px + env(safe-area-inset-bottom));max-width:850px;display:flex;align-items:stretch;background:#f6efdf;border-top:1px solid #dcd2bb;transform:translateY(calc(-1 * var(--classic-keyboard)));transition:none}
body .classic-bottom a{display:flex;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:#888575;font-size:12px;line-height:1.5;white-space:nowrap;letter-spacing:2px}
body .classic-bottom svg{display:block;width:22px;height:22px;stroke:currentColor;stroke-width:1.35;fill:none;flex:none}
body .classic-bottom a:after{content:'';height:2px;width:14px;background:transparent;flex:none}
body .classic-bottom a[aria-current=page]{color:#626644}
body .classic-bottom a[aria-current=page]:after{background:#626644}
body.classic-subpage{padding-bottom:calc(var(--classic-nav) + 24px)}
body.classic-subpage main,body.classic-subpage .mcp-shell{padding-bottom:calc(var(--classic-nav) + 28px)}
body.classic-subpage h1{font-weight:400;letter-spacing:4px}
body.classic-subpage section,body.classic-subpage .profile{border-color:#dcd2bb;border-radius:7px;box-shadow:none}
body.classic-subpage .current{background:#e8e6d6}
body .classic-photo{flex:0 0 32px;width:32px;height:34px;background:transparent;color:#626644;border:0;padding:0;display:grid;place-items:center}
body .classic-photo svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
body .classic-bottom[hidden]{display:none}
body .modal,body .lightbox{z-index:350}
body .terminal-panel{bottom:var(--classic-nav)}
body .classic-appearance{font-size:13px;line-height:1.9;color:#896649;border-top:1px solid #dcd2bb;padding-top:12px}
@media(max-width:360px){body .composer{padding-left:10px;padding-right:10px;gap:6px}body .composer .field{gap:2px;padding-left:5px;padding-right:5px}body .composer .floatbtn,body .composer .emojibtn,body .classic-photo{flex-basis:30px;width:30px}body .composer .send{flex-basis:38px;width:38px}body .menu-scroll{padding-left:20px;padding-right:20px}}
@media(prefers-reduced-motion:reduce){body .classic-bottom *,body .menu-panel *,body .profile-panel *{animation:none!important;transition:none!important}}
