@font-face{font-family:Pretendard Variable;font-weight:45 920;font-style:normal;font-display:swap;src:url(/assets/PretendardVariable-CJuje-Rk.woff2)format("woff2-variations")}:root{color:#eee;font-synthesis:none;--bg:#222;--panel:#2b2b2b;--raised:#333;--line:#3b3b3b;--muted:#969696;--accent:#5fddce;--gold:#e9d597;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark only;background:#222;font-family:Pretendard Variable,Pretendard,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;background:0 0;border:0}button:disabled{cursor:default;opacity:.35}button:not(:disabled):not(:where([data-hover=none])):hover{color:#fff}button:not(:disabled):not(:where([data-hover=none],[data-hover=text])):hover{background-color:#ffffff09}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select,a{outline-offset:4px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--accent)}h1,h2,h3,h4,p{margin-top:0}h1{font-size:24px}h2{font-size:20px}h3{font-size:16px}h4{font-size:14px}p{line-height:1.7}small{color:var(--muted);font-size:12px}hr{border:0;border-top:1px solid var(--line);margin:36px 0}input:not([type=checkbox]):not([type=range]),textarea,select{color:#eee;background:#2b2b2b;border:1px solid #484848;border-radius:7px;width:100%;min-width:0;padding:10px 12px}input::placeholder,textarea::placeholder{color:#838383}textarea{resize:vertical;line-height:1.65}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px}select{cursor:pointer}fieldset{min-width:0}figure{margin:0}img{max-width:100%}svg{flex-shrink:0}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#505050;border-radius:8px}::-webkit-scrollbar-track{background:0 0}.button{white-space:nowrap;background:0 0;border:1px solid #515151;border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:9px 14px;font-size:13px;font-weight:550;display:inline-flex}.button.primary{background:var(--accent);border-color:var(--accent);color:#173b36}.button.primary:not(:disabled):hover{color:#153831;background:#82eddf}.button.outline-gold{color:var(--gold);border-color:#766d50;font-size:12px;line-height:18px}.danger-text{color:#f1868b}.button.full{width:100%;margin-top:12px;display:flex}.full{width:100%}.icon-button{color:#aaa;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:5px;display:inline-flex}.text-button{color:#aaa;padding:7px;font-size:12px}.grow{flex:1;min-width:0}.text-left{text-align:left}.muted{color:var(--muted);font-size:13px}.subtle-label{color:#838383;font-size:12px}.inline-actions,.form-row{align-items:center;gap:10px;display:flex}.form-row>*{flex:1;min-width:0}.form-row>.field{margin-top:12px}.field{flex-direction:column;gap:9px;min-width:0;margin:20px 0;display:flex}.field-label{color:#ddd;font-size:13px;font-weight:650}.field-label i{color:var(--accent);font-style:normal}.field small{line-height:1.55}.field>input,.field>textarea{font-weight:400}.select-button{text-align:left;background:#2b2b2b;border:1px solid #484848;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:12px;display:flex}.segmented{border:1px solid #4e4e4e;border-radius:6px;flex-wrap:wrap;display:flex;overflow:hidden}.segmented button{color:#aaa;border-right:1px solid #404040;flex:1;min-width:70px;min-height:34px;padding:8px 10px;font-size:12px}.segmented button:last-child{border:0}.segmented button.selected{color:var(--accent);background:#2e4944;box-shadow:inset 0 0 0 1px #4ea99d}.toggle-row{justify-content:space-between;align-items:center;gap:16px;padding:12px 0;font-size:13px;display:flex}.toggle{background:#555;border-radius:20px;flex-shrink:0;width:34px;height:20px;padding:3px}.toggle span{background:#bbb;border-radius:50%;width:14px;height:14px;transition:transform .15s;display:block}.toggle.on{background:var(--accent)}.toggle.on span{background:#203d38;transform:translate(14px)}.avatar{color:#aaa;background:#414141;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.image-upload{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.image-upload>button:first-child{color:#888;background:#2b2b2b;border:1px dashed #606060;border-radius:8px;place-items:center;width:118px;height:140px;display:grid;overflow:hidden}.image-upload img{object-fit:cover;object-position:top;width:100%;height:100%}.image-upload>input[hidden]{display:none}.empty{color:#888;text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:40px 16px;font-size:13px;line-height:1.8;display:flex}.loading{color:#aaa;justify-content:center;align-items:center;gap:12px;min-height:120px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.toast{inset:auto;top:max(24px, env(safe-area-inset-top));z-index:2000;color:#fff;background:#414141;border:1px solid #666;border-radius:9px;align-items:center;gap:12px;max-width:min(600px,100vw - 32px);margin:0;padding:14px 18px;font-size:13px;line-height:1.5;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 10px 40px #0006}.toast>button{margin-left:8px;display:flex}.fatal{flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100dvh;padding:30px;display:flex}.saved{color:#929292;align-items:center;gap:4px;font-size:11px;font-weight:400;display:inline-flex}.saved.error{color:#f1868b}.saved.saving{color:var(--gold)}.markdown{overflow-wrap:anywhere}.markdown p{line-height:inherit;margin:0 0 14px}.markdown p:last-child{margin-bottom:0}.markdown img{border-radius:8px;max-width:100%}.markdown em{color:#a6a6a6;font-style:normal}.markdown code{background:#363636;border-radius:3px;padding:2px 5px}.markdown pre{background:#1c1c1c;border-radius:6px;padding:14px;overflow:auto}.markdown pre code{background:0 0;padding:0}.markdown .code-block-title{color:#fff;border-bottom:1px solid #363636;margin-bottom:8px;padding-bottom:8px;display:block}.markdown blockquote{color:#aaa;border-left:2px solid #6a6a6a;margin:14px 0;padding:4px 16px}.markdown table{border-collapse:collapse;width:100%;font-size:12px}.markdown th,.markdown td{border:1px solid #555;padding:8px}.markdown ul,.markdown ol{padding-left:22px}.mobile-only{display:none!important}.modal{color:#eee;background:#222;border:1px solid #454545;border-radius:14px;width:500px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 64px);padding:0;box-shadow:0 20px 100px #0009}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0009}.modal-header{z-index:2;background:#222;border-bottom:1px solid #353535;justify-content:space-between;align-items:center;padding:20px 24px;display:flex;position:sticky;top:0}.modal-header h2{margin:0;font-size:17px}.modal-body{overflow-wrap:anywhere;padding:20px 24px 26px}.modal-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.confirm-body{line-height:1.8}.wide-modal{width:720px}.sheet-handle{display:none}.settings-list{flex-direction:column;gap:1px;margin:20px 0;display:flex}.settings-list>:is(button,a){text-align:left;border-bottom:1px solid #3b3b3b;border-radius:5px;align-items:center;gap:14px;padding:16px 4px;display:flex}.settings-list>:is(button,a)>span{flex:1}.settings-list>a{color:inherit;text-decoration:none}.settings-list>a:hover{color:#fff;background-color:#ffffff09}.settings-list small{margin-top:6px;display:block}.search{color:#888;background:#2b2b2b;border:1px solid #444;border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:flex}.search input:not([type=checkbox]){background:0 0;border:0}.model-modal{width:620px}.model-modal .search{--text-focus-outline:none}.model-modal .search:focus-within{border-color:#fff}.model-list{height:min(38dvh,330px);margin:18px 0;overflow:auto}.model-list>button{text-align:left;border-bottom:1px solid #363636;border-radius:5px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px 12px;font-size:13px;display:flex}.model-list small{margin-top:6px;font-size:11px;display:block}.model-list button.active{color:var(--accent);background:#2d413e}.model-modal .model-list button.active small{color:#fff}.creativity{border-top:1px solid #404040;padding-top:20px}.creativity-heading{justify-content:space-between;margin-bottom:20px;font-size:13px;display:flex}.creativity-heading span{align-items:center;gap:8px;display:flex}.creativity-heading strong{color:var(--accent);font-size:12px}.creativity input[type=range]{appearance:none;background:linear-gradient(to right, var(--accent) var(--range-progress), #4e4e4e var(--range-progress));cursor:pointer;border-radius:5px;width:100%;height:5px;margin:12px 0 16px;display:block}.creativity input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--accent);width:20px;height:20px;box-shadow:0 0 0 1px var(--accent);border:3px solid #263f3b;border-radius:50%}.range-labels{justify-content:space-between;display:flex}.range-labels button{color:#838383;padding:5px 0;font-size:11px}.range-labels button.active{color:var(--accent)}.creativity .muted{margin-top:18px;font-size:11px}.creativity small{font-size:10px}.brand{letter-spacing:-1.5px;color:#fff;font-size:27px;font-weight:750}.onboarding{flex-direction:column;align-items:center;min-height:100dvh;padding:60px 20px;display:flex}.onboarding .brand{margin-bottom:12px;font-size:38px}.onboarding-card{background:#282828;border:1px solid #3a3a3a;border-radius:12px;width:440px;max-width:100%;margin-top:24px;padding:26px 32px}.onboarding-card h2{margin:0 0 24px;font-size:18px}.onboarding-card>.button+.text-button{margin-top:4pt}.external-button{align-items:center;gap:8px;margin:14px 0;font-size:12px;display:flex}.api-key-settings{flex-direction:column;gap:16px;display:flex}.api-key-settings>.field,.api-key-entry>.field{margin:0}.api-key-entry{flex-direction:column;gap:16px;display:flex}.onboarding-card .api-key-entry{gap:8px}.onboarding-card .api-key-entry .field .field-label{font-size:13px}.api-key-actions{flex-direction:column;align-items:stretch;gap:16px;display:flex}.api-key-actions>.button{width:100%}.field-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.field-header>.external-button{margin:0}.standalone-page{max-width:960px;margin:auto;padding:0 28px 70px}.standalone-page>header{border-bottom:1px solid #3a3a3a;align-items:center;gap:18px;height:80px;margin-bottom:38px;display:flex}.standalone-page header h1{margin:0;font-size:20px}.standalone-page>section{margin:30px 0}.profile-content{max-width:600px;margin:auto}.profile-content>.image-upload{align-items:center;margin-bottom:30px}.profile-content>.image-upload>button:first-child{border-radius:50%;width:96px;height:96px}.manage-row{border-bottom:1px solid #3b3b3b;align-items:center;gap:12px;min-height:66px;padding:12px 4px;display:flex}.manage-row>span:not(.avatar){flex:1}.manage-row small{margin-top:6px;display:block}.manage-row strong{font-size:14px}.library-layout{height:100dvh;display:flex;overflow:hidden}.room-sidebar{background:#2b2b2b;border-right:1px solid #333;flex-direction:column;flex-shrink:0;width:250px;padding:25px 14px 18px;display:flex;overflow:auto}.room-sidebar header{justify-content:space-between;align-items:center;margin:0 8px 38px;display:flex}.sidebar-label{color:silver;justify-content:space-between;align-items:center;margin:12px 0;padding:0 9px;font-size:12px;display:flex}.sidebar-empty{color:#777;padding:0 9px 15px;font-size:11px}.folder-row{text-align:left;align-items:center;gap:8px;width:100%;padding:12px 9px;font-size:13px;display:flex}.folder-row small{margin-left:auto}.recent-list{flex:1}.room-sidebar footer{color:#888;align-items:center;gap:7px;margin-top:auto;padding:20px 10px 0;font-size:10px;display:flex}.local-indicator{background:var(--accent);border-radius:100%;width:5px;height:5px}.library-main{flex:1;min-width:0;overflow:auto}.main-toolbar{border-bottom:1px solid #323232;justify-content:space-between;align-items:center;gap:20px;height:90px;padding:0 40px;display:flex}.toolbar-left,.toolbar-right{align-items:center;gap:22px;display:flex}.toolbar-left>button{color:#aaa;white-space:nowrap;align-items:center;gap:6px;padding:8px 0;font-size:12px;display:flex}.toolbar-right{gap:20px}.toolbar-right>.button{border-color:#555}.library-content{max-width:1700px;padding:30px 40px}.collection{margin-bottom:44px}.collection-heading{justify-content:space-between;align-items:center;gap:15px;min-height:30px;margin-bottom:24px;display:flex}.collection-heading h2{align-items:center;gap:10px;margin:0;font-size:17px;display:flex}.collection-heading h2>svg{color:#666}.collection-heading>div{align-items:center;gap:16px;display:flex}.collection-heading>div>button{color:#aaa;align-items:center;gap:5px;font-size:11px;display:flex}.work-grid{grid-template-columns:repeat(auto-fill, var(--work-card-width));gap:28px 20px;display:grid}.work-slide{gap:20px;padding-bottom:10px;display:flex;overflow:auto}.work-slide .work-card{width:var(--work-slide-card-width);flex-shrink:0}.work-card{min-width:0;width:var(--work-card-width);max-width:var(--work-card-width);position:relative}.work-art{aspect-ratio:194/253;background:#303635;border-radius:7px;width:100%;padding:0;display:block;overflow:hidden}.work-art img{object-fit:cover;object-position:top;width:100%;height:100%}.cover-placeholder{color:#5d7973;font-size:56px}.work-caption{justify-content:space-between;align-items:center;margin-top:7px;display:flex}.work-caption>button:first-child{white-space:nowrap;text-overflow:ellipsis;text-align:left;padding:3px 0;font-size:13px;font-weight:600;overflow:hidden}.work-caption .icon-button{width:22px}.work-author{color:#838383;align-items:center;gap:6px;font-size:11px;display:flex}.context-menu{z-index:5;background:#333;border:1px solid #525252;border-radius:8px;width:155px;padding:6px;position:absolute;top:85%;right:0;box-shadow:0 10px 25px #0006}.context-menu button{text-align:left;align-items:center;gap:10px;width:100%;padding:10px 8px;font-size:12px;display:flex}.is-hidden{color:#777}.pagination{color:#888;justify-content:center;align-items:center;gap:14px;margin-top:24px;display:flex}.selection-list{max-height:50dvh;margin:16px 0;overflow:auto}.selection-list>div{border-bottom:1px solid #3a3a3a;justify-content:space-between;align-items:center;padding:12px 4px;display:flex}.selection-list label{align-items:center;gap:12px;display:flex}.mode-labels{color:#888;text-align:center;margin:8px 0;font-size:11px}.rotate-up{transform:rotate(90deg)}.editor-shell{height:100dvh;display:flex;overflow:hidden}.editor-rail{background:#292929;border-right:1px solid #3b3b3b;flex-direction:column;flex-shrink:0;align-items:center;gap:22px;width:70px;padding:20px 0;display:flex}.editor-nav{background:#292929;border-right:1px solid #373737;flex-shrink:0;width:195px;padding:20px 10px;overflow:auto}.nav-heading{justify-content:space-between;align-items:center;margin-bottom:25px;padding:0 8px;display:flex}.nav-heading strong{font-size:14px}.editor-nav>button{text-align:left;color:#aaa;border-radius:7px;width:100%;padding:13px 16px;font-size:12px;display:block}.editor-nav>button.active{color:var(--accent);background:#34443f}.recent-workspaces>button{text-align:left;border-radius:7px;align-items:center;gap:10px;width:100%;padding:9px 5px;font-size:12px;display:flex}.recent-workspaces button.active{background:#3b3b3b}.recent-workspaces button>span:last-child{overflow-wrap:anywhere;flex:1;min-width:0}.recent-workspaces small{margin-top:7px;font-size:9px;display:block}.workspace-thumb{color:#888;border:1px solid #4b4b4b;border-radius:3px;flex-shrink:0;place-items:center;width:52px;height:38px;display:grid;overflow:hidden}.workspace-thumb img{object-fit:cover;object-position:top;width:100%;height:100%}.editor-main{flex:1;min-width:0;overflow:auto}.editor-header{z-index:4;background:#222;border-bottom:1px solid #3a3a3a;justify-content:space-between;align-items:center;gap:15px;height:77px;padding:12px 28px;display:flex;position:sticky;top:0}.editor-title{flex-direction:column;gap:7px;min-width:0;display:flex}.editor-title strong{text-overflow:ellipsis;white-space:nowrap;max-width:230px;font-size:13px;overflow:hidden}.editor-fieldset,.panel-fieldset{border:0;margin:0;padding:0}.editor-form{max-width:850px;margin:auto;padding:35px 44px 100px}.editor-form>h2{margin-bottom:24px;font-size:20px}.editor-form>h3{margin-top:25px}.editor-form>input{margin-bottom:8px}.basic-info{align-items:flex-start;gap:25px;display:flex}.basic-info>div:last-child{flex:1;min-width:0}.basic-info .field:first-child{margin-top:0}.basic-info .field-label+.image-upload{margin-top:10px}.basic-info>.field>.image-upload{margin-top:0}.section-title{justify-content:space-between;align-items:center;gap:15px;margin:20px 0;display:flex}.section-title h2{margin:0}.section-title .inline-actions{gap:6px}.section-title .button{padding:7px 10px;font-size:11px}.tab-pills{flex-wrap:wrap;gap:8px;margin:20px 0 24px;display:flex}.tab-pills>button{color:#bbb;background:#303030;border:1px solid #484848;border-radius:5px;padding:8px 12px;font-size:12px}.tab-pills>button.active{color:var(--accent);background:#31443f;border-color:#5aaa9f}.checkbox-list{flex-wrap:wrap;gap:15px;display:flex}.checkbox-list label{align-items:center;gap:6px;font-size:13px;display:flex}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px;display:grid}.media-grid img{object-fit:contain;background:#292929;border:1px solid #444;border-radius:6px;width:100%;max-height:320px}.media-grid small,.media-grid figcaption{color:#888;text-align:center;margin-top:8px;font-size:11px;display:block}.relation-graph{background:#252525;border:1px solid #373737;border-radius:8px;width:100%;min-height:230px;margin:20px 0}.scenario-graph{border:1px solid #414141;border-radius:8px;margin:20px 0;padding:20px;overflow:auto}.scenario-graph ul{padding-left:20px;list-style:none}.scenario-node{border:1px solid #5a7770;border-radius:6px;margin:5px;padding:8px 14px;font-size:12px;display:inline-block}.probability-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.probability-grid .field{margin:8px 0}.assistant-desktop{background:#262626;border-left:1px solid #3b3b3b;flex-shrink:0;width:300px;overflow:auto}.assistant{flex-direction:column;min-height:100%;padding:26px 20px;display:flex}.assistant h3{color:#ddd;align-items:center;gap:9px;font-size:14px;display:flex}.assistant h3 svg{color:#8a9b93}.assistant .field{margin:10px 0}.assistant .field-label{font-size:11px}.assistant-result{flex:1;min-height:230px;padding:26px 0;font-size:13px;line-height:1.7}.assistant .model-label{text-align:left;overflow-wrap:anywhere;align-self:flex-start;padding:7px 0;font-size:10px}.assistant>.button{margin-top:10px}.chat-shell{height:100dvh;display:flex;overflow:hidden}.chat-sidebar{background:#292929;border-right:1px solid #393939;flex-direction:column;flex-shrink:0;width:230px;padding:22px 16px;display:flex;overflow:auto}.chat-back{color:#aaa;align-items:center;gap:10px;padding:4px;font-size:12px;display:flex}.chat-work-info{text-align:center;padding:30px 0 25px}.chat-work-info h3{margin:12px 0 7px;font-size:14px}.chat-work-info small{font-size:11px}.chat-sidebar nav{flex:1}.chat-sidebar nav button{color:#b4b4b4;align-items:center;gap:12px;width:100%;padding:13px 8px;font-size:12px;display:flex}.chat-sidebar nav button>svg:last-child{color:#666;width:12px;margin-left:auto}.chat-sidebar nav button:nth-child(2n){border-bottom:1px solid #353535;margin-bottom:7px;padding-bottom:16px}.chat-sidebar>.button{margin-top:20px}.chat-main{flex-direction:column;flex:1;min-width:0;display:flex}.chat-header{border-bottom:1px solid #363636;flex-shrink:0;align-items:center;gap:12px;height:72px;padding:12px 30px;display:flex}.chat-header strong{font-size:14px;font-weight:650}.chat-header small{color:#838383;margin-top:5px;font-size:10px;display:block}.chat-scroll{overscroll-behavior:contain;overflow-anchor:none;flex:1;min-height:0;overflow:auto}.chat-column{width:100%;max-width:730px;margin:0 auto;padding:0 28px}.chat-scroll>.chat-column{padding-top:42px;padding-bottom:26px}.eyebrow{letter-spacing:2.5px;color:#718a84;font-size:9px}.story-body{line-height:inherit;overflow-wrap:anywhere;color:#ccc}.story-body>.markdown,.story-body>div>.markdown{margin:18px 0}.character-message{align-items:flex-start;gap:12px;margin:24px 0 28px;display:flex}.character-message>.avatar{margin-top:1px}.character-message>div{flex:1;min-width:0}.character-message strong{color:#f0f0f0;margin-bottom:6px;font-size:12px;line-height:1.5;display:block}.character-message .markdown{color:#ddd;background:#2b2b2b;border-radius:0 10px 10px;padding:15px 18px}.story-image{border-radius:10px;max-height:480px;margin:20px auto;display:block}.novel-scroll .story-image,.novel-scroll .markdown img{object-fit:contain;image-rendering:auto;width:100%;max-width:100%;height:auto;max-height:none;display:block}.conversation-turn{margin:35px 0 24px;scroll-margin-top:25px}.user-message{justify-content:flex-end;align-items:flex-start;gap:10px;margin:0 0 32px 30px;display:flex}.user-message>div{background:#293b37;border:1px solid #36504a;border-radius:10px 0 10px 10px;max-width:85%;padding:12px 17px}.user-message strong{color:#8fb6a9;margin-bottom:5px;font-size:11px;line-height:1.5;display:block}.user-message>.avatar{order:2}.user-message>.icon-button{opacity:.6;order:-1}.response-tools{color:#888;align-items:center;gap:4px;margin:7px 0;line-height:normal;display:flex}.candidate-pager{align-items:center;gap:9px;margin-right:auto;display:flex}.candidate-pager button{justify-content:center;align-items:center;width:22px;height:26px;display:flex}.candidate-pager img{object-fit:contain;width:auto;max-width:10px;height:14px}.candidate-pager span{color:#929292;font-variant-numeric:tabular-nums;font-size:11px}.local-event{color:#aebfb4;background:#2b302d;border:1px solid #3d4842;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin:24px 0;padding:13px 18px;scroll-margin-top:24px;font-size:12px;display:flex}.generation-status{color:#999;align-items:center;gap:10px;margin:30px 0;font-size:12px;display:flex}.pulse{background:var(--accent);border-radius:50%;width:6px;height:6px;animation:1.4s infinite pulse}@keyframes pulse{50%{opacity:.25}}.chat-footer{background:linear-gradient(#0000,#222 10%);flex-shrink:0;max-height:50dvh;padding:10px 0 9px;overflow:auto}.status-strip{color:#8d8d8d;flex-wrap:wrap;gap:16px;margin:0 4px 10px;font-size:10px;line-height:1.7;display:flex}.status-strip span{gap:7px;display:flex}.status-strip strong{color:#c8c8c8;font-size:11px;font-weight:500}.suggestions{gap:8px;margin-bottom:10px;padding:0 0 3px;display:flex;overflow:auto}.suggestions button{font-size:var(--body-4-size);white-space:nowrap;color:#bbb;border:1px solid #474747;border-radius:6px;padding:8px 12px}.composer{background:#2b2b2b;border:1px solid #494949;border-radius:13px;padding:12px 12px 8px}.composer textarea{resize:none;field-sizing:content;min-height:48px;max-height:150px;font-size:13px;line-height:1.6;background:0 0!important;border:0!important;padding:2px 3px!important}.composer textarea:focus{outline:none}.composer-controls{align-items:center;gap:9px;padding-top:5px;display:flex}.model-trigger{color:#9f9f9f;text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;max-width:65%;padding:8px 3px;font-size:11px;display:flex;overflow:hidden}.model-trigger svg{flex-shrink:0}.composer-hint{color:#777;text-align:center;margin:8px 0 0;font-size:9px}.shortcut-list{background:#303030;border:1px solid #505050;border-radius:8px;max-height:140px;margin-bottom:8px;padding:8px;overflow:auto}.shortcut-list button{text-align:left;gap:10px;width:100%;padding:8px;font-size:12px;display:flex}.shortcut-list small{font-size:10px}.chat-log-desktop{background:#252525;border-left:1px solid #383838;width:245px;padding:25px 20px;overflow:auto}.conversation-log h3{color:#bdbdbd;margin-bottom:20px;font-size:13px}.conversation-log button{text-align:left;border-bottom:1px solid #373737;width:100%;padding:14px 0;display:block}.conversation-log button span{text-overflow:ellipsis;white-space:nowrap;color:#ccc;font-size:11px;display:block;overflow:hidden}.conversation-log small{-webkit-line-clamp:3;color:#797979;-webkit-box-orient:vertical;margin-top:8px;font-size:10px;line-height:1.6;display:-webkit-box;overflow:hidden}.log-modal .conversation-log h3{display:none}.chat-panel-content .field:first-child{margin-top:0}.chat-panel-content>.markdown{font-size:13px;line-height:1.8}.chat-panel-content .quality-editor .segmented button{min-width:65px}.stat-list{grid-template-columns:1fr 1fr;gap:20px;font-size:13px;display:grid}.stat-list dt{color:#888}.stat-list dd{text-align:right;margin:0}.inventory-card{border-bottom:1px solid #414141;margin-bottom:15px;padding:0 0 24px}.inventory-card .markdown{color:#aaa;margin:12px 0;font-size:12px;line-height:1.8}.inventory-card .manage-row{border:0}.persona-options{flex-wrap:wrap;gap:10px;display:flex}.persona-options button{border:1px solid #454545;border-radius:8px;align-items:center;gap:10px;padding:10px;font-size:12px;display:flex}.sheet-menu{grid-template-columns:1fr;gap:12px;display:grid}.sheet-menu-group{border-radius:13px;display:grid;overflow:hidden}.sheet-menu button{text-align:left;background:#2b2b2b;border-bottom:1px solid #393939;align-items:center;gap:14px;padding:17px 16px;font-size:13px;display:flex}.sheet-menu button>span{flex:1}.sheet-menu button>svg:last-child{color:#666}.sheet-menu-group>button:last-child{border-bottom:0}@media (width>=1600px){.editor-form{padding:48px 65px}.assistant-desktop{width:335px}.chat-sidebar{width:270px}.chat-log-desktop{width:275px}.chat-column{max-width:790px}.work-grid{grid-template-columns:repeat(auto-fill, var(--work-card-width))}}@media (width<=1200px){.assistant-desktop,.chat-log-desktop{display:none}.toolbar-left{gap:14px}.main-toolbar{padding:0 25px}.library-content{padding:30px 25px}.room-sidebar{width:225px}.editor-form{max-width:800px}.chat-column{max-width:760px}.chat-sidebar{width:220px}}@media (width<=800px){.mobile-only{display:inline-flex!important}.library-layout,.editor-shell,.chat-shell{height:100dvh}.room-sidebar{z-index:30;width:270px;transition:transform .2s;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.room-sidebar.mobile-open{transform:none}.mobile-scrim{z-index:25;background:#0009;position:fixed;inset:0}.main-toolbar{gap:12px;height:73px;padding:0 18px}.toolbar-left{gap:16px;margin-right:auto}.toolbar-left>button span{display:none}.toolbar-right{gap:12px}.toolbar-right>.button{padding:8px 10px;font-size:11px}.library-content{padding:28px 20px}.collection-heading h2{gap:6px;font-size:15px}.collection-heading>div{gap:6px}.collection-heading>div>button{gap:0;font-size:0}.collection-heading .subtle-label{display:none}.work-grid{grid-template-columns:repeat(auto-fill, var(--work-card-width));gap:22px 15px}.editor-rail{gap:20px;width:57px;padding:17px 0}.editor-nav{z-index:20;width:225px;display:none;position:fixed;top:77px;bottom:0;left:57px;box-shadow:15px 0 30px #0006}.editor-nav.mobile-open{display:block}.editor-rail:has(button.active:nth-child(3))+.editor-nav{display:block}.editor-header{gap:9px;padding:12px 15px}.editor-header .inline-actions{gap:5px}.editor-header .button{padding:7px 9px;font-size:11px}.editor-title strong{max-width:150px;font-size:12px}.saved{font-size:9px}.editor-form{padding:30px 24px 90px}.editor-header .icon-button{width:28px}.section-title{flex-direction:column;align-items:flex-start}.section-title .inline-actions{flex-wrap:wrap}.basic-info{gap:16px}.basic-info .image-upload>button:first-child{width:94px;height:120px}.chat-sidebar{display:none}.chat-header{gap:10px;height:65px;padding:12px 16px}.chat-header>div:not(.grow){max-width:65%;overflow:hidden}.chat-header strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;display:block;overflow:hidden}.chat-header small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-column{max-width:700px;padding:0 22px}.chat-scroll>.chat-column{padding-top:27px}.chat-footer{padding:8px 0 max(7px, env(safe-area-inset-bottom))}.chat-footer .chat-column{padding:0 15px}.composer{padding:10px 10px 7px}.composer textarea{font-size:13px}.composer-hint{font-size:8px}.status-strip{gap:13px;margin-bottom:7px}.suggestions{gap:7px}.suggestions button{padding:7px 10px}.modal{width:calc(100vw - 30px);max-height:calc(100dvh - 35px)}.modal-header{padding:17px 20px}.modal-body{padding:18px 20px 24px}.bottom-sheet{background:#1c1c1e;border-bottom:0;border-radius:24px 24px 0 0;width:100%;max-width:100%;max-height:90dvh;margin:0;position:fixed;inset:auto 0 0}.bottom-sheet .sheet-handle{background:#606066;border-radius:4px;width:42px;height:5px;margin:12px auto;display:block}.bottom-sheet .modal-header{display:none}.bottom-sheet .modal-body{padding:0 16px max(18px, env(safe-area-inset-bottom))}.sheet-menu button{padding:16px;font-size:13px}.chat-panel-content .relation-graph{max-height:320px}.standalone-page{padding:0 20px 40px}.profile-content{max-width:500px}}@media (width<=480px){.work-grid{grid-template-columns:repeat(auto-fill, var(--work-card-width));gap:24px 15px}.collection-heading{margin-bottom:18px}.work-card{max-width:none}.library-content{padding:24px 18px}.main-toolbar{gap:9px;padding:0 14px}.toolbar-left{gap:12px}.toolbar-right{gap:8px}.toolbar-right>.button{padding:7px;font-size:10px}.toolbar-right>.button svg{width:13px}.editor-header{flex-wrap:wrap;height:auto;min-height:77px}.editor-title{flex:1}.editor-header .inline-actions{margin-left:auto}.editor-header .inline-actions>.icon-button{display:none}.editor-header .button{font-size:10px}.editor-form{padding:26px 17px 80px}.editor-form h2{font-size:18px}.editor-form .basic-info{flex-direction:column}.basic-info>div:last-child{width:100%}.segmented button{min-width:64px}.form-row{flex-wrap:wrap;gap:8px}.form-row>.field{min-width:90px}.onboarding{padding:35px 17px}.onboarding-card{margin-top:18px;padding:24px 20px}.chat-column{padding:0 18px}.character-message{gap:9px}.character-message .markdown{padding:12px 14px}.user-message{margin-left:10px}.user-message>div{padding:11px 14px}.response-tools{gap:1px}.response-tools .icon-button{width:29px}.toast{top:max(16px, env(safe-area-inset-top));width:calc(100vw - 28px)}.probability-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.modal .assistant{padding:0}.stat-list{gap:16px}.range-labels button{font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.graph{background:#252525;border:1px solid #3b3b3b;border-radius:8px;margin:20px 0;overflow:auto}.graph>svg{width:100%;min-width:280px;max-height:400px;display:block}.scenario-children{border-left:1px solid #4b5551;margin-left:24px;padding-left:16px}.scenario-node.ending{color:#e9d597;border-color:#c5ae70}.scenario-node.start{background:#31423b}.probabilities{grid-template-columns:repeat(auto-fit,minmax(112px,128px));justify-content:center;gap:8px 12px;display:grid}.probabilities label{align-items:center;gap:6px;min-width:0;display:flex}.probabilities .enhancement-level{color:#ccc;text-align:right;flex:0 0 28px;font-size:14px}.probabilities .enhancement-percent{color:#838383;flex-shrink:0;font-size:12px}.probabilities input{text-align:left;min-width:0;height:32px;font-size:12px;padding:6px 8px!important}.enhancement-failure-hint{color:#838383;margin:0 0 4px;font-size:12px;line-height:1.5}.condition-row{flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0;display:flex}.condition-row>select,.condition-row>input{flex:1;font-size:11px;min-width:75px!important;padding:8px 5px!important}.risu-message iframe{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#212121}.action-buttons{flex-wrap:wrap;gap:8px;padding:8px 0;display:flex}.modal.common-modal{--text-focus-outline:1px solid #fff;color:#fff;background:#000;border:1px solid #4e4e4e;border-radius:4px}.modal.common-modal .modal-header{background:#000;border-bottom:0;grid-template-columns:32px minmax(0,1fr) 32px;gap:8px;padding:16px 24px;display:grid}.modal.common-modal .modal-header h2{font-size:var(--modal-title-size);text-align:center;grid-column:2;margin:0;font-weight:500}.modal.common-modal .modal-header>.icon-button{grid-column:3}.modal.common-modal .modal-body{flex-direction:column;gap:24px;padding:16px 24px 24px;display:flex}.modal.common-modal .modal-body>:where(p,.field,.confirm-body,.modal-actions,.checkbox-row){margin:0}.modal.common-modal .modal-actions{gap:12px}.modal.common-modal.confirm-modal .modal-actions>.button{min-height:56px;padding-inline:24px}.modal.common-modal.confirm-modal .button.button--danger,.modal.common-modal.confirm-modal .button.button--danger:not(:disabled):hover{border-color:var(--homura-red);color:var(--homura-red);background:0 0}.modal.common-modal .modal-body>.button{margin-top:0}.modal.common-modal.modal--compact .modal-header{grid-template-columns:24px minmax(0,1fr) 24px;padding:16px 16px 0}.modal.common-modal.modal--compact .modal-header h2{line-height:24px}.modal.common-modal.modal--compact .modal-header>.icon-button{width:24px;height:24px;padding:2px}.modal.common-modal.modal--compact .modal-body{gap:16px;padding:20px 16px 16px}.modal.common-modal .button.primary,.modal.common-modal .button.primary:not(:disabled):hover{color:#222;opacity:1;background:#fff;border-color:#fff;border-radius:4px;min-height:56px;font-weight:700}.modal.common-modal .button.primary:disabled{color:#838383;opacity:1;background:#2b2b2b;border-color:#4e4e4e}.modal.common-modal .segmented{gap:16px;margin:0}.modal.common-modal .segmented button{border:1px solid #4e4e4e;min-height:52px}.modal.common-modal .segmented button.selected{border-color:#fff}.modal.common-modal.carousel-settings-modal{width:412px}.modal.common-modal.carousel-settings-modal input[type=text]{min-height:52px}.carousel-settings-modal .field-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.modal.common-modal.carousel-settings-modal .modal-body>.modal-actions{flex-direction:column;margin-top:16px}.modal.common-modal.carousel-settings-modal .modal-actions>.button{margin-top:0}.modal.common-modal .checkbox-row{align-items:center;gap:12px;line-height:24px;display:flex}.modal.common-modal .checkbox-row input[type=checkbox]{appearance:auto;flex:0 0 16px;width:16px;min-width:16px;height:16px;margin:0;padding:0}@media (width<=800px){.modal.common-modal .modal-header{padding:16px 20px}.modal.common-modal .modal-body{padding:16px 20px 24px}}.toggle-row.toggle-row{font-size:var(--body-5-size,12px)}.toggle-row>.toggle-label{color:#ccc}.toggle-row[data-checked=true]>.toggle-label{color:#fff}.toggle.toggle{border-radius:16px;width:29.33px;height:16px;padding:2px}.toggle.toggle>span{width:12px;height:12px}.toggle.toggle.on>span{transform:translate(13.33px)}.toggle.toggle,.toggle.toggle:not(:disabled):hover{background:#cbcbcb}.toggle.toggle.on,.toggle.toggle.on:not(:disabled):hover{background:var(--pneuma-emerald,#5fddce)}.toggle.toggle>span,.toggle.toggle.on>span{background:#fff}.text-control.text-control--small{font-size:var(--body-5-size);line-height:var(--body-5-line-height);padding:12px}.composer,.support-composer{--text-focus-outline:none}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not(:disabled):focus,textarea:not(:disabled):focus{outline:var(--text-focus-outline,1px solid #fff);outline-offset:-1px}.form-row.form-row{align-items:flex-start;gap:12px}.form-row.form-row>.field.field{margin:12px 0 20px}.panel-header{align-items:center;gap:10px;display:flex}.panel-header h2{font-size:var(--workspace-title-size);margin:0;font-weight:500}.collapsed-panel{z-index:6;background:#2b2b2b;border:1px solid #4e4e4e;border-radius:16px;align-items:center;gap:12px;max-width:230px;height:48px;padding:0 10px 0 18px;display:flex;position:absolute;top:8px;right:12px;box-shadow:0 4px 12px #0002}.collapsed-panel strong{font-size:var(--workspace-nav-size);white-space:nowrap;font-weight:500}.collapsed-panel .icon-button{color:#fff}.collapsed-panel .chat-cost{padding:5px 10px;font-size:12px}.editor-shell,.chat-shell{position:relative}@media (width>=1200px){.editor-shell.editor-right-collapsed .editor-header,.chat-shell.right-collapsed .chat-header{padding-right:252px}.editor-header .supporter-reopen{display:none}}@media (width<=1199px){.collapsed-panel{display:none}}.sortable-list,.sortable-item{position:relative}.sortable-item.is-dragging{opacity:.55}.sortable-item.drop-before:before,.sortable-item.drop-after:after{content:"";z-index:2;pointer-events:none;background:#5fddce;height:2px;position:absolute;left:0;right:0}.sortable-item.drop-before:before{top:-4px}.sortable-item.drop-after:after{bottom:-4px}.drag-handle.drag-handle{width:24px;height:28px;color:inherit;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;flex:0 0 24px;justify-content:center;align-items:center;padding:0;display:inline-flex}.drag-handle:active{cursor:grabbing}.drag-handle:focus-visible{outline-offset:0;outline:1px solid #fff}.sort-announcement{clip-path:inset(50%);width:1px;height:1px;position:absolute;top:0;left:0;overflow:hidden}.room-list-item{align-items:center;gap:12px;min-width:0;display:flex}.room-list-open{text-align:left;flex:1;align-items:center;gap:16px;min-width:0;padding:0;display:flex}.room-list-text{flex:1;min-width:0}.room-list-name{white-space:nowrap;text-overflow:ellipsis;font-size:16px;display:block;overflow:hidden}.room-list-text small{white-space:nowrap;text-overflow:ellipsis;color:#838383;margin-top:8px;font-size:12px;display:block;overflow:hidden}.room-list-item--compact{gap:2px}.room-list-item--compact .room-list-open{gap:10px}.room-list-item--compact .room-list-name{font-size:14px}.room-list-item--compact.list-row{padding:14px 6px}.room-list-item--compact .room-list-text small{margin-top:6px}.room-list-item .room-menu-trigger{flex-shrink:0;width:24px;height:32px;padding:2px}.room-action-menu{z-index:60;background:#000;border:1px solid #525252;border-radius:4px;width:180px;max-width:calc(100vw - 16px);padding:8px;position:fixed;box-shadow:0 8px 20px #0005}.room-action-menu button{white-space:nowrap;text-align:left;align-items:center;gap:10px;width:100%;padding:10px;font-size:14px;display:flex}.room-action-menu button:focus-visible{outline-offset:-1px;outline:1px solid #5fddce}.room-action-dialog{background:#000;border-radius:4px}.room-list-item--selectable.manage-row{border:1px solid #525252;border-radius:8px;margin:0;padding:12px 16px}.room-list-item--selectable.is-selected{background:#2b2b2b;border-color:#fff}.room-list-item--selectable .room-list-open{min-height:40px}.room-selection-mark{color:#fff;flex:none}.list-row{border-radius:5px;padding:12px 6px}.list-row:hover{background-color:#ffffff09}.folder-list--compact,.room-sidebar .recent-list{background:#393939;border-radius:6px;padding:4px 10px}.folder-list--compact:empty{display:none}.room-manager .sidebar-empty{color:#838383;text-align:center;font-size:14px}.room-manager .section-title{flex-flow:row;align-items:center}.room-manager .section-title .inline-actions{flex-wrap:nowrap;flex-shrink:0}.folder-list-row{align-items:center;gap:8px;display:flex}.folder-list-open{text-align:left;flex:1;align-items:center;gap:12px;min-width:0;padding:0;display:flex}.folder-avatar{background:#2b2b2b;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid}.folder-list-text{flex:1;min-width:0}.folder-list-text>span{text-overflow:ellipsis;white-space:nowrap;font-size:14px;display:block;overflow:hidden}.folder-list-text small{color:silver;margin-top:6px;font-size:11px;display:block}.folder-list-row>.icon-button{flex:none;width:24px;padding:2px}.folder-list--compact .folder-list-text>span{font-size:12px}.folder-list--compact .folder-list-text small{font-size:10px}.modal.common-modal.folder-editor-modal{width:544px}.modal.common-modal.folder-editor-modal .modal-header{margin:0}.folder-editor-fields{border:0;flex-direction:column;gap:24px;min-width:0;margin:0;padding:0;display:flex}.folder-editor-fields>.field,.folder-editor-fields h3{margin:0}.folder-editor-fields input[type=text]{min-height:52px}.folder-editor-modal .folder-room-picker .room-list-item--selectable.manage-row{border:1px solid #525252;border-radius:8px;padding:12px 16px}.folder-editor-modal .folder-room-picker .room-list-item--selectable.is-selected{border-color:#fff}.folder-editor-modal .folder-room-picker .room-list-open{background:0 0}.folder-editor-modal .folder-room-picker .room-list-name{font-size:16px}.folder-editor-modal .folder-room-picker .room-list-text small{font-size:12px}.folder-room-picker{flex-direction:column;gap:16px;max-height:42dvh;padding:1px;display:flex;overflow:auto}.folder-editor-fields>.button{flex-shrink:0}.room-sidebar .recent-list{flex:none}.room-sidebar .sidebar-label{color:#fff;padding:0;font-size:16px}.room-sidebar .sidebar-label .inline-actions{gap:8px}.room-sidebar .sidebar-label .icon-button{color:#fff;justify-content:flex-end;width:24px;padding:0}.room-sidebar>.sidebar-empty{color:#fff;text-align:center;background:#4e4e4e;border-radius:6px;margin:0;padding:8px 12px;font-size:12px;line-height:16px}.modal.common-modal.auto-folder-modal{width:258px}.modal.common-modal.auto-folder-modal .modal-header{grid-template-columns:minmax(0,1fr);margin:0;padding:24px 24px 16px}.modal.common-modal.auto-folder-modal .modal-header h2{grid-column:1;font-size:16px}.auto-folder-modal .modal-header>.icon-button{display:none}.modal.common-modal.auto-folder-modal .modal-body{padding:16px 24px 24px}.auto-folder-modal .modal-body>p{color:#ccc;font-size:14px;line-height:24px}.modal.common-modal.auto-folder-modal .modal-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.auto-folder-modal .modal-actions .button{width:100%;min-height:56px;margin:0}.modal.common-modal.auto-folder-modal .modal-actions .button:not(.primary){color:#838383;background:#2b2b2b;border-color:#4e4e4e;font-weight:700}.modal.common-modal.backup-modal .modal-body{gap:16px}.backup-modal .settings-list{margin:0}.backup-modal .backup-download-row{border-bottom:1px solid #3b3b3b;border-radius:0;align-items:center;display:flex}.backup-modal .settings-list>button{border-radius:0}.backup-modal .backup-download-row:hover{background-color:#ffffff09}.backup-modal .backup-download-action:not(:disabled):hover{background-color:#0000}.backup-modal .backup-download-action{text-align:left;flex:1;align-self:stretch;align-items:center;gap:14px;min-width:0;padding:0 4px 16px;display:flex}.backup-modal .backup-download-action>span{flex:1}.backup-modal .backup-download-action>svg{flex-shrink:0}.backup-modal .backup-download-row>.toggle-row{white-space:nowrap;justify-content:flex-end;align-self:stretch;gap:8px;padding:0 4px 16px 12px}.modal.common-modal.work-picker-modal{width:654px}.work-picker-modal .search{--text-focus-outline:none}.work-picker-modal .search:focus-within{border-color:#fff}.work-picker-grid{border:0;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:24px;min-width:0;max-height:52dvh;margin:0;padding:2px;display:grid;overflow:auto}.work-picker-grid .work-card{width:100%;max-width:none}.work-card--selectable .work-art{border:1px solid #0000}.work-card--selectable.is-selected .work-art{border-color:#fff;box-shadow:0 0 0 1px #fff}.work-card--selectable .work-art:focus-visible{outline-offset:-3px;outline:2px solid #fff}.work-selection-mark{color:#838383;text-align:center;min-width:20px}.work-card--selectable.is-selected .work-selection-mark{color:#fff}.work-picker-grid .empty{grid-column:1/-1}.modal.common-modal .work-picker-hint{margin:-8px 0;font-size:12px}.collection-heading{flex-wrap:wrap}.collection-heading>div{flex-wrap:wrap;gap:12px}.library-content .work-caption>button:first-child{font-size:17px}.library-content .work-author{gap:8px;font-size:14px}.library-content .work-author .avatar{width:18px!important;height:18px!important}.library-content .work-author .avatar>svg{width:11px;height:11px}.library-content .work-caption .icon-button{flex-shrink:0;width:28px}.library-content .work-caption .icon-button>svg{width:20px;height:20px}.library-content .cover-placeholder{font-size:72px}@media (width>=801px){.library-layout .toolbar-left>button,.library-layout .collection-heading>div>button{gap:8px;font-size:14px}.library-layout .toolbar-left>button>svg,.library-layout .collection-heading>div>button>svg{width:20px;height:20px}}@media (width<=800px){.library-content .work-grid{grid-template-columns:repeat(auto-fill, minmax(min(var(--work-card-width), calc((100% - 15px) / 2)), 1fr));gap:24px 15px}.library-content .work-grid .work-card{width:100%;max-width:none}}@media (width<=540px){.work-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}}.mobile-navigation-shell{display:contents}.bottom-navigation,.mobile-brand{display:none}@media (width<=800px){.mobile-navigation-shell{flex-direction:column;height:100dvh;display:flex}.app-route-content{flex:1;min-height:0;overflow:hidden}.app-route-content .library-layout,.app-route-content .standalone-page{height:100%}.app-route-content .standalone-page{overflow-y:auto}.app-route-content .library-layout>.room-sidebar{display:none}.bottom-navigation{padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#2b2b2b;border-top:1px solid #4e4e4e;flex-shrink:0;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.bottom-navigation button{-webkit-tap-highlight-color:transparent;color:#838383;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:56px;padding:0;font-size:12px;display:flex}.bottom-navigation button[aria-current=page]{color:#fff}.bottom-navigation .avatar{border:1px solid}.main-toolbar .mobile-only,.main-toolbar .toolbar-right{display:none}.main-toolbar .mobile-brand{color:#fff;white-space:nowrap;font-size:20px;display:block}.main-toolbar .toolbar-left{margin-left:auto;margin-right:0}}.disclosure-card{border-radius:4px;min-width:0;padding:16px}.card-header.card-header{cursor:pointer;font-size:var(--body-4-size);line-height:var(--body-4-line-height);font-weight:var(--body-4-bold-weight);align-items:center;gap:8px;list-style:none;display:flex}.card-header.card-header::-webkit-details-marker{display:none}.card-header.card-header-static{cursor:default}.disclosure-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.card-header.card-header>.icon-button{flex:none;width:24px;height:24px;padding:4px}.disclosure-chevron{flex:none}details[open]>.card-header>.disclosure-chevron{transform:rotate(180deg)}.creator-card{margin:16px 0}.disclosure-body{flex-direction:column;gap:16px;margin-top:16px;display:flex}.disclosure-body>.field.field{gap:8px;margin:0}.disclosure-body>.field>.field-label{font-size:var(--body-5-size);line-height:var(--body-5-line-height)}.disclosure-body>.text-control{display:block}.button.add-button{color:#fff;width:100%;min-height:48px;font-size:var(--body-4-size);line-height:var(--body-4-line-height);background:0 0;border:1px solid #4e4e4e;border-radius:4px;gap:8px;margin:16px 0 0;padding:8px 12px;font-weight:400}.button.add-button>svg{flex-shrink:0;width:24px;height:24px}.note-library .note-group-heading{margin:0 0 16px}.note-library .note-group-heading h3{font-size:var(--body-3-size)}.note-library{min-width:0}.note-groups-empty{text-align:center;font-size:var(--body-5-size);line-height:var(--body-5-line-height);margin:20px 0}.note-library .note-group{gap:16px;margin:16px 0}.note-library .note-group-open{text-align:left;flex:1;min-width:0;padding:8px 0}.note-group-open strong{font-size:var(--body-4-size);line-height:var(--body-4-line-height);font-weight:var(--body-4-bold-weight);white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.note-group-open small{color:#ccc;margin-top:8px;font-size:12px;display:block}.note-library .note-group .toggle-row>span{white-space:nowrap;font-size:12px;display:inline}.note-library .note-group .toggle-row{gap:8px}.note-library .note-list{border-top:1px solid #4e4e4e;margin-top:24px;padding-top:24px}.note-library .note-card{border-radius:4px;margin:0 0 16px;padding:16px}.note-library .note-card.note-card>summary{font-size:var(--body-4-size);line-height:var(--body-4-line-height);font-weight:var(--body-4-bold-weight);gap:8px;min-width:0;margin:0}.note-library .note-card.note-card>summary:before,.note-library .note-card.note-card>summary:after{display:none}.note-library .note-card .note-title{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;max-width:calc(100% - 88px);overflow:hidden}.note-library .note-card .note-title input{width:100%;min-width:0;font-size:var(--body-4-size);line-height:var(--body-4-line-height);font-weight:var(--body-4-bold-weight);padding:0}.note-library .note-card .icon-button,.note-library .note-group-heading .icon-button{flex:none;width:24px;height:24px;padding:4px}.note-library .note-card .note-delete{margin-left:auto}.note-chevron{flex:none}.note-card[open] .note-chevron{transform:rotate(180deg)}.note-library .note-card>.note-body{margin:16px 0}.note-library .note-card>.note-body>textarea{display:block}.note-library .note-card>.toggle-row{justify-content:flex-end;margin:0;padding:0}.note-group-modal{background:#000;border-radius:4px}.note-group-options{flex-direction:column;gap:12px;max-height:36dvh;display:flex;overflow:auto}.note-group-modal .group-note-option{cursor:pointer;border:1px solid #838383;border-radius:4px;min-height:48px;margin:0;padding:16px;position:relative}.note-group-modal .group-note-option:has(input:checked){border-color:var(--pneuma-emerald)}.note-group-modal .group-note-option:has(input:focus-visible){outline:2px solid var(--pneuma-emerald);outline-offset:2px}.note-group-modal .group-note-option input[type=checkbox]{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.note-group-modal .group-note-option small{color:#838383;margin-left:auto;font-size:12px}.group-note-option>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.note-group-modal .modal-header h2{margin-left:auto;margin-right:auto}.stepper button{border-color:var(--pneuma-emerald);color:var(--pneuma-emerald);opacity:1;background:0 0}.stepper button:disabled{opacity:1;color:#838383;cursor:default;border-color:#838383}.stepper button:enabled:hover{background:#5fddce14}.stepper button+button{border-left:1px solid;margin-left:-1px}.stepper button:disabled:has(+button:enabled){border-right-color:var(--pneuma-emerald)}.persona-fields.persona-fields{flex-direction:column;gap:16px;min-width:0;display:flex}.persona-fields>.field.field{gap:8px;margin:0}.persona-fields>.field>.field-label{font-size:var(--body-5-size);line-height:var(--body-5-line-height)}.persona-fields .radio-options{font-size:var(--body-5-size);line-height:var(--body-5-line-height);flex-wrap:wrap;gap:12px}.persona-fields .radio-options label{gap:8px}.persona-fields .radio-options input:disabled{opacity:1}.persona-fields .text-control.text-control--small{font-size:var(--body-5-size);line-height:var(--body-5-line-height)}.persona-image{justify-content:center;min-width:0;display:flex}.persona-fields .persona-image .image-upload{align-items:center;max-width:100%;margin:0}.persona-fields .persona-image .image-upload>button:first-child,.persona-image-preview{color:#fff;background:#4e4e4e;border-radius:8px;place-items:center;width:180px;max-width:100%;height:180px;display:grid;overflow:hidden}.persona-image-preview img{object-fit:cover;width:100%;height:100%}.authored-html{background:0 0;border:0;width:100%;min-height:0;display:block}.persona-card.persona-card{border:1px solid #0000;border-radius:4px;margin:16px 0;padding:16px}.persona-card.persona-card.selected{border-color:var(--pneuma-emerald)}.persona-card.persona-card>summary{cursor:pointer;font-size:var(--body-4-size);line-height:var(--body-4-line-height);font-weight:var(--body-4-bold-weight);align-items:center;gap:8px;list-style:none;display:flex}.persona-card.persona-card>summary:before,.persona-card.persona-card>summary:after{display:none}.persona-card>summary::-webkit-details-marker{display:none}.persona-card>summary>.persona-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.persona-card>summary>.icon-button{flex:none;width:24px;height:24px;padding:4px}.persona-card>summary>.persona-chevron{flex:none}.persona-card[open]>summary>.persona-chevron{transform:rotate(180deg)}.persona-card>.persona-card-body{flex-direction:column;gap:16px;margin-top:16px;display:flex}.persona-card-body>.button.button{font-weight:var(--body-4-bold-weight);margin-top:0}.persona-selection{border:1px solid #cbcbcb;border-radius:50%;flex:none;place-items:center;width:16px;height:16px;padding:0;display:grid}.persona-selection[aria-pressed=true]{background:var(--pneuma-emerald);border-color:var(--pneuma-emerald);color:#fff}.chat-personas>h3{font-size:var(--body-3-size);margin:0 0 16px}.selection-pill{color:#ccc;background:#2b2b2b;border:1px solid #4e4e4e;border-radius:4px;align-items:center;min-width:0;max-width:100%;display:inline-flex}.selection-pill.is-selected{color:#222;background:#fff;border-color:#fff}.selection-pill>.selection-pill-label{border-radius:inherit;min-width:0;min-height:46px;color:inherit;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;padding:12px 20px;font-size:12px;overflow:hidden}.selection-pill.is-selected>.selection-pill-label{font-weight:700}.selection-pill.has-delete{gap:12px}.selection-pill.has-delete>.selection-pill-label{padding-right:0}.selection-pill>.selection-pill-delete{width:16px;height:28px;color:inherit;background:0 0;border:0;flex-shrink:0;margin-right:20px;padding:0}.selection-pill>.selection-pill-delete:hover{color:inherit;background:0 0}.selection-pill.is-selected>.selection-pill-delete:hover{color:#222}.selection-pill--round{background:0 0;border-color:#838383;border-radius:24px}.selection-pill--round>.selection-pill-label{min-height:36px;padding:8px 16px;font-size:12px}.selection-pill--round>.selection-pill-delete{margin-right:16px}.profile-library-content{--body-5-size:14px;--body-5-line-height:22px;font-size:14px}.profile-library-content .note-library .note-group-heading h3{font-size:20px}.profile-library-content .note-groups-empty{color:#838383}.profile-library-content .note-library .note-card>.card-header,.profile-library-content .persona-library .persona-card>.card-header,.profile-library-content .note-library .note-card .note-title input,.profile-library-content .note-group-open strong,.profile-library-content .manage-row>span{font-size:16px}.profile-library-content .note-group-open small,.profile-library-content .note-library .note-group .toggle-row>span,.profile-library-content .manage-row small,.profile-library-content .empty{font-size:14px;line-height:22px}.work-info-tabs.scrollable-tabs{overscroll-behavior-x:contain;scrollbar-width:none;min-width:0;margin:0;overflow-x:auto}.scrollable-tabs::-webkit-scrollbar{display:none}.work-info-tabs.scrollable-tabs>button{white-space:nowrap;flex:none;padding:16px}.notices-page .notices-list .work-info-tabs{border-bottom:1px solid #4e4e4e;justify-content:flex-start;gap:24px;margin:0;padding:0 16px;display:flex}.notices-page .work-info-tabs>button{color:#ccc;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;padding:12px 0;font-size:16px;font-weight:400;line-height:1.5}.notices-page .work-info-tabs>button[aria-selected=true]{color:#fff;border-bottom-color:#0000;font-weight:700;position:relative}.notices-page .work-info-tabs>button[aria-selected=true]:after{content:"";pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='2' viewBox='0 0 1 2' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0h1v2H0z'/%3E%3C/svg%3E");background-size:100% 100%;height:2px;position:absolute;inset:auto 0 -2px}@media (forced-colors:active){.notices-page .work-info-tabs>button[aria-selected=true]{border-bottom-color:currentColor}.notices-page .work-info-tabs>button[aria-selected=true]:after{display:none}}.notices-page .notice-row{color:#fff;text-align:left;background:0 0;border:0;border-bottom:1px solid #4e4e4e;border-radius:0;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;gap:12px;width:100%;padding:12px 16px;font-size:14px;font-weight:400;line-height:1.5;display:grid}.notices-page .notice-row:hover{background:#1c1c1c}.notices-page .notice-row:focus-visible{outline-offset:-2px;outline:2px solid #fff}.notice-row .notice-category,.notice-row time{color:#ccc;white-space:nowrap}.notice-row .notice-category{place-items:center;display:grid}.notice-row .notice-category:before{content:"패치노트";visibility:hidden;grid-area:1/1}.notice-row .notice-category>span{grid-area:1/1}.notice-row time{text-align:right}.notice-row .notice-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.notices-page .notice-detail h2{color:#fff;overflow-wrap:anywhere;border:1px solid #333;margin:0;padding:16px;font-size:20px;font-weight:700;line-height:1.5}.notice-meta{color:#ccc;border-bottom:1px solid #333;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;font-size:12px;font-weight:400;line-height:1.5;display:flex}.notice-meta time{white-space:nowrap}.notice-body{color:#fff;overflow-wrap:anywhere;padding:16px 16px 0;font-size:14px;font-weight:400;line-height:1.7}.notice-body .markdown{font-size:inherit;color:inherit}.notice-body .markdown>:first-child{margin-top:0}.notices-page .notices-empty{color:#ccc;padding:16px;font-size:14px}.notices-list .notices-empty{font-size:16px}@media (width<=480px){.notices-page .notice-row{gap:8px}}.character-identity{grid-template-columns:clamp(110px,28%,180px) minmax(0,1fr);gap:24px;margin:28px 0;display:grid}.character-identity .field{margin:0}.character-portrait{flex-direction:column;gap:8px;min-width:0;display:flex}.character-portrait .image-upload>button:first-child{aspect-ratio:1;width:100%;height:auto}.character-identity-fields{flex-direction:column;justify-content:center;gap:20px;min-width:0;display:flex}.character-identity-fields .radio-options{gap:8px 12px}.character-prompt .field{margin-bottom:0}.editor-shell .editor-form>.character-lore-title{margin:0 0 16px}@media (width<=800px){.character-identity{gap:16px}.character-identity-fields .radio-options label{gap:4px;font-size:12px}}.status-level{flex-direction:column;gap:16px;margin-bottom:16px;display:flex}.status-level>.form-row>.field{margin:0}.status-level>.text-control{display:block}.status-level>.button{align-self:flex-end}.chat-shortcuts-control{position:relative}.chat-shortcuts-groups{flex:1;min-height:0;padding:16px 20px;overflow-y:auto}.chat-shortcuts-groups section+section{margin-top:16px}.chat-shortcuts-groups h3{margin:0 0 8px;font-size:14px;font-weight:600}.chat-shortcuts-menu button{text-align:left;overflow-wrap:anywhere;background:0 0;border-radius:0;flex-direction:column;justify-content:center;align-items:flex-start;width:100%;height:auto;min-height:36px;padding:8px 16px;font-size:14px;display:flex}.chat-shortcuts-menu button:hover,.chat-shortcuts-menu button:focus-visible{background:#222}.chat-shortcuts-menu small{color:#838383;margin-top:4px;font-size:12px}.chat-shortcuts-menu .shortcut-add-link{color:var(--pneuma-emerald);border-top:1px solid #4e4e4e;flex-shrink:0;align-items:flex-end;padding:12px 20px}.shortcut-modal{width:620px}.shortcut-name-input{background:#2b2b2b;border-radius:4px;align-items:center;gap:8px;padding-left:16px;display:flex}.shortcut-name-input input{flex:1;min-width:0}.shortcut-modal .inline-actions{justify-content:flex-end}.media-editor{flex-direction:column;gap:16px;display:flex}.media-editor>h2{margin:0 0 4px;font-size:20px}.media-editor .media-card{flex-direction:column;gap:16px;margin:0;padding:24px;display:flex}.media-editor .media-card h3{color:#fff;margin:0;font-size:16px}.media-editor .media-card>.field{margin:0}.media-editor .media-card .keyword-pills{flex-wrap:wrap;gap:16px;display:flex}.media-editor .keyword-pills .button,.media-editor .code-pill{color:#ccc;background:0 0;border:1px solid #838383;border-radius:999px;min-height:40px;padding:8px 16px;font-size:14px}.media-editor .code-pills{flex-wrap:wrap;gap:16px;display:flex}.media-editor .code-pill{align-items:center;gap:4px;display:inline-flex}.media-editor.media-editor .media-card .code-pill.code-pill input{color:#ccc;appearance:textfield;background:0 0;border:0;border-radius:0;min-width:1ch;min-height:20px;padding:0;font-size:14px;text-decoration:underline}.media-editor .code-pill input::-webkit-inner-spin-button{appearance:none}.media-editor .code-value{text-decoration:underline}.media-editor .code-label{color:#ccc;font-size:14px}.media-editor .code-range{flex-direction:column;gap:8px;display:flex}.media-editor .situation-code-fields{flex-direction:column;gap:20px;display:flex}.media-editor .situation-code-fields>.field{margin:0}.media-editor .media-card textarea{min-height:280px}.media-editor .template-input{background:#000;border-radius:4px;position:relative;overflow:hidden}.media-editor.media-editor .media-card .template-input.template-input input{color:#0000;caret-color:#fff;background:0 0;min-height:52px;font-size:14px;position:relative}.template-colors{pointer-events:none;padding:16px;font-size:14px;line-height:20px;position:absolute;inset:0;overflow:hidden}.template-colors>span{white-space:pre;display:block}.template-code{color:#d9c27a}.media-editor>.media-register{color:#222;opacity:1;background:#fff;border:1px solid #fff;border-radius:4px;min-height:52px;margin:0}.media-editor>.media-register:not(:disabled):hover{color:#222;background:#fff}.media-editor>.media-register:disabled{color:#838383;opacity:1;background:#2b2b2b;border-color:#4e4e4e}.media-editor>hr{width:100%;margin:16px 0}.media-editor>h3{margin:0;font-size:20px}.media-editor>p{margin:0}.media-preview-header{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.media-preview-header h4{margin:0;font-size:16px}.media-preview-header h4:focus{outline:none}.media-preview-header h4,.media-preview [data-character-code]{scroll-margin-top:72px}.media-preview .media-grid{margin-top:16px}.media-preview .media-grid>button{text-align:left;flex-direction:column;gap:8px;min-width:0;padding:0;display:flex}.media-preview .media-grid>figure{min-width:0;margin:0}.media-preview .media-situation-grid img{aspect-ratio:auto 3/4;max-height:480px}@media (width<=800px){.media-editor .media-card{padding:20px}.media-preview .media-situation-grid{grid-template-columns:minmax(0,1fr)}.media-preview-header h4,.media-preview [data-character-code]{scroll-margin-top:16px}}.graph-toolbar{z-index:1;color:#ccc;align-items:center;gap:4px;font-size:12px;display:flex;position:absolute;top:12px;left:12px;right:12px}.graph-toolbar .icon-button{color:#ccc;background:#0009}.graph-toolbar output{text-align:center;min-width:40px}.scenario-canvas.scenario-canvas{-webkit-user-select:none;user-select:none;height:min(650px,75dvh);min-height:320px;position:relative;overflow:hidden}.scenario-canvas.is-panning{cursor:grabbing}.scenario-world{transform-origin:top;will-change:transform;position:absolute;top:64px;left:50%}.scenario-canvas .scenario-tree.scenario-dag{min-width:0;display:block;position:relative}.scenario-edges{pointer-events:none;position:absolute;inset:0;overflow:visible}.scenario-edges path{fill:none;stroke:#9c9274;stroke-width:1.5px}.scenario-canvas .scenario-dag>.scenario-node{flex-direction:column;justify-content:center;align-items:center;width:184px;min-width:184px;height:112px;margin:0;padding:12px;display:flex;position:absolute}.scenario-dag .scenario-node-label{width:100%}.scenario-dag .scenario-node-label strong{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;line-height:1.5;display:-webkit-box;overflow:hidden}.scenario-dag .scenario-node .node-add{margin-top:8px}.scenario-canvas .scenario-dag>.scenario-node.is-global{border-style:dashed}.scenario-global-label{color:#a8a8a8;text-align:center;width:184px;font-size:11px;position:absolute;top:0}.scenario-parent-row{align-items:center;gap:8px;display:flex}.scenario-parent-row>:first-child{flex:1;min-width:0}.scenario-tree .scenario-node{position:relative}.scenario-tree .scenario-node>.scenario-node-open{border-radius:inherit;background:0 0;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.scenario-node-label{pointer-events:none}.scenario-tree .scenario-node:has(>.scenario-node-open:not(:disabled):hover){background-color:#383838}.scenario-node .node-add{z-index:1;position:relative}.relationship-editor{--relation-accent:var(--pneuma-emerald,#5fddce);--relation-grid:#222}.relationship-editor.is-inner{--relation-accent:var(--homura-red,#c64850);--relation-grid:#3b1e21}.relationship-editor>.section-title.relationship-heading{flex-flow:row;align-items:center;gap:16px;margin:0 0 16px}.relationship-heading h2,.relationship-heading .toggle-row{white-space:nowrap}.relationship-heading .toggle-row{flex-shrink:0}.relationship-canvas{background:#000;background-image:linear-gradient(var(--relation-grid) 1px, transparent 1px), linear-gradient(90deg, var(--relation-grid) 1px, transparent 1px);--text-focus-outline:none;background-size:24px 24px;border-radius:4px;position:relative;overflow:hidden;container:relations/inline-size}.relationship-editor .relationship-canvas .relation-edge foreignObject input.relation-label-input,.relation-label-text{width:100%;height:100%;min-height:0;color:var(--relation-label-color,#fff);text-align:center;text-overflow:ellipsis;white-space:nowrap;background:#33333380;border:1px solid #0000;border-radius:4px;padding:4px 6px;font-size:12px;line-height:22px;display:block;overflow:hidden}.relation-edge.is-outgoing{--relation-label-color:var(--hikari-yellow)}.relation-edge.is-incoming{--relation-label-color:var(--relation-accent)}.relation-node-label{color:#ccc;text-align:center;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;width:100%;height:100%;padding:0;font-size:12px;font-weight:700;line-height:18px;display:block;overflow:hidden}.relationship-editor .relationship-canvas .relation-edge foreignObject input.relation-label-input:focus{border-color:#0000;outline:none}.relation-edge:focus,.relation-edge:focus-visible,.relation-node:focus,.relation-node:focus-visible{outline:none}.relation-edge-hit,.relation-edge[role=button] .relation-edge-line{cursor:pointer}.relationship-editor .relationship-canvas .relation-edge.is-selected foreignObject input.relation-label-input{border-color:#0000}.relation-palette .avatar-choices img,.relation-palette .avatar-choices .palette-person{border:1px solid #838383}.relation-palette .avatar-choices [aria-pressed=true] img,.relation-palette .avatar-choices [aria-pressed=true] .palette-person{border-color:var(--relation-accent)}.relationship-canvas>svg{cursor:grab;touch-action:none;width:100%;min-height:400px;max-height:760px;display:block}.relation-node{cursor:grab}.relation-view-actions{z-index:1;flex-shrink:0;align-items:center;gap:8px;display:flex;position:absolute;top:12px;right:12px}.relation-show-all,.relation-layer{color:#ccc;white-space:nowrap;background:#0009;border-radius:4px;justify-content:center;align-items:center;gap:6px;height:32px;padding:4px 6px;font-size:12px;line-height:18px;display:inline-flex}.relation-view-actions button>svg{flex-shrink:0;width:16px;height:16px}.relation-show-all[aria-pressed=true]{color:var(--hikari-yellow);font-weight:700}.relationship-canvas .graph-toolbar{flex-wrap:wrap;row-gap:8px;right:auto}.relation-view-actions:has(.relation-layer){gap:4px}@container relations (width<=420px){.relationship-canvas:has(.relation-layer)>.graph-toolbar{top:52px}.relationship-canvas:has(.relation-layer)>svg{padding-top:96px}}.graph-hint{color:#838383;text-align:center;margin:8px 0 24px;font-size:10px}.chat-workspace-panel .relationship-canvas--preview{min-height:650px}.chat-workspace-panel .relationship-canvas--preview>svg{width:560px;max-width:none;height:720px}.chat-workspace-panel .relationship-canvas--preview .graph-toolbar .icon-button:nth-child(n+2){display:none}.graph-modal{width:min(700px,95vw);max-width:none}.design-ui .relation-palette{background:#2b2b2b;border:1px solid #4e4e4e;border-radius:4px;margin-top:24px;padding:20px}.design-ui .relation-palette h3{font-size:14px}.design-ui .relation-palette small{color:#838383;margin-top:12px;display:block}.design-ui .relation-palette img,.design-ui .palette-person{object-fit:cover;border-radius:50%;place-items:center;width:60px;height:60px;display:grid}.design-select{width:100%;min-width:0}.design-select .design-select-trigger{color:#fff;text-align:left;outline-offset:0;background:#2b2b2b;border:1px solid #0000;border-radius:4px;outline:none;align-items:center;gap:12px;width:100%;min-height:52px;padding:12px 16px;display:flex}.design-select .design-select-trigger:not(:disabled):hover{color:#fff;background:#2b2b2b}.design-select .design-select-trigger[aria-expanded=true],.design-select .design-select-trigger:focus-visible{border-color:#fff}.design-select-trigger>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.design-select-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}.design-select-list{color:#ccc;overscroll-behavior:contain;max-height:240px;font:inherit;background:#000;border:1px solid #4e4e4e;border-radius:4px;margin:0;padding:8px;position:fixed;inset:auto;overflow-y:auto;box-shadow:0 8px 24px #0005}.design-select-list>[role=option]{cursor:pointer;border-radius:4px;justify-content:space-between;align-items:center;gap:12px;min-height:40px;padding:8px 12px;display:flex}.design-select-list>.is-active{color:#fff;background:#2b2b2b}.design-select-list>[aria-selected=true]>svg{color:var(--pneuma-emerald,#5fddce)}.design-ui .condition-row{gap:8px}.condition-row>.design-select{flex:1;min-width:128px}.condition-row .design-select-trigger{min-height:40px;padding:8px 16px;font-size:11px}.prompt-reset.prompt-reset{color:#838383;font-size:var(--body-5-size);line-height:var(--body-5-line-height);align-self:flex-end;align-items:center;gap:4px;padding:0;display:inline-flex}.basic-info .field-header>.toggle-row{padding:0}.basic-info .field-header .toggle-label:empty{display:none}.game-panel{--game-accent:var(--pneuma-emerald,#5fddce);--game-red:var(--homura-red,#c64850);isolation:isolate;color:#eef6f5;overflow-wrap:anywhere;background:linear-gradient(120deg,#20303380,#0000 60%),#191f23;border:1px solid #40585b;border-radius:5px;min-width:0;margin:16px 0;padding:20px;position:relative;box-shadow:inset 0 1px #ffffff08,0 6px 20px #00000018}.game-panel:before,.game-panel:after{content:"";pointer-events:none;border-color:var(--game-accent);border-style:solid;width:32px;height:10px;position:absolute}.game-panel:before{border-width:2px 0 0 2px;border-top-left-radius:5px;top:-1px;left:-1px}.game-panel:after{border-width:0 2px 2px 0;border-bottom-right-radius:5px;bottom:-1px;right:-1px}.game-panel>h3{letter-spacing:.02em;color:#f5fbfa;border-bottom:1px solid #54767555;align-items:center;gap:12px;margin:0 0 20px;padding-bottom:14px;font-size:16px;line-height:24px;display:flex}.game-panel>h3:before{content:"";background:var(--game-accent);clip-path:polygon(50% 0,100% 32%,65% 100%,0 68%);flex:none;width:10px;height:16px}.game-panel>h3:after{content:"";background:repeating-linear-gradient(120deg, transparent 0 4px, var(--game-red) 4px 7px);flex:none;width:24px;height:8px;margin-left:auto}.game-block+.game-block{margin-top:16px}.game-block>h4{color:var(--game-accent);margin:0 0 8px;font-size:14px;line-height:22px}.game-block>p{white-space:pre-wrap;color:#c3d1d3;margin:0 0 16px;font-size:14px}.game-buttons{gap:8px;display:grid}.game-buttons--1{grid-template-columns:minmax(0,1fr)}.game-buttons--2{grid-template-columns:repeat(2,minmax(0,1fr))}.game-buttons--3{grid-template-columns:repeat(3,minmax(0,1fr))}.game-panel .game-buttons>.button{white-space:normal;overflow-wrap:anywhere;color:#e0ebed;background:linear-gradient(110deg,#33444c60,#26313950);border:1px solid #52676d;border-radius:3px;min-width:0;min-height:44px;padding:10px 14px;font-size:14px;font-weight:550;line-height:22px;transition:background-color .12s,border-color .12s,color .12s}.game-panel .game-buttons>.button:not(:disabled):hover{border-color:var(--game-accent);color:#fff;background:#2a4449}.game-panel .game-buttons>.button[aria-pressed=true],.game-panel .game-buttons>.button[aria-pressed=true]:not(:disabled):hover{color:#112e31;border-color:var(--game-accent);background:linear-gradient(110deg,#5fddce,#9aeee2);font-weight:700;box-shadow:0 0 14px #5fddce18}.game-panel .game-buttons>.button:disabled{opacity:1;color:#86989e;box-shadow:none;background:#20282d;border-color:#35454a}.game-panel>[role=alert]{color:#ffb7ba;margin:16px 0 0}@media (prefers-reduced-motion:reduce){.game-panel .game-buttons>.button{transition:none}}.game-block-editor{margin-top:16px}.game-block-editor .game-button-editor{grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;display:grid}.game-button-editor>.field{margin:0}.game-button-editor>.icon-button{margin-bottom:12px}@media (width<=600px){.game-panel{padding:16px}.game-block-editor .game-button-editor{grid-template-columns:minmax(0,1fr) auto}.game-button-editor>.field:first-child{grid-column:1/-1}}.event-editor .edit-card-section-body>p,.event-editor .button.add-button,.event-editor .condition-row.condition-row,.event-editor .edit-card-section>h3{margin:0}.event-editor .event-step{border:1px solid var(--main-03);margin:0}.events-form .creator-card{border:1px solid var(--main-03);border-radius:5px}.events-form .event-settings-card>.disclosure-body,.events-form .event-settings-card .enhancement-editor{gap:0}.events-form .event-settings-card>.disclosure-body>:nth-child(n+2),.events-form .event-settings-card .enhancement-editor>:nth-child(n+2){border-top:1px solid var(--main-04);margin-top:12px;padding-top:12px}.events-form .event-settings-card>.disclosure-body>.disclosure-card{padding-inline:0;border-radius:0;padding-bottom:0}.events-form .event-field-group{gap:var(--edit-card-content-gap);flex-direction:column;min-width:0;display:flex}.events-form .event-field-group>h4,.events-form .event-field-group>.status-level{margin:0}.events-form .event-settings-card .game-block-editor>h3{margin:0 0 16px}.event-editor-tools,.event-step-order{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.event-step-order{gap:4px}.event-editor-tools{margin-block:16px}.event-test-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;display:grid}.event-test-result{white-space:pre-wrap;margin:16px 0 0}.event-resource-options{scroll-margin-top:calc(var(--editor-header-height,56px) + 16px);grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:24px;display:grid}.event-resource-options .selection-pill-label{justify-content:center;align-items:center;gap:6px;width:100%;padding-inline:10px;display:flex}.event-resource-options .muted{font-size:12px;font-weight:400}.event-resource-editor{min-width:0;margin:0}.event-tab-panel[hidden]{display:none}.event-return{margin-bottom:16px}.display-rule-paused{color:var(--muted);white-space:nowrap;border:1px solid var(--main-03);border-radius:4px;padding:2px 6px;font-size:11px}.event-add-content{align-items:flex-end;gap:12px;margin-block:0;display:flex}.event-editor>.disclosure-body>.event-editor-tools{margin-block:0}.event-add-content>.field{flex:1;min-width:0;margin:0}.event-add-content>.button{flex-shrink:0}.event-editor-wrap{overflow-anchor:none;min-width:0}.event-editor [data-event-edit],.event-resource-editor{scroll-margin-top:calc(var(--editor-header-height,56px) + 24px)}.event-editor [data-event-edit]:focus-visible,.event-resource-editor:focus-visible{outline:1px solid var(--pneuma-emerald);outline-offset:4px}@media (width<=600px){.event-resource-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.event-add-content{flex-direction:column;align-items:stretch}.event-test-inputs{grid-template-columns:minmax(0,1fr)}.event-editor .condition-row{grid-template-columns:minmax(0,1fr) auto;display:grid}.event-editor .condition-row>:not(:last-child){grid-column:1}.event-editor .condition-row>:last-child{grid-area:1/2/span 4;align-self:center}.event-editor-tools>.button{flex:130px}}@media (width<=799px){.event-editor [data-event-edit],.event-resource-editor{scroll-margin-top:24px}}dialog.effect-player{color:#fff;background:0 0;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.effect-player::backdrop{background:#0000002e}.effect-toolbar{z-index:2;top:max(16px, env(safe-area-inset-top));pointer-events:none;justify-content:space-between;align-items:center;gap:16px;display:flex;position:absolute;left:16px;right:16px}.effect-toolbar>span{text-overflow:ellipsis;white-space:nowrap;background:#000c;border-radius:4px;max-width:calc(100% - 64px);padding:8px 12px;overflow:hidden}.effect-toolbar>button{pointer-events:auto;color:#fff;background:#222;border:1px solid #838383;border-radius:50%;flex-shrink:0;width:48px;height:48px}.effect-frame{background:0 0;border:0;width:100%;height:100%;display:block}.effect-markdown{background:#000;height:100%;padding:88px 24px 120px;overflow:auto}.effect-feedback{z-index:2;bottom:max(16px, env(safe-area-inset-bottom));color:#fff;background:#222;border:1px solid #838383;border-radius:4px;max-height:25dvh;padding:12px 16px;position:absolute;left:16px;right:16px;overflow:auto}#root[data-effect-screen=shake]{animation:.12s linear infinite xenotale-screen-shake}#root[data-effect-screen=glitch]{animation:.2s steps(2,end) infinite xenotale-screen-glitch}@keyframes xenotale-screen-shake{0%,to{transform:translate(0)}25%{transform:translate(3px,-2px)}75%{transform:translate(-3px,2px)}}@keyframes xenotale-screen-glitch{0%,to{filter:none;transform:none}30%{filter:contrast(1.4)hue-rotate(18deg);transform:translate(3px)}70%{filter:contrast(.8);transform:translate(-3px)}}@media (prefers-reduced-motion:reduce){#root[data-effect-screen]{animation:none}}.icon-rail{scrollbar-width:none;border-right:1px solid #4e4e4e;flex-shrink:0;width:74px;overflow:auto}.icon-rail>button{width:73px;height:var(--rail-item-height);color:#ccc;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:10px 0;display:flex}.icon-rail .rail-label{font-size:var(--rail-label-size);color:inherit;white-space:nowrap}.icon-rail .rail-icon{border-radius:4px;place-items:center;width:30px;height:30px;display:grid}.icon-rail .rail-icon img,.icon-rail .rail-icon svg{width:var(--rail-icon-size);height:var(--rail-icon-size);object-fit:contain}.icon-rail>button.active .rail-icon{color:#222;background:#fff}.icon-rail>button.active img{filter:invert()}.icon-rail>button.active{color:#fff}.resizable-panel-layout{position:relative}.panel-resize-handle{z-index:20;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;outline:none;width:8px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.panel-resize-handle--right{transform:translate(50%)}.panel-resize-handle:after{content:"";background:#4e4e4e;position:absolute;inset:0 3px}.panel-resize-handle:hover:after,.panel-resize-handle:focus-visible:after,.panel-resize-handle.is-dragging:after{background:var(--pneuma-emerald)}.resizable-panel-layout:has(.panel-resize-handle.is-dragging){cursor:col-resize;-webkit-user-select:none;user-select:none}@media (width<=800px){.panel-resize-handle{display:none}}.design-ui textarea.message-input,textarea.message-input.message-input{box-sizing:border-box;field-sizing:fixed;resize:none;flex:none;min-height:0;max-height:none;line-height:22px}.chat-shell .resizable-composer[data-manual=true] textarea.message-input{flex:1;min-height:44px;height:auto!important;overflow-y:auto!important}.send-button.send-button{color:#fff;background:var(--pneuma-emerald);opacity:1;border:0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;padding:2px;display:flex}.send-button.send-button:not(:disabled):hover{color:#fff;background:var(--pneuma-emerald)}.send-button.send-button:disabled,.send-button.send-button[data-state=stop],.send-button.send-button[data-state=stop]:hover{color:#fff;background:#4e4e4e}.creator-test>.button.test-opening-change{background:#2b2b2b;flex-shrink:0;grid-template-columns:20px minmax(0,1fr) 20px;gap:8px;width:100%;min-height:44px;margin-bottom:12px;padding:12px 16px;font-size:14px;font-weight:700;display:grid}.test-opening-change>span{grid-column:2}.test-opening-change>svg{grid-column:3}.test-opening-options{flex-direction:column;gap:12px;display:flex}.test-opening-options>.button{overflow-wrap:anywhere;width:100%}.test-opening-options>.button[aria-pressed=true]{color:#222;background:#fff;font-weight:700}.support-proposal{border:1px solid #4e4e4e;border-radius:4px;padding:16px}.support-proposal h4{margin:0 0 16px}.support-proposal details{border-bottom:1px solid #4e4e4e;padding:12px 0}.support-proposal summary{cursor:pointer;color:#fff}.proposal-field,.proposal-item{border:1px solid #0000;border-radius:4px;margin-top:12px;padding:8px}.proposal-invalid{border-color:var(--homura-red)}.support-proposal details.proposal-section-invalid{border:1px solid var(--homura-red);border-radius:4px;padding:12px 8px}.proposal-errors,.proposal-warning-label{color:var(--homura-red);font-size:12px}.proposal-errors{overflow-wrap:anywhere;margin:8px 0;padding-left:20px}.proposal-warning-label{font-weight:400}.support-proposal pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#000;max-height:360px;padding:12px;font-size:12px;line-height:1.7;overflow:auto}.support-proposal .button{margin-top:8px}.support-composer .model-trigger{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.support-composer{position:relative}.support-composer>.support-attachments{margin:0 0 12px}.support-attachments{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.support-attachment{border:1px solid var(--main-03);background:#1c1c1c;border-radius:5px;align-items:center;gap:8px;min-width:0;max-width:100%;padding:8px;display:flex}.support-attachment>img{object-fit:cover;border-radius:3px;width:36px;height:36px}.support-attachment>svg,.support-attachment>.icon-button{flex-shrink:0}.support-attachment>span{flex-direction:column;min-width:0;display:flex}.support-attachment strong{text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:12px;font-weight:400;overflow:hidden}.support-attachment small{font-size:10px}.support-user>p{white-space:pre-wrap;margin:0}.support-user>.support-attachments{margin-top:8px}.support-composer-dragging{box-shadow:inset 0 0 0 2px var(--pneuma-emerald)}.support-composer>.support-drop-hint{pointer-events:none;color:#fff;background:#152f2de8;border-radius:4px;justify-content:center;align-items:center;margin:0;font-size:14px;display:flex;position:absolute;inset:0}.support-file-hint{color:var(--muted);margin:8px 0 0;font-size:12px}.support-menu-note{color:var(--muted);font-size:11px;line-height:18px;display:block}.chat-shell .resizable-composer{flex-direction:column;min-height:144px;display:flex}.chat-shell .resizable-composer textarea{field-sizing:fixed;flex:none;min-height:44px;max-height:none}.chat-shell .resizable-composer .composer-controls{flex-shrink:0}.composer-resize-handle{cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;height:16px;min-height:16px;margin:-8px 0 8px;display:flex}.composer-resize-handle span{background:#838383;border-radius:4px;width:48px;height:4px}.composer-resize-handle:focus-visible{outline:2px solid var(--pneuma-emerald);border-radius:4px}.chat-footer:has(.resizable-composer[data-expanded=true]) :is(.suggestions,.status-strip,.opening-actions){display:none}.chat-shell .chat-footer:has(.resizable-composer[data-expanded=true]){max-height:none;overflow:visible}.work-lore .keyword-label{color:#fff}.story-intro{text-align:center;margin:0;padding:24px 0 32px}.story-intro h2{color:#fff;letter-spacing:-.5px;word-break:keep-all;overflow-wrap:anywhere;text-wrap:balance;margin:0;font-size:24px;font-weight:700;line-height:1.5}.work-info-prompt{background:var(--surface-deep);color:#fff;width:100%;font-size:var(--body-4-size);line-height:var(--body-4-line-height);letter-spacing:normal;text-align:left;border-radius:5px;justify-content:flex-start;align-items:center;gap:12px;margin-bottom:16px;padding:8px 12px;font-weight:400;display:flex}.chat-shell .chat-header{flex-shrink:0;transition:height .18s,transform .18s,opacity .18s}.chat-shell .chat-header.is-scroll-hidden{opacity:0;pointer-events:none;height:0;min-height:0;overflow:hidden;transform:translateY(-100%)}@media (prefers-reduced-motion:reduce){.chat-shell .chat-header{transition:none}}.modal.common-modal.bottom-sheet{border-radius:16px 16px 0 0;width:100%;max-width:none;max-height:calc(100dvh - 16px);margin:0;padding:0;position:fixed;inset:auto 0 0;overflow:hidden}.modal.common-modal.bottom-sheet[open]{flex-direction:column;display:flex}.modal.common-modal.bottom-sheet::backdrop{background:rgb(0 0 0/var(--sheet-backdrop-opacity,.53));-webkit-backdrop-filter:none;backdrop-filter:none}.sheet-drag-handle{cursor:ns-resize;touch-action:none;background:#222;border:0;flex:0 0 28px;place-items:center;width:100%;height:28px;display:grid}.sheet-drag-handle span{background:#838383;border-radius:4px;width:44px;height:4px}.modal.common-modal.bottom-sheet .modal-header{flex-shrink:0;display:grid}.modal.common-modal.bottom-sheet .modal-body{overscroll-behavior:contain;min-height:0;padding-bottom:calc(24px + env(safe-area-inset-bottom));flex:1;overflow-y:auto}.drawer-layer{z-index:80;position:fixed;inset:0}.drawer-scrim{background:#0008;border:0;width:100%;position:absolute;inset:0}.side-drawer{color:#fff;background:#2b2b2b;border-left:1px solid #4e4e4e;flex-direction:column;width:min(360px,88vw);animation:.2s ease-out drawer-enter;display:flex;position:absolute;top:0;bottom:0;right:0}.side-drawer>header,.mobile-chat-page>header{background:#222;border-bottom:1px solid #4e4e4e;flex-shrink:0;align-items:center;gap:12px;padding:16px;display:flex}.side-drawer h2{flex:1;margin:0;font-size:16px}.side-drawer>header{min-height:72px}.drawer-body{overscroll-behavior:contain;flex-direction:column;flex:1;gap:16px;min-height:0;padding:16px;display:flex;overflow-y:auto}.side-drawer .conversation-log{overscroll-behavior:contain;flex:1;min-height:0;overflow-y:auto}.side-drawer .drawer-body{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.side-drawer .drawer-body>.button{flex-shrink:0}.side-drawer .chat-usage{padding:0}.mobile-chat-page{z-index:60;background:#2b2b2b;flex-direction:column;display:flex;position:fixed;inset:0}.mobile-chat-page h1{margin:0;font-size:18px}.mobile-page-body{min-height:0;padding:16px 16px calc(24px + env(safe-area-inset-bottom));flex:1;overflow-y:auto}.chat-main.is-page-covered{display:none}@keyframes drawer-enter{0%{transform:translate(100%)}to{transform:translate(0)}}@media (prefers-reduced-motion:reduce){.side-drawer{animation:none}}.status-panels>summary{align-items:flex-start;height:auto;min-height:24px}.status-panels>summary .status-panel-name{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;line-height:24px;overflow:visible}.status-panels>.status-content{flex-direction:column;gap:16px;display:flex}.status-panel-section{min-width:0}.status-panel-section>.status-preview,.status-panel-section>.game-panel{margin:0}.chat-shell .chat-scroll.visual-novel-scroll{min-height:180px;padding:0;display:flex;overflow:hidden}.visual-novel{background:#1c1c1c;border-radius:4px;flex:1;width:100%;min-height:0;margin:0 32px;position:relative;overflow:hidden}.visual-novel-image{max-width:none;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.visual-novel-image.is-portrait{width:auto;height:100%}.visual-novel-image.is-landscape{width:100%;height:auto}.visual-novel-dialogue{position:absolute;bottom:80px;left:16px;right:16px}.visual-novel-textbox{background:var(--vn-box,#1c1c1cb3);color:var(--vn-text,#fff);cursor:pointer;border:1px solid #838383;border-radius:4px;min-height:148px;padding:24px 16px 48px;position:relative}.visual-novel-copy{font-size:var(--vn-font-size,14px);line-height:var(--vn-line-height,28px);letter-spacing:var(--vn-letter-spacing,0px);max-height:180px;overflow:auto}.visual-novel-copy .markdown p{margin:0}.visual-novel-copy .markdown em{color:#fff;font-style:normal}.visual-novel-name{white-space:nowrap;text-overflow:ellipsis;background:#1c1c1c;background:rgb(from var(--vn-box,#1c1c1c) r g b / 1);color:#fff;z-index:1;border:1px solid #838383;border-radius:999px;max-width:calc(100% - 144px);padding:7px 20px;font-size:14px;font-weight:700;line-height:18px;position:absolute;top:0;left:16px;overflow:hidden;transform:translateY(-50%)}.visual-novel-name.is-player{color:var(--hikari-yellow)}.visual-novel-switches{gap:8px;display:flex;position:absolute;bottom:calc(100% + 8px);right:0}.chat-shell .visual-novel-switches .icon-button{color:#ccc;background:#1c1c1c80;border-radius:50%;width:32px;height:32px;padding:7px}.visual-novel-controls{color:#ccc;justify-content:space-between;align-items:center;min-height:28px;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.visual-novel-controls .icon-button,.visual-novel-controls .candidate-pager button{color:#ccc}.visual-novel-controls .candidate-pager img{filter:brightness(0)invert(.8)}.visual-novel-turn-actions{align-items:center;gap:4px;display:flex}.visual-novel-waiting{color:#ccc;font-size:12px}.visual-novel-choices{gap:16px;display:grid;position:absolute;top:45%;left:16px;right:16px;transform:translateY(-50%)}.visual-novel-choices button{color:#fff;text-align:center;background:#1c1c1cb3;border-radius:4px;padding:12px 16px;font-size:14px;transition:opacity .15s}.visual-novel-choices button:hover{opacity:.9}.visual-novel-status-overlay{z-index:1001;background:#000000bf;border:0;justify-content:center;align-items:center;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:48px 24px;display:flex;position:fixed;inset:0;overflow:auto}.visual-novel-status-overlay::backdrop{background:0 0}.visual-novel-status-overlay>.icon-button{color:#ccc;position:absolute;top:12px;right:12px}.visual-novel-status-content{width:min(100%,640px)}.chat-shell.is-visual-novel .chat-footer{padding-top:12px}.chat-shell.is-visual-novel .chat-footer .chat-column{padding-left:32px;padding-right:32px}.chat-shell.is-visual-novel .opening-actions,.chat-shell.is-visual-novel .chat-footer .suggestions{display:none}.novel-mode-switch{z-index:2;color:#ccc;transition:transform .2s;position:absolute;top:72px;right:32px}.chat-shell .chat-main{position:relative}.chat-shell.is-visual-novel .chat-header{z-index:3;pointer-events:none;background:0 0;border:0;width:auto;height:0;min-height:0;padding:0;position:absolute;top:0;left:0;right:0}.chat-shell.is-visual-novel .chat-header>.chat-room-name{display:none}.chat-shell.is-visual-novel .chat-header>.icon-button{color:#ccc;pointer-events:auto;background:#1c1c1c80;border-radius:50%;width:32px;height:32px;padding:7px;position:absolute;top:16px;left:48px}.chat-shell.is-visual-novel .chat-header>audio+.icon-button{left:auto;right:48px}.chat-shell.vn-ui-hidden .chat-header,.chat-shell.vn-ui-hidden .visual-novel-dialogue,.chat-shell.vn-ui-hidden .visual-novel-choices,.chat-shell.vn-ui-hidden .chapter-unlock{visibility:hidden}.chat-shell.vn-ui-hidden .chat-footer,.chat-shell.vn-ui-hidden .chapter-unlock{display:none}.chat-shell.vn-ui-hidden .visual-novel{cursor:pointer}.chat-scroll.novel-scroll{position:relative}.novel-mode-switch-position.is-scroll-hidden .novel-mode-switch{transform:translateY(-64px)}@media (width<=800px){.visual-novel-name{left:12px}.chat-shell.is-visual-novel .chat-header>.icon-button{left:28px}.chat-shell.is-visual-novel .chat-header>audio+.icon-button{left:auto;right:28px}.visual-novel{margin:0 16px}.chat-shell.is-visual-novel .chat-footer .chat-column{padding-left:16px;padding-right:16px}.visual-novel-dialogue{bottom:80px;left:12px;right:12px}.visual-novel-textbox{min-height:144px;padding:24px 12px 44px}.visual-novel-choices{gap:12px;top:30%;left:12px;right:12px}.visual-novel-copy{max-height:132px}.novel-mode-switch{top:64px;right:20px}.novel-mode-switch-position.is-scroll-hidden .novel-mode-switch{transform:translateY(-56px)}}@media (height<=650px){.visual-novel-textbox{min-height:108px}.visual-novel-copy{max-height:80px}}.note-transfer-actions{gap:8px;margin-top:16px;display:flex}.note-transfer-actions>.button.button{color:var(--gold);border-color:var(--gold);flex:1;padding:8px 12px}.note-import-options{border:0;flex-direction:column;gap:16px;min-width:0;max-height:50dvh;margin:0;padding:0;display:flex;overflow:auto}.note-import-group{flex-direction:column;gap:16px;display:flex}.note-import-option{font-size:var(--body-5-size);line-height:var(--body-5-line-height);cursor:pointer;align-items:center;gap:8px;min-width:0;padding:0;display:flex}.note-import-option input{flex:none;width:16px;height:16px;margin:0}.note-import-option>span,.note-import-option>strong{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.note-import-option small{color:#aaa;white-space:nowrap}.room-memory{min-width:0}.room-memory .work-info-tabs{margin:0 0 16px}.room-memory .memory-countdown{margin:0 auto 16px}.room-memory .memory-countdown--long em{color:var(--homura-red)}.room-memory .memory-summarize{font-size:var(--body-4-size);min-height:40px;margin-top:0}.memory-list{flex-direction:column;gap:16px;margin-top:16px;display:flex}.memory-inactive{color:#838383;font-size:var(--body-5-size);white-space:nowrap;font-weight:400}.memory-settings{flex-direction:column;gap:16px;display:flex}.memory-settings>.field.field{gap:8px;margin:0}.memory-settings>.field>.field-label{font-size:var(--body-5-size)}.memory-model{text-align:left;width:100%;font-size:var(--body-4-size);border:1px solid #4e4e4e;border-radius:4px;justify-content:space-between;align-items:center;gap:8px;padding:16px;display:flex}.memory-model>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.memory-settings>hr{width:100%;margin:0}.room-memory .memory-settings>.setting-card{margin:0;padding:16px}.memory-settings>.setting-card>h4{font-size:var(--body-4-size);line-height:var(--body-4-line-height);margin:0 0 16px}.memory-auto .toggle-row{justify-content:space-between;padding:0}.memory-settings .stepper{gap:8px;margin:0}.memory-settings .stepper>span{display:none}.memory-settings .stepper output{font-size:var(--body-4-size)}.memory-settings .stepper button{width:32px}.memory-prompt-reset{color:#838383;font-size:var(--body-5-size);align-self:flex-end;align-items:center;gap:4px;padding:0;display:inline-flex}.anchored-popover{z-index:1000;color:#ccc;background:#000;border:1px solid #4e4e4e;border-radius:4px;flex-direction:column;width:360px;min-height:0;max-height:calc(100dvh - 32px);font-family:inherit;display:flex;position:fixed;box-shadow:0 8px 28px #0005}.chat-usage{min-height:0;padding:8px 24px 24px;overflow-y:auto}.chat-usage .muted{font-size:13px;line-height:1.7}.chat-usage .stat-list{margin:24px 0;font-size:14px}.account-credit{border-bottom:1px solid #4e4e4e;flex-direction:column;gap:16px;margin-bottom:24px;padding-bottom:24px;display:flex}.account-credit>:is(h3,p){margin:0}.account-credit>h3{font-size:16px}.account-credit>strong{font-size:20px}.credit-topup{color:var(--pneuma-emerald);text-underline-offset:3px;font-size:14px;text-decoration:underline}.chat-shell .suggestions{grid-template-columns:minmax(0,1fr);justify-items:start;display:grid;overflow:visible}.chat-shell .suggestions button{white-space:normal;overflow-wrap:anywhere;text-align:left;min-width:0;max-width:100%}.scroll-suggestions{opacity:0;visibility:hidden;grid-template-rows:0fr;transition:grid-template-rows .2s,opacity .2s,visibility .2s;display:grid}.scroll-suggestions[data-expanded=true]{opacity:1;visibility:visible;grid-template-rows:1fr}.scroll-suggestions-inner{min-height:0;overflow:hidden}.scroll-suggestions .suggestions{transition:transform .2s;transform:translateY(8px)}.scroll-suggestions[data-expanded=true] .suggestions{transform:translateY(0)}@media (prefers-reduced-motion:reduce){.scroll-suggestions,.scroll-suggestions .suggestions{transition:none}}.design-ui{--bg:#222;--panel:#2b2b2b;--line:#4e4e4e;--muted:#838383;color:#fff}.design-ui .button{border-color:#4e4e4e;border-radius:4px;font-weight:400}.design-ui .button.primary,.design-ui .button.primary:hover{color:#222;background:#fff;border-color:#fff}.design-ui .danger-text,.design-ui .field-label i{color:#c64850}.design-ui input:not([type=radio]):not([type=checkbox]):not([type=range]),.design-ui textarea,.design-ui select{color:#fff;background:#2b2b2b;border:0;border-radius:4px;padding:16px}.design-ui .field-label{color:#ccc;font-size:14px;font-weight:400}.design-ui .segmented{background:0 0;border:0;border-radius:0;flex-wrap:wrap;gap:12px;padding:0}.design-ui .segmented button{color:#ccc;background:#2b2b2b;border:0;border-radius:4px;min-height:48px}.design-ui .segmented button.selected{color:#222;box-shadow:none;background:#fff;font-weight:700}.design-ui .tab-pills{gap:12px}.design-ui .tab-pills>button{color:#ccc;background:#2b2b2b;border-radius:4px;min-height:48px;padding:12px 20px}.design-ui .tab-pills>button.active{color:#222;background:#fff;border-color:#fff}.design-ui .image-upload>button:first-child{background:#4e4e4e;border:0;border-radius:6px}.radio-options{flex-wrap:wrap;gap:16px;display:flex}.radio-options label{color:#ccc;cursor:pointer;align-items:center;gap:6px;font-size:13px;display:flex}.radio-options input[type=radio]{appearance:none;background:0 0;border:1px solid #ccc;border-radius:50%;width:14px;height:14px;margin:0;padding:0}.radio-options input:checked{background:radial-gradient(circle,#5fddce 0 3px,#0000 4px)}.keyword-pills{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.keyword-pills>span{border:1px solid #838383;border-radius:20px;align-items:center;gap:6px;padding:6px 10px;font-size:12px;display:flex}.keyword-pills button{place-items:center;padding:0;display:grid}.stepper{color:#ccc;margin:20px 0}.stepper>div{align-items:center;margin-top:12px;display:flex}.stepper output{color:#5fddce;flex:1}.stepper button{color:#5fddce;border:1px solid #5fddce;place-items:center;width:44px;height:24px;padding:0;display:grid}.stepper button:first-of-type{border-radius:4px 0 0 4px}.stepper button:last-child{border-left:0;border-radius:0 4px 4px 0}.authored-preview{background:#000;border:0;width:100%;min-height:300px}.design-ui .setting-card{background:#222;border:1px solid #4e4e4e;border-radius:4px;margin:16px 0;padding:16px}.setting-card h3,.setting-card h4{margin:0 0 18px;font-size:16px}.chat-shell.design-ui{background:#222;grid-template-columns:clamp(300px,25.35vw,365px) minmax(0,1fr) clamp(280px,25.28vw,364px);display:grid}.chat-shell.left-collapsed{grid-template-columns:74px minmax(0,1fr) clamp(280px,25.28vw,364px)}.chat-shell.right-collapsed{grid-template-columns:clamp(300px,25.35vw,365px) minmax(0,1fr)}.chat-shell.left-collapsed.right-collapsed{grid-template-columns:74px minmax(0,1fr)}.chat-workspace{background:#2b2b2b;flex-direction:column;min-width:0;min-height:0;display:flex}.chat-workspace-header,.chat-log-header{align-items:center;gap:10px;height:56px;min-height:56px;padding:0 16px;display:flex}.chat-workspace-header{border-bottom:1px solid #4e4e4e;justify-content:space-between}.chat-workspace-header h2,.chat-log-header h2{white-space:nowrap;margin:0;font-weight:500}.chat-workspace-header .icon-button,.chat-log-header .icon-button{color:#fff;width:24px;padding:0}.chat-workspace.is-collapsed .chat-workspace-header{justify-content:center}.chat-workspace-body{flex:1;min-height:0;display:flex}.chat-feature-rail{scrollbar-width:none;border-right:1px solid #4e4e4e;flex-shrink:0;width:74px;overflow:auto}.chat-workspace-panel{flex:1;min-width:0;padding:16px;overflow:auto}.workspace-panel-title{display:none}.chat-panel-content{padding:0}.chat-panel-content .field{margin:20px 0}.chat-shell .chat-main{min-height:0}.chat-shell .chat-header{border:0;gap:14px;height:64px;padding:0 40px}.chat-room-name{flex:1;justify-content:center;align-items:center;gap:8px;min-width:0;display:flex}.chat-shell .chat-header>.chat-room-name{max-width:none}.chat-shell .chat-room-name strong{white-space:nowrap;text-overflow:ellipsis;font-size:20px;font-weight:500;overflow:hidden}.chat-room-name form{align-items:center;width:100%;display:flex}.chat-room-name input{min-width:0}.chat-shell .chat-column{max-width:none;padding:0 48px}.chat-shell .chat-scroll>.chat-column{padding-top:24px;padding-bottom:24px}:is(.chat-shell,.creator-test) .story-body{color:#fff}:is(.chat-shell,.creator-test) .story-body .markdown{line-height:inherit}.chat-shell .user-message{background:0 0;border:0;border-radius:0;align-items:flex-start;gap:20px;margin:0;padding:0;display:flex}.chat-shell .user-message>div{background:0 0;border:0;flex:1;padding:0}.chat-shell .user-message>.avatar{order:0}.chat-shell .user-message>.icon-button{order:0;margin-left:auto}.chat-shell .user-message>div{max-width:none}.chat-shell .status-strip[hidden]{display:none}.chat-shell .user-message strong{color:#e9d597;font-size:16px;font-weight:500}.chat-shell .user-message .markdown{color:#ccc}.chat-shell .user-message .markdown :is(p,li),.visual-novel-copy.is-player .markdown :is(p,li),.log-player-input,.creator-test .support-user{white-space:pre-wrap}:is(.chat-shell,.creator-test) .character-message{align-items:flex-start;gap:20px;margin:24px 0}:is(.chat-shell,.creator-test) .character-message>div{background:0 0;border:0;padding:0}:is(.chat-shell,.creator-test) .character-message strong{color:#fff;font-size:16px;font-weight:500}:is(.chat-shell,.creator-test) .character-message .markdown{color:#ccc;background:0 0;border:0;border-radius:0;padding:0}:is(.chat-shell,.creator-test) .story-body>div>.markdown,:is(.chat-shell,.creator-test) .story-body>div>.markdown em{color:#fff}:is(.chat-shell,.creator-test) .story-body .markdown p,.chat-shell .user-message .markdown p{line-height:inherit}.chat-shell .conversation-turn{border:0;margin:0;padding:0}.chat-shell .chat-message-section{border-bottom:1px solid var(--main-04);margin:0 0 24px;padding:0 0 16px;display:flow-root}.chat-shell .chat-scroll hr{border-top-color:var(--main-04)}.chat-shell .chat-message-section>.story-body>:first-child,.chat-shell .chat-message-section>.story-body>div:first-child>.markdown:first-child{margin-top:0}.chat-shell .chat-message-section>.story-body>:last-child,.chat-shell .chat-message-section>.story-body>div:last-child>.markdown:last-child,.chat-shell .chat-message-section .markdown>:last-child{margin-bottom:0}.chat-shell .response-tools{border:0;justify-content:flex-end;margin:16px 0 0}.chat-shell .candidate-pager{margin-right:auto}.chat-shell .chat-footer{background:#222;border:0;max-height:none;padding:8px 0;overflow:visible}.chat-shell .composer{background:#2b2b2b;border:0;border-radius:4px;padding:16px}.chat-shell .composer textarea{resize:none;background:0 0;border:0;min-height:44px;padding:0;font-size:14px}.chat-shell .composer-controls{gap:12px;margin-top:8px}.composer-shortcuts{align-items:center;gap:16px;display:flex}.composer-shortcuts button{color:#ccc;background:#222;border-radius:30px;place-items:center;min-width:40px;height:26px;padding:2px 12px;font-size:18px;display:grid}.chat-shell .model-trigger{color:#fff;max-width:200px;padding:2px;font-size:12px}.chat-shell .composer-hint{color:#aaa;text-align:center;margin:6px 0 0;font-size:10px}.opening-actions{gap:12px;margin-bottom:24px;display:flex}.opening-actions .button{background:#2b2b2b;flex:1;height:36px}.chat-shell .suggestions{flex-wrap:wrap;gap:8px;margin:0 0 12px}.chat-shell .suggestions button{color:#ccc;background:#222;border-color:#4e4e4e;border-radius:4px}.chapter-unlock{color:#5fddce;border:1px solid #4e4e4e;border-radius:4px;justify-content:center;align-items:center;gap:12px;margin:4px 48px;padding:8px;font-size:12px;display:flex}.status-display,.status-preview{background:0 0;border:0;border-radius:0;margin:20px 0;padding:0;line-height:1.7}.status-display summary{cursor:pointer;align-items:center;gap:8px;width:max-content;max-width:100%;height:24px;list-style:none;display:flex;position:absolute;top:0;left:0}.status-display{min-height:24px;position:relative}.status-display summary::-webkit-details-marker{display:none}.status-toggle-icon{color:#838383;flex:none;place-items:center;width:24px;height:24px;display:grid}.status-expand-label{color:#4e4e4e;font-size:10px}.status-display[open] .status-toggle-icon>svg{transform:rotate(90deg)}.status-display[open] .status-expand-label{display:none}.status-content{min-width:0;margin:0 0 0 32px}.status-display--named>summary{position:static}.status-display--named>.status-content{margin-top:8px}.status-panel-name{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.status-content>.markdown>:first-child,.status-preview>.markdown>:first-child{margin-top:0}.status-content>.markdown>:last-child,.status-preview>.markdown>:last-child{margin-bottom:0}.chat-shell .chat-log-desktop{background:#2b2b2b;border:0;flex-direction:column;width:auto;padding:0;display:flex;overflow:hidden}.chat-log-header{height:72px;min-height:72px}.chat-cost{border:1px solid #ccc;border-radius:24px;margin-left:auto;padding:10px 16px;font-size:14px}.chat-shell .conversation-log{flex:1;padding:0 16px 16px;overflow:auto}.log-events{background:#222;border-radius:4px;min-height:100%;padding:0 16px}.log-event{border-bottom:1px solid #4e4e4e;padding:20px 8px;font-size:14px;line-height:2}.conversation-log .log-event-link{text-align:left;color:#fff;background:0 0;border:0;width:100%;padding:0;font-size:14px;display:block}.log-event-link strong{font-weight:500}.conversation-log .log-event-link .log-turn-cost{font-size:12px;display:inline}.log-player-input{color:#838383;margin:4px 0 8px 12px;font-size:12px}.log-changes{margin:8px 0;padding-left:26px}.log-unlocked button{color:#5fddce;padding:0;text-decoration:underline}.log-dice{margin:0}.work-info-tabs{width:100%;margin:0 0 16px;display:flex}.work-info-tabs button{color:#838383;border-bottom:2px solid #0000;flex:1;padding:12px 0;font-size:13px}.work-info-tabs button[aria-selected=true]{color:#fff;border-bottom-color:#fff}.work-info-pills{gap:12px;margin-bottom:16px;display:flex}.work-info-pills button{color:#ccc;border:1px solid #838383;border-radius:20px;padding:8px 16px;font-size:12px}.work-info-pills button[aria-pressed=true]{color:#222;background:#fff;border-color:#fff}.work-info-cover{background:#222;border-radius:4px;place-items:center;width:180px;height:240px;margin:0 auto 12px;display:grid;overflow:hidden}.work-info-cover img{object-fit:cover;width:100%;height:100%}.work-info-byline{text-align:center;margin:12px 0 20px}.work-info-byline h3{margin:0 0 4px;font-size:16px}.work-info-byline small{color:#838383;font-size:12px;line-height:1.7;display:block}.work-info-description{background:#222;border-radius:5px;margin-bottom:16px;padding:16px;font-size:14px;line-height:24px}.work-lore{border-top:1px solid #4e4e4e;padding:20px 0}.work-lore h4{margin:0 0 20px;font-size:16px}.work-lore p{color:#ccc;margin:0}.work-character-list{gap:12px;margin:0 0 16px;padding:2px;display:flex;overflow:auto}.work-character-list button{border:2px solid #0000;border-radius:50%;flex-shrink:0;padding:0}.work-character-list button[aria-pressed=true]{border-color:#5fddce}.gallery-character{text-align:center;border-bottom:1px solid #4e4e4e;margin-bottom:16px}.gallery-character .avatar{border-radius:0}.gallery-character h3{margin:12px 0 20px}.chat-gallery{text-align:center;flex-direction:column;gap:16px;display:flex}.chat-gallery img{object-fit:contain;max-height:280px}.chat-gallery figcaption{color:#838383;font-size:12px}.inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 10px;display:grid}.inventory-tile{flex-direction:column;align-items:center;gap:8px;padding:0;font-size:10px;display:flex}.inventory-tile .avatar{background:0 0;border:0;border-radius:0}.inventory-tile small{border:1px solid #838383;border-radius:4px;padding:4px 6px;font-size:10px}.inventory-tile small.owned{color:#e9d597;border-color:#e9d597}.inventory-tile em{color:#5fddce;font-style:normal}.inventory-detail>img{object-fit:contain;width:180px;height:180px;margin:16px auto;display:block}.inventory-detail>h3{text-align:center;margin-bottom:40px}.inventory-detail h4{margin:30px 0 10px}.inventory-detail em{color:#5fddce;font-style:normal}.inventory-detail .form-row{margin-top:40px}.inventory-detail .form-row .button{min-height:56px}.chapter-list>h3{font-size:20px}.chapter-list section{border-top:1px solid #4e4e4e;padding:20px 0}.chapter-list li{color:#ccc;margin:8px 0}.memory-countdown{border:1px solid #ccc;border-radius:30px;width:max-content;margin:16px auto;padding:10px 16px;font-size:14px}.memory-countdown em{color:#5fddce;font-style:normal}.chat-panel-content .quality-editor>.field{background:#222;border:1px solid #4e4e4e;border-radius:4px;margin:0 0 16px;padding:16px}.chat-panel-content .quality-editor .radio-options{grid-template-columns:1fr 1fr;display:grid}.editor-shell.design-ui{grid-template-columns:clamp(300px,25.35vw,365px) minmax(0,1fr) clamp(280px,25.28vw,364px);display:grid}.editor-workspace{background:#2b2b2b;flex-direction:column;min-height:0;display:flex}.editor-workspace>header{border-bottom:1px solid #4e4e4e;align-items:center;gap:8px;height:56px;min-height:56px;padding:0 16px;display:flex}.editor-workspace>header strong{font-size:var(--workspace-title-size);white-space:nowrap;text-overflow:ellipsis;flex:1;font-weight:500;overflow:hidden}.editor-workspace-body{flex:1;min-height:0;display:flex}.editor-shell .editor-rail{background:#2b2b2b;border-color:#4e4e4e;gap:0;width:74px;padding:0}.editor-shell .editor-nav{background:#2b2b2b;border:0;width:calc(100% - 74px);padding:16px}.editor-shell .editor-nav>button{min-height:52px;font-size:var(--workspace-nav-size);color:#ccc;border:1px solid #4e4e4e;border-radius:4px;margin:0 0 16px;padding:12px 16px}.editor-shell .editor-nav>button.active{color:#fff;background:#4e4e4e;border-color:#fff}.editor-shell .editor-nav>button i{color:#c64850;font-style:normal}.editor-shell .nav-heading{margin-bottom:16px;padding:0}.workspace-actions{align-items:center;gap:8px;display:flex}.recent-workspaces>.workspace-row{text-align:left;cursor:pointer;border-radius:7px;align-items:center;gap:10px;width:100%;padding:9px 5px;font-size:12px;display:flex}.recent-workspaces>.workspace-row.active{background:#3b3b3b}.recent-workspaces>.workspace-row>span:last-child{flex:1;min-width:0}.workspace-selection-tools{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px;display:flex}.workspace-selection-tools label{align-items:center;gap:8px;display:flex}.workspace-selection-tools .text-button{margin-left:auto}.workspace-selection-tools small{color:#838383;width:100%}.workspace-selection-tools input[type=checkbox],.recent-workspaces input[type=checkbox]{appearance:auto;accent-color:#5fddce;flex-shrink:0;width:16px;min-width:16px;height:16px;margin:0;padding:0}.workspace-delete-list{max-height:200px;padding-left:20px;overflow:auto}.editor-shell .editor-header{border:0;gap:10px;height:56px;padding:0 44px}.editor-shell .editor-title{flex:1}.editor-shell .editor-title strong{font-size:16px;font-weight:500}.editor-shell .editor-header .button{min-height:28px;padding:4px 16px;font-size:12px}.editor-shell .editor-form{max-width:none;padding:44px 44px 100px}.editor-shell .editor-form>h2{margin-bottom:24px;font-size:20px;font-weight:500}.editor-shell .editor-form>h2:has(+p.muted){margin-bottom:8px}.editor-shell .editor-form>h2+p.muted{margin-top:0}.editor-shell .basic-info{gap:24px}.editor-shell .overview-form .basic-info .image-upload>button:first-child{height:240px}.editor-shell .basic-info textarea{min-height:130px}.editor-shell .field>input{min-height:52px}.editor-shell .section-title{margin-top:0}.editor-shell .section-title h2{font-size:20px;font-weight:500}.editor-shell .section-title .button{font-size:var(--body-5-size);min-height:24px;padding:3px 10px}.editor-shell .assistant-desktop{background:#2b2b2b;border:0;flex-direction:column;width:auto;min-height:0;display:flex}.assistant-top{border-bottom:1px solid #4e4e4e;align-items:center;min-height:56px;padding:0 16px;display:flex}.assistant-top h2{font-size:var(--workspace-title-size);margin:0;font-weight:500}.assistant-desktop>.work-info-tabs{margin:0;padding:16px 16px 0}.editor-shell .assistant{flex:1;min-height:0;padding:16px;overflow:auto}.editor-shell .assistant>h3{display:none}.editor-shell .assistant-result{min-height:160px}.editor-shell .assistant,.creator-test{flex-direction:column;display:flex;overflow:hidden}.creator-test{flex:1;min-height:0;padding:16px}.support-transcript{flex:1;min-height:100px;padding:0 16px 24px;line-height:28px;overflow:auto}.support-transcript>p:first-child{margin:0 0 24px}.support-user{color:#fff;background:#000;border-radius:24px 4px 24px 24px;width:fit-content;max-width:90%;margin:24px 0 24px auto;padding:12px 20px}.support-composer{background:#222;border-radius:4px;flex-shrink:0;padding:16px}.design-ui .support-composer>textarea.message-input{resize:none;background:0 0;border:0;min-height:42px;padding:0;font-size:14px}.support-composer>.support-composer-actions{align-items:center;gap:12px;margin-top:12px;display:flex}.support-composer .model-trigger{margin-left:auto;font-size:12px}.support-hint{text-align:center;margin-top:6px;font-size:10px}.support-options{background:#222;border:1px solid #4e4e4e;border-radius:4px;margin-bottom:8px;padding:8px 16px}.test-actions{margin-bottom:16px}.test-actions .button{width:100%;font-size:12px}.editor-shell.editor-left-collapsed{grid-template-columns:74px minmax(0,1fr) clamp(280px,25.28vw,364px)}.editor-left-collapsed .editor-nav,.editor-left-collapsed .editor-workspace>header>strong,.editor-left-collapsed .editor-workspace>header>input,.editor-left-collapsed .editor-workspace>header>.icon-button:first-of-type{display:none}.editor-shell.editor-right-collapsed{grid-template-columns:clamp(300px,25.35vw,365px) minmax(0,1fr)}.editor-right-collapsed .assistant-desktop{display:none}.editor-shell.editor-left-collapsed.editor-right-collapsed{grid-template-columns:74px minmax(0,1fr)}.assistant-top{justify-content:flex-start}.editor-shell .assistant>.field{margin-top:0}.editor-shell .assistant>.field select,.editor-shell .assistant>textarea{background:#222}.viewpoint-selectors{background:#2b2b2b;border-radius:4px;padding:16px}.avatar-choices{gap:16px;display:flex;overflow:auto}.avatar-choices button{flex-direction:column;flex-shrink:0;align-items:center;gap:8px;padding:2px;font-size:12px;display:flex}.avatar-choices button[aria-pressed=true] .avatar{outline:2px solid #5fddce}.group-filter{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.group-filter button{border:1px solid #838383;border-radius:20px;padding:6px 12px;font-size:12px}.group-filter button[aria-pressed=true]{color:#222;background:#fff}.media-card{background:#2b2b2b;border:1px solid #4e4e4e;border-radius:4px;margin:16px 0;padding:24px}.media-card h3{font-size:14px;font-weight:500}.design-ui .media-card input,.design-ui .media-card textarea{background:#000}.media-card>.field{margin:0}.character-codes{flex-wrap:wrap;gap:12px;display:flex}.character-codes label{border:1px solid #838383;border-radius:24px;align-items:center;gap:4px;padding:6px 12px;font-size:12px;display:flex}.design-ui .character-codes input{text-align:center;background:0 0;border-radius:0;width:36px;padding:0;text-decoration:underline}.media-not-found{color:#838383;background:#000;place-items:center;height:150px;font-size:12px;display:grid}.support-mobile{display:none!important}.test-launch{padding:24px 16px}.note-group{justify-content:space-between;align-items:center;gap:12px;margin:12px 0;display:flex}.note-group>button{text-align:left}.note-group .toggle-row{margin:0}.note-group .toggle-row>span{display:none}.group-note-option{background:#2b2b2b;border-radius:4px;align-items:center;gap:12px;padding:12px;display:flex}.scenario-canvas{cursor:grab;touch-action:none;background-color:#000;background-image:linear-gradient(#ffffff0d 1px,#0000 1px),linear-gradient(90deg,#ffffff0d 1px,#0000 1px);background-size:24px 24px;border-radius:4px;min-height:650px;max-height:75vh;padding:40px 20px;overflow:auto}.scenario-tree,.scenario-tree ul{justify-content:center;margin:0;padding:0;list-style:none;display:flex}.scenario-tree{width:max-content;min-width:100%}.scenario-tree li{flex-direction:column;align-items:center;padding:24px 14px 0;display:flex;position:relative}.scenario-tree ul{padding-top:24px;position:relative}.scenario-tree ul:before{content:"";border-left:1px solid #e9d597;height:24px;position:absolute;top:0;left:50%}.scenario-tree ul>li:before{content:"";border-top:1px solid #e9d597;width:100%;height:24px;position:absolute;top:0}.scenario-tree ul>li:first-child:before{width:50%;left:50%}.scenario-tree ul>li:last-child:before{width:50%;right:50%}.scenario-tree ul>li:only-child:before{width:0}.scenario-tree ul>li:after{content:"";border-left:1px solid #e9d597;height:24px;position:absolute;top:0}.scenario-tree .scenario-node{text-align:center;background:#2b2b2b;border:1px solid #4e4e4e;border-radius:4px;min-width:100px;max-width:180px;margin:0;padding:12px}.scenario-tree .scenario-node.start{background:#383426;border-color:#e9d597}.scenario-node>button{width:100%;padding:0;display:block}.scenario-node small{margin-top:8px;font-size:10px;display:block}.scenario-node .node-add{color:#e9d597;border:1px solid #e9d597;border-radius:3px;place-items:center;width:22px;height:22px;margin:12px auto 0;display:grid}.room-manager.design-ui>section{margin-top:36px}.room-manager.design-ui h2{font-size:var(--room-section-title-size);font-weight:500}.room-manager.design-ui .manage-row{border:0;gap:16px;min-height:80px;padding:14px 0}.room-manager.design-ui .manage-row>.grow{min-width:0;font-size:14px}.room-manager.design-ui .manage-row small{white-space:nowrap;text-overflow:ellipsis;margin-top:8px;font-size:12px;display:block;overflow:hidden}.row-menu{position:relative}.row-menu .context-menu{z-index:5;background:#000;border-radius:4px;min-width:180px;padding:8px;position:absolute;top:34px;right:0;box-shadow:0 8px 20px #0005}.row-menu .context-menu button{white-space:nowrap;text-align:left;gap:10px;width:100%;padding:10px;font-size:14px;display:flex}.folder-rooms{padding-left:24px}.note-group-heading{justify-content:space-between;align-items:center;margin:20px 0 8px;display:flex}.note-group-heading h3{margin:0;font-weight:500}.note-title{flex:1}.design-ui .note-title input{padding:4px 8px;font-size:16px}.design-ui .note-card .toggle-row{justify-content:flex-end}.design-ui .note-card .toggle-row>span{font-size:12px}.design-ui .note-card textarea{min-height:180px}.profile-page.design-ui,.room-manager.design-ui{max-width:710px;padding:64px 24px}.profile-page.design-ui>header,.room-manager.design-ui>header{justify-content:center;position:relative}.profile-page.design-ui>header h1,.room-manager.design-ui>header h1{font-size:var(--page-title-size);margin:0;font-weight:500}.profile-page.design-ui>header,.room-manager.design-ui>header{border:0;height:40px;min-height:40px;margin-bottom:26px;padding:0}.profile-page.design-ui>header>.icon-button,.room-manager.design-ui>header>.icon-button{position:absolute;left:0}.profile-page.design-ui .profile-content{max-width:none;padding:0}.profile-page.design-ui .profile-content>.image-upload{width:100px;margin:0 auto 32px}.profile-page.design-ui .profile-content>.image-upload>button:first-child{border-radius:50%;width:100px;height:100px}.profile-page.design-ui .profile-content>.field .field-label{font-size:var(--section-title-size)}.profile-page.design-ui .settings-list{border-top:1px solid #4e4e4e;border-bottom:1px solid #4e4e4e;margin:32px 0 0;padding:24px 0}.profile-page.design-ui .settings-list>.settings-menu-item{min-height:56px;font-size:var(--section-title-size);border:0;padding-block:16px}.profile-page.design-ui .settings-menu-item svg{width:24px;height:24px}.profile-page.design-ui .settings-list.secondary{border-top:0;margin:0}.profile-page.design-ui .settings-list.secondary+p.muted{margin:8px 0 0}.profile-subpage{margin-top:32px}.profile-subpage>.text-button{margin-bottom:24px;padding-left:0;font-size:14px}.design-ui .modal{background:#000;border:1px solid #222;border-radius:4px}.design-ui .modal-header{border:0}.design-ui .modal-header h2{font-size:20px;font-weight:500}.design-ui .modal-body{padding:24px}@media (width<=1199px){.support-mobile{display:flex!important}.editor-shell.design-ui{grid-template-columns:300px minmax(0,1fr)}.editor-shell.editor-left-collapsed{grid-template-columns:74px minmax(0,1fr)}.editor-shell .assistant-desktop{display:none}.chat-shell .chat-column,.editor-shell .editor-form{padding-left:32px;padding-right:32px}}@media (width<=800px){.desktop-only{display:none!important}.chat-shell.design-ui,.chat-shell.left-collapsed,.chat-shell.right-collapsed{display:flex}.chat-shell .chat-main{width:100%}.chat-shell .chat-header{gap:6px;height:56px;padding:0 12px}.chat-shell .chat-room-name strong{font-size:16px}.chat-shell .chat-column{padding-left:20px;padding-right:20px}.chat-shell .chat-scroll>.chat-column{padding-top:24px}.chat-shell .chat-footer .chat-column{padding:0 12px}.chat-shell .composer{padding:12px}.composer-shortcuts{flex-shrink:0;gap:6px;display:flex}.composer-shortcuts>button,.chat-shortcuts-control>button{width:28px;min-width:28px;padding:2px 4px;font-size:16px}.chat-shell .composer-controls{gap:6px}.chat-shell .model-trigger{min-width:0;max-width:130px}.chat-shell .user-message,:is(.chat-shell,.creator-test) .character-message{gap:12px}.chat-shell .user-message>.avatar,:is(.chat-shell,.creator-test) .character-message>.avatar{width:40px!important;height:40px!important}.chapter-unlock{margin:4px 20px}.opening-actions{margin-bottom:16px}.mobile-panel .chat-panel-content{padding:0}.mobile-panel .work-info-cover{width:180px}.design-ui .bottom-sheet{background:#1c1c1e;border-radius:24px 24px 0 0}.editor-shell.design-ui{display:flex}.editor-workspace{display:none}.editor-workspace.mobile-open{z-index:10;width:min(365px,90vw);display:flex;position:fixed;top:0;bottom:0;left:0;box-shadow:20px 0 70px #0008}.editor-shell .editor-rail{display:flex}.editor-shell .editor-nav{width:calc(100% - 74px);display:block;position:static}.editor-shell .editor-header{gap:4px;padding:0 12px}.editor-shell .editor-header .inline-actions{gap:2px}.editor-shell .editor-title strong{font-size:14px}.editor-shell .editor-form{padding:24px 20px 80px}.editor-shell .basic-info{gap:16px}.editor-shell .basic-info .image-upload>button:first-child{width:110px;height:110px}.editor-shell .overview-form .basic-info .image-upload>button:first-child{height:147px}.editor-shell .section-title{flex-wrap:wrap}.design-ui .segmented{gap:8px}.design-ui .segmented button{min-height:40px;font-size:12px}.profile-page.design-ui,.room-manager.design-ui{padding:28px 20px}.profile-page.design-ui>header h1,.room-manager.design-ui>header h1{font-size:var(--page-title-size)}}.design-ui .inventory-image{place-items:center;width:180px;height:180px;margin:0 auto;display:grid}.design-ui .inventory-image img{object-fit:cover;width:100%;height:100%}.room-manager.design-ui>header h1{font-size:var(--page-title-size)}.editor-shell .nav-heading{font-size:var(--workspace-nav-size)}.chat-workspace-header h2,.chat-log-header h2{font-size:var(--workspace-title-size)}.design-ui .button.primary:not(:disabled){font-weight:700}.button.button--small{font-size:var(--body-5-size);line-height:var(--body-5-line-height)}.button.button--danger,.button.button--danger:not(:disabled):hover{color:var(--homura-red);border-color:var(--homura-red)}.field.field--small{gap:8px}.field.field--small .field-label{font-size:var(--body-5-size)}.field.field--small>small{font-size:var(--body-5-size);line-height:var(--body-5-line-height);color:var(--muted)}:root{--body-3-size:16px;--body-4-size:14px;--body-4-line-height:24px;--body-4-bold-weight:700;--body-5-size:12px;--body-5-line-height:18px;--modal-title-size:16px;--pneuma-emerald:#5fddce;--homura-red:#c64850;--hikari-yellow:#e9d597;--surface-deep:#1c1c1c;--main-03:#4e4e4e;--main-04:#2b2b2b;--work-card-width:169px;--work-slide-card-width:124px;--page-title-size:24px;--section-title-size:16px;--room-section-title-size:20px;--workspace-title-size:16px;--workspace-nav-size:14px;--rail-label-size:11px;--rail-icon-size:28px;--rail-item-height:74px}.editor-shell .editor-header{flex-wrap:nowrap;height:auto;min-height:56px}.reference-panel,.reference-examples{flex-direction:column;gap:16px;display:flex}.reference-work.button{border:1px solid var(--main-03);text-align:left;white-space:normal;border-radius:5px;grid-template-columns:60px minmax(0,1fr) 16px;gap:12px;width:100%;padding:12px;display:grid}.reference-work>img{object-fit:cover;border-radius:5px;width:60px;height:80px}.reference-work>span{flex-direction:column;gap:6px;min-width:0;display:flex}.reference-work strong{font-size:14px;line-height:22px}.reference-work small,.reference-work-open{font-size:12px;line-height:18px}.reference-work small{color:var(--muted);font-weight:400}.editor-shell .editor-title{flex-direction:row;align-items:center;gap:12px;min-width:0}.editor-title strong{flex-shrink:0}.editor-title .saved{white-space:nowrap;min-width:0;overflow:hidden}.saved>svg,.saved-text{flex-shrink:0}.saved-text.is-hidden{visibility:hidden}.editor-header .inline-actions{flex-shrink:0}.editor-support-slot,.editor-support-content,.editor-sidebar-support,.editor-support-pane{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.editor-support-pane[hidden],.editor-sidebar-support[hidden],.editor-nav.show-support>:not(.editor-sidebar-support){display:none}.editor-shell .editor-nav.show-support{flex-direction:column;padding:16px 0 0;display:flex;overflow:hidden}.editor-sidebar-support>.nav-heading{padding:0 16px}.editor-support-content>.work-info-tabs{flex-shrink:0;margin:0;padding:16px 16px 0}.editor-sidebar-support .editor-support-content>.work-info-tabs{padding-top:0}.editor-mobile-stages{display:none}@media (width<=800px){.editor-shell .editor-main{flex-direction:column;min-height:0;display:flex;overflow:hidden}.editor-shell .editor-header{flex-shrink:0;gap:12px}.editor-shell .editor-header .inline-actions{gap:8px}.editor-shell .editor-header .editor-export{margin-right:8px}.editor-shell .editor-mobile-stages{border-bottom:1px solid #4e4e4e;flex-shrink:0;align-items:center;min-width:0;padding:0 12px;display:flex}.editor-mobile-stages .scrollable-tabs{flex:1}.editor-mobile-stages>.icon-button{flex-shrink:0;margin-left:8px}.editor-shell .editor-fieldset{flex:1;min-width:0;min-height:0;overflow:auto}.editor-shell .editor-header{flex-wrap:nowrap;height:auto;min-height:56px;padding:8px 12px}.editor-shell .editor-title{flex:1;gap:12px}.editor-shell .editor-title .saved{font-size:10px}.editor-shell .editor-header .inline-actions{margin-left:auto}.editor-shell .editor-header .inline-actions>.icon-button{display:inline-flex}.editor-shell .editor-header .inline-actions>.icon-button.supporter-reopen{display:none}}@media (width<=400px){.editor-shell .editor-header,.editor-shell .editor-title{gap:8px}.editor-shell .editor-header .inline-actions{gap:4px}.editor-shell .editor-header .inline-actions>.icon-button:not(.editor-export){width:24px;height:28px;padding:3px}.editor-shell .editor-header .editor-export{margin-right:12px}.editor-shell .editor-header .button{padding:4px 12px;font-size:11px}}.chat-ui-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.chat-ui-heading h2{margin:0}.chat-ui-heading .toggle-row{flex-shrink:0;gap:8px;padding:0}.creator-sections{flex-direction:column;gap:16px;display:flex}.creator-sections>button{text-align:left}.creator-sections .creator-extras-toggle{color:#ccc;background:0 0;border:0;border-top:1px solid #454545;border-radius:0;justify-content:space-between;align-items:center;margin:0 -16px;padding:16px;display:flex}.editor-mobile-stages .creator-sections{flex-direction:row;align-items:center;gap:8px;overflow-x:auto}.editor-mobile-stages .creator-sections>button{flex-shrink:0;padding:8px 12px}.editor-mobile-stages .creator-extras-toggle{border:0;gap:8px;margin:0}.import-warning{color:#ccc;font-size:13px;line-height:1.7}.feature-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.feature-heading h2{margin:0}.feature-heading .toggle-row{gap:8px;padding:0}.optional-feature{border:0;min-width:0;margin:0;padding:0}.local-media-usage{color:#ccc;gap:8px;margin:24px 0 16px;font-size:12px;display:grid}.local-media-usage progress{width:100%;accent-color:var(--pneuma-emerald,#5fddce);height:8px}.local-media-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px;display:grid}.local-media-item{background:#292929;border-radius:6px;gap:8px;min-width:0;padding:12px;display:grid;position:relative}.local-media-item>img{object-fit:contain;width:100%;height:140px}.local-media-item>.icon-button{background:#1c1c1ccc;position:absolute;top:8px;right:8px}.local-media-item>small{overflow-wrap:anywhere;color:#ccc;font-size:11px}.editor-nav .creator-sections>button:not(.creator-extras-toggle){text-align:left;color:#fff;background:0 0;border:1px solid #4e4e4e;border-radius:4px;width:100%;min-height:52px;padding:14px 22px;font-size:14px;font-weight:600}.editor-nav .creator-sections>button.active{background:#4b4b4b;border-color:#fff}.editor-mobile-stages .creator-sections [role=tab]{color:#ccc;white-space:nowrap;border-bottom:2px solid #0000}.editor-mobile-stages .creator-sections [role=tab].active{color:#fff;border-color:#fff}.editor-shell .editor-form .basic-info{flex-direction:row}.editor-shell .basic-info .image-upload>button:first-child{width:180px;height:240px}@media (width<=800px){.editor-shell .basic-info .image-upload>button:first-child{width:120px;height:160px}}.creator-sticky-tabs{top:var(--editor-header-height,56px);z-index:3;background:#222;padding-top:12px;position:sticky}.creator-sticky-tabs>.work-info-tabs{margin-top:0;margin-bottom:16px}.inner-unlock-settings{border-radius:5px;margin-top:24px}.inner-unlock-settings .edit-card-section{gap:8px}.inner-unlock-settings .edit-card-section-body{gap:16px}.inner-unlock-settings .edit-card-section-body>.muted,.inner-unlock-settings .edit-card-section-body>.field,.rule-button-hint{margin:0}.relation-palette>.section-title{gap:8px;margin-bottom:0}.relation-palette>.avatar-choices{margin-top:16px}.editor-shell .relation-palette>small{margin-top:8px}@media (width<=800px){.creator-sticky-tabs{top:0}}.rule-help{margin-top:16px}.code-actions{gap:12px}.code-actions>.code-validation{flex-wrap:wrap;flex:0 auto;align-items:center;gap:12px;display:flex}.code-validation>[role=status]{white-space:nowrap}.code-validation-pass{color:var(--pneuma-emerald)}.code-validation>[role=alert]{flex-basis:100%;margin:0}@media (width<=600px){.code-actions>.button{flex-basis:100%}}.edit-card-typography{background:var(--surface-deep);--edit-card-title-size:16px;--edit-card-body-size:14px;--edit-card-detail-size:12px;--body-5-size:var(--edit-card-body-size);--body-5-line-height:22px;font-size:var(--edit-card-body-size);--edit-card-padding:16px;--edit-card-heading-gap:16px;--edit-card-content-gap:16px;--edit-card-section-gap:24px;--edit-card-field-gap:8px;--edit-card-column-gap:12px;line-height:22px}.edit-card-typography.edit-card-typography>.card-header,.edit-card-typography .card-header .disclosure-title,.edit-card-typography .card-header .disclosure-title input,.edit-card-typography h3,.edit-card-typography h4{font-size:var(--edit-card-title-size);font-weight:700;line-height:24px}.edit-card-typography .field .field-label,.edit-card-typography.edit-card-typography input:where(:not([type=radio],[type=checkbox],[type=range],[type=file])),.edit-card-typography.edit-card-typography textarea,.edit-card-typography select,.edit-card-typography .design-select-trigger,.edit-card-typography .design-select-list,.edit-card-typography .radio-options,.edit-card-typography .keyword-pills>span,.edit-card-typography .segmented button,.edit-card-typography .button,.edit-card-typography.edit-card-typography .toggle-row>span,.edit-card-typography .image-upload>span,.edit-card-typography.edit-card-typography :is(input,textarea)::placeholder{font-size:var(--edit-card-body-size);line-height:22px}.edit-card-typography .field>small,.edit-card-typography .enhancement-failure-hint,.edit-card-typography .enhancement-percent,.edit-card-typography .memory-inactive,.edit-card-typography .memory-prompt-reset{font-size:var(--edit-card-detail-size);line-height:18px}.edit-card-typography.edit-card-typography .card-header .disclosure-title input{font-size:var(--edit-card-title-size);line-height:24px}.edit-card-typography.edit-card-typography{padding:var(--edit-card-padding)}.edit-card-typography>:is(.disclosure-body,.persona-card-body){margin-top:var(--edit-card-heading-gap);gap:var(--edit-card-content-gap)}.edit-card-typography .persona-fields{gap:var(--edit-card-content-gap)}.edit-card-typography .note-body{margin:var(--edit-card-heading-gap) 0 var(--edit-card-content-gap)}.edit-card-typography .field.field,.edit-card-typography .form-row>.field.field{gap:var(--edit-card-field-gap);margin:0}.edit-card-typography .form-row{column-gap:var(--edit-card-column-gap);row-gap:var(--edit-card-content-gap)}.edit-card-typography .basic-info>div:not(.field){gap:var(--edit-card-content-gap);flex-direction:column;display:flex}.edit-card-typography .edit-card-section,.edit-card-typography .edit-card-section-body{flex-direction:column;min-width:0;display:flex}.edit-card-typography .edit-card-section{gap:var(--edit-card-heading-gap)}.edit-card-section>h3{margin:0}.edit-card-typography .edit-card-section-body{gap:var(--edit-card-content-gap)}.edit-card-typography .enhancement-editor{gap:var(--edit-card-section-gap);flex-direction:column;display:flex}.edit-card-section-body>.enhancement-failure-hint{margin:0}@media (width<=800px){.samsung-internet .edit-card-typography:not(.selected){box-shadow:inset 0 0 0 1px #4e4e4e}}
