:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page-background:#eee9e5;--surface:#fffcfa;--chat-background:#f8f5f2;--border:#e9e1db;--text:#332e2b;--muted:#766d67;--faint:#a09892;--accent:#708e73}*{box-sizing:border-box}html,body{width:100%;min-height:100%;margin:0}body{background:var(--page-background);color:var(--text);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Helvetica Neue,Arial,sans-serif}button,input,select,textarea{font:inherit}button,label{touch-action:manipulation}button:focus-visible,input:focus-visible,label:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #708e7347}.appShell{width:100%;height:100dvh;min-height:100svh;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-left:env(safe-area-inset-left);background:var(--page-background)}.cyberHomeShell{width:100%;height:100%;min-height:0;position:relative}.homeSidebar{z-index:15;right:env(safe-area-inset-right);bottom:0;left:env(safe-area-inset-left);padding-bottom:env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffcfaf5;border-top:1px solid #dacfc7eb;position:fixed;box-shadow:0 -8px 28px #4a3c3417}.homeIdentity,.homePrivacyNote{display:none}.roomNavigationList{grid-template-columns:repeat(5,minmax(0,1fr));width:100%;margin:0;padding:0 4px;list-style:none;display:grid}.roomNavigationList li{min-width:0}.roomNavigationButton{width:100%;min-width:0;min-height:66px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px 2px 7px;display:flex;position:relative}.roomNavigationIcon{color:#746a64;background:#faf6f3;border:1px solid #ddd3cc;border-radius:9px;justify-content:center;align-items:center;width:27px;height:27px;font-family:Songti SC,STSong,serif;font-size:13px;line-height:1;display:inline-flex}.roomNavigationLabel{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:560;line-height:1.2;overflow:hidden}.roomNavigationMarker{background:0 0;border-radius:999px;width:18px;height:2px;position:absolute;bottom:3px}.roomNavigationButton[data-active=true]{color:#425c47;font-weight:650}.roomNavigationButton[data-active=true] .roomNavigationIcon{color:#425c47;background:#e7efe7;border-color:#9caf9e;box-shadow:inset 0 0 0 1px #ffffff94}.roomNavigationButton[data-active=true] .roomNavigationMarker{background:var(--accent)}.roomNavigationButton:hover{background:#708e7312}.roomStage{width:100%;min-width:0;height:100%;min-height:0;padding-bottom:calc(67px + env(safe-area-inset-bottom))}.roomView{width:100%;height:100%;min-height:0}.roomView[hidden]{display:none}.authenticationPage{background:radial-gradient(circle at 18% 12%, #e2ede2b8, transparent 34%), radial-gradient(circle at 88% 84%, #ecded5b3, transparent 32%), var(--page-background);place-items:center;min-height:100dvh;padding:24px;display:grid}.authenticationCard{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffd1;border:1px solid #4f61502e;border-radius:24px;width:min(100%,390px);padding:30px;box-shadow:0 24px 70px #3b302a1f}.authenticationEyebrow{color:#617763;letter-spacing:.16em;margin:0 0 10px;font-size:11px;font-weight:700}.authenticationCard h1{color:#302b28;margin:0 0 18px;font-family:Songti SC,STSong,serif;font-size:30px;font-weight:600}.authenticationCard form{gap:12px;display:grid}.authenticationCard label{color:#4c4845;font-size:14px;font-weight:650}.authenticationCard input{color:#302b28;width:100%;min-height:46px;font:inherit;background:#fff;border:1px solid #4f615047;border-radius:12px;padding:0 14px}.authenticationCard button{color:#fff;min-height:44px;font:inherit;background:#627d66;border:0;border-radius:12px;font-weight:650}.authenticationCard button:disabled{cursor:wait;opacity:.58}.authenticationCard p[role=alert]{color:#8f433d;margin:0;font-size:13px}.placeholderRoomContent{background:radial-gradient(circle at 12% 8%, #e2ede2ad, transparent 28%), radial-gradient(circle at 92% 88%, #ecded5a3, transparent 30%), var(--page-background);height:100%;padding:clamp(24px,7vw,54px) clamp(18px,5vw,42px) 40px;overflow-y:auto}.roomIntro{max-width:680px;margin:0 auto 26px}.roomEyebrow{color:#5d775f;letter-spacing:.09em;margin-bottom:10px;font-size:12px;font-weight:650;display:inline-block}.roomIntro h1{color:#302b28;letter-spacing:.04em;margin:0;font-family:Songti SC,STSong,serif;font-size:clamp(30px,7vw,46px);font-weight:600}.roomIntro p{max-width:560px;color:var(--muted);margin:10px 0 0;font-size:14px;line-height:1.7}.unavailableGrid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:13px;max-width:920px;margin:0 auto;display:grid}.unavailableCard{background:#fffcfad1;border:1px solid #ded3cbeb;border-radius:20px;min-width:0;padding:17px;box-shadow:0 10px 28px #4a3c340d}.unavailableCardHeader{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.unavailableCard h2{color:#3b3430;margin:0;font-size:15px;font-weight:650;line-height:1.4}.unavailableCard p{color:var(--muted);margin:9px 0 0;font-size:12px;line-height:1.6}.unavailableBadge{color:#776d66;white-space:nowrap;background:#f4efeb;border:1px solid #d9cec6;border-radius:999px;flex:none;align-items:center;min-height:23px;padding:2px 8px;font-size:10px;font-weight:600;line-height:1.2;display:inline-flex}.roomSafetyNote{color:#8c827b;max-width:920px;margin:20px auto 0;font-size:11px;line-height:1.6}.livingRoomContent,.knotViewSlot{width:100%;min-width:0;height:100%;min-height:0}.livingRoomContent>[hidden]{display:none}.knotEntryCard{min-width:0;min-height:118px;color:var(--text);text-align:left;cursor:pointer;background:linear-gradient(145deg,#f0f7f0f5,#fffcfaeb);border:1px solid #9caf9e;border-radius:20px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:17px;display:grid;box-shadow:0 12px 32px #4a564314}.knotEntryCard:hover{border-color:#7f9b82;transform:translateY(-1px)}.knotEntryMark{color:#4f6b53;background:#e1ece2;border:1px solid #b8c9ba;border-radius:15px;justify-content:center;align-items:center;width:42px;height:42px;font-family:Songti SC,STSong,serif;font-size:17px;display:inline-flex}.knotEntryCard strong,.knotEntryCard small{display:block}.knotEntryCard strong{font-size:16px;line-height:1.4}.knotEntryCard small{color:var(--muted);margin-top:6px;font-size:12px;line-height:1.55}.knotEntryArrow{color:#58705b;white-space:nowrap;font-size:12px}.knotMemoryView{background:radial-gradient(circle at 10% 5%, #e1ede2b3, transparent 26%), var(--page-background);width:100%;min-width:0;height:100%;padding:clamp(18px,5vw,38px) clamp(14px,4vw,34px) 40px;overflow:hidden auto}.knotViewHeader,.knotTabs,.knotMoreMenu,.knotBudgetNotice,.knotListSection,.knotEditor,.knotUnavailable,.memoryImportPreview{width:min(100%,900px);margin-left:auto;margin-right:auto}.knotViewHeader{align-items:flex-start;gap:18px;display:flex}.knotViewHeader h1{margin:0;font-family:Songti SC,STSong,serif;font-size:clamp(27px,6vw,40px);font-weight:600}.knotViewHeader p{color:var(--muted);margin:8px 0 0;font-size:13px;line-height:1.6}.knotBackButton,.knotTabs button,.knotMoreMenu button,.knotCardActions button,.knotEditorActions button,.knotUnavailable button,.knotLoadMore{background:var(--accent);color:#fff;cursor:pointer;border:1px solid #809d83;border-radius:12px}.knotBackButton{color:#536d57;background:#fffcfaeb;flex:none;min-height:38px;padding:0 12px}.knotTabs{scrollbar-width:thin;gap:7px;margin-top:24px;padding-bottom:3px;display:flex;overflow-x:auto}.knotTabs button{min-height:40px;color:var(--muted);white-space:nowrap;background:#fffcfad1;border-color:#d7cec8;flex:none;padding:0 14px}.knotTabs button[aria-current=page]{color:#405c45;background:#e5eee6;border-color:#91a995;font-weight:650}.knotMoreMenu{color:var(--muted);margin-top:8px;font-size:12px}.knotMoreMenu summary{cursor:pointer;-webkit-user-select:none;user-select:none;width:fit-content}.knotMoreMenu button{min-height:34px;color:var(--muted);background:#fffcfad1;border-color:#d7cec8;margin-top:8px;padding:0 12px}.knotMoreMenu button[aria-current=page]{color:#405c45;background:#e5eee6;border-color:#91a995}.knotBudgetNotice{color:var(--muted);margin-top:14px;margin-bottom:0;font-size:11px;line-height:1.55}.knotListSection,.knotEditor{margin-top:18px}.knotMemoryList{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px;display:grid}.knotMemoryCard,.knotEditor,.knotUnavailable,.knotEmptyState{background:#fffcfae6;border:1px solid #dcd2cbeb;border-radius:18px;min-width:0;box-shadow:0 9px 28px #4a3c340d}.knotMemoryCard{padding:16px}.knotMemoryCardHeader{justify-content:space-between;align-items:center;gap:9px;display:flex}.knotStatusBadge{color:#48644d;background:#e4eee5;border-radius:999px;align-items:center;min-height:24px;padding:3px 9px;font-size:11px;font-weight:650;display:inline-flex}.knotStatusBadge[data-status=proposed-active]{color:#765f37;background:#f3ead8}.knotStatusBadge[data-status=rejected-active],.knotStatusBadge[data-status$=-retracted],.knotStatusBadge[data-status$=-superseded]{color:#776d66;background:#eee9e6}.knotImportance{color:var(--muted);font-size:11px}.knotMemoryContent{color:var(--text);overflow-wrap:anywhere;white-space:pre-wrap;margin:14px 0;font-size:15px;line-height:1.7}.knotRecallSummary{color:#536b57;background:#edf3ed;border-radius:10px;align-items:flex-start;gap:8px;min-width:0;margin-top:12px;padding:8px 10px;font-size:11px;line-height:1.45;display:flex}.knotRecallSummary strong{flex:none}.knotRecallSummary span{overflow-wrap:anywhere;min-width:0}.knotMetadata{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;display:grid}.knotMetadata div{min-width:0}.knotMetadata dt{color:var(--faint);font-size:10px}.knotMetadata dd{color:var(--muted);overflow-wrap:anywhere;margin:3px 0 0;font-size:11px;line-height:1.45}.knotCardActions,.knotEditorActions{justify-content:flex-end;gap:8px;margin-top:15px;display:flex}.knotCardActions button,.knotEditorActions button,.knotUnavailable button,.knotLoadMore{min-height:38px;padding:0 13px;font-size:12px}.knotSecondaryButton{color:#625a55!important;background:#fff!important;border-color:#d6cbc4!important}.knotDangerButton{color:#8a4d42!important;background:#fff8f6!important;border-color:#d2aaa1!important}.knotEditor{padding:clamp(16px,4vw,24px)}.knotEditor h2{margin:0;font-size:18px}.knotEditor>p{color:var(--muted);margin:7px 0 0;font-size:12px;line-height:1.55}.knotFormGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px;display:grid}.knotField{min-width:0;color:var(--muted);gap:7px;font-size:12px;display:grid}.knotFieldWide{grid-column:1/-1}.knotField input,.knotField select,.knotField textarea{width:100%;min-width:0;color:var(--text);background:#fff;border:1px solid #d9cec7;border-radius:12px;padding:10px 11px;font-size:14px}.knotRecallFields{border:1px solid #ded5cf;border-radius:14px;min-width:0;margin:0;padding:12px}.knotRecallFields legend{color:#526a56;padding:0 5px;font-size:12px;font-weight:650}.knotRecallFields label{min-width:0;color:var(--muted);gap:6px;margin-top:9px;font-size:12px;display:grid}.knotRecallFields select,.knotRecallFields textarea{width:100%;min-width:0;color:var(--text);font:inherit;background:#fff;border:1px solid #d9cec7;border-radius:10px;padding:9px 10px}.knotRecallFields textarea{resize:vertical}.knotRecallHint,.knotRecallFields small{color:var(--muted);margin:7px 0 0;font-size:11px;line-height:1.5}.knotInlineRecallEditor{min-width:0;margin-top:14px}.knotField textarea{resize:vertical;line-height:1.55}.knotRevisionEditor{border-color:#aabdaa;margin-bottom:20px}.knotRevisionNotice{color:#655c43!important}.knotUnavailable,.knotEmptyState{color:var(--muted);padding:18px;font-size:13px;line-height:1.6}.knotUnavailable{color:#7e4f43;background:#fbf2ed;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.knotUnavailable p,.knotLoading{margin:0}.knotLoading{color:var(--muted);text-align:center;padding:20px;font-size:12px}.knotLoadMore{margin:16px auto 0;display:block}.knotCardActions button:disabled,.knotEditorActions button:disabled,.knotUnavailable button:disabled{cursor:default;opacity:.52}.memoryImportPreview{margin-top:18px;padding-bottom:24px}.memoryImportIntro,.memoryImportSources,.memoryImportBoundary,.memoryImportCandidate,.memoryImportSummary{background:#fffdfbf0;border:1px solid #ded5cf;border-radius:18px;box-shadow:0 10px 28px #4a3c340f}.memoryImportIntro,.memoryImportBoundary,.memoryImportSummary{padding:clamp(15px,4vw,22px)}.memoryImportIntro h2,.memoryImportSummary h3{color:var(--text);margin:0;font-size:18px}.memoryImportIntro p,.memoryImportIntro strong,.memoryImportBoundary p,.memoryImportSummary p,.memoryImportSummary label{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.6;display:block}.memoryImportIntro strong{color:#735e42}.memoryImportSources{align-items:flex-end;gap:11px;min-width:0;margin-top:14px;padding:15px;display:flex}.memoryImportFileButton{color:#4f6b53;cursor:pointer;background:#edf4ed;border:1px solid #9caf9e;border-radius:12px;flex:none;align-items:center;min-height:42px;padding:0 14px;font-size:12px;font-weight:650;display:inline-flex}.memoryImportFileButton input{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.memoryImportOr{color:var(--faint);align-self:center;font-size:11px}.memoryImportPaste{flex:1}.memoryImportPaste textarea,.memoryImportCandidate textarea,.memoryImportBoundary input,.memoryImportMetadata input,.memoryImportMetadata select,.memoryImportCandidateActions input{width:100%;min-width:0;color:var(--text);font:inherit;background:#fff;border:1px solid #d9cec7;border-radius:11px;padding:9px 10px}.memoryImportPaste textarea,.memoryImportCandidate textarea{resize:vertical;line-height:1.55}.memoryImportBoundary{grid-template-columns:minmax(0,1fr) minmax(230px,.6fr);align-items:end;gap:16px;margin-top:14px;display:grid}.memoryImportBoundary p{margin:0}.memoryImportCandidateList{gap:13px;margin-top:14px;display:grid}.memoryImportCandidate{min-width:0;padding:clamp(14px,4vw,20px)}.memoryImportCandidate[data-skipped=true]{opacity:.72;background:#f2efed}.memoryImportCandidateHeader{color:#536b57;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:12px;font-weight:650;display:flex}.memoryImportCandidateHeader label,.memoryImportSummary label{align-items:flex-start;gap:7px;display:flex}.memoryImportCandidateHeader span[data-limit=over]{color:#984f42}.memoryImportCandidate>textarea{min-height:128px;font-size:14px}.memoryImportMetadata{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:11px;display:grid}.memoryImportMetadata label{min-width:0;color:var(--muted);gap:6px;font-size:11px;display:grid}.memoryImportCandidateActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;margin-top:12px;display:flex}.memoryImportCandidateActions label{min-width:0;color:var(--muted);align-items:center;gap:5px;font-size:11px;display:flex}.memoryImportCandidateActions input{width:74px}.memoryImportCandidateActions button,.memoryImportSources>button,.memoryImportSummary>button{border-radius:11px;min-height:38px;padding:0 12px;font-size:12px}.memoryImportWarning,.memoryImportError{color:#7a5b2e;overflow-wrap:anywhere;background:#faf1df;border-radius:10px;margin:8px 0;padding:8px 10px;font-size:11px;line-height:1.5}.memoryImportError{color:#8a4d42;background:#faece8}.memoryImportSummary{background:#f6faf6;border-color:#aabdaa;margin-top:14px}.memoryImportSummary>button{margin:14px 0 0 auto;display:block}.memoryImportSummary button:disabled,.memoryImportCandidateActions button:disabled,.memoryImportSources button:disabled{cursor:default;opacity:.52}.bedroomLayout{background:var(--page-background);width:100%;height:100%;min-height:0;overflow:hidden}.bedroomChatSlot{width:100%;min-width:0;height:100%;min-height:0}.bedroomChatShell{width:100%;height:100%;min-height:0}.chatFrame{background:var(--chat-background);flex-direction:column;width:100%;max-width:720px;height:100%;min-height:0;margin:0 auto;display:flex;overflow:hidden}.chatHeader{border-bottom:1px solid var(--border);background:var(--surface);flex:none;justify-content:center;align-items:center;min-height:70px;padding:7px 150px;display:flex;position:relative}.headerActions{align-items:center;gap:4px;display:flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.headerIdentity{text-align:center;width:100%;min-width:0}.headerIdentity h1{color:#302b28;letter-spacing:.02em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:17px;font-weight:600;line-height:1.3;overflow:hidden}.statusText{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:11px;line-height:1.35;overflow:hidden}.avatar{color:#665c55;-webkit-user-select:none;user-select:none;background-color:#e8dfd9;background-position:50%;background-repeat:no-repeat;background-size:cover;border:1px solid #d9cec6;border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:600;display:inline-flex;overflow:hidden}.avatar-message{width:34px;height:34px;font-size:13px}.avatarWithImage{color:#0000}.iconButton,.composerIconButton,.sendButton{color:#5f5853;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:inline-flex}.interfaceIcon{stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.iconButton:hover,.composerIconButton:hover{background:#708e7317}.iconButton:disabled{cursor:default;opacity:.42}.iconButton:disabled:hover{background:0 0}.messageList{overscroll-behavior:contain;background-color:var(--chat-background);scrollbar-gutter:stable;background-position:50%;background-repeat:no-repeat;background-size:cover;flex:1;min-height:0;padding:20px 16px 12px;overflow:hidden auto}.messageRow{align-items:flex-start;gap:9px;width:fit-content;max-width:92%;margin-bottom:16px;display:flex}.userMessageRow{text-align:right;flex-direction:row-reverse;margin-left:auto}.messageContent{min-width:0}.messageBubble{text-align:left;border-radius:17px;padding:10px 14px}.messageBubble p{color:var(--text);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:16px;line-height:1.45}.audioBubble{width:clamp(220px,58vw,310px);padding:9px 11px}.audioMessage,.audioPreview{align-items:center;gap:9px;display:flex}.audioMessage .readyAudioPlayer,.audioPreview .readyAudioPlayer{flex:1;min-width:0}.readyAudioPlayer{border-radius:18px;min-height:36px;position:relative;overflow:hidden}.audioMessage audio,.audioPreview audio{min-width:0;height:36px;display:block}.audioIsLoading audio{opacity:.18;pointer-events:none}.audioLoadingState{color:var(--muted);pointer-events:none;background:#ffffffd1;border-radius:18px;justify-content:center;align-items:center;font-size:12px;line-height:1.3;display:flex;position:absolute;inset:0}.audioMessage audio{width:100%}.audioMessage span,.audioPreview span{color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-size:11px}.xiayizhouBubble{background:#fffdfcf0;border:1px solid #ede4de;border-top-left-radius:5px}.bridgeTestBadge{color:#58705b;background:#eff5eff0;border:1px solid #cbd7cc;border-radius:999px;align-items:center;min-height:20px;margin:0 4px 5px;padding:1px 8px;font-size:10px;line-height:1.3;display:inline-flex}.bridgeTestBubble{background:#f9fcf9f0;border:1px dashed #c8d4c9;border-top-left-radius:5px}.userBubble{background:#dce8ddf0;border-top-right-radius:5px}.messageMeta{color:var(--faint);align-items:center;gap:4px;margin-top:4px;padding:0 4px;font-size:10px;display:flex}.userMessageRow .messageMeta{justify-content:flex-end}.voicePanel{border-top:1px solid var(--border);background:#faf7f5;flex:none;justify-content:space-between;align-items:center;gap:14px;min-width:0;padding:10px 12px;display:flex}.bridgeFailureStatus{border-top:1px solid var(--border);flex:none;align-items:center;gap:9px;min-height:44px;padding:8px 14px;font-size:12px;line-height:1.4;display:flex}.bridgeFailureList{background:#fbf4f1;flex:none;max-height:150px;overflow-y:auto}.bridgeFailureStatus{color:#82483d;justify-content:space-between}.bridgeFailureStatus p{margin:0}.bridgeRetryButton{color:#82483d;cursor:pointer;background:#fff;border:1px solid #cda89f;border-radius:11px;flex:none;min-width:58px;min-height:34px;padding:0 12px}.bridgeRetryButton:disabled{cursor:default;opacity:.48}.requestingPanel{justify-content:center}.requestingPanel p,.recordingStatus p{color:var(--text);margin:0;font-size:13px}.recordingStatus{align-items:center;gap:10px;min-width:0;display:flex}.recordingStatus time{color:var(--muted);font-variant-numeric:tabular-nums;margin-top:2px;font-size:12px;display:block}.recordingDot{background:#b8685f;border-radius:50%;flex:none;width:9px;height:9px;box-shadow:0 0 0 5px #b8685f1c}.voiceActions{flex:none;align-items:center;gap:8px;display:flex}.voicePrimaryButton,.voiceSecondaryButton{cursor:pointer;border-radius:13px;min-width:58px;min-height:40px;padding:0 14px;font-size:13px}.voicePrimaryButton{border:1px solid var(--accent);background:var(--accent);color:#fff}.voiceSecondaryButton{color:#625a55;background:#fff;border:1px solid #d8cdc5}.previewPanel .audioPreview{flex:1;min-width:0}.audioPreview audio{width:min(100%,300px)}.composer{padding:8px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface);flex:none;grid-template-columns:44px minmax(0,1fr) 44px 44px;align-items:end;gap:6px;display:grid}.composer textarea{resize:none;width:100%;min-width:0;min-height:42px;max-height:108px;color:var(--text);background:#f2eeeb;border:0;border-radius:17px;outline:none;padding:9px 13px;font-size:16px;line-height:24px}.composer textarea:focus{background:#fff;box-shadow:inset 0 0 0 1px #b8c5b9,0 0 0 3px #708e731f}.sendButton{background:var(--accent);color:#fff}.sendButton:disabled{cursor:default;color:#f7f8f7;background:#d4d9d4}.composerIconButton:disabled{cursor:default;opacity:.42}.iconButton:active,.composerIconButton:active,.sendButton:not(:disabled):active,.closeButton:active,.resetButton:active,.savePreferenceButton:active,.voicePrimaryButton:active,.voiceSecondaryButton:active,.chooseFileButton:active,.bridgeRetryButton:not(:disabled):active{opacity:.68}.featureNotice{z-index:30;right:50%;bottom:calc(76px + env(safe-area-inset-bottom));color:#fff;text-align:center;white-space:nowrap;background:#332e2be0;border-radius:999px;max-width:calc(100% - 32px);margin:0;padding:9px 15px;font-size:13px;line-height:1.4;position:fixed;transform:translate(50%);box-shadow:0 7px 24px #332e2b29}.settingsBackdrop{z-index:20;padding-top:env(safe-area-inset-top);background:#302b2861;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.settingsPanel{width:min(100%,720px);max-height:calc(100dvh - env(safe-area-inset-top));background:var(--surface);border-radius:22px 22px 0 0;overflow:hidden;box-shadow:0 -12px 40px #302b2829}.settingsHeader{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 18px 14px;display:flex}.settingsHeader h2,.settingItem h3,.remarkSetting h3{color:#302b28;margin:0}.settingsHeader h2{font-size:20px}.settingsHeader p,.settingItem p,.remarkSetting p{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.45}.closeButton,.resetButton,.savePreferenceButton{color:#625a55;cursor:pointer;background:#fff;border:1px solid #d8cdc5}.closeButton{border-radius:12px;min-width:54px;height:36px}.settingsBody{max-height:calc(100dvh - 104px - env(safe-area-inset-top));padding:0 18px calc(18px + env(safe-area-inset-bottom));overflow-y:auto}.settingItem,.remarkSetting{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px 0;display:grid}.settingItem h3,.remarkSetting h3{font-size:15px}.settingActions{align-items:center;gap:8px;display:flex}.settingActions input[type=file]{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.chooseFileButton,.resetButton,.savePreferenceButton{white-space:nowrap;border-radius:11px;justify-content:center;align-items:center;min-height:36px;padding:0 11px;font-size:12px;display:inline-flex}.chooseFileButton,.savePreferenceButton{border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer}.remarkSetting{grid-template-columns:minmax(0,1fr) minmax(150px,.8fr)}.remarkInput{width:100%;min-width:0;height:40px;color:var(--text);background:#fff;border:1px solid #ddd3cc;border-radius:12px;padding:0 11px;font-size:14px}.remarkActions{grid-column:2;justify-content:flex-end}.settingsError,.storageNotice{border-radius:12px;margin:14px 0 0;padding:10px 12px;font-size:12px;line-height:1.45}.settingsError{color:#8c4537;background:#f8e8e4}.storageNotice{color:#725f47;background:#f4eee4}.settingsFootnote{color:var(--faint);margin:14px 0 0;font-size:11px}.srOnly{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (min-width:720px){.chatFrame{border-right:1px solid var(--border);border-left:1px solid var(--border);box-shadow:0 12px 40px #4a3c3414}.settingsBackdrop{align-items:center;padding:24px}.settingsPanel{border-radius:22px;max-width:620px;max-height:min(720px,100dvh - 48px)}.settingsBody{max-height:min(610px,100dvh - 150px)}}@media (min-width:800px){.cyberHomeShell{grid-template-columns:214px minmax(0,1fr);display:grid}.homeSidebar{z-index:1;min-width:0;padding:22px 13px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(160deg, #fffdfbf5, #efe9e4f5), var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;border-top:0;border-right:1px solid #ded5cf;flex-direction:column;display:flex;position:relative;inset:auto;box-shadow:8px 0 30px #4a3c340d}.homeIdentity{align-items:center;gap:11px;margin:0 5px 26px;display:flex}.homeIdentityMark{color:#536d57;background:#e5eee6;border:1px solid #cfd9d0;border-radius:17px;flex:none;justify-content:center;align-items:center;width:48px;height:48px;font-family:Songti SC,STSong,serif;font-size:13px;font-weight:650;display:inline-flex;box-shadow:inset 0 0 0 4px #fff6}.homeIdentity p,.homeIdentity h1{margin:0}.homeIdentity p{color:var(--muted);letter-spacing:.08em;font-size:10px}.homeIdentity h1{color:#37302c;letter-spacing:.04em;margin-top:3px;font-family:Songti SC,STSong,serif;font-size:19px;font-weight:650}.roomNavigationList{grid-template-columns:1fr;gap:5px;padding:0}.roomNavigationButton{text-align:left;border-radius:16px;flex-direction:row;justify-content:flex-start;gap:12px;min-height:54px;padding:7px 12px}.roomNavigationIcon{border-radius:11px;width:32px;height:32px}.roomNavigationLabel{font-size:14px}.roomNavigationMarker{width:3px;height:22px;top:50%;bottom:auto;right:5px;transform:translateY(-50%)}.homePrivacyNote{color:#938981;letter-spacing:.05em;margin:auto 8px 0;font-size:10px;line-height:1.5;display:block}.roomStage{background:radial-gradient(circle at 95% 5%, #e5eee59e, transparent 30%), var(--page-background);padding:20px}.roomView{max-width:1100px;margin:0 auto}.placeholderRoomContent,.bedroomLayout,.livingRoomContent{border:1px solid #ded3cbe0;border-radius:26px;overflow:hidden;box-shadow:0 15px 48px #4a3c3414}.placeholderRoomContent{overflow-y:auto}.knotMemoryView{border-radius:26px}.bedroomLayout{max-width:720px;margin:0 auto}.bedroomChatSlot{overflow:hidden}.chatFrame{border:0}}@media (min-width:1280px){.cyberHomeShell{grid-template-columns:228px minmax(0,1fr)}.roomStage{padding:24px}}@media (max-width:520px){.knotViewHeader{display:block}.knotViewHeader>div{margin-top:15px}.knotFormGrid{grid-template-columns:1fr}.knotFieldWide{grid-column:1}.knotUnavailable{flex-direction:column;align-items:flex-start}.knotCardActions,.knotEditorActions{flex-wrap:wrap}.memoryImportSources,.memoryImportBoundary{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.memoryImportOr{align-self:flex-start}.memoryImportMetadata{grid-template-columns:1fr}.memoryImportCandidateHeader{flex-direction:column;align-items:flex-start}.memoryImportCandidateActions{flex-direction:column;align-items:stretch}.memoryImportCandidateActions label,.memoryImportCandidateActions button,.memoryImportSummary>button{width:100%}.memoryImportCandidateActions input{flex:1;width:auto}.previewPanel{flex-direction:column;align-items:stretch;gap:9px}.previewPanel .voiceActions{justify-content:flex-end}.audioPreview audio{flex:1;width:100%}.settingItem,.remarkSetting{grid-template-columns:1fr;gap:10px}.remarkActions{grid-column:1}.settingActions,.remarkActions{justify-content:flex-start}}@media (max-width:374px){.chatHeader{padding-left:124px;padding-right:124px}.headerActions{gap:0;right:6px}.headerActions .iconButton{width:40px;height:40px}.messageList{padding-left:10px;padding-right:10px}.voicePanel{gap:8px;padding-left:8px;padding-right:8px}.voicePrimaryButton,.voiceSecondaryButton{min-width:54px;padding-left:10px;padding-right:10px}.audioBubble{width:min(238px,100vw - 76px)}.composer{gap:3px;padding-left:4px;padding-right:4px}}
