:root{color:#f6f3eb;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--panel:#080c13e0;--panel-strong:#070a0ff5;--panel-soft:#ffffff0a;--panel-glow:#a1cdff14;--border:#a8c2e038;--border-strong:#ffffff2e;--text-soft:#f6f3eba3;--text-faint:#f6f3eb75;--accent:#d5b06f;--accent-blue:#9dc5e5;--accent-red:#da7d78;--accent-green:#92c29a;--shadow-lg:0 18px 60px #00000059;--shadow-sm:0 8px 24px #00000047;background:radial-gradient(circle at top,#d0e2ff1f,#0000 26%),radial-gradient(circle at 85% 20%,#e9c17829,#0000 24%),linear-gradient(#1a2234 0%,#101624 48%,#080b12 100%);font-family:Microsoft YaHei UI,Noto Sans SC,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}body{min-width:1280px;overflow:hidden}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell,.menu-shell{-webkit-user-select:none;user-select:none}.app-shell input,.app-shell textarea,.menu-shell input,.menu-shell textarea,.editor-shell,.editor-shell input,.editor-shell textarea{-webkit-user-select:text;user-select:text}img{max-width:100%;display:block}ul,dl{margin:0}.app-shell{flex-direction:column;gap:14px;height:100vh;padding:16px 18px 18px;display:flex;position:relative;overflow:hidden}.app-shell:before,.menu-shell:before{content:"";mix-blend-mode:soft-light;pointer-events:none;opacity:.24;background:linear-gradient(#ffffff05 50%,#00000008 50%) 0 0/100% 6px;position:absolute;inset:0}.app-shell--loading,.app-shell--error{text-align:center;place-items:center;display:grid}.status-toast-stack{z-index:8;pointer-events:none;gap:10px;width:min(360px,100% - 36px);display:grid;position:absolute;top:16px;left:18px}.status-toast{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(#ffffff14,#ffffff08),#05090fe6;border:1px solid #ffffff24;border-radius:7px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:12px;min-height:70px;padding:12px 14px;animation:3.6s ease-in-out both status-toast-slide;display:grid;box-shadow:0 18px 40px #00000061}.status-toast-mark{background:radial-gradient(circle,#ffffff6b,#0000 33%),#9dc5e529;border:1px solid #fff3;border-radius:999px;width:34px;height:34px;box-shadow:inset 0 0 18px #ffffff1f}.status-toast--hunger .status-toast-mark{background:radial-gradient(circle,#ffffff6b,#0000 33%),#92c29a3d}.status-toast--fatigue .status-toast-mark{background:radial-gradient(circle,#ffffff61,#0000 33%),#da7d7838}.status-toast--money .status-toast-mark{background:radial-gradient(circle,#ffffff70,#0000 33%),#d5b06f42}.status-toast strong{color:#fff3d2;font-size:14px;display:block}.status-toast p{color:var(--text-soft);margin:2px 0 0;font-size:13px}.menu-shell{--menu-green:#76ff9d;--menu-green-bright:#c9ffd7;isolation:isolate;color:#eaffef;background:#020805;grid-template-rows:auto minmax(0,1fr) auto;height:100vh;padding:clamp(24px,3vw,46px) clamp(42px,6vw,92px) clamp(20px,2.5vw,36px);display:grid;position:relative;overflow:hidden}.menu-shell:after{z-index:1;content:"";pointer-events:none;background:linear-gradient(90deg,#010804e6 0%,#010905b3 31%,#0108051f 64%,#01060461 100%),linear-gradient(#00050275,#0000 29% 66%,#000402cc),radial-gradient(circle at 72% 42%,#0000 0%,#0005020a 45%,#00040275 100%);position:absolute;inset:0}.menu-cyber-backdrop{z-index:0;opacity:.9;contain:strict;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;transform:translateZ(0)}.menu-atmosphere{z-index:2;pointer-events:none;animation:.68s cubic-bezier(.22,1,.36,1) .5s both menu-ui-reveal;position:absolute;inset:0}.menu-coordinate{color:#acffc357;letter-spacing:.18em;font-family:Consolas,Courier New,monospace;font-size:9px;position:absolute}.menu-coordinate--top{top:18px;left:50%;transform:translate(-50%)}.menu-coordinate--side{writing-mode:vertical-rl;top:50%;right:20px;transform:translateY(-50%)}.menu-scan-target{border:1px solid #76ff9d4d;width:46px;height:46px;position:absolute;top:24%;right:13%}.menu-scan-target:before,.menu-scan-target:after{content:"";background:#76ff9d73;position:absolute}.menu-scan-target:before{width:1px;height:62px;top:-9px;left:50%}.menu-scan-target:after{width:62px;height:1px;top:50%;left:-9px}.menu-topline,.menu-hero,.menu-footer{z-index:3;position:relative;transform:translateZ(0)}.menu-topline{border-bottom:1px solid #8bffac3b;justify-content:space-between;align-items:center;min-height:42px;padding-bottom:15px;animation:.72s cubic-bezier(.22,1,.36,1) .58s both menu-ui-reveal;display:flex}.menu-identity,.menu-build-state{align-items:center;display:flex}.menu-identity{gap:12px}.menu-sigil{width:34px;height:34px;color:var(--menu-green-bright);border:1px solid #a0ffbbb8;place-items:center;font-family:Georgia,serif;font-size:19px;line-height:1;display:grid;transform:rotate(45deg)}.menu-sigil b{font-weight:400;transform:rotate(-45deg)}.menu-identity>div{gap:1px;display:grid}.menu-identity strong{color:#dfffe8;letter-spacing:.16em;font-size:12px;font-weight:700}.menu-identity span:not(.menu-sigil),.menu-build-state,.menu-footer{font-family:Consolas,Courier New,monospace}.menu-identity span:not(.menu-sigil){color:#c5ffd675;letter-spacing:.1em;font-size:8px}.menu-build-state{color:#d9ffe49e;letter-spacing:.12em;gap:9px;font-size:9px}.menu-build-state strong{color:var(--menu-green);font-size:inherit;border-left:1px solid #8bffac3d;padding-left:9px}.menu-live-dot{background:var(--menu-green);border-radius:50%;width:6px;height:6px;animation:1.8s steps(2,end) infinite menu-signal-pulse;box-shadow:0 0 12px #76ff9df2}.menu-hero{align-self:center;width:min(620px,55vw);padding:18px 0}.menu-overline{color:#afffc69e;letter-spacing:.22em;margin:0 0 6px;font-family:Consolas,Courier New,monospace;font-size:10px;font-weight:700;animation:.7s cubic-bezier(.22,1,.36,1) .7s both menu-ui-reveal}.menu-title{justify-items:start;margin:0;line-height:.92;animation:.76s cubic-bezier(.22,1,.36,1) .8s both menu-ui-reveal;display:grid}.menu-title-cn{color:#effff3;letter-spacing:.08em;text-indent:-.06em;text-shadow:0 2px #000000d1,0 0 32px #4eff8421;font-family:Microsoft YaHei UI,Noto Sans SC,sans-serif;font-size:clamp(72px,7.8vw,118px);font-weight:900;position:relative}.menu-title-cn:after{content:"";background:var(--menu-green);width:42%;height:3px;position:absolute;bottom:-7px;left:.05em;box-shadow:0 0 18px #76ff9db8}.menu-title-en{color:#d3ffe06b;letter-spacing:.62em;margin-top:16px;font-family:Consolas,Courier New,monospace;font-size:13px;font-weight:400}.menu-role-line{align-items:center;gap:13px;margin-top:20px;animation:.7s cubic-bezier(.22,1,.36,1) .93s both menu-ui-reveal;display:flex}.menu-role-line>span{background:#76ff9db8;width:32px;height:1px}.menu-role-line p{color:#b9f9ca;letter-spacing:.38em;margin:0;font-size:16px;font-weight:700}.menu-tagline{color:#e1ffe9ad;letter-spacing:.08em;margin:9px 0 0 45px;font-size:13px;animation:.7s cubic-bezier(.22,1,.36,1) 1.03s both menu-ui-reveal}.menu-command-list{gap:8px;width:min(480px,100%);margin-top:32px;animation:.76s cubic-bezier(.22,1,.36,1) 1.15s both menu-ui-reveal;display:grid}.menu-command{color:#eaffef;text-align:left;background:#010d07a8;border:1px solid #97ffb53d;border-left:3px solid #76ff9d9e;border-radius:0;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:62px;padding:10px 18px 10px 14px;transition:transform .15s,border-color .15s,background .15s,box-shadow .15s;display:grid;box-shadow:inset 0 0 0 1px #00000047}.menu-command--primary{min-height:70px;box-shadow:inset 3px 0 0 var(--menu-green), 0 14px 34px #0000003d;background:linear-gradient(90deg,#76ff9d3d,#1a562c1a),#021209d1;border-color:#b1ffc7c7}.menu-command:hover:not(:disabled),.menu-command:focus-visible{border-color:var(--menu-green);box-shadow:inset 3px 0 0 var(--menu-green), 0 0 26px #36ff731f;background:#124522b8;outline:none;transform:translate(6px)}.menu-command:disabled{cursor:not-allowed;opacity:.36}.menu-command--locked,.menu-command--locked.menu-command--primary{background:#040f0985;border-color:#7ea98b3d;box-shadow:inset 3px 0 #7ea98b38}.menu-command-index,.menu-command-copy small,.menu-command-arrow{font-family:Consolas,Courier New,monospace}.menu-command-index{color:#a7ffc080;align-self:start;padding-top:4px;font-size:10px}.menu-command-copy{gap:1px;display:grid}.menu-command-copy strong{letter-spacing:.12em;font-size:17px;font-weight:700}.menu-command-copy strong em{color:#a6ceb280;letter-spacing:.16em;vertical-align:middle;margin-left:8px;font-family:Consolas,Courier New,monospace;font-size:9px;font-style:normal;font-weight:400}.menu-command-copy small{color:#d3ffe07a;letter-spacing:.08em;font-size:9px}.menu-command-arrow{color:var(--menu-green);font-size:18px}.menu-footer{color:#cbffda6b;letter-spacing:.12em;border-top:1px solid #8bffac33;grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr);align-items:end;gap:24px;padding-top:15px;font-size:8px;animation:.76s cubic-bezier(.22,1,.36,1) 1.34s both menu-ui-reveal;display:grid}.menu-save-state,.menu-version{gap:2px;display:grid}.menu-save-state strong,.menu-version strong{color:#e2ffeab8;font-size:9px;font-weight:400}.menu-text-action{color:#ffb4aa9e;background:0 0;border:0;border-bottom:1px solid #ff9a8e5c;width:max-content;margin-top:2px;padding:0;font-size:9px}.menu-text-action:hover,.menu-text-action:focus-visible{color:#ffc2ba;outline:none}.menu-utilities{justify-items:center;gap:5px;display:grid}.menu-utilities>div{gap:18px;display:flex}.menu-utilities button{color:#d8ffe399;letter-spacing:.08em;background:0 0;border:0;border-bottom:1px solid #8bffac38;padding:0 0 2px;font-size:10px}.menu-utilities button:hover,.menu-utilities button:focus-visible{border-color:var(--menu-green);color:var(--menu-green-bright);outline:none}.menu-utilities .menu-internal-test-button{color:var(--menu-green-bright);border-color:#76ff9d85;box-shadow:0 3px 12px #46ff7c14}.menu-version{text-align:right;justify-items:end}@keyframes menu-signal-pulse{50%{opacity:.42;box-shadow:0 0 5px #76ff9d80}}@keyframes menu-ui-reveal{0%{opacity:0;filter:blur(3px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:translate(0,0)}}@media (height<=760px){.menu-shell{padding-top:20px;padding-bottom:18px}.menu-title-cn{font-size:72px}.menu-title-en{margin-top:13px}.menu-role-line{margin-top:16px}.menu-command-list{margin-top:24px}.menu-command,.menu-command--primary{min-height:58px}}.exploration-milestone-strip{background:#030c1080;border:1px solid #74e1ff21;flex-wrap:wrap;gap:5px;padding:7px 9px;display:flex}.exploration-milestone-strip>span{color:#c9e0e580;border:1px solid #aecad124;align-items:center;gap:5px;padding:3px 6px;font-size:9px;display:inline-flex}.exploration-milestone-strip i{background:0 0;border:1px solid #aecad157;width:6px;height:6px}.exploration-milestone-strip>span.is-complete{color:#b8ffcdc7;border-color:#76ff9d52}.exploration-milestone-strip>span.is-complete i{border-color:var(--game-green,#76ff9d);background:var(--game-green,#76ff9d);box-shadow:0 0 7px #76ff9d66}.editor-progression-overview{background:#141a20;border:1px solid #34404c;gap:12px;padding:13px;display:grid}.editor-progression-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.editor-progression-head h3,.editor-progression-head p{margin:0}.editor-progression-head h3{color:#e7edf3;font-size:14px}.editor-progression-head p:not(.eyebrow){color:#87939e;margin-top:3px;font-size:10px}.editor-progression-health{color:#8cdbad;background:#183125;border:1px solid #35634c;flex:none;padding:4px 8px;font-size:10px}.editor-progression-health.is-warning{color:#efbd77;background:#302619;border-color:#76572e}.editor-progression-flow{grid-template-columns:minmax(0,.85fr) minmax(0,.9fr) minmax(0,1.3fr) minmax(0,1.2fr);gap:18px;display:grid}.editor-progression-stage{background:#1a2027;border:1px solid #34404b;align-content:start;gap:6px;min-width:0;padding:10px;display:grid;position:relative}.editor-progression-stage:not(:last-child):after{content:"→";color:#5f7790;width:10px;font-size:11px;position:absolute;top:50%;left:calc(100% + 4px)}.editor-progression-stage>span{color:#6f8aaa;letter-spacing:.08em;font-family:Cascadia Mono,monospace;font-size:8px}.editor-progression-stage>strong{color:#dfe6ed;font-size:11px;font-weight:600}.editor-progression-stage>small{color:#99a6b2;overflow-wrap:anywhere;background:#151a20;border-left:2px solid #455669;gap:2px;min-width:0;padding:5px 6px;font-size:9px;display:grid}.editor-progression-stage>small b{color:#cfd8e1;font-weight:600}.editor-progression-stage>small code,.editor-milestone-config code{color:#84bfff;font-family:Cascadia Mono,monospace;font-size:9px}.editor-progression-stage>small em{color:#6f7b86;font-size:8px;font-style:normal}.editor-progression-stage>small.is-empty{color:#c08e74;border-left-color:#825943}.editor-progression-stage--milestones>small{border-left-color:#467f66}.editor-progression-issues{border-top:1px solid #2e3741;flex-wrap:wrap;gap:6px;padding-top:9px;display:flex}.editor-progression-issues span{color:#d6a969;background:#251f18;border:1px solid #59432b;padding:3px 6px;font-size:9px}.editor-flag-suggestions{background:#13191f;border:1px solid #33404b;gap:7px;margin:10px 0;padding:9px;display:grid}.editor-flag-suggestions>span{color:#8795a2;font-size:9px}.editor-flag-suggestions>div{flex-wrap:wrap;gap:5px;display:flex}.editor-flag-suggestions button{color:#99a7b4;background:#1d252d;border:1px solid #3b4854;padding:4px 7px;font-family:Cascadia Mono,monospace;font-size:9px}.editor-flag-suggestions button.is-active{color:#acd5ff;background:#1d3956;border-color:#4d8fd8}.editor-area-event-card--milestone{border-left:3px solid #54c58b}.editor-area-event-card--milestone>summary small{color:#7fd2a3}.editor-milestone-toggle{align-self:end;min-height:34px}.editor-milestone-config{background:#15241d;border:1px solid #356048;gap:9px;padding:10px;display:grid}.editor-milestone-config>p{color:#8bb49d;margin:0;font-size:9px}@media (width<=1440px){.editor-progression-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-progression-stage:not(:last-child):after{content:none}}@media (prefers-reduced-motion:reduce){.menu-atmosphere,.menu-topline,.menu-overline,.menu-title,.menu-role-line,.menu-tagline,.menu-command-list,.menu-footer,.menu-live-dot{animation:none}.menu-cyber-backdrop{opacity:.72}}.panel,.scene-panel,.debug-drawer{border:1px solid var(--border);background:linear-gradient(180deg, #ffffff0a, transparent 20%), var(--panel);box-shadow:var(--shadow-lg);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);position:relative;overflow:hidden}.panel:before,.scene-panel:before,.debug-drawer:before{content:"";pointer-events:none;border-top:1px solid #ffffff14;position:absolute;inset:0}.topbar h1,.subpanel h2,.debug-drawer h2{margin:0}.debug-actions,.topbar-meta,.dialogue-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.menu-access-overlay{z-index:4;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#03060b94;place-items:center;padding:28px;display:grid;position:absolute;inset:0}.menu-access-card{width:min(420px,100%);box-shadow:var(--shadow-lg);background:linear-gradient(#ffffff0f,#0000 22%),#070a0ff0;border:1px solid #ffffff24;border-radius:22px 6px;gap:12px;padding:22px;display:grid}.menu-access-card h2,.menu-access-card p{margin:0}.menu-access-card h2{color:#fff3d2;font-size:24px}.menu-access-card p:not(.eyebrow){color:var(--text-soft)}.menu-access-card input{color:#fff;background:#03070cad;border:1px solid #ffffff29;border-radius:12px 3px;width:100%;min-height:42px;padding:9px 11px}.menu-access-error{color:#ffd6d3;font-size:13px}.menu-access-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.menu-shell .menu-access-overlay{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#000703b8}.menu-shell .menu-access-card{width:min(460px,100%);box-shadow:inset 3px 0 0 var(--menu-green), 0 28px 80px #0000008f;background:linear-gradient(90deg,#329c4f1a,#0000 42%),#020c07f5;border:1px solid #76ff9d85;border-radius:0}.menu-shell .menu-access-card h2{color:var(--menu-green-bright);font-family:Microsoft YaHei,sans-serif;font-size:25px}.menu-shell .menu-access-card p:not(.eyebrow),.menu-shell .menu-access-field span{color:#d7eedead}.menu-access-field{letter-spacing:.08em;gap:7px;font-family:Consolas,Courier New,monospace;font-size:11px;display:grid}.menu-shell .menu-access-card input{background:#000804d1;border-color:#76ff9d52;border-radius:0;outline:none;font-family:Consolas,Courier New,monospace}.menu-shell .menu-access-card input:focus{border-color:var(--menu-green);box-shadow:0 0 0 2px #76ff9d1f}.menu-shell .menu-access-error{color:#ff9e9e}.menu-shell .menu-access-actions button{color:#dcf4e2b8;background:#030f08b8;border:1px solid #8bffac47;border-radius:0;min-height:38px;padding:0 15px;font-family:Consolas,Courier New,monospace}.menu-shell .menu-access-actions button[type=submit]{border-color:var(--menu-green);color:var(--menu-green-bright);background:#36a05329}.eyebrow{color:var(--accent);letter-spacing:.22em;text-transform:uppercase;margin:0 0 8px;font-size:11px}.topbar{flex:none;justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.topbar-copy{gap:4px;display:grid}.topbar h1{font-size:28px;line-height:1.1}.topbar-description{color:var(--text-soft);margin:0;font-size:14px}.topbar-meta{justify-content:flex-end}.meta-chip,.scene-overlay span,.bg-tag{color:var(--text-soft);background:#ffffff0d;border:1px solid #ffffff1f;border-radius:999px;padding:5px 10px;font-size:12px}.layout-grid{flex:auto;min-height:0;position:relative;overflow:hidden}.panel{border-radius:22px 8px;min-height:0;padding:12px}.status-panel,.info-panel{z-index:7;will-change:transform;flex-direction:column;gap:8px;transition:transform .18s;display:flex;position:absolute;top:0;bottom:0}.status-panel,.info-panel,.scene-panel{min-height:0}.info-panel{overflow:hidden}.status-panel{width:320px;left:0;overflow:visible;transform:translate(calc(-100% - 16px))}.status-panel--open{z-index:10;transform:translate(0)}.info-panel{width:340px;right:0;transform:translate(calc(100% + 16px))}.info-panel--open{transform:translate(0)}.side-toggle{z-index:8;color:#fff4d2;width:34px;height:86px;box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(#ffffff14,#ffffff08),#04080ebd;border:1px solid #ffffff29;font-size:22px;line-height:1;transition:left .18s,right .18s,border-color .12s,background .12s;position:absolute;top:50%;transform:translateY(-50%)}.side-toggle:hover{background:linear-gradient(#d5b06f29,#ffffff0a),#04080ed1;border-color:#d5b06f75}.side-toggle--left{border-radius:0 14px 14px 0;left:0}.side-toggle--left.side-toggle--open{left:320px}.side-toggle--right{border-radius:14px 0 0 14px;right:0}.side-toggle--right.side-toggle--open{right:340px}.subpanel{background:linear-gradient(180deg, #9dc5e50a, transparent 22%), var(--panel-soft);border:1px solid #ffffff14;border-radius:16px 4px;min-height:0;padding:10px}.status-panel .subpanel{gap:8px;display:grid}.subpanel-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.subpanel h2,.subpanel h3{color:#fff3d2;margin:0;font-size:13px;line-height:1.2}.subpanel ul,.menu-meta-card p{color:var(--text-soft);padding-left:18px}.status-panel .subpanel:last-child,.info-panel .subpanel{min-height:0}.stat-list{display:none}.calendar-card,.balance-card,.summary-row{background:linear-gradient(#ffffff0f,#ffffff05);border:1px solid #ffffff14;border-radius:14px 4px;justify-content:space-between;align-items:center;padding:8px 10px;display:flex}.calendar-card{gap:6px;display:grid}.calendar-card>div,.bill-card-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.balance-card span,.summary-row span,.calendar-card span,.bill-card-head span{letter-spacing:.12em;text-transform:uppercase;color:var(--text-soft);font-size:10px}.balance-card strong,.summary-row strong,.calendar-card strong,.bill-card-head strong{color:#fff;font-size:16px;line-height:1.1}.calendar-card strong{white-space:nowrap;font-size:17px}.calendar-card small{color:var(--text-faint);font-size:11px}.currency-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.stat-stack{gap:8px;display:grid}.stat-card{background:linear-gradient(#9dc5e514,#ffffff05);border:1px solid #ffffff14;border-radius:14px 4px;padding:8px 10px}.stat-card-head{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.stat-card-head dt{letter-spacing:.12em;text-transform:uppercase;color:var(--text-soft);font-size:10px}.stat-card-head dd{color:#fff;margin:0;font-size:15px}.stat-meter{grid-template-columns:repeat(var(--meter-columns,5), 1fr);gap:3px;display:grid}.day-progress,.bill-progress{gap:5px;display:grid}.day-progress{background:#ffffff0f;border:1px solid #ffffff14;border-radius:999px;grid-template-columns:repeat(5,minmax(0,1fr));padding:2px;position:relative;overflow:hidden}.day-progress:before{width:calc((100% - 4px) * var(--daily-progress,0));content:"";background:linear-gradient(90deg,#9dc5e5d1,#d5b06ff2);border-radius:999px;transition:width .18s;position:absolute;inset:2px auto 2px 2px;box-shadow:0 0 14px #9dc5e542}.bill-progress{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-meter-segment{opacity:.5;background:#ffffff14;border:1px solid #ffffff1a;border-radius:999px;height:8px;box-shadow:inset 0 0 10px #ffffff0d}.day-progress-segment,.bill-progress-segment{z-index:1;opacity:.55;background:#ffffff14;border:1px solid #ffffff1a;border-radius:999px;height:8px;position:relative}.day-progress-segment--active{opacity:1;background:#ffffff47;border-color:#ffffff2e;box-shadow:inset 0 0 10px #ffffff29}.bill-progress-segment--active{opacity:1;background:linear-gradient(90deg,#ffc85cc7,#da7d78e6);box-shadow:0 0 12px #da7d7838}.stat-meter-segment--safe{opacity:1;background:linear-gradient(90deg,#61ffadb3,#82ffd1f2);box-shadow:0 0 10px #61ffad59,0 0 18px #61ffad29}.bill-card,.bill-payment-gate{gap:7px;display:grid}.bill-card{background:linear-gradient(#ffffff0a,#ffffff05);border:1px solid #ffffff14;border-radius:14px 4px;padding:8px 10px}.bill-card p,.bill-payment-gate p{color:var(--text-soft);margin:0}.bill-countdown{font-size:11px;line-height:1.35}.bill-card-head strong{text-align:right}.bill-card--due{border-color:#da7d7847}.bill-payment-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.bill-payment-gate{background:linear-gradient(#da7d781a,#ffffff05);border:1px solid #da7d7838;border-radius:14px 4px;padding:12px 14px}.bill-payment-gate strong{color:var(--accent)}.attribute-radar{gap:6px;display:grid}.attribute-radar svg{width:100%;height:118px;min-height:0}.radar-grid,.radar-axis{fill:#9dc5e50f;stroke:#ffffff29;stroke-width:.8px}.radar-axis{fill:none}.radar-value{fill:#d5b06f3d;stroke:#ffecbde0;stroke-width:1.2px}.radar-ai-value{fill:none;stroke:#2ab7fff2;stroke-width:1.5px;filter:drop-shadow(0 0 3px #2ab7ff8c)}.radar-label{fill:#f6f3ebb8;text-anchor:middle;dominant-baseline:middle;font-size:4.5px;font-weight:700}.attribute-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px;display:grid}.attribute-list div{color:var(--text-soft);justify-content:space-between;gap:8px;font-size:11px;line-height:1.25;display:flex}.attribute-list dd{color:#fff4d2;align-items:baseline;gap:4px;margin:0;display:flex}.attribute-list dd span{color:#2ab7ff;font-weight:800}.attribute-subpanel{position:relative;overflow:visible}.ai-assistant-button{color:#b9eaff;background:#2ab7ff14;border:1px solid #2ab7ff52;border-radius:999px;padding:4px 8px;font-size:11px}.ai-assistant-panel{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);opacity:0;pointer-events:none;background:linear-gradient(#2ab7ff1a,#ffffff08),#050a11f0;border:1px solid #2ab7ff33;border-radius:16px 5px;gap:10px;width:292px;max-height:min(520px,100vh - 150px);padding:12px;transition:opacity .18s,transform .18s;display:grid;position:absolute;top:auto;bottom:0;left:100%;overflow:auto;transform:translate(-16px);box-shadow:0 18px 48px #00000061}.ai-assistant-panel--open{opacity:1;pointer-events:auto;transform:translate(0)}.ai-assistant-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.ai-assistant-head strong{color:#b9eaff;display:block}.ai-assistant-head p{color:var(--text-soft);margin:2px 0 0;font-size:12px}.ai-assistant-head .ghost-button{border-radius:10px 3px;padding:6px 8px;font-size:12px}.ai-attribute-list{gap:7px;display:grid}.ai-attribute-row{background:#ffffff09;border:1px solid #ffffff14;border-radius:12px 4px;gap:5px;padding:8px;display:grid}.ai-attribute-row-head{color:var(--text-soft);justify-content:space-between;gap:8px;font-size:12px;display:flex}.ai-attribute-row-head strong{color:#b9eaff;gap:6px;display:flex}.ai-attribute-row-head small{color:var(--text-faint);font-size:11px}.ai-attribute-meter{background:#ffffff12;border:1px solid #ffffff1a;border-radius:999px;height:8px;overflow:hidden}.ai-attribute-meter span{width:calc(100% * var(--ai-attribute-progress,0));border-radius:inherit;background:linear-gradient(90deg,#2ab7ff99,#78dcfff2);height:100%;transition:width .14s;display:block;box-shadow:0 0 12px #2ab7ff4d}.ai-attribute-control{grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;gap:7px;display:grid}.ai-attribute-step{text-align:center;color:#b9eaff;background:#2ab7ff14;border:1px solid #2ab7ff3d;border-radius:8px 3px;width:28px;height:24px;min-height:0;padding:0;font-size:16px;font-weight:800;line-height:1}.ai-attribute-step--plus{color:#fff3d2;background:#d5b06f1f;border-color:#d5b06f47}.ai-attribute-step:not(:disabled):hover{background:#2ab7ff29;border-color:#2ab7ff94}.ai-attribute-step--plus:not(:disabled):hover{background:#d5b06f33;border-color:#d5b06f94}.ai-attribute-step:disabled{cursor:not-allowed;opacity:.34}@media (height<=820px){.panel{padding:10px}.status-panel{gap:7px}.status-panel .subpanel{gap:6px;padding:9px}.calendar-card,.balance-card,.stat-card,.bill-card{padding:7px 9px}.attribute-radar svg{height:96px}.attribute-list{gap:4px 8px}}.stat-meter-segment--warning{opacity:1;background:linear-gradient(90deg,#ffc85ccc,#ff924cf2);box-shadow:0 0 10px #ffb74d52,0 0 18px #ff924c29}.stat-meter-segment--danger{opacity:1;background:linear-gradient(90deg,#ff5b70d1,#ff467ef5);box-shadow:0 0 10px #ff5b7061,0 0 18px #ff467e33}.scene-panel{z-index:1;cursor:pointer;border-radius:30px 8px;height:100%;min-height:0;position:absolute;inset:0}.scene-visual{background:#000;min-height:0;position:absolute;inset:0;overflow:hidden;container-type:inline-size}.scene-art-stage{z-index:0;background:#000;position:absolute;inset:0;overflow:hidden}.scene-art-frame{opacity:1;background:#000;position:absolute;inset:0}.scene-art-frame--current{z-index:1}.scene-art-frame--previous{z-index:2;pointer-events:none;animation:.32s ease-in forwards scene-art-fade-out}.scene-art-frame--entering{opacity:0;animation:.44s ease-out .26s forwards scene-art-fade-in}.scene-art-media{position:absolute;inset:0;overflow:hidden}.scene-art{object-fit:cover;width:100%;height:100%;image-rendering:pixelated}.scene-art--fallback{background:radial-gradient(circle at 0 0,#d5b06f1f,#0000 26%),linear-gradient(#43597d 0%,#273249 44%,#10151d 100%);width:100%;height:100%}.ascii-image-overlay{z-index:1;pointer-events:none;width:100%;height:100%;image-rendering:pixelated;mix-blend-mode:normal;display:block;position:absolute;inset:0}.ascii-image-overlay--editor-background{z-index:0}@keyframes scene-art-fade-out{0%{opacity:1}to{opacity:0}}@keyframes scene-art-fade-in{0%{opacity:0}to{opacity:1}}.scene-character{z-index:1;pointer-events:none;max-width:none;max-height:none;opacity:var(--scene-character-opacity,1);filter:drop-shadow(0 18px 24px #00000057);will-change:opacity, transform, filter;transition:transform .32s cubic-bezier(.22,1,.36,1),filter .28s,opacity .28s;position:absolute;bottom:10%;transform:translate(-50%)}.scene-character-visual{transform-origin:50% 84%;width:100%;position:relative}.scene-character-image{object-fit:contain;width:100%;max-width:none;max-height:none;image-rendering:pixelated;transform-origin:50% 84%;display:block}.scene-character-visual[class*=scene-character-image--motion-]{animation-duration:var(--character-motion-duration,0s);will-change:transform, filter, opacity;animation-fill-mode:both}.scene-character-image--motion-happy-hop{animation-name:character-motion-happy-hop;animation-timing-function:cubic-bezier(.22,1,.36,1)}.scene-character-image--motion-search-scan{animation-name:character-motion-search-scan;animation-timing-function:linear}.scene-character-image--motion-surprise-pop{animation-name:character-motion-surprise-pop;animation-timing-function:cubic-bezier(.18,.9,.28,1.25)}.scene-character-image--motion-nod{animation-name:character-motion-nod;animation-timing-function:ease-in-out}.scene-character-image--motion-shake-head{animation-name:character-motion-shake-head;animation-timing-function:ease-in-out}.scene-character-image--motion-nervous-tremble{animation-name:character-motion-nervous-tremble;animation-timing-function:linear}.scene-character-image--motion-angry-shake{animation-name:character-motion-angry-shake;animation-timing-function:linear}.scene-character-image--motion-dejected-drop{animation-name:character-motion-dejected-drop;animation-timing-function:ease-in-out}.scene-character-image--motion-emphasis-pulse{animation-name:character-motion-emphasis-pulse;animation-timing-function:cubic-bezier(.22,1,.36,1)}.scene-character-image--motion-recoil{animation-name:character-motion-recoil;animation-timing-function:cubic-bezier(.22,1,.36,1)}.scene-character-image--motion-breathe{animation-name:character-motion-breathe;animation-timing-function:ease-in-out}.scene-character-image--motion-signal-glitch{animation-name:character-motion-signal-glitch;animation-timing-function:step-end}@keyframes character-motion-happy-hop{0%,20%,40%,60%,to{transform:translateY(0)scale(1)}10%{transform:translateY(-13px)scale(1.012)}30%{transform:translateY(-10px)scale(1.009)}50%{transform:translateY(-7px)scale(1.006)}}@keyframes character-motion-search-scan{0%,to{transform:translate(0)}25%{transform:translateX(var(--character-search-left-distance,-28cqw))}75%{transform:translateX(var(--character-search-right-distance,28cqw))}}.chapter-intro-overlay{z-index:1000;cursor:default;isolation:isolate;background:#000;position:fixed;inset:0;overflow:hidden}.chapter-intro-overlay:after{z-index:10;content:"";opacity:0;pointer-events:none;background:#000;position:absolute;inset:0}.chapter-intro-overlay--closing:after{animation:.42s ease-in forwards chapter-intro-close-to-black}.chapter-intro-overlay--blackout,.chapter-intro-overlay--reveal{cursor:default;pointer-events:none}.chapter-intro-overlay--reveal{will-change:opacity;animation:.9s cubic-bezier(.22,.72,.32,1) .16s both chapter-scene-reveal}.chapter-intro-visual{color:#f3f9f7;isolation:isolate;background:#071016;width:100%;height:100%;position:relative;overflow:hidden}.chapter-intro-visual--runtime{animation:4.6s linear both chapter-intro-stage}.chapter-intro-background{z-index:-5;object-fit:cover;filter:saturate(.72)contrast(1.08)brightness(.66);width:106%;height:106%;position:absolute;inset:-3%}.chapter-intro-visual--runtime .chapter-intro-background{animation:4.6s cubic-bezier(.2,.7,.2,1) both chapter-intro-background-drift}.chapter-intro-background--empty{background:radial-gradient(circle at 68% 38%,#48cbb133,#0000 28%),linear-gradient(145deg,#111b23,#030608 70%)}.chapter-intro-shade{z-index:-4;background:linear-gradient(90deg,#010508f0 0%,#02080bbd 38%,#02050829 72%),linear-gradient(#00000057,#0000 36%,#0000009e);position:absolute;inset:0}.chapter-intro-grid{z-index:-3;opacity:.24;background-image:linear-gradient(#6fffd314 1px,#0000 1px),linear-gradient(90deg,#6fffd30f 1px,#0000 1px);background-size:72px 72px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#000,#0000 78%);mask-image:linear-gradient(90deg,#000,#0000 78%)}.chapter-intro-scan{z-index:-2;opacity:0;mix-blend-mode:screen;background:linear-gradient(#0000,#78ffd817,#b8ffea47,#0000);width:100%;height:18%;position:absolute;top:-18%;left:0}.chapter-intro-visual--runtime .chapter-intro-scan{animation:2.1s cubic-bezier(.25,.55,.3,1) .42s both chapter-intro-scan}.chapter-intro-copy{width:min(680px,62vw);position:absolute;top:50%;left:clamp(42px,8vw,150px);transform:translateY(-48%)}.chapter-intro-kicker{color:#78f1cb;letter-spacing:.42em;margin:0 0 10px;font-family:Cascadia Mono,SFMono-Regular,monospace;font-size:clamp(10px,.85vw,14px);font-weight:700}.chapter-intro-number{color:#d9f2eac7;letter-spacing:.18em;margin:0 0 clamp(7px,1.2vh,14px);font-family:Cascadia Mono,SFMono-Regular,monospace;font-size:clamp(17px,1.45vw,26px);font-weight:600;line-height:1}.chapter-intro-copy h1{color:#f5faf8;letter-spacing:.055em;text-shadow:0 8px 30px #0000008c;margin:0;font-size:clamp(48px,7vw,118px);font-weight:650;line-height:1.02}.chapter-intro-rule{align-items:center;width:min(560px,58vw);margin:clamp(22px,3.5vh,42px) 0 20px;display:flex}.chapter-intro-rule i{border:2px solid #91f6d8;flex:0 0 9px;width:9px;height:9px;transform:rotate(45deg);box-shadow:0 0 14px #6cffd2b3}.chapter-intro-rule span{transform-origin:0;background:linear-gradient(90deg,#7df4d1d9,#7df4d10f);flex:auto;height:1px;margin-left:12px}.chapter-intro-meta{grid-template-columns:max-content minmax(210px,1fr);gap:clamp(24px,4vw,68px);margin:0;display:grid}.chapter-intro-meta div{gap:7px;min-width:0;display:grid}.chapter-intro-meta dt{color:#9ed3c3b3;letter-spacing:.24em;font-family:Cascadia Mono,SFMono-Regular,monospace;font-size:clamp(9px,.7vw,12px)}.chapter-intro-meta dd{color:#e7f2ee;letter-spacing:.075em;white-space:nowrap;overflow-wrap:normal;word-break:keep-all;margin:0;font-size:clamp(17px,1.55vw,27px);font-weight:500}.chapter-intro-corner{text-align:right;justify-items:end;gap:5px;font-family:Cascadia Mono,SFMono-Regular,monospace;display:grid;position:absolute;right:clamp(28px,4.5vw,78px)}.chapter-intro-corner--top{top:clamp(24px,5vh,62px)}.chapter-intro-corner--bottom{text-align:left;justify-items:start;bottom:clamp(22px,4vh,48px);left:clamp(30px,4vw,68px);right:auto}.chapter-intro-corner span{color:#a4d3c68f;letter-spacing:.16em;font-size:clamp(8px,.62vw,11px)}.chapter-intro-corner b{color:#def5eddb;letter-spacing:.08em;font-size:clamp(9px,.72vw,12px);font-weight:500}.chapter-intro-visual--runtime .chapter-intro-kicker,.chapter-intro-visual--runtime .chapter-intro-number,.chapter-intro-visual--runtime .chapter-intro-copy h1,.chapter-intro-visual--runtime .chapter-intro-rule,.chapter-intro-visual--runtime .chapter-intro-meta,.chapter-intro-visual--runtime .chapter-intro-corner{opacity:0;animation:.72s cubic-bezier(.22,1,.36,1) forwards chapter-intro-copy-in}.chapter-intro-visual--runtime .chapter-intro-kicker{animation-delay:.52s}.chapter-intro-visual--runtime .chapter-intro-number{animation-delay:.61s}.chapter-intro-visual--runtime .chapter-intro-copy h1{animation-delay:.69s}.chapter-intro-visual--runtime .chapter-intro-rule{animation-delay:.93s}.chapter-intro-visual--runtime .chapter-intro-meta{animation-delay:1.12s}.chapter-intro-visual--runtime .chapter-intro-corner{animation-delay:.76s}.chapter-intro-controls{z-index:4;opacity:.7;align-items:center;gap:12px;display:flex;position:absolute;bottom:clamp(20px,4vh,46px);right:clamp(26px,4.5vw,76px)}.chapter-intro-controls span{color:#c4e3daa6;font-family:Cascadia Mono,monospace;font-size:10px}.chapter-intro-controls b{color:#def6eec7;letter-spacing:.06em;background:#020a0c70;border:1px solid #87edcf42;min-height:32px;padding:6px 12px;font-size:11px;font-weight:400}.chapter-intro-controls--preview b{place-items:center;display:grid}@keyframes chapter-intro-stage{0%{opacity:0}11%,84%{opacity:1}to{opacity:0}}@keyframes chapter-intro-close-to-black{0%{opacity:0}to{opacity:1}}@keyframes chapter-scene-reveal{0%{opacity:1}to{opacity:0}}@keyframes chapter-intro-background-drift{0%{transform:scale(1.035)translate(-.4%)}to{transform:scale(1.095)translate(.6%,-.5%)}}@keyframes chapter-intro-scan{0%{opacity:0;transform:translateY(0)}8%{opacity:.72}84%{opacity:.32}to{opacity:0;transform:translateY(720%)}}@keyframes chapter-intro-copy-in{0%{opacity:0;filter:blur(5px);transform:translate(-22px,8px)}to{opacity:1;filter:blur();transform:translate(0,0)}}.editor-chapter-intro-toolbar,.editor-chapter-intro-item>header{justify-content:space-between;align-items:center;gap:14px;display:flex}.editor-chapter-intro-toolbar{border:1px solid var(--editor-line,#ffffff1a);background:#141920;padding:10px 12px}.editor-chapter-intro-toolbar>div:first-child,.editor-chapter-intro-item>header>div:first-child{gap:3px;display:grid}.editor-chapter-intro-toolbar strong,.editor-chapter-intro-item>header strong{color:#e6ecf2;font-size:12px}.editor-chapter-intro-toolbar span,.editor-chapter-intro-item>header small{color:#7e8995;font-family:Cascadia Mono,monospace;font-size:9px}.editor-chapter-intro-list{gap:12px;display:grid}.editor-chapter-intro-item{border:1px solid var(--editor-line,#ffffff1a);background:#151a21;gap:12px;padding:12px;display:grid}.editor-chapter-intro-item>header{border-bottom:1px solid var(--editor-line,#ffffff1a);padding-bottom:10px}.editor-chapter-intro-placement{background:#172c3d;border:1px solid #315f82;justify-self:start;padding:2px 6px;color:#9bcffc!important;font-size:9px!important}.editor-chapter-intro-placement--after{background:#2d261a;border-color:#68542f;color:#e4c484!important}.editor-chapter-intro-workbench{grid-template-columns:minmax(380px,1.35fr) minmax(260px,.65fr);align-items:start;gap:14px;display:grid}.editor-chapter-intro-preview{aspect-ratio:1920/950;background:#05080b;border:1px solid #37424d;min-width:0;overflow:hidden;container-type:inline-size}.chapter-intro-visual--preview .chapter-intro-copy{width:35.4167cqw;left:7.8125cqw}.chapter-intro-visual--preview .chapter-intro-kicker{margin-bottom:.5208cqw;font-size:.7292cqw}.chapter-intro-visual--preview .chapter-intro-number{margin-bottom:.625cqw;font-size:1.3542cqw}.chapter-intro-visual--preview .chapter-intro-copy h1{font-size:6.1458cqw}.chapter-intro-visual--preview .chapter-intro-rule{width:29.1667cqw;margin:2.1875cqw 0 1.0417cqw}.chapter-intro-visual--preview .chapter-intro-rule i{border-width:.1042cqw;flex-basis:.4688cqw;width:.4688cqw;height:.4688cqw}.chapter-intro-visual--preview .chapter-intro-meta{grid-template-columns:max-content minmax(10.9375cqw,1fr);gap:3.5417cqw}.chapter-intro-visual--preview .chapter-intro-meta div{gap:.3646cqw}.chapter-intro-visual--preview .chapter-intro-meta dt{font-size:.625cqw}.chapter-intro-visual--preview .chapter-intro-meta dd{font-size:1.4063cqw}.chapter-intro-visual--preview .chapter-intro-corner{gap:.2604cqw;right:4.0625cqw}.chapter-intro-visual--preview .chapter-intro-corner--top{top:3.2292cqw}.chapter-intro-visual--preview .chapter-intro-corner--bottom{bottom:2.5cqw;left:3.5417cqw;right:auto}.chapter-intro-visual--preview .chapter-intro-corner span{font-size:.5729cqw}.chapter-intro-visual--preview .chapter-intro-corner b{font-size:.625cqw}.chapter-intro-visual--preview .chapter-intro-controls--preview{gap:.625cqw;bottom:2.3958cqw;right:4.0625cqw}.chapter-intro-visual--preview .chapter-intro-controls--preview span{font-size:.5208cqw}.chapter-intro-visual--preview .chapter-intro-controls--preview b{min-height:1.6667cqw;padding:.3125cqw .625cqw;font-size:.5729cqw}.editor-chapter-intro-fields{gap:9px;display:grid}.editor-chapter-intro-empty{text-align:center;background:#13181e;border:1px dashed #35414d;justify-items:center;gap:6px;padding:44px 24px;display:grid}.editor-chapter-intro-empty strong{color:#dbe2e9;font-size:13px}.editor-chapter-intro-empty p{color:#808b96;max-width:620px;margin:0;font-size:11px;line-height:1.7}@media (width<=1100px){.editor-chapter-intro-workbench{grid-template-columns:1fr}}@media (width<=720px){.chapter-intro-copy{width:calc(100vw - 56px);left:28px}.chapter-intro-copy h1{font-size:clamp(40px,14vw,72px)}.chapter-intro-meta{grid-template-columns:1fr;gap:14px}.chapter-intro-corner--top{display:none}.editor-chapter-intro-toolbar,.editor-chapter-intro-item>header{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion:reduce){.chapter-intro-visual--runtime,.chapter-intro-visual--runtime .chapter-intro-background,.chapter-intro-visual--runtime .chapter-intro-scan,.chapter-intro-visual--runtime .chapter-intro-kicker,.chapter-intro-visual--runtime .chapter-intro-number,.chapter-intro-visual--runtime .chapter-intro-copy h1,.chapter-intro-visual--runtime .chapter-intro-rule,.chapter-intro-visual--runtime .chapter-intro-meta,.chapter-intro-visual--runtime .chapter-intro-corner{opacity:1;filter:none;animation:none;transform:none}.chapter-intro-overlay--closing:after{animation-duration:.12s}.chapter-intro-overlay--reveal{animation-duration:.18s;animation-delay:0s}}@keyframes character-motion-surprise-pop{0%,to{transform:translateY(0)scale(1)}20%{transform:translateY(-15px)scale(1.045)}46%{transform:translateY(2px)scale(.992)}70%{transform:translateY(-4px)scale(1.012)}}@keyframes character-motion-nod{0%,38%,76%,to{transform:translateY(0)scaleY(1)}20%,58%{transform:translateY(7px)scaleY(.988)}}@keyframes character-motion-shake-head{0%,46%,92%,to{transform:translate(0)rotate(0)}12%,58%{transform:translate(-9px)rotate(-.8deg)}34%,80%{transform:translate(9px)rotate(.8deg)}}@keyframes character-motion-nervous-tremble{0%,to{transform:translate(0)rotate(0)}10%{transform:translate(-2px,1px)rotate(-.2deg)}20%{transform:translate(2px,-1px)rotate(.2deg)}30%{transform:translate(-1px,-1px)rotate(-.15deg)}40%{transform:translate(2px,1px)rotate(.2deg)}50%{transform:translate(-2px)rotate(-.2deg)}60%{transform:translate(1px,-1px)rotate(.15deg)}70%{transform:translate(-1px,1px)rotate(-.15deg)}80%{transform:translate(2px)rotate(.2deg)}90%{transform:translate(-2px,-1px)rotate(-.2deg)}}@keyframes character-motion-angry-shake{0%,to{transform:translate(0)rotate(0)}12%{transform:translate(-10px)rotate(-.7deg)}24%{transform:translate(11px)rotate(.8deg)}36%{transform:translate(-9px)rotate(-.6deg)}48%{transform:translate(10px)rotate(.7deg)}60%{transform:translate(-7px)rotate(-.5deg)}72%{transform:translate(7px)rotate(.5deg)}84%{transform:translate(-4px)rotate(-.3deg)}}@keyframes character-motion-dejected-drop{0%,to{transform:translateY(0)rotate(0)}42%,72%{transform:translateY(13px)rotate(-1deg)scaleY(.992)}}@keyframes character-motion-emphasis-pulse{0%,to{transform:translateY(0)scale(1)}34%,62%{transform:translateY(-5px)scale(1.045)}}@keyframes character-motion-recoil{0%,to{transform:translate(0)scale(1)rotate(0)}22%{transform:translate(15px,5px)scale(.965)rotate(.8deg)}52%{transform:translate(-4px,-2px)scale(1.012)rotate(-.25deg)}}@keyframes character-motion-breathe{0%,to{transform:translateY(0)scale(1)}48%,62%{transform:translateY(-3px)scale(1.014)}}@keyframes character-motion-signal-glitch{0%,to{filter:none;opacity:1;transform:translate(0)}12%{filter:hue-rotate(35deg)brightness(1.2);opacity:.82;transform:translate(-7px)skew(-1deg)}18%{filter:hue-rotate(-30deg)contrast(1.25);opacity:1;transform:translate(6px)skew(1deg)}34%{filter:none;opacity:.72;transform:translate(0)}39%{filter:hue-rotate(60deg)brightness(1.18);opacity:1;transform:translate(9px)}58%{filter:contrast(1.35);opacity:.86;transform:translate(-5px)}64%{filter:hue-rotate(-45deg);opacity:1;transform:translate(3px)}82%{filter:brightness(1.28);opacity:.9;transform:translate(-2px)}}.scene-character.scene-character--speaking{z-index:2;filter:brightness()drop-shadow(0 22px 28px #0000006b)drop-shadow(0 0 13px #76ff9d24);transform:translate(calc(-50% - 9px))translateY(-12px)}.scene-character--inactive{filter:brightness(.5)saturate(.76)drop-shadow(0 14px 20px #0000004d)}.scene-character--entering{animation:.36s cubic-bezier(.22,1,.36,1) both scene-character-fade-in}.scene-character--exiting{animation:.3s cubic-bezier(.4,0,1,1) both scene-character-fade-out}@keyframes scene-character-fade-in{0%{opacity:0}to{opacity:var(--scene-character-opacity,1)}}@keyframes scene-character-fade-out{0%{opacity:var(--scene-character-opacity,1)}to{opacity:0}}@media (prefers-reduced-motion:reduce){.dialogue-line--revealing .dialogue-glyph,.dialogue-line[class*=dialogue-line--motion-] .dialogue-glyph-motion{opacity:1;filter:none;animation:none;transform:none}.scene-character--entering,.scene-character--exiting,.scene-character-visual[class*=scene-character-image--motion-]{animation-duration:1ms}.scene-character{transition-duration:1ms}}.scene-character--left{left:4%}.scene-character--right{right:4%}.scene-character--center{left:50%;transform:translate(-50%)}.scene-overlay{z-index:2;flex-wrap:wrap;gap:8px;display:flex;position:absolute;inset:16px 18px auto}.scene-hotspot{z-index:3;color:#fff;background:#0d182529;border:1px dashed #ffffffd1;justify-content:flex-start;align-items:flex-start;transition:border-color .14s,background .14s,transform .14s;display:flex;position:absolute}.scene-hotspot span{background:#00000057;padding:4px 6px;font-size:12px;display:inline-block}.scene-hotspot:hover{background:#d5b06f33;border-color:#ffecbde6}.scene-hotspot:disabled{opacity:.48}.scene-hotspot--resolved{background:#92c29a33;border-color:#92c29ad9}.exploration-hitbox,.exploration-npc-target{z-index:3;color:#e9fbff;background:#0d2d3a1f;border:1px dashed #7ce5ffd1;justify-content:flex-start;align-items:flex-start;transition:border-color .14s,background .14s,box-shadow .14s;display:flex;position:absolute}.exploration-hitbox span,.exploration-npc-target span{letter-spacing:.04em;background:#020a10c2;padding:4px 7px;font-size:11px;display:inline-block}.exploration-hitbox:hover,.exploration-npc-target:hover{background:#d5b06f2e;border-color:#ffe8aaf2;box-shadow:inset 0 0 22px #d5b06f1f}.exploration-hitbox--completed{background:#386f4e24;border-color:#92c29ab8}.exploration-hitbox:disabled,.exploration-npc-target:disabled{opacity:.28}.exploration-npc-target{background:#3c2b1214;border-color:#d5b06fc7;justify-content:center;align-items:flex-end}.exploration-map{z-index:7;width:286px;image-rendering:pixelated;background-color:#030c12e6;background-image:linear-gradient(#4586941a 1px,#0000 1px),linear-gradient(90deg,#4586941a 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:8px 8px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #81def26b;border-radius:4px;padding:10px;position:absolute;top:18px;right:18px;box-shadow:0 16px 42px #00000070,inset 0 0 22px #4abbd314}.exploration-map--locked{filter:saturate(.5)}.exploration-map-head{border-bottom:1px solid #81def23d;justify-content:space-between;align-items:flex-start;gap:10px;min-height:37px;padding:0 2px 7px;display:flex}.exploration-map-head div{gap:1px;display:grid}.exploration-map-head span,.exploration-map-head small{color:#b3e8f2a8;letter-spacing:.12em;font-size:9px}.exploration-map-head strong{color:#e8fbff;font-size:12px}.exploration-map-grid{height:156px;position:relative;overflow:hidden}.exploration-map-routes{width:100%;height:100%;position:absolute;inset:0}.exploration-map-routes line{stroke:#6fbfcf61;stroke-width:1.2px;stroke-dasharray:2 2}.exploration-map-node,.exploration-map-exit{color:#d3e7eb8c;background:0 0;border:0;position:absolute;transform:translate(-50%,-50%)}.exploration-map-node{justify-items:center;gap:2px;min-width:64px;padding:3px;display:grid}.exploration-map-node>span{background:#13232a;border:2px solid #97b2b7b3;width:10px;height:10px;box-shadow:0 0 0 2px #030c12d1}.exploration-map-node b{white-space:nowrap;background:#030c12c7;padding:1px 4px;font-size:9px;font-weight:500}.exploration-map-node--available{color:#c7f7ff}.exploration-map-node--available>span{background:#287f92;border-color:#72d5e8;box-shadow:0 0 8px #72d5e8b3}.exploration-map-node--visited>span{border-color:#d5b06f}.exploration-map-node--current{color:#fff0c6}.exploration-map-node--current>span{background:#d5a84d;border-color:#ffe39d;width:13px;height:13px;animation:1.5s steps(2,end) infinite exploration-map-pulse;box-shadow:0 0 11px #ffdb85d6}.exploration-map-node:disabled{cursor:default}.exploration-map-node--locked{opacity:.44}.exploration-map-exit{background:#081115e0;border:1px solid #a9b5b861;min-width:86px;padding:4px 6px;font-size:9px}.exploration-map-exit--available{color:#fff0ba;background:#664814e0;border-color:#ffda80e6;box-shadow:0 0 12px #ffcd5e57}.exploration-map-exit--locked{opacity:.4}.exploration-map-legend{color:#cce7ec9e;border-top:1px solid #81def233;gap:9px;padding:7px 2px 0;font-size:8px;display:flex}.exploration-map-legend span{align-items:center;gap:4px;display:flex}.map-dot{background:#13232a;border:1px solid #97b2b7b3;width:6px;height:6px}.map-dot--current{background:#d5a84d;border-color:#ffe39d}.map-dot--available{background:#287f92;border-color:#72d5e8}@keyframes exploration-map-pulse{0%,to{opacity:1}50%{opacity:.55}}.scene-dialogue{--dialogue-name-width:clamp(88px, 11vw, 152px);--dialogue-name-overhang:clamp(12px, calc((100vw - 1320px) / 2), 240px);--dialogue-column-gap:clamp(22px, 2.6vw, 44px);--dialogue-text-color:#f5f5f5;--dialogue-name-color:#c5c5c5;z-index:4;cursor:pointer;background:linear-gradient(#0000 0%,#0000006b 24%,#000c 58%,#000000f5 100%);border:0;border-radius:0;flex-direction:column;gap:10px;max-height:min(68%,480px);padding:64px max(32px,50% - 620px) 22px;display:flex;position:absolute;bottom:0;left:0;right:0}.dialogue-main{grid-template-columns:var(--dialogue-name-width) minmax(0, 1fr);align-items:start;column-gap:var(--dialogue-column-gap);min-height:0;max-height:clamp(124px,23vh,230px);display:grid}.speaker{color:var(--accent);margin:0;font-size:15px}.speaker--muted{color:var(--text-soft)}.scene-copy-scroll,.tab-body,.report-form-body{scrollbar-gutter:stable;min-height:0;overflow:auto}.scene-copy-scroll{scrollbar-width:thin;scrollbar-color:#ffffff4d transparent;overscroll-behavior:contain;cursor:pointer;min-height:82px;max-height:100%;padding:0 4px 4px}.dialogue-actions,.scene-actions,.backlog-overlay{cursor:default}.dialogue-copy{align-content:start;gap:10px;min-height:0;display:grid}.dialogue-copy p,.scene-note,.card-item p{margin:0}.dialogue-line{color:#fffffff5;white-space:pre-wrap;text-shadow:0 1px 6px #00000057;font-size:18px;font-weight:700;line-height:1.58}.dialogue-glyph{display:inline-block}.dialogue-glyph-motion{will-change:transform, opacity;display:inline-block}.dialogue-line--revealing .dialogue-glyph{opacity:0;filter:blur(2.2px);animation:dialogue-glyph-focus var(--dialogue-glyph-focus-duration,.13s) cubic-bezier(.22, 1, .36, 1) var(--dialogue-glyph-delay,0s) forwards;will-change:opacity, filter, transform;transform:translateY(3px)}.dialogue-line--revealed .dialogue-glyph{opacity:1;filter:none;animation:none;transform:none}@keyframes dialogue-glyph-focus{0%{opacity:0;filter:blur(2.2px);transform:translateY(3px)}60%{opacity:.9}to{opacity:1;filter:blur();transform:translateY(0)}}.dialogue-line--motion-tremble .dialogue-glyph-motion{animation:.15s steps(2,end) infinite dialogue-glyph-tremble;animation-delay:calc(var(--dialogue-glyph-delay,0s) + var(--dialogue-motion-delay,0s))}.dialogue-line--motion-pop .dialogue-glyph-motion{animation:.34s cubic-bezier(.18,.9,.28,1.28) both dialogue-glyph-pop;animation-delay:calc(var(--dialogue-glyph-delay,0s) + var(--dialogue-motion-delay,0s))}.dialogue-line--motion-shrink .dialogue-glyph-motion{animation:.36s cubic-bezier(.22,1,.36,1) both dialogue-glyph-shrink;animation-delay:calc(var(--dialogue-glyph-delay,0s) + var(--dialogue-motion-delay,0s))}.dialogue-line--motion-wave .dialogue-glyph-motion{animation:.52s cubic-bezier(.22,1,.36,1) both dialogue-glyph-wave;animation-delay:calc(var(--dialogue-glyph-delay,0s) + var(--dialogue-motion-delay,0s))}.dialogue-line--motion-glitch .dialogue-glyph-motion{animation:.36s steps(2,end) both dialogue-glyph-glitch;animation-delay:calc(var(--dialogue-glyph-delay,0s) + var(--dialogue-motion-delay,0s))}@keyframes dialogue-glyph-tremble{0%,to{transform:translate(0)}25%{transform:translate(var(--dialogue-motion-x,1.2px), calc(var(--dialogue-motion-y,1.6px) * -.5))}50%{transform:translate(calc(var(--dialogue-motion-x,1.2px) * -.7), var(--dialogue-motion-y,1.6px))}75%{transform:translate(calc(var(--dialogue-motion-x,1.2px) * .45), calc(var(--dialogue-motion-y,1.6px) * -.65))}}@keyframes dialogue-glyph-pop{0%{transform:scale(1)}34%{transform:translateY(calc(var(--dialogue-motion-y,1.6px) * -1)) scale(var(--dialogue-motion-scale-up,1.16))}68%{transform:scale(.98)}to{transform:scale(1)}}@keyframes dialogue-glyph-shrink{0%{opacity:1;transform:scale(1)}34%{transform:scale(var(--dialogue-motion-scale-down,.8));opacity:.72}72%{opacity:1;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}@keyframes dialogue-glyph-wave{0%,to{transform:translateY(0)}38%{transform:translateY(calc(var(--dialogue-motion-y,1.6px) * -2))}72%{transform:translateY(calc(var(--dialogue-motion-y,1.6px) * .55))}}@keyframes dialogue-glyph-glitch{0%,to{opacity:1;transform:translate(0)scale(1)}18%{transform:translateX(calc(var(--dialogue-motion-x,1.2px) * -3)) scaleX(var(--dialogue-motion-scale-up,1.16));opacity:.72}36%{transform:translateX(calc(var(--dialogue-motion-x,1.2px) * 2.4));opacity:1}54%{transform:translateX(calc(var(--dialogue-motion-x,1.2px) * -1.4)) scaleY(var(--dialogue-motion-scale-down,.8));opacity:.8}76%{transform:translateX(var(--dialogue-motion-x,1.2px));opacity:1}}.scene-note{color:var(--text-faint);margin-top:10px;font-size:12px;display:none}.scene-actions{scrollbar-gutter:stable;overscroll-behavior:contain;min-height:0;max-height:92px;padding-top:4px;overflow:auto}.scene-actions:empty,.advance-prompt{display:none}.advance-prompt--exploration-event{background:#15485429;border-left:2px solid #72d5e8b8;gap:2px;padding:7px 10px;display:grid}.advance-prompt--exploration-event strong{color:#c9f6ff;font-size:11px}.advance-prompt--exploration-event p{color:var(--text-soft);margin:0;font-size:10px}.exploration-status-card{background:#0f394329;border:1px solid #72d5e83d;justify-content:space-between;align-items:center;gap:16px;padding:8px 11px;display:flex}.exploration-status-card strong{color:#d2f7ff;font-size:11px}.exploration-status-card p{color:var(--text-soft);margin:2px 0 0;font-size:10px}.exploration-status-stats{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.exploration-status-stats span{color:#d8f3f8bd;background:#0412178a;border:1px solid #72d5e82e;padding:3px 6px;font-size:9px}.investigation-summary,.hotspot-feedback,.ending-banner,.report-intro,.report-submit{background:linear-gradient(#ffffff0a,#ffffff05);border:1px solid #ffffff14;border-radius:14px 4px;padding:12px 14px}.investigation-summary strong,.hotspot-feedback strong,.ending-banner strong,.report-submit strong{color:var(--accent);margin-bottom:6px;display:block}.ending-banner--bad{background:linear-gradient(#da7d781f,#ffffff05);border-color:#da7d783d}.choice-list,.card-list,.log-stack,.report-grid,.report-sidebar,.report-form{gap:10px;display:grid}.choice-row{gap:8px;display:grid}.center-choice-layer{z-index:5;pointer-events:none;place-items:center;padding:96px 24px 232px;display:grid;position:absolute;inset:0}.choice-list--center{pointer-events:auto;gap:12px;width:min(520px,100%);animation:.3s ease-out both center-choice-fade;display:grid}.choice-button,.ghost-button,.primary-button,.scene-link,.tab-button{border:1px solid var(--border);color:#fff;background:linear-gradient(#ffffff0f,#ffffff08);transition:border-color .12s,background .12s,transform .12s,box-shadow .12s;position:relative}.choice-button,.scene-link{text-align:left;width:100%}.choice-button,.ghost-button,.primary-button,.scene-link{border-radius:14px 4px;padding:11px 12px}.choice-button{justify-content:flex-start;align-items:flex-start;min-height:54px;line-height:1.55;display:flex}.choice-list--center .choice-button{text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(#0a121ce6,#060b12d1);border-color:#ffffff38;justify-content:center;align-items:center;min-height:56px;padding-inline:18px;box-shadow:0 16px 40px #00000047}.choice-list--center .choice-button span{color:var(--accent-green);margin-top:4px;font-size:12px;display:block}.choice-button--investigation{border-color:#9ddcff4d}.choice-button--completed{background:linear-gradient(#488a5c47,#060b12d6);border-color:#92c29ab8}.tab-button{border-radius:12px 3px;min-height:42px;padding:8px 10px}.choice-button:hover,.ghost-button:hover,.primary-button:hover,.scene-link:hover,.tab-button:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm);background:linear-gradient(#d5b06f1f,#ffffff0f);transform:translateY(-1px)}.choice-button:disabled,.ghost-button:disabled,.primary-button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none;transform:none}.ghost-button{background:#ffffff05}.primary-button{color:#fff3d2;background:linear-gradient(#d5b06f3d,#d5b06f1f)}.ending-actions{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:10px;display:grid}@keyframes center-choice-fade{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes status-toast-slide{0%{opacity:0;transform:translate(-26px)}10%,78%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-18px)}}.backlog-overlay{z-index:6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#03070c75;place-items:center;padding:22px;display:grid;position:absolute;inset:0}.backlog-panel{width:min(820px,100%);max-height:min(70vh,620px);box-shadow:var(--shadow-lg);background:linear-gradient(#ffffff14,#0000 18%),#04080ed1;border:1px solid #ffffff1f;border-radius:22px 6px;grid-template-rows:auto minmax(0,1fr);gap:12px;padding:18px;display:grid}.backlog-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.backlog-head strong{color:#fff3d2;letter-spacing:.08em}.backlog-body{scrollbar-gutter:stable;gap:10px;min-height:0;padding-right:4px;display:grid;overflow:auto}.backlog-body p{color:#ffffffeb;margin:0;line-height:1.75}.backlog-entry{background:#ffffff06;border-left:2px solid #9dc5e552;gap:4px;padding:10px 12px;display:grid}.backlog-entry>strong{color:var(--accent);letter-spacing:.08em;font-size:11px}.scene-copy-scroll::-webkit-scrollbar{width:10px}.scene-actions::-webkit-scrollbar{width:10px}.tab-body::-webkit-scrollbar{width:10px}.report-form-body::-webkit-scrollbar{width:10px}.backlog-body::-webkit-scrollbar{width:10px}.scene-copy-scroll::-webkit-scrollbar-track{background:#ffffff0a;border-radius:999px}.scene-actions::-webkit-scrollbar-track{background:#ffffff0a;border-radius:999px}.tab-body::-webkit-scrollbar-track{background:#ffffff0a;border-radius:999px}.report-form-body::-webkit-scrollbar-track{background:#ffffff0a;border-radius:999px}.backlog-body::-webkit-scrollbar-track{background:#ffffff0a;border-radius:999px}.scene-copy-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#9dc5e58c,#d5b06f80);border-radius:999px}.scene-actions::-webkit-scrollbar-thumb{background:linear-gradient(#9dc5e58c,#d5b06f80);border-radius:999px}.tab-body::-webkit-scrollbar-thumb{background:linear-gradient(#9dc5e58c,#d5b06f80);border-radius:999px}.report-form-body::-webkit-scrollbar-thumb{background:linear-gradient(#9dc5e58c,#d5b06f80);border-radius:999px}.backlog-body::-webkit-scrollbar-thumb{background:linear-gradient(#9dc5e58c,#d5b06f80);border-radius:999px}.scene-copy-scroll,.scene-actions,.tab-body,.report-form-body,.backlog-body{scrollbar-width:thin;scrollbar-color:#9dc5e5b8 #ffffff0a}.tab-strip{flex:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.tab-button--active{color:#fff4d2;background:linear-gradient(#d5b06f38,#ffffff0f);border-color:#d5b06f73}.tab-body{flex:auto}.scene-index{gap:8px;padding:0;list-style:none;display:grid}.scene-link{justify-content:space-between;align-items:center;display:flex}.scene-link small,.report-option small,.report-submit small{color:var(--text-soft)}.card-list{padding:0;list-style:none}.card-item,.report-sidebar-row,.report-option,.report-field{background:linear-gradient(#ffffff0a,#ffffff05);border:1px solid #ffffff14;border-radius:14px 4px;padding:10px 12px}.card-item strong,.report-sidebar-row strong{color:#fff4d2;margin-bottom:6px;display:block}.log-stack h3,.report-grid h3{color:var(--accent-blue);letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px;font-size:13px}.report-form{min-height:0}.report-form-body{gap:12px;display:grid}.report-field{margin:0}.report-field legend{color:#fff4d2;padding:0 8px}.report-options{gap:10px;margin-top:8px;display:grid}.report-option{gap:4px;display:grid}.report-option input{margin:0 0 4px}.report-option span{font-weight:600}.report-option--active{background:linear-gradient(#d5b06f24,#ffffff08);border-color:#d5b06f66}.report-submit{justify-content:space-between;align-items:center;gap:16px;display:flex}.editor-input,.editor-textarea{color:#fff;background:#ffffff14;border:1px solid #ffffff29;border-radius:12px 4px;width:100%;padding:10px 12px}.editor-input--speaker{max-width:280px}.editor-textarea{resize:vertical;min-height:96px}.debug-drawer{z-index:20;border-radius:18px 6px;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex;position:absolute;bottom:18px;left:18px;right:18px}.save-status{border:1px solid;border-radius:999px;padding:6px 10px}.save-status--saving{color:var(--accent)}.save-status--saved{color:var(--accent-green)}.save-status--error{color:var(--accent-red)}.editor-shell{background:radial-gradient(circle at 12% 0,#d5b06f1f,#0000 26%),radial-gradient(circle at 92% 20%,#2ab7ff1c,#0000 24%),linear-gradient(#151f2e 0%,#0b1019 58%,#05070b 100%);grid-template-rows:auto minmax(0,1fr);gap:14px;height:100vh;padding:18px;display:grid;position:relative;overflow:hidden}.editor-shell--loading{text-align:center;place-items:center}.editor-login-card{border:1px solid var(--border);width:min(460px,100vw - 36px);box-shadow:var(--shadow-lg);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(#ffffff0d,#0000 26%),#060a11e6;border-radius:22px 7px;gap:14px;padding:24px;display:grid}.editor-login-card h1,.editor-login-card p{margin:0}.editor-login-card input{color:#fff;background:#03070c94;border:1px solid #ffffff29;border-radius:12px 3px;width:100%;min-height:44px;padding:10px 12px}.editor-login-card span{color:#ffc7c4;font-size:13px}.editor-login-card>div{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.editor-topbar{justify-content:space-between;align-items:flex-start;gap:18px;min-height:76px;display:flex}.editor-topbar h1,.editor-topbar p,.editor-section h2,.editor-section p,.editor-dirty-list h3{margin:0}.editor-topbar h1{font-size:30px;line-height:1.1}.editor-topbar p,.editor-section-head p,.editor-muted{color:var(--text-soft)}.editor-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.editor-notice{color:#fff3d2;background:#d5b06f14;border:1px solid #d5b06f47;border-radius:999px;max-width:520px;padding:8px 10px;font-size:12px}.editor-layout{grid-template-columns:220px minmax(0,1fr);gap:14px;min-height:0;display:grid}.editor-sidebar,.editor-content,.editor-section,.editor-text-editor,.editor-scene-index{border:1px solid var(--border);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(#ffffff0a,#0000 20%),#060a11db}.editor-sidebar{border-radius:18px 5px;align-content:start;gap:10px;min-height:0;padding:12px;display:grid}.editor-nav-button,.editor-index-button,.editor-scene-pick{color:#fff;text-align:left;background:#ffffff0a;border:1px solid #ffffff1a;width:100%}.editor-nav-button{border-radius:12px 3px;min-height:42px;padding:9px 10px}.editor-nav-button--active{color:#fff3d2;background:linear-gradient(#d5b06f2e,#ffffff0a);border-color:#d5b06f6b}.editor-sidebar-meta{color:var(--text-soft);border-top:1px solid #ffffff14;gap:6px;margin-top:8px;padding-top:12px;font-size:12px;display:grid}.editor-content{border-radius:24px 7px;min-height:0;padding:14px;overflow:auto}.editor-chapter-stack,.editor-branch-list,.editor-branch-rows,.editor-text-lines,.editor-dirty-list{gap:12px;display:grid}.editor-section{border-radius:18px 5px;gap:14px;padding:14px;display:grid}.editor-section-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.editor-section-head h2{color:#fff3d2;font-size:20px;line-height:1.2}.editor-section-head span{color:var(--text-soft);border:1px solid #ffffff1f;border-radius:999px;flex:none;padding:6px 10px;font-size:12px}.editor-flow-overview{gap:16px}.editor-flow-chapters{gap:16px;display:grid}.editor-flow-chapter{gap:10px;display:grid}.editor-flow-chapter-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.editor-flow-chapter-head h3{color:#fff;margin:0;font-size:15px}.editor-flow-chapter-head span{color:var(--text-soft);font-size:12px}.editor-flow-lane{scrollbar-width:thin;scrollbar-color:#9dc5e5b8 #ffffff0a;gap:22px;min-width:0;padding:4px 8px 14px 2px;display:flex;overflow-x:auto}.editor-flow-node{color:#fff;text-align:left;background:linear-gradient(#9dc5e51c,#ffffff09),#03070c80;border:1px solid #9dc5e53d;border-radius:14px 4px;flex:0 0 188px;align-content:start;gap:6px;min-height:126px;padding:11px;display:grid;position:relative;overflow:visible;box-shadow:inset 0 0 18px #9dc5e50d}.editor-flow-node:not(:last-child):after{content:"";background:linear-gradient(90deg,#9dc5e5b3,#d5b06f8c);width:22px;height:1px;position:absolute;top:50%;right:-23px}.editor-flow-node span{color:var(--text-soft);font-size:11px}.editor-flow-node strong{color:#fff;overflow-wrap:anywhere;min-width:0;font-size:13px;line-height:1.25}.editor-flow-node small{color:#9edcff;font-size:12px}.editor-flow-node--branch{background:linear-gradient(#d5b06f33,#2ab7ff0f),#05090fb8;border-color:#d5b06f94;box-shadow:inset 0 0 22px #d5b06f12,0 0 0 1px #d5b06f0a}.editor-flow-node--branch small{color:#fff3d2}.editor-flow-node--terminal{background:linear-gradient(#da7d7821,#ffffff08),#05090fad;border-color:#da7d7857}.editor-flow-node--terminal small{color:#ffc7c4}.editor-flow-node--active{outline-offset:2px;outline:2px solid #2ab7ff8c}.editor-flow-targets{flex-wrap:wrap;gap:5px;display:flex}.editor-flow-targets em{color:#b9eaff;text-overflow:ellipsis;white-space:nowrap;background:#2ab7ff14;border:1px solid #2ab7ff33;border-radius:999px;min-width:0;max-width:100%;padding:3px 6px;font-size:10px;font-style:normal;overflow:hidden}.editor-tree-overview{gap:16px}.editor-tree-chapters{gap:16px;display:grid}.editor-tree-chapter{gap:10px;display:grid}.editor-tree-chapter-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.editor-tree-chapter-head h3,.editor-tree-detached h4{color:#fff;margin:0;font-size:15px}.editor-tree-chapter-head span{color:var(--text-soft);font-size:12px}.editor-tree-canvas{background:linear-gradient(#2ab7ff0a,#0000 24%),#0000002e;border:1px solid #ffffff14;border-radius:16px 4px;min-width:0;padding:14px;overflow:auto}.editor-tree-unit{gap:10px;width:max-content;display:grid}.editor-tree-node{color:#fff;text-align:left;background:linear-gradient(#9dc5e51c,#ffffff09),#03070c94;border:1px solid #9dc5e53d;border-radius:14px 4px;align-content:start;gap:5px;width:248px;min-height:92px;padding:11px;display:grid;box-shadow:inset 0 0 18px #9dc5e50d}.editor-tree-node span{color:var(--text-soft);font-size:11px}.editor-tree-node strong{color:#fff;overflow-wrap:anywhere;min-width:0;font-size:13px;line-height:1.25}.editor-tree-node small{color:#9edcff;font-size:12px}.editor-tree-node--branch{background:linear-gradient(#d5b06f33,#2ab7ff0f),#05090fb8;border-color:#d5b06f94}.editor-tree-node--branch small{color:#fff3d2}.editor-tree-node--terminal,.editor-tree-node--missing{background:linear-gradient(#da7d7821,#ffffff08),#05090fad;border-color:#da7d7857}.editor-tree-node--terminal small,.editor-tree-node--missing small{color:#ffc7c4}.editor-tree-node--external,.editor-tree-node--repeat,.editor-tree-node--detached{background:linear-gradient(#ffffff12,#ffffff06),#05090f94;border-style:dashed}.editor-tree-node--repeat small,.editor-tree-node--external small,.editor-tree-node--detached small{color:var(--text-soft)}.editor-tree-node--active{outline-offset:2px;outline:2px solid #2ab7ff8c}.editor-tree-children{border-left:1px solid #9dc5e538;gap:12px;margin-left:18px;padding-left:24px;display:grid}.editor-tree-branch{grid-template-columns:280px max-content;align-items:start;gap:12px;display:grid;position:relative}.editor-tree-branch:before{content:"";background:linear-gradient(90deg,#9dc5e5a8,#d5b06f94);width:24px;height:1px;position:absolute;top:22px;left:-24px}.editor-tree-branch-label{background:#d5b06f0e;border:1px solid #d5b06f2e;border-radius:12px 3px;gap:4px;min-height:46px;padding:8px 10px;display:grid}.editor-tree-branch-label span{color:var(--text-faint);font-size:11px}.editor-tree-branch-label strong{color:#fff3d2;overflow-wrap:anywhere;min-width:0;font-size:12px;line-height:1.32}.editor-tree-detached{border-top:1px solid #ffffff14;gap:8px;padding-top:10px;display:grid}.editor-tree-detached>div{flex-wrap:wrap;gap:10px;display:flex}.editor-branch-scene,.editor-bg-item,.editor-text-line,.editor-export-grid>div{background:#ffffff09;border:1px solid #ffffff17;border-radius:14px 4px}.editor-branch-scene{gap:10px;padding:10px;display:grid}.editor-scene-pick{border-radius:12px 3px;gap:4px;padding:10px 12px;display:grid}.editor-scene-pick strong,.editor-index-button span,.editor-bg-copy strong{color:#fff}.editor-scene-pick small,.editor-index-button small,.editor-bg-copy small{color:var(--text-soft)}.editor-branch-row{background:#0000002e;border:1px solid #ffffff14;border-radius:10px 3px;grid-template-columns:86px minmax(0,1.2fr) 150px minmax(0,1fr);align-items:center;gap:10px;padding:9px 10px;display:grid}.editor-branch-row span,.editor-branch-row small{color:var(--text-soft);font-size:12px}.editor-branch-row strong,.editor-branch-row b{overflow-wrap:anywhere;min-width:0}.editor-branch-row b{color:#9edcff;font-size:13px}.editor-text-layout{grid-template-columns:280px minmax(0,1fr);gap:14px;min-height:0;display:grid}.editor-scene-index,.editor-text-editor{border-radius:18px 5px;min-height:0;max-height:calc(100vh - 150px);padding:12px;overflow:auto}.editor-scene-index{align-content:start;gap:10px;display:grid}.editor-scene-index h3,.editor-dirty-list h3{color:var(--accent);margin:0 0 8px;font-size:13px}.editor-index-button{border-radius:12px 3px;gap:3px;margin-bottom:6px;padding:9px 10px;display:grid}.editor-index-button--active{background:#2ab7ff1f;border-color:#2ab7ff75}.editor-index-button b{color:#ffc7c4;background:#da7d7829;border-radius:999px;justify-self:start;padding:2px 7px;font-size:11px}.editor-text-editor{align-content:start;gap:14px;display:grid}.editor-text-line{gap:8px;padding:10px;display:grid}.editor-text-line-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.editor-line-order-actions{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.editor-line-order-button{color:#b9c3cd;background:#232b34eb;border:1px solid #71829285;border-radius:2px;min-height:27px;padding:4px 8px;font-size:10px;line-height:1}.editor-line-order-button:hover:not(:disabled){color:#eef6ff;background:#324354f5;border-color:#5aa7ffc7}.editor-line-order-button:disabled{color:#8e99a45c;cursor:not-allowed;background:#191e2480;border-color:#4d586347}.editor-line-order-button--danger:hover:not(:disabled){color:#ffd2cf;background:#682d2c73;border-color:#da7d78b8}.editor-text-line span{color:var(--text-soft);font-size:12px}.editor-text-line textarea,.editor-bg-copy select,.editor-bg-copy input{color:#fff;background:#03070c8a;border:1px solid #ffffff24;border-radius:10px 3px;width:100%}.editor-text-line textarea{resize:vertical;min-height:108px;padding:10px 12px;line-height:1.55}.editor-dialogue-speaker-field{max-width:420px}.editor-dialogue-cue-grid{background:#142c4429;border:1px solid #5aa7ff2e;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;display:grid}.editor-dialogue-cue-grid .editor-dialogue-speaker-field{max-width:none}.editor-dialogue-voice-controls{background:#1e433733;border:1px solid #70c4a142;grid-column:1/-1;grid-template-columns:minmax(240px,1fr) minmax(220px,.72fr);align-items:end;gap:8px 12px;padding:10px;display:grid}.editor-dialogue-voice-controls>small{color:#7fa795;grid-column:1/-1;font:500 9px/1.45 Cascadia Mono,Consolas,monospace}.editor-dialogue-voice-pitch>div{grid-template-columns:minmax(0,1fr) 58px;gap:6px;display:grid}.editor-dialogue-voice-pitch input[type=number]{text-align:right;min-width:0}.editor-choice-result-lines{gap:8px;margin:10px 0;display:grid}.editor-dialogue-line-card{background:#0000002e;border:1px solid #ffffff17;grid-template-columns:minmax(180px,.34fr) minmax(280px,1fr) auto;align-items:start;gap:10px;padding:10px;display:grid}.editor-dialogue-line-head{border-bottom:1px solid #ffffff12;grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;padding-bottom:7px;display:flex}.editor-dialogue-line-head>span{color:var(--text-soft);font-size:11px}.editor-dialogue-line-card .editor-dialogue-speaker-field{max-width:none}.editor-dialogue-line-card textarea{min-height:76px}.editor-choice-dialogue-line-card{grid-template-columns:minmax(0,1fr) auto}.editor-choice-dialogue-line-card .editor-dialogue-cue-grid,.editor-choice-dialogue-line-card .editor-field--wide{grid-column:1/-1}.editor-choice-dialogue-line-card>.danger-button{grid-column:2;justify-self:end}.editor-bg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.editor-bg-item{grid-template-columns:180px minmax(0,1fr);min-height:142px;display:grid;overflow:hidden}.editor-bg-preview{background:#000;place-items:center;min-height:142px;display:grid;position:relative;overflow:hidden}.editor-bg-preview img{object-fit:cover;width:100%;height:100%;image-rendering:pixelated}.editor-bg-preview span{color:var(--text-soft)}.editor-bg-copy{align-content:start;gap:8px;padding:10px;display:grid}.editor-bg-copy select,.editor-bg-copy input{min-height:34px;padding:6px 8px}.editor-export-panel{max-width:920px}.editor-export-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.editor-export-grid>div{gap:4px;padding:14px;display:grid}.editor-export-grid strong{color:#fff3d2;font-size:28px;line-height:1}.editor-export-grid span{color:var(--text-soft);font-size:12px}.editor-export-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.editor-import-button{border:1px solid var(--border);color:#fff;cursor:pointer;background:linear-gradient(#ffffff0f,#ffffff08);border-radius:12px 3px;place-items:center;min-height:42px;padding:9px 14px;display:inline-grid;position:relative;overflow:hidden}.editor-import-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.editor-muted{border:1px dashed #ffffff29;border-radius:12px 3px;padding:10px}.danger-button{color:#ffc7c4;background:linear-gradient(#da7d7829,#ffffff08);border:1px solid #da7d7852;border-radius:12px 3px;padding:9px 12px;transition:border-color .12s,background .12s,transform .12s,box-shadow .12s;position:relative}.danger-button:hover{box-shadow:var(--shadow-sm);background:linear-gradient(#da7d783d,#ffffff0d);border-color:#da7d789e;transform:translateY(-1px)}.danger-button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none;transform:none}.editor-compact-section{box-shadow:none;background:linear-gradient(#ffffff09,#0000 22%),#ffffff06;gap:12px}.editor-inline-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.editor-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.editor-form-grid>label{gap:6px;min-width:0;display:grid}.editor-form-grid>label>span{color:var(--text-soft);font-size:12px}.editor-form-grid>label>input,.editor-form-grid>label>select,.editor-form-grid>label>textarea,.editor-area-event-lines textarea{color:#fff;background:#0003;border:1px solid #ffffff24;border-radius:10px 3px;width:100%;min-height:36px;padding:7px 9px}.editor-field{gap:6px;min-width:0;display:grid}.editor-field span,.editor-check-field{color:var(--text-soft);font-size:12px}.editor-field input,.editor-field select,.editor-field textarea{color:#fff;background:#03070c8a;border:1px solid #ffffff24;border-radius:10px 3px;width:100%;min-height:36px;padding:7px 9px}.editor-field textarea{resize:vertical;min-height:92px}.editor-field input[type=range]{accent-color:#9edcff;min-height:28px;padding:0}.editor-check-field{align-items:center;gap:8px;display:flex}.editor-check-field input{width:16px;height:16px;accent-color:var(--accent)}.editor-choice-list{gap:12px;display:grid}.editor-choice-card{background:linear-gradient(#9dc5e50e,#ffffff06),#03070c57;border:1px solid #ffffff17;border-radius:14px 4px;gap:12px;padding:12px;display:grid}.editor-choice-card-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.editor-choice-card-head strong{color:#fff3d2}.editor-choice-card-head small{min-width:0;color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-nested-config{background:#ffffff07;border:1px solid #9dc5e51f;border-radius:12px 3px;gap:10px;padding:10px;display:grid}.editor-nested-config summary{cursor:pointer;color:#fff3d2;font-weight:700}.editor-subgrid,.editor-state-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.editor-field--wide{grid-column:1/-1}.editor-state-panel{gap:14px;display:grid}.editor-audio-line-list{gap:12px;display:grid}.editor-menu-bgm-section{border-left:3px solid color-mix(in srgb, var(--accent-blue) 72%, transparent)}.editor-minigame-panel{align-content:start;gap:14px;display:grid}.editor-minigame-grid{grid-template-columns:repeat(auto-fit,minmax(520px,1fr));gap:12px;display:grid}.editor-minigame-card{background:#141a20;gap:14px;display:grid}.editor-minigame-card h3{color:#e1e7ec;margin:3px 0 5px;font-size:17px}.editor-minigame-card-status{justify-items:end;gap:5px;min-width:82px;font:700 9px/1.3 Cascadia Mono,Consolas,monospace;display:grid}.editor-minigame-card-status b{color:#8be8b9;background:#43c58d14;border:1px solid #43c58d80;padding:4px 6px}.editor-minigame-toolbar{background:#10161b;border:1px solid #303a45;grid-template-columns:minmax(280px,1fr) auto;align-items:end;gap:10px;padding:11px;display:grid}.editor-minigame-parameter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.editor-minigame-parameter-grid>label{background:#11171c;border:1px solid #2e3943;min-width:0;padding:10px}.editor-minigame-parameter-grid small{color:#768491;font-size:9px;line-height:1.45}.editor-number-unit-field{grid-template-columns:minmax(0,1fr) 30px;align-items:stretch;display:grid}.editor-number-unit-field input{min-width:0;border-radius:2px 0 0 2px!important}.editor-number-unit-field b{color:#8da0b1;background:#202831;border:1px solid #ffffff24;border-left:0;place-items:center;font:700 9px/1 Cascadia Mono,Consolas,monospace;display:grid}.editor-audio-line-card{background:linear-gradient(#2ab7ff0e,#ffffff06),#03070c57;border:1px solid #ffffff17;border-radius:14px 4px;gap:12px;padding:12px;display:grid}.editor-audio-timing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.editor-audio-timing{background:#ffffff08;border:1px solid #ffffff14;border-radius:12px 3px;gap:10px;padding:10px;display:grid}.editor-audio-timing h4{color:#b9eaff;margin:0;font-size:13px}.editor-audio-chip-row{min-height:28px;color:var(--text-soft);flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;display:flex}.editor-audio-chip{color:#b9eaff;background:#2ab7ff14;border:1px solid #2ab7ff38;border-radius:999px;padding:5px 8px;font-size:11px}.editor-character-preview{background:#0000003d;border:1px solid #ffffff17;border-radius:16px 4px;padding:12px}.editor-character-stage{aspect-ratio:16/9;background:#000;border:1px solid #ffffff1a;border-radius:14px 4px;position:relative;overflow:hidden}.editor-character-bg,.editor-character-bg--missing{width:100%;height:100%;position:absolute;inset:0}.editor-character-bg{object-fit:cover;image-rendering:pixelated}.editor-character-bg--missing{color:var(--text-soft);place-items:center;display:grid}.editor-character-standee{z-index:1;max-width:none;max-height:none;position:absolute}.editor-character-standee-source{object-fit:contain;width:100%;max-width:none;max-height:none;image-rendering:pixelated;display:block}.editor-character-clipboard{background:#161c22b3;border:1px dashed #7b8b9a61;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:9px 11px;display:flex}.editor-character-clipboard--ready{background:#1e334b6b;border-style:solid;border-color:#5aa7ff6b}.editor-character-clipboard>div{gap:2px;min-width:0;display:grid}.editor-character-clipboard span{color:#6f7c89;letter-spacing:.12em;font-family:Cascadia Mono,monospace;font-size:8px}.editor-character-clipboard strong{color:#dfe7ee;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.editor-character-clipboard small{color:#8e9aa6;font-size:9px}.editor-character-card-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.editor-asset-manager{gap:12px}.editor-asset-upload{grid-template-columns:160px minmax(220px,1fr) minmax(220px,.8fr) auto auto;align-items:end;gap:10px;display:grid}.editor-asset-overwrite{align-self:end;min-height:36px}.editor-asset-grid{gap:12px;display:grid}.editor-asset-grid--backgrounds{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-asset-grid--characters{grid-template-columns:repeat(4,minmax(0,1fr))}.editor-asset-card{background:linear-gradient(#9dc5e50d,#ffffff06),#03070c5c;border:1px solid #ffffff17;border-radius:14px 4px;min-width:0;display:grid;position:relative;overflow:visible}.editor-asset-thumb{background-color:#05070b;background-image:linear-gradient(45deg,#ffffff0a 25%,#0000 25% 50%,#ffffff0a 50% 75%,#0000 75%),none;background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:18px 18px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;place-items:center;min-height:128px;display:grid;position:relative;overflow:hidden}.editor-asset-hover-preview{z-index:30;width:min(420px,40vw);max-height:320px;box-shadow:var(--shadow-lg);pointer-events:none;background:#03070cf2;border:1px solid #ffffff29;border-radius:14px 4px;display:none;position:absolute;top:8px;left:calc(100% + 10px);overflow:hidden}.editor-asset-hover-preview--character{width:min(260px,30vw);max-height:420px}.editor-asset-thumb:hover .editor-asset-hover-preview{display:block}.editor-asset-hover-preview img{width:100%;height:100%;max-height:inherit;object-fit:contain}.editor-asset-thumb--wide{aspect-ratio:16/9}.editor-asset-thumb--character{aspect-ratio:3/4}.editor-asset-thumb img{object-fit:contain;width:100%;height:100%;image-rendering:pixelated}.editor-asset-thumb--wide img{object-fit:cover}.editor-asset-thumb span{color:var(--text-soft);font-size:12px}.editor-asset-copy{gap:7px;padding:10px;display:grid}.editor-asset-copy strong,.editor-asset-copy small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.editor-asset-copy strong{color:#fff3d2;font-size:13px}.editor-asset-copy small{color:var(--text-soft);font-size:11px}.editor-asset-copy .ghost-button{min-height:34px;padding:7px 9px}.editor-asset-rename{grid-template-columns:minmax(0,1fr) auto;gap:6px;display:grid}.editor-asset-rename input{color:#fff;background:#03070c8a;border:1px solid #ffffff1f;border-radius:10px 3px;min-width:0;min-height:34px;padding:6px 8px}.editor-audio-asset-list{gap:10px;display:grid}.editor-audio-asset-card{background:linear-gradient(#2ab7ff0e,#ffffff06),#03070c57;border:1px solid #ffffff17;border-radius:14px 4px;grid-template-columns:minmax(200px,1fr) minmax(260px,.9fr) minmax(240px,.8fr);align-items:center;gap:10px;padding:10px;display:grid}.editor-audio-asset-card strong,.editor-audio-asset-card small{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.editor-audio-asset-card strong{color:#fff3d2;font-size:13px}.editor-audio-asset-card small{color:var(--text-soft);font-size:11px}.editor-audio-asset-card audio{width:100%;height:34px}.editor-dirty-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.editor-area-panel{gap:18px}.editor-area-workbench,.editor-stack-list{gap:14px;display:grid}.editor-area-workbench{padding-top:4px}.editor-area-create-card{gap:12px;display:grid}.editor-area-create-card summary{cursor:pointer;justify-content:space-between;gap:12px;display:flex}.editor-area-create-card summary small{color:var(--text-soft)}.editor-subcard{background:#01080c57;border:1px solid #72d5e821;gap:10px;padding:12px;display:grid}.editor-hitbox-grid{border:1px dashed #72d5e82e;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px;display:grid}.editor-area-selector{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px;display:grid}.editor-area-map-preview{border:1px solid var(--border);background:#030c12b8;padding:12px}.editor-area-map-grid{background:linear-gradient(#4586941a 1px,#0000 1px) 0 0/12px 12px,linear-gradient(90deg,#4586941a 1px,#0000 1px) 0 0/12px 12px,radial-gradient(circle,#2a66743d,#0000 58%),#061017;border:1px solid #72d5e83d;height:360px;position:relative;overflow:hidden}.editor-area-map-grid svg{width:100%;height:100%;position:absolute;inset:0}.editor-area-map-grid line{stroke:#72d5e880;stroke-width:.75px;stroke-dasharray:1.5 1.5}.editor-area-map-node,.editor-area-map-exit{z-index:1;position:absolute;transform:translate(-50%,-50%)}.editor-area-map-node{color:#d9f8ff;justify-items:center;gap:6px;font-size:11px;display:grid}.editor-area-map-node i{background:#1a6677;border:3px solid #74d6e8;width:18px;height:18px;box-shadow:0 0 16px #72d5e885}.editor-area-map-node span{white-space:nowrap;background:#02090edb;padding:3px 7px}.editor-area-map-node--entry i{background:#bd8d38;border-color:#ffe09a;box-shadow:0 0 16px #ffd87e94}.editor-area-map-exit{color:#fff0c7;white-space:nowrap;background:#5c4216e0;border:1px solid #ffd87eb8;padding:5px 9px;font-size:10px}.editor-area-location-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.editor-area-location-grid--workbench{grid-template-columns:minmax(0,1fr)}.editor-area-location-card>summary{cursor:pointer;justify-content:space-between;gap:12px;display:flex}.editor-area-location-card[open]>summary{margin-bottom:14px}.editor-card{border:1px solid var(--border);background:#ffffff06;padding:14px}.editor-card-head{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.editor-card-head div{gap:2px;display:grid}.editor-card-head small,.editor-card-head span,.editor-area-location-card>small{color:var(--text-soft);font-size:10px}.editor-area-location-meta{flex-wrap:wrap;gap:6px;margin:10px 0;display:flex}.editor-area-location-meta span{color:#cff0f7b8;border:1px solid #72d5e829;padding:3px 6px;font-size:10px}.editor-area-events{gap:9px;display:grid}.editor-area-event-card summary{cursor:pointer;justify-content:space-between;gap:12px;display:flex}.editor-area-event-card summary small{color:var(--text-soft)}.editor-area-event-card[open] summary{margin-bottom:14px}.editor-area-event-lines{gap:7px;margin-top:10px;display:grid}.editor-area-event-lines textarea{min-height:76px}.editor-event-line-row{grid-template-columns:minmax(180px,.34fr) minmax(280px,1fr) auto;align-items:start;gap:8px;display:grid}.editor-event-line-row.editor-choice-dialogue-line-card{grid-template-columns:minmax(0,1fr) auto}@media (width<=900px){.editor-text-line-head,.editor-dialogue-line-head{flex-direction:column;align-items:stretch}.editor-line-order-actions{justify-content:flex-start}.editor-dialogue-line-card,.editor-event-line-row,.editor-event-line-row.editor-choice-dialogue-line-card{grid-template-columns:1fr}.editor-dialogue-speaker-field{max-width:none}.editor-dialogue-cue-grid,.editor-choice-dialogue-line-card,.editor-dialogue-voice-controls{grid-template-columns:1fr}.editor-dialogue-voice-controls>small,.editor-choice-dialogue-line-card>.danger-button{grid-column:1}}.editor-area-event-card pre{color:#d1e7ebb8;white-space:pre-wrap;background:#00000047;border:1px solid #ffffff14;max-height:220px;padding:10px;font-size:10px;overflow:auto}.investigation-command-panel{background:#071219f0;border:1px solid #74e1ff42;gap:12px;width:100%;padding:14px;display:grid}.investigation-command-head,.investigation-command-tabs,.investigation-command-grid,.investigation-topic-list,.investigation-record-list article{gap:10px;display:flex}.investigation-command-head{justify-content:space-between;align-items:flex-start}.investigation-command-head p,.investigation-command-content p,.investigation-record-list p{color:#daecf0a8;margin:4px 0 0}.investigation-command-tabs button,.investigation-command-grid button,.investigation-topic-list button,.investigation-record-list button{color:#eafcff;cursor:pointer;background:#10242edb;border:1px solid #74e1ff3d}.investigation-command-tabs button{flex:1;min-height:38px}.investigation-command-tabs button.is-active{background:#23758b99;border-color:#74e1ff;box-shadow:inset 0 -2px #74e1ff}.investigation-command-grid{flex-wrap:wrap}.investigation-command-grid button{text-align:left;min-width:150px;padding:9px 12px;display:grid}.investigation-command-grid span,.investigation-record-list span{color:#c3e0e794;font-size:11px}.investigation-topic-list{flex-wrap:wrap;align-items:center}.investigation-topic-list button,.investigation-record-list button{padding:8px 11px}.investigation-command-panel button:disabled{cursor:not-allowed;opacity:.42}.investigation-record-list{gap:8px;display:grid}.investigation-record-list article{background:#ffffff06;border:1px solid #ffffff17;justify-content:space-between;align-items:center;padding:10px}.investigation-record-list article>div{gap:4px;display:grid}.case-record-card{background:#122a3480;border:1px solid #74e1ff2e;gap:4px;margin-bottom:8px;padding:9px;display:grid}.case-record-card span{color:#74e1ff;letter-spacing:.12em;font-size:10px}.case-record-card p{color:#daecf0ad;margin:0;font-size:12px}@media (width<=1440px){.editor-bg-grid,.editor-form-grid,.editor-audio-timing-grid,.editor-audio-asset-card,.editor-asset-upload,.editor-asset-grid--backgrounds,.editor-asset-grid--characters,.editor-dirty-columns,.editor-area-location-grid,.editor-hitbox-grid{grid-template-columns:minmax(0,1fr)}}.game-shell{--game-green:#76ff9d;--game-green-soft:#76ff9dad;--game-green-faint:#76ff9d2e;--game-cyan:#73e6d0;--game-ink:#020705;--game-surface:#030a08f0;--game-line:#76ff9d3d;color:#ecfff2;background:#020705;gap:0;padding:0;font-family:Cascadia Mono,Microsoft YaHei UI,Noto Sans SC,monospace}.game-shell:after{z-index:30;content:"";pointer-events:none;background:repeating-linear-gradient(#0000 0 3px,#76ff9d03 3px 4px);position:absolute;inset:0}.game-shell .topbar{z-index:12;border-bottom:1px solid var(--game-line);background:#020705fa;align-items:center;min-height:82px;padding:10px 18px;position:relative;box-shadow:0 10px 36px #0000005c}.game-session-brand,.game-topbar-tools,.game-status-strip,.topbar-description{align-items:center;display:flex}.game-session-brand{gap:13px;min-width:0}.game-session-sigil{width:42px;height:42px;color:var(--game-green);border:1px solid #76ff9d94;flex:0 0 42px;place-items:center;font-family:Cascadia Mono,monospace;font-size:20px;font-weight:800;line-height:1;display:grid;box-shadow:inset 0 0 18px #76ff9d14}.game-shell .eyebrow{color:var(--game-green-soft);letter-spacing:.16em;margin-bottom:3px;font-size:9px}.game-shell .topbar h1{color:#f2fff6;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(19px,1.8vw,25px);font-weight:620;line-height:1.08;overflow:hidden}.game-shell .topbar-description{color:#d7ebdd8c;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;gap:6px;font-size:10px;overflow:hidden}.game-shell .topbar-description b{color:#76ff9d57;font-weight:400}.game-shell .topbar-description strong{color:#e1ffebc7;text-overflow:ellipsis;font-weight:500;overflow:hidden}.game-topbar-tools{justify-content:flex-end;gap:14px;min-width:0}.game-status-strip{background:#76ff9d06;border:1px solid #76ff9d24;flex:0 auto}.game-status-strip>div{border-right:1px solid #76ff9d1f;gap:1px;min-width:66px;padding:6px 9px;display:grid}.game-status-strip>div:first-child{min-width:122px}.game-status-strip>div:last-child{border-right:0}.game-status-strip span,.game-status-strip small{color:#76ff9d80;letter-spacing:.12em;font-size:8px;font-weight:500}.game-status-strip strong{color:#f0fff5e0;white-space:nowrap;font-size:11px;font-weight:560}.game-status-strip small{margin-left:2px}.game-shell .topbar-meta{flex-wrap:nowrap;gap:6px}.game-shell .meta-chip,.game-shell .ghost-button,.game-shell .primary-button,.game-shell .choice-button,.game-shell .scene-link,.game-shell .tab-button{border-radius:0;font-family:inherit}.game-shell .meta-chip{color:#76ff9d8f;letter-spacing:.06em;text-overflow:ellipsis;white-space:nowrap;background:0 0;border-color:#76ff9d29;max-width:180px;padding:7px 9px;font-size:9px;overflow:hidden}.game-shell .ghost-button,.game-shell .primary-button{color:#e7ffefd1;min-height:31px;box-shadow:none;background:#76ff9d09;border-color:#76ff9d38;padding:6px 10px;font-size:11px}.game-shell .primary-button{background:var(--game-green);color:#021006;border-color:#76ff9d94;font-weight:700}.game-shell .ghost-button:hover,.game-shell .primary-button:hover,.game-shell .choice-button:hover,.game-shell .scene-link:hover,.game-shell .tab-button:hover{color:#eafff0;box-shadow:inset 3px 0 var(--game-green);background:#76ff9d1c;border-color:#76ff9dad;transform:none}.game-shell .primary-button:hover{color:#021006;box-shadow:none;background:#a0ffb8}.game-shell .layout-grid{margin:12px 18px 18px}.game-shell .panel,.game-shell .scene-panel,.game-shell .debug-drawer{border-color:var(--game-line);background:var(--game-surface);-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0;box-shadow:0 18px 48px #00000070}.game-shell .scene-panel{box-shadow:inset 0 0 0 1px #76ff9d08}.game-shell .scene-panel:after{z-index:6;content:"";clip-path:polygon(0 0,52px 0,52px 1px,100% 1px,100% 100%,calc(100% - 52px) 100%,calc(100% - 52px) calc(100% - 1px),0 calc(100% - 1px));pointer-events:none;border:1px solid #76ff9d12;position:absolute;inset:8px}.game-shell .scene-art-frame:after{content:"";pointer-events:none;background:linear-gradient(#02070529,#0000 18% 58%,#02070580),linear-gradient(90deg,#0207052e,#0000 20% 80%,#0207052e);position:absolute;inset:0}.game-shell .scene-overlay{background:#020805b3;border:1px solid #76ff9d2e;gap:0;top:14px;left:16px;right:auto}.game-shell .scene-overlay span{color:#e3f7e9a8;letter-spacing:.07em;background:0 0;border:0;border-right:1px solid #76ff9d26;border-radius:0;padding:5px 8px;font-size:9px}.game-shell .scene-overlay span:last-child{border-right:0}.game-shell .scene-overlay .scene-overlay-channel{background:var(--game-green);color:#021006;font-weight:800}.dialogue-speaker{min-width:0;margin-left:calc(-1 * var(--dialogue-name-overhang));text-align:right;padding-top:1px}.game-shell .speaker{color:var(--dialogue-name-color);letter-spacing:.06em;overflow-wrap:normal;text-shadow:0 2px 8px #000;font-size:clamp(24px,1.85vw,30px);font-weight:600;line-height:1.45}.speaker-word{white-space:nowrap;display:inline-block}.game-shell .speaker--muted{color:#a3a3a3}.game-shell .dialogue-actions{flex:none;justify-content:flex-end;gap:5px}.game-shell .dialogue-actions .ghost-button{min-height:28px;box-shadow:none;color:#a3a3a3;letter-spacing:.08em;background:0 0;border:0;padding:4px 6px;font-size:11px;font-weight:400}.game-shell .dialogue-actions .ghost-button:hover,.game-shell .dialogue-actions .ghost-button:focus-visible{box-shadow:none;color:#fff;text-underline-offset:5px;background:0 0;text-decoration:underline;transform:none}.game-shell .dialogue-actions .ghost-button:focus-visible{outline-offset:2px;outline:1px solid #a3a3a3}.game-shell .dialogue-line{color:var(--dialogue-text-color);text-shadow:0 2px 6px #000;font-size:clamp(20px,1.6vw,26px);font-weight:500;line-height:1.65}.scene-dialogue>.scene-actions,.scene-dialogue>.ending-banner{margin-left:calc(var(--dialogue-name-width) + var(--dialogue-column-gap))}.scene-dialogue>.scene-actions:has(>.advance-prompt:only-child):not(:has(.advance-prompt--exploration-event)){display:none}@media (height<=700px){.scene-dialogue{gap:7px;padding-top:42px;padding-bottom:14px}.scene-copy-scroll{min-height:68px}}@media (width<=700px){.scene-dialogue{--dialogue-name-width:72px;--dialogue-column-gap:16px;padding-left:20px;padding-right:20px}.game-shell .speaker{font-size:22px}.game-shell .dialogue-line{font-size:18px}}.game-shell .choice-list--center{counter-reset:game-choice;gap:7px;width:min(610px,100%)}.game-shell .choice-list--center .choice-button{counter-increment:game-choice;color:#effff4eb;text-align:left;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#020906eb;border:1px solid #76ff9d47;grid-template-columns:44px minmax(0,1fr);justify-content:stretch;align-items:center;min-height:50px;padding:0 14px 0 0;display:grid;box-shadow:0 12px 30px #00000052}.game-shell .choice-list--center .choice-button:before{content:"0" counter(game-choice);color:var(--game-green);letter-spacing:.08em;border-right:1px solid #76ff9d2e;align-self:stretch;place-items:center;font-size:10px;display:grid}.game-shell .choice-list--center .choice-button span{color:#76ff9d99;grid-column:2;margin-top:2px;font-size:10px}.game-shell .side-toggle{width:44px;height:92px;color:var(--game-green);-webkit-backdrop-filter:none;backdrop-filter:none;background:#020906eb;border-color:#76ff9d47;border-radius:0;grid-template-columns:12px 18px;justify-content:center;align-items:center;gap:2px;display:grid;box-shadow:0 10px 24px #0000005c}.game-shell .side-toggle strong{color:#dfffe9c2;writing-mode:vertical-rl;font-size:10px;font-weight:500;line-height:1.35}.game-shell .side-toggle--right{grid-template-columns:18px 12px}.game-shell .side-toggle--left.side-toggle--open{left:300px}.game-shell .side-toggle--right.side-toggle--open{right:320px}.game-shell .status-panel{width:300px}.game-shell .info-panel{width:320px}.game-shell .panel{gap:0;padding:0}.game-shell .subpanel{background:0 0;border:0;border-bottom:1px solid #76ff9d24;border-radius:0;gap:10px;padding:13px}.game-shell .subpanel h2,.game-shell .subpanel h3{color:#76ff9dd6;letter-spacing:.12em;font-size:10px;font-weight:650}.game-shell .subpanel-head:before{content:"";background:var(--game-green);width:5px;height:5px;box-shadow:0 0 8px #76ff9d80}.game-shell .subpanel-head h2{margin-right:auto}.game-shell .calendar-card,.game-shell .balance-card,.game-shell .stat-card,.game-shell .bill-card,.game-shell .card-item,.game-shell .investigation-summary,.game-shell .hotspot-feedback,.game-shell .ending-banner,.game-shell .report-intro,.game-shell .report-submit{background:#76ff9d06;border-color:#76ff9d1f;border-radius:0}.game-shell .day-progress,.game-shell .stat-meter-segment,.game-shell .day-progress-segment,.game-shell .bill-progress-segment,.game-shell .ai-assistant-button,.game-shell .ai-assistant-panel,.game-shell .ai-attribute-row,.game-shell .ai-attribute-meter,.game-shell .ai-attribute-step{border-radius:0}.game-shell .day-progress:before,.game-shell .stat-meter-segment--safe,.game-shell .day-progress-segment--active{background:var(--game-green);border-radius:0;box-shadow:0 0 10px #76ff9d47}.game-shell .ai-assistant-button{color:var(--game-cyan);background:#73e6d012;border-color:#73e6d061}.game-shell .ai-assistant-panel{background:#020908fa;border-color:#73e6d04d;box-shadow:16px 20px 50px #0000007a}.game-shell .tab-strip{border-bottom:1px solid #76ff9d2e;gap:0}.game-shell .tab-button{color:#daf1e185;background:0 0;border:0;border-right:1px solid #76ff9d1f;min-height:40px;padding:7px 5px;font-size:10px}.game-shell .tab-button--active{color:var(--game-green);box-shadow:inset 0 -2px var(--game-green);background:#76ff9d1a}.game-shell .tab-body{padding:12px}.game-shell .scene-hotspot{color:#eafff0;background:#0209061f;border-color:#76ff9db3}.game-shell .scene-hotspot span{color:var(--game-green);background:#020906d1}.game-shell .status-toast{background:#020906f0;border-color:#76ff9d4d;border-radius:0;box-shadow:0 16px 38px #00000070}.game-shell .status-toast-mark{background:#76ff9d29;border-color:#76ff9d6b;border-radius:0}.game-shell .backlog-overlay{background:#010503c2}.game-shell .backlog-panel{background:#040b07;border-color:#76ff9d47;border-radius:0}.game-shell .backlog-head strong{color:var(--game-green)}@media (width<=1480px){.game-status-strip>div:nth-child(4),.game-shell .meta-chip--scene{display:none}}@media (width<=1320px){.game-status-strip>div:nth-child(2),.game-status-strip>div:nth-child(3){display:none}}.editor-shell{--editor-bg:#101318;--editor-panel:#181d24;--editor-panel-raised:#20262f;--editor-line:#303741;--editor-line-strong:#44505e;--editor-text:#e8edf2;--editor-muted:#919ba6;--editor-blue:#5aa7ff;--editor-blue-soft:#5aa7ff24;--editor-green:#54c58b;--editor-orange:#e6a04a;--panel:var(--editor-panel);--panel-strong:#11161c;--panel-soft:#20262e;--border:var(--editor-line);--border-strong:var(--editor-line-strong);--text-soft:var(--editor-muted);--text-faint:#707b86;--accent:#aeb8c2;--accent-blue:#7cb8ff;--accent-green:var(--editor-green);--accent-red:#df727d;background:var(--editor-bg);color:var(--editor-text);grid-template-rows:58px minmax(0,1fr) 28px;gap:0;padding:0;font-family:Segoe UI,Microsoft YaHei UI,Noto Sans SC,sans-serif}.editor-shell .eyebrow{color:#7f8b97;letter-spacing:.13em;margin:0 0 2px;font-size:9px}.editor-topbar{border-bottom:1px solid var(--editor-line);background:#1b2027;align-items:center;min-height:0;padding:7px 12px;position:relative}.editor-product{align-items:center;gap:10px;min-width:280px;display:flex}.editor-product-mark{color:#dce7f2;background:#252c35;border:1px solid #4a5562;place-items:center;width:34px;height:34px;font-family:Cascadia Mono,monospace;font-size:15px;font-weight:700;display:grid}.editor-topbar h1{color:#eef3f7;font-size:16px;font-weight:600;line-height:1.15}.editor-topbar p:not(.eyebrow){color:#7f8a96;font-size:10px}.editor-actions{flex-wrap:nowrap;gap:6px}.editor-shell .ghost-button,.editor-shell .primary-button,.editor-shell .danger-button,.editor-shell .editor-import-button{min-height:30px;box-shadow:none;color:#d9e0e7;background:#262d36;border:1px solid #3a434e;border-radius:2px;padding:5px 10px;font-size:11px;font-weight:500}.editor-shell .primary-button{color:#fff;background:#2d76c7;border-color:#438bd9}.editor-shell .danger-button{color:#ffb7be;background:#43282d;border-color:#724149}.editor-shell .ghost-button:hover,.editor-shell .primary-button:hover,.editor-shell .danger-button:hover,.editor-shell .editor-import-button:hover{box-shadow:none;background:#343d48;border-color:#617083;transform:none}.editor-shell .primary-button:hover{background:#3987dc;border-color:#69adfb}.editor-shell button:focus-visible,.editor-shell input:focus-visible,.editor-shell select:focus-visible,.editor-shell textarea:focus-visible,.editor-shell summary:focus-visible{outline:2px solid var(--editor-blue);outline-offset:1px}.editor-run-button{align-items:center;gap:6px;display:inline-flex}.editor-run-button span{font-size:9px}.editor-notice{z-index:20;color:#ffd792;background:#2b251b;border:1px solid #66502d;border-radius:2px;max-width:min(620px,100vw - 40px);padding:8px 11px;font-size:11px;position:absolute;top:calc(100% + 8px);right:12px;box-shadow:0 12px 28px #00000057}.editor-layout{grid-template-columns:232px minmax(0,1fr);gap:0}.editor-sidebar,.editor-content,.editor-section,.editor-text-editor,.editor-scene-index{border-color:var(--editor-line);background:var(--editor-panel);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0}.editor-sidebar{border-width:0 1px 0 0;flex-direction:column;gap:0;padding:0;display:flex;overflow:hidden}.editor-sidebar-head{border-bottom:1px solid var(--editor-line);background:#1d232b;gap:2px;padding:12px 13px;display:grid}.editor-sidebar-head span,.editor-sidebar-head small,.editor-nav-label{color:#77828e;letter-spacing:.1em;font-size:9px}.editor-sidebar-head strong{color:#e6ecf2;font-size:13px;font-weight:600}.editor-navigation{flex:auto;min-height:0;padding:8px 7px 12px;overflow:auto}.editor-nav-group{gap:2px;margin-bottom:11px;display:grid}.editor-nav-label{padding:4px 7px}.editor-nav-button{color:#aeb7c1;text-align:left;background:0 0;border:0;border-left:2px solid #0000;border-radius:0;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;min-height:33px;padding:5px 7px;display:grid}.editor-nav-button>span{color:#65717d;font-family:Cascadia Mono,monospace;font-size:9px}.editor-nav-button>strong{font-size:11px;font-weight:500}.editor-nav-button>b{color:#ffe0b7;text-align:center;background:#8a5327;border-radius:8px;min-width:18px;padding:1px 5px;font-size:9px}.editor-nav-button:hover{color:#eef3f7;background:#242b34}.editor-nav-button--active{border-left-color:var(--editor-blue);background:var(--editor-blue-soft);color:#fff}.editor-nav-button--active>span{color:#7cb8ff}.editor-sidebar-meta{border-top:1px solid var(--editor-line);color:var(--editor-muted);grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;padding:0;display:grid}.editor-sidebar-meta>div{border-right:1px solid var(--editor-line);gap:1px;padding:9px 11px;display:grid}.editor-sidebar-meta>div:nth-child(2){border-right:0}.editor-sidebar-meta span{color:#77828e;font-size:9px}.editor-sidebar-meta strong{color:#dfe6ed;font-family:Cascadia Mono,monospace;font-size:13px}.editor-sync-state{border-top:1px solid var(--editor-line);color:#8fcba9;grid-column:1/-1;align-items:center;gap:7px;margin:0;padding:8px 11px;font-size:10px;display:flex}.editor-sync-state i,.editor-status-online{background:var(--editor-green);border-radius:50%;width:6px;height:6px}.editor-sync-state--dirty{color:#f0b66e}.editor-sync-state--dirty i{background:var(--editor-orange)}.editor-workspace{grid-template-rows:68px minmax(0,1fr);min-width:0;min-height:0;display:grid}.editor-workbar{border-bottom:1px solid var(--editor-line);background:#171c22;justify-content:space-between;align-items:center;gap:18px;padding:9px 16px;display:flex}.editor-workbar h2,.editor-workbar p{margin:0}.editor-workbar h2{color:#eef3f7;font-size:16px;font-weight:600}.editor-workbar p:not(.editor-breadcrumb){color:#87929d;margin-top:2px;font-size:10px}.editor-workbar .editor-breadcrumb{color:#6885a5;font-family:Cascadia Mono,monospace;font-size:9px}.editor-work-context{border-left:1px solid var(--editor-line);text-align:right;gap:2px;max-width:390px;padding-left:12px;display:grid}.editor-work-context span{color:#727e8a;letter-spacing:.1em;font-size:8px}.editor-work-context strong{color:#bad9fb;text-overflow:ellipsis;white-space:nowrap;font-family:Cascadia Mono,monospace;font-size:10px;font-weight:500;overflow:hidden}.editor-content{scrollbar-color:#475464 #171c22;background:#0f1217;border:0;min-height:0;padding:14px 16px 28px}.editor-content>*{max-width:1680px;margin-inline:auto}.editor-section,.editor-text-editor,.editor-scene-index{background:#181d24}.editor-section{gap:12px;padding:13px}.editor-section-head{border-bottom:1px solid var(--editor-line);align-items:center;padding-bottom:9px}.editor-section-head h2{color:#e8edf2;font-size:14px;font-weight:600}.editor-section-head p,.editor-muted{color:#8a95a0;font-size:11px}.editor-section-head span{color:#9ba6b1;background:#20262e;border-color:#3a444f;border-radius:2px;padding:3px 7px;font-size:10px}.editor-shell input,.editor-shell textarea,.editor-shell select{color:#e6ebf0;box-shadow:none;background:#11161c;border:1px solid #3a434e;border-radius:2px}.editor-shell input:hover,.editor-shell textarea:hover,.editor-shell select:hover{border-color:#52606e}.editor-shell .editor-field>span,.editor-shell .editor-check-field,.editor-shell label>span{color:#9ca7b2;font-size:10px}.editor-index-button,.editor-scene-pick,.editor-flow-node,.editor-tree-node,.editor-tree-canvas,.editor-tree-branch-label,.editor-branch-scene,.editor-bg-item,.editor-text-line,.editor-export-grid>div,.editor-choice-card,.editor-compact-section,.editor-card,.editor-audio-line-card,.editor-asset-card,.editor-audio-asset-card{box-shadow:none;border-radius:2px}.editor-index-button,.editor-scene-pick{background:#1c222a;border-color:#323b46}.editor-index-button:hover,.editor-scene-pick:hover{background:#242c35;border-color:#52606e}.editor-index-button--active{background:#1e334b;border-color:#4a8fdd;box-shadow:inset 3px 0 #5aa7ff}.editor-flow-node,.editor-tree-node{background:#1b232c;border-color:#3a4653}.editor-flow-node--branch,.editor-tree-node--branch{background:#2a261f;border-color:#7a6240}.editor-flow-node--terminal,.editor-tree-node--terminal,.editor-tree-node--missing{background:#2a2023;border-color:#74484e}.editor-flow-node--active,.editor-tree-node--active{outline-offset:1px;outline:2px solid #4f9cf3}.editor-tree-canvas{background-color:#12171d;background-image:linear-gradient(#202832 1px,#0000 1px),linear-gradient(90deg,#202832 1px,#0000 1px);background-size:20px 20px;border-color:#2e3741}.editor-tree-children{border-left-color:#415162}.editor-tree-branch:before,.editor-flow-node:not(:last-child):after{background:#506377}.editor-nested-config,.editor-area-location-card,.editor-area-event-card{background:#151a20;border-color:#343d47;border-radius:2px}.editor-shell summary{color:#c9d1d9;font-size:11px}.editor-character-stage,.editor-bg-preview,.editor-asset-thumb,.editor-area-map{background-color:#10151a;border-radius:2px}.editor-statusbar{color:#7f8994;background:#181d23;border-top:1px solid #2c343e;justify-content:space-between;align-items:center;gap:14px;padding:0 10px;font-size:9px;display:flex}.editor-statusbar>div{align-items:center;gap:12px;display:flex}.editor-status-online{display:inline-block;box-shadow:0 0 6px #54c58b7a}.editor-shell--loading{background:#11151a;grid-template-rows:minmax(0,1fr);place-items:center;padding:20px;display:grid}.editor-login-card{-webkit-backdrop-filter:none;backdrop-filter:none;text-align:left;background:#1a2027;border-color:#38424d;border-radius:3px;gap:12px;width:min(400px,100vw - 40px);padding:20px;box-shadow:0 18px 50px #00000061}.editor-login-card h1{font-size:19px}.editor-login-card input{background:#10151a;border-radius:2px;min-height:38px}.editor-login-card>div{justify-content:flex-start}@media (height<=760px){.editor-shell{grid-template-rows:52px minmax(0,1fr) 24px}.editor-workspace{grid-template-rows:60px minmax(0,1fr)}.editor-navigation{padding-block:6px}.editor-nav-group{margin-bottom:6px}.editor-nav-button{min-height:29px}}.editor-character-workbench{grid-template-columns:minmax(360px,1fr) minmax(260px,310px);align-items:start;gap:12px;min-height:0;display:grid}.editor-character-workbench>.editor-character-preview{align-self:start;min-width:0;position:sticky;top:0}.editor-character-viewport-status{grid-template-columns:auto auto 1fr;align-items:center;gap:8px;padding:9px 2px 0;display:grid}.editor-character-viewport-status span,.editor-character-inspector-card-title span{color:#6f7c89;letter-spacing:.13em;font-family:Cascadia Mono,monospace;font-size:8px}.editor-character-viewport-status strong{color:#cfd7df;font-size:10px}.editor-character-viewport-status small{color:#7f8994;justify-self:end;font-size:9px}.editor-character-inspector{scrollbar-gutter:stable;align-content:start;gap:8px;max-height:min(640px,100dvh - 300px);padding-right:4px;display:grid;overflow-y:auto}.editor-character-inspector-list{gap:8px;display:grid}.editor-character-inspector-card{background:#171d23;border:1px solid #343e49;overflow:hidden}.editor-character-inspector-card--background{background:#17212a;border-color:#3d5264;gap:8px;padding:9px;display:grid}.editor-character-inspector-card-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.editor-character-inspector-card-title>div{gap:2px;min-width:0;display:grid}.editor-character-inspector-card-title strong{color:#dce4eb;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.editor-character-inspector-card>details>summary,.editor-character-inspector-summary,.editor-inspector-subsection>summary,.editor-dialogue-advanced>summary{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:8px;list-style:none;display:flex}.editor-character-inspector-card>details>summary::-webkit-details-marker{display:none}.editor-inspector-subsection>summary::-webkit-details-marker{display:none}.editor-dialogue-advanced>summary::-webkit-details-marker{display:none}.editor-character-inspector-summary{background:#202730;border-bottom:1px solid #0000;min-height:34px;padding:7px 9px}.editor-character-inspector-card>details[open]>.editor-character-inspector-summary{background:#232c35;border-bottom-color:#35404c}.editor-character-inspector-summary:after,.editor-inspector-subsection>summary:after,.editor-dialogue-advanced>summary:after{content:"›";color:#7f8b96;transition:transform .14s;transform:rotate(90deg)}.editor-character-inspector-card>details[open]>.editor-character-inspector-summary:after,.editor-inspector-subsection[open]>summary:after,.editor-dialogue-advanced[open]>summary:after{transform:rotate(-90deg)}.editor-character-inspector-summary>span{color:#e2e8ee;font-size:11px;font-weight:650}.editor-character-inspector-summary>small{color:#8f9ba6;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin-left:auto;font-size:9px;overflow:hidden}.editor-character-inspector-body{gap:9px;padding:9px;display:grid}.editor-character-inspector-body .editor-choice-card-head{border-bottom:1px solid #2e3741;align-items:center;padding-bottom:7px}.editor-character-inspector-body .editor-choice-card-head>strong{color:#7f8a95;font-size:9px;font-weight:500}.editor-character-inspector-body .editor-character-card-actions{gap:4px}.editor-character-inspector-body .editor-character-card-actions button{min-height:26px;padding:4px 7px;font-size:9px}.editor-character-inspector-form{grid-template-columns:1fr;gap:7px}.editor-inspector-range>div{grid-template-columns:minmax(80px,1fr) 64px auto;align-items:center;gap:5px;display:grid}.editor-inspector-range input[type=range]{min-width:0;padding-inline:0}.editor-inspector-range input[type=number]{text-align:right;width:64px;min-width:0}.editor-inspector-range small{color:#798590;font-family:Cascadia Mono,monospace;font-size:8px}.editor-inspector-subsection,.editor-dialogue-advanced{background:#141a20;border:1px solid #303a45}.editor-inspector-subsection>summary,.editor-dialogue-advanced>summary{min-height:32px;padding:7px 9px}.editor-inspector-subsection>summary>span,.editor-dialogue-advanced>summary>span{color:#c8d1da;font-size:10px}.editor-inspector-subsection>summary>small,.editor-dialogue-advanced>summary>small{color:#788590;margin-left:auto;font-size:8px}.editor-inspector-subsection-body,.editor-dialogue-advanced-body{border-top:1px solid #2f3943;gap:8px;padding:9px;display:grid}.editor-filter-toggles{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.editor-filter-toggles .editor-check-field{background:#1a2128;border:1px solid #303a45;min-height:28px;padding:5px 6px;font-size:9px}.editor-ascii-effect-toggle{background:linear-gradient(90deg,#54c58b1f,#0000),#18221f;border:1px solid #3d5f51;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;min-height:46px;padding:8px;display:grid}.editor-ascii-effect-toggle>span{gap:2px;display:grid}.editor-ascii-effect-toggle strong{color:#a6e8c2;font-size:10px;font-weight:650}.editor-ascii-effect-toggle small{color:#7f9b8c;font-size:8px;line-height:1.35}.editor-inspector-reset{justify-self:start;min-height:27px;padding:4px 8px;font-size:9px}.editor-character-inspector>.editor-character-clipboard{min-height:48px;padding:8px}.editor-character-inspector>.primary-button{width:100%}.editor-dialogue-advanced{background:#0f1d2ac2;border-color:#5aa7ff40;grid-column:1/-1}.editor-dialogue-advanced-body{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-dialogue-advanced-body .editor-inspector-reset{grid-column:1/-1}.editor-color-field>div{grid-template-columns:42px minmax(0,1fr);gap:6px;display:grid}.editor-color-field input[type=color]{width:42px;min-width:42px;padding:2px}.editor-bg-copy .editor-inspector-subsection{margin-top:3px}@media (width<=1180px){.editor-character-workbench{grid-template-columns:1fr}.editor-character-workbench>.editor-character-preview{position:relative}.editor-character-inspector{max-height:none;overflow:visible}.editor-character-inspector-form,.editor-dialogue-advanced-body{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.editor-character-viewport-status,.editor-dialogue-advanced-body,.editor-character-inspector-form{grid-template-columns:1fr}.editor-character-viewport-status small{justify-self:start}.editor-filter-toggles{grid-template-columns:1fr}}.minigame-overlay{z-index:1200;color:#dfffee;isolation:isolate;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.minigame-overlay-shade{z-index:-2;-webkit-backdrop-filter:brightness(.28)saturate(.55)blur(3px);backdrop-filter:brightness(.28)saturate(.55)blur(3px);background:radial-gradient(circle at 50% 48%,#0f27242e,#000407eb 62%),#000508d6;animation:.24s ease-out both minigame-shade-in;position:absolute;inset:0}.minigame-stage{background:#0c0f12e0;border:1px solid #cfd3c52e;width:min(620px,96vw);max-height:calc(100vh - 30px);padding:12px 14px 14px;animation:.3s cubic-bezier(.22,1,.36,1) both minigame-stage-in;overflow:auto;box-shadow:0 28px 80px #000000ad,inset 0 0 0 1px #ffffff09}.minigame-stage-head,.minigame-stage-foot{letter-spacing:.12em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:16px;font-family:Cascadia Mono,Consolas,monospace;display:flex}.minigame-stage-head{border-bottom:1px solid #d6dace21;padding:2px 2px 10px}.minigame-stage-head span,.minigame-stage-head small,.minigame-stage-foot{color:#c4ccbe94;font-size:10px}.minigame-stage-head h2{letter-spacing:.08em;margin:3px 0 0;font-size:17px}.minigame-stage-foot{border-top:1px solid #d6dace1a;flex-wrap:wrap;justify-content:center;padding-top:10px}.gbc-console{background:linear-gradient(145deg,#ffffff57,#0000 27%),linear-gradient(155deg,#aaa5bd 0%,#918ba8 55%,#817b99 100%);border:3px solid #756f87;border-radius:26px 26px 68px;width:min(520px,88vw);margin:12px auto;padding:16px 28px 18px;box-shadow:inset 4px 4px #ffffff38,inset -5px -7px #3a344b2e,0 18px 42px #0000007a}.gbc-console-brand{color:#4b475f;letter-spacing:.13em;justify-content:space-between;gap:12px;margin:0 auto 7px;font:600 8px/1 Cascadia Mono,Consolas,monospace;display:flex}.gbc-console-brand b{color:#4b3e70;font-style:italic}.gbc-screen-bezel{background:#3f4350;border-radius:18px 18px 38px;width:min(100%,430px);margin:auto;padding:15px 18px 19px;box-shadow:inset 0 0 0 2px #30343e,inset 3px 3px #ffffff12,0 1px #ffffff26}.gbc-pixel-screen{aspect-ratio:160/144;width:100%;image-rendering:pixelated;image-rendering:crisp-edges;background:#9eaa71;border:3px solid #252d29;display:block;box-shadow:0 0 0 2px #5d6650,inset 0 0 13px #28372a38}.gbc-console-controls{grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;margin-top:14px;display:grid}.gbc-dpad{grid-template-columns:32px 25px 32px;justify-content:start;align-items:center;min-height:70px;display:grid;position:relative}.gbc-dpad:before,.gbc-dpad:after{content:"";z-index:0;background:#272833;position:absolute;box-shadow:inset 0 -3px #14151b}.gbc-dpad:before{width:86px;height:30px;top:20px;left:1px}.gbc-dpad:after{width:30px;height:70px;top:0;left:29px}.gbc-dpad button,.gbc-system-controls button,.gbc-action-button{color:#d9d8e2;cursor:pointer;image-rendering:pixelated;border:0;font-family:Cascadia Mono,Consolas,monospace;transition:none}.gbc-dpad button{z-index:1;width:32px;height:30px;box-shadow:none;background:0 0;padding:0;position:relative}.gbc-dpad i{z-index:1;background:#20212a;border-radius:0;height:20px;position:relative;box-shadow:inset 0 0 0 4px #2a2b35}.gbc-system-controls{gap:7px;display:flex;transform:translateY(15px)rotate(-4deg)}.gbc-system-controls button{clip-path:polygon(5px 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,0 calc(100% - 5px),0 5px);color:#f2eff8b8;letter-spacing:.12em;background:#575267;border-radius:0;padding:5px 12px;font-size:8px;box-shadow:inset 0 -3px #393545}.gbc-action-controls{justify-content:flex-end;align-items:center;gap:12px;display:flex;transform:rotate(-8deg)}.gbc-action-button{background:0 0;justify-items:center;gap:3px;display:grid}.gbc-action-button b{clip-path:polygon(11px 0,31px 0,42px 11px,42px 31px,31px 42px,11px 42px,0 31px,0 11px);background:#873b72;border-radius:0;place-items:center;width:42px;height:42px;display:grid;box-shadow:inset 0 -4px #542349,0 4px 7px #2e263a57}.gbc-action-button--a b{background:#734685;box-shadow:inset 0 -4px #452b51,0 4px 7px #2e263a57}.gbc-action-button span{color:#4d485e;font-size:7px;font-weight:700}.gbc-console-bottom{grid-template-columns:1fr auto;align-items:end;gap:18px;margin-top:9px;display:grid}.gbc-end-game-button{clip-path:polygon(5px 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,0 calc(100% - 5px),0 5px);color:#f3eff7;letter-spacing:.06em;background:#696276;border:1px solid #4b455a;border-radius:0;justify-self:start;padding:8px 14px;font:700 10px/1 Cascadia Mono,Consolas,monospace;box-shadow:inset 0 -3px #494453,0 2px 3px #3630423d}.gbc-end-game-button:hover:not(:disabled){background:#777083}.gbc-system-controls button:active:not(:disabled),.gbc-action-button:active:not(:disabled),.gbc-end-game-button:active:not(:disabled){translate:0 2px}.gbc-speaker-grille{gap:5px;padding:0 8px 3px 0;display:flex;transform:rotate(-18deg)}.gbc-speaker-grille i{background:#4540528c;border-radius:4px;width:4px;height:28px;display:block;box-shadow:1px 0 #ffffff1f}.gbc-console button:disabled{cursor:default;filter:grayscale(.8);opacity:.38}.minigame-missing{text-align:center;border:1px dashed #ff677c73;margin:28px auto;padding:32px}.minigame-missing button{clip-path:polygon(5px 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,0 calc(100% - 5px),0 5px);color:#dfffee;background:0 0;border:1px solid #76ffc273;border-radius:0;padding:8px 14px;font:700 10px/1 Cascadia Mono,Consolas,monospace}@media (width<=980px){.editor-minigame-parameter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@keyframes minigame-shade-in{0%{opacity:0}to{opacity:1}}@keyframes minigame-stage-in{0%{opacity:0;transform:translateY(12px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.editor-text-choice-anchors,.editor-choice-routing-note{background:#15222f8f;border:1px solid #63a4db29;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;display:flex}.editor-text-choice-anchors{margin-bottom:10px}.editor-text-choice-anchors>span,.editor-choice-routing-note>span{color:var(--editor-muted,#73869a);margin-right:auto;font-size:11px}.editor-choice-routing-note{border-left:2px solid #43c58d;margin-bottom:12px}.editor-choice-routing-note strong{color:#a8f7ce;font:600 11px/1.4 Cascadia Mono,Consolas,monospace}.editor-tree-node--minigame{background:linear-gradient(90deg,#6a378c1f,#131f2ab8);border-color:#ba79ff5c}@media (height<=760px){.minigame-stage{width:min(560px,96vw)}.gbc-console{width:min(470px,88vw);padding-block:8px 12px}.gbc-screen-bezel{width:min(100%,384px);padding:8px}.gbc-console-controls{margin-top:7px}}@media (width<=560px){.minigame-overlay{padding:8px}.minigame-stage{padding-inline:8px}.gbc-console{padding-inline:10px}.gbc-console-controls{grid-template-columns:1fr 1fr}.gbc-system-controls,.minigame-stage-foot{display:none}}@media (prefers-reduced-motion:reduce){.minigame-overlay-shade,.minigame-stage{animation:none}}.inventory-object-list{gap:7px;display:grid}.inventory-object-card{color:#dff8ef;text-align:left;background:linear-gradient(90deg,#3ed3a412,#0000 55%),#020d0eb8;border:1px solid #68e1b733;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:56px;padding:8px;transition:border-color .14s,background .14s,transform .14s;display:grid}.inventory-object-card:hover:not(:disabled){background:linear-gradient(90deg,#3ed3a424,#0000 66%),#020f10e6;border-color:#72f5c985;transform:translate(-2px)}.inventory-object-card:disabled{cursor:default;opacity:.48}.inventory-object-mark{color:#7ff0c9;border:1px solid #7eefcd52;place-items:center;width:34px;height:34px;font:700 10px/1 Cascadia Mono,Consolas,monospace;display:grid;box-shadow:inset 0 0 18px #48eebe14}.inventory-object-card>span:nth-child(2){gap:3px;min-width:0;display:grid}.inventory-object-card strong,.inventory-object-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-object-card strong{font-size:12px}.inventory-object-card small{color:#abd2c59e;font-size:9px}.inventory-object-card b{color:#7eeec9b3;font:500 9px/1 Cascadia Mono,Consolas,monospace}.inventory-empty{color:#b3d2c899;font-size:11px}.item-inspect-overlay{z-index:1400;-webkit-backdrop-filter:blur(13px)saturate(.72);backdrop-filter:blur(13px)saturate(.72);background:#000407d1;place-items:center;padding:clamp(14px,3vw,44px);animation:.22s ease-out both item-inspect-shade-in;display:grid;position:fixed;inset:0}.item-inspect-dialog{color:#e8faf4;clip-path:polygon(15px 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,0 100%,0 15px);background:linear-gradient(135deg,#46eebc12,#0000 28%),#050c0e;border:1px solid #6ff5cc7a;grid-template-rows:auto minmax(0,1fr);width:min(1120px,96vw);height:min(720px,92vh);animation:.32s cubic-bezier(.22,1,.36,1) both item-inspect-dialog-in;display:grid;overflow:hidden;box-shadow:0 28px 90px #000000bd,inset 0 0 60px #33d2a609}.item-inspect-head{background:#020c0ec2;border-bottom:1px solid #6fecc733;justify-content:space-between;align-items:center;gap:18px;min-height:86px;padding:16px 20px 14px 24px;display:flex}.item-inspect-head>div{gap:5px;display:grid}.item-inspect-head span{color:#78e8c799;letter-spacing:.18em;font:600 9px/1.2 Cascadia Mono,Consolas,monospace}.item-inspect-head h2{letter-spacing:.06em;margin:0;font-size:clamp(20px,2.2vw,34px);font-weight:620}.item-inspect-head button{color:#dff9f0c7;background:#041415b3;border:1px solid #7cedcb47;align-items:center;gap:8px;min-height:36px;padding:7px 12px;font:600 10px/1 Cascadia Mono,Consolas,monospace;display:flex}.item-inspect-head button:hover{color:#fff;border-color:#7cedcbb3}.item-inspect-head button span{color:#7ff0c9;letter-spacing:0;font-size:20px}.item-inspect-body{grid-template-columns:minmax(0,1fr) 292px;min-height:0;display:grid}.item-model-viewer{isolation:isolate;background:radial-gradient(circle at 50% 42%,#3da09030,#0000 34%),linear-gradient(#071215,#020608 78%);min-width:0;min-height:0;position:relative;overflow:hidden}.item-model-viewer canvas{z-index:2;cursor:grab;touch-action:none;position:relative}.item-model-viewer canvas:active{cursor:grabbing}.item-model-viewer-grid{z-index:1;pointer-events:none;opacity:.32;background-image:linear-gradient(#5de8c214 1px,#0000 1px),linear-gradient(90deg,#5de8c214 1px,#0000 1px);background-size:42px 42px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#0000,#000 22% 72%,#0000);mask-image:linear-gradient(#0000,#000 22% 72%,#0000)}.item-model-viewer:after{z-index:3;content:"";pointer-events:none;mix-blend-mode:screen;opacity:.24;background:linear-gradient(#9dffe208,#0000 2px) 0 0/100% 5px;position:absolute;inset:0}.item-model-viewer-hint{z-index:4;color:#c5e4db8c;pointer-events:none;align-items:center;gap:8px;font:500 9px/1 Cascadia Mono,Consolas,monospace;display:flex;position:absolute;bottom:14px;right:16px}.item-model-viewer-hint span{color:#74efc9c2;border:1px solid #71e7c33d;padding:4px 6px}.item-model-viewer-fallback{z-index:6;color:#dbf1eab8;text-align:center;place-content:center;gap:8px;padding:20px;display:grid;position:absolute;inset:0}.item-model-viewer-fallback strong{color:#ff9caa;font:700 12px/1 Cascadia Mono,Consolas,monospace}.item-model-viewer-fallback span{font-size:11px}.item-inspect-meta{background:#040e10db;border-left:1px solid #69e4be29;align-content:start;gap:18px;min-width:0;padding:26px 24px;display:grid}.item-inspect-meta>div{border-bottom:1px solid #6cd7b71a;gap:6px;padding-bottom:13px;display:grid}.item-inspect-meta span{color:#71e1c085;letter-spacing:.16em;font:600 9px/1 Cascadia Mono,Consolas,monospace}.item-inspect-meta strong{overflow-wrap:anywhere;color:#e4f8f2e6;font:550 12px/1.45 Cascadia Mono,Consolas,monospace}.item-inspect-meta p{color:#d3e8e1b8;margin:6px 0 0;font-size:13px;line-height:1.85}.editor-item-workbench{grid-template-columns:minmax(0,1fr) minmax(330px,.72fr);align-items:start;gap:14px;display:grid}.editor-item-list{gap:10px;min-width:0;display:grid}.editor-item-card{background:#0b1117b8;border:1px solid #798b9d3d;gap:12px;padding:12px;display:grid}.editor-item-card--active{border-color:#4dc49d94;box-shadow:inset 3px 0 #4ed7aa8a}.editor-item-card>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.editor-item-card>header>div:first-child{gap:4px;min-width:0;display:grid}.editor-item-card>header span{color:#718496;letter-spacing:.14em;font:600 9px/1 Cascadia Mono,Consolas,monospace}.editor-item-card>header strong{color:#b7c5d1;text-overflow:ellipsis;white-space:nowrap;font:600 11px/1.3 Cascadia Mono,Consolas,monospace;overflow:hidden}.editor-item-preview{background:#0e141a;border:1px solid #34414c;gap:10px;min-width:0;padding:12px;display:grid;position:sticky;top:0}.editor-item-preview>div:first-child{gap:4px;display:grid}.editor-item-preview span{color:#52c79f;letter-spacing:.14em;font:600 9px/1 Cascadia Mono,Consolas,monospace}.editor-item-preview strong{color:#e6edf2;font-size:15px}.editor-item-preview small{color:#768694;font:500 10px/1.3 Cascadia Mono,Consolas,monospace}.editor-item-preview p{color:#71808e;margin:0;font-size:10px;line-height:1.55}.item-model-viewer--compact{border:1px solid #62d3b12e;height:410px}.editor-item-empty{color:#788795;text-align:center;border:1px dashed #34414d;justify-items:center;gap:7px;padding:48px 24px;display:grid}.editor-item-empty strong{color:#dbe5eb}.editor-item-empty p{margin:0;font-size:11px}.editor-model-asset-list{gap:8px;display:grid}.editor-model-asset-card{background:#0a0f149e;border:1px solid #72849538;grid-template-columns:42px minmax(170px,1fr) minmax(220px,.8fr);align-items:center;gap:10px;padding:9px 10px;display:grid}.editor-model-asset-icon{color:#68d8b3;border:1px solid #58c8a452;place-items:center;width:42px;height:42px;font:700 11px/1 Cascadia Mono,Consolas,monospace;display:grid}.editor-model-asset-card>div:nth-child(2){gap:4px;min-width:0;display:grid}.editor-model-asset-card strong,.editor-model-asset-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-model-asset-card strong{color:#dce6ec;font-size:12px}.editor-model-asset-card small{color:#71808d;font-size:10px}@keyframes item-inspect-shade-in{0%{opacity:0}to{opacity:1}}@keyframes item-inspect-dialog-in{0%{opacity:0;transform:translateY(12px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=980px){.item-inspect-body{grid-template-columns:1fr}.item-inspect-meta{display:none}.editor-item-workbench{grid-template-columns:1fr}.editor-item-preview{order:-1;position:static}.item-model-viewer--compact{height:min(52vh,420px)}}@media (width<=620px){.item-inspect-overlay{padding:8px}.item-inspect-dialog{width:100%;height:min(780px,96vh)}.item-inspect-head{min-height:72px;padding:12px}.item-inspect-head button{font-size:0}.item-inspect-head button span{font-size:20px}.editor-item-card>header{flex-direction:column;align-items:stretch}.editor-model-asset-card{grid-template-columns:42px minmax(0,1fr)}.editor-model-asset-card .editor-asset-rename{grid-column:1/-1}}@media (prefers-reduced-motion:reduce){.item-inspect-overlay,.item-inspect-dialog{animation:none}}.minigame-overlay.minigame-overlay--arcade{--arcade-ink:#141728;--arcade-shell:#413552;--arcade-light:#756080;--arcade-gold:#ffda83;--arcade-coral:#f17b83;--arcade-mint:#a3e6c4;padding:12px;font-family:Cascadia Mono,Consolas,Microsoft YaHei UI,monospace}.minigame-overlay--arcade .minigame-overlay-shade{-webkit-backdrop-filter:brightness(.25)saturate(.5)blur(4px);backdrop-filter:brightness(.25)saturate(.5)blur(4px);background:radial-gradient(at 50% 40%,#31233fba,#080d16f2 75%),#0a1017e8}.minigame-overlay--arcade .minigame-stage{width:min(536px,100vw - 24px);max-height:calc(100dvh - 24px);box-shadow:none;scrollbar-width:thin;scrollbar-color:#756080 #141728;background:0 0;border:0;padding:4px 12px 10px;overflow-x:hidden}.minigame-overlay--arcade .minigame-stage-head{border:0;padding:0 4px 8px}.minigame-overlay--arcade .minigame-stage-head h2{color:#dfd3e1;font-size:12px}.minigame-overlay--arcade .minigame-stage-head span{color:#ab93b5;font-size:9px}.minigame-overlay--arcade .minigame-stage-head small{color:#d4be9e;font-size:9px}.minigame-overlay--arcade .minigame-stage-foot{color:#ac9fba;border:0;gap:6px 14px;padding-top:10px;font-size:9px}.arcade-cabinet{background:var(--arcade-shell);color:#f4e8d1;isolation:isolate;border:4px solid #181829;width:100%;margin:0 auto;position:relative;box-shadow:-4px 0 #a08391,4px 0 #8a687e,0 -4px #ba98a0,0 4px #7b546c,0 8px #141523,8px 12px #090d17}.arcade-cabinet:before,.arcade-cabinet:after{content:"";z-index:3;pointer-events:none;background:#181829;width:8px;height:8px;position:absolute}.arcade-cabinet:before{top:-4px;left:-4px;box-shadow:4px -4px #090d17,-4px 4px #090d17}.arcade-cabinet:after{bottom:-4px;right:-4px;box-shadow:4px -4px #090d17,-4px 4px #090d17}.arcade-cabinet button{cursor:pointer;touch-action:manipulation;border-radius:0;font-family:inherit;transition:none}.arcade-cabinet button:focus-visible,.arcade-preview-tools :focus-visible{outline-offset:3px;outline:3px solid #c2f8dd}.arcade-cabinet button:disabled{opacity:.5;cursor:default}.arcade-cabinet .sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.arcade-marquee{color:#5b344b;background:#ffdb91;border:4px solid #a56c68;border-top-color:#f6c68d;padding:7px 12px 0;position:relative;box-shadow:inset 0 0 0 4px #ffe8ad}.arcade-bulbs{justify-content:space-between;padding:1px 3px 8px;display:flex}.arcade-bulbs i{background:#b67164;width:6px;height:6px;box-shadow:2px 0 #f6a877,0 2px #f6a877}.arcade-bulbs i:nth-child(3n){background:#fff4c0}.arcade-marquee-copy{justify-content:center;align-items:center;gap:16px;display:flex}.arcade-marquee-copy>div{flex:1;max-width:330px}.arcade-marquee-copy svg{filter:drop-shadow(0 3px #efb680);width:100%;height:30px;display:block}.arcade-marquee-copy p{text-align:center;letter-spacing:.14em;margin:7px 0;font-size:9px;font-weight:700}.arcade-marquee-copy b{color:#ffde8c;letter-spacing:.2em;background:#633a50;margin:0 6px;padding:1px 5px}.arcade-star{color:#ae5a62;font-size:25px}.arcade-marquee-stripe{background:repeating-linear-gradient(90deg,#9f5e66 0 12px,#e58c79 12px 24px,#f3b78a 24px 36px);height:5px;margin:0 -12px}.arcade-body{background:linear-gradient(90deg,#4c3e5d 0 4px,#413552 4px calc(100% - 4px),#322e49 calc(100% - 4px));border-left:6px solid #6d5576;border-right:6px solid #2d2b44;padding:0 14px}.arcade-toolbar{color:#c7b5c9;justify-content:space-between;align-items:center;gap:6px;height:32px;font-size:10px;display:flex}.arcade-toolbar>span{align-items:center;gap:7px;display:flex}.arcade-toolbar i{background:var(--arcade-mint);width:5px;height:5px;box-shadow:0 0 0 2px #243533}.arcade-toolbar>div{gap:5px;display:flex}.arcade-toolbar button{color:#ebd2bc;background:#30293e;border:1px solid #80617d;padding:5px 8px;font-size:10px}.arcade-toolbar button:hover{background:#67506b}.arcade-screen-bezel{background:#262c3b;border:4px solid #171b2b;border-bottom-color:#846981;padding:7px 8px 9px;position:relative;box-shadow:0 -3px #907b93,-3px 0 #735f7e,3px 0 #29273b}.arcade-screen-label{letter-spacing:.13em;color:#b2c4b8;justify-content:space-between;margin-bottom:5px;font-size:7px;display:flex}.arcade-screen-label span:last-child{color:#9cd5af}.arcade-pixel-screen{aspect-ratio:256/160;width:100%;image-rendering:pixelated;image-rendering:crisp-edges;background:#14232c;display:block}.arcade-screen-glass{pointer-events:none;background:repeating-linear-gradient(0deg,#060e170c 0 1px,#0000 1px 4px);position:absolute;inset:22px 8px 9px;box-shadow:inset 0 0 0 2px #d2f6d70a}.arcade-result{background:#2d273c;border:2px solid #685166;border-left:4px solid #b88788;justify-content:space-between;align-items:center;gap:10px;min-height:54px;margin:8px 0;padding:6px 10px;display:flex}.arcade-result>div:first-child{gap:4px;display:grid}.arcade-result span{letter-spacing:.12em;color:#bba6b9;font-size:8px}.arcade-result strong{letter-spacing:.04em;color:#f0dbc2;font-size:15px}.arcade-payout{justify-items:end;gap:2px;display:grid}.arcade-payout b{color:var(--arcade-gold);font-variant-numeric:tabular-nums;font:800 26px/1 Consolas,monospace}.arcade-result[data-tier=win],.arcade-result[data-tier=big],.arcade-result[data-tier=jackpot]{background:#453344;border-color:#c28b62}.arcade-result[data-tier=jackpot]{border-color:#ffdf8a;box-shadow:2px 0 #fa9f77,-2px 0 #fa9f77}.arcade-result[data-tier=jackpot] strong{color:var(--arcade-gold)}.arcade-meters{grid-template-columns:1.2fr .8fr 1fr;gap:6px;display:grid}.arcade-meters>div{background:#1a1e2d;border:2px solid #6b536e;border-top-color:#211e32;padding:5px 9px}.arcade-meters span{color:#a7a1b1;justify-content:space-between;align-items:center;gap:3px;font-size:8px;display:flex}.arcade-meters small{font-size:8px;font-weight:400}.arcade-meters b{letter-spacing:.08em;font-variant-numeric:tabular-nums;color:var(--arcade-gold);padding-top:3px;font:700 24px/1 Consolas,monospace;display:block}.arcade-meters>div:last-child b{color:#d7c6dc}.arcade-meters>div:last-child .arcade-positive{color:var(--arcade-mint)}.arcade-control-deck{grid-template-columns:1fr 1.4fr;align-items:end;gap:20px;padding:10px 2px 8px;display:grid}.arcade-bet-control>span{color:#ccb4c2;letter-spacing:.1em;margin-bottom:5px;font-size:9px;display:block}.arcade-bet-control>div{gap:8px;display:flex}.arcade-bet-control button{color:#f7e0d0;background:#75617f;border:3px solid #2b263b;border-top-color:#b499b2;min-width:46px;height:40px;font-size:24px;box-shadow:0 4px #211e32}.arcade-bet-control button:hover:not(:disabled){background:#8d7494}.arcade-spin{background:var(--arcade-coral);color:#452d43;border:4px solid #903f5a;border-color:#ffe0b0 #903f5a #903f5a #ffb794;align-content:center;justify-items:center;gap:7px;min-height:62px;padding:9px;display:grid;box-shadow:0 5px #54283f,3px 5px #211e32}.arcade-spin svg{width:92px;height:20px}.arcade-spin span{letter-spacing:.12em;font-size:10px;font-weight:700}.arcade-spin:hover:not(:disabled){background:#ff9d95}.arcade-spin:active:not(:disabled),.arcade-bet-control button:active:not(:disabled){transform:translateY(4px);box-shadow:0 1px #211e32}.arcade-tray{justify-content:center;align-items:center;gap:10px;min-height:33px;padding-top:5px;display:flex}.arcade-tray-slot{background:#101923;border-top:3px solid #29223a;width:52px;height:10px;box-shadow:0 3px #78627e}.arcade-tray span{color:#c0aab9;font-size:9px}.arcade-bottom{background:#332b44;border-top:3px solid #2b253b;justify-content:space-between;align-items:center;margin:0 -14px;padding:8px 12px;display:flex}.arcade-bottom>span{letter-spacing:.12em;color:#ab93a9;font-size:8px}.arcade-bottom button{color:#efdfd0;background:#53405c;border:1px solid #83607c;border-bottom:3px solid #211d30;padding:6px 9px;font-size:10px}.arcade-bottom button:hover:not(:disabled){background:#6d5173}.arcade-bottom kbd{color:#bea9c1;margin-left:5px;font-family:inherit;font-size:9px}.arcade-cabinet[data-phase=spinning] .arcade-bulbs i,.arcade-cabinet--celebrating .arcade-bulbs i{animation:.65s steps(2,end) infinite arcade-lamp;animation-delay:calc(var(--lamp) * -90ms)}.arcade-cabinet--celebrating[data-tier=jackpot] .arcade-marquee{border-color:#fff0b8}.arcade-cabinet--celebrating[data-tier=big] .arcade-result,.arcade-cabinet--celebrating[data-tier=jackpot] .arcade-result{animation:.36s steps(4,end) both arcade-prize-pop}.arcade-cabinet--celebrating[data-tier=jackpot]{animation:.3s steps(5,end) both arcade-cabinet-kick}.arcade-coin-burst{z-index:5;pointer-events:none;position:absolute;inset:0;overflow:hidden}.arcade-coin-burst i{width:10px;height:14px;animation:1.2s steps(16,end) both arcade-coin;animation-delay:var(--coin-delay);background:#ffde7d;border:2px solid #ba8047;position:absolute;top:76%;left:50%;box-shadow:2px 0 #ffe6ac,-2px 0 #ffcf69,inset 2px 0 #fff0b0}.arcade-rules{z-index:8;background:#272838;border:4px solid #ffe2a4;padding:18px;position:absolute;inset:95px 20px auto;box-shadow:0 6px #121827,0 0 0 10px #111626ce}.arcade-rules header{justify-content:space-between;align-items:center;display:flex}.arcade-rules header svg{width:170px;color:var(--arcade-gold)}.arcade-rules header button{color:#ffdaa4;background:#59435a;border:2px solid #a18a91;width:32px;height:32px;font-size:22px}.arcade-rules p{color:#d4c5c7;font-size:11px;line-height:1.7}.arcade-rules dl{margin:15px 0}.arcade-rules dl>div{border-top:1px dashed #65536b;justify-content:space-between;padding:10px 0;display:flex}.arcade-rules dt{font-size:13px}.arcade-rules dd{color:var(--arcade-gold);margin:0;font-size:16px}.arcade-preview-tools{color:#b5a0bf;padding:12px 6px 2px;font-size:10px}.arcade-preview-tools summary{cursor:pointer}.arcade-preview-tools select{color:#e4d5ed;background:#2f293d;border:1px solid #766183;margin:8px 8px 0 0;padding:5px}.arcade-preview-tools small{font-size:10px}@keyframes arcade-lamp{0%,to{background:#a26462}50%{background:#fff5bd}}@keyframes arcade-prize-pop{0%{transform:translateY(3px)}45%{transform:translateY(-3px)}to{transform:translateY(0)}}@keyframes arcade-cabinet-kick{0%,to{transform:translate(0)}25%{transform:translate(-3px)}75%{transform:translate(3px)}}@keyframes arcade-coin{0%{opacity:0;transform:translate(0)}12%{opacity:1}50%{transform:translate(calc(var(--coin-x) * .55), calc(var(--coin-rise) * -1)) rotate(calc(var(--coin-turn) * .5))}to{transform:translate(var(--coin-x), 85px) rotate(var(--coin-turn));opacity:0}}@media (height<=800px) and (width>=561px){.minigame-overlay--arcade .minigame-stage{width:436px}.arcade-marquee-copy svg{height:24px}.arcade-marquee-copy p{margin:5px 0}.arcade-bulbs{padding-bottom:5px}.arcade-result{min-height:46px;margin:6px 0}.arcade-result strong{font-size:14px;line-height:1.2}.arcade-meters b{font-size:21px}.arcade-control-deck{padding-top:7px}.arcade-spin{gap:4px;min-height:54px;padding:6px}.arcade-spin svg{height:18px}.arcade-tray{min-height:25px}.arcade-bottom{padding-block:6px}}@media (width<=560px){.minigame-overlay--arcade{padding:8px}.minigame-overlay--arcade .minigame-stage{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:4px 7px 10px}.arcade-body{border-left-width:4px;border-right-width:4px;padding-inline:8px}.arcade-marquee{padding-inline:8px}.arcade-marquee-copy{gap:8px}.arcade-marquee-copy svg{height:23px}.arcade-marquee-copy p{letter-spacing:.02em;font-size:8px}.arcade-star{font-size:17px}.arcade-marquee-stripe{margin-inline:-8px}.arcade-meters>div{padding-inline:6px}.arcade-meters small{display:none}.arcade-meters b{font-size:22px}.arcade-control-deck{gap:12px}.arcade-bet-control button{min-width:44px;height:44px}.arcade-bottom{margin-inline:-8px}.arcade-bottom button{min-height:40px}.arcade-result strong{font-size:13px}.arcade-tray-slot{width:34px}.arcade-rules{padding:12px;inset-inline:10px}}@media (prefers-reduced-motion:reduce){.minigame-overlay--arcade .minigame-stage,.minigame-overlay--arcade .minigame-overlay-shade{animation:none}.arcade-cabinet,.arcade-cabinet *,.arcade-cabinet :before,.arcade-cabinet :after{animation:none!important}.arcade-coin-burst{display:none}}
