.chat-page[data-v-26f49e3d]{min-height:calc(100vh - 134px);display:grid;grid-template-columns:minmax(320px,370px) minmax(0,1fr);gap:20px;align-items:stretch}.chat-page[data-v-26f49e3d]:not(.history-list-mode):not(.immersive){height:calc(100vh - 134px);min-height:620px}.chat-page.history-list-mode[data-v-26f49e3d]{display:block;width:min(1120px,100%);min-height:calc(100vh - 134px);margin:0 auto}.chat-page.immersive[data-v-26f49e3d]{display:block;min-height:100vh}.desktop-chat-history[data-v-26f49e3d]{min-height:calc(100vh - 134px);display:flex;flex-direction:column;gap:16px;padding:18px;border:1px solid var(--border);border-radius:var(--radius-lg);background:linear-gradient(180deg,color-mix(in srgb,var(--card-bg) 92%,transparent),color-mix(in srgb,#140713 92%,transparent)),var(--bg);box-shadow:var(--shadow-soft)}.desktop-chat-history-head[data-v-26f49e3d]{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:2px 0 8px}.desktop-chat-history-head .eyebrow[data-v-26f49e3d]{margin:0 0 2px;color:var(--muted);font-weight:700;font-size:12px}.desktop-chat-history-head h1[data-v-26f49e3d]{margin:0;color:var(--text);font-size:clamp(30px,3vw,40px);line-height:1.05}.desktop-chat-history-actions[data-v-26f49e3d]{display:flex;align-items:center;gap:8px}.desktop-chat-history .icon-btn[data-v-26f49e3d]{min-width:42px;height:42px;display:inline-grid;place-items:center;padding:0 12px;border:1px solid var(--border);border-radius:999px;background:color-mix(in srgb,var(--card-bg) 82%,#000 8%);color:var(--text);font-weight:800}.desktop-chat-history .text-icon[data-v-26f49e3d]{min-width:56px}.desktop-chat-history-search[data-v-26f49e3d]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.desktop-chat-history-search input[data-v-26f49e3d]{min-width:0;min-height:44px;border:1px solid var(--border);border-radius:999px;padding:0 16px;background:color-mix(in srgb,var(--card-bg) 78%,#000 10%);color:var(--text)}.desktop-chat-history-search button[data-v-26f49e3d]{min-width:108px;min-height:44px;border:1px solid var(--border);border-radius:999px;padding:0 16px;background:color-mix(in srgb,var(--accent) 72%,white 12%);color:#2b1123;font-weight:800}.desktop-history-list[data-v-26f49e3d]{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));align-content:start;gap:14px;flex:1;min-height:0;overflow-y:auto;padding:2px 4px 12px 0}.desktop-history-card[data-v-26f49e3d]{display:grid;grid-template-columns:58px minmax(0,1fr);gap:14px;align-items:start;min-height:128px;padding:14px;border:1px solid var(--border);border-radius:12px;background:color-mix(in srgb,var(--card-bg) 88%,#000 8%);color:var(--text);text-align:left;cursor:pointer;transition:border-color .18s ease,transform .18s ease,background .18s ease}.desktop-history-card[data-v-26f49e3d]:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--accent) 70%,white 10%);background:color-mix(in srgb,var(--card-bg) 94%,#000 4%)}.desktop-history-card.pinned[data-v-26f49e3d]{box-shadow:inset 4px 0 color-mix(in srgb,var(--accent) 78%,white 10%)}.desktop-history-avatar[data-v-26f49e3d]{width:58px;height:58px;border-radius:12px;overflow:hidden;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 24%,#2b1024);color:color-mix(in srgb,var(--accent) 55%,white 35%);font-size:24px;font-weight:900}.desktop-history-avatar img[data-v-26f49e3d]{width:100%;height:100%;object-fit:cover}.desktop-history-info[data-v-26f49e3d]{min-width:0;display:grid;gap:6px}.desktop-history-title-row[data-v-26f49e3d]{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.desktop-history-title-row strong[data-v-26f49e3d]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px}.desktop-history-title-row time[data-v-26f49e3d]{flex:0 0 auto;color:var(--muted);font-size:12px}.desktop-history-info p[data-v-26f49e3d]{margin:0;color:var(--muted);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.desktop-history-meta[data-v-26f49e3d]{display:flex;flex-wrap:wrap;gap:6px}.desktop-history-meta span[data-v-26f49e3d]{padding:3px 9px;border-radius:999px;background:color-mix(in srgb,var(--accent) 24%,transparent);color:color-mix(in srgb,var(--accent) 56%,white 32%);font-size:12px;font-weight:700}.history-empty[data-v-26f49e3d]{display:grid;gap:10px;place-items:center;text-align:center;min-height:280px;padding:24px;border:1px solid var(--border);border-radius:16px;background:color-mix(in srgb,var(--card-bg) 78%,#000 8%);color:var(--muted)}.history-empty strong[data-v-26f49e3d]{color:var(--text);font-size:20px}.immersive-shell[data-v-26f49e3d]{height:100vh;min-height:620px;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:#ededed;box-shadow:var(--shadow-soft);position:relative}.immersive-topbar[data-v-26f49e3d]{min-height:58px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:8px 14px;background:#f7f7f7f5;border-bottom:1px solid rgba(0,0,0,.08);position:relative;z-index:5}.immersive-back[data-v-26f49e3d],.immersive-menu-btn[data-v-26f49e3d]{min-height:38px;padding:0 12px;border:0;border-radius:999px;background:#0000000f;color:#222}.immersive-title[data-v-26f49e3d]{min-width:0;text-align:center}.immersive-title h2[data-v-26f49e3d]{margin:0;font-size:17px;color:#111;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.immersive-title p[data-v-26f49e3d]{margin:2px 0 0;font-size:12px;color:#777}.immersive-menu[data-v-26f49e3d]{position:absolute;top:54px;right:12px;width:min(220px,calc(100vw - 24px));display:grid;gap:4px;padding:8px;border-radius:14px;background:#fff;box-shadow:0 16px 40px #00000029;z-index:20}.immersive-menu button[data-v-26f49e3d],.guide-sheet button[data-v-26f49e3d]{min-height:40px;border:0;border-radius:10px;background:transparent;color:#222;text-align:left;padding:0 12px}.immersive-menu button[data-v-26f49e3d]:hover,.guide-sheet button[data-v-26f49e3d]:hover{background:#2f6f5e14}.guide-sheet .guide-sheet-card[data-v-26f49e3d]{display:grid;gap:3px;align-items:center;min-height:56px;padding:8px 10px}.guide-sheet-card strong[data-v-26f49e3d],.guide-sheet-card small[data-v-26f49e3d]{display:block}.guide-sheet-card small[data-v-26f49e3d]{color:#2222229e;font-size:12px;line-height:1.35}.immersive-members[data-v-26f49e3d]{display:flex;gap:8px;overflow-x:auto;padding:8px 12px;background:#f6f6f6;border-bottom:1px solid rgba(0,0,0,.06)}.immersive-members span[data-v-26f49e3d]{flex:0 0 auto;padding:5px 10px;border-radius:999px;background:#fff;color:#333;font-size:12px}.immersive-members .off[data-v-26f49e3d]{opacity:.45;text-decoration:line-through}.immersive-toast[data-v-26f49e3d]{position:absolute;top:68px;left:50%;transform:translate(-50%);max-width:min(520px,calc(100% - 32px));padding:8px 14px;border-radius:999px;background:#000000b8;color:#fff;font-size:13px;z-index:10}.immersive-toast.error[data-v-26f49e3d]{background:#9a332adb}.immersive-members[data-v-26f49e3d],.immersive-message-list[data-v-26f49e3d],.immersive-composer[data-v-26f49e3d]{position:relative;z-index:2}.immersive-message-list[data-v-26f49e3d]{flex:1 1 auto;min-height:0;overflow-y:auto;padding:18px 16px 22px;scroll-behavior:smooth;background:linear-gradient(#ffffff2e,#fff0),#ededed}.immersive-message[data-v-26f49e3d]{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;max-width:min(760px,92%);margin:0 0 16px}.immersive-message.mine[data-v-26f49e3d]{grid-template-columns:minmax(0,1fr) 42px;margin-left:auto}.immersive-message.typing-indicator[data-v-26f49e3d]{opacity:.92}.immersive-message.narrator[data-v-26f49e3d]{display:block;max-width:min(680px,88%);margin:14px auto;text-align:center}.immersive-avatar[data-v-26f49e3d]{width:38px;height:38px;border-radius:8px;overflow:hidden;display:grid;place-items:center;background:#c9c9c9;color:#fff;font-weight:800}.immersive-avatar img[data-v-26f49e3d]{width:100%;height:100%;object-fit:cover}.immersive-message.mine .immersive-avatar[data-v-26f49e3d]{grid-column:2;grid-row:1}.immersive-message.mine .immersive-bubble-wrap[data-v-26f49e3d]{grid-column:1;grid-row:1;align-items:flex-end}.immersive-bubble-wrap[data-v-26f49e3d]{display:grid;justify-items:start;gap:4px}.immersive-name[data-v-26f49e3d]{display:flex;gap:8px;align-items:baseline;padding:0 2px;color:#666;font-size:12px}.immersive-name small[data-v-26f49e3d]{color:#999;font-weight:400}.immersive-bubble[data-v-26f49e3d]{max-width:100%;padding:10px 12px;border-radius:6px 16px 16px;background:#fff;color:#111;box-shadow:0 1px 1px #0000000a;overflow-wrap:anywhere}.immersive-message.mine .immersive-bubble[data-v-26f49e3d]{border-radius:16px 6px 16px 16px;background:#95ec69}.immersive-message.narrator .immersive-bubble[data-v-26f49e3d]{display:inline-block;background:#00000014;color:#555;border-radius:999px;box-shadow:none;font-size:13px}.immersive-bubble p[data-v-26f49e3d]{margin:0;line-height:1.65;white-space:pre-wrap}.immersive-choices[data-v-26f49e3d]{display:grid;gap:8px;margin-top:10px}.immersive-choices button[data-v-26f49e3d]{min-height:38px;border:1px solid rgba(47,111,94,.2);border-radius:10px;background:#ffffff9e;text-align:left;padding:8px 10px}.immersive-ambient[data-v-26f49e3d]{margin-top:8px;padding:7px 9px;border-left:3px solid rgba(47,111,94,.22);border-radius:10px;background:#ffffff7a;color:#1e2320b8;font-size:12px}.immersive-ambient summary[data-v-26f49e3d]{cursor:pointer;list-style:none;font-weight:700}.immersive-ambient p[data-v-26f49e3d]{margin:4px 0 0;line-height:1.5}.immersive-ambient span[data-v-26f49e3d]{font-weight:700}.immersive-error[data-v-26f49e3d]{display:block;margin-top:6px;color:#9a332a}.immersive-msg-actions[data-v-26f49e3d]{display:flex;flex-wrap:wrap;gap:4px;opacity:0;transition:opacity .16s ease}.immersive-message:hover .immersive-msg-actions[data-v-26f49e3d],.immersive-message:focus-within .immersive-msg-actions[data-v-26f49e3d]{opacity:1}.immersive-msg-actions button[data-v-26f49e3d]{min-height:26px;border:0;border-radius:999px;background:#ffffffb8;color:#666;padding:0 8px;font-size:12px}.immersive-composer[data-v-26f49e3d]{flex:0 0 auto;position:relative;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#f7f7f7;border-top:1px solid rgba(0,0,0,.08)}.immersive-persona-hint[data-v-26f49e3d]{margin:0 0 6px 52px;color:#777;font-size:12px}.immersive-input-row[data-v-26f49e3d]{display:grid;grid-template-columns:42px 54px minmax(0,1fr) auto;gap:8px;align-items:end}.guide-orb[data-v-26f49e3d]{width:42px;height:42px;border:0;border-radius:50%;background:linear-gradient(135deg,#2f6f5e,#58a07f);color:#fff;font-size:20px;box-shadow:0 8px 20px #2f6f5e38}.immersive-input-row textarea[data-v-26f49e3d]{width:100%;min-height:42px;max-height:128px;resize:none;border:0;border-radius:18px;background:#fff;padding:10px 14px;font:inherit;line-height:1.45;outline:none}.immersive-send[data-v-26f49e3d],.immersive-stop[data-v-26f49e3d]{min-height:42px;border:0;border-radius:18px;padding:0 16px;color:#fff}.immersive-send[data-v-26f49e3d]{background:#07c160}.immersive-stop[data-v-26f49e3d]{background:#c4473d}.guide-sheet[data-v-26f49e3d]{position:absolute;left:12px;right:12px;bottom:calc(62px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px;border-radius:18px;background:#fffffffa;box-shadow:0 -12px 36px #00000024;z-index:12}.image-pick-btn[data-v-26f49e3d],.image-attach-btn[data-v-26f49e3d]{position:relative;display:grid;place-items:center;min-height:42px;border-radius:14px;cursor:pointer;-webkit-user-select:none;user-select:none}.image-pick-btn[data-v-26f49e3d]{border:1px solid rgba(47,111,94,.2);background:#2f6f5e1a;color:#245d4d;font-weight:800;font-size:13px}.image-pick-btn input[data-v-26f49e3d],.image-attach-btn input[data-v-26f49e3d]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.image-pick-btn.disabled[data-v-26f49e3d],.image-attach-btn.disabled[data-v-26f49e3d]{opacity:.5;pointer-events:none}.selected-chat-image[data-v-26f49e3d]{grid-column:1 / -1;display:flex;align-items:center;gap:10px;padding:8px;border:1px solid color-mix(in srgb,var(--primary) 25%,var(--border));border-radius:8px;background:color-mix(in srgb,var(--primary-soft) 28%,var(--card-bg))}.selected-chat-image img[data-v-26f49e3d]{width:72px;height:72px;border-radius:8px;object-fit:cover}.selected-chat-image span[data-v-26f49e3d]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-chat-image button[data-v-26f49e3d]{min-width:auto}.voice-inline-status[data-v-26f49e3d]{grid-column:1 / -1;padding:8px 12px;border:1px solid rgba(236,151,186,.32);border-radius:12px;background:#ec97ba1f;color:var(--text);font-size:13px}.voice-live-btn[data-v-26f49e3d]{border-color:#86efacbf!important;background:#14532d57!important;color:#bbf7d0!important}.immersive-selected-image[data-v-26f49e3d]{margin-bottom:8px;background:#fffffff0}.immersive-message-image[data-v-26f49e3d]{display:block;width:min(360px,100%);max-height:360px;margin-bottom:8px;border-radius:12px;object-fit:contain;background:#00000014}.guide-suggestion-strip[data-v-26f49e3d]{position:absolute;left:12px;right:12px;bottom:calc(62px + env(safe-area-inset-bottom));z-index:11;display:grid;gap:6px;padding:10px;border-radius:18px;background:#fffffffa;box-shadow:0 -12px 36px #00000024}.guide-suggestion-strip strong[data-v-26f49e3d]{color:#222}.guide-suggestion-strip button[data-v-26f49e3d]{justify-content:flex-start;min-height:38px;border:0;border-radius:10px;padding:0 12px;background:#2f6f5e14;color:#222;text-align:left}.session-inline-action[data-v-26f49e3d]{color:var(--primary-strong)!important;font-weight:700}.session-panel[data-v-26f49e3d]{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0;height:100%;overflow:hidden;padding:14px;border:1px solid var(--border);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--card-bg) 86%,transparent);box-shadow:var(--shadow-soft)}.session-panel>.secondary-btn[data-v-26f49e3d]:first-child{align-self:flex-start}.character-mini[data-v-26f49e3d]{display:grid;grid-template-columns:64px 1fr;gap:12px;padding:14px;border:1px solid #d9cbb8;border-radius:8px;background:#fffaf0}.avatar[data-v-26f49e3d]{width:64px;height:64px;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:#7b4b35;color:#fff;font-size:24px;font-weight:800}.avatar img[data-v-26f49e3d]{width:100%;height:100%;object-fit:cover}.character-mini h1[data-v-26f49e3d],.chat-header h2[data-v-26f49e3d]{margin:0 0 6px;font-size:22px}.character-mini p[data-v-26f49e3d],.chat-header p[data-v-26f49e3d]{margin:0;color:#655c52;overflow-wrap:anywhere}.chat-header .feeling-line[data-v-26f49e3d]{display:inline-flex;align-items:center;gap:7px;margin-top:8px;padding:5px 10px;width:fit-content;border:1px solid color-mix(in srgb,var(--primary) 28%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--primary-soft) 42%,var(--card-bg));color:var(--primary-strong);font-weight:800}.chat-header .feeling-line small[data-v-26f49e3d]{color:var(--text-muted);font-weight:700}.relationship-box[data-v-26f49e3d],.tool-panel[data-v-26f49e3d]{padding:12px;border:1px solid #d9cbb8;border-radius:8px;background:#fffaf0}.relationship-head[data-v-26f49e3d]{display:flex;align-items:center;justify-content:space-between;gap:8px}.relationship-box p[data-v-26f49e3d]{margin:6px 0 0;color:#655c52}.assistant-modal[data-v-26f49e3d],.relationship-memory-modal[data-v-26f49e3d],.relationship-edit-modal[data-v-26f49e3d]{max-width:min(920px,calc(100vw - 28px))}.assistant-actions[data-v-26f49e3d]{justify-content:flex-start}.assistant-file-preview[data-v-26f49e3d]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;border:1px solid color-mix(in srgb,var(--primary) 24%,var(--border));border-radius:8px;background:color-mix(in srgb,var(--primary-soft) 32%,var(--card-bg))}.assistant-file-preview strong[data-v-26f49e3d]{flex:0 0 100%}.assistant-file-preview span[data-v-26f49e3d]{max-width:220px;padding:5px 8px;border-radius:8px;background:#ffffffb8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.memory-section[data-v-26f49e3d]{display:grid;gap:10px;margin-top:14px}.memory-section h3[data-v-26f49e3d]{margin:0;font-size:16px}.memory-card[data-v-26f49e3d]{display:grid;gap:7px;padding:12px;border:1px solid #d9cbb8;border-radius:8px;background:#fffaf0}.memory-card p[data-v-26f49e3d],.memory-card small[data-v-26f49e3d]{margin:0;color:#655c52;line-height:1.55;overflow-wrap:anywhere}.memory-card-head[data-v-26f49e3d]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.memory-stats[data-v-26f49e3d]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.memory-stats span[data-v-26f49e3d]{min-width:0;padding:7px 9px;border-radius:8px;background:#f1e7d8;color:#49382a;overflow-wrap:anywhere}.member-tools[data-v-26f49e3d]{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.member-tools select[data-v-26f49e3d]{min-width:0;min-height:34px;border:1px solid #cfc2b1;border-radius:8px;background:#fff;padding:0 8px}.member-list[data-v-26f49e3d]{display:grid;gap:6px;margin-top:8px}.member-chip[data-v-26f49e3d]{display:grid;grid-template-columns:1fr auto auto auto auto;align-items:center;gap:4px;padding:6px;border-radius:8px;background:#e8dccb;color:#49382a;font-size:12px}.member-chip span[data-v-26f49e3d]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-chip.off[data-v-26f49e3d]{opacity:.6}.member-chip.off span[data-v-26f49e3d]{text-decoration:line-through}.danger-text[data-v-26f49e3d]{color:#9a332a;border-color:#9a332a40}.portrait-box[data-v-26f49e3d]{display:grid;gap:8px;padding:12px;border:1px solid #d9cbb8;border-radius:8px;background:#fffaf0;text-align:center}.portrait-toggle[data-v-26f49e3d]{justify-self:center}.portrait-box.collapsed>img[data-v-26f49e3d],.portrait-box.collapsed .portrait-fallback[data-v-26f49e3d],.portrait-box.collapsed p[data-v-26f49e3d]{display:none}.portrait-box>img[data-v-26f49e3d]{width:100%;max-height:320px;object-fit:contain;border-radius:8px;background:#efe3d3}.portrait-box p[data-v-26f49e3d]{margin:0;color:#655c52}.portrait-fallback[data-v-26f49e3d]{width:100%;height:auto;aspect-ratio:1}.tag-filter[data-v-26f49e3d]{display:grid;gap:6px;font-size:13px;color:#655c52}.tag-filter input[data-v-26f49e3d],.tag-filter select[data-v-26f49e3d],.inline-form input[data-v-26f49e3d]{width:100%;min-height:38px;border:1px solid #cfc2b1;border-radius:8px;padding:8px 10px;background:#fff}.session-list[data-v-26f49e3d]{display:grid;align-content:start;gap:8px;flex:1;min-height:160px;overflow-y:auto;padding-right:4px}.session-item[data-v-26f49e3d]{display:grid;gap:4px;padding:12px;border:1px solid #d9cbb8;border-radius:8px;background:#fffaf0;color:#2b211b;text-align:left}.session-item.active[data-v-26f49e3d]{border-color:#2f6f5e;box-shadow:inset 4px 0 #2f6f5e}.session-item span[data-v-26f49e3d]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-item small[data-v-26f49e3d]{color:#6d6258}.chat-main[data-v-26f49e3d]{min-width:0;min-height:0;height:100%;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;padding:16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--card-bg) 82%,transparent);box-shadow:var(--shadow-soft);position:relative;overflow:hidden}.chat-background-layer[data-v-26f49e3d],.chat-background-overlay[data-v-26f49e3d]{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.chat-background-layer[data-v-26f49e3d]{z-index:0;background-size:cover;background-repeat:no-repeat;transform-origin:center}.chat-background-overlay[data-v-26f49e3d]{z-index:1;background:#05070b}.chat-header[data-v-26f49e3d],.tool-panel[data-v-26f49e3d],.error-box[data-v-26f49e3d],.status-text[data-v-26f49e3d],.message-list[data-v-26f49e3d],.bottom-btn[data-v-26f49e3d],.context-toolbar[data-v-26f49e3d],.composer[data-v-26f49e3d]{position:relative;z-index:2}.chat-header[data-v-26f49e3d]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.persona-line[data-v-26f49e3d]{display:inline-flex;margin-top:6px;padding:4px 10px;border-radius:999px;background:color-mix(in srgb,var(--primary-soft) 55%,transparent);color:var(--primary-strong);font-weight:700}.header-actions[data-v-26f49e3d]{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.tool-panel[data-v-26f49e3d]{display:grid;gap:10px;margin-bottom:12px}.tool-panel h3[data-v-26f49e3d]{margin:0;font-size:18px}.panel-heading[data-v-26f49e3d]{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.story-panel[data-v-26f49e3d]{max-height:min(70vh,760px);overflow:auto}.story-head[data-v-26f49e3d]{display:grid;gap:8px}.story-tabs[data-v-26f49e3d]{display:flex;flex-wrap:wrap;gap:6px}.story-tabs .active[data-v-26f49e3d]{background:#2f6f5e;color:#fff;border-color:#2f6f5e}.story-grid[data-v-26f49e3d]{display:grid;grid-template-columns:minmax(220px,320px) 1fr;gap:10px;align-items:start}.story-form[data-v-26f49e3d]{display:grid;gap:8px}.story-form input[data-v-26f49e3d],.story-form select[data-v-26f49e3d],.story-form textarea[data-v-26f49e3d]{width:100%;min-height:36px;border:1px solid #cfc2b1;border-radius:8px;padding:8px 10px;background:#fff}.story-form textarea[data-v-26f49e3d]{resize:vertical;line-height:1.5}.check-line[data-v-26f49e3d]{display:flex;align-items:center;gap:8px;color:#49382a}.story-card[data-v-26f49e3d]{display:grid;gap:6px;padding:10px;border:1px solid #d9cbb8;border-radius:8px;background:#fff}.story-card strong[data-v-26f49e3d]{color:#2b211b}.story-card small[data-v-26f49e3d]{color:#74675b}.story-card p[data-v-26f49e3d]{margin:0;color:#49382a;white-space:pre-wrap;overflow-wrap:anywhere}.inline-form[data-v-26f49e3d]{display:grid;grid-template-columns:1fr auto;gap:8px}.context-toolbar[data-v-26f49e3d]{display:flex;align-items:center;gap:8px;margin-top:10px;padding:0 2px}.immersive-context-toolbar[data-v-26f49e3d]{margin:0;padding:0 0 8px}.result-item[data-v-26f49e3d]{display:grid;gap:4px;width:100%;padding:10px 12px;border:1px solid #d9cbb8;border-radius:8px;background:#fff;color:#2b211b;text-align:left}.result-item span[data-v-26f49e3d]{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.summary-item[data-v-26f49e3d]{display:grid;gap:8px;padding:10px;border-radius:8px;background:#f6ebdb}.summary-item div[data-v-26f49e3d]:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.summary-item p[data-v-26f49e3d]{margin:0;line-height:1.55;white-space:pre-wrap}.inline-actions[data-v-26f49e3d]{display:flex;flex-wrap:wrap;gap:8px}.message-list[data-v-26f49e3d]{min-height:0;max-height:none;overflow-y:auto;padding:16px 12px 22px;scroll-behavior:smooth;border-radius:var(--radius);background:linear-gradient(180deg,color-mix(in srgb,var(--bg-soft) 52%,transparent),transparent)}.chat-page.compact .message-list[data-v-26f49e3d]{padding-top:6px}.chat-typing-row[data-v-26f49e3d]{display:flex;align-items:flex-end;gap:8px;max-width:min(720px,84%);margin:12px 0}.chat-typing-avatar[data-v-26f49e3d]{width:34px;height:34px;flex:0 0 auto;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--primary-soft) 70%,var(--card-bg));color:var(--primary-strong);font-size:12px;font-weight:900}.chat-typing-bubble[data-v-26f49e3d],.typing-bubble[data-v-26f49e3d]{display:inline-flex;align-items:center;gap:5px;min-width:54px;min-height:34px;padding:10px 13px;border:1px solid var(--border);border-radius:18px 18px 18px 6px;background:var(--card-bg);box-shadow:var(--shadow-soft)}.chat-typing-bubble span[data-v-26f49e3d],.typing-bubble span[data-v-26f49e3d]{width:6px;height:6px;border-radius:50%;background:color-mix(in srgb,var(--text) 52%,transparent);animation:typing-dot-26f49e3d 1.1s infinite ease-in-out}.chat-typing-bubble span[data-v-26f49e3d]:nth-child(2),.typing-bubble span[data-v-26f49e3d]:nth-child(2){animation-delay:.14s}.chat-typing-bubble span[data-v-26f49e3d]:nth-child(3),.typing-bubble span[data-v-26f49e3d]:nth-child(3){animation-delay:.28s}@keyframes typing-dot-26f49e3d{0%,80%,to{transform:translateY(0);opacity:.38}40%{transform:translateY(-4px);opacity:1}}.load-more-btn[data-v-26f49e3d]{display:block;margin:0 auto 10px}.bottom-btn[data-v-26f49e3d]{justify-self:end;min-height:32px;margin-top:-6px;padding:0 12px;border:1px solid #d9cbb8;border-radius:8px;background:#fffaf0;color:#2b211b}.composer[data-v-26f49e3d]{position:sticky;bottom:0;display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;margin-top:10px;background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft)}.composer textarea[data-v-26f49e3d]{width:100%;min-height:54px;max-height:170px;resize:vertical;padding:12px}.composer select[data-v-26f49e3d]{min-height:40px;border:1px solid #cfc2b1;border-radius:8px;padding:0 10px;background:#fff}.composer button[data-v-26f49e3d]{min-width:96px}.modal-backdrop[data-v-26f49e3d]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:18px;background:#241b168c}.modal[data-v-26f49e3d]{width:min(940px,100%);max-height:86vh;display:grid;gap:12px;padding:18px;overflow:auto;border-radius:8px;background:#fffaf0;border:1px solid #d9cbb8}.modal header[data-v-26f49e3d]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.modal h2[data-v-26f49e3d],.modal h3[data-v-26f49e3d]{margin:0 0 6px}.modal p[data-v-26f49e3d]{margin:0;color:#655c52;line-height:1.5}.matched[data-v-26f49e3d]{padding:12px;border-radius:8px;background:#f1e6d6}.module-list[data-v-26f49e3d]{display:grid;gap:10px}.prompt-module[data-v-26f49e3d]{padding:10px;border:1px solid #d9cbb8;border-radius:8px;background:#fff}.prompt-module summary[data-v-26f49e3d]{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;cursor:pointer;font-weight:800}.prompt-module pre[data-v-26f49e3d]{max-height:280px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.55}.modal textarea[data-v-26f49e3d]{width:100%;min-height:360px;border:1px solid #cfc2b1;border-radius:8px;padding:12px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}.modal textarea.full-prompt-textarea[data-v-26f49e3d]{min-height:460px;margin-top:10px;white-space:pre-wrap}.form-grid[data-v-26f49e3d]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid label[data-v-26f49e3d]{display:grid;gap:6px;color:#463424}.form-grid .full[data-v-26f49e3d]{grid-column:1 / -1}.check-line[data-v-26f49e3d]{display:flex!important;align-items:center;gap:8px}.guidance-modal input[data-v-26f49e3d],.guidance-modal select[data-v-26f49e3d]{min-height:38px;border:1px solid #cfc2b1;border-radius:8px;padding:0 10px}.guidance-modal textarea[data-v-26f49e3d]{min-height:88px;font-family:inherit}.novel-modal[data-v-26f49e3d]{width:min(1180px,100%)}.novel-layout[data-v-26f49e3d]{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:14px;align-items:start}.novel-form input[data-v-26f49e3d],.novel-form select[data-v-26f49e3d],.novel-result input[data-v-26f49e3d]{width:100%;min-height:38px;border:1px solid #cfc2b1;border-radius:8px;padding:0 10px;background:#fff}.novel-form .compact-textarea[data-v-26f49e3d],.novel-result .compact-textarea[data-v-26f49e3d]{min-height:92px;font-family:inherit}.novel-result[data-v-26f49e3d]{display:grid;gap:10px;min-width:0}.novel-result label[data-v-26f49e3d]{display:grid;gap:6px;color:#463424}.novel-records[data-v-26f49e3d]{display:grid;gap:10px;padding-top:8px;border-top:1px dashed #d9cbb8}.novel-section-list[data-v-26f49e3d]{display:grid;gap:10px;max-height:58vh;overflow:auto;padding-right:4px}.novel-section-card[data-v-26f49e3d]{display:grid;gap:8px;padding:10px;border:1px solid #d9cbb8;border-radius:10px;background:#fffaf2}.novel-section-head[data-v-26f49e3d]{display:flex;justify-content:space-between;align-items:center;gap:8px}.novel-range-panel[data-v-26f49e3d]{display:grid;gap:8px;padding:10px;border:1px solid #d9cbb8;border-radius:8px;background:#fffaf2}.novel-range-head[data-v-26f49e3d],.novel-range-meta[data-v-26f49e3d]{display:flex;justify-content:space-between;gap:8px;align-items:center}.novel-range-list[data-v-26f49e3d]{display:grid;gap:8px;max-height:260px;overflow:auto}.novel-range-item[data-v-26f49e3d]{display:grid;gap:6px;padding:8px;border:1px solid #e2d5c2;border-radius:8px;background:#fff}.novel-range-item.selected[data-v-26f49e3d]{border-color:#52b7a5;box-shadow:0 0 0 2px #52b7a529}.novel-range-item p[data-v-26f49e3d]{margin:0;color:#5f4a38;overflow-wrap:anywhere}.matched pre[data-v-26f49e3d]{max-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.modal-actions[data-v-26f49e3d]{display:flex;justify-content:flex-end}@media (max-width: 767px){.chat-page[data-v-26f49e3d],.chat-page[data-v-26f49e3d]:not(.history-list-mode):not(.immersive){height:auto;grid-template-columns:1fr;min-height:calc(100vh - 118px)}.chat-page.history-list-mode[data-v-26f49e3d]{width:100%;min-height:calc(100vh - 118px)}.desktop-chat-history[data-v-26f49e3d]{min-height:calc(100vh - 118px);padding:14px}.desktop-history-list[data-v-26f49e3d]{grid-template-columns:1fr;padding-bottom:88px}.chat-page.immersive[data-v-26f49e3d]{min-height:100dvh}.immersive-shell[data-v-26f49e3d]{height:100dvh;min-height:100dvh;border:0;border-radius:0}.immersive-topbar[data-v-26f49e3d]{padding-top:calc(8px + env(safe-area-inset-top))}.immersive-message-list[data-v-26f49e3d]{padding:14px 10px 18px}.immersive-message[data-v-26f49e3d]{max-width:96%;grid-template-columns:36px minmax(0,1fr);gap:7px}.immersive-message.mine[data-v-26f49e3d]{grid-template-columns:minmax(0,1fr) 36px}.immersive-avatar[data-v-26f49e3d]{width:34px;height:34px}.immersive-msg-actions[data-v-26f49e3d]{opacity:1}.immersive-msg-actions button[data-v-26f49e3d]{min-height:24px;font-size:11px}.guide-sheet[data-v-26f49e3d]{grid-template-columns:1fr 1fr}.member-tools[data-v-26f49e3d],.member-chip[data-v-26f49e3d]{grid-template-columns:1fr}.member-chip[data-v-26f49e3d]{align-items:stretch}.story-grid[data-v-26f49e3d]{grid-template-columns:1fr}.story-panel[data-v-26f49e3d]{max-height:none}.session-panel[data-v-26f49e3d]{height:auto;overflow:visible;padding:0;border:0;background:transparent;box-shadow:none}.session-list[data-v-26f49e3d]{grid-auto-flow:column;grid-auto-columns:minmax(190px,1fr);overflow-x:auto}.chat-header[data-v-26f49e3d]{flex-direction:column}.header-actions[data-v-26f49e3d],.header-actions button[data-v-26f49e3d]{width:100%}.relationship-head[data-v-26f49e3d],.inline-form[data-v-26f49e3d]{grid-template-columns:1fr;flex-direction:column;align-items:stretch}.memory-card-head[data-v-26f49e3d]{flex-direction:column}.memory-stats[data-v-26f49e3d]{grid-template-columns:1fr}.message-list[data-v-26f49e3d]{min-height:360px;max-height:none}.portrait-box.collapsed[data-v-26f49e3d]{padding:8px}.composer[data-v-26f49e3d]{grid-template-columns:1fr;padding-bottom:10px}.composer button[data-v-26f49e3d]{width:100%}.form-grid[data-v-26f49e3d],.novel-layout[data-v-26f49e3d]{grid-template-columns:1fr}.novel-modal[data-v-26f49e3d]{max-height:94vh;width:100%}.modal header[data-v-26f49e3d],.modal-actions[data-v-26f49e3d],.modal-actions button[data-v-26f49e3d]{width:100%;flex-direction:column}}
