/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}#root{flex-direction:column;width:100%;height:100%;min-height:0;display:flex}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;margin:0;padding:0;background-color:#f7f7f7;display:flex;flex-direction:column;height:100vh;overflow:hidden;touch-action:pan-x pan-y}#app-container{height:100%;width:100%;display:flex;flex-direction:column}.header{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;padding-top:calc(10px + env(safe-area-inset-top));background-color:#ededed;color:#333;font-size:18px;font-weight:500;border-bottom:1px solid #dcdcdc;position:sticky;top:0;z-index:1000;width:100%;box-sizing:border-box;flex-shrink:0}#chat-page>.header{position:fixed;top:0;left:0;right:0;z-index:1100}#chat-page>.content{padding-top:64px}#chat-page #status-drawer{position:fixed;top:calc(44px + env(safe-area-inset-top));left:0;right:0;z-index:1099}.header-title{flex-grow:1;text-align:center}.header button{background:none;border:none;color:#333;font-size:22px;cursor:pointer;padding:0;line-height:1;min-width:40px;text-align:center}.header button svg{vertical-align:middle}.content{flex-grow:1;overflow-y:auto;position:relative;min-height:0;box-sizing:border-box}#chat-container{padding:10px 10px 150px;display:flex;flex-direction:column;gap:10px}.message{display:flex;flex-direction:row;margin-bottom:5px;gap:8px}.message.user{justify-content:flex-end}.message.assistant{justify-content:flex-start}.message.user{flex-direction:row-reverse}.bubble{max-width:100%;width:fit-content;padding:8px 12px 20px;border-radius:6px;line-height:1.4;word-wrap:break-word;position:relative}.message.user .bubble{background-color:var(--user-bubble-color, #95EC69);color:#000;border-top-right-radius:0}.message.assistant .bubble{background-color:var(--ai-bubble-color, #fff);color:#000;border-top-left-radius:0;border:1px solid var(--ai-bubble-border, #e5e5e5)}.message-content-wrapper{display:flex;flex-direction:column;max-width:75%;width:fit-content}.message.assistant .message-content-wrapper{align-items:flex-start}.message.user .message-content-wrapper{align-items:flex-end}.message-meta{position:absolute;bottom:3px;right:8px;font-size:11px;color:#667781;display:flex;align-items:center;gap:3px}.message.user .message-meta{color:#667781}.time-separator{display:flex;justify-content:center;align-items:center;margin:4px 0;pointer-events:none;-webkit-user-select:none;user-select:none}.time-separator span{font-size:12px;color:#b2b2b2;background:#0000000f;padding:3px 10px;border-radius:10px;line-height:1.6}.checkmark{display:inline-block;font-size:14px;color:#667781}.checkmark.double{color:#53bdeb}.sch-mode-row{display:flex;gap:8px;margin-bottom:12px}.sch-mode-btn{flex:1;padding:7px 0;border:1px solid #e0e0e0;background:#f7f7f7;border-radius:6px;font-size:13px;cursor:pointer;color:#555}.sch-mode-btn.active{background:#07c160;color:#fff;border-color:#07c160}.sch-day-label{font-size:12px;color:#888;font-weight:500;margin:10px 0 4px}.sch-timeline-wrap{position:relative;height:54px;margin:0 0 4px}.sch-timeline-bar{position:absolute;top:0;left:0;right:0;bottom:14px;border-radius:6px;overflow:hidden;background:#eee}.sch-seg{position:absolute;top:0;height:100%;display:flex;align-items:center;justify-content:center;font-size:10px;color:#0000008c;overflow:hidden;white-space:nowrap;-webkit-user-select:none;user-select:none;box-sizing:border-box}.sch-handle-layer{position:absolute;top:0;left:0;right:0;bottom:14px;overflow:visible;pointer-events:none}.sch-handle-wrap{position:absolute;top:0;height:100%;width:20px;transform:translate(-50%);cursor:ew-resize;display:flex;align-items:center;justify-content:center;pointer-events:all;touch-action:none;z-index:10}.sch-handle-line{width:3px;height:76%;background:#ffffffeb;border-radius:2px;box-shadow:0 0 4px #00000040;pointer-events:none}.sch-handle--dragging .sch-handle-line{background:#fff;box-shadow:0 0 7px #0006}.sch-axis{position:absolute;bottom:0;left:0;right:0;height:14px}.sch-axis-tick{position:absolute;transform:translate(-50%);font-size:10px;color:#bbb}.sch-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}.sch-block-row{display:flex;align-items:center;gap:6px}.sch-color-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.sch-time-label{font-size:12px;color:#666;white-space:nowrap;min-width:90px;flex-shrink:0}.sch-act-input{flex:1;border:none;border-bottom:1px solid #e0e0e0;padding:2px 4px;font-size:13px;background:transparent;outline:none;min-width:0}.sch-split-btn,.sch-del-btn{border:none;background:none;font-size:17px;cursor:pointer;padding:0 3px;flex-shrink:0;line-height:1}.sch-split-btn{color:#07c160}.sch-del-btn{color:#fa5151}.sch-del-btn:disabled{opacity:.25;cursor:default}.send-failed-icon{color:#fa3434;cursor:pointer;font-weight:700;font-size:16px;align-self:center;flex-shrink:0;width:20px;text-align:center}.typing-indicator{color:#333;font-size:18px}.page{display:none;height:100vh;flex-direction:column}.page.active{display:flex;height:100vh}.chat-input-area{position:fixed;bottom:0;left:0;right:0;z-index:2001;background-color:#f7f7f7;padding:5px 6px;display:flex;flex-wrap:wrap;align-items:center;gap:3px;border-top:1px solid #dcdcdc;box-shadow:0 -1px 3px #0000000d;flex-shrink:0}.chat-input-area .quote-reference{width:100%;order:999;margin:6px 0 0}.input-tool-btn{background:none;border:none;padding:4px;cursor:pointer;color:#666;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s;flex-shrink:0;width:32px;height:32px}.input-tool-btn svg{width:20px;height:20px}.input-tool-btn:hover{background-color:#e0e0e0}.input-tool-btn:active{background-color:#d0d0d0}#user-input{flex:1 1 auto;min-width:80px;padding:6px 8px;border:1px solid #ccc;border-radius:5px;font-size:15px;resize:none;max-height:80px;overflow-y:auto;background-color:#fff;line-height:1.4}#settings-page{padding:20px}.form-group{margin-bottom:15px}.form-group label{display:block;margin-bottom:5px;font-weight:500;color:#555}.form-group input,.form-group textarea{width:100%;padding:10px;border:1px solid #ccc;border-radius:5px;box-sizing:border-box;font-size:14px}#save-settings-btn{width:100%;background-color:#1aad19;color:#fff;border:none;padding:12px;border-radius:5px;cursor:pointer;font-size:16px;margin-top:20px}.content.home-page{overflow:hidden;display:flex;flex-direction:column}.home-page .wallpaper{background:linear-gradient(180deg,#cce8d7,#67c77f);flex:1;min-height:0;display:flex;flex-direction:column;align-items:stretch;padding-top:40px;box-sizing:border-box;overflow:hidden}.desktop{width:100%;max-width:420px;display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:120px;gap:18px;padding:20px;box-sizing:border-box;justify-items:center;align-content:start}.desktop-slot{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.app-icon{width:64px;height:64px;background:#ffffff1f;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;cursor:pointer;box-shadow:0 4px 10px #00000026;-webkit-user-select:none;user-select:none}.app-label{margin-top:6px;font-size:12px;color:#fffffff2;text-align:center;width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dock{position:fixed;left:0;right:0;bottom:calc(50px + env(safe-area-inset-bottom));display:flex;justify-content:center;pointer-events:none}.dock-inner{background:#ffffff1f;padding:8px 18px;border-radius:16px;display:flex;gap:18px;box-shadow:0 6px 18px #00000026;pointer-events:auto}.dock-item{width:56px;height:56px;border-radius:12px;background:#ffffff24;display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;cursor:pointer}.dock-item{will-change:auto}.dock-item.dragging,.app-icon.dragging{opacity:.5}.page{display:none;height:100%;width:100%}.page.active{display:flex;flex-direction:column}.message-avatar{width:40px;height:40px;border-radius:6px;object-fit:cover;flex-shrink:0}.message.user,.message.assistant{flex-direction:row}.message.user .message-avatar{order:2;margin-left:8px}.message.assistant .message-avatar{order:0;margin-right:8px}.message.user .bubble,.message.assistant .bubble{order:1}.default-avatar{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;color:#fff;border-radius:6px}.default-avatar.ai{background:linear-gradient(135deg,#667eea,#764ba2)}.default-avatar.user{background:linear-gradient(135deg,#07c160,#06ae56)}.avatar-preview-container{display:flex;align-items:center;gap:12px;margin-top:8px}.avatar-preview{width:80px;height:80px;border-radius:8px;object-fit:cover;border:1px solid #e7e7e7;flex-shrink:0}.avatar-preview.small{width:60px;height:60px}.avatar-upload-btn{padding:8px 16px;background:#07c160;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px}.avatar-upload-btn:active{opacity:.8}.avatar-remove-btn{padding:8px 16px;background:#f44336;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px}.avatar-remove-btn:active{opacity:.8}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:50px;background-color:#f7f7f7;border-top:1px solid #d9d9d9;display:flex;justify-content:space-around;align-items:center;z-index:1000}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;color:#999;font-size:11px;gap:2px;padding:4px 0;transition:color .2s;-webkit-user-select:none;user-select:none}.nav-item svg{width:24px;height:24px;stroke:currentColor}.nav-item.active{color:#07c160}.nav-item.active svg{stroke:#07c160}.page-with-nav .content{padding-bottom:50px}.message-notification{position:fixed;top:0;left:0;right:0;background:#000000d9;padding:12px 16px;display:none;align-items:center;gap:12px;z-index:10000;animation:slideDown .3s ease-out;cursor:pointer;-webkit-user-select:none;user-select:none}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes slideDown{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slideUp{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}.message-notification.show{display:flex}.message-notification.hiding{animation:slideUp .3s ease-out}.message-notification-avatar{width:40px;height:40px;border-radius:6px;flex-shrink:0;object-fit:cover}.message-notification-content{flex:1;min-width:0}.message-notification-name{font-size:14px;font-weight:500;color:#fff;margin-bottom:2px}.message-notification-text{font-size:13px;color:#fffc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-notification-close{width:20px;height:20px;color:#fff9;flex-shrink:0;font-size:20px;line-height:1}.config-reminder-dialog{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:none;align-items:center;justify-content:center;z-index:10001}.config-reminder-dialog.show{display:flex}.config-reminder-content{background:#fff;border-radius:12px;width:85%;max-width:360px;padding:24px;text-align:center}.config-reminder-icon{font-size:48px;margin-bottom:16px}.config-reminder-title{font-size:18px;font-weight:600;color:#333;margin-bottom:12px}.config-reminder-message{font-size:14px;color:#666;line-height:1.6;margin-bottom:20px}.config-reminder-buttons{display:flex;gap:12px}.config-reminder-btn{flex:1;padding:12px;border:none;border-radius:6px;font-size:15px;cursor:pointer;transition:opacity .2s}.config-reminder-btn:active{opacity:.7}.config-reminder-btn.secondary{background:#f0f0f0;color:#333}.config-reminder-btn.primary{background:#07c160;color:#fff}.character-list-item{display:flex;align-items:center;padding:12px 16px;border-bottom:1px solid #e7e7e7;cursor:pointer;background:#fff}.character-list-item:active{background-color:#ececec}.character-list-avatar{width:48px;height:48px;border-radius:6px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff;margin-right:12px;flex-shrink:0}.character-list-info{flex:1;min-width:0}.character-list-name{font-size:16px;font-weight:500;color:#000;margin-bottom:4px}.character-list-preview{font-size:14px;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.character-add-menu{position:fixed;top:50px;right:10px;background:#fff;border-radius:6px;box-shadow:0 2px 10px #0003;z-index:9999;min-width:140px;display:none}.character-add-menu.active{display:block}.character-add-menu-item{padding:14px 20px;border-bottom:1px solid #e7e7e7;cursor:pointer;font-size:15px;color:#000;display:flex;align-items:center;gap:12px}.character-add-menu-item:last-child{border-bottom:none}.character-add-menu-item:active{background-color:#ececec}.character-new-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:#0009;z-index:10000;align-items:center;justify-content:center}.character-new-modal.active{display:flex}.character-new-modal-content{background:#fff;border-radius:12px;width:85%;max-width:400px;max-height:88vh;display:flex;flex-direction:column;overflow:hidden}.character-new-modal-header{padding:16px 20px;border-bottom:1px solid #e7e7e7;font-size:17px;font-weight:500;text-align:center;flex-shrink:0}.character-new-modal-body{padding:20px;overflow-y:auto;flex:1;min-height:0}.character-new-modal-footer{padding:12px 20px;border-top:1px solid #e7e7e7;display:flex;gap:12px;flex-shrink:0}.character-new-modal-btn{flex:1;padding:12px;border:none;border-radius:6px;font-size:16px;cursor:pointer}.character-new-modal-btn.cancel{background:#f0f0f0;color:#333}.character-new-modal-btn.confirm{background:#07c160;color:#fff}.character-empty-list{text-align:center;padding:80px 20px;color:#999}#create-character-page.active{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9998;background:#f7f7f7;flex-direction:column}#create-character-page .cc-ai-btn{background:linear-gradient(135deg,#7c3aed,#4f46e5);color:#fff;border:none;border-radius:16px;padding:5px 12px;font-size:13px;font-weight:600;cursor:pointer}.cc-scroll{flex:1;overflow-y:auto;padding:12px 0 20px}.cc-section{background:#fff;margin:0 0 10px;padding:16px}.cc-section-title{font-size:15px;font-weight:600;color:#111;margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;justify-content:space-between}.cc-field-ai-btn{border:1px solid #07c160;background:none;color:#07c160;font-size:11px;cursor:pointer;padding:2px 8px;border-radius:10px;white-space:nowrap;flex-shrink:0;line-height:1.6;transition:background .15s,color .15s}.cc-field-ai-btn:hover{background:#07c160;color:#fff}.cc-field-ai-btn:disabled{border-color:#ccc;color:#ccc;cursor:not-allowed;background:none}.cc-field{margin-bottom:14px}.cc-field:last-child{margin-bottom:0}.cc-label{display:block;font-size:13px;color:#555;margin-bottom:6px;font-weight:500}.cc-required{color:#ff4d4f}.cc-input,.cc-select{width:100%;padding:10px 12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;box-sizing:border-box;background:#fafafa;color:#222}.cc-input:focus,.cc-textarea:focus,.cc-select:focus{outline:none;border-color:#07c160;background:#fff}.cc-textarea{width:100%;padding:10px 12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;box-sizing:border-box;resize:vertical;background:#fafafa;color:#222;line-height:1.5}.cc-hint{font-size:11px;color:#aaa;margin-top:4px}.cc-radio-group{display:flex;flex-wrap:wrap;gap:8px}.cc-radio{display:flex;align-items:center;gap:5px;font-size:13px;color:#444;cursor:pointer;padding:6px 12px;border:1px solid #e0e0e0;border-radius:20px;transition:border-color .15s,background .15s}.cc-radio input[type=radio]{display:none}.cc-radio.selected{border-color:#07c160;background:#f0faf4;color:#07c160;font-weight:500}.cc-tag-group{display:flex;flex-wrap:wrap;gap:8px}.cc-tag{padding:5px 12px;border:1px solid #e0e0e0;border-radius:16px;font-size:13px;color:#555;cursor:pointer;-webkit-user-select:none;user-select:none;transition:border-color .15s,background .15s}.cc-tag.selected{border-color:#07c160;background:#f0faf4;color:#07c160;font-weight:500}.cc-checks-row{display:flex;flex-wrap:wrap;gap:12px}.cc-check{display:flex;align-items:center;gap:6px;font-size:13px;color:#555;cursor:pointer}.cc-avatar-row{display:flex;align-items:center;gap:16px}.cc-avatar-preview{width:64px;height:64px;border-radius:50%;overflow:hidden;flex-shrink:0;border:2px solid #e0e0e0;display:flex;align-items:center;justify-content:center;background:#f5f5f5}.cc-avatar-preview img{width:100%;height:100%;object-fit:cover}.cc-upload-btn{padding:7px 14px;border:1px solid #e0e0e0;border-radius:8px;background:#fafafa;font-size:13px;cursor:pointer;color:#333}.cc-tag-input-field{border:1px solid #07c160;border-radius:16px;padding:5px 11px;font-size:13px;outline:none;width:90px;vertical-align:middle}.cc-add-btn{display:inline-block;padding:7px 14px;border:1px dashed #07c160;border-radius:8px;background:none;color:#07c160;font-size:13px;cursor:pointer;margin-top:8px}.cc-footer{position:sticky;bottom:0;left:0;right:0;padding:12px 16px;background:#fff;border-top:1px solid #e7e7e7;z-index:10}.cc-create-btn{width:100%;padding:14px;background:#07c160;color:#fff;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer}.cc-create-btn:active{opacity:.85}.cc-fm-item{display:flex;gap:8px;margin-bottom:8px;align-items:flex-start}.cc-fm-item textarea{flex:1;padding:8px 10px;border:1px solid #e0e0e0;border-radius:8px;font-size:13px;resize:vertical;min-height:60px;box-sizing:border-box;line-height:1.5}.cc-fm-item textarea:focus{outline:none;border-color:#07c160}.cc-fm-del{width:28px;height:28px;border:none;background:#fee;color:#e55;border-radius:6px;font-size:16px;cursor:pointer;flex-shrink:0;margin-top:2px}.cc-dlg-item{border:1px solid #eee;border-radius:8px;padding:10px;margin-bottom:10px;position:relative}.cc-dlg-item label{font-size:11px;color:#999;margin-bottom:3px;display:block}.cc-dlg-item textarea{width:100%;padding:6px 8px;border:1px solid #e8e8e8;border-radius:6px;font-size:13px;resize:vertical;min-height:40px;box-sizing:border-box;margin-bottom:6px}.cc-dlg-del{position:absolute;top:8px;right:8px;border:none;background:none;color:#ccc;font-size:18px;cursor:pointer;line-height:1}.cc-wb-item{border:1px solid #eee;border-radius:8px;padding:10px;margin-bottom:10px;position:relative}.cc-wb-item input,.cc-wb-item textarea{width:100%;padding:6px 8px;border:1px solid #e8e8e8;border-radius:6px;font-size:13px;box-sizing:border-box;margin-bottom:6px}.cc-wb-item textarea{resize:vertical;min-height:60px}.cc-wb-item label{font-size:11px;color:#999;display:block;margin-bottom:2px}.cc-wb-del{position:absolute;top:8px;right:8px;border:none;background:none;color:#ccc;font-size:18px;cursor:pointer}.cc-collapsible-section .cc-section-title{cursor:pointer;display:flex;align-items:center;justify-content:space-between;margin-bottom:0;border-bottom:none}.cc-collapsible-section .cc-section-title.open{border-bottom:1px solid #f0f0f0;margin-bottom:14px}.cc-collapse-arrow{font-size:11px;color:#bbb;transition:transform .2s}.cc-collapse-arrow.open{transform:rotate(90deg)}.cc-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;z-index:20000;display:flex;align-items:flex-end}.cc-modal-box{background:#fff;border-radius:16px 16px 0 0;width:100%;max-height:88vh;display:flex;flex-direction:column;overflow:hidden}.cc-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #eee;font-size:16px;font-weight:600;flex-shrink:0}.cc-modal-header button{background:none;border:none;font-size:22px;color:#999;cursor:pointer}.cc-modal-body{padding:16px 20px;overflow-y:auto;flex:1}.cc-modal-footer{padding:12px 20px;border-top:1px solid #eee;display:flex;gap:10px;flex-shrink:0}.cc-modal-btn-cancel,.cc-modal-btn-confirm{flex:1;padding:12px;border:none;border-radius:8px;font-size:15px;cursor:pointer}.cc-modal-btn-cancel{background:#f0f0f0;color:#333}.cc-modal-btn-confirm{background:linear-gradient(135deg,#7c3aed,#4f46e5);color:#fff;font-weight:600}.cc-modal-btn-confirm:disabled{opacity:.5;cursor:default}.bubble-menu{position:fixed;background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;padding:10px;z-index:10000;display:none;grid-template-columns:repeat(3,1fr);gap:8px;min-width:270px;max-width:90vw}.bubble-menu.active{display:grid}.bubble-menu-item{padding:12px 8px;cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:13px;color:#333;transition:background .2s;border-radius:8px;background:#f7f7f7;text-align:center;min-width:0}.bubble-menu-item:hover{background:#e8e8e8}.bubble-menu-item:active{background:#d8d8d8}.bubble-menu-item.danger{color:#ff3b30}.bubble.short-message{padding-right:52px}.menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0000004d;z-index:9999;display:none}.menu-overlay.active{display:block}.bubble.menu-active{background:#0000000d}.multi-select-mode-active #chat-container{padding-left:0;padding-bottom:80px}.multi-select-mode-active .message{margin-left:55px}.multi-select-mode-active .chat-input-area{display:none!important}.message{position:relative}.multi-select-mode-active .message{margin-left:40px}.multi-select-checkbox{position:absolute;left:-32px;top:50%;transform:translateY(-50%);width:22px;height:22px;border:1.5px solid #c8c8c8;border-radius:50%;background:#fff;cursor:pointer;display:none;align-items:center;justify-content:center;z-index:10;transition:all .15s}.multi-select-mode-active .multi-select-checkbox{display:flex!important}.multi-select-checkbox.checked{background:#07c160;border-color:#07c160}.multi-select-checkbox.checked:after{content:"";width:4px;height:8px;border:solid white;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-bottom:2px}.multi-select-header{position:fixed;top:0;left:0;right:0;height:44px;background:#ededed;border-bottom:.5px solid #d9d9d9;display:none;align-items:center;justify-content:space-between;padding:0 16px;z-index:2001}.multi-select-header.active{display:flex}.multi-select-header-left{display:flex;align-items:center;gap:20px}.multi-select-cancel-btn{font-size:17px;color:#576b95;background:none;border:none;cursor:pointer;padding:0}.multi-select-cancel-btn:active{opacity:.6}.multi-select-count{font-size:17px;color:#000}.multi-select-select-all-btn{font-size:17px;color:#576b95;background:none;border:none;cursor:pointer;padding:0}.multi-select-select-all-btn:active{opacity:.6}.multi-select-search{position:fixed;top:44px;left:0;right:0;background:#ededed;padding:8px 12px;z-index:2000;display:none}.multi-select-search.active{display:block}.multi-select-search-input{width:100%;padding:8px 12px;border:none;border-radius:8px;background:#fff;font-size:15px;box-sizing:border-box;outline:none}.multi-select-btn-container{position:fixed;top:104px;left:16px;z-index:2000;display:none}.multi-select-btn-container.active{display:block}.multi-select-select-btn{background:#fff;border:1px solid #d9d9d9;border-radius:6px;padding:6px 12px;font-size:14px;color:#576b95;cursor:pointer;display:flex;align-items:center;gap:4px;box-shadow:0 2px 8px #0000001a}.multi-select-select-btn:active{background:#f0f0f0}.multi-select-mode-active #chat-page .content{padding-top:104px}.multi-select-toolbar{position:fixed;bottom:0;left:0;right:0;height:60px;background:#f7f7f7;border-top:.5px solid #d9d9d9;display:none;flex-direction:row;justify-content:space-around;align-items:center;z-index:2000;padding:0 20px}.multi-select-toolbar.active{display:flex}.multi-select-toolbar-btn{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;font-size:26px;color:#000;transition:opacity .2s;gap:2px}.multi-select-toolbar-btn:active{opacity:.5}.multi-select-toolbar-btn.disabled{opacity:.3;pointer-events:none}.multi-select-toolbar-icon{display:flex;align-items:center;justify-content:center;margin-bottom:2px}.multi-select-toolbar-text{font-size:10px;color:#000;line-height:1}.favorite-item{background:#fff;margin-bottom:10px;padding:12px 16px;border-radius:6px;box-shadow:0 1px 3px #0000001a}.favorite-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.favorite-sender{font-size:14px;font-weight:500;color:#333}.favorite-time{font-size:12px;color:#999}.favorite-content{font-size:15px;color:#333;line-height:1.5;word-wrap:break-word}.favorite-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #f0f0f0}.favorite-action-btn{font-size:13px;color:#576b95;background:none;border:none;cursor:pointer;padding:4px 8px}.favorite-action-btn:hover{opacity:.7}.favorite-action-btn.delete{color:#ff3b30}.forward-character-item{background:#fff;display:flex;align-items:center;padding:12px 16px;border-bottom:1px solid #EDEDED;cursor:pointer;transition:background .2s}.forward-character-item:hover{background:#f5f5f5}.forward-character-item:active{background:#e8e8e8}.forward-character-avatar{width:48px;height:48px;border-radius:6px;margin-right:12px;flex-shrink:0}.forward-character-info{flex:1;min-width:0}.forward-character-name{font-size:16px;font-weight:500;color:#333;margin-bottom:4px}.forward-character-desc{font-size:13px;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-generate-dialog{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10004}.batch-generate-content{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #0000004d}.batch-generate-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e0e0e0}.batch-generate-header h3{margin:0;font-size:18px;color:#333}.batch-generate-close{background:none;border:none;font-size:28px;color:#999;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px}.batch-generate-close:hover{background:#f0f0f0;color:#333}.batch-generate-body{flex:1;overflow-y:auto;padding:20px}.batch-generate-footer{display:flex;gap:12px;padding:16px 20px;border-top:1px solid #e0e0e0;justify-content:flex-end}input[type=radio]:checked+div{color:#4caf50}label:has(input[type=radio]:checked){border-color:#4caf50!important;background-color:#f1f8f4}#import-mode-dialog button:not(.batch-generate-close):hover,#batch-mode-dialog button:not(.batch-generate-close):hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}#import-mode-dialog button:not(.batch-generate-close):active,#batch-mode-dialog button:not(.batch-generate-close):active{transform:translateY(0)}.import-memory-dialog{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10005}.import-memory-content{background:#fff;border-radius:12px;width:90%;max-width:550px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #0000004d}.import-memory-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e0e0e0}.import-memory-header h3{margin:0;font-size:18px;color:#333}.import-memory-close{background:none;border:none;font-size:28px;color:#999;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px}.import-memory-close:hover{background:#f0f0f0;color:#333}.import-memory-body{flex:1;overflow-y:auto;padding:20px}.import-memory-footer{display:flex;gap:12px;padding:16px 20px;border-top:1px solid #e0e0e0;justify-content:flex-end}.memory-edit-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10003}.memory-edit-content{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #0000004d}.memory-edit-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e0e0e0}.memory-edit-header h3{margin:0;font-size:18px;color:#333}.memory-edit-close{background:none;border:none;font-size:28px;color:#999;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px}.memory-edit-close:hover{background:#f0f0f0;color:#333}.memory-edit-body{flex:1;overflow-y:auto;padding:20px}.memory-section{margin-bottom:24px}.memory-section h4{margin:0 0 12px;font-size:16px;color:#555;border-bottom:2px solid #e0e0e0;padding-bottom:6px}.memory-section textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;font-size:14px;resize:vertical;box-sizing:border-box;font-family:inherit}.basic-info-item{display:flex;align-items:center;margin-bottom:8px;gap:8px}.basic-info-item label{min-width:80px;font-size:14px;color:#666}.basic-info-item input{flex:1;padding:8px;border:1px solid #ddd;border-radius:4px;font-size:14px}.event-item{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;padding:12px;margin-bottom:12px}.event-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.event-item-date{font-size:12px;color:#999}.event-item-importance{display:flex;align-items:center;gap:5px}.event-item-importance label{font-size:12px;color:#666}.event-item-importance input{width:60px;padding:4px;border:1px solid #ddd;border-radius:4px}.event-item-delete{background:#f44;color:#fff;border:none;padding:4px 8px;border-radius:4px;cursor:pointer;font-size:12px}.event-item textarea{width:100%;padding:8px;border:1px solid #ddd;border-radius:4px;font-size:14px;resize:vertical;box-sizing:border-box;font-family:inherit}.memory-edit-footer{display:flex;gap:12px;padding:16px 20px;border-top:1px solid #e0e0e0;justify-content:flex-end}.confirm-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:12px;padding:0;max-width:280px;width:85%;box-shadow:0 4px 20px #00000026;z-index:10002;display:none;overflow:hidden}.confirm-dialog.active{display:block}.confirm-dialog-title{font-size:17px;font-weight:500;padding:20px 20px 0;color:#000;text-align:center}.confirm-dialog-message{font-size:14px;color:#666;padding:12px 20px 20px;line-height:1.6;text-align:center}.confirm-dialog-buttons{display:flex;flex-direction:column;border-top:.5px solid #e0e0e0}.confirm-dialog-button{width:100%;padding:14px 16px;border:none;border-bottom:.5px solid #e0e0e0;background:#fff;font-size:16px;cursor:pointer;transition:background .2s;text-align:center}.confirm-dialog-button:last-child{border-bottom:none}.confirm-dialog-button:active{background:#f5f5f5}.confirm-dialog-button.primary{color:#576b95;font-weight:500}.confirm-dialog-button.secondary{color:#576b95}.confirm-dialog-button.cancel{color:#000}.bubble.editing{background:#fff3cd!important;border:2px solid #ffc107!important;position:relative}.edit-textarea{width:100%;min-height:60px;padding:8px;border:1px solid #ccc;border-radius:4px;font-size:15px;font-family:inherit;line-height:1.4;resize:vertical;box-sizing:border-box;margin-bottom:8px}.edit-buttons{display:flex;gap:8px;justify-content:flex-end}.edit-btn{padding:8px 16px;border:none;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.edit-btn.save{background:#1aad19;color:#fff}.edit-btn.save:hover{background:#178f15}.edit-btn.cancel{background:#f0f0f0;color:#333}.edit-btn.cancel:hover{background:#e0e0e0}.quote-reference{background:#e0e0e0;padding:8px 12px;border-radius:4px;font-size:12px;color:#666;display:flex;align-items:center;gap:8px;margin-top:8px}.quote-reference .quote-content{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}.quote-reference .quote-close{flex-shrink:0;cursor:pointer;font-size:20px;color:#666;line-height:1;padding:0 4px;font-weight:700}.quote-reference .quote-close:hover{color:#333}.quoted-message{background:#0000000d;padding:6px 8px;margin-top:8px;margin-bottom:0;border-radius:4px;font-size:11px;color:#999;line-height:1.3;width:fit-content;max-width:100%;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;order:10}.quoted-message .quote-sender{font-weight:400;color:#999;margin-right:0}.message.user .quoted-message,.message.assistant .quoted-message{background:#0000000d}.login-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:10000;justify-content:center;align-items:center}.login-modal.active{display:flex}.login-box{background:#fff;border-radius:20px;width:90%;max-width:360px;max-height:calc(100vh - 40px);overflow-y:auto;padding:32px 28px 28px;box-shadow:0 20px 60px #0003;animation:loginBoxIn .25s cubic-bezier(.34,1.56,.64,1)}@keyframes loginBoxIn{0%{opacity:0;transform:scale(.92) translateY(12px)}to{opacity:1;transform:scale(1) translateY(0)}}.login-logo{display:flex;align-items:center;justify-content:center;margin-bottom:24px}.login-logo-img{display:block;max-width:180px;max-height:72px;object-fit:contain}.login-tabs{display:flex;position:relative;background:#f2f2f2;border-radius:10px;padding:3px;margin-bottom:20px}.login-tab{flex:1;padding:8px;border:none;background:none;border-radius:8px;font-size:14px;font-weight:600;color:#888;cursor:pointer;position:relative;z-index:1;transition:color .2s}.login-tab.active{color:#111}.login-tab-indicator{position:absolute;top:3px;bottom:3px;left:3px;width:calc(50% - 3px);background:#fff;border-radius:7px;box-shadow:0 1px 4px #0000001f;transition:transform .22s cubic-bezier(.4,0,.2,1)}.login-tab-indicator.right{transform:translate(100%)}.login-box input{width:100%;padding:11px 14px;margin-bottom:12px;border:1.5px solid #e8e8e8;border-radius:10px;font-size:15px;box-sizing:border-box;outline:none;transition:border-color .15s;color:#111}.login-box input:focus{border-color:#07c160}.login-btn{width:100%;padding:13px;background:#07c160;color:#fff;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;margin-top:4px;transition:background .15s,transform .1s}.login-btn:hover{background:#06ad56}.login-btn:active{transform:scale(.98)}.login-field-hint{font-size:12px;margin:-8px 0 10px 2px;min-height:16px;transition:color .2s}.login-field-hint.ok{color:#07c160}.login-field-hint.err{color:#ff4d4f}.login-strength-wrap{display:flex;align-items:center;gap:8px;margin:-6px 0 12px}.login-strength-bar{flex:1;height:4px;background:#eee;border-radius:4px;overflow:hidden}.login-strength-fill{height:100%;border-radius:4px;width:0;transition:width .3s,background .3s}.login-strength-label{font-size:11px;color:#aaa;width:32px;flex-shrink:0}.login-error{color:#ff4d4f;font-size:13px;min-height:18px;font-weight:500;margin-bottom:10px;text-align:center;display:none}.login-error.show{display:block}.loading-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:9999;justify-content:center;align-items:center}.loading-overlay.active{display:flex}.loading-spinner{color:#fff;font-size:20px}.toggle-switch{position:relative;display:inline-block;width:48px;height:26px;flex-shrink:0}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;right:0;bottom:0;left:0;background-color:#ccc;border-radius:26px;transition:background-color .3s}.toggle-slider:before{content:"";position:absolute;height:20px;width:20px;left:3px;bottom:3px;background-color:#fff;border-radius:50%;transition:transform .3s}.toggle-switch input:checked+.toggle-slider{background-color:#4caf50}.toggle-switch input:checked+.toggle-slider:before{transform:translate(22px)}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:9999;align-items:center;justify-content:center}.modal-content{background:#fff;border-radius:16px;max-width:360px;width:92%;max-height:80vh;overflow-y:auto;padding:24px;box-sizing:border-box}.character-info-avatar-section{text-align:center;margin-bottom:20px}.character-info-avatar{width:80px;height:80px;border-radius:50%;object-fit:cover}.character-info-default-avatar{width:80px;height:80px;border-radius:50%;background:#07c160;color:#fff;font-size:32px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto}.character-info-name{font-size:18px;font-weight:600;color:#333;margin-top:10px}.character-info-id{font-size:12px;color:#aaa;margin-top:4px}.character-info-details{background:#f9f9f9;border-radius:8px;padding:12px;margin-bottom:20px}.character-info-row{display:flex;flex-direction:column;gap:4px}.character-info-label{font-size:12px;color:#888}.character-info-value{font-size:14px;color:#333;line-height:1.5}.character-info-actions{display:flex;gap:10px}.add-friend-user-info{display:flex;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #f0f0f0}.add-friend-avatar-small{width:48px;height:48px;border-radius:50%;object-fit:cover}.add-friend-default-avatar-small{width:48px;height:48px;border-radius:50%;background:#07c160;color:#fff;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center}.add-friend-user-name{font-size:16px;font-weight:600;color:#333}.add-friend-form{margin-bottom:16px}.add-friend-form-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0f0f0;position:relative}.add-friend-form-label{font-size:14px;color:#666;min-width:60px}.add-friend-form-input{flex:1;border:none;outline:none;font-size:14px;color:#333;text-align:right;background:transparent}.add-friend-form-select{flex:1;border:none;outline:none;font-size:14px;color:#333;text-align:right;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.add-friend-select-arrow{color:#ccc;font-size:18px}.add-friend-moments{background:#f9f9f9;border-radius:8px;padding:12px;margin-bottom:20px}.add-friend-moments-title{font-size:13px;color:#888;margin-bottom:8px}.add-friend-checkbox-row{display:flex;align-items:center;gap:8px;font-size:14px;color:#333;margin-bottom:6px}.add-friend-coming-soon{font-size:12px;color:#aaa;margin-top:6px}.add-friend-actions{display:flex;gap:10px}.modal-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:9999;align-items:center;justify-content:center}.modal-overlay.active{display:flex}.modal-box{background:#fff;border-radius:16px;padding:28px 24px;max-width:320px;width:90%;text-align:center}.modal-box h3{margin:0 0 12px;font-size:18px;color:#333}.modal-box p{margin:0 0 20px;font-size:14px;color:#666;line-height:1.6}.btn-primary{width:100%;padding:12px;background:#4caf50;color:#fff;border:none;border-radius:8px;font-size:15px;cursor:pointer}.btn-secondary{padding:12px;background:#f5f5f5;color:#555;border:1px solid #e0e0e0;border-radius:8px;font-size:15px;cursor:pointer}.sys-logout-btn{display:block;width:100%;padding:14px;background:#fff;color:#ff4d4f;border:none;border-radius:14px;font-size:16px;font-weight:500;cursor:pointer;margin-bottom:12px;box-shadow:0 1px 4px #0000000f}.sys-logout-btn:active{opacity:.8}.sys-settings-content{padding:14px 14px 32px;background:#f0f0f0;overflow-y:auto}.sys-card{background:#fff;border-radius:14px;padding:18px;margin-bottom:12px;box-shadow:0 1px 4px #0000000f}.sys-account-row{display:flex;align-items:center;gap:14px}.sys-avatar{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#07c160,#06ae56);display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff;font-weight:700;overflow:hidden;flex-shrink:0}.sys-account-info{flex:1;min-width:0}.sys-account-name{font-size:16px;font-weight:600;color:#111;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sys-account-badge{display:inline-block;margin-top:5px;padding:2px 10px;border-radius:12px;font-size:12px;font-weight:500}.sys-account-badge.free{background:#e8f5e9;color:#2e7d32}.sys-account-badge.paid{background:#fff8e1;color:#e65100}.sys-account-badge.privacy{background:#e3f2fd;color:#1565c0}.sys-btn-recharge{background:linear-gradient(135deg,#07c160,#06ae56);color:#fff;border:none;border-radius:20px;padding:8px 18px;font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap;flex-shrink:0}.sys-checkin-card{background:linear-gradient(135deg,#7c3aed,#5b21b6);cursor:pointer;overflow:hidden;position:relative;-webkit-user-select:none;user-select:none}.sys-checkin-card:active{opacity:.92}.sys-checkin-inner{display:flex;align-items:center;gap:14px}.sys-checkin-text{flex:1;color:#fff}.sys-checkin-title{font-size:16px;font-weight:700}.sys-checkin-sub{font-size:12px;opacity:.8;margin-top:3px}.sys-checkin-badge{background:#ffffff38;color:#fff;border:1.5px solid rgba(255,255,255,.5);border-radius:20px;padding:6px 18px;font-size:14px;font-weight:600;white-space:nowrap;flex-shrink:0}.sys-checkin-badge.done{background:#ffffff1a;border-color:#ffffff4d;color:#ffffffa6}.ck-reward-badge{text-align:center;font-size:36px;font-weight:800;color:#7c3aed;letter-spacing:-1px;margin-bottom:8px}.ck-done-icon{text-align:center;font-size:36px;font-weight:800;color:#aaa;margin-bottom:8px}.ck-title{font-size:18px;font-weight:700;text-align:center;color:#222;margin-bottom:8px}.ck-desc{font-size:14px;color:#888;text-align:center;line-height:1.6}.sys-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.sys-row-title{font-size:15px;font-weight:500;color:#222}.sys-row-desc{font-size:13px;color:#999;margin-top:3px}.sys-toast{position:fixed;bottom:80px;left:50%;transform:translate(-50%) translateY(20px);background:#1e1e1ee0;color:#fff;padding:11px 20px;border-radius:24px;font-size:13px;white-space:nowrap;z-index:9998;opacity:0;transition:opacity .3s,transform .3s;pointer-events:none;max-width:88vw;white-space:normal;text-align:center}.sys-toast.visible{opacity:1;transform:translate(-50%) translateY(0)}.onboarding-box{background:#fff;border-radius:22px;padding:32px 22px 24px;max-width:340px;width:92%;text-align:center}.onboarding-icon{font-size:44px;margin-bottom:10px}.onboarding-box h2{margin:0 0 6px;font-size:22px;color:#111}.onboarding-sub{margin:0 0 22px;font-size:14px;color:#888}.onboarding-option{display:flex;align-items:center;gap:14px;width:100%;padding:15px 16px;border-radius:14px;border:2px solid #e8e8e8;background:#fff;cursor:pointer;margin-bottom:10px;text-align:left;transition:border-color .2s,background .2s,transform .15s;box-sizing:border-box}.onboarding-option:active{transform:scale(.98)}.onboarding-option:hover{border-color:#07c160;background:#f0fff4}.onboarding-option.secondary:hover{border-color:#7c3aed;background:#faf5ff}.onboarding-option .opt-emoji{font-size:26px;flex-shrink:0}.onboarding-option .opt-title{font-size:15px;font-weight:600;color:#222}.onboarding-option .opt-desc{font-size:12px;color:#888;margin-top:3px}body.mode-outofbox #settings-adv-params,body.mode-outofbox #settings-adv-ltm,body.mode-custom #settings-memory-shortcut,body.mode-outofbox #model-mgmt-custom{display:none!important}.sys-credits-row{display:flex;align-items:center;justify-content:space-between;margin-top:14px;margin-bottom:6px}.sys-credits-label{font-size:12px;color:#999}.sys-credits-amount{font-size:13px;font-weight:600;color:#444}.sys-credits-bar-wrap{width:100%;height:8px;background:#f0f0f0;border-radius:99px;overflow:hidden}.sys-credits-bar-segments{display:flex;width:100%;height:100%;border-radius:99px;overflow:hidden}.sys-credits-bar-fill{height:100%;min-width:0;border-radius:0;transition:width .6s ease}.sys-credits-bar-fill.expiring{background:linear-gradient(90deg,#7c3aed,#a855f7);border-radius:99px 0 0 99px}.sys-credits-bar-fill.permanent{background:linear-gradient(90deg,#d97706,#f59e0b);border-radius:0 99px 99px 0}.sys-credits-bar-segments .sys-credits-bar-fill.expiring:only-child,.sys-credits-bar-segments .sys-credits-bar-fill.permanent:only-child{border-radius:99px}.sys-credits-bar-fill.free{background:linear-gradient(90deg,#7c3aed,#a855f7)}.sys-credits-bar-fill.paid{background:linear-gradient(90deg,#d97706,#f59e0b)}.sys-ledger-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:10px;border-top:1px solid #f0f0f0;cursor:pointer}.sys-ledger-label{font-size:13px;color:#555}.sys-ledger-arrow{font-size:18px;color:#bbb}.ldg-tabs{display:flex;gap:0;background:#fff;border-bottom:1px solid #eee;padding:0 16px}.ldg-tab{flex:1;border:none;background:none;padding:12px 0;font-size:14px;color:#888;cursor:pointer;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}.ldg-tab.active{color:#07c160;border-bottom-color:#07c160;font-weight:600}.ldg-group-header{padding:8px 16px 4px;font-size:11px;color:#aaa;letter-spacing:.5px;text-transform:uppercase}.ldg-row{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border-bottom:1px solid #f5f5f5}.ldg-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}.ldg-icon.out{background:#fff3f3}.ldg-icon.in{background:#f0faf5}.ldg-info{flex:1;min-width:0}.ldg-title{font-size:14px;color:#222;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ldg-sub{font-size:11px;color:#aaa;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ldg-right{text-align:right;flex-shrink:0}.ldg-amount{font-size:15px;font-weight:600}.ldg-amount.out{color:#333}.ldg-amount.in{color:#07c160}.ldg-time{font-size:11px;color:#bbb;margin-top:2px}.ldg-load-more{border:1px solid #ddd;background:#fff;color:#666;padding:8px 24px;border-radius:20px;font-size:13px;cursor:pointer}.recharge-content{background:#f5f5f7;overflow-y:auto;padding:16px}.recharge-balance-card{background:linear-gradient(135deg,#7c3aed,#6d28d9);border-radius:18px;padding:24px 20px 20px;color:#fff;margin-bottom:20px}body.mode-outofbox .recharge-balance-card,.recharge-balance-card.paid{background:linear-gradient(135deg,#d97706,#b45309)}.rbc-label{font-size:13px;opacity:.85;margin-bottom:6px}.rbc-amount{font-size:36px;font-weight:700;letter-spacing:-1px;margin-bottom:12px}.rbc-unit{font-size:16px;font-weight:400;opacity:.8}.recharge-bar-wrap{width:100%;height:6px;background:#ffffff40;border-radius:99px;overflow:hidden;margin-bottom:8px}.recharge-bar-segments{display:flex;width:100%;height:100%;border-radius:99px;overflow:hidden}.recharge-bar-fill{height:100%;min-width:0;border-radius:0;transition:width .6s ease}.recharge-bar-fill.expiring{background:#7c3aedf2;border-radius:99px 0 0 99px}.recharge-bar-fill.permanent{background:#d97706f2;border-radius:0 99px 99px 0}.recharge-bar-segments .recharge-bar-fill.expiring:only-child,.recharge-bar-segments .recharge-bar-fill.permanent:only-child{border-radius:99px}.recharge-bar-fill.free,.recharge-bar-fill.paid{background:#ffffffe6}.rbc-hint{font-size:11px;opacity:.75;margin-top:4px}.recharge-section-title{font-size:13px;font-weight:600;color:#888;letter-spacing:.5px;margin-bottom:10px;text-transform:uppercase}.recharge-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.recharge-pkg{background:#fff;border:2px solid #e8e8e8;border-radius:14px;padding:16px 12px;text-align:center;cursor:pointer;position:relative;transition:border-color .2s,box-shadow .2s,transform .15s}.recharge-pkg:active{transform:scale(.97)}.recharge-pkg:hover{border-color:#7c3aed}.recharge-pkg.selected{border-color:#7c3aed;background:#faf5ff;box-shadow:0 0 0 3px #7c3aed26}.pkg-badge{position:absolute;top:-1px;right:10px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;padding:2px 7px;border-radius:0 0 8px 8px}.pkg-badge.best{background:#7c3aed}.pkg-credits{font-size:28px;font-weight:700;color:#222;letter-spacing:-1px;line-height:1;margin-top:6px}.pkg-unit{font-size:12px;color:#888;margin:2px 0 4px}.pkg-bonus{font-size:11px;color:#7c3aed;font-weight:600;margin-bottom:8px}.pkg-price{font-size:17px;font-weight:700;color:#111}.pkg-extra{font-size:11px;color:#d97706;font-weight:600;margin-bottom:8px}.recharge-tabs{display:flex;gap:8px;margin-bottom:14px}.recharge-tab{flex:1;padding:9px 0;border:2px solid #e0e0e0;border-radius:10px;background:#fff;color:#888;font-size:14px;font-weight:600;cursor:pointer;transition:border-color .2s,color .2s,background .2s}.recharge-tab.active{border-color:#7c3aed;color:#7c3aed;background:#faf5ff}.recharge-pay-btn{width:100%;padding:15px;background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;margin-bottom:14px;transition:opacity .2s,transform .15s}.recharge-pay-btn:active{transform:scale(.98);opacity:.9}.sys-profile-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f0f0f0;font-size:14px;color:#333}.sys-profile-row:last-of-type{border-bottom:none}.sys-profile-row span:first-child{color:#888}.login-link{color:#07c160;font-size:13px;text-decoration:none;cursor:pointer}.login-link:hover{text-decoration:underline}.sys-btn-small{padding:7px 14px;background:#07c160;color:#fff;border:none;border-radius:8px;font-size:13px;cursor:pointer;white-space:nowrap}.sys-btn-small:active{opacity:.85}.recharge-note{font-size:12px;color:#aaa;text-align:center;line-height:1.6}.me-content{background-color:#ededed;overflow-y:auto}.me-profile-card{background:#fff;margin-bottom:10px;padding:20px 16px}.me-list-group{background:#fff;margin-bottom:10px}.me-list-item{display:flex;align-items:center;padding:14px 16px;border-bottom:1px solid #EDEDED;cursor:pointer}.me-list-item:last-child{border-bottom:none}.me-list-item:active{background:#f5f5f5}.me-list-label{flex:1;font-size:16px;color:#333}.me-list-secondary{font-size:14px;color:#999}.me-name{font-size:20px;font-weight:500;color:#333;margin-bottom:4px}.me-wechat-id{font-size:14px;color:#999}body.wechat-dark #app-container{background:#1c1c1e}body.wechat-dark #create-character-page.active{background:#111}body.wechat-dark .header{background-color:#1c1c1e!important;color:#e5e5ea!important;border-bottom-color:#3a3a3c!important}body.wechat-dark .header button{color:#e5e5ea}body.wechat-dark .header button svg{stroke:#e5e5ea}body.wechat-dark .header-title{color:#e5e5ea}body.wechat-dark .bottom-nav{background-color:#1c1c1e!important;border-top-color:#3a3a3c!important}body.wechat-dark .nav-item{color:#636366}body.wechat-dark .nav-item svg{stroke:#636366}body.wechat-dark .nav-item.active{color:#07c160}body.wechat-dark .nav-item.active svg{stroke:#07c160}body.wechat-dark .me-content{background-color:#111!important}body.wechat-dark .me-profile-card,body.wechat-dark .me-list-group{background:#1c1c1e!important}body.wechat-dark .me-list-item{border-bottom-color:#2c2c2e!important}body.wechat-dark .me-list-item:active{background:#2a2a2a!important}body.wechat-dark .me-list-label{color:#e5e5ea!important}body.wechat-dark .me-list-secondary{color:#636366!important}body.wechat-dark .me-name{color:#e5e5ea!important}body.wechat-dark .me-wechat-id{color:#636366!important}body.wechat-dark #chat-list-page>.content{background-color:#111!important}body.wechat-dark #chat-list-page .content>div:first-child{background-color:#1c1c1e!important;border-bottom-color:#3a3a3c!important}body.wechat-dark #chat-list-page .content>div:first-child>div{background-color:#2c2c2e!important}body.wechat-dark #chat-list-page input[type=text]{background:transparent!important;color:#e5e5ea!important}body.wechat-dark #chat-list-page input::placeholder{color:#636366!important}body.wechat-dark .character-list-item{background:#1c1c1e!important;border-bottom-color:#2c2c2e!important}body.wechat-dark .character-list-item:active{background:#2a2a2a!important}body.wechat-dark .character-list-name{color:#e5e5ea!important}body.wechat-dark .character-list-preview{color:#8e8e93!important}body.wechat-dark .character-list-time{color:#636366!important}body.wechat-dark #contacts-page>.content{background-color:#111!important}body.wechat-dark #chat-page{background:#111!important}body.wechat-dark #chat-page>.content{background:#111}body.wechat-dark #status-drawer{background:#1c1c1e!important;border-bottom-color:#3a3a3c!important}body.wechat-dark #status-drawer [style*="color:#333"],body.wechat-dark #status-drawer [style*="color: #333"]{color:#e5e5ea!important}body.wechat-dark #status-drawer [style*="color:#aaa"],body.wechat-dark #status-drawer [style*="color: #aaa"]{color:#636366!important}body.wechat-dark #status-drawer [style*="color:#ccc"],body.wechat-dark #status-drawer [style*="color: #ccc"]{color:#48484a!important}body.wechat-dark #status-drawer [style*=border-bottom],body.wechat-dark #status-drawer [style*=border-left]{border-color:#2c2c2e!important}body.wechat-dark #chat-page{--user-bubble-color: #07C160;--ai-bubble-color: #2C2C2E;--ai-bubble-border: #3A3A3C}body.wechat-dark .message.user .bubble{color:#000!important}body.wechat-dark .message.assistant .bubble{background-color:#2c2c2e!important;border-color:#3a3a3c!important;color:#e5e5ea!important}body.wechat-dark .typing-indicator{color:#e5e5ea}body.wechat-dark .message-meta,body.wechat-dark .time-separator,body.wechat-dark [class*=time-label],body.wechat-dark [class*=date-separator]{color:#636366!important}body.wechat-dark .chat-input-area{background-color:#1c1c1e!important;border-top-color:#3a3a3c!important}body.wechat-dark #user-input{background-color:#2c2c2e!important;color:#e5e5ea!important;border-color:#3a3a3c!important}body.wechat-dark #user-input::placeholder{color:#636366!important}body.wechat-dark .input-tool-btn{color:#8e8e93!important}body.wechat-dark .input-tool-btn:hover{background-color:#2c2c2e!important}body.wechat-dark .input-tool-btn:active{background-color:#3a3a3c!important}body.wechat-dark #plus-menu-panel{background:#1c1c1e!important}body.wechat-dark #plus-menu-panel [style*="background:#fff"],body.wechat-dark #plus-menu-panel [style*="background: #fff"]{background:#2c2c2e!important}body.wechat-dark #plus-menu-panel span{color:#8e8e93!important}#model-picker-panel{background:#f5f5f5}.mp-header{background:#f5f5f5;padding:14px 16px 12px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:1}.mp-header-title{font-size:17px;font-weight:600;color:#000}.mp-header-done{background:none;border:none;font-size:15px;color:#07c160;font-weight:500;cursor:pointer;padding:0}.mp-card{margin:0 12px 12px;background:#fff;border-radius:10px;overflow:hidden}.mp-section-label{padding:10px 14px 6px;font-size:12px;color:#888;font-weight:500}.mp-section-head{padding:10px 14px 6px;display:flex;align-items:center;justify-content:space-between}.mp-fetch-btn{padding:3px 10px;font-size:12px;background:#f0f0f0;border:none;border-radius:4px;cursor:pointer;color:#555}.mp-provider-name{padding:0 14px 6px;font-size:12px;color:#aaa}.mp-list{padding:0 8px 8px}.mp-manual{padding:8px 12px 12px;border-top:.5px solid #ebebeb}.mp-manual-label{font-size:12px;color:#aaa;margin-bottom:6px}.mp-manual-row{display:flex;gap:8px}#model-picker-input{flex:1;padding:9px 12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;outline:none;background:#fafafa;color:#333}.mp-confirm-btn{padding:9px 16px;background:#07c160;color:#fff;border:none;border-radius:8px;font-size:14px;cursor:pointer}.mp-item{display:flex;align-items:center;padding:12px 10px;border-radius:8px;border:1.5px solid #e8e8e8;background:#fff;margin-bottom:6px;cursor:pointer}.mp-item.mp-item--active{border-color:#07c160;background:#f0fff8}.mp-item.mp-item--platform-active{border-color:#1aad19;background:#f0fff0}.mp-item-body{flex:1}.mp-item-name{font-size:14px;font-weight:400;color:#333}.mp-item--active .mp-item-name,.mp-item--platform-active .mp-item-name{font-weight:600}.mp-item--active .mp-item-name{color:#07c160}.mp-item--platform-active .mp-item-name{color:#1aad19}.mp-item-desc{font-size:11px;color:#aaa;margin-top:2px}.mp-item-price{font-size:11px;color:#aaa;flex-shrink:0;margin-left:8px}.mp-item--platform-active .mp-item-price{color:#1aad19}.mp-empty{color:#bbb;font-size:13px;padding:8px 6px}body.wechat-dark #model-picker-panel,body.wechat-dark .mp-header{background:#1c1c1e}body.wechat-dark .mp-header-title{color:#e5e5ea}body.wechat-dark .mp-card{background:#2c2c2e}body.wechat-dark .mp-section-label,body.wechat-dark .mp-section-head .mp-section-label{color:#8e8e93}body.wechat-dark .mp-fetch-btn{background:#3a3a3c;color:#e5e5ea}body.wechat-dark .mp-provider-name{color:#636366}body.wechat-dark .mp-manual{border-top-color:#3a3a3c}body.wechat-dark .mp-manual-label{color:#636366}body.wechat-dark #model-picker-input{background:#3a3a3c;color:#e5e5ea;border-color:#48484a}body.wechat-dark #model-picker-input::placeholder{color:#636366}body.wechat-dark .mp-item{background:#2c2c2e;border-color:#3a3a3c}body.wechat-dark .mp-item.mp-item--active{background:#1a2e23;border-color:#07c160}body.wechat-dark .mp-item.mp-item--platform-active{background:#1a2e23;border-color:#1aad19}body.wechat-dark .mp-item-name{color:#e5e5ea}body.wechat-dark .mp-item--active .mp-item-name{color:#07c160}body.wechat-dark .mp-item--platform-active .mp-item-name{color:#1aad19}body.wechat-dark .mp-item-desc,body.wechat-dark .mp-item-price{color:#636366}body.wechat-dark .mp-item--platform-active .mp-item-price{color:#1aad19}body.wechat-dark .mp-empty{color:#636366}body.wechat-dark .bubble-menu{background:#2c2c2e!important;box-shadow:0 4px 24px #0009!important}body.wechat-dark .bubble-menu-item{background:#3a3a3c!important;color:#e5e5ea!important}body.wechat-dark .bubble-menu-item:hover{background:#48484a!important}body.wechat-dark .bubble-menu-item:active{background:#545458!important}body.wechat-dark .bubble-menu-item.danger{color:#ff453a!important}body.wechat-dark #multi-select-bar{background:#1c1c1e!important;border-bottom-color:#3a3a3c!important}body.wechat-dark #multi-select-search{background:#2c2c2e!important;color:#e5e5ea!important}body.wechat-dark #wechat-settings-page .me-content{background-color:#111!important}body.wechat-dark #wechat-settings-page .me-list-secondary{color:#636366!important}body.wechat-dark #discover-page .content{background-color:#111!important}body.wechat-dark #discover-page>.content>div:first-child{background:#1c1c1e!important;border-bottom-color:#3a3a3c!important}body.wechat-dark #library-search{background:#2c2c2e!important;border-color:#3a3a3c!important;color:#e5e5ea!important}body.wechat-dark #library-search::placeholder{color:#636366!important}body.wechat-dark #discover-page label{color:#8e8e93!important}body.wechat-dark #library-grid>div{background:#1c1c1e!important;box-shadow:0 2px 8px #0000004d!important}body.wechat-dark #library-grid [style*="background:#e8e8e8"],body.wechat-dark #library-grid [style*="background: #e8e8e8"]{background:#2c2c2e!important}body.wechat-dark #library-grid [style*="color:#111"]{color:#e5e5ea!important}body.wechat-dark #library-grid [style*="color:#666"]{color:#8e8e93!important}body.wechat-dark #library-grid [style*="background:#f5f5f5"]{background:#2c2c2e!important}body.wechat-dark #library-grid [style*="color:#333"]{color:#e5e5ea!important}body.wechat-dark #library-grid [style*="color:#aaa"],body.wechat-dark #library-grid [style*="color:#999"]{color:#636366!important}body.wechat-dark #library-pagination button{background:#1c1c1e!important;border-color:#3a3a3c!important;color:#e5e5ea!important}body.wechat-dark #library-pagination span{color:#8e8e93!important}body.wechat-dark #settings-page .content{background:#111!important}body.wechat-dark #settings-page h3,body.wechat-dark #settings-page h4{color:#e5e5ea!important}body.wechat-dark #settings-page label,body.wechat-dark #settings-page .form-group label{color:#aeaeb2!important}body.wechat-dark #settings-page p,body.wechat-dark #settings-page span:not(.toggle-slider):not(.sys-account-badge){color:#8e8e93!important}body.wechat-dark #settings-page hr{border-color:#3a3a3c!important}body.wechat-dark #settings-page input[type=text],body.wechat-dark #settings-page input[type=number],body.wechat-dark #settings-page input[type=password],body.wechat-dark #settings-page input[type=time],body.wechat-dark #settings-page textarea,body.wechat-dark #settings-page select{background:#2c2c2e!important;color:#e5e5ea!important;border-color:#3a3a3c!important}body.wechat-dark #settings-page input::placeholder,body.wechat-dark #settings-page textarea::placeholder{color:#636366!important}body.wechat-dark #settings-page select option{background:#2c2c2e;color:#e5e5ea}body.wechat-dark #settings-page [style*="background: #f5f5f5"],body.wechat-dark #settings-page [style*="background:#f5f5f5"],body.wechat-dark #settings-page [style*="background: #f9f9f9"],body.wechat-dark #settings-page [style*="background:#f9f9f9"],body.wechat-dark #settings-page [style*="background-color: #f5f5f5"],body.wechat-dark #settings-page [style*="background-color:#f5f5f5"],body.wechat-dark #settings-page [style*="background-color: #f0f0f0"],body.wechat-dark #settings-page [style*="background-color:#f0f0f0"],body.wechat-dark #settings-page [style*="background: #fff0"],body.wechat-dark #settings-page [style*="background: #fff8"],body.wechat-dark #settings-page [style*="background: #e3f2fd"],body.wechat-dark #settings-page [style*="background: #fff3cd"]{background:#2c2c2e!important;border-color:#3a3a3c!important}body.wechat-dark #settings-page button:not([style*="background-color: #"]):not([style*="background:#0"]):not([style*="background: #0"]):not([style*="background:#4"]):not([style*="background:#2"]):not([style*="background: #2"]):not([style*="background: #4"]):not([style*="background:#9"]):not([style*="background: #9"]):not([style*="background:#ff"]):not([style*="background: #ff"]):not(#save-settings-btn):not(#char-publish-btn){background:#2c2c2e!important;color:#e5e5ea!important;border-color:#3a3a3c!important}body.wechat-dark #settings-page [style*="background:#fff"],body.wechat-dark #settings-page [style*="background: #fff"],body.wechat-dark #settings-page [style*="background-color: white"],body.wechat-dark #settings-page [style*="background-color:white"]{background:#2c2c2e!important;color:#e5e5ea!important;border-color:#3a3a3c!important}body.wechat-dark #settings-page [style*="border: 1px solid #e0e0e0"],body.wechat-dark #settings-page [style*="border:1px solid #e0e0e0"],body.wechat-dark #settings-page [style*="border-color: #e0e0e0"],body.wechat-dark #settings-page [style*="border-left: 3px solid"]{border-color:#3a3a3c!important}body.wechat-dark #settings-page .bubble-color-preview{background:#2c2c2e!important;color:#e5e5ea!important;border-color:#3a3a3c!important}body.wechat-dark #settings-page [style*="background: #fff5f5"],body.wechat-dark #settings-page [style*="background:#fff5f5"]{background:#2c2c2e!important;border-color:#3a3a3c!important}body.wechat-dark #settings-page [style*="color: #c62828"]{color:#ff6b6b!important}body.wechat-dark #settings-page [style*="color: #856404"]{color:#e9c46a!important}body.wechat-dark #settings-page [style*="color: #1565C0"]{color:#4cc9f0!important}body.wechat-dark #settings-page .avatar-preview{border-color:#3a3a3c!important}body.wechat-dark #settings-page [style*="font-size:14px;font-weight:600;color:#333"],body.wechat-dark #settings-page [style*="color:#333"]{color:#e5e5ea!important}body.wechat-dark #settings-page [style*="color:#666"],body.wechat-dark #settings-page [style*="color: #666"],body.wechat-dark #settings-page [style*="color:#888"],body.wechat-dark #settings-page [style*="color: #888"],body.wechat-dark #settings-page [style*="color:#999"],body.wechat-dark #settings-page [style*="color: #999"],body.wechat-dark #settings-page [style*="color:#aaa"],body.wechat-dark #settings-page [style*="color: #aaa"],body.wechat-dark #settings-page [style*="color:#bbb"],body.wechat-dark #settings-page [style*="color: #bbb"]{color:#636366!important}#chat-page .content{background-size:cover;background-position:center;background-repeat:no-repeat}.wp-picker-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10010;background:#00000080;display:flex;align-items:flex-end}.wp-picker-overlay.hidden{display:none}.wp-picker-box{width:100%;background:#fff;border-radius:16px 16px 0 0;padding:20px 16px;padding-bottom:calc(20px + env(safe-area-inset-bottom));box-sizing:border-box;max-height:80vh;overflow-y:auto}.wp-picker-title{font-size:15px;font-weight:600;color:#333;text-align:center;margin:0 0 12px}.wp-sub-notice{background:linear-gradient(135deg,#f3e8ff,#ede9fe);border:1px solid #c4b5fd;border-radius:8px;padding:8px 12px;font-size:12px;color:#7c3aed;text-align:center;margin-bottom:12px}.wp-preset-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}.wp-preset-item{aspect-ratio:9/16;border-radius:8px;cursor:pointer;border:2px solid transparent;position:relative;overflow:hidden;transition:border-color .2s}.wp-preset-item.selected{border-color:#07c160}.wp-preset-item.selected:after{content:"✓";position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff;background:#0000002e}.wp-upload-row{display:flex;align-items:center;gap:10px;padding:12px;background:#f5f5f7;border-radius:10px;cursor:pointer;margin-bottom:12px;font-size:14px;color:#333}.wp-picker-cancel{width:100%;padding:14px;background:none;border:1px solid #e0e0e0;border-radius:10px;font-size:15px;color:#666;cursor:pointer;margin-top:4px;box-sizing:border-box}.beauty-item-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #f0f0f0}.beauty-item-row:last-child{border-bottom:none}.beauty-item-preview{width:36px;flex-shrink:0;text-align:center;font-size:15px;color:#333}.beauty-item-name{flex:1;font-size:14px;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.beauty-item-name-input{flex:1;font-size:14px;padding:3px 6px;border:1px solid #07c160;border-radius:6px;outline:none}.beauty-apply-btn{padding:4px 10px;font-size:12px;border:none;border-radius:6px;background:#f0f0f0;color:#555;cursor:pointer;flex-shrink:0}.beauty-apply-btn.active{background:#07c160;color:#fff}.beauty-del-btn{padding:4px 10px;font-size:12px;border:none;border-radius:6px;background:#fff0f0;color:#e53;cursor:pointer;flex-shrink:0}body.wechat-dark .beauty-item-row{border-bottom-color:#3a3a3c}body.wechat-dark .beauty-item-name{color:#e5e5ea}body.wechat-dark .beauty-apply-btn{background:#3a3a3c;color:#aaa}body.wechat-dark .beauty-apply-btn.active{background:#07c160;color:#fff}body.wechat-dark .beauty-del-btn{background:#3a2020;color:#f87}.bubble-color-swatches{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.bubble-color-swatch{width:30px;height:30px;border-radius:50%;cursor:pointer;border:2px solid transparent;box-sizing:border-box;transition:border-color .2s;flex-shrink:0}.bubble-color-swatch.selected{border-color:#333!important}.bubble-color-custom-row{display:flex;align-items:center;gap:10px;margin-bottom:0}.bubble-color-preview{flex:1;padding:7px 12px;border-radius:6px;font-size:13px;text-align:center;border:1px solid #e0e0e0}#chat-wallpaper-btn{background:none;border:none;cursor:pointer;padding:0;line-height:1;min-width:40px;text-align:center;color:#333}body.wechat-dark #chat-wallpaper-btn{color:#e5e5ea}.home-wp-preview{width:40px;height:68px;border-radius:6px;border:1px solid #e0e0e0;flex-shrink:0;background-size:cover;background-position:center}.chat-wp-preview{width:44px;height:76px;border-radius:8px;border:1px solid #e0e0e0;flex-shrink:0;background-size:cover;background-position:center}#tutorial-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99000;pointer-events:none}#tutorial-overlay.active{pointer-events:auto}#tutorial-highlight{position:fixed;border-radius:10px;box-shadow:0 0 0 9999px #0000009e;transition:top .35s cubic-bezier(.4,0,.2,1),left .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1),height .35s cubic-bezier(.4,0,.2,1),border-radius .35s;z-index:99001;pointer-events:none}#tutorial-highlight:after{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border-radius:inherit;border:2px solid rgba(255,255,255,.55);animation:tut-pulse 1.8s ease-in-out infinite}@keyframes tut-pulse{0%,to{opacity:.5;transform:scale(1)}50%{opacity:1;transform:scale(1.015)}}#tutorial-tooltip{position:fixed;background:#fff;border-radius:14px;padding:18px 20px 14px;width:280px;box-shadow:0 8px 32px #0000002e;z-index:99002;transition:top .35s cubic-bezier(.4,0,.2,1),left .35s cubic-bezier(.4,0,.2,1),opacity .2s}#tutorial-tooltip:before{content:"";position:absolute;width:12px;height:12px;background:#fff;transform:rotate(45deg)}#tutorial-tooltip.arrow-top:before{top:-6px;left:50%;transform:translate(-50%) rotate(45deg);box-shadow:-2px -2px 4px #0000000a}#tutorial-tooltip.arrow-bottom:before{bottom:-6px;left:50%;transform:translate(-50%) rotate(45deg);box-shadow:2px 2px 4px #0000000a}#tutorial-tooltip.arrow-right:before{right:-6px;top:50%;transform:translateY(-50%) rotate(45deg)}#tutorial-step-badge{display:inline-block;font-size:11px;color:#aaa;margin-bottom:6px}#tutorial-title{font-size:16px;font-weight:700;color:#1a1a1a;margin-bottom:7px}#tutorial-desc{font-size:13px;color:#555;line-height:1.6;margin-bottom:14px}#tutorial-desc b{color:#07c160}.tutorial-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}#tutorial-skip-btn{background:none;border:none;font-size:13px;color:#bbb;cursor:pointer;padding:4px 0}#tutorial-next-btn{flex:1;padding:10px 18px;background:#07c160;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;text-align:center}#tutorial-next-btn:active{background:#059a4c}#tutorial-click-hint{position:fixed;font-size:28px;z-index:99003;pointer-events:none;animation:tut-bounce 1s ease-in-out infinite;transform-origin:bottom left;display:none}@keyframes tut-bounce{0%,to{transform:translateY(0) rotate(-10deg)}50%{transform:translateY(-6px) rotate(-10deg)}}body.wechat-dark #tutorial-tooltip{background:#1c1c1e;color:#e5e5ea;box-shadow:0 8px 32px #0006}body.wechat-dark #tutorial-tooltip:before{background:#1c1c1e}body.wechat-dark #tutorial-title{color:#e5e5ea}body.wechat-dark #tutorial-desc{color:#aeaeb2}body.wechat-dark #tutorial-skip-btn{color:#636366}body.wechat-dark .wp-picker-box{background:#1c1c1e!important}body.wechat-dark .wp-picker-title{color:#e5e5ea!important}body.wechat-dark .wp-upload-row{background:#2c2c2e!important;color:#e5e5ea!important}body.wechat-dark .wp-picker-cancel{border-color:#3a3a3c!important;color:#8e8e93!important}.desktop-pages-outer{width:100%;flex:1;overflow:hidden;position:relative}.desktop-pages-track{display:flex;flex-direction:row;height:100%;transition:transform .35s cubic-bezier(.25,.46,.45,.94);will-change:transform}.desktop-page{flex:0 0 100%;width:100%;display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:78px;gap:10px;padding:10px 12px 0;box-sizing:border-box;align-content:start;overflow:hidden}.desktop-page-dots{display:flex;justify-content:center;align-items:center;gap:6px;padding:8px 0 4px;flex-shrink:0}.desktop-page-dot{width:6px;height:6px;border-radius:50%;background:#fff6;transition:all .25s}.desktop-page-dot.active{width:18px;border-radius:3px;background:#ffffffe6}.desktop-page-add-dot{width:20px;height:20px;border-radius:50%;background:#ffffff40;display:flex;align-items:center;justify-content:center;font-size:14px;color:#ffffffd9;cursor:pointer;border:none;padding:0;line-height:1}.widget-music{background:#0b0b14;border-radius:14px;display:flex;flex-direction:row;overflow:hidden;height:100%;box-sizing:border-box;-webkit-user-select:none;user-select:none}.mw-film-strip{width:12px;flex-shrink:0;background:repeating-linear-gradient(to bottom,#0b0b14 0,#0b0b14 5px,#1e1e30 5px,#1e1e30 13px,#0b0b14 13px,#0b0b14 18px);position:relative}.mw-body{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;padding:12px 6px 10px;gap:8px;overflow:hidden}.mw-vinyl-wrap{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;width:100%}.mw-disc{width:min(160px,85%);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 50% 50%,#3a3a3a,#3a3a3a 8%,#111 8%,#111 9%,#222 9%,#222 18%,#131313 18%,#131313 19%,#1e1e1e 19%,#1e1e1e 30%,#111 30%,#111 31%,#1c1c1c 31%,#1c1c1c 44%,#111 44%,#111 45%,#1a1a1a 45%,#1a1a1a 60%,#111 60%,#111 61%,#1c1c1c 61%,#1c1c1c 76%,#111 76%,#111 77%,#1a1a1a 77%,#1a1a1a 90%,#111 90%,#111 91%,#1c1c1c 91%,#1c1c1c);box-shadow:0 0 0 1px #ffffff0f,0 4px 16px #0009;display:flex;align-items:center;justify-content:center;transition:box-shadow .3s;flex-shrink:0}.mw-disc-inner{width:30%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#555,#3a3a3a 60%,#222);box-shadow:inset 0 0 4px #00000080}@keyframes mw-vinyl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.mw-disc.mw-spinning{animation:mw-vinyl-spin 2.5s linear infinite;box-shadow:0 0 0 1px #ffffff1a,0 0 18px #b48cff33,0 4px 16px #0009}.mw-label{position:absolute;width:min(80px,42%);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#2a2040,#1a1430);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px;box-sizing:border-box;pointer-events:none;overflow:hidden;text-align:center}.mw-lyric-prev,.mw-lyric-next{font-size:8px;color:#ffffff47;line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;padding:0 4px;box-sizing:border-box}.mw-lyric-curr{font-size:9px;font-weight:600;color:#ffffffd9;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;padding:0 4px;box-sizing:border-box;text-shadow:0 0 8px rgba(180,140,255,.6)}.mw-info{width:100%;text-align:center;line-height:1.3}.mw-title{font-size:12px;font-weight:600;color:#ffffffe0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mw-artist{font-size:10px;color:#ffffff73;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.mw-progress-wrap{width:100%;height:3px;background:#ffffff24;border-radius:2px;cursor:pointer;flex-shrink:0}.mw-progress-fill{height:100%;width:0%;background:linear-gradient(90deg,#a78bfa,#c4b5fd);border-radius:2px;pointer-events:none;transition:width .5s linear}.mw-controls{display:flex;align-items:center;gap:4px;flex-shrink:0}.mw-controls button{background:#ffffff0f;border:none;color:#fffc;font-size:13px;cursor:pointer;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;line-height:1;transition:background .15s}.mw-controls button:active{background:#ffffff2e}.mw-play-btn{background:#a78bfa40!important;font-size:14px!important}.mw-add-btn{font-size:18px!important;color:#a78bfacc!important}.desktop-page .desktop-slot{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.desktop-slot-icon-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;cursor:pointer;user-select:none;-webkit-user-select:none}#edit-mode-toolbar{position:fixed;top:0;left:0;right:0;z-index:1200;display:none;align-items:center;justify-content:flex-end;padding:12px 20px;padding-top:calc(12px + env(safe-area-inset-top,0px));background:#00000040;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}#edit-mode-toolbar.visible{display:flex}.edit-mode-done-btn{background:#ffffffeb;color:#333;border:none;border-radius:20px;padding:7px 18px;font-size:14px;font-weight:600;cursor:pointer}@keyframes jiggle{0%{transform:rotate(-1.5deg)}50%{transform:rotate(1.5deg)}to{transform:rotate(-1.5deg)}}.edit-mode .desktop-slot-icon-wrapper,.edit-mode .widget-container{animation:jiggle .25s ease-in-out infinite}.desktop-slot-delete-badge{display:none;position:absolute;top:-6px;left:-6px;width:20px;height:20px;border-radius:50%;background:#ff3b30;color:#fff;font-size:14px;font-weight:700;line-height:20px;text-align:center;z-index:10;cursor:pointer;box-shadow:0 1px 4px #0000004d}.edit-mode .desktop-slot-delete-badge{display:block}.desktop-slot-empty{width:64px;height:64px;border-radius:14px;border:2px dashed rgba(255,255,255,.45);display:flex;align-items:center;justify-content:center;font-size:26px;color:#fff6;cursor:pointer;transition:opacity .2s;opacity:0;pointer-events:none}.edit-mode .desktop-slot-empty{opacity:1;pointer-events:auto}.widget-container{width:100%;height:100%;border-radius:18px;background:#ffffff2e;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 4px 16px #0000001f;overflow:hidden;position:relative;cursor:pointer;box-sizing:border-box}.widget-clock{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;width:100%;height:100%;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;border-radius:0!important;gap:0;font-family:-apple-system,SF Pro Display,PingFang SC,Helvetica Neue,sans-serif}.clock-date{font-size:clamp(14px,1.6vw,22px);font-weight:400;color:#ffd60a;letter-spacing:.5px;line-height:1.4;text-shadow:0 1px 8px rgba(0,0,0,.45)}.clock-time{font-size:clamp(72px,13vw,160px);font-weight:300;color:#fff;letter-spacing:-.02em;line-height:1;text-shadow:0 2px 16px rgba(0,0,0,.4);font-variant-numeric:tabular-nums}.widget-gallery{background:#00000014;display:flex;align-items:center;justify-content:center}.gallery-img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .5s}.gallery-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#ffffffa6;font-size:13px;padding:16px;text-align:center}.gallery-placeholder-icon{font-size:32px;opacity:.7}.gallery-frame-polaroid{position:absolute;top:6px;right:6px;bottom:6px;left:6px;border:6px solid #fff;border-bottom-width:28px;box-shadow:inset 0 0 0 1px #0000000f;border-radius:2px;pointer-events:none}.gallery-frame-vintage{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,#a064321f,#c8a05014);mix-blend-mode:multiply;pointer-events:none}.widget-todo{display:flex;flex-direction:column;padding:14px 16px}.todo-title{font-size:15px;font-weight:600;color:#ffffffe6;margin-bottom:10px;flex-shrink:0}.todo-items{flex:1;display:flex;flex-direction:column;gap:7px;overflow:hidden}.todo-item{display:flex;align-items:center;gap:8px}.todo-check{width:17px;height:17px;border-radius:50%;border:2px solid rgba(255,255,255,.65);flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:10px;color:transparent}.todo-check.done{background:#fffc;border-color:#fffc;color:#555}.todo-text{flex:1;font-size:13px;color:#ffffffe6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.todo-item.done-item .todo-text{text-decoration:line-through;opacity:.5}.todo-ddl{font-size:11px;padding:2px 5px;border-radius:6px;background:#fff3;color:#fffc;flex-shrink:0}.todo-ddl.urgent{background:#ff3b30b3;color:#fff}.todo-ddl.soon{background:#ff950099;color:#fff}.todo-empty-hint{font-size:12px;color:#ffffff73;text-align:center;margin-top:12px}.slot-action-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1500;background:#00000059;display:none;align-items:flex-end;justify-content:center}.slot-action-sheet-overlay.open{display:flex}.slot-action-sheet{width:100%;max-width:480px;background:#1e1e23f7;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:20px 20px 0 0;padding:12px 16px calc(20px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:8px;transform:translateY(100%);transition:transform .3s cubic-bezier(.25,.46,.45,.94)}.slot-action-sheet-overlay.open .slot-action-sheet{transform:translateY(0)}.slot-action-sheet-handle{width:36px;height:4px;border-radius:2px;background:#fff3;margin:0 auto 12px}.slot-action-btn{display:flex;align-items:center;gap:14px;padding:14px 16px;background:#ffffff12;border-radius:12px;border:none;color:#fff;font-size:15px;cursor:pointer;text-align:left;width:100%}.slot-action-btn:active{background:#ffffff1f}.slot-action-btn-icon{font-size:22px;width:30px;text-align:center}.slot-action-cancel{background:#ffffff0a;color:#ffffff80;margin-top:4px}.widget-picker-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1600;background:#000000a6;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:none;align-items:center;justify-content:center;padding:20px}.widget-picker-overlay.open{display:flex}.widget-picker-box{background:#1c1c1e;border-radius:20px;padding:20px 16px 24px;width:100%;max-width:360px;max-height:80vh;overflow-y:auto}.widget-picker-title{font-size:17px;font-weight:700;color:#fff;text-align:center;margin-bottom:16px}.widget-picker-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.widget-picker-card{background:#ffffff12;border-radius:14px;padding:14px 12px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;border:2px solid transparent;transition:border-color .2s,background .2s}.widget-picker-card:active{background:#ffffff24;border-color:#ffffff4d}.widget-picker-card-icon{font-size:28px}.widget-picker-card-name{font-size:13px;font-weight:600;color:#fff}.widget-picker-card-size{font-size:11px;color:#ffffff73}.widget-picker-cancel{margin-top:14px;width:100%;padding:12px;background:transparent;border:1px solid rgba(255,255,255,.12);border-radius:12px;color:#ffffff80;font-size:15px;cursor:pointer}.gallery-manager-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1700;background:#0000008c;display:none;align-items:flex-end;justify-content:center}.gallery-manager-overlay.open{display:flex}.gallery-manager-box{background:#fff;border-radius:20px 20px 0 0;width:100%;max-width:480px;padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px));max-height:70vh;overflow-y:auto}.gallery-manager-title{font-size:16px;font-weight:700;color:#333;text-align:center;margin-bottom:14px}.gallery-images-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.gallery-image-thumb{aspect-ratio:1;border-radius:10px;overflow:hidden;position:relative;cursor:pointer;background:#f0f0f0}.gallery-image-thumb img{width:100%;height:100%;object-fit:cover;display:block}.gallery-thumb-delete{position:absolute;top:4px;right:4px;width:20px;height:20px;border-radius:50%;background:#0000008c;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;cursor:pointer}.gallery-add-thumb{aspect-ratio:1;border-radius:10px;border:2px dashed #ccc;display:flex;align-items:center;justify-content:center;font-size:28px;color:#ccc;cursor:pointer}.gallery-frame-selector{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.gallery-frame-btn{flex:1;min-width:80px;padding:8px 4px;border:2px solid #e0e0e0;border-radius:10px;background:transparent;font-size:12px;color:#555;cursor:pointer;text-align:center}.gallery-frame-btn.active{border-color:#5e72eb;color:#5e72eb;background:#5e72eb12}.gallery-manager-close{width:100%;padding:12px;background:#f5f5f5;border:none;border-radius:12px;font-size:15px;color:#555;cursor:pointer;margin-top:4px}.todo-manager-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1700;background:#0000008c;display:none;align-items:flex-end;justify-content:center}.todo-manager-overlay.open{display:flex}.todo-manager-box{background:#fff;border-radius:20px 20px 0 0;width:100%;max-width:480px;padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px));max-height:75vh;display:flex;flex-direction:column}.todo-manager-title{font-size:16px;font-weight:700;color:#333;text-align:center;margin-bottom:14px;flex-shrink:0}.todo-manager-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.todo-manager-item{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f8f8f8;border-radius:10px}.todo-manager-check{width:20px;height:20px;border-radius:50%;border:2px solid #ccc;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:12px;cursor:pointer;color:transparent}.todo-manager-check.done{background:#5e72eb;border-color:#5e72eb;color:#fff}.todo-manager-text{flex:1;font-size:14px;color:#333}.todo-manager-item.done-item .todo-manager-text{text-decoration:line-through;color:#aaa}.todo-manager-ddl-badge{font-size:11px;padding:2px 6px;border-radius:6px;background:#eee;color:#777;flex-shrink:0}.todo-manager-delete{width:24px;height:24px;border-radius:50%;background:#ff3b301f;color:#ff3b30;display:flex;align-items:center;justify-content:center;font-size:14px;cursor:pointer;flex-shrink:0}.todo-add-form{display:flex;flex-direction:column;gap:8px;flex-shrink:0}.todo-add-row{display:flex;gap:8px}.todo-add-input{flex:1;padding:10px 12px;border:1px solid #e0e0e0;border-radius:10px;font-size:14px;outline:none}.todo-add-ddl{padding:10px 8px;border:1px solid #e0e0e0;border-radius:10px;font-size:13px;color:#555;outline:none;background:#fff;min-width:100px}.todo-add-submit{padding:10px;background:#5e72eb;color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer}.todo-manager-close{width:100%;padding:11px;background:#f5f5f5;border:none;border-radius:12px;font-size:15px;color:#555;cursor:pointer;margin-top:4px;flex-shrink:0}.persona-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.persona-card{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#f7f7f7;border-radius:10px;border:1.5px solid transparent;transition:border-color .15s}.persona-card.is-default{border-color:#07c160;background:#f0faf5}.persona-avatar{width:40px;height:40px;border-radius:50%;flex-shrink:0;background:#d1e8dc;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;color:#07c160;overflow:hidden}.persona-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.persona-info{flex:1;min-width:0}.persona-name{font-size:14px;font-weight:600;color:#222}.persona-meta{font-size:12px;color:#999;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.persona-default-badge{font-size:11px;color:#07c160;background:#e0f5eb;border-radius:4px;padding:2px 6px;margin-left:6px;flex-shrink:0}.persona-actions{display:flex;gap:6px;flex-shrink:0}.persona-btn{padding:5px 10px;border-radius:6px;border:none;cursor:pointer;font-size:12px;background:#ebebeb;color:#555}.persona-btn.danger{background:#fff0f0;color:#e53935}.persona-add-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px;border:1.5px dashed #d0d0d0;border-radius:10px;background:none;color:#888;font-size:14px;cursor:pointer;width:100%;margin-top:4px}.persona-add-btn:active{background:#f5f5f5}.persona-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:9000;display:flex;align-items:flex-end;justify-content:center}.persona-modal-overlay.hidden{display:none}.persona-modal-box{background:#fff;border-radius:18px 18px 0 0;width:100%;max-width:480px;padding:0 0 env(safe-area-inset-bottom,0);max-height:92vh;display:flex;flex-direction:column}.persona-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 12px;font-size:17px;font-weight:700;color:#111;border-bottom:1px solid #f0f0f0}.persona-modal-body{overflow-y:auto;padding:16px 20px;flex:1}.persona-modal-field{margin-bottom:14px}.persona-modal-field label{display:block;font-size:13px;color:#555;margin-bottom:6px;font-weight:500}.persona-modal-field input,.persona-modal-field select,.persona-modal-field textarea{width:100%;padding:10px 12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;box-sizing:border-box;background:#fafafa;outline:none;font-family:inherit}.persona-modal-field textarea{resize:vertical;min-height:70px}.persona-modal-footer{display:flex;gap:10px;padding:12px 20px 16px;border-top:1px solid #f0f0f0}.persona-modal-footer button{flex:1;padding:12px;border-radius:10px;font-size:15px;font-weight:600;border:none;cursor:pointer}.persona-modal-cancel{background:#f0f0f0;color:#555}.persona-modal-save{background:#07c160;color:#fff}.persona-modal-avatar-row{display:flex;align-items:center;gap:14px;margin-bottom:14px}.persona-modal-avatar{width:60px;height:60px;border-radius:50%;flex-shrink:0;background:#d1e8dc;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:#07c160;overflow:hidden;cursor:pointer}.persona-modal-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.persona-modal-avatar-hint{font-size:12px;color:#999}.persona-picker-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e0e0e0;border-radius:8px;background:#fafafa;cursor:pointer}.persona-picker-avatar{width:32px;height:32px;border-radius:50%;flex-shrink:0;background:#d1e8dc;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:#07c160;overflow:hidden}.persona-picker-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.persona-picker-text{flex:1;font-size:14px;color:#333}.persona-picker-text.placeholder{color:#bbb}.clock-settings-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:300;align-items:flex-end;justify-content:center}.clock-settings-overlay.open{display:flex}.clock-settings-box{background:#1c1c1e;border-radius:20px 20px 0 0;padding:20px 24px calc(20px + env(safe-area-inset-bottom));width:100%;max-width:480px}.clock-settings-title{font-size:16px;font-weight:600;color:#fff;margin-bottom:20px;text-align:center}.clock-settings-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.08);color:#ffffffd9;font-size:15px}.clock-settings-row input[type=color]{width:44px;height:30px;border:none;border-radius:8px;cursor:pointer;background:none;padding:0}.clock-settings-apply{width:100%;margin-top:20px;padding:14px;background:#07c160;color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer}.bd-preview-area{height:240px;flex-shrink:0;background:#ededed;overflow:hidden}#bd-chat-preview{padding:12px 8px;height:100%;overflow-y:auto;display:flex;flex-direction:column;gap:6px;box-sizing:border-box}#bd-chat-preview .message{margin:0}.bd-tabs{display:flex;border-bottom:1px solid #e8e8e8;background:#fff;flex-shrink:0}.bd-tab{flex:1;padding:10px 4px;font-size:13px;background:none;border:none;border-bottom:2px solid transparent;color:#888;cursor:pointer}.bd-tab.active{color:#07c160;border-bottom-color:#07c160;font-weight:600}.bd-panels{flex:1;overflow:hidden;position:relative;min-height:0}.bd-panel{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;padding:12px;display:flex;flex-direction:column;box-sizing:border-box}.bd-panel.hidden{display:none}.bd-ai-messages{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:8px;margin-bottom:8px;min-height:0}.bd-ai-msg{padding:8px 12px;border-radius:10px;font-size:13px;max-width:88%;line-height:1.5;word-break:break-word}.bd-ai-msg.user-msg{background:#07c160;color:#fff;align-self:flex-end;border-bottom-right-radius:3px}.bd-ai-msg.ai-msg{background:#f0f0f0;color:#333;align-self:flex-start;border-bottom-left-radius:3px}.bd-ai-input-row{display:flex;gap:8px;align-items:flex-end;flex-shrink:0}.bd-ai-input-row textarea{flex:1;padding:8px 12px;border:1px solid #e0e0e0;border-radius:18px;font-size:13px;resize:none;outline:none;line-height:1.4;font-family:inherit}.bd-ai-send-btn{width:34px;height:34px;background:#07c160;color:#fff;border:none;border-radius:50%;cursor:pointer;font-size:15px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.bd-ai-send-btn:disabled{background:#ccc;cursor:not-allowed}.bd-section-title{font-size:11px;font-weight:700;color:#aaa;text-transform:uppercase;letter-spacing:.5px;margin:12px 0 6px}.bd-section-title:first-child{margin-top:0}.bd-field-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}.bd-field-label{font-size:13px;color:#555;width:52px;flex-shrink:0}.bd-field-row input[type=color]{width:34px;height:26px;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;padding:2px;flex-shrink:0}.bd-field-row select{flex:1;padding:5px 8px;border:1px solid #e0e0e0;border-radius:6px;font-size:13px;background:#fff}.bd-radius-val{font-size:12px;color:#888;width:32px;text-align:right;flex-shrink:0}.bd-code-editor{width:100%;flex:1;min-height:180px;font-family:monospace;font-size:11px;border:1px solid #e0e0e0;border-radius:8px;padding:8px;resize:none;outline:none;line-height:1.5;box-sizing:border-box}.bd-code-buttons{display:flex;gap:8px;margin-top:8px;flex-shrink:0}.bd-code-btn{flex:1;padding:8px;font-size:13px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;color:#333;cursor:pointer}.bd-code-btn.primary{background:#07c160;color:#fff;border-color:#07c160}.bp-plaza-card{display:flex;align-items:center;gap:10px;background:#fff;border-radius:10px;padding:10px;margin-bottom:8px;box-shadow:0 1px 3px #0000000f}.bp-plaza-preview{width:80px;height:60px;border-radius:8px;flex-shrink:0;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:6px;box-sizing:border-box}.bp-plaza-msg{display:flex}.bp-plaza-msg-ai{justify-content:flex-start}.bp-plaza-msg-user{justify-content:flex-end}.bp-plaza-bubble{font-size:10px;padding:3px 6px;border-radius:6px;color:#333;max-width:90%;white-space:nowrap;overflow:hidden}.bp-plaza-info{flex:1;min-width:0}.bp-plaza-name{font-size:14px;font-weight:600;color:#222;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bp-plaza-meta{font-size:11px;color:#aaa;margin-bottom:2px}.bp-plaza-desc{font-size:11px;color:#888;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bp-plaza-use-btn{flex-shrink:0;padding:6px 14px;background:#07c160;color:#fff;border:none;border-radius:14px;font-size:13px;cursor:pointer}.contacts-search-bar{background-color:#ededed;padding:8px 12px}.contacts-search-inner{background-color:#fff;border-radius:6px;padding:6px 12px;display:flex;align-items:center;gap:8px}.contacts-search-inner input{border:none;outline:none;flex:1;font-size:14px;background:transparent;color:#000}.contacts-func-section{background:#fff;margin-bottom:8px}.contacts-func-item{display:flex;align-items:center;padding:12px 16px;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.contacts-func-item:active{background:#f5f5f5}.contacts-func-item+.contacts-func-item{border-top:1px solid #f0f0f0}.contacts-func-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-right:12px;flex-shrink:0}.contacts-func-label{flex:1;font-size:16px;color:#000}.contacts-func-arrow{color:#bbb;font-size:20px;line-height:1}.contacts-section-header{background:#f7f7f7;padding:4px 16px;font-size:12px;color:#888;font-weight:500;line-height:20px}.contacts-item{display:flex;align-items:center;padding:10px 16px;background:#fff;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;position:relative}.contacts-item:active{background:#f0f0f0}.contacts-item:after{content:"";position:absolute;bottom:0;left:68px;right:0;height:.5px;background:#e0e0e0}.contacts-item:last-child:after{display:none}.contacts-item-avatar{width:40px;height:40px;border-radius:6px;overflow:hidden;flex-shrink:0;margin-right:12px;display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff;font-weight:500}.contacts-item-avatar img{width:100%;height:100%;object-fit:cover;display:block}.contacts-item-name{font-size:16px;color:#000;flex:1}.contacts-letter-index{position:fixed;right:2px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;z-index:200;user-select:none;-webkit-user-select:none}.contacts-letter-index span{font-size:11px;color:#888;line-height:1.6;padding:0 5px;cursor:pointer;-webkit-tap-highlight-color:transparent;display:block}.contacts-letter-index span.active{color:#07c160;font-weight:600}.contacts-letter-popup{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:64px;height:64px;background:#0000008c;border-radius:12px;display:none;align-items:center;justify-content:center;font-size:30px;color:#fff;font-weight:700;z-index:9999;pointer-events:none}.contacts-empty{padding:80px 20px;text-align:center;color:#bbb;font-size:14px}.cp-header{background:#fff;padding:20px 16px 18px;display:flex;align-items:flex-start;gap:16px;border-bottom:8px solid #f7f7f7}.cp-avatar{width:64px;height:64px;border-radius:8px;overflow:hidden;flex-shrink:0;position:relative;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:28px;color:#fff;font-weight:500}.cp-avatar img{width:100%;height:100%;object-fit:cover;display:block}.cp-avatar-mask{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000004d;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;opacity:0;transition:opacity .15s}.cp-avatar:active .cp-avatar-mask{opacity:1}.cp-header-info{flex:1;min-width:0;padding-top:2px}.cp-nickname{font-size:20px;font-weight:600;color:#000;margin-bottom:6px;word-break:break-all}.cp-info-line{font-size:13px;color:#888;margin-top:3px}.cp-section{background:#fff}.cp-row{display:flex;align-items:center;padding:14px 16px;cursor:pointer;-webkit-tap-highlight-color:transparent;border-bottom:.5px solid #f0f0f0}.cp-row:last-child{border-bottom:none}.cp-row:active{background:#f5f5f5}.cp-row--disabled{cursor:default;opacity:.45}.cp-row--disabled:active{background:transparent}.cp-row-icon{width:32px;height:32px;border-radius:7px;flex-shrink:0;margin-right:12px;display:flex;align-items:center;justify-content:center}.cp-row-icon--friend{background:#07c160}.cp-row-icon--moments{background:#fa9d3b}.cp-row-body{flex:1;min-width:0}.cp-row-label{font-size:16px;color:#000}.cp-row-sub{font-size:12px;color:#aaa;margin-top:2px;line-height:1.4}.cp-row-arrow{color:silver;font-size:20px;line-height:1;flex-shrink:0;margin-left:6px}.cp-actions{padding:24px 16px 16px;display:flex;gap:12px}.cp-action-btn{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:13px 8px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;color:#333;cursor:pointer;-webkit-tap-highlight-color:transparent;box-shadow:0 1px 3px #0000000a}.cp-action-btn:active{background:#f5f5f5}.cm-section{background:#fff;margin-bottom:8px}.cm-section-title{font-size:12px;color:#888;padding:12px 16px 6px}.cm-row{display:flex;align-items:center;padding:13px 16px;border-bottom:.5px solid #f0f0f0;min-height:50px}.cm-row:last-child{border-bottom:none}.cm-row--disabled{opacity:.4;pointer-events:none}.cm-row--col{flex-direction:column;align-items:flex-start;gap:8px}.cm-label{font-size:15px;color:#000;width:72px;flex-shrink:0}.cm-row--col .cm-label{width:auto;color:#888;font-size:13px}.cm-input{flex:1;border:none;outline:none;font-size:15px;color:#000;background:transparent;text-align:right}.cm-textarea{width:100%;border:none;outline:none;font-size:14px;color:#333;background:transparent;resize:none;line-height:1.6;box-sizing:border-box}.cm-placeholder{flex:1;font-size:14px;color:#ccc;text-align:right}.cm-row-right{flex:1;font-size:14px;color:#aaa;text-align:right}.cm-arrow{color:silver;font-size:20px;margin-left:6px}.cm-add-row{display:flex;align-items:center;padding:13px 16px;cursor:pointer;-webkit-tap-highlight-color:transparent}.cm-add-row:active{background:#f5f5f5}.cm-tag-group{display:flex;flex-wrap:wrap;gap:8px;padding:2px 0 4px}.cm-tag{display:inline-flex;align-items:center;padding:5px 11px;border:1px solid #e0e0e0;border-radius:16px;font-size:13px;color:#555;cursor:pointer;-webkit-user-select:none;user-select:none;transition:border-color .15s,background .15s;-webkit-tap-highlight-color:transparent}.cm-tag--sel{border-color:#07c160;background:#f0faf4;color:#07c160;font-weight:500}.cm-tag--add{border-style:dashed;color:#07c160;border-color:#07c160}.cm-tag-input{border:1px solid #07c160;border-radius:16px;padding:5px 11px;font-size:13px;outline:none;width:90px}body.wechat-dark .cm-section{background:#1c1c1e}body.wechat-dark .cm-row{border-color:#2c2c2e}body.wechat-dark .cm-label{color:#e5e5ea}body.wechat-dark .cm-row--col .cm-label{color:#666}body.wechat-dark .cm-input,body.wechat-dark .cm-textarea{color:#e5e5ea}body.wechat-dark .contacts-search-bar{background:#111}body.wechat-dark .contacts-search-inner{background:#2c2c2e}body.wechat-dark .contacts-search-inner input{color:#e5e5ea}body.wechat-dark .contacts-func-section,body.wechat-dark .contacts-item,body.wechat-dark .cp-header,body.wechat-dark .cp-section,body.wechat-dark .cp-actions,body.wechat-dark .cp-action-btn{background:#1c1c1e}body.wechat-dark .cp-header{border-bottom-color:#2c2c2e}body.wechat-dark .contacts-func-label,body.wechat-dark .contacts-item-name,body.wechat-dark .cp-nickname,body.wechat-dark .cp-row-label{color:#e5e5ea}body.wechat-dark .contacts-section-header{background:#111;color:#666}body.wechat-dark .contacts-item:after,body.wechat-dark .contacts-func-item+.contacts-func-item,body.wechat-dark .cp-row{border-color:#2c2c2e}body.wechat-dark .contacts-letter-index span{color:#8e8e93}body.wechat-dark .cp-info-line,body.wechat-dark .cp-row-sub,body.wechat-dark .cp-row-arrow{color:#636366}body.wechat-dark .cp-action-btn{border-color:#3a3a3c;color:#e5e5ea}body.wechat-dark #contact-profile-page>.content,body.wechat-dark #char-manage-page>.content,body.wechat-dark #worldbook-manage-page>.content{background:#111!important}body.wechat-dark .contacts-func-item:active{background:#2a2a2a!important}body.wechat-dark .contacts-func-arrow{color:#636366}body.wechat-dark .cm-section-title,body.wechat-dark .cm-placeholder,body.wechat-dark .cm-row-right,body.wechat-dark .cm-arrow{color:#636366!important}body.wechat-dark .cm-add-row:active,body.wechat-dark .cp-row:active{background:#2a2a2a!important}body.wechat-dark #cm-publish-inner{background:#1c1c1e!important}body.wechat-dark #cm-publish-inner div[style*="color:#000"],body.wechat-dark #cm-publish-inner div[style*="color: #000"]{color:#e5e5ea!important}body.wechat-dark #cm-publish-inner div[style*="color:#555"],body.wechat-dark #cm-publish-inner div[style*="color: #555"]{color:#8e8e93!important}body.wechat-dark #cm-publish-inner div[style*="color:#333"],body.wechat-dark #cm-publish-inner div[style*="color: #333"],body.wechat-dark #cm-publish-inner span[style*="color:#333"]{color:#e5e5ea!important}body.wechat-dark #cm-publish-author{background:#2c2c2e!important;border-color:#3a3a3c!important;color:#e5e5ea!important}body.wechat-dark #cm-publish-inner button[style*="background:#f5f5f5"]{background:#2c2c2e!important;color:#e5e5ea!important}a.nav-item,a.character-list-item,a.contacts-item,a.cp-action-btn{text-decoration:none;color:inherit}.contacts-letter-index button{font-size:11px;color:#888;line-height:1.6;padding:0 5px;cursor:pointer;display:block;background:none;border:none;font-family:inherit}.contacts-letter-index button.active{color:#07c160;font-weight:600}button.me-list-item{width:100%;border:none;background:#fff;font:inherit;text-align:left}.app-toast{position:fixed;left:50%;bottom:18%;transform:translate(-50%);z-index:3000;padding:10px 18px;border-radius:8px;background:#000000bf;color:#fff;font-size:14px;pointer-events:none}.desktop-page-dot{padding:0;border:none}.desktop-widget-placeholder{width:100%;height:100%;border-radius:14px;background:#ffffff1f;box-sizing:border-box}.desktop-pages-outer{touch-action:pan-y}.dock-item,.app-icon{border:none;padding:0;overflow:hidden}.settings-plain{border:0;background:transparent;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer}.settings-full{width:100%;box-sizing:border-box}button.sys-card{background:#fff;padding:18px}button.sys-checkin-card{background:linear-gradient(135deg,#7c3aed,#5b21b6)}.settings-avatar{border:0;padding:0;cursor:pointer;overflow:hidden;flex-shrink:0}.settings-avatar img{width:100%;height:100%;object-fit:cover}.settings-profile-avatar{margin:0 auto 20px;width:72px;height:72px}.settings-modal-actions{display:flex;gap:10px;margin-top:16px}.settings-modal-actions>button{flex:1}.settings-error{color:#e5484d;font-size:13px;padding:8px 16px}.settings-message{color:#999;font-size:14px;padding:20px;text-align:center}.header{min-height:calc(52px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;background:#ededed;border-bottom:1px solid rgba(0,0,0,.08)}.header>.header-title{color:#181818;font-size:17px;font-weight:500;letter-spacing:.01em}.header>button:first-child{width:44px;min-width:44px;height:52px;display:grid;place-items:center;padding:0}.header>button:first-child svg{width:11px;height:19px}.header>span:last-child:not(.header-title){min-width:44px;text-align:right}.chat-details-page,.character-profile-page{background:#f5f6f8}.chat-details-page .header,.character-profile-header{background:#fafbfce0;border-bottom-color:#0000000a;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.chat-details-content{overflow-y:auto;padding:18px max(16px,calc((100% - 720px)/2)) 32px}.chat-details-profile{display:flex;align-items:center;gap:17px;padding:22px;margin-bottom:16px;border:1px solid rgba(25,35,30,.045);border-radius:22px;background:#fffffff0;box-shadow:0 8px 28px #202d260b;color:inherit;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}.chat-details-profile:hover{transform:translateY(-2px);box-shadow:0 12px 32px #202d2614}.chat-details-profile:active{transform:scale(.985)}.chat-details-avatar{width:72px;height:72px;flex-shrink:0;overflow:hidden;border-radius:20px;color:#fff;display:grid;place-items:center;font-size:28px;font-weight:600;box-shadow:inset 0 0 0 1px #ffffff38}.chat-details-avatar img{width:100%;height:100%;object-fit:cover}.chat-details-profile-text{min-width:0;flex:1}.chat-details-profile-text h1{margin:0;font-size:21px;line-height:1.35;font-weight:600;letter-spacing:-.3px;color:#202522}.chat-details-profile-text p{margin:7px 0 0;color:#929a95;font-size:13px}.chat-details-chevron{color:#bdc3bf;font-size:25px;line-height:1;font-weight:300}.chat-details-group{overflow:hidden;border:1px solid rgba(25,35,30,.045);border-radius:20px;background:#fffffff5;box-shadow:0 5px 22px #202d2609}.chat-details-row{width:100%;min-height:66px;box-sizing:border-box;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:transparent;color:#303632;font:inherit;font-size:15px;text-align:left;text-decoration:none;cursor:pointer;transition:background .16s ease}.chat-details-row+.chat-details-row{border-top:1px solid #f0f2f0}.chat-details-row:hover{background:#fafcfb}.chat-details-row:active{background:#f3f7f4}.chat-details-row-label{display:flex;align-items:center;gap:13px;font-weight:500}.chat-details-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center}.chat-details-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.chat-details-icon.model{color:#158c55;background:#e9f7ef}.chat-details-icon.search{color:#56758f;background:#edf3f8}.chat-details-row-value{min-width:0;display:flex;align-items:center;gap:10px;color:#929a95;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-details-footnote{margin:16px 0 0;color:#a4aaa6;font-size:12px;text-align:center}.chat-details-loading{padding:60px 24px;display:grid;gap:14px}.chat-details-loading span{display:block;height:90px;border-radius:22px;background:linear-gradient(100deg,#ecefed 30%,#f7f9f7,#ecefed 70%);background-size:240% 100%;animation:chat-details-shimmer 1.4s infinite}.chat-details-loading span:last-child{height:132px}.chat-details-load-error{margin:60px auto;max-width:360px;text-align:center;color:#8a918d;font-size:14px}.chat-details-load-error button{border:0;border-radius:12px;padding:10px 22px;background:#fff;color:#168b52;font:inherit;cursor:pointer}.model-picker-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3100;display:flex;align-items:flex-end;justify-content:center;background:#1219155c;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);animation:model-picker-fade .2s ease-out}.model-picker-sheet{width:100%;max-height:min(82dvh,680px);box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;border-radius:26px 26px 0 0;background:#f8faf9;box-shadow:0 -12px 60px #00000026;animation:model-picker-rise .28s cubic-bezier(.22,.8,.3,1)}.model-picker-handle{width:38px;height:4px;flex-shrink:0;margin:9px auto 2px;border-radius:4px;background:#d5dad7}.model-picker-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 22px 14px}.model-picker-header h2{margin:0;color:#202522;font-size:21px;line-height:1.4;font-weight:650;letter-spacing:-.3px}.model-picker-header p{margin:5px 0 0;color:#969e99;font-size:12px}.model-picker-close{width:32px;height:32px;flex-shrink:0;border:0;border-radius:50%;background:#ecefed;color:#737c76;font-size:23px;line-height:1;cursor:pointer}.model-picker-list{min-height:120px;overflow-y:auto;padding:4px 16px 12px}.model-option{width:100%;display:flex;align-items:center;gap:13px;margin-top:9px;padding:15px;box-sizing:border-box;border:1.5px solid transparent;border-radius:17px;background:#fff;color:#303632;font:inherit;text-align:left;cursor:pointer;box-shadow:0 3px 12px #202d2606;transition:border-color .18s ease,background .18s ease,transform .18s ease}.model-option:hover{transform:translateY(-1px);border-color:#cce8d8}.model-option.selected{border-color:#42ad76;background:#f1faf5}.model-option-mark{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;border-radius:14px;background:#edf1ee;color:#637068;font-size:16px;font-weight:650}.model-option.selected .model-option-mark{background:#dff3e8;color:#168b52}.model-option-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.model-option-copy strong{font-size:15px;font-weight:600}.model-option-copy small{overflow:hidden;color:#969e99;font-size:12px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.model-option-check{width:23px;height:23px;flex-shrink:0;display:grid;place-items:center;border:1.5px solid #dfe4e1;border-radius:50%}.model-option.selected .model-option-check{border-color:#20a365;background:#20a365;color:#fff}.model-option-check svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.model-picker-footer{padding:12px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid rgba(30,45,36,.055);background:#ffffffbf}.model-picker-save{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:15px;background:#168b52;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer;box-shadow:0 6px 16px #168b522e;transition:background .18s ease,transform .18s ease}.model-picker-save:not(:disabled):active{transform:scale(.985);background:#107544}.model-picker-save:disabled{background:#d8deda;color:#929a95;box-shadow:none;cursor:default}.model-picker-error{margin:0;padding:0 20px 10px;color:#c84b4b;font-size:12px;text-align:center}.model-picker-message{padding:32px 16px;color:#8a918d;text-align:center;font-size:13px}.model-picker-message button{border:0;background:transparent;color:#168b52;font:inherit;cursor:pointer}.model-picker-loading{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;padding:45px 0;color:#929a95;font-size:12px}.model-picker-loading span{width:7px;height:7px;border-radius:50%;background:#68b58d;animation:model-picker-dot 1s infinite alternate}.model-picker-loading span:nth-child(2){animation-delay:.2s}.model-picker-loading span:nth-child(3){animation-delay:.4s}.model-picker-loading p{width:100%;margin:8px 0 0;text-align:center}.model-picker-spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:model-picker-spin .7s linear infinite}.character-profile-content{overflow-y:auto;padding:18px max(16px,calc((100% - 720px)/2)) 32px}.character-profile-hero{position:relative;isolation:isolate;overflow:hidden;padding:38px 24px 30px;border:1px solid rgba(25,35,30,.045);border-radius:24px;background:#fffffff2;text-align:center;box-shadow:0 8px 28px #202d260b}.character-profile-glow{position:absolute;z-index:-1;top:-80px;left:50%;width:260px;height:190px;transform:translate(-50%);border-radius:50%;opacity:.12;filter:blur(40px)}.character-profile-avatar{width:104px;height:104px;margin:0 auto 18px;display:grid;place-items:center;overflow:hidden;border:5px solid #fff;border-radius:30px;color:#fff;font-size:37px;font-weight:600;box-shadow:0 9px 28px #25342b24}.character-profile-avatar img{width:100%;height:100%;object-fit:cover}.character-profile-hero h1{margin:0;color:#202522;font-size:25px;font-weight:650;letter-spacing:-.4px}.character-profile-hero p{max-width:440px;margin:12px auto 0;color:#69736c;font-size:14px;line-height:1.75;overflow-wrap:anywhere}.character-profile-hero p.empty{color:#a4aaa6}.character-prompt-card{margin-top:16px;overflow:hidden;border:1px solid rgba(25,35,30,.045);border-radius:20px;background:#fff}.character-prompt-card>button{width:100%;display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border:0;background:transparent;color:#303632;font:inherit;text-align:left;cursor:pointer}.character-prompt-card>button>span:first-child{display:flex;flex-direction:column;gap:5px}.character-prompt-card small{color:#9aa19c;font-size:11px}.character-prompt-card strong{font-size:15px;font-weight:550}.character-prompt-toggle{display:flex;align-items:center;gap:7px;color:#929a95;font-size:12px}.character-prompt-toggle i{display:inline-block;font-size:17px;font-style:normal;transition:transform .22s ease}.character-prompt-card.expanded .character-prompt-toggle i{transform:rotate(180deg)}.character-prompt-collapse{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .28s ease,visibility .28s}.character-prompt-card.expanded .character-prompt-collapse{grid-template-rows:1fr;visibility:visible}.character-prompt-collapse>div{min-height:0;overflow:hidden}.character-prompt-collapse p{margin:0 20px;padding:17px 0 22px;border-top:1px solid #f0f2f0;color:#667069;font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.character-profile-loading{padding:40px 0;text-align:center}.character-profile-loading span{display:inline-block;width:8px;height:8px;margin:4px;border-radius:50%;background:#83b99b;animation:model-picker-dot 1s infinite alternate}.character-profile-loading span:nth-child(2){animation-delay:.2s}.character-profile-loading span:nth-child(3){animation-delay:.4s}.chat-details-icon.memory{color:#887047;background:#f8f1e5}.chat-details-icon.identity{color:#846b91;background:#f4eef7}.chat-details-icon.records{color:#547c79;background:#eaf4f2}.chat-details-icon.proactive{color:#9a7355;background:#f7f0e9}.chat-identity-page{background:#f5f6f8}.chat-identity-page .header{background:#fafbfce0;border-bottom-color:#0000000a;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.chat-identity-content{overflow-y:auto;padding:25px max(16px,calc((100% - 720px)/2)) 36px}.identity-intro{padding:3px 5px 24px}.identity-intro>span{color:#789180;font-size:12px;font-weight:600}.identity-intro h1{margin:7px 0 8px;color:#252b27;font-size:27px;line-height:1.35;font-weight:650;letter-spacing:-.6px}.identity-intro p{margin:0;color:#8a938d;font-size:13px;line-height:1.7}.identity-section{margin-bottom:17px}.identity-section-heading{display:flex;align-items:center;justify-content:space-between;padding:0 5px;margin-bottom:11px}.identity-section-heading h2{margin:0;color:#3c453f;font-size:14px;font-weight:600}.identity-section-heading>span{color:#9ba39d;font-size:11px}.identity-choice-list{display:grid;gap:10px}.identity-choice{width:100%;display:flex;align-items:center;gap:14px;padding:15px;box-sizing:border-box;border:1.5px solid rgba(25,35,30,.045);border-radius:18px;background:#fff;color:#303632;font:inherit;text-align:left;cursor:pointer;box-shadow:0 4px 18px #202d2606;transition:border-color .18s ease,transform .18s ease,background .18s ease}.identity-choice:hover{transform:translateY(-1px);border-color:#c9dfd1}.identity-choice.selected{border-color:#54ac7c;background:#f4faf6}.identity-choice-avatar{width:46px;height:46px;flex-shrink:0;display:grid;place-items:center;overflow:hidden;border-radius:15px;color:#fff;font-size:18px;font-weight:600}.identity-choice-avatar.plain{background:#e9eeeb;color:#7c8880}.identity-choice-avatar img{width:100%;height:100%;object-fit:cover}.identity-choice>span:nth-child(2){min-width:0;flex:1}.identity-choice strong{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600}.identity-choice strong em{padding:2px 5px;border-radius:5px;background:#e6f3eb;color:#55906c;font-size:9px;font-style:normal;font-weight:500}.identity-choice small{display:block;overflow:hidden;margin-top:5px;color:#969e99;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.identity-choice>i{width:22px;height:22px;display:grid;place-items:center;flex-shrink:0;border:1.5px solid #dfe4e1;border-radius:50%;color:#fff;font-size:12px;font-style:normal}.identity-choice.selected>i{border-color:#20a365;background:#20a365}.identity-relation-section{padding:19px;box-sizing:border-box;border:1px solid rgba(25,35,30,.045);border-radius:20px;background:#fff}.identity-relation-section .identity-section-heading{padding:0;margin-bottom:18px}.identity-field{position:relative;display:block;margin-top:15px}.identity-field>span{display:block;margin:0 0 8px 2px;color:#7c867f;font-size:12px}.identity-field input,.identity-field textarea{width:100%;box-sizing:border-box;border:1px solid #e6eae7;border-radius:13px;outline:0;background:#f9fbfa;color:#303632;font:inherit;font-size:14px;line-height:1.7;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.identity-field input{height:45px;padding:0 13px}.identity-field textarea{padding:11px 13px 25px;resize:vertical;min-height:110px}.identity-field input:focus,.identity-field textarea:focus{border-color:#79b395;background:#fff;box-shadow:0 0 0 3px #30915b14}.identity-field>small{position:absolute;right:11px;bottom:8px;color:#b0b6b2;font-size:9px}.identity-save{width:100%;min-height:49px;margin-top:5px;border:0;border-radius:15px;background:#168b52;color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 6px 16px #168b5229}.identity-save:disabled{background:#dde3df;color:#969e99;box-shadow:none;cursor:default}.identity-save-error{color:#c84b4b;font-size:12px;text-align:center}@media(prefers-reduced-motion:reduce){.identity-choice,.identity-field input,.identity-field textarea{transition:none}}.chat-records-page{background:#f5f6f8}.chat-records-page .header{background:#fafbfce0;border-bottom-color:#0000000a;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.chat-records-content{overflow-y:auto;padding:26px max(16px,calc((100% - 720px)/2)) 36px}.records-intro{padding:4px 5px 25px}.records-intro>span{color:#789180;font-size:12px;font-weight:600}.records-intro h1{margin:8px 0 11px;color:#252b27;font-size:29px;line-height:1.35;font-weight:650;letter-spacing:-.7px}.records-intro p{margin:0;color:#8a938d;font-size:12px;line-height:1.75}.records-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.records-action{position:relative;min-height:164px;display:flex;flex-direction:column;align-items:flex-start;padding:18px;border:1px solid rgba(25,35,30,.045);border-radius:21px;background:#fff;color:#303632;font:inherit;text-align:left;cursor:pointer;box-shadow:0 5px 20px #202d2609;transition:transform .18s ease,box-shadow .18s ease}.records-action:hover{transform:translateY(-2px);box-shadow:0 9px 26px #202d2612}.records-action:active{transform:scale(.98)}.records-action:disabled{opacity:.6;cursor:default;transform:none}.records-action-icon{width:41px;height:41px;display:grid;place-items:center;margin-bottom:18px;border-radius:13px}.records-action.export .records-action-icon{background:#eaf6ef;color:#258556}.records-action.import .records-action-icon{background:#edf2f8;color:#5b7a9a}.records-action-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.records-action strong{font-size:15px;font-weight:600}.records-action small{margin-top:6px;color:#969e99;font-size:10px;line-height:1.55}.records-action>i{position:absolute;top:19px;right:18px;color:#b3bbb5;font-size:18px;font-style:normal}.records-management-card{margin-top:16px;overflow:hidden;border:1px solid rgba(25,35,30,.045);border-radius:20px;background:#fff}.records-management-card>a,.records-management-card>button{width:100%;min-height:71px;display:flex;align-items:center;justify-content:space-between;gap:15px;box-sizing:border-box;padding:15px 18px;border:0;background:transparent;color:#303632;font:inherit;text-align:left;text-decoration:none;cursor:pointer}.records-management-card>*+*{border-top:1px solid #f0f2f0}.records-management-card strong{display:block;font-size:14px;font-weight:550}.records-management-card small{display:block;margin-top:6px;color:#9aa29c;font-size:10px;line-height:1.5}.records-management-card i{color:#bdc3bf;font-size:23px;font-style:normal}.records-management-card .records-clear strong{color:#bd5a5a}.records-page-error{color:#c84b4b;font-size:12px;line-height:1.6;text-align:center}.records-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3300;display:flex;align-items:flex-end;justify-content:center;background:#12191561;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);animation:model-picker-fade .2s ease-out}.records-preview-dialog,.records-clear-dialog{width:100%;box-sizing:border-box;padding:27px 22px calc(20px + env(safe-area-inset-bottom));border-radius:26px 26px 0 0;background:#fff;box-shadow:0 -12px 60px #00000026;animation:model-picker-rise .25s ease-out}.records-file-icon{width:52px;height:58px;display:grid;place-items:center;margin-bottom:18px;border-radius:10px 15px 10px 10px;background:#edf4ef;color:#568169;font-size:10px;font-weight:700;letter-spacing:.5px}.records-preview-dialog h2,.records-clear-dialog h2{margin:0;color:#303632;font-size:20px;line-height:1.5;font-weight:650}.records-file-name{margin:6px 0 17px;color:#9aa29c;font-size:11px;overflow-wrap:anywhere}.records-preview-list{overflow:hidden;border-radius:14px;background:#f6f8f6}.records-preview-list>div{display:flex;gap:10px;padding:11px 13px;font-size:11px}.records-preview-list>div+div{border-top:1px solid #e9eeea}.records-preview-list span{flex-shrink:0;color:#7c8b80}.records-preview-list p{min-width:0;overflow:hidden;margin:0;color:#626d65;text-overflow:ellipsis;white-space:nowrap}.records-preview-note,.records-clear-dialog>p{color:#8d958f;font-size:12px;line-height:1.75}.records-dialog-actions{display:grid;grid-template-columns:1fr 1.6fr;gap:10px;margin-top:20px}.records-dialog-actions button{min-height:46px;border:0;border-radius:14px;background:#ecefed;color:#68716b;font:inherit;font-size:14px;font-weight:550;cursor:pointer}.records-dialog-actions button.primary{background:#168b52;color:#fff}.records-dialog-actions button.danger{background:#d85858;color:#fff}.records-dialog-actions button:disabled{opacity:.55;cursor:default}.records-clear-dialog{text-align:center}.records-clear-symbol{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 15px;border-radius:50%;background:#fff0f0;color:#cf6666;font-size:23px;font-weight:500}.records-clear-dialog .records-dialog-actions{grid-template-columns:1fr 1fr}@media(min-width:640px){.records-dialog-overlay{align-items:center;padding:24px}.records-preview-dialog,.records-clear-dialog{width:min(440px,100%);border-radius:26px;padding-bottom:22px;animation-name:model-picker-pop}}@media(prefers-reduced-motion:reduce){.records-action{transition:none}.records-dialog-overlay,.records-preview-dialog,.records-clear-dialog{animation:none}}.chat-memory-page{background:#f5f6f8}.chat-memory-page .header{background:#fafbfce0;border-bottom-color:#0000000a;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.chat-memory-content{overflow-y:auto;padding:25px max(16px,calc((100% - 720px)/2)) 36px}.memory-intro{padding:3px 5px 23px}.memory-intro-eyebrow{color:#789180;font-size:12px;font-weight:600;letter-spacing:.5px}.memory-intro h1{margin:7px 0 8px;color:#252b27;font-size:27px;line-height:1.35;font-weight:650;letter-spacing:-.6px}.memory-intro p{max-width:500px;margin:0;color:#8a938d;font-size:13px;line-height:1.7}.memory-tabs{display:flex;gap:5px;padding:5px;margin-bottom:17px;border-radius:15px;background:#eaeeeb}.memory-tabs button{flex:1;min-width:0;min-height:38px;display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:11px;background:transparent;color:#7c8580;font:inherit;font-size:13px;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}.memory-tabs button.active{background:#fff;color:#29332d;font-weight:600;box-shadow:0 2px 8px #23322812}.memory-tabs button span{min-width:18px;padding:1px 5px;border-radius:8px;background:#64736914;font-size:10px}.memory-tab-content{animation:memory-tab-enter .22s ease-out}.memory-event-list,.memory-basic-list{display:grid;gap:15px}.memory-event-search{min-height:46px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid rgba(25,35,30,.055);border-radius:15px;background:#fff;box-shadow:0 3px 14px #202d2606;transition:border-color .18s ease,box-shadow .18s ease}.memory-event-search:focus-within{border-color:#9bbcac;box-shadow:0 0 0 3px #30915b0f}.memory-event-search svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:#91a097;stroke-width:1.7;stroke-linecap:round}.memory-event-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#38423b;font:inherit;font-size:13px}.memory-event-search input::placeholder{color:#a2aaa5}.memory-event-search button{width:27px;height:27px;border:0;border-radius:50%;background:#eef2ef;color:#879189;font-size:17px;cursor:pointer}.memory-event-result-count{margin:10px 4px 13px;color:#9aa29c;font-size:10px}.memory-event-card{padding:20px;border:1px solid rgba(25,35,30,.045);border-radius:20px;background:#fff;box-shadow:0 5px 20px #202d2609}.memory-event-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}.memory-event-type{padding:4px 8px;border-radius:7px;background:#eef3f7;color:#698195;font-size:10px;font-weight:600}.memory-event-type.relationship{background:#f7eeef;color:#a3747d}.memory-important{padding:3px 7px;border-radius:7px;background:#faf4e8;color:#ad8b4f;font-size:10px}.memory-event-card h2{margin:12px 0 5px;color:#303632;font-size:17px;line-height:1.45;font-weight:600}.memory-event-meta{display:flex;flex-wrap:wrap;gap:7px;color:#a0a7a2;font-size:10px;line-height:1.5}.memory-event-meta span+span:before{margin-right:7px;content:"·"}.memory-event-content{margin:14px 0 0;color:#626d65;font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.memory-event-content.clamped{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}.memory-event-card footer{display:flex;justify-content:flex-end;margin-top:15px;padding-top:12px;border-top:1px solid #f0f2f0}.memory-event-card footer>div{display:flex;gap:5px}.memory-event-card button,.memory-basic-item button,.memory-profile-card button{min-height:30px;border:0;border-radius:8px;padding:6px 9px;background:#f3f6f4;color:#68756d;font:inherit;font-size:11px;cursor:pointer}.memory-event-card button.danger,.memory-basic-item button.danger,.memory-profile-card button.danger{background:transparent;color:#b4a0a0}.memory-event-card .memory-event-expand{min-height:27px;display:flex;align-items:center;gap:5px;margin-top:7px;padding:3px 0;background:transparent;color:#789180}.memory-event-expand span{font-size:10px}.memory-event-thought{margin-top:13px;overflow:hidden;border:1px solid #edf0ed;border-radius:12px;background:#f8faf8}.memory-event-thought summary{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;color:#829087;font-size:11px;cursor:pointer;list-style:none}.memory-event-thought summary::-webkit-details-marker{display:none}.memory-event-thought summary span{font-size:15px;transition:transform .18s ease}.memory-event-thought[open] summary span{transform:rotate(45deg)}.memory-event-thought p{margin:0;padding:0 12px 12px;color:#77827a;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.memory-basic-group{--group-icon-bg: #edf2ef;--group-icon-color: #72877a;overflow:hidden;border:1px solid rgba(25,35,30,.045);border-radius:21px;background:#fff;box-shadow:0 5px 20px #202d2608}.memory-basic-group.interests{--group-icon-bg: #f8ece5;--group-icon-color: #b47e61}.memory-basic-group.people{--group-icon-bg: #e9f1f6;--group-icon-color: #668ba1}.memory-basic-group.profile{--group-icon-bg: #e8f1eb;--group-icon-color: #6f9079}.memory-basic-group.other{--group-icon-bg: #f0ebf5;--group-icon-color: #8c7da1}.memory-basic-group-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:18px}.memory-basic-group-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:var(--group-icon-bg);color:var(--group-icon-color)}.memory-basic-group-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.memory-basic-group-header h2{margin:0;color:#364039;font-size:15px;line-height:1.4;font-weight:600}.memory-basic-group-header p{margin:4px 0 0;color:#9aa29c;font-size:10px;line-height:1.5}.memory-basic-group-meta{display:flex;align-items:center;gap:8px}.memory-basic-group-meta small{color:#a0a8a2;font-size:10px;white-space:nowrap}.memory-interest-add{width:28px;height:28px;display:grid;place-items:center;border:1px solid #e7e0ed;border-radius:9px;background:#f8f5fa;color:#8a769b;font:inherit;font-size:19px;line-height:1;cursor:pointer;transition:background .18s ease,transform .18s ease}.memory-interest-add:hover{background:#f0e9f5;transform:rotate(90deg)}.memory-basic-group-items{border-top:1px solid #f0f2f0}.memory-basic-item{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:15px 18px;transition:background .18s ease}.memory-basic-item+.memory-basic-item{border-top:1px solid #f3f5f3}.memory-basic-item>div:first-child{min-width:0}.memory-basic-item small{display:block;margin-bottom:6px;color:#939c96;font-size:11px}.memory-basic-item p{margin:0;color:#3b433d;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.memory-basic-item>div:first-child{flex:1}.memory-interest-tags{display:flex;flex-wrap:wrap;gap:7px;padding-top:2px}.memory-interest-tags>span{max-width:100%;display:inline-flex;align-items:stretch;overflow:hidden;border:1px solid #ece9f2;border-radius:10px;background:linear-gradient(135deg,#faf8fc,#f5f3f9);color:#6f647c;font-size:12px;line-height:1.55;animation:memory-interest-enter .28s ease-out both;transition:border-color .18s ease,background .18s ease,transform .18s ease}.memory-interest-tags>span:hover{border-color:#ded6e8;background:#f6f1f9;transform:translateY(-1px)}.memory-interest-tags button{margin:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.memory-interest-edit{max-width:100%;padding:6px 7px 6px 10px;text-align:left;overflow-wrap:anywhere}.memory-interest-delete{width:25px;flex-shrink:0;padding:0 7px 1px 0;color:#b1a5b9!important;font-size:15px!important;text-align:right}.memory-interest-delete:hover{color:#a76f7d!important}.memory-basic-group-items>.memory-interest-empty{margin:0;padding:18px;color:#aaa2af;font-size:12px;line-height:1.6}@keyframes memory-interest-enter{0%{opacity:0;transform:translateY(4px)}}.memory-basic-actions{display:flex;flex-shrink:0;gap:3px}@media(hover:hover){.memory-basic-item:hover{background:#fbfcfb}.memory-basic-actions{opacity:0;transform:translate(4px);transition:opacity .18s ease,transform .18s ease}.memory-basic-item:hover .memory-basic-actions,.memory-basic-item:focus-within .memory-basic-actions{opacity:1;transform:none}}.memory-people-grid{display:grid;gap:10px;padding:14px;border-top:1px solid #edf1f3;background:linear-gradient(145deg,#f8fafc,#fbfbfd)}.memory-person-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;overflow:hidden;padding:15px;border:1px solid rgba(77,96,116,.07);border-radius:16px;background:#fffffff0;box-shadow:0 4px 14px #3e4f6009;animation:memory-person-enter .35s ease-out both;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.memory-person-card:after{position:absolute;top:-23px;right:-18px;width:65px;height:65px;border-radius:50%;background:#758fab0b;content:"";pointer-events:none}.memory-person-avatar-wrap{position:relative;width:44px;height:46px;display:grid;place-items:center}.memory-person-avatar{width:42px;height:42px;display:grid;place-items:center;border:3px solid #fff;border-radius:15px;color:#fff;font-size:16px;font-weight:550;box-shadow:0 3px 10px #3c4c5c21;transition:transform .22s ease}.memory-person-avatar-wrap i{position:absolute;right:-1px;bottom:0;width:9px;height:9px;border:2px solid #fff;border-radius:3px;background:#d4b477;transform:rotate(45deg)}.memory-person-copy{min-width:0}.memory-person-copy>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.memory-person-copy h3{margin:0;color:#3e4a54;font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.memory-person-copy>div>span{padding:2px 6px;border-radius:6px;background:#edf2f6;color:#7b8fa1;font-size:9px}.memory-person-copy p{margin:6px 0 0;color:#79848d;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.memory-person-actions{grid-column:2;display:flex;gap:4px;margin-top:-4px}.memory-person-actions button{min-height:26px;padding:3px 7px;border:0;border-radius:7px;background:#f0f4f6;color:#7c8b96;font:inherit;font-size:10px;cursor:pointer}.memory-person-actions button.danger{background:transparent;color:#b4a0a0}@keyframes memory-person-enter{0%{opacity:0;transform:translateY(7px) scale(.985)}}@media(hover:hover){.memory-person-card:hover{border-color:#668ba129;box-shadow:0 8px 22px #3e4f6012;transform:translateY(-2px)}.memory-person-card:hover .memory-person-avatar{transform:scale(1.06) rotate(-3deg)}}@media(min-width:620px){.memory-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.memory-profile-card{padding:25px 23px 18px;border:1px solid rgba(25,35,30,.045);border-radius:22px;background:linear-gradient(145deg,#fff 45%,#f2f8f4);box-shadow:0 5px 20px #202d2609}.memory-profile-label{color:#6f8b78;font-size:11px;font-weight:600;letter-spacing:1px}.memory-profile-card>p{margin:16px 0 22px;color:#4e5a52;font-size:15px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere}.memory-profile-card>div{display:flex;justify-content:flex-end;gap:5px;padding-top:12px;border-top:1px solid rgba(50,70,56,.06)}.memory-empty{padding:55px 24px;text-align:center}.memory-empty-illustration{position:relative;width:66px;height:66px;margin:0 auto 20px;display:block;border-radius:23px;background:#e9efeb;transform:rotate(-5deg)}.memory-empty-illustration i{position:absolute;left:20px;width:27px;height:2px;border-radius:2px;background:#a7b9ad}.memory-empty-illustration i:nth-child(1){top:23px}.memory-empty-illustration i:nth-child(2){top:33px;width:20px}.memory-empty-illustration i:nth-child(3){top:43px;width:24px}.memory-empty h2{margin:0;color:#59645c;font-size:16px;font-weight:550}.memory-empty p{max-width:290px;margin:10px auto 0;color:#9aa29c;font-size:12px;line-height:1.75}.memory-page-loading{padding:100px 0;text-align:center}.memory-page-loading span{display:inline-block;width:8px;height:8px;margin:4px;border-radius:50%;background:#83b99b;animation:model-picker-dot 1s infinite alternate}.memory-page-loading span:nth-child(2){animation-delay:.2s}.memory-page-loading span:nth-child(3){animation-delay:.4s}.memory-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3200;display:flex;align-items:flex-end;justify-content:center;padding:0;background:#1219155c;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);animation:model-picker-fade .2s ease-out}.memory-editor-sheet{width:100%;max-height:88dvh;overflow-y:auto;border-radius:26px 26px 0 0;background:#fafcfb;box-shadow:0 -12px 60px #00000026;animation:model-picker-rise .28s cubic-bezier(.22,.8,.3,1)}.memory-editor-header{display:flex;align-items:center;justify-content:space-between;padding:15px 22px 12px}.memory-editor-header h2{margin:0;color:#252b27;font-size:20px;font-weight:650}.memory-editor-header button{width:32px;height:32px;border:0;border-radius:50%;background:#ecefed;color:#737c76;font-size:23px;cursor:pointer}.memory-editor-sheet form{padding:4px 20px calc(18px + env(safe-area-inset-bottom))}.memory-field{display:block;margin-top:13px}.memory-field>span{display:block;margin:0 0 8px 3px;color:#78827b;font-size:12px;font-weight:500}.memory-field input,.memory-field textarea{width:100%;box-sizing:border-box;border:1px solid #e5eae6;border-radius:14px;outline:0;background:#fff;color:#303632;font:inherit;font-size:14px;line-height:1.7;transition:border-color .18s ease,box-shadow .18s ease}.memory-field input{height:47px;padding:0 14px}.memory-field textarea{min-height:140px;padding:12px 14px;resize:vertical}.memory-field input:focus,.memory-field textarea:focus{border-color:#79b395;box-shadow:0 0 0 3px #30915b14}.memory-editor-error{margin:12px 3px 0;color:#c84b4b;font-size:12px;line-height:1.6}.memory-editor-actions{display:grid;grid-template-columns:1fr 1.7fr;gap:10px;margin-top:20px}.memory-editor-actions button,.memory-delete-dialog>div:last-child button{min-height:46px;border:0;border-radius:14px;background:#ecefed;color:#68716b;font:inherit;font-size:14px;font-weight:550;cursor:pointer}.memory-editor-actions button.primary{background:#168b52;color:#fff;box-shadow:0 5px 15px #168b5229}.memory-editor-actions button:disabled{opacity:.5;cursor:default}.memory-delete-dialog{width:calc(100% - 40px);max-width:360px;box-sizing:border-box;margin:auto;padding:27px 24px 20px;border-radius:24px;background:#fff;text-align:center;box-shadow:0 18px 70px #0000002e;animation:model-picker-pop .22s ease-out}.memory-delete-symbol{width:46px;height:46px;margin:0 auto 15px;display:grid;place-items:center;border-radius:50%;background:#fff0f0;color:#cf6666;font-size:28px;font-weight:300}.memory-delete-dialog h2{margin:0;color:#303632;font-size:18px;font-weight:600;overflow-wrap:anywhere}.memory-delete-dialog>p{margin:11px 0 21px;color:#8d958f;font-size:12px;line-height:1.75}.memory-delete-dialog>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:10px}.memory-delete-dialog>div:last-child button.danger{background:#d85858;color:#fff}@keyframes memory-tab-enter{0%{opacity:0;transform:translateY(5px)}}@media(min-width:640px){.memory-sheet-overlay{align-items:center;padding:24px}.memory-editor-sheet{width:min(540px,100%);border-radius:26px;animation-name:model-picker-pop}.memory-editor-sheet .model-picker-handle{display:none}.memory-editor-header{padding-top:24px}}@media(prefers-reduced-motion:reduce){.memory-tabs button,.memory-field input,.memory-field textarea,.memory-event-search,.memory-event-thought summary span,.memory-interest-add,.memory-interest-tags span,.memory-person-card,.memory-person-avatar{transition:none}.memory-tab-content,.memory-page-loading span,.memory-sheet-overlay,.memory-editor-sheet,.memory-delete-dialog,.memory-interest-tags span,.memory-person-card{animation:none}}@keyframes chat-details-shimmer{to{background-position:-240% 0}}@keyframes model-picker-fade{0%{opacity:0}}@keyframes model-picker-rise{0%{transform:translateY(35px);opacity:.5}}@keyframes model-picker-dot{to{transform:translateY(-5px);opacity:.4}}@keyframes model-picker-spin{to{transform:rotate(360deg)}}@media(min-width:640px){.model-picker-overlay{align-items:center;padding:24px}.model-picker-sheet{width:min(540px,100%);border-radius:26px;animation-name:model-picker-pop}.model-picker-handle{display:none}.model-picker-header{padding-top:24px}.model-picker-footer{padding-bottom:18px}}@keyframes model-picker-pop{0%{transform:translateY(12px) scale(.97);opacity:0}}@media(prefers-reduced-motion:reduce){.chat-details-profile,.model-option,.character-prompt-collapse,.character-prompt-toggle i{transition:none}.model-picker-overlay,.model-picker-sheet,.chat-details-loading span,.model-picker-loading span,.model-picker-spinner,.character-profile-loading span{animation:none}}#system-settings-page .sys-row>div:first-child{min-width:0}#system-settings-page .sys-row .toggle-switch{flex-shrink:0}.sys-profile-row input{border:0;border-bottom:1px solid #e0e0e0;font:inherit;text-align:right;width:150px;padding:2px 0}#system-settings-page button:disabled,#recharge-page button:disabled{opacity:.55;cursor:default}.settings-inline-form{display:flex;gap:8px;margin-top:10px}.settings-inline-form input{flex:1;min-width:0;padding:8px 12px;border:1px solid #e0e0e0;border-radius:8px;font:inherit;font-size:13px}.settings-invite-code{font-size:16px;font-weight:700;letter-spacing:2px;color:#07c160;flex-shrink:0;-webkit-user-select:text;user-select:text}.settings-link{font-size:13px;color:#07c160;text-decoration:none;overflow-wrap:anywhere}.settings-contact-label{font-size:13px;font-weight:600;color:#555;margin-bottom:8px}.settings-contact-group{padding:6px 0;font-size:13px;color:#555}.settings-contact-group+.settings-contact-group{border-top:1px solid #f5f5f5}.settings-contact-row{padding:10px 0;border-top:1px solid #f0f0f0}.settings-feedback{border-top:1px solid #f0f0f0;padding-top:12px;margin-top:4px}.settings-feedback textarea{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #e0e0e0;border-radius:8px;font:inherit;font-size:13px;resize:vertical;min-height:80px;box-sizing:border-box}.settings-feedback-submit,.settings-import-button{width:100%;margin-top:8px;padding:11px;background:#07c160;color:#fff;border:0;border-radius:8px;font:inherit;font-size:14px;cursor:pointer}.settings-import-button{background:#2196f3;padding:13px;font-size:15px}.settings-password-form label{display:block;margin-top:14px;text-align:left;font-size:14px}.settings-password-form input{display:block;width:100%;box-sizing:border-box;border:1px solid #e0e0e0;border-radius:8px;padding:10px;margin-top:6px;font:inherit}.wp-preset-item{padding:0;cursor:pointer}#chat-page .chat-title{font-size:17px;font-weight:600;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#chat-page .chat-scroll{background-color:#ededed;overflow-anchor:none}#chat-container{min-height:100%;box-sizing:border-box}#chat-page .message-content-wrapper{max-width:min(75%,640px);min-width:45px;order:1}#chat-page .message.user .message-content-wrapper{display:flex;flex-direction:column;align-items:flex-end}#chat-page .bubble{min-height:25px;box-sizing:content-box;-webkit-user-select:text;user-select:text}#chat-page .bubble.short-message{min-width:64px}.chat-tick{margin-left:3px;display:inline-flex;align-items:center;min-width:12px;min-height:12px}.chat-tick svg{display:block}.chat-tick.read{color:#3b9cf0}.chat-send-failed{border:0;border-radius:50%;background:#fa5151;color:#fff;width:20px;height:20px;padding:0;align-self:center;cursor:pointer;order:0}.chat-load-earlier{align-self:center;border:0;background:transparent;padding:8px;color:#888;cursor:pointer}.chat-error{background:#fff4e5;padding:10px;font-size:12px;color:#8c5b24;border-radius:6px}.chat-error button{margin-left:8px;border:0;background:transparent;color:inherit;cursor:pointer}.chat-generation-error{position:fixed;left:12px;right:12px;bottom:calc(60px + env(safe-area-inset-bottom));z-index:2200;display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #f1c7c9;border-radius:10px;background:#fff8f8;color:#a33b40;box-shadow:0 4px 18px #0002;font-size:13px}.chat-generation-error span{flex:1;min-width:0}.chat-generation-error button{border:0;background:transparent;color:#b3262e;font:inherit;font-weight:600;white-space:nowrap;cursor:pointer}.chat-generation-error .chat-generation-close{padding:0 2px;color:#a8787b;font-size:18px}#chat-page .chat-status-drawer{background:#f7f7f7;padding:12px;box-sizing:border-box;max-height:70vh;overflow-y:auto;box-shadow:0 6px 20px #0002}.chat-status-section,.chat-mode-section{background:#fff;border-radius:12px;overflow:hidden}.chat-mode-section{margin-top:10px}.chat-status-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 10px}.chat-status-heading strong{font-size:14px;font-weight:600;color:#222}.chat-status-heading span{font-size:11px;color:#999}.chat-status-grid{display:grid;grid-template-columns:1fr 1fr;padding:0 6px 8px}.chat-status-grid button{position:relative;background:transparent;border:0;border-radius:8px;padding:10px 24px 10px 10px;text-align:left;cursor:pointer;font:inherit;min-width:0}.chat-status-grid button:active{background:#f5f5f5}.chat-status-grid button span{font-size:14px;color:#333;display:block;min-height:21px;overflow-wrap:anywhere}.chat-status-grid button i{position:absolute;right:10px;top:20px;color:#c5c5c5;font-style:normal}.chat-status-grid small{display:block;font-size:11px;color:#999;margin-bottom:3px}.chat-mode-row{min-height:62px;padding:10px 14px;box-sizing:border-box;border-top:1px solid #f2f2f2}.chat-mode-row strong{display:block;font-size:14px;font-weight:500;color:#333}.chat-mode-row p{margin:4px 0 0;color:#999;font-size:11px;line-height:1.4}.chat-menu-overlay,.chat-plus-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2500}.chat-menu-overlay{background:transparent}.chat-bubble-menu{position:fixed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;width:min(304px,calc(100vw - 24px));min-width:0;max-width:none;box-sizing:border-box;padding:7px;border-radius:11px;color:#fff;background:#252525fa;box-shadow:0 7px 25px #00000038;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);animation:chat-menu-in .16s ease-out;transform-origin:var(--menu-arrow-left) 100%}.chat-bubble-menu:after{content:"";position:absolute;left:var(--menu-arrow-left);width:0;height:0;border:6px solid transparent;transform:translate(-50%)}.chat-bubble-menu[data-placement=above]:after{top:100%;border-top-color:#252525fa}.chat-bubble-menu[data-placement=below]:after{bottom:100%;border-bottom-color:#252525fa}.chat-bubble-menu .bubble-menu-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:53px;padding:7px 2px;border:0;border-radius:7px;color:#fff;background:transparent;font-size:10px;line-height:1.2;white-space:nowrap;transition:background .12s,transform .12s}.chat-bubble-menu .bubble-menu-item:hover{color:#fff;background:#ffffff14}.chat-bubble-menu .bubble-menu-item:active{background:#ffffff24;transform:scale(.94)}.chat-bubble-menu .bubble-menu-item svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}#chat-page .message.selecting{margin-left:36px}#chat-page .message.selecting .multi-select-checkbox{display:block;position:absolute;left:-34px;top:50%;margin:0;transform:translateY(-50%)}@keyframes chat-menu-in{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}.chat-plus-panel{position:fixed;left:0;right:0;bottom:calc(50px + env(safe-area-inset-bottom));z-index:2501;background:#f2f2f2;padding:20px 24px;box-sizing:border-box;display:grid;grid-template-columns:repeat(4,1fr);gap:18px 10px;max-height:60vh;overflow-y:auto}.chat-plus-panel button{background:transparent;border:0;display:flex;align-items:center;flex-direction:column;font-size:12px;gap:6px;color:#666;cursor:pointer}.chat-plus-panel button>span{background:#fff;width:52px;height:52px;border-radius:12px;font-size:27px;display:grid;place-items:center;color:#333}.chat-plus-panel button:disabled{opacity:.5}.chat-action-overlay{z-index:4000}.chat-credits-overlay{z-index:11000}.chat-action-box{max-height:85vh;overflow-y:auto}.chat-forward-list{max-height:50vh;overflow:auto}.chat-forward-list button{width:100%;border:0;text-align:left;cursor:pointer}.chat-amount-input,.chat-note-input{width:100%;box-sizing:border-box;margin-bottom:16px;border:0;border-bottom:1px solid #ddd;padding:10px;font:inherit}.chat-amount-input{font-size:30px}.chat-special-message{width:220px;max-width:100%}.chat-special-message+.chat-special-message{margin-top:8px}.chat-transfer-card{display:block;width:100%;box-sizing:border-box;background:#f3a34f;padding:16px 14px;margin:0;border:0;border-radius:7px;text-align:left;color:#fff;cursor:pointer;box-shadow:0 1px 2px #0001}.chat-transfer-card strong{display:block;font-size:21px;font-weight:500}.chat-transfer-card small{display:block;padding-top:10px;margin-top:10px;border-top:1px solid #ffffff38;font-size:12px}.chat-transfer-card.settled{background:#e8c49d}.chat-transfer-symbol{float:left;font-size:28px;margin-right:10px}.chat-location-card{width:100%;box-sizing:border-box;display:flex;flex-direction:column;background:#fff;border:1px solid #e2e2e2;border-radius:7px;overflow:hidden;color:#222}.chat-location-card strong{padding:13px 13px 10px;font-size:14px;font-weight:500;overflow-wrap:anywhere}.chat-location-card span{min-height:76px;display:grid;place-items:center;background:#e5ebdf;color:#668263;font-size:13px}.chat-location-card span i{font-size:25px;font-style:normal}.chat-location-card small{padding:9px 13px;color:#888;border-top:1px solid #eee}#chat-page .chat-special-meta{position:static;justify-content:flex-end;margin-top:4px;padding-right:2px;color:#999}.multi-select-toolbar.active{display:flex;justify-content:space-around}.multi-select-toolbar>button{border:0;background:transparent;padding:12px;font:inherit;cursor:pointer}.chat-search-content{padding:16px;background:#f7f7f7}.chat-search-input{width:100%;padding:12px;border:0;background:#fff;border-radius:8px;font:inherit}.chat-search-result{display:block;color:#333;text-decoration:none;background:#fff;padding:12px;margin-top:10px;border-radius:6px}.chat-search-result small{color:#999}.chat-search-sender.user{color:#4d916c}.chat-search-sender.assistant{color:#7186aa}.chat-search-result p,.chat-rich-text{white-space:pre-wrap;overflow-wrap:anywhere}.chat-rich-text pre{max-width:100%;overflow:auto}#chat-page #send-btn{padding:6px 12px;background:#07c160;border:0;border-radius:5px;color:#fff;font-size:14px;cursor:pointer}#chat-page #send-btn:disabled{opacity:.4;cursor:default}#chat-page .chat-input-area{padding-bottom:calc(5px + env(safe-area-inset-bottom))}.chat-transfer-card.collect{background:linear-gradient(135deg,#07c160,#06ad56)}.chat-message-highlight .bubble{outline:2px solid #07c160;outline-offset:3px}.me-header{background:#ededed}.me-header-spacer{width:44px;flex:0 0 44px}.me-content{position:relative;overflow-y:auto;padding:0 16px 35px;background:linear-gradient(180deg,#f2f6f3 0,#f7f8f7 240px)}.me-profile-card{display:flex;align-items:center;gap:16px;padding:27px 12px}.me-profile-avatar{width:64px;height:64px;display:grid;place-items:center;flex-shrink:0;overflow:hidden;border:3px solid rgba(255,255,255,.8);border-radius:20px;background:#75a98a;color:#fff;font-size:25px;font-weight:600;box-shadow:0 7px 20px #31503d1a}.me-profile-avatar img{width:100%;height:100%;object-fit:cover}.me-profile-card .me-name{color:#29332d;font-size:23px;font-weight:650;letter-spacing:-.4px}.me-profile-card .me-wechat-id{margin-top:6px;color:#99a19b;font-size:11px}.me-menu{overflow:hidden;border:1px solid rgba(35,50,40,.045);border-radius:19px;background:#fffffff0;box-shadow:0 5px 22px #27372c09}.me-menu-row{display:flex;align-items:center;gap:13px;padding:17px 15px;color:inherit;text-decoration:none;transition:background .18s ease}.me-menu-row:hover{background:#fafcfa}.me-menu-icon{width:39px;height:39px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#edf5ef;color:#69937a}.me-menu-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.me-menu-row>span:nth-child(2){min-width:0;flex:1}.me-menu-row strong{display:block;color:#364139;font-size:14px;font-weight:600}.me-menu-row small{display:block;margin-top:5px;color:#9ba39d;font-size:10px}.me-menu-row em{color:#9aa49d;font-size:11px;font-style:normal}.me-menu-row>i{color:#b4bbb6;font-size:22px;font-style:normal}.me-footer-note{margin:16px 0 0;color:#acb2ad;font-size:10px;text-align:center}.persona-page{background:#f5f6f8}.persona-page .header{background:#fafbfce6;border-bottom-color:#0000000a;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.persona-header-add{width:40px;height:40px;display:grid;place-items:center;justify-self:end;border-radius:12px;color:#667d70;font-size:25px;font-weight:300;text-decoration:none;transition:background .18s ease,transform .18s ease}.persona-header-add:hover{background:#edf2ee;transform:rotate(90deg)}.persona-content,.persona-edit-content{overflow-y:auto;padding:25px max(16px,calc((100% - 720px)/2)) 40px}.persona-intro{padding:4px 5px 25px}.persona-intro>span{color:#789180;font-size:10px;font-weight:650;letter-spacing:1.7px}.persona-intro h1{margin:9px 0 11px;color:#29312c;font-size:28px;line-height:1.4;font-weight:650;letter-spacing:-.8px}.persona-intro p{max-width:520px;margin:0;color:#89928c;font-size:12px;line-height:1.8}.persona-create-entry{display:flex;align-items:center;gap:14px;margin-bottom:24px;padding:16px 18px;border:1px solid #e1e9e3;border-radius:18px;background:linear-gradient(120deg,#fffffff5,#eff6f1e0);color:inherit;text-decoration:none;box-shadow:0 5px 20px #29463209;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.persona-create-symbol{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;border-radius:14px;background:#e1eee5;color:#4f8362;font-size:25px;font-weight:300;transition:transform .25s ease,background .2s ease}.persona-create-entry>span:nth-child(2){min-width:0;flex:1}.persona-create-entry strong{display:block;color:#3d4b42;font-size:14px;font-weight:600}.persona-create-entry small{display:block;margin-top:5px;color:#929d96;font-size:10px}.persona-create-entry>i{color:#a6b1a9;font-size:23px;font-style:normal}.persona-create-entry:hover{border-color:#cbded1;box-shadow:0 9px 25px #29463212;transform:translateY(-2px)}.persona-create-entry:hover .persona-create-symbol{background:#d5e8dc;transform:rotate(90deg)}.persona-create-entry:active{transform:scale(.985)}.persona-list-heading{display:flex;align-items:center;justify-content:space-between;margin:0 5px 12px}.persona-list-heading h2{margin:0;color:#465048;font-size:14px;font-weight:600}.persona-list-heading span{color:#a0a8a2;font-size:11px}.persona-card-list{display:grid;gap:12px}.persona-card{overflow:hidden;border:1px solid rgba(35,45,40,.05);border-radius:21px;background:#fff;box-shadow:0 5px 22px #27322b09;animation:persona-card-enter .38s ease-out both;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.persona-card.default{border-color:#d7e6dc;background:linear-gradient(145deg,#fff 45%,#f3f9f5)}.persona-card-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 17px 15px;color:inherit;text-decoration:none}.persona-avatar{width:46px;height:46px;display:grid;place-items:center;flex-shrink:0;overflow:hidden;border:3px solid rgba(255,255,255,.75);border-radius:15px;color:#fff;font-size:18px;font-weight:600;box-shadow:0 4px 12px #303c351f}.persona-avatar.large{width:56px;height:56px;border-radius:18px;font-size:21px}.persona-avatar img{width:100%;height:100%;object-fit:cover}.persona-card-name{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.persona-card-name h3{margin:0;color:#344038;font-size:16px;font-weight:620}.persona-card-name span{padding:2px 6px;border-radius:6px;background:#e7f3eb;color:#5c9271;font-size:9px}.persona-card-main p{overflow:hidden;margin:5px 0 0;color:#7e8881;font-size:12px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.persona-card-main small{display:block;overflow:hidden;margin-top:6px;color:#adb3ae;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.persona-card-chevron{color:#bdc3bf;font-size:23px;font-style:normal}.persona-card footer{display:flex;align-items:center;justify-content:space-between;min-height:36px;margin:0 17px;border-top:1px solid #f0f3f0}.persona-card footer>span{color:#a3aba5;font-size:9px}.persona-card footer button{padding:6px 0 6px 10px;border:0;background:transparent;color:#6e927c;font:inherit;font-size:10px;cursor:pointer}.persona-card footer button:disabled{color:#a9b1ab}.persona-empty{padding:34px 20px;border:1px dashed #dce3de;border-radius:22px;background:#ffffff8c;text-align:center}.persona-empty-stack{position:relative;width:68px;height:70px;margin:0 auto 15px}.persona-empty-stack i,.persona-empty-stack span{position:absolute;width:48px;height:56px;border-radius:15px}.persona-empty-stack i:first-child{left:2px;top:9px;background:#e5ece7;transform:rotate(-12deg)}.persona-empty-stack i:nth-child(2){right:2px;top:7px;background:#eee9f2;transform:rotate(11deg)}.persona-empty-stack span{left:10px;top:0;display:grid;place-items:center;background:#85a991;color:#fff;font-size:20px;box-shadow:0 6px 15px #46645024}.persona-empty h2{margin:0;color:#49534c;font-size:16px}.persona-empty p{margin:8px 0 19px;color:#949d96;font-size:11px}.persona-empty>a{display:inline-block;padding:9px 20px;border-radius:11px;background:#2d9360;color:#fff;font-size:12px;text-decoration:none}.persona-action-error,.persona-save-error{color:#bd5e65;font-size:12px;text-align:center}.persona-edit-hero{display:flex;align-items:center;gap:17px;padding:5px 7px 25px}.persona-edit-hero>div:last-child{min-width:0}.persona-edit-hero>div>span{color:#819087;font-size:10px}.persona-edit-hero h1{margin:4px 0 5px;color:#333e36;font-size:23px;line-height:1.35;font-weight:650;overflow-wrap:anywhere}.persona-edit-hero p{margin:0;color:#949d96;font-size:11px;line-height:1.6}.persona-avatar-picker{display:flex;align-items:center;gap:17px}.persona-avatar-button{position:relative;flex-shrink:0;padding:0;border:0;border-radius:20px;background:transparent;cursor:pointer}.persona-avatar-button .persona-avatar{width:72px;height:72px;border-radius:21px;font-size:26px}.persona-avatar-badge{position:absolute;right:-4px;bottom:-4px;width:25px;height:25px;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:#528c68;color:#fff;box-sizing:border-box}.persona-avatar-badge svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8}.persona-avatar-picker-copy{min-width:0;flex:1}.persona-avatar-picker-copy>strong{display:block;color:#465249;font-size:13px;font-weight:600}.persona-avatar-picker-copy>p{margin:5px 0 10px;color:#99a29b;font-size:10px;line-height:1.6}.persona-avatar-picker-actions{display:flex;align-items:center;gap:13px}.persona-avatar-picker-actions button{padding:0;border:0;background:transparent;color:#43855e;font:inherit;font-size:11px;cursor:pointer}.persona-avatar-picker-actions button.remove{color:#b08386}.persona-avatar-picker-actions button:disabled,.persona-avatar-button:disabled{opacity:.5;cursor:default}.persona-form-section{margin-bottom:15px;padding:19px;border:1px solid rgba(30,45,35,.045);border-radius:20px;background:#fff;box-shadow:0 4px 18px #23302706}.persona-form-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.persona-form-heading h2{margin:0;color:#445047;font-size:14px;font-weight:600}.persona-form-heading span{color:#a5aca7;font-size:9px}.persona-field{display:block;margin-top:15px}.persona-form-heading+.persona-field{margin-top:0}.persona-field>span{display:flex;align-items:center;gap:6px;margin:0 0 7px 2px;color:#7b867e;font-size:11px}.persona-field>span i{color:#b0b7b2;font-size:8px;font-style:normal}.persona-field input,.persona-field textarea{width:100%;box-sizing:border-box;border:1px solid #e6eae7;border-radius:12px;outline:0;background:#fafbfa;color:#354038;font:inherit;font-size:13px;line-height:1.7;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.persona-field input{height:42px;padding:0 12px}.persona-field textarea{min-height:90px;padding:10px 12px;resize:vertical}.persona-field input:focus,.persona-field textarea:focus{border-color:#9fc4ad;background:#fff;box-shadow:0 0 0 3px #4e916612}.persona-field input::placeholder,.persona-field textarea::placeholder{color:#b6bcb8}.persona-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.persona-default-toggle{position:relative;display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;padding:16px 18px;border:1px solid rgba(30,45,35,.045);border-radius:17px;background:#fff;cursor:pointer}.persona-default-toggle strong{display:block;color:#4b564e;font-size:12px;font-weight:550}.persona-default-toggle small{display:block;margin-top:4px;color:#a1a9a3;font-size:9px}.persona-default-toggle input{position:absolute;opacity:0;pointer-events:none}.persona-default-toggle>i{position:relative;width:40px;height:23px;flex-shrink:0;border-radius:15px;background:#dce2de;transition:background .2s ease}.persona-default-toggle>i:after{position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #00000021;content:"";transition:transform .2s ease}.persona-default-toggle input:checked+i{background:#42a873}.persona-default-toggle input:checked+i:after{transform:translate(17px)}.persona-default-toggle:focus-within{outline:2px solid #a9c9b5;outline-offset:2px}.persona-save{width:100%;min-height:47px;border:0;border-radius:14px;background:#279761;color:#fff;font:inherit;font-size:14px;font-weight:550;cursor:pointer;box-shadow:0 7px 18px #208b5426;transition:transform .18s ease,background .18s ease}.persona-save:not(:disabled):hover{background:#218856;transform:translateY(-1px)}.persona-save:disabled{background:#dce3de;color:#98a199;box-shadow:none;cursor:default}.persona-delete{width:100%;margin-top:11px;padding:12px;border:0;background:transparent;color:#b77b80;font:inherit;font-size:12px;cursor:pointer}.avatar-crop-dialog{width:100%;max-width:360px;box-sizing:border-box;margin:auto;padding:22px 20px 20px;border:1px solid rgba(255,255,255,.65);border-radius:26px;background:#fbfdfb;box-shadow:0 20px 80px #14241a38;animation:model-picker-pop .25s ease-out}.avatar-crop-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.avatar-crop-dialog>header h2{margin:0;color:#2f3b33;font-size:19px;font-weight:650}.avatar-crop-dialog>header p{margin:6px 0 0;color:#939d96;font-size:10px;line-height:1.6}.avatar-crop-dialog>header button{width:30px;height:30px;flex-shrink:0;border:0;border-radius:50%;background:#edf1ee;color:#78827b;font-size:21px;line-height:1;cursor:pointer}.avatar-crop-viewport{position:relative;width:280px;height:280px;max-width:100%;overflow:hidden;margin:0 auto;border-radius:22px;background:#e7ece8;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;box-shadow:inset 0 0 0 1px #2841300f}.avatar-crop-viewport:active{cursor:grabbing}.avatar-crop-viewport img{position:absolute;max-width:none;max-height:none;pointer-events:none;-webkit-user-select:none;user-select:none}.avatar-crop-grid{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(255,255,255,.65);border-radius:22px;background:linear-gradient(to right,transparent 33.1%,rgba(255,255,255,.38) 33.2%,rgba(255,255,255,.38) 33.5%,transparent 33.6%,transparent 66.4%,rgba(255,255,255,.38) 66.5%,rgba(255,255,255,.38) 66.8%,transparent 66.9%),linear-gradient(to bottom,transparent 33.1%,rgba(255,255,255,.38) 33.2%,rgba(255,255,255,.38) 33.5%,transparent 33.6%,transparent 66.4%,rgba(255,255,255,.38) 66.5%,rgba(255,255,255,.38) 66.8%,transparent 66.9%);box-shadow:inset 0 0 35px #141e1814;pointer-events:none}.avatar-crop-meta{display:flex;justify-content:space-between;margin:10px 2px 0;color:#9ba49d;font-size:9px}.avatar-crop-zoom{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:15px 3px 0;color:#75867b}.avatar-crop-zoom input{width:100%;accent-color:#4c9a6b;cursor:pointer}.avatar-crop-note{margin:13px 0 17px;color:#a0a9a2;font-size:9px;text-align:center}.avatar-crop-actions{display:grid;grid-template-columns:1fr 1.8fr;gap:10px}.avatar-crop-actions button,.avatar-crop-error button{min-height:44px;border:0;border-radius:13px;background:#e9eeea;color:#68736b;font:inherit;font-size:13px;cursor:pointer}.avatar-crop-actions button.primary{background:#2e9360;color:#fff;box-shadow:0 6px 16px #2e93602b}.avatar-crop-actions button:disabled{opacity:.45;cursor:default}.avatar-crop-loading{height:280px;display:grid;place-content:center;justify-items:center;color:#8e9991;font-size:12px}.avatar-crop-loading span{width:30px;height:30px;border:3px solid #dfe9e2;border-top-color:#62a67c;border-radius:50%;animation:avatar-crop-spin .8s linear infinite}.avatar-crop-error{padding:20px 5px;color:#b75f65;font-size:12px;line-height:1.7;text-align:center}.avatar-crop-error button{padding:0 22px}@keyframes avatar-crop-spin{to{transform:rotate(360deg)}}@keyframes persona-card-enter{0%{opacity:0;transform:translateY(8px)}}@media(hover:hover){.persona-card:hover{border-color:#d6e2da;box-shadow:0 9px 26px #27372c11;transform:translateY(-2px)}}@media(max-width:420px){.persona-intro h1{font-size:25px}.persona-form-section{padding:17px}}@media(prefers-reduced-motion:reduce){.me-menu-row,.persona-header-add,.persona-card,.persona-field input,.persona-field textarea,.persona-default-toggle>i,.persona-default-toggle>i:after,.persona-save{transition:none}.persona-card{animation:none}}.me-menu+.me-menu{margin-top:12px}.me-menu .me-menu-icon{width:28px;height:28px;margin:0 3px;border-radius:0;background:transparent}.me-menu .me-menu-icon svg{width:24px;height:24px;stroke-width:1.55}.me-menu .me-menu-icon.wallet{color:#2c9b67}.me-menu .me-menu-icon.favorites{color:#d99a38}.me-menu .me-menu-icon.settings{color:#74857c}.me-menu-row>span:nth-child(2){min-width:0}.me-menu-row>span:nth-child(2) small{display:block;margin-top:4px;color:#929b98;font-size:11px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.me-menu-row em{max-width:110px;overflow:hidden;text-overflow:ellipsis}.header-count{min-width:40px;text-align:right;color:#8b9692;font-size:12px}.personal-content{padding:22px 18px 44px;background:#f5f6f3;overflow-y:auto}.favorites-intro{display:flex;align-items:center;gap:16px;padding:8px 6px 25px}.favorites-intro-mark{display:grid;place-items:center;width:53px;height:53px;flex:0 0 auto;border-radius:19px;color:#fff8e8;background:linear-gradient(145deg,#efbd71,#d99647);box-shadow:0 9px 24px #b77b3629;font-size:28px;transform:rotate(-5deg)}.favorites-intro h1,.chat-preferences-intro h1{margin:0 0 6px;color:#26342e;font-family:Georgia,"Noto Serif SC",serif;font-size:23px;font-weight:600;letter-spacing:.02em}.favorites-intro p,.chat-preferences-intro p{margin:0;color:#929b96;font-size:12px;line-height:1.6}.personal-content>.search-field{margin-bottom:18px}.favorites-list{display:grid;gap:13px}.favorite-card{overflow:hidden;border:1px solid #e9ece6;border-radius:18px;background:#fff;box-shadow:0 5px 20px #34493b08;animation:personal-card-in .4s both}.favorite-card-source{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 17px 0;color:inherit;text-decoration:none}.favorite-card-source>span{color:#4a6155;font-size:13px;font-weight:650}.favorite-card-source small{color:#a0a8a4;font-size:10px}.favorite-card-source i{margin-left:3px;font-size:15px;font-style:normal}.favorite-card-content{display:-webkit-box;width:100%;overflow:hidden;padding:11px 17px 16px;border:0;color:#33423b;background:none;font:inherit;font-size:14px;line-height:1.85;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:4;cursor:pointer}.favorite-card-content.expanded,.favorite-card-content.group{display:block}.favorite-card.group{border-color:#e3e9e1}.favorite-card.group .favorite-card-source>span{color:#587364}.favorite-group-list{display:grid;gap:9px}.favorite-group-item{display:grid;grid-template-columns:minmax(42px,auto) 1fr;align-items:start;gap:9px}.favorite-group-item strong{padding-top:2px;color:#71897b;font-size:11px;font-weight:550}.favorite-group-item>span{display:-webkit-box;overflow:hidden;color:#46544c;font-size:12px;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:1}.favorite-card-content.group:not(.expanded) .favorite-group-item:nth-child(n+4){display:none}.favorite-card-content.group.expanded .favorite-group-item{padding:9px 0;border-top:1px solid #eff2ed}.favorite-card-content.group.expanded .favorite-group-item:first-child{padding-top:0;border-top:0}.favorite-card-content.group.expanded .favorite-group-item>span{display:block;overflow:visible;white-space:pre-wrap}.favorite-card footer{display:flex;align-items:center;justify-content:space-between;padding:11px 17px;border-top:1px solid #f0f2ed;background:#fbfcfa}.favorite-card time{color:#a0a8a3;font-size:10px}.favorite-card footer button{padding:3px 0 3px 10px;border:0;color:#a3aaa6;background:none;font-size:11px}.favorite-card footer button:hover{color:#ca635b}.personal-empty{padding:65px 25px;color:#9aa39e;text-align:center}.personal-empty>span{display:block;margin-bottom:14px;color:#d6b98d;font-size:43px}.personal-empty h2{margin:0 0 9px;color:#5b6962;font-size:16px;font-weight:550}.personal-empty p{max-width:280px;margin:auto;font-size:12px;line-height:1.8}.personal-dialog-backdrop{position:absolute;z-index:80;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:26px;background:#1d2c2566;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:personal-fade-in .2s both}.personal-dialog{width:min(100%,350px);padding:28px 23px 20px;border-radius:23px;background:#fff;box-shadow:0 20px 60px #14271e33;text-align:center;animation:personal-dialog-in .25s both}.personal-dialog-icon{color:#d3a365;font-size:30px}.personal-dialog h2{margin:10px 0 8px;color:#35443c;font-size:17px}.personal-dialog>p{margin:0 0 23px;color:#939d97;font-size:12px;line-height:1.7}.personal-dialog>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.personal-dialog>div button{padding:11px;border:0;border-radius:12px;color:#5c6b63;background:#f1f3ef;font-size:13px}.personal-dialog>div button.danger{color:#fff;background:#cc6c62}.personal-form-error{color:#c45b54!important;font-size:12px}.wallet-balance-card{position:relative;overflow:hidden;padding:29px 26px 25px;border-radius:24px;color:#f7fff8;background:linear-gradient(135deg,#294d3d,#3e7157 65%,#5d896a);box-shadow:0 15px 34px #284c3526}.wallet-balance-card p{position:relative;margin:0 0 8px;color:#d3e4d7;font-size:12px;letter-spacing:.12em}.wallet-balance-card>div{position:relative;display:flex;align-items:baseline;gap:7px}.wallet-balance-card small{font-size:22px;font-weight:350}.wallet-balance-card strong{font-size:clamp(36px,10vw,48px);font-weight:450;letter-spacing:-.025em}.wallet-balance-card>span:last-child{position:relative;display:block;margin-top:17px;color:#c4d9ca;font-size:10px}.wallet-balance-orbit{position:absolute;border:1px solid #ffffff16;border-radius:50%}.orbit-one{width:190px;height:190px;top:-95px;right:-43px}.orbit-two{width:130px;height:130px;right:9px;bottom:-91px}.wallet-ledger{margin-top:27px}.wallet-ledger-heading{display:flex;align-items:center;justify-content:space-between;padding:0 5px}.wallet-ledger-heading h2{margin:0 0 5px;color:#34473c;font-size:16px}.wallet-ledger-heading div>span{color:#9ca59f;font-size:10px}.wallet-ledger-heading>span{color:#99a39c;font-size:11px}.wallet-filter{display:flex;gap:5px;width:fit-content;margin:17px 0 13px;padding:4px;border-radius:12px;background:#e9ede7}.wallet-filter button{min-width:58px;padding:7px 14px;border:0;border-radius:9px;color:#87928b;background:transparent;font-size:11px;transition:.2s}.wallet-filter button.active{color:#365443;background:#fff;box-shadow:0 2px 8px #314d3812;font-weight:600}.wallet-transactions{overflow:hidden;border:1px solid #e8ece5;border-radius:18px;background:#fff}.wallet-transactions article{display:flex;align-items:center;gap:12px;padding:15px 16px;animation:personal-card-in .35s both}.wallet-transactions article+article{border-top:1px solid #eff2ed}.wallet-transaction-icon{display:grid;place-items:center;width:37px;height:37px;flex:0 0 auto;border-radius:13px;font-size:18px}.wallet-transaction-icon.in{color:#3e8861;background:#e8f4eb}.wallet-transaction-icon.out{color:#b78150;background:#f8eee2}.wallet-transactions article>div{min-width:0;flex:1}.wallet-transactions strong{display:block;overflow:hidden;color:#45544b;font-size:12px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.wallet-transactions small{display:block;margin-top:5px;color:#a1aaa4;font-size:10px}.wallet-transaction-amount{flex:0 0 auto;font-size:13px;font-weight:600}.wallet-transaction-amount.in{color:#438565}.wallet-transaction-amount.out{color:#6f7973}.wallet-empty{padding:45px 10px;color:#a0aaa3;text-align:center;font-size:12px}.wallet-empty>span{color:#8baa95;font-size:30px}.chat-preferences-intro{display:flex;align-items:center;gap:16px;padding:9px 5px 29px}.chat-preferences-intro>span{display:flex;align-items:center;justify-content:center;gap:4px;width:52px;height:52px;flex:0 0 auto;border-radius:18px;background:#dfe9df}.chat-preferences-intro>span i{width:5px;height:5px;border-radius:50%;background:#6b8b71;animation:preference-dot 1.5s infinite}.chat-preferences-intro>span i:nth-child(2){animation-delay:.2s}.chat-preferences-intro>span i:nth-child(3){animation-delay:.4s}.preference-section{padding:21px 18px;border:1px solid #e5eae3;border-radius:20px;background:#fff;box-shadow:0 5px 20px #34493b07}.preference-section-title{display:flex;align-items:center;justify-content:space-between}.preference-section-title h2{margin:0;color:#38483f;font-size:15px}.preference-section-title>span{padding:4px 8px;border-radius:7px;color:#6f8d77;background:#eef4ed;font-size:9px}.preference-description{margin:10px 0 18px;color:#98a19b;font-size:11px;line-height:1.7}.wait-option-list{display:grid;gap:7px}.wait-option-list>button{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid transparent;border-radius:13px;color:inherit;background:#f7f9f6;text-align:left;transition:border-color .2s,background .2s,transform .2s}.wait-option-list>button:active{transform:scale(.985)}.wait-option-list>button.selected{border-color:#b9cebc;background:#f0f6ef}.wait-option-radio{display:grid;place-items:center;width:18px;height:18px;flex:0 0 auto;border:1.5px solid #c3ccc5;border-radius:50%}.selected .wait-option-radio{border-color:#608b6c}.wait-option-radio i{width:9px;height:9px;border-radius:50%;background:#608b6c;animation:personal-dialog-in .2s}.wait-option-list strong{display:block;color:#506057;font-size:13px;font-weight:550}.wait-option-list small{display:block;margin-top:4px;color:#9aa49d;font-size:10px}.preference-save-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px -5px -5px;padding:10px 10px 10px 14px;border-radius:13px;background:#354f40;color:#dbe7dd;font-size:10px;animation:personal-dialog-in .25s}.preference-save-bar button{padding:8px 12px;border:0;border-radius:9px;color:#354f40;background:#f5f8f2;font-size:11px;font-weight:600}.preference-note{display:flex;gap:10px;margin:18px 7px;color:#9ba49e}.preference-note>span{display:grid;place-items:center;width:17px;height:17px;flex:0 0 auto;border:1px solid #b8c1ba;border-radius:50%;font-family:serif;font-size:11px}.preference-note p{margin:0;font-size:10px;line-height:1.8}.proactive-page{background:#f5f6f3}.proactive-page .personal-page-intro{margin:3px 5px 23px;color:#89928c;font-size:12px;line-height:1.8}.proactive-switch-section{margin-bottom:14px;padding-top:16px;padding-bottom:16px}.proactive-options+.proactive-options{margin-top:14px}.proactive-toggle,.proactive-quiet-toggle{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer}.proactive-toggle strong{display:block;color:#303632;font-size:15px;font-weight:600}.proactive-toggle small{display:block;margin-top:5px;color:#929a95;font-size:10px;line-height:1.5}.proactive-toggle input,.proactive-quiet-toggle input{position:absolute;opacity:0;pointer-events:none}.proactive-toggle>i,.proactive-quiet-toggle>i{position:relative;width:42px;height:24px;flex-shrink:0;border-radius:15px;background:#dce2de;transition:background .2s ease}.proactive-toggle>i:after,.proactive-quiet-toggle>i:after{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #00000021;content:"";transition:transform .2s ease}.proactive-toggle input:checked+i,.proactive-quiet-toggle input:checked+i{background:#32845a}.proactive-toggle input:checked+i:after,.proactive-quiet-toggle input:checked+i:after{transform:translate(18px)}.proactive-toggle:focus-within,.proactive-quiet-toggle:focus-within{outline:2px solid #a9c9b5;outline-offset:4px;border-radius:4px}.proactive-options.disabled{opacity:.62}.proactive-options.disabled .wait-option-list,.proactive-options.disabled .proactive-quiet-toggle{pointer-events:none}.proactive-options button:disabled{cursor:default}.proactive-quiet-toggle{padding:3px 0 15px;color:#46544c;font-size:13px}.proactive-quiet-toggle>i{width:38px;height:22px}.proactive-quiet-toggle>i:after{width:16px;height:16px}.proactive-quiet-toggle input:checked+i:after{transform:translate(16px)}.proactive-time-range{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:10px;padding:13px;border-radius:11px;background:#f7f9f7}.proactive-time-range label>span{display:block;margin:0 0 6px 2px;color:#929a95;font-size:10px}.proactive-time-range input{width:100%;min-width:0;box-sizing:border-box;padding:8px 6px;border:1px solid #e1e7e3;border-radius:9px;outline:0;color:#35483c;background:#fff;font:inherit;font-size:14px;text-align:center}.proactive-time-range input:focus{border-color:#8dbb9e;box-shadow:0 0 0 3px #30915b12}.proactive-time-range>i{padding-bottom:11px;color:#929a95;font-size:11px;font-style:normal}.proactive-quiet-note{margin-bottom:0}.proactive-save{margin-top:18px}.proactive-save-error{text-align:center}.proactive-footnote{margin:15px 0 0;color:#929a95;font-size:10px;line-height:1.7;text-align:center}@keyframes personal-card-in{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes personal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes personal-dialog-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes preference-dot{0%,60%,to{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.favorite-card,.wallet-transactions article,.personal-dialog,.chat-preferences-intro>span i{animation:none}}.cc-page{--cc-ink: #29352e;--cc-muted: #8b958e;--cc-green: #347d59;--cc-line: rgba(45, 65, 52, .075);background:#f5f7f4;color:var(--cc-ink)}.cc-page button,.cc-sheet button,.cc-publish-welcome button,.cc-leave-overlay button{font:inherit}.cc-header{position:relative;z-index:10;background:#fafbf9e0;border-bottom-color:#283c2e0e;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.cc-header .cc-ai-entry{width:auto;min-width:82px;height:36px;margin:8px 0;padding:0 10px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #e2e9e3;border-radius:12px;background:#fff;color:#4c7960;font-size:12px;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s}.cc-header .cc-ai-entry svg,.cc-ai-section svg,.cc-primary-button svg{fill:none;stroke:currentColor;stroke-width:1.45;stroke-linejoin:round}.cc-header .cc-ai-entry:hover{border-color:#bfd5c6;box-shadow:0 4px 14px #305b3f14;transform:translateY(-1px)}.cc-content{overflow-y:auto;background:radial-gradient(circle at 12% 2%,rgba(212,227,215,.28),transparent 28%),#f5f7f4}.cc-workspace{width:min(1120px,calc(100% - 48px));margin:0 auto;padding:38px 0 48px;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:54px;align-items:start}.cc-editor{min-width:0}.cc-intro{position:relative;padding:0 4px 28px}.cc-intro>span{color:#789181;font-size:10px;font-weight:650;letter-spacing:2px}.cc-intro h1{max-width:580px;margin:10px 0;color:#28342c;font-size:clamp(25px,3vw,34px);line-height:1.38;font-weight:620;letter-spacing:-.9px}.cc-intro p{margin:0;color:#8a948d;font-size:12px;line-height:1.75}.cc-intro.chapter-1>span{color:#8b7b9c}.cc-intro.chapter-2>span{color:#a18161}.cc-intro.chapter-3>span{color:#6f8997}.cc-chapter-nav{position:relative;display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:25px;padding:5px;border:1px solid rgba(45,65,52,.055);border-radius:17px;background:#e8ece7b3}.cc-chapter-nav button{min-width:0;min-height:48px;padding:7px 5px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:12px;background:transparent;color:#929a94;font-size:11px;cursor:pointer;transition:color .2s,background .2s,box-shadow .2s}.cc-chapter-nav button i{width:20px;height:20px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#70807514;font-size:9px;font-style:normal}.cc-chapter-nav button.active{background:#fff;color:#3d5546;font-weight:600;box-shadow:0 3px 12px #2a3d3012}.cc-chapter-nav button.active i{background:#e3efe7;color:#3e7c58}.cc-chapter-nav button.complete{color:#668270}.cc-chapter-nav button.complete i{background:#dfeae3;color:#478161}.cc-chapter-content{animation:cc-chapter-enter .32s cubic-bezier(.22,.75,.3,1)}.cc-editor-section{margin-bottom:16px;padding:24px;border:1px solid var(--cc-line);border-radius:23px;background:#ffffffeb;box-shadow:0 6px 24px #26362b09}.cc-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.cc-section-heading h2{margin:0;color:#38443c;font-size:16px;line-height:1.45;font-weight:620}.cc-section-heading p{margin:6px 0 0;color:#99a19b;font-size:11px;line-height:1.65}.cc-ai-section{min-height:32px;padding:0 10px;display:flex;align-items:center;gap:5px;flex-shrink:0;border:1px solid #e5e1eb;border-radius:10px;background:#faf8fc;color:#857291;font-size:10px;cursor:pointer;transition:background .18s,transform .18s}.cc-ai-section:hover{background:#f3edf7;transform:translateY(-1px)}.cc-ai-section:disabled{opacity:.55;cursor:wait}.cc-field{display:block;min-width:0;margin-top:19px}.cc-section-heading+.cc-field,.cc-avatar-field+.cc-two-columns{margin-top:0}.cc-field-label{display:flex;align-items:center;gap:7px;margin:0 0 8px 2px;color:#707c74;font-size:11px;font-weight:550}.cc-field-label i{color:#b0b7b1;font-size:8px;font-style:normal;font-weight:400}.cc-field input,.cc-field textarea,.cc-field select,.cc-ai-inspiration textarea,.cc-world-entry input,.cc-world-entry textarea,.cc-schedule-row input{width:100%;box-sizing:border-box;border:1px solid #e4e9e5;border-radius:13px;outline:0;background:#fafbfa;color:#354038;font:inherit;font-size:13px;line-height:1.75;transition:border-color .18s,background .18s,box-shadow .18s}.cc-field input,.cc-field select,.cc-world-entry input{height:45px;padding:0 13px}.cc-field textarea,.cc-ai-inspiration textarea,.cc-world-entry textarea{min-height:86px;padding:11px 13px;resize:vertical}.cc-field input:focus,.cc-field textarea:focus,.cc-field select:focus,.cc-ai-inspiration textarea:focus,.cc-world-entry input:focus,.cc-world-entry textarea:focus,.cc-schedule-row input:focus{border-color:#9ebba9;background:#fff;box-shadow:0 0 0 3px #427e5812}.cc-field input::placeholder,.cc-field textarea::placeholder,.cc-ai-inspiration textarea::placeholder,.cc-world-entry input::placeholder,.cc-world-entry textarea::placeholder{color:#b4bbb5}.cc-field>small{display:block;margin:7px 2px 0;color:#a1aaa3;font-size:9px;line-height:1.6}.cc-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:19px}.cc-two-columns>.cc-field{margin-top:0}.cc-aligned-top{align-items:start}.cc-segmented{display:flex;gap:8px}.cc-segmented button{min-width:0;flex:1;min-height:42px;padding:9px 11px;border:1px solid #e5eae6;border-radius:12px;background:#fafbfa;color:#7b857e;font-size:12px;cursor:pointer;transition:border-color .18s,background .18s,color .18s,transform .18s}.cc-segmented button small{display:block;margin-top:4px;color:#a0a8a2;font-size:8px;line-height:1.5}.cc-segmented button.selected{border-color:#9fc2ad;background:#f0f7f2;color:#397452;box-shadow:inset 0 0 0 1px #49835e0d}.cc-segmented button:active{transform:scale(.98)}.cc-avatar-field{display:flex;align-items:center;gap:18px;margin-bottom:23px}.cc-avatar-button{position:relative;width:82px;height:82px;flex-shrink:0;display:grid;place-items:center;overflow:visible;border:4px solid #fff;border-radius:25px;color:#fff;font-size:27px;font-weight:600;box-shadow:0 7px 20px #2d403321;cursor:pointer}.cc-avatar-button img{width:100%;height:100%;object-fit:cover;border-radius:20px}.cc-avatar-button>span{position:absolute;right:-5px;bottom:-5px;width:25px;height:25px;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:#52866a;font-size:16px;font-weight:400}.cc-avatar-field>div{min-width:0}.cc-avatar-field strong{color:#4b574f;font-size:12px;font-weight:600}.cc-avatar-field p{margin:5px 0 8px;color:#a0a8a2;font-size:9px}.cc-avatar-field>div button{margin-right:14px;padding:0;border:0;background:transparent;color:#4d8061;font-size:10px;cursor:pointer}.cc-text-danger{color:#b37b80!important}.cc-check-card-list{display:grid;gap:3px}.cc-toggle{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:49px;cursor:pointer}.cc-toggle>span{min-width:0}.cc-toggle strong{display:block;color:#4c5850;font-size:12px;font-weight:550}.cc-toggle small{display:block;margin-top:4px;color:#a0a8a2;font-size:9px;line-height:1.55}.cc-toggle input{position:absolute;opacity:0;pointer-events:none}.cc-toggle>i{position:relative;width:39px;height:23px;flex-shrink:0;border-radius:15px;background:#dce3de;transition:background .2s}.cc-toggle>i:after{position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #1e2d2326;content:"";transition:transform .2s}.cc-toggle input:checked+i{background:#56a177}.cc-toggle input:checked+i:after{transform:translate(16px)}.cc-toggle:focus-within{outline:2px solid #b5cbbb;outline-offset:3px;border-radius:5px}.cc-toggle.disabled{opacity:.45;cursor:default}.cc-creator-note{margin:13px 0 0;padding:12px 14px;border-radius:12px;background:#f0f6f1;color:#668271;font-size:10px;line-height:1.75;animation:cc-soft-enter .25s ease-out}.cc-tag-picker{display:flex;flex-wrap:wrap;gap:8px}.cc-tag-picker button{min-height:32px;padding:5px 12px;border:1px solid #e6e9e6;border-radius:11px;background:#fafbfa;color:#7e8780;font-size:11px;cursor:pointer;transition:all .18s}.cc-tag-picker button.selected{border-color:#d5c8df;background:#f5f0f8;color:#7b638a;transform:translateY(-1px)}.cc-tag-picker input{width:83px;min-height:32px;padding:5px 9px;box-sizing:border-box;border:1px dashed #cdd8d0;border-radius:11px;outline:0;background:transparent;color:#5a6d60;font:inherit;font-size:10px}.cc-dynamic-list,.cc-dialogue-list{display:grid;gap:11px}.cc-greeting-item{position:relative;display:grid;grid-template-columns:25px minmax(0,1fr);gap:9px;align-items:start;animation:cc-soft-enter .25s ease-out}.cc-greeting-item>span{padding-top:14px;color:#b0b7b1;font-size:9px;font-variant-numeric:tabular-nums}.cc-greeting-item textarea{width:100%;min-height:86px;box-sizing:border-box;padding:12px 36px 12px 13px;resize:vertical;border:1px solid #e6eae7;border-radius:14px;outline:0;background:#fafbfa;color:#3d4840;font:inherit;font-size:13px;line-height:1.8}.cc-greeting-item textarea:focus{border-color:#a7bfaf;background:#fff}.cc-greeting-item>button{position:absolute;top:7px;right:8px;width:25px;height:25px;border:0;border-radius:50%;background:transparent;color:#b0b7b1;font-size:18px;cursor:pointer}.cc-add-row{width:100%;min-height:39px;margin-top:13px;border:1px dashed #d7dfd9;border-radius:12px;background:#fafcfa;color:#789081;font-size:10px;cursor:pointer;transition:border-color .18s,background .18s}.cc-add-row:hover{border-color:#a9c1b2;background:#f3f8f4}.cc-inline-empty{display:flex;align-items:center;gap:13px;padding:10px 14px;border-radius:13px;background:#f8faf8}.cc-inline-empty>span{color:#b4c4b8;font:34px Georgia,serif}.cc-inline-empty p{margin:0;color:#a0a8a2;font-size:10px;line-height:1.7}.cc-dialogue-card{padding:15px;border:1px solid #e9ece9;border-radius:16px;background:#fbfcfb;animation:cc-soft-enter .25s ease-out}.cc-dialogue-card>div:first-child{display:flex;align-items:center;justify-content:space-between}.cc-dialogue-card>div:first-child strong{color:#7b867e;font-size:10px;font-weight:600}.cc-dialogue-card>div:first-child button{border:0;background:transparent;color:#b48b8e;font-size:9px;cursor:pointer}.cc-dialogue-card .cc-field{margin-top:12px}.cc-advanced-grid{display:grid;gap:11px}.cc-advanced-card{position:relative;min-height:112px;padding:18px;display:flex;align-items:center;gap:16px;box-sizing:border-box;border:1px solid #e7ebe8;border-radius:17px;background:linear-gradient(120deg,#fbfcfb,#f5f8f5)}.cc-advanced-card.schedule{background:linear-gradient(120deg,#fbfcfc,#f3f6f8)}.cc-advanced-number{width:50px;flex-shrink:0;color:#7e9c89;font-size:22px;font-weight:350;letter-spacing:-1px;text-align:center}.cc-advanced-card.schedule .cc-advanced-number{color:#7c93a0}.cc-advanced-card h3{margin:0;color:#4a564e;font-size:13px;font-weight:600}.cc-advanced-card p{margin:5px 0 8px;color:#9aa39c;font-size:9px}.cc-advanced-card div>button{padding:0;border:0;background:transparent;color:#527d61;font-size:10px;cursor:pointer}.cc-advanced-card div>button i{margin-left:4px;font-style:normal}.cc-advanced-ai{position:absolute;top:12px;right:12px;min-width:30px;height:25px;padding:0 7px;border:1px solid #e6e1eb;border-radius:8px;background:#faf8fb;color:#8b7896;font-size:8px;cursor:pointer}.cc-advanced-ai:disabled{opacity:.55}.cc-proactive-options{max-height:600px;overflow:hidden;opacity:1;transition:max-height .35s,opacity .25s}.cc-proactive-options.disabled{max-height:0;opacity:0;pointer-events:none}.cc-interval,.cc-time-range{display:flex;align-items:center;gap:10px}.cc-interval input{max-width:105px}.cc-time-range input{max-width:150px}.cc-interval>span,.cc-time-range>span{color:#9ca59e;font-size:10px}.cc-quiet-suggestion{margin:10px 0 4px;padding:7px 10px;border:0;border-radius:9px;background:#f0f5f1;color:#6b8373;font-size:9px;cursor:pointer}.cc-page-actions{display:grid;grid-template-columns:minmax(120px,.75fr) minmax(190px,1.4fr);gap:11px;margin-top:24px}.cc-primary-button,.cc-secondary-button{min-height:50px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:15px;font-size:13px;font-weight:550;cursor:pointer;transition:transform .18s,background .18s,box-shadow .18s}.cc-primary-button{width:100%;border:0;background:#347d59;color:#fff;box-shadow:0 7px 20px #2c704b29}.cc-primary-button:not(:disabled):hover{background:#2d7050;box-shadow:0 9px 24px #2c704b36;transform:translateY(-1px)}.cc-primary-button:not(:disabled):active,.cc-secondary-button:not(:disabled):active{transform:scale(.985)}.cc-primary-button:disabled{background:#d8e0da;color:#96a198;box-shadow:none;cursor:default}.cc-secondary-button{border:1px solid #e0e6e1;background:#ffffffb8;color:#77827a}.cc-save-note{margin:13px 0 0;color:#a4aca6;font-size:9px;text-align:center}.cc-form-error{margin:13px 2px 0;color:#b65e65;font-size:11px;line-height:1.65}.cc-page-error{padding:12px 14px;border-radius:12px;background:#fff3f3;text-align:center}.cc-button-spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:cc-spin .7s linear infinite}.cc-preview-column{position:sticky;top:30px;padding-top:49px}.cc-preview-card{position:relative;isolation:isolate;overflow:hidden;padding:32px 24px 20px;border:1px solid rgba(44,61,49,.065);border-radius:28px;background:#fffffff0;box-shadow:0 15px 45px #293a2e12;text-align:center}.cc-preview-ambient{position:absolute;z-index:-1;top:-90px;left:50%;width:250px;height:210px;transform:translate(-50%);border-radius:50%;opacity:.12;filter:blur(36px)}.cc-preview-avatar{width:104px;height:104px;margin:0 auto 17px;display:grid;place-items:center;overflow:hidden;border:5px solid #fff;border-radius:31px;color:#fff;font-size:34px;font-weight:600;box-shadow:0 9px 26px #28392e24}.cc-preview-avatar img{width:100%;height:100%;object-fit:cover}.cc-preview-name h2{margin:0;color:#2c3930;font-size:22px;font-weight:620;letter-spacing:-.4px;overflow-wrap:anywhere}.cc-preview-name span{display:block;margin-top:6px;color:#8e9991;font-size:10px}.cc-preview-description{margin:15px auto 0;color:#647168;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.cc-preview-description.empty{color:#a5aea7}.cc-preview-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:15px}.cc-preview-tags span,.cc-publish-tags span{padding:4px 8px;border-radius:8px;background:#f2eef5;color:#897692;font-size:9px}.cc-preview-message{margin-top:24px;padding:15px;border-radius:16px;background:#f5f8f5;text-align:left}.cc-preview-message>span{color:#8a9b90;font-size:8px;letter-spacing:.8px}.cc-preview-message p{margin:7px 0 0;color:#65736a;font-size:11px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.cc-preview-footer{margin-top:20px;display:flex;align-items:center;justify-content:center;gap:6px;color:#a4ada6;font-size:8px}.cc-preview-footer i{width:5px;height:5px;border-radius:50%;background:#76ad89;box-shadow:0 0 0 3px #e8f2eb}.cc-preview-column>p{margin:15px 20px 0;color:#a0a8a2;font-size:9px;line-height:1.7;text-align:center}.cc-mobile-preview{display:none}.chat-list-create{width:40px;height:40px;display:grid;place-items:center;justify-self:end;border-radius:12px;color:#4f6d5b;font-size:25px;font-weight:300;text-decoration:none;transition:background .18s,transform .18s}.chat-list-create:hover{background:#e2e8e3;transform:rotate(90deg)}.cc-sheet-overlay,.cc-publish-overlay,.cc-leave-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3400;display:flex;align-items:flex-end;justify-content:center;background:#18221c5c;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:cc-fade .2s ease-out}.cc-sheet{width:100%;max-height:88dvh;display:flex;flex-direction:column;overflow:hidden;border-radius:27px 27px 0 0;background:#f9fbf9;box-shadow:0 -18px 70px #1421182b;animation:cc-sheet-rise .3s cubic-bezier(.22,.8,.3,1)}.cc-sheet-handle{width:38px;height:4px;margin:9px auto 0;flex-shrink:0;border-radius:4px;background:#d8dfda}.cc-sheet>header{padding:16px 23px 15px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.cc-sheet>header h2{margin:0;color:#303c34;font-size:20px;font-weight:620;letter-spacing:-.35px}.cc-sheet>header p{margin:6px 0 0;color:#939e96;font-size:10px;line-height:1.65}.cc-sheet>header>button{width:31px;height:31px;flex-shrink:0;border:0;border-radius:50%;background:#e9eeea;color:#7b867e;font-size:21px;cursor:pointer}.cc-sheet-body{min-height:0;overflow-y:auto;padding:4px 23px 24px}.cc-sheet>footer{padding:13px 23px calc(15px + env(safe-area-inset-bottom));border-top:1px solid #e9edea;background:#fffc}.cc-ai-inspiration>span,.cc-ai-source>span{display:block;margin:0 0 9px 2px;color:#707d74;font-size:11px;font-weight:550}.cc-ai-inspiration textarea{background:#fff}.cc-random-inspiration{margin:10px 0 21px;padding:0;border:0;background:transparent;color:#718c7a;font-size:10px;cursor:pointer}.cc-ai-source>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.cc-ai-source button{padding:13px 8px;border:1px solid #e4e9e5;border-radius:13px;background:#fff;color:#758078;text-align:left;cursor:pointer}.cc-ai-source button strong{display:block;font-size:11px;font-weight:600}.cc-ai-source button small{display:block;margin-top:5px;color:#a0a8a2;font-size:8px}.cc-ai-source button.selected{border-color:#a4c0af;background:#f0f7f2;color:#397451}.cc-ai-source-options,.cc-ai-custom-grid{margin-top:15px;animation:cc-soft-enter .25s ease-out}.cc-ai-source-options>p{color:#969f98;font-size:11px}.cc-ai-source-options>p button{border:0;background:transparent;color:#417c59;cursor:pointer}.cc-ai-custom-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.cc-ai-custom-grid .cc-field:last-child{grid-column:1 / -1}.cc-world-empty{padding:35px 20px;text-align:center}.cc-world-empty>span{color:#9eb5a5;font-size:32px}.cc-world-empty h3{margin:12px 0 6px;color:#5c685f;font-size:14px}.cc-world-empty p{max-width:330px;margin:0 auto;color:#9aa39c;font-size:10px;line-height:1.75}.cc-world-list{display:grid;gap:13px}.cc-world-entry{padding:16px;border:1px solid #e4e9e5;border-radius:17px;background:#fff;animation:cc-soft-enter .25s ease-out}.cc-world-entry-heading{display:grid;grid-template-columns:25px minmax(0,1fr) 28px;gap:8px;align-items:center}.cc-world-entry-heading>span{color:#a6afa8;font-size:9px}.cc-world-entry-heading input{background:#f8faf8;font-weight:550}.cc-world-entry-heading>button{width:27px;height:27px;border:0;border-radius:50%;background:#f5f6f5;color:#ac9b9d;font-size:18px;cursor:pointer}.cc-world-entry>label{display:block;margin-top:13px}.cc-world-entry>label>span{display:block;margin:0 0 6px 2px;color:#879189;font-size:9px}.cc-schedule-mode,.cc-schedule-day{display:flex;gap:5px;padding:4px;border-radius:13px;background:#e9eeea}.cc-schedule-mode button,.cc-schedule-day button{flex:1;min-height:35px;border:0;border-radius:10px;background:transparent;color:#7c8780;font-size:10px;cursor:pointer}.cc-schedule-mode button.selected,.cc-schedule-day button.selected{background:#fff;color:#415a49;box-shadow:0 2px 8px #2332280f}.cc-schedule-day{width:min(300px,100%);margin:12px auto 0}.cc-schedule-timeline{margin:28px 8px 30px}.cc-schedule-bar{position:relative;height:56px;border-radius:13px;background:#edf0ed}.cc-schedule-bar>span{position:absolute;top:0;bottom:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#28342cb3;font-size:8px;white-space:nowrap}.cc-schedule-bar>span:first-child{border-radius:13px 0 0 13px}.cc-schedule-bar>span:nth-last-child(2){border-radius:0 13px 13px 0}.cc-schedule-bar>button{position:absolute;z-index:2;top:-5px;bottom:-5px;width:20px;padding:0;transform:translate(-50%);border:0;background:transparent;cursor:ew-resize;touch-action:none}.cc-schedule-bar>button i{display:block;width:4px;height:66px;margin:auto;border:1px solid rgba(70,85,75,.18);border-radius:4px;background:#ffffffd9;box-shadow:0 2px 5px #23322814}.cc-schedule-axis{position:relative;height:20px;margin-top:7px}.cc-schedule-axis span{position:absolute;transform:translate(-50%);color:#a1aaa3;font-size:8px}.cc-schedule-list{display:grid;gap:7px}.cc-schedule-row{display:grid;grid-template-columns:7px 82px minmax(120px,1fr) 27px 27px;gap:8px;align-items:center;padding:7px 9px;border-radius:11px;background:#fff}.cc-schedule-row>i{width:7px;height:25px;border-radius:4px}.cc-schedule-row>span{color:#879189;font-size:9px;font-variant-numeric:tabular-nums}.cc-schedule-row input{height:34px;padding:0 9px;font-size:10px}.cc-schedule-row button{width:26px;height:26px;border:0;border-radius:8px;background:#f0f3f0;color:#7d8980;cursor:pointer}.cc-schedule-row button:disabled{opacity:.3;cursor:default}.cc-schedule-hint{margin:16px 0 0;color:#9aa39c;font-size:9px;line-height:1.6;text-align:center}.cc-schedule-actions{display:grid;grid-template-columns:1fr 2fr;gap:10px;align-items:center}.cc-schedule-actions>.cc-text-danger{border:0;background:transparent;font-size:11px;cursor:pointer}.cc-publish-overlay{z-index:3500;align-items:center;padding:22px}.cc-publish-welcome{width:min(410px,100%);box-sizing:border-box;padding:37px 30px 27px;border-radius:28px;background:#fbfdfb;box-shadow:0 24px 90px #14221833;text-align:center;animation:cc-pop .3s ease-out}.cc-publish-orbit{position:relative;width:90px;height:90px;margin:0 auto 24px;display:grid;place-items:center}.cc-publish-orbit>i{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid #dbe8de;border-radius:50%;animation:cc-orbit 8s linear infinite}.cc-publish-orbit>i:after{position:absolute;top:9px;left:10px;width:8px;height:8px;border-radius:50%;background:#84ad91;content:""}.cc-publish-orbit>span{width:62px;height:62px;display:grid;place-items:center;border-radius:22px;background:#e3efe6;color:#4c7e5e;font-size:24px;font-weight:600}.cc-publish-welcome>small{color:#819487;font-size:9px;letter-spacing:1px}.cc-publish-welcome h2{margin:10px 0;color:#324137;font-size:22px;line-height:1.5;font-weight:620}.cc-publish-welcome p{margin:0 0 23px;color:#8f9992;font-size:11px;line-height:1.8}.cc-publish-link{margin-top:13px;padding:7px;border:0;background:transparent;color:#568068;font-size:11px;cursor:pointer}.cc-publish-consent{display:flex;align-items:flex-start;gap:8px;margin-top:13px;color:#7e8981;font-size:10px;line-height:1.6}.cc-publish-consent input{accent-color:#4c8b65}.cc-publish-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.cc-leave-overlay{z-index:5000;align-items:center;padding:22px}.cc-leave-overlay>section{width:min(360px,100%);box-sizing:border-box;padding:28px 25px 22px;border-radius:24px;background:#fff;text-align:center;animation:cc-pop .22s ease-out}.cc-leave-overlay>section>span{color:#94aa9a;font-size:28px}.cc-leave-overlay h2{margin:11px 0 8px;color:#3c4840;font-size:18px}.cc-leave-overlay p{margin:0;color:#949d96;font-size:11px;line-height:1.75}.cc-leave-overlay section>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:21px}.cc-leave-overlay button{min-height:43px;border:0;border-radius:13px;background:#edf2ee;color:#617267;font-size:12px;cursor:pointer}.cc-leave-overlay button:first-child{background:#3e805c;color:#fff}@keyframes cc-chapter-enter{0%{opacity:0;transform:translateY(8px)}}@keyframes cc-soft-enter{0%{opacity:0;transform:translateY(5px)}}@keyframes cc-fade{0%{opacity:0}}@keyframes cc-sheet-rise{0%{opacity:.5;transform:translateY(35px)}}@keyframes cc-pop{0%{opacity:0;transform:translateY(10px) scale(.98)}}@keyframes cc-spin{to{transform:rotate(360deg)}}@keyframes cc-orbit{to{transform:rotate(360deg)}}@media(min-width:640px){.cc-sheet-overlay{align-items:center;padding:25px}.cc-sheet{width:min(540px,100%);border-radius:27px;animation-name:cc-pop}.cc-sheet.wide{width:min(690px,100%)}.cc-sheet-handle{display:none}.cc-sheet>header{padding-top:24px}.cc-sheet>footer{padding-bottom:17px}}@media(max-width:920px){.cc-workspace{width:min(680px,calc(100% - 36px));grid-template-columns:1fr;padding-top:29px}.cc-preview-column{display:none}.cc-mobile-preview{display:block;margin-bottom:16px;border:1px solid var(--cc-line);border-radius:17px;background:#ffffffbf}.cc-mobile-preview>summary{min-height:46px;padding:0 15px;display:flex;align-items:center;gap:9px;color:#849087;font-size:10px;cursor:pointer;list-style:none}.cc-mobile-preview>summary::-webkit-details-marker{display:none}.cc-mobile-preview>summary strong{min-width:0;flex:1;overflow:hidden;color:#58665d;font-size:10px;font-weight:550;text-align:right;text-overflow:ellipsis;white-space:nowrap}.cc-mobile-preview>summary i{font-style:normal;transition:transform .2s}.cc-mobile-preview[open]>summary i{transform:rotate(180deg)}.cc-mobile-preview .cc-preview-card{margin:0 10px 10px;padding:22px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 16px;text-align:left;border-radius:18px;box-shadow:none;animation:cc-soft-enter .25s ease-out}.cc-mobile-preview .cc-preview-avatar{grid-row:1 / 5;width:76px;height:76px;margin:0;border-radius:23px;font-size:26px}.cc-mobile-preview .cc-preview-name h2{font-size:18px}.cc-mobile-preview .cc-preview-description{margin-top:8px}.cc-mobile-preview .cc-preview-tags{justify-content:flex-start;margin-top:9px}.cc-mobile-preview .cc-preview-footer{display:none}}@media(max-width:560px){.cc-workspace{width:calc(100% - 28px);padding:24px 0 32px}.cc-intro{padding:0 4px 22px}.cc-intro h1{font-size:26px}.cc-intro p{font-size:11px}.cc-chapter-nav{margin-inline:-2px}.cc-chapter-nav button{min-height:45px;flex-direction:column;gap:3px;font-size:9px}.cc-chapter-nav button i{width:17px;height:17px;font-size:8px}.cc-editor-section{padding:19px 17px;border-radius:20px}.cc-section-heading{gap:10px;margin-bottom:19px}.cc-section-heading h2{font-size:15px}.cc-section-heading p{font-size:10px}.cc-ai-section{padding:0 8px}.cc-two-columns{grid-template-columns:1fr;gap:0}.cc-two-columns>.cc-field+.cc-field{margin-top:17px}.cc-aligned-top{gap:0}.cc-segmented{gap:6px}.cc-segmented button{padding:8px 5px;font-size:11px}.cc-segmented button small{display:none}.cc-avatar-field{gap:14px}.cc-avatar-button{width:72px;height:72px}.cc-page-actions{position:sticky;bottom:10px;z-index:5;margin-inline:-3px;padding:8px;border:1px solid rgba(47,66,53,.06);border-radius:18px;background:#f9fbf8e6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.cc-primary-button,.cc-secondary-button{min-height:47px;font-size:12px}.cc-sheet>header{padding-inline:19px}.cc-sheet-body,.cc-sheet>footer{padding-inline:18px}.cc-ai-custom-grid{grid-template-columns:1fr}.cc-ai-custom-grid .cc-field:last-child{grid-column:auto}.cc-schedule-timeline{margin-inline:2px}.cc-schedule-row{grid-template-columns:6px 70px minmax(80px,1fr) 24px 24px;gap:5px;padding-inline:6px}.cc-schedule-row>span{font-size:8px}.cc-schedule-row button{width:23px}.cc-schedule-bar>span{font-size:7px}}@media(prefers-reduced-motion:reduce){.cc-page *,.cc-sheet *,.cc-publish-welcome *,.cc-leave-overlay *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}.chat-details-icon.branch{color:#7470a8;background:#f0eef9}.branch-panel-list{min-height:130px;overflow-y:auto;padding:3px 16px 14px}.branch-item{position:relative;display:flex;align-items:center;margin-top:9px;border:1.5px solid transparent;border-radius:17px;background:#fff;box-shadow:0 3px 12px #202d2606;transition:border-color .18s ease,background .18s ease,transform .18s ease}.branch-item:hover{transform:translateY(-1px);border-color:#dce9e1}.branch-item.current{border-color:#72bc93;background:#f1faf5}.branch-item-main{min-width:0;min-height:70px;flex:1;display:flex;align-items:center;gap:12px;padding:13px 14px;border:0;border-radius:inherit;background:transparent;color:#303632;font:inherit;text-align:left;cursor:pointer}.branch-item-main:disabled{cursor:default}.branch-item-icon{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;border-radius:11px;background:#f0f3f1;color:#8c9890}.branch-item.current .branch-item-icon{background:#ddf2e6;color:#168b52}.branch-item-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.branch-item-copy{min-width:0;flex:1}.branch-item-copy>strong{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600;overflow-wrap:anywhere}.branch-item-copy em{flex-shrink:0;padding:2px 6px;border-radius:6px;background:#dcf1e5;color:#168b52;font-size:9px;font-style:normal;font-weight:550}.branch-item-copy>small{display:flex;align-items:center;gap:6px;margin-top:5px;color:#99a19b;font-size:10px}.branch-item-copy time:before{content:"·";margin-right:6px}.branch-item-check{flex-shrink:0;color:#a7afa9;font-size:20px}.branch-item.current .branch-item-check{color:#20a365;font-size:15px}.branch-item-actions{position:relative;flex-shrink:0;margin-right:7px}.branch-item-actions>button{width:30px;height:34px;border:0;border-radius:9px;background:transparent;color:#929c95;cursor:pointer}.branch-item-actions>button:hover{background:#edf2ee}.branch-row-menu{position:absolute;z-index:5;top:34px;right:0;width:94px;overflow:hidden;padding:4px;border:1px solid #ecefed;border-radius:12px;background:#fff;box-shadow:0 10px 30px #16251c21;animation:branch-menu-in .15s ease-out}.branch-row-menu button{width:100%;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#59645c;font:inherit;font-size:12px;text-align:left;cursor:pointer}.branch-row-menu button:hover{background:#f4f7f5}.branch-row-menu button.danger{color:#c75b5b}.branch-item-spinner{position:absolute;right:13px;width:15px;height:15px;border:2px solid #d5e7dc;border-top-color:#168b52;border-radius:50%;animation:model-picker-spin .7s linear infinite}.branch-rename{display:flex;align-items:center;gap:7px}.branch-rename input{min-width:0;width:100%;padding:8px 10px;border:1px solid #b8d8c6;border-radius:9px;outline:none;background:#fff;color:#303632;font:inherit;font-size:13px}.branch-rename button{flex-shrink:0;padding:7px 9px;border:0;border-radius:8px;background:#168b52;color:#fff;font:inherit;font-size:11px;cursor:pointer}.branch-list-skeleton{padding-top:9px}.branch-list-skeleton span{display:block;height:70px;margin-top:9px;border-radius:17px;background:linear-gradient(100deg,#ecefed 30%,#f7f9f7,#ecefed 70%);background-size:240% 100%;animation:chat-details-shimmer 1.4s infinite}.branch-empty{padding:35px 0;color:#929a95;font-size:13px;text-align:center}.branch-create-form{padding:14px 18px calc(17px + env(safe-area-inset-bottom));border-top:1px solid #edf0ee;background:#fffc}.branch-create-form>label{display:block;margin:0 0 8px 2px;color:#858f88;font-size:11px}.branch-create-form>div{display:flex;gap:8px}.branch-create-form input{min-width:0;flex:1;padding:0 13px;border:1px solid #dde4df;border-radius:13px;outline:none;color:#303632;font:inherit;font-size:13px}.branch-create-form input:focus{border-color:#73b892;box-shadow:0 0 0 3px #168b5212}.branch-create-form button{min-height:43px;padding:0 12px;border:0;border-radius:12px;background:#edf0ee;color:#747e77;font:inherit;font-size:12px;cursor:pointer}.branch-create-form button.primary{background:#168b52;color:#fff}.branch-create-form button:disabled{opacity:.5;cursor:default}.branch-confirm-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-items:center;padding:24px;border-radius:inherit;background:#19221d45;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.branch-confirm-overlay>section{width:min(340px,100%);box-sizing:border-box;padding:25px 22px 20px;border-radius:22px;background:#fff;text-align:center;box-shadow:0 18px 70px #0000002e;animation:model-picker-pop .2s ease-out}.branch-confirm-symbol{width:42px;height:42px;display:grid;place-items:center;margin:0 auto 12px;border-radius:50%;background:#fff0f0;color:#cf6666;font-size:22px}.branch-confirm-overlay h3{margin:0;color:#303632;font-size:17px;overflow-wrap:anywhere}.branch-confirm-overlay p{color:#8d958f;font-size:12px;line-height:1.7}.branch-confirm-overlay section>div{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.branch-confirm-overlay button{min-height:43px;border:0;border-radius:13px;background:#edf0ee;color:#68716b;font:inherit;font-size:13px;cursor:pointer}.branch-confirm-overlay button.danger{background:#d85858;color:#fff}.branch-fork-dialog{max-width:440px}.branch-fork-icon{width:48px;height:48px;display:grid;place-items:center;margin-bottom:15px;border-radius:15px;background:#eaf6ef;color:#168b52}.branch-fork-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.branch-fork-source{margin:7px 0 14px;color:#8e9891;font-size:12px;line-height:1.6}.branch-fork-note{padding:12px 13px;border-radius:12px;background:#f3f7f4;color:#748078;font-size:12px;line-height:1.75}.branch-fork-name{display:grid;gap:7px;margin:17px 0;color:#717d75;font-size:12px}.branch-fork-name input{min-height:43px;box-sizing:border-box;padding:0 12px;border:1px solid #dfe5e1;border-radius:12px;outline:none;color:#303632;font:inherit;font-size:14px}.branch-fork-name input:focus{border-color:#75b992;box-shadow:0 0 0 3px #168b5212}@keyframes branch-menu-in{0%{opacity:0;transform:translateY(-4px)}}@media(min-width:640px){.branch-create-form{padding-bottom:18px}.branch-panel{position:relative}}@media(max-width:420px){.branch-create-form>div{flex-wrap:wrap}.branch-create-form input{min-height:42px;flex-basis:100%}.branch-create-form button{flex:1}.branch-fork-dialog{max-height:88dvh;overflow-y:auto}}@media(prefers-reduced-motion:reduce){.branch-item{transition:none}.branch-row-menu,.branch-confirm-overlay>section,.branch-list-skeleton span{animation:none}}.greeting-picker-list{max-height:min(52dvh,460px);overflow-y:auto;padding:4px 16px 12px}.greeting-option{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) 20px;align-items:start;gap:10px;margin-top:9px;padding:15px 13px;border:1.5px solid transparent;border-radius:16px;background:#fff;box-shadow:0 3px 12px #202d2606;color:#303632;font:inherit;text-align:left;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}.greeting-option:hover{transform:translateY(-1px);border-color:#dce9e1}.greeting-option.current{border-color:#72bc93;background:#f1faf5}.greeting-option:disabled{cursor:default;opacity:.65}.greeting-option-number{padding-top:2px;color:#a0aaa3;font-size:10px;font-variant-numeric:tabular-nums;letter-spacing:.08em}.greeting-option.current .greeting-option-number{color:#469b70}.greeting-option-copy{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.75}.greeting-option-check{align-self:center;color:#a7afa9;font-size:20px;text-align:center}.greeting-option.current .greeting-option-check{color:#20a365;font-size:15px}.greeting-picker-error{margin:0 18px 10px}.greeting-picker-note{margin:0;padding:4px 20px calc(17px + env(safe-area-inset-bottom));color:#9aa39d;font-size:11px;line-height:1.6;text-align:center}@media(min-width:640px){.greeting-picker-note{padding-bottom:18px}}@media(prefers-reduced-motion:reduce){.greeting-option{transition:none}}
