#character-root{display:contents}#character-page[data-loading]{visibility:hidden;pointer-events:none}#character-loading{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;background:#f3f6fa;color:#455c75;font:14px/1.6 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;text-align:center}#character-loading[hidden]{display:none}#character-loading p{margin:8px 0}#character-loading button{pointer-events:auto;margin-top:12px;min-height:40px;padding:6px 16px;border:1px solid #aac0d6;border-radius:10px;background:#e8f3ff;color:#345b7e;cursor:pointer}.weak-hints{position:fixed;z-index:31;top:var(--dialogue-panel-top, calc(var(--character-ui-top, 12px) + 54px));left:0;width:100%;min-height:56px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;padding:8px max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));background:linear-gradient(to bottom,#fff0,#ffffffb3 50%,#fff0);color:#65758a;font-size:13px;line-height:1.5;pointer-events:none;animation:weak-hint-appear .18s ease-out}.weak-hints[hidden]{display:none}.weak-hint-text{min-width:0;overflow-wrap:anywhere}.weak-hints button{flex-shrink:0;min-height:34px;border:0;background:transparent;padding:0 4px;font:inherit;color:#5d7a93;cursor:pointer;pointer-events:auto}.weak-hints button[hidden]{display:none}.weak-hints .weak-hint-close{width:32px;color:#8996a5;font-size:19px}.weak-hints button:focus-visible{outline:2px solid #7294af;outline-offset:2px;border-radius:4px}@keyframes weak-hint-appear{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.weak-hints{animation:none}}.user-menu-nav{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:6px 0;border:0;background:transparent;color:inherit;text-align:left}.user-menu-nav>span:first-of-type{flex:1}.user-menu-nav>span:last-child{color:var(--ui-muted);font-size:20px}.user-menu-nav svg{width:17px;height:17px;flex-shrink:0;fill:none;stroke:#68849e;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.user-menu-nav:hover,.user-menu-nav:focus-visible,.user-menu-link:hover{color:var(--ui-accent)}.user-menu-nav small{display:block;margin-top:3px;color:#7a8ba0;font-size:12px}.user-menu-form{display:grid;gap:9px;padding:0 0 8px}.user-menu-form label{display:grid;gap:5px}.user-menu-form input,.user-feedback textarea,.user-share textarea{box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:9px;border:1px solid #d4e0eb;border-radius:7px;background:#fff;color:inherit;font:inherit}.user-menu-form button,.user-code-actions button{width:fit-content;min-height:40px;padding:8px 12px;border:1px solid #b7cee3;border-radius:8px;background:#e8f3ff;color:#234b70}.user-menu-form p{margin:0;color:var(--ui-muted);overflow-wrap:anywhere;font-size:12px}:root{--ui-text: #384457;--ui-muted: #71849a;--ui-accent: #285d8a;--ui-focus: #7294af;--ui-divider: #e0e8f0;--ui-control-border: #d6e0e9;--ui-menu-surface: #fffffff7;--ui-operation-duration: .22s;--ui-operation-exit-duration: .16s;--ui-feedback-duration: .12s}:where(#user-menu,#user-history-overlay,#scenario-list,#scenario-exit-panel,.announcement-dialog,.error-dialog){opacity:1;transition:opacity var(--ui-operation-exit-duration, .16s) ease-out}:where(#user-menu,#user-history-overlay,#scenario-list,#scenario-exit-panel)[hidden],:where(.announcement-dialog,.error-dialog):not([open]){opacity:0;pointer-events:none}.announcement-dialog::backdrop,.error-dialog::backdrop{opacity:1;transition:opacity .16s ease-out}.announcement-dialog:not([open])::backdrop,.error-dialog:not([open])::backdrop{opacity:0}@starting-style{.announcement-dialog[open]::backdrop,.error-dialog[open]::backdrop{opacity:0}}@supports (transition-behavior: allow-discrete) and (interactivity: inert){:where(#user-menu,#user-history-overlay,#scenario-list,#scenario-exit-panel,.announcement-dialog,.error-dialog){transition:opacity var(--ui-operation-exit-duration, .16s) ease-out,display var(--ui-operation-exit-duration, .16s) allow-discrete,overlay var(--ui-operation-exit-duration, .16s) allow-discrete}:where(#user-menu,#user-history-overlay,#scenario-list,#scenario-exit-panel)[hidden],:where(.announcement-dialog,.error-dialog):not([open]){interactivity:inert}.announcement-dialog::backdrop,.error-dialog::backdrop{transition:opacity .16s ease-out,display .16s allow-discrete,overlay .16s allow-discrete}}:where(.character-header button,.user-menu button,.history-overlay button,#character-input button,#character-input summary,.announcement-dialog button,.error-dialog button){transition:scale var(--ui-feedback-duration, .12s) ease-out,background-color var(--ui-feedback-duration, .12s) ease-out,color var(--ui-feedback-duration, .12s) ease-out,box-shadow var(--ui-feedback-duration, .12s) ease-out}:where(.character-header button,.user-menu button,.history-overlay button,#character-input button,#character-input summary,.announcement-dialog button,.error-dialog button):active:not(:disabled){scale:.96}@media(hover:hover){:where(.user-menu-nav,.user-menu-link,.history-actions button,.announcement-actions button,.error-dialog-actions button):hover:not(:disabled){background-color:#5277950d}}.character-sound-toggle svg{transition:scale .16s ease-out}.character-sound-toggle[aria-pressed=true] svg{scale:1.08}.user-menu-sound input{transition:background-color .16s ease-out}.user-menu-sound input:before{transition:left .16s ease-out,background-color .16s ease-out}.scene-framing-dots span{transition:background-color .18s ease-out,box-shadow .18s ease-out}#scene-framing button{transition:scale .12s ease-out,background-color .16s ease-out,box-shadow .16s ease-out}@media(prefers-reduced-motion:reduce){:where(#user-menu,#user-history-overlay,#scenario-list,#scenario-exit-panel,.announcement-dialog,.error-dialog),.announcement-dialog::backdrop,.error-dialog::backdrop,:where(.character-header button,.user-menu button,.history-overlay button,#character-input button,#character-input summary,.announcement-dialog button,.error-dialog button),.character-sound-toggle svg,.user-menu-sound input,.user-menu-sound input:before,.scene-framing-dots span,#scene-framing button{transition:none}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ui-text);background:transparent;font-synthesis:none;--character-box-width: min(420px, max(260px, var(--input-width, 52%)), calc(100% - 12px) );--character-center: clamp(calc(var(--character-box-width) / 2 + 6px), var(--input-center, 50%), calc(100% - var(--character-box-width) / 2 - 6px))}html,body,#viewer{width:100%;height:100%;margin:0;overflow:hidden}canvas{display:block;touch-action:none}body{user-select:none;-webkit-user-select:none}#character-page{display:contents}.mobile-identity,.mobile-menu-icon,.scene-framing{display:none}#status{position:fixed;inset:auto 20px 20px;width:fit-content;max-width:calc(100% - 80px);margin:0 auto;padding:12px 20px;border-radius:12px;background:#ffffffed;font-size:14px;line-height:1.6;overflow-wrap:anywhere}#status[data-error]{color:#963833}#status[hidden]{display:none}.character-header{position:fixed;z-index:30;top:var(--character-ui-top, 12px);left:var(--character-center);width:var(--character-box-width);transform:translate(-50%);pointer-events:none}.character-identity{display:grid;gap:2px;padding:7px 11px;border:1px solid var(--ui-control-border);border-radius:12px;background:#fffffff0;box-shadow:0 5px 16px #263f5820;color:inherit;font:inherit;font-size:11px;letter-spacing:.04em;text-align:left;pointer-events:auto;cursor:pointer}.character-identity strong{font-size:15px;letter-spacing:0}.character-identity:hover,.character-identity:focus-visible{background:#eef6fd}.character-header-actions{display:flex;align-items:center;gap:8px}.character-sound-control{position:relative;pointer-events:auto}.character-sound-toggle{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--ui-control-border);border-radius:12px;background:#fffffff0;color:var(--ui-muted);cursor:pointer;touch-action:manipulation}.character-sound-toggle[aria-pressed=true]{color:var(--ui-accent);background:#e8f3ff}.character-sound-toggle:hover{background:#eef6fd}.character-sound-toggle:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}.character-sound-toggle:disabled{opacity:.6;cursor:default}.character-sound-toggle[aria-pressed=false] .sound-on,.character-sound-toggle[aria-pressed=true] .sound-off{display:none}.user-menu{position:fixed;z-index:40;top:calc(var(--character-ui-top, 12px) + 46px);left:calc(var(--character-center) - var(--character-box-width) / 2);width:min(320px,var(--character-box-width));max-height:calc(100vh - var(--character-ui-top, 12px) - 54px);overflow:auto;box-sizing:border-box;padding:12px 14px;border:1px solid #c7d7e6;border-radius:14px;background:var(--ui-menu-surface);box-shadow:0 16px 38px #263f5838;font-size:13px;line-height:1.45;user-select:text;-webkit-user-select:text}.user-menu[hidden],.user-menu [hidden]{display:none}html:not(.mobile-web) .character-header-actions{gap:6px}html:not(.mobile-web) .character-identity{gap:0;padding:3px 8px;border-radius:9px;font-size:10px;line-height:12px}html:not(.mobile-web) .character-identity strong{font-size:13px;line-height:14px}html:not(.mobile-web) .character-sound-toggle{width:34px;height:34px;border-radius:9px}html:not(.mobile-web) .character-sound-toggle svg{width:16px;height:16px}html:not(.mobile-web) .user-menu{top:calc(var(--character-ui-top, 12px) + 40px);max-height:calc(100vh - var(--character-ui-top, 12px) - 48px)}.user-menu-heading{display:flex;align-items:center;gap:8px;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid var(--ui-divider)}.user-menu-heading strong{flex:1;font-size:15px}.user-menu-heading button{display:grid;place-items:center;width:28px;min-height:28px;padding:0;border:0;background:transparent;color:var(--ui-muted);font:inherit;font-size:22px;cursor:pointer}.user-menu button{font:inherit;cursor:pointer}.user-menu button:disabled{color:#75879a;cursor:default}.user-menu button:focus-visible,.user-menu input:focus-visible,.user-menu textarea:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}.user-menu-section{border-top:1px solid var(--ui-divider);padding:6px 0}.user-menu-link{padding:4px 0;min-height:32px;border:0;background:transparent;color:var(--ui-accent);white-space:nowrap}.user-menu-account-summary{padding-bottom:10px}.user-menu-account-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.user-menu-account-row>div:first-child{display:flex;align-items:center;gap:6px}#user-code-value{font-variant-numeric:tabular-nums}.user-menu-account-summary p{margin:5px 0 0;color:var(--ui-muted);font-size:12px;overflow-wrap:anywhere}#user-trial-daily{min-height:34px;padding:6px 9px;border:0;border-radius:7px;background:#dcecff;color:#234b70;font-weight:600}#user-trial-daily:disabled{background:#edf2f7;color:var(--ui-muted)}.user-menu-success{color:#23854a;font-size:14px;font-weight:700;text-align:center}.user-account-success{display:inline-grid;place-items:center;width:14px;height:14px;border:1px solid #23854a;border-radius:50%;font-size:10px}.user-account-intro{margin:2px 0 16px}.user-account-intro p{margin:4px 0 0;color:#7a8ba0;font-size:12px}.user-account-label{margin:0 0 5px;color:#7a8ba0;font-size:12px}.user-account-number{margin-bottom:14px}#user-account-value{color:#24384f;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.user-account-guide{padding:10px;margin-bottom:14px;border-radius:9px;background:#f1f6fb;color:#4d6d89;font-size:12px}.user-account-guide p{margin:5px 0 0;color:var(--ui-muted);line-height:1.65}.user-menu p:empty{display:none}.user-menu-verified-input{display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:5px}.user-menu-verified-input>input{grid-column:2}.user-code-actions{display:flex;flex-wrap:wrap;gap:7px}.user-feedback textarea,.user-share textarea{min-height:96px;resize:vertical;user-select:text;-webkit-user-select:text}.user-code-confirmation{display:grid;gap:7px;padding:10px;border:1px solid #d4e0eb;border-radius:7px;background:#f4f7fa}.user-menu-settings h2{margin:4px 0;color:#7a8ba0;font-size:12px;font-weight:500}.user-menu-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0}.user-menu-row strong,.user-menu-scale strong{font-weight:400}.user-menu-row div{display:grid;gap:3px}.user-menu-row span{color:#7a8ba0;font-size:12px}.user-menu-sound input{appearance:none;-webkit-appearance:none;position:relative;flex-shrink:0;width:38px;height:23px;margin:0;border:0;border-radius:20px;background:#cdd9e6;cursor:pointer}.user-menu-sound input:before{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff}.user-menu-sound input:checked{background:#4883b2}.user-menu-sound input:checked:before{left:18px}.user-menu-sound input:disabled{opacity:.6;cursor:default}.user-menu-scale{display:grid;gap:5px;padding:6px 0}.user-menu-scale label{display:flex;justify-content:space-between}.user-menu-scale output{color:var(--ui-muted)}.user-menu-scale input{width:100%;margin:6px 0;accent-color:#4883b2}.user-menu-scale p,.user-menu-desktop p{margin:0;color:#65778b;font-size:12px}.user-menu-feedback{margin:6px 0 8px;color:#65778b;font-size:12px;overflow-wrap:anywhere}.user-menu-service-link{color:var(--ui-muted);font-size:12px}.user-menu-desktop{border-top:1px solid #e5edf4}.user-menu-desktop h2{margin:10px 0 2px;font-size:13px}.expression-bubble{position:fixed;z-index:10;top:var(--bubble-top, 36%);left:var(--bubble-left, calc(50% - 180px) );width:var(--bubble-width, 360px);max-width:calc(100% - 24px);box-sizing:border-box;max-height:min(var(--bubble-max-height, 30%),calc(84% - var(--bubble-top, 20%)));overflow:hidden;margin:0;padding:clamp(4px,1.6vw,10px) clamp(6px,2.3vw,14px);border:1px solid #e1e8f0;border-radius:12px;background:#fffffff0;color:#455c75;font-size:14px;line-height:1.55;overflow-wrap:anywhere;pointer-events:none}.text-talk-bubble{white-space:pre-wrap}.thinking-bubble{position:fixed;z-index:9;top:var(--thinking-top, 8px);left:var(--thinking-left, 8px);max-width:min(40%,var(--thinking-max-width, 180px));padding:.38em .76em;border:1px solid #bac9d9;border-radius:16px;background:#ffffffdf;color:#59677a;font-size:var(--thinking-font-size, 13px);line-height:1.45;pointer-events:none;white-space:nowrap}#viewer{width:58%;height:min(83.333%,calc(100% - var(--character-input-height, 180px) - 20px));margin-inline:auto}#character-input{position:fixed;z-index:20;top:min(var(--input-top, 100%),calc(100% - var(--character-input-height, 180px) - 8px));left:var(--character-center);width:var(--character-box-width);transform:translate(-50%);margin:0;padding:6px;box-sizing:border-box;border-radius:12px;background:#fffffff2;border:1px solid #c2d4e5;opacity:1;font-size:12px;box-shadow:0 5px 16px #263f5820}.input-row{display:flex;gap:4px;align-items:center}#character-input textarea{min-width:0;flex:1;resize:none;font:inherit;user-select:text;-webkit-user-select:text;border:1px solid #bccbdd;border-radius:6px;padding:5px}#character-input button{font:inherit;padding:5px;border:1px solid #bccbdd;border-radius:6px;background:#eef4fc;color:inherit;cursor:pointer}#character-input button:disabled{opacity:.5;cursor:default}#character-input p{margin:4px 0 0;line-height:1.3;max-height:32px;overflow:auto}#status{bottom:80px}.expression-bubble{white-space:pre-wrap}.mobile-web #character-page{position:fixed;left:var(--visible-left, 0px);top:var(--visible-top, 0px);width:var(--visible-width, 100%);height:var(--visible-height, 100dvh);display:flex;flex-direction:column;justify-content:space-between;align-items:center;box-sizing:border-box;overflow:hidden;background:#f3f6fa;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.mobile-web #viewer{position:absolute;inset:0;width:100%;height:100%}.mobile-web .character-header{position:relative;top:auto;left:auto;width:100%;max-width:420px;transform:none;display:grid;grid-template-columns:minmax(44px,1fr) auto minmax(92px,1fr);gap:4px;align-items:center;min-height:44px;flex-shrink:0}.mobile-web .mobile-identity{display:grid;gap:3px;padding:0 4px;font-size:11px;color:#74849a}.mobile-web .mobile-identity strong{font-size:18px;font-weight:500;color:#24384f}.mobile-web .scene-framing{display:grid;justify-items:center;pointer-events:auto}.scene-framing-dots{display:flex;align-items:center}.scene-framing-dots button{display:grid;place-items:center;width:34px;height:30px;padding:0;border:0;border-radius:10px;background:transparent;cursor:pointer;touch-action:manipulation}.scene-framing-dots span{display:block;width:6px;height:6px;border-radius:50%;background:#a4b4c4;transition:background .16s,box-shadow .16s}.scene-framing-dots [data-framing=near] span{width:8px;height:8px}.scene-framing-dots [data-framing=detail] span{width:10px;height:10px}.scene-framing-dots [aria-pressed=true] span{background:#527795;box-shadow:0 0 0 3px #52779518}.scene-framing-dots button:hover{background:#ffffff70}.scene-framing-dots button:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px}.scene-framing output{color:#788fa4;font-size:10px;line-height:14px;letter-spacing:.1em}.mobile-web .character-identity{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:#ffffffd9;box-shadow:none;color:#52708c}.mobile-web .character-identity>strong,.mobile-web .character-identity>span{display:none}.mobile-web .mobile-menu-icon{display:block}.mobile-web .character-header-actions{gap:4px;justify-self:end}.mobile-web .character-sound-control{order:-1}.mobile-web .character-sound-toggle{border:0;background:#ffffffd9;color:#52708c}.mobile-web .character-sound-toggle[aria-pressed=true]{background:#e8f3ff;color:var(--ui-accent)}.mobile-editing .mobile-identity span{display:none}.mobile-editing .mobile-identity strong{font-size:15px}.mobile-editing .character-identity,.mobile-editing .character-sound-toggle{background:transparent}.mobile-web .user-menu{position:fixed;top:var(--dialogue-panel-top, 108px);left:var(--dialogue-header-left, 16px);right:auto;width:min(320px,calc(100% - 24px));max-height:calc(var(--visible-top, 0px) + var(--visible-height, 100dvh) - var(--dialogue-panel-top, 108px) - 12px - env(safe-area-inset-bottom))}.mobile-web .user-feedback textarea,.mobile-web .user-share textarea,.mobile-web .user-menu-form input{font-size:16px}.mobile-web .user-menu-scale{display:none}.mobile-web #character-input{position:relative;top:auto;left:auto;width:100%;max-width:420px;transform:none;flex-shrink:0;padding:6px;border:1px solid var(--ui-divider);border-radius:16px;background:#ffffffed;box-shadow:none;font-size:16px}.mobile-web .input-row{flex-wrap:wrap;gap:6px}.mobile-web #character-input textarea{padding:8px 6px;border:0;background:transparent;border-radius:8px;line-height:1.4;min-height:22px;max-height:64px}.mobile-web #character-input textarea::placeholder{color:#8294a9}.mobile-web #character-input button{min-height:40px;min-width:44px;padding:6px 9px;border:0;border-radius:11px;font-size:13px}.mobile-web #character-input [type=submit]{background:#436d92;color:#fff}.mobile-web #character-input [type=submit]:disabled{background:#e7f0f9;color:#7598b9;opacity:1}.mobile-web #character-input #reconnect-input{flex-basis:100%}.mobile-web #character-input button[hidden]{display:none}.mobile-web #character-input p{padding:0 6px;font-size:11px;line-height:1.4;max-height:32px;color:#657b92;user-select:text;-webkit-user-select:text}.mobile-web #character-input p:empty{display:none}.mobile-web .expression-bubble{left:var(--bubble-left, 12px);top:var(--bubble-top, 36%);width:var(--bubble-width, calc(var(--visible-width, 100vw) - 24px));max-width:calc(var(--visible-width, 100vw) - 24px);max-height:var(--bubble-max-height, 96px);padding:10px 12px;border:1px solid #e1e8f0;border-radius:12px;background:#fffffff0;color:#455c75;font-size:14px;line-height:1.55}.mobile-web .thinking-bubble{max-width:var(--thinking-max-width, 180px)}.mobile-web #status{position:absolute;z-index:25;top:var(--mobile-menu-top, 56px);bottom:auto;left:12px;right:12px;max-width:calc(100% - 48px);font-size:12px;padding:8px 12px}.announcement-dot{display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#df4655;vertical-align:middle}.announcement-dot[hidden],.announcement-actions button[hidden]{display:none}.announcement-dialog{width:min(420px,calc(100vw - 32px));max-height:min(75vh,650px);box-sizing:border-box;overflow:auto;padding:24px;border:1px solid #c7d7e6;border-radius:18px;background:#fff;color:#30475c;box-shadow:0 18px 60px #263f5838;user-select:text;-webkit-user-select:text}.announcement-dialog::backdrop{background:#25334066}.announcement-dialog h2{margin:0;font-size:20px;overflow-wrap:anywhere}.announcement-time{color:#71859a;font-size:12px;margin:8px 0 18px}.announcement-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px}#announcement-status{color:#71859a;font-size:12px}.announcement-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.announcement-actions button{border:1px solid #c7d7e6;border-radius:9px;padding:8px 18px;background:#edf5fc;color:#30475c;cursor:pointer;font:inherit}.character-identity{position:relative}#user-menu-announcement-dot{position:absolute;right:5px;top:5px}.error-dialog{width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;padding:24px;border:1px solid #c7d7e6;border-radius:18px;background:#fff;color:#30475c;box-shadow:0 18px 60px #263f5838;user-select:text;-webkit-user-select:text}.error-dialog::backdrop{background:#25334066}.error-dialog h2{margin:0;font-size:18px;overflow-wrap:anywhere}.error-dialog p{margin:14px 0 0;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.error-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:20px}.error-dialog-actions button{min-height:40px;padding:8px 16px;border:1px solid #c7d7e6;border-radius:9px;background:#edf5fc;color:#30475c;cursor:pointer;font:inherit}.error-dialog-actions button[hidden]{display:none}.visually-hidden,#input-status[data-quiet=true]{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}#character-input svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#character-input #scenario-guidance{position:relative;min-width:0}#character-input [hidden],#character-input #scenario-guidance [hidden]{display:none}#character-input #scenario-daily{flex:1;min-width:0}#character-input #scenario-browse{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:0 8px;background:transparent;border:0;text-align:left;color:#314b65;font-size:13px}.scenario-browse-icon{display:flex;color:#426a90}.scenario-browse-copy{flex:1;min-width:0}#character-input .scenario-chevron{width:18px;height:18px;color:#65758a}#character-input .scenario-pin{width:17px;height:17px;color:#426a90}#character-input .scenario-toolbar{display:flex;align-items:center;gap:6px;margin-bottom:8px}#character-input #input-scenario{display:flex;flex:1;min-width:0;align-items:center;gap:6px;min-height:44px;padding:0 8px;border:0;background:transparent;color:#314b65;text-align:left}#character-input #chat-records-open{display:flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;margin-left:auto;min-height:44px;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:#65758a;font-size:12px;font-weight:400}#character-input #chat-records-open:active,#character-input #scenario-browse:active,#character-input #input-scenario:active{background:#edf2f7}#character-input #chat-records-open svg{width:15px;height:15px}#scenario-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}.scenario-progress{display:flex;align-items:center;gap:5px;color:#65758a;font-size:11px;white-space:nowrap}.scenario-progress:before{content:"";width:5px;height:5px;border-radius:50%;background:#72a28b}#character-input #scenario-list,#character-input #scenario-exit-panel{position:absolute;z-index:42;bottom:-12px;left:0;right:0;box-sizing:border-box;max-height:min(420px,calc(var(--visible-height, 100dvh) * .48));overflow:auto;overscroll-behavior:contain;border:1px solid #d8e4ef;border-radius:18px;background:var(--ui-menu-surface);color:#314b65;user-select:text;-webkit-user-select:text}#character-input #scenario-list{padding:20px}#scenario-list header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--ui-menu-surface)}#scenario-list h2{margin:0;color:#24384f;font-size:21px;font-weight:500;line-height:1.4}#character-input #scenario-list-close{display:grid;place-items:center;width:28px;height:28px;min-width:28px;min-height:28px;padding:0;border:0;background:transparent;color:#65758a}#character-input #scenario-list p,#character-input #scenario-exit-panel p{padding:0;margin:0;max-height:none;overflow:visible;line-height:1.65;font-size:14px;color:#52677c}#character-input #scenario-list #scenario-list-intro{margin-top:12px;font-size:13px;color:#65758a}#scenario-list article{display:flex;flex-direction:column;gap:10px;border-top:1px solid #e3eaf2;margin-top:12px;padding-top:12px}.scenario-item-title{display:flex;align-items:center;gap:9px;min-height:30px}.scenario-item-icon{display:flex;color:#426a90}#scenario-list h3{display:flex;align-items:center;gap:9px;flex:1;min-width:0;margin:0;font-size:17px;font-weight:500}#scenario-list h3 small{flex-shrink:0;margin-left:auto;font-weight:400}#scenario-list small,#scenario-exit-panel small{color:#65758a;font-size:11px;line-height:1.6}#scenario-list-help{display:block;margin-top:12px}#character-input #scenario-list article button{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;padding:8px 12px;border:0;border-radius:11px;background:#426a90;color:#fff;font-size:14px;font-weight:500}#character-input #scenario-list article button.scenario-secondary{width:104px;flex:0 0 104px;background:#eef3f8;color:#52677c;font-size:13px;font-weight:400}.scenario-actions{display:flex;gap:10px}.scenario-actions>button:first-child{flex:1;min-width:0}#character-input .scenario-arrow svg{width:16px;height:16px}.scenario-arrow{display:flex}.scenario-older-experiences summary{cursor:pointer;color:#65758a;font-size:11px}.scenario-experience{display:flex;flex-direction:column;gap:8px;margin-top:12px}#character-input #scenario-list>button{margin-top:12px;font-size:12px}#character-input #scenario-exit-panel{display:flex;flex-direction:column;gap:10px;padding:16px;border-color:#dce6f0;border-radius:16px;background:#fffffff5}#character-input #scenario-collapse{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:8px;min-height:22px;width:100%;padding:0;background:#fffffff5;border:0;border-radius:0;text-align:left}#scenario-state{flex:1;margin:0;color:#314b65;font-size:15px;font-weight:500}#character-input #scenario-exit-panel p{font-size:12px;line-height:1.4;color:#65758a}#character-input #scenario-end{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;background:#e8f1fa;color:#314b65;border:0;border-radius:11px;font-size:14px}#character-input #scenario-end svg{width:16px;height:16px;color:#426a90}#character-input #scenario-message:empty{display:none}#character-input #scenario-message{padding:6px 8px;max-height:64px;overflow:auto;font-size:12px;border-radius:9px;background:#fffffff5}#character-input #scenario-choices{min-width:0;margin-bottom:12px;padding:12px;border-radius:14px;background:#f3f6faf2}#character-input #scenario-choices p{padding:0;margin:0 0 8px;color:#65758a;font-size:11px;line-height:1.4}#scenario-choice-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#character-input #scenario-choice-buttons button{padding:8px;min-height:44px;white-space:normal;border:1px solid #d8e4ef;border-radius:10px;background:#fff;color:#426a90;font-size:13px}#scenario-choice-buttons button:last-child:nth-child(odd){grid-column:1 / -1}#character-page[data-scenario-panel=list] #scenario-daily{visibility:hidden}#character-page[data-scenario-panel=list] .input-row{opacity:.35}#character-page[data-scenario-panel=list] #scenario-choices,#character-page[data-scenario-panel=exit] #scenario-choices{visibility:hidden}#character-input[data-editing=true] #scenario-daily,.mobile-editing #scenario-daily,.mobile-editing #scenario-choices{display:none}#character-input button:focus-visible,#character-input summary:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}.mobile-web #character-page{padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.mobile-web .character-header{padding:0 8px;box-sizing:border-box}.mobile-web .mobile-identity{padding:0;color:#65758a}.mobile-web .mobile-identity strong{font-size:21px}.mobile-web .character-header-actions{gap:8px}.mobile-web .character-identity,.mobile-web .character-sound-toggle{background:#ffffffa6}.mobile-web .character-identity>.announcement-dot:not([hidden]){display:block}.mobile-web #character-input{padding:0;border:0;background:transparent;font-size:15px}.mobile-web #character-input:before{content:"";position:absolute;z-index:-1;inset:-76px -16px -16px;pointer-events:none;background:linear-gradient(to bottom,#f3f6fa00,#f3f6faf5 28px,#f3f6fa 52px)}.mobile-web #character-input #scenario-guidance{position:absolute;left:0;right:0;bottom:calc(100% + 8px)}.mobile-web #character-input #scenario-exit-panel{bottom:-4px}.mobile-web #character-input #scenario-list{position:fixed;top:var(--bubble-top, 46%);bottom:auto;left:calc(var(--visible-left, 0px) + 16px);right:auto;width:calc(var(--visible-width, 100vw) - 32px);max-height:calc(var(--visible-top, 0px) + var(--visible-height, 100dvh) - var(--bubble-top, 46vh) - 12px - env(safe-area-inset-bottom))}.mobile-web #character-page[data-scenario-panel=list][data-scenario-continuable=true] .input-row{visibility:hidden}.mobile-web #character-input .input-row{flex-wrap:nowrap;gap:12px;min-height:58px;box-sizing:border-box;padding:6px 7px 6px 15px;border:1px solid #dfe7ef;border-radius:18px;background:#fff}.mobile-web #character-input textarea{box-sizing:content-box;padding:0;min-height:22px;max-height:72px;border-radius:0;color:#314b65;font-size:16px;line-height:1.4}.mobile-web #character-input textarea::placeholder{color:#718095;font-size:15px}.mobile-web #character-input .input-row>button{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;min-height:44px;border-radius:12px}.mobile-web #character-input .input-row [hidden]{display:none}.mobile-web #character-input [type=submit]{background:#426a90;color:#fff}.mobile-web #character-input [type=submit]:disabled,.mobile-web #character-input #stop-response{background:#e8f1fa;color:#426a90;opacity:1}.mobile-web #character-input #reconnect-input{position:absolute;bottom:calc(100% + 4px);right:0;width:auto;padding:6px 12px;background:#e8f1fa}.mobile-web .expression-bubble{left:calc(var(--visible-left, 0px) + 24px);width:calc(var(--visible-width, 100vw) - 48px);padding:13px 16px;border-color:#dce6f0;border-radius:14px;background:#ffffffeb;color:#314b65;font-size:15px;line-height:1.6}.mobile-web.mobile-editing #character-input #scenario-guidance,.mobile-web.mobile-editing #character-page[data-scenario-kind=theme] #scenario-guidance{bottom:calc(100% + 12px)}.mobile-editing #character-input #input-scenario{height:30px;min-height:30px;gap:8px;background:#f3f6faf2;border-radius:9px}.mobile-editing #scenario-name{font-size:13px}.mobile-editing .expression-bubble{padding:11px 14px;font-size:13px;line-height:1.5}.dialogue-ui #character-input .scenario-toolbar{margin-bottom:0}.dialogue-ui #character-input #scenario-choices{padding:0;margin-bottom:12px;background:transparent}.mobile-web #character-input #scenario-choices{margin-bottom:4px}.dialogue-ui #character-input #scenario-choices>p{display:none}.dialogue-ui #scenario-choice-buttons{display:flex;gap:6px;align-items:center;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:0;scroll-padding-inline:4px}.dialogue-ui #scenario-choice-buttons::-webkit-scrollbar{display:none}.dialogue-ui #character-input #scenario-choice-buttons button{box-sizing:border-box;flex:0 0 auto;min-width:0;height:44px;min-height:44px;max-width:none;padding:0 10px;white-space:nowrap;border:6px solid transparent;border-inline-width:0;border-radius:22px;background:#eaf0f6;background-clip:padding-box;color:#596e82;font-size:13px;font-weight:400}.dialogue-ui #character-input #scenario-choice-buttons button:hover{background-color:#dfe8f1}.dialogue-ui #character-input #scenario-choice-buttons button:focus-visible{outline-offset:-2px}.dialogue-ui:not(.mobile-editing):has(#character-page[data-scenario-panel=closed] #scenario-choices:not([hidden])) .expression-bubble{transform:translateY(max(0px,calc(var(--dialogue-choices-top, var(--bubble-top)) - var(--bubble-top) - 106px - 100%)))}.mobile-web .character-header{grid-template-columns:minmax(0,1fr) 160px;grid-template-rows:44px 44px;gap:4px 8px}.mobile-web .mobile-identity{grid-area:1 / 1}.mobile-web .mobile-identity span{display:none}.mobile-web .character-header-actions{grid-area:1 / 2;gap:8px;padding-left:52px}.mobile-web .character-identity,.mobile-web .character-sound-toggle{background:transparent}.mobile-web .scene-framing{grid-area:2 / 2;display:flex;align-items:center;gap:4px;width:160px}.mobile-web .scene-framing-dots button{width:44px;height:44px;flex:0 0 44px}.mobile-web .scene-framing-dots span{width:4px;height:4px}.mobile-web .scene-framing-dots [data-framing=near] span{width:6px;height:6px}.mobile-web .scene-framing-dots [data-framing=detail] span{width:8px;height:8px}.mobile-web .scene-framing-dots [aria-pressed=true] span{background:#526f89;box-shadow:0 0 0 5px #f3f6fa,0 0 0 6px #b6c4d1}.mobile-web .scene-framing output{flex-shrink:0;color:#65758a;font-size:12px;line-height:1.4;letter-spacing:0}.dialogue-ui #character-input .scenario-toolbar{position:fixed;top:var(--dialogue-context-top);bottom:auto;left:var(--dialogue-context-left, 24px);width:var(--dialogue-context-width, 174px);height:44px;gap:0;pointer-events:none}.dialogue-ui #character-input #scenario-daily,.dialogue-ui #character-input[data-editing=true] #scenario-daily{display:block;min-width:0;visibility:visible}.dialogue-ui #character-input #scenario-daily[hidden]{display:none}.dialogue-ui #character-input #scenario-browse,.dialogue-ui #character-input #input-scenario{height:44px;min-height:44px;gap:6px;padding:0;background:transparent;color:#65758a;font-size:12px;border-radius:8px;pointer-events:auto}.mobile-web #character-input .scenario-browse-icon,.mobile-web #character-input .scenario-pin,.dialogue-ui #character-input .scenario-progress{display:none}.dialogue-ui #scenario-name{flex:0 1 auto;font-size:12px;font-weight:400}.dialogue-ui .scenario-browse-copy{flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialogue-ui #character-input .scenario-chevron{width:14px;height:14px}.dialogue-ui #character-input #chat-records-open{position:fixed;top:var(--dialogue-header-top);bottom:auto;left:var(--dialogue-history-left, 218px);display:grid;place-items:center;width:44px;height:44px;padding:0;margin:0;background:transparent;color:#52677c;pointer-events:auto}.dialogue-ui #character-input #chat-records-open svg{width:20px;height:20px}.dialogue-ui #chat-records-open span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.dialogue-ui #character-input #scenario-list,.dialogue-ui #character-input #scenario-exit-panel{position:fixed;top:var(--dialogue-panel-top, 108px);bottom:auto;left:var(--dialogue-header-left, 16px);right:auto;width:var(--dialogue-header-width, calc(100vw - 32px) );max-height:min(420px,calc(var(--visible-top, 0px) + var(--visible-height, 100dvh) - var(--dialogue-panel-top, 108px) - 90px))}.dialogue-ui:has(#character-page[data-scenario-panel=list]) .expression-bubble,.dialogue-ui:has(#character-page[data-scenario-panel=exit]) .expression-bubble{opacity:0}#character-page[data-chat-records=open] #scenario-guidance{visibility:hidden}.dialogue-ui #character-page[data-chat-records=open] .scenario-toolbar{visibility:visible}body:has(#character-page[data-chat-records=open]) .expression-bubble{opacity:0}@media(max-height:450px){#character-input #scenario-list,#character-input #scenario-exit-panel{max-height:calc(var(--visible-height, 100dvh) * .48)}}html:not(.mobile-web) .character-header{padding-bottom:48px}html:not(.mobile-web) .character-sound-control{margin-left:auto}html:not(.mobile-web) #character-input{left:calc(var(--character-center) - var(--character-box-width) / 2);transform:none;--dialogue-header-top: var(--character-ui-top, 12px);--dialogue-header-left: calc(var(--character-center) - var(--character-box-width) / 2);--dialogue-header-width: var(--character-box-width);--dialogue-context-top: calc(var(--character-ui-top, 12px) + 38px);--dialogue-context-left: var(--dialogue-header-left);--dialogue-context-width: var(--character-box-width);--dialogue-history-left: calc(var(--character-center) + var(--character-box-width) / 2 - 74px);--dialogue-panel-top: calc(var(--character-ui-top, 12px) + 86px)}html:not(.mobile-web) #character-input #chat-records-open{width:34px;height:34px;min-height:34px;border-radius:9px}html:not(.mobile-web) #character-input #chat-records-open svg{width:16px;height:16px}html:not(.mobile-web) #character-input #scenario-browse,html:not(.mobile-web) #character-input #input-scenario{height:34px;min-height:34px;padding:0 8px;color:#314b65;font-size:13px}html:not(.mobile-web) #scenario-name{font-size:13px;font-weight:500}html:not(.mobile-web) .user-menu{top:calc(var(--character-ui-top, 12px) + 86px);max-height:calc(100vh - var(--character-ui-top, 12px) - 94px)}html:not(.mobile-web) .weak-hints{top:calc(var(--character-ui-top, 12px) + 86px)}#scenario-introduction{position:fixed;z-index:60;box-sizing:border-box;top:var(--character-ui-top, 12px);bottom:8px;left:calc(var(--character-center) - var(--character-box-width) / 2);width:var(--character-box-width);display:flex;flex-direction:column;gap:20px;padding:12px 24px 28px;border-radius:16px;background:linear-gradient(#f3f6fa,#e8eff5);color:#40566c;opacity:1;user-select:text;-webkit-user-select:text}#scenario-introduction[hidden],#scenario-introduction [hidden]{display:none}#scenario-introduction header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}#scenario-introduction header>span{font-size:21px;color:#24384f}#scenario-introduction button{font:inherit;cursor:pointer;border:0;touch-action:manipulation}#scenario-introduction button:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}#scenario-introduction-close{display:grid;place-items:center;width:44px;height:44px;padding:12px;background:transparent;color:#65758a}#scenario-introduction svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.scenario-introduction-reading{flex:1;min-height:0;padding:clamp(12px,9vh,88px) 0 24px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.scenario-introduction-reading small{display:block;font-size:12px;letter-spacing:1px;color:#65758a}#scenario-introduction-title{margin:12px 0 28px;color:#24384f;font-family:"Noto Serif SC",Songti SC,serif;font-size:29px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.scenario-introduction-divider{width:28px;height:2px;background:#9eb8cb;margin-bottom:28px}#scenario-introduction-text{margin:0;font-size:16px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}#scenario-introduction footer{flex-shrink:0;min-height:52px;display:flex;justify-content:center}#scenario-introduction-enter{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;min-height:52px;padding:14px;border-radius:14px;background:#426a90;color:#fff;font-size:15px;font-weight:500}#scenario-introduction-enter:disabled{cursor:default}#scenario-introduction-enter svg{width:17px;height:17px;flex-shrink:0}.mobile-web #scenario-introduction{position:absolute;inset:0;width:auto;border-radius:0;padding:max(12px,env(safe-area-inset-top)) max(36px,env(safe-area-inset-right)) max(56px,env(safe-area-inset-bottom)) max(36px,env(safe-area-inset-left))}.mobile-web #scenario-introduction header{margin-inline:-12px}.history-overlay{position:fixed;z-index:70;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;background:#25334066;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);user-select:text;-webkit-user-select:text}.history-overlay[hidden]{display:none}.history-panel{display:flex;flex-direction:column;width:min(720px,100%);height:min(760px,100%);min-height:0;overflow:hidden;border:1px solid #e5e0d8;border-radius:18px;background:#f8f7f4;box-shadow:0 20px 60px #18283b55}.history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 22px 13px;background:#fffdf9;border-bottom:1px solid #e5e0d8}.history-eyebrow{margin:0;color:#8b8176;font-size:10px;font-weight:700;letter-spacing:.16em}.history-heading h1{margin:4px 0 0;font-size:21px;font-weight:650}.history-overlay button{border:1px solid #d9d1c5;border-radius:8px;padding:7px 11px;background:#fff;color:#4f4a43;font:inherit;font-size:12px;cursor:pointer}.history-overlay button:disabled{opacity:.5;cursor:default}.history-overlay button:focus-visible{outline:2px solid #8b9fad;outline-offset:2px}.history-heading button{padding:0 7px;border:0;background:transparent;color:#756c62;font-size:25px;line-height:1}.history-scroll{flex:1;min-height:0;overflow:auto;padding:18px 22px 32px}#history-messages{max-width:620px;margin:0 auto}.history-message{margin:0 0 16px;max-width:88%}.history-message.user{margin-left:auto}.history-message-heading{display:flex;align-items:baseline;gap:8px;margin-bottom:5px;color:#6d6258;font-size:12px}.history-message.user .history-message-heading{justify-content:flex-end}.history-message-heading time{color:#958a7e;font-size:11px}.history-message p{margin:0;padding:10px 13px;border:1px solid #e4dfd7;border-radius:13px;background:#fffdf9;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.history-message.user p{background:#eaf3f5;border-color:#d7e6e9}.history-empty{padding:55px 10px;text-align:center;color:#8b8176}.history-panel footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;padding:6px 15px;border-top:1px solid #e5e0d8;background:#fffdf9;color:#756c62;font-size:11px}.history-actions{display:flex;gap:5px;flex-shrink:0}.history-actions button{padding:5px 7px}@media(max-width:600px){.history-overlay{padding:8px}.history-heading{padding:12px 14px 10px}.history-scroll{padding:12px 12px 20px}.history-message{max-width:96%}}.history-scenarios{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 22px;border-bottom:1px solid #e5e0d8;font-size:12px}.history-scenarios select{flex:1;min-width:0;max-width:100%;padding:7px;border:1px solid #d9d1c5;border-radius:8px;background:#fffdf9;color:#4f4a43;font:inherit}.history-scenario-actions{display:flex;gap:5px}.history-scenarios p{flex-basis:100%;margin:0;color:#8b8176;font-size:11px}@media(max-width:600px){.history-scenarios{padding:8px 14px}.history-scenario-actions{flex-basis:100%;justify-content:flex-end}}#chat-records-drawer{position:absolute;z-index:55;bottom:calc(100% - var(--history-input-offset, 0px) + 8px);left:0;right:0;display:flex;flex-direction:column;box-sizing:border-box;height:min(334px,var(--history-available-height, 45dvh),var(--history-face-room, 45dvh));min-height:0;border:1px solid #dce6f0;border-radius:20px 20px 12px 12px;background:#fff;color:#314b65;box-shadow:0 8px 28px #263f581a;overflow:hidden;user-select:text;-webkit-user-select:text}#chat-records-drawer[hidden]{display:none}#chat-records-drawer:before{content:"";width:34px;height:4px;flex-shrink:0;align-self:center;margin-top:9px;border-radius:3px;background:#c8d6e5}#chat-records-drawer header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:8px;margin:0 18px;padding:8px 0 4px;border-bottom:1px solid #e3eaf2}#chat-records-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13px;font-weight:500}#character-input #chat-records-drawer button{min-width:44px;min-height:36px;border:0;padding:4px 6px;border-radius:8px;background:transparent;color:#426a90;font-size:12px;white-space:nowrap}#chat-records-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;overflow-anchor:none;padding:8px 22px;scrollbar-width:thin;scrollbar-color:#9bb5d1 transparent}#chat-records-drawer .history-message{display:flex;flex-direction:column;align-items:flex-start;width:fit-content;max-width:86%;margin-bottom:6px}#chat-records-drawer .history-message.user{align-items:flex-end}#chat-records-drawer .history-message-heading{flex-wrap:wrap;margin-bottom:3px}#chat-records-drawer .history-message-heading,#chat-records-drawer .history-message-heading time{color:#7e8da0;font-size:10px;line-height:1.2}#chat-records-drawer .history-message-heading strong{font-weight:400}#character-input #chat-records-drawer .history-message p{box-sizing:border-box;width:fit-content;max-width:100%;padding:5px 10px;max-height:none;margin:0;border:1px solid transparent;border-radius:8px;background:#f0f4f8;color:#314b65;font-size:14px;line-height:1.45;overflow:visible}#character-input #chat-records-drawer .history-message.user p{border-color:#e2e9f1;background:transparent}#chat-records-drawer .history-empty{padding:12px 0}#chat-records-drawer footer{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:8px;padding:0 14px;color:#65758a;font-size:11px}#chat-records-status:not(:empty),#chat-records-latest:not([hidden]){margin-bottom:8px}#chat-records-drawer button:disabled{opacity:.5}.mobile-web #chat-records-drawer{left:-8px;right:-8px}
