.editor{z-index:5;pointer-events:none;color:#f3eefc;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font:14px/1.35 Trebuchet MS,Segoe UI,system-ui,sans-serif;position:fixed;inset:0}.editor *{box-sizing:border-box}.ed-panel{pointer-events:auto;touch-action:pan-y;background:#241d33f5;border:0 solid #4b3d6b;width:264px;padding:10px 12px;position:absolute;top:0;bottom:0;overflow-y:auto}.ed-left{padding-left:calc(12px + env(safe-area-inset-left));border-right-width:2px;left:0}.ed-right{width:292px;padding-right:calc(12px + env(safe-area-inset-right));border-left-width:2px;right:0}.ed-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.editor h2{color:#ffd76a;margin:0;font:700 20px Georgia,serif}.editor h3{letter-spacing:.08em;text-transform:uppercase;color:#a9a0c2;margin:12px 0 6px;font-size:12px}.editor button,.editor select,.editor input,.editor textarea{font:inherit;color:inherit;background:#34295a;border:2px solid #5c4a94;border-radius:8px}.editor button{cursor:pointer;white-space:nowrap;padding:6px 10px;font-weight:700}.editor button:hover:not(:disabled){background:#4a3a78}.editor button.active{background:#8a6a1f;border-color:#ffd76a}.editor button:disabled{opacity:.4;cursor:default}.editor button.ed-danger{background:#5a2b2b;border-color:#a14a4a}.editor select,.editor input[type=text],.editor input[type=number]{-webkit-user-select:text;user-select:text;width:100%;padding:5px 8px}.ed-row{align-items:flex-end;gap:6px;margin-top:6px;display:flex}.ed-row>*{flex:1 1 0;min-width:0}.ed-row>.ed-field{margin-top:0}.ed-fit{flex-wrap:wrap}.editor .ed-fit>button{flex:auto;padding-inline:8px}.editor section>:not(h3)+select{margin-top:6px}.ed-wrap{flex-wrap:wrap}.ed-wrap>*{flex:40%}.ed-field{margin-top:6px;display:block}.ed-field>span,.ed-label{color:#a9a0c2;margin:6px 0 2px;font-size:12px;display:block}.ed-tools{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.ed-thumbs{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:6px;display:grid}.editor button.ed-thumb{white-space:normal;flex-direction:column;justify-content:flex-end;align-items:center;gap:2px;padding:5px 3px 4px;font-size:12px;line-height:1.15;display:flex}.ed-thumb img{object-fit:contain;pointer-events:none;width:100%;height:42px}.ed-thumb small{color:#ffb9a8;font-size:10px;font-weight:400}.ed-options{margin-top:4px}.ed-checks{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px 8px;display:grid}.ed-checks.wide{grid-template-columns:minmax(0,1fr);margin:6px 0}.ed-checks label{align-items:center;gap:5px;display:flex}.ed-mini{object-fit:contain;width:24px;height:24px}.ed-waves{left:calc(264px + env(safe-area-inset-left));right:calc(292px + env(safe-area-inset-right));pointer-events:auto;touch-action:pan-y;background:#241d33f5;border-top:2px solid #4b3d6b;max-height:44vh;padding:8px 12px 10px;position:absolute;bottom:0;overflow:auto}.ed-waves[hidden]{display:none}.ed-wave-chips{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.ed-wave-chips button{padding:3px 9px}.ed-wave-summary{color:#d9d2ea;flex-wrap:wrap;gap:4px 16px;margin:8px 0 6px;font-size:13px;display:flex}.ed-path-dot{border-radius:50%;width:10px;height:10px;margin-right:5px;display:inline-block}.ed-wave-row{grid-template-columns:480px minmax(120px,1fr);align-items:center;gap:12px;margin-top:6px;padding-right:26px;display:grid}.ed-weather{border:1px solid #4b3d6b;border-radius:8px;flex-wrap:wrap;align-items:center;gap:5px 12px;margin:2px 0 8px;padding:6px 8px;font-size:13px;display:flex}.ed-weather-field,.ed-weather-inherit{white-space:nowrap;align-items:center;gap:5px;display:flex}.ed-weather-field span{color:#a9a0c2}.editor .ed-weather select{width:auto;padding:3px 5px}.ed-weather .ed-note{margin:0}.ed-weather-mark{vertical-align:middle;border-radius:50%;width:7px;height:7px;margin-left:5px;display:inline-block}.ed-wave-add{gap:5px 10px;margin-top:10px}.ed-wave-add .ed-note{margin:0}.ed-wave-fields{grid-template-columns:minmax(104px,1fr) 50px 58px 58px 82px 28px;align-items:center;gap:5px;display:grid}.ed-wave-head{color:#a9a0c2;font-size:11px}.ed-wave-enemy{align-items:center;gap:4px;min-width:0;display:flex}.editor .ed-wave-fields input,.editor .ed-wave-fields select{width:100%;min-width:0;padding:3px 5px}.editor .ed-wave-fields button{padding:2px 0}.ed-wave-axis,.ed-wave-track{height:26px;position:relative}.ed-wave-axis{height:16px}.ed-wave-axis span{white-space:nowrap;border-left:1px solid #5c4a94;padding-left:3px;position:absolute;top:0}.ed-wave-track{background:repeating-linear-gradient(90deg,#ffffff0d 0 1px,#0000 1px 10%),#00000047;border-radius:6px}.ed-wave-bar{opacity:.6;cursor:grab;touch-action:none;border-radius:6px;height:18px;position:absolute;top:4px}.ed-wave-bar:hover,.ed-wave-bar.dragging{opacity:.85;outline:2px solid #fff}.ed-wave-bar.dragging{cursor:grabbing}.ed-wave-grip{z-index:2;cursor:ew-resize;touch-action:none;background:#fff;border:2px solid #241d33;border-radius:4px;width:14px;height:24px;position:absolute;top:-3px;right:-7px}.ed-wave-grip[hidden]{display:none}.editor button.ed-pick{text-align:left;align-items:center;gap:5px;min-width:0;padding:2px 6px 2px 3px;font-weight:400;display:flex}.ed-pick span{text-overflow:ellipsis;flex:1;overflow:hidden}.ed-pick em{color:#a9a0c2;font-style:normal}.ed-pick-list{z-index:30;pointer-events:auto;background:#241d33;border:2px solid #5c4a94;border-radius:10px;gap:3px;width:262px;max-height:70vh;padding:6px;display:grid;position:fixed;overflow-y:auto;box-shadow:0 8px 24px #00000080}.editor .ed-pick-list button{text-align:left;white-space:normal;align-items:center;gap:8px;padding:4px 8px 4px 5px;font-weight:400;display:flex}.ed-pick-list .ed-mini{width:34px;height:34px}.ed-pick-list span{line-height:1.2;display:grid}.ed-pick-list small{color:#a9a0c2;font-size:11px}.ed-wave-track i{z-index:1;pointer-events:none;background:#fff;border-radius:1px;width:2px;height:18px;margin-left:-1px;position:absolute;top:4px}@media (max-width:1150px){.ed-wave-row{grid-template-columns:1fr;gap:2px}.ed-wave-head .ed-wave-axis{display:none}}.ed-note{color:#a9a0c2;margin:6px 0 0;font-size:12px}.ed-status{color:#ffd76a;min-height:2.7em;margin-top:10px}.ed-errors{color:#ff9a9a;margin:0;padding-left:18px;font-size:12.5px}.ed-errors .ok{color:#7ddc6a}.ed-flash{border-radius:8px;animation:2.6s ease-out ed-flash}@keyframes ed-flash{0%,35%{background:#ffd76a38;box-shadow:0 0 0 6px #ffd76a38}to{background:0 0;box-shadow:0 0 0 6px #0000}}.ed-help{z-index:40;pointer-events:auto;background:#0c0916b8;justify-content:center;align-items:center;padding:8px;display:flex;position:absolute;inset:0}.ed-help[hidden]{display:none}.ed-help-box{touch-action:pan-y;color:#e6e0f2;-webkit-user-select:text;user-select:text;background:#241d33;border:2px solid #4b3d6b;border-radius:14px;width:min(760px,100%);max-height:100%;padding:0 18px 16px;font-size:14.5px;line-height:1.45;overflow-y:auto}.ed-help-head{background:#241d33;justify-content:space-between;align-items:center;gap:12px;padding:12px 0 8px;display:flex;position:sticky;top:0}.ed-help-head button{flex:none}.ed-help-box h3{margin:16px 0 6px}.ed-help-box p{margin:6px 0}.ed-help-box ol{margin:6px 0;padding-left:22px}.ed-help-box li{margin:4px 0}.ed-help-box b{color:#ffd76a}.ed-help-item strong{color:#cfc4ee;margin-right:6px}.ed-help-item strong:after{content:":"}.ed-help-outro{color:#a9a0c2}.ed-json{z-index:10;pointer-events:auto;background:#241d33;border:2px solid #4b3d6b;border-radius:14px;width:min(640px,100% - 560px);min-width:320px;max-height:calc(100% - 12px);padding:14px;position:absolute;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%)}.ed-json[hidden]{display:none}.ed-json .ed-row{flex-wrap:wrap}.ed-json .ed-row>*{flex:150px}.ed-json textarea{white-space:pre;-webkit-user-select:text;user-select:text;touch-action:auto;width:100%;height:46vh;min-height:70px;margin-top:8px;padding:8px;font:12px/1.4 Consolas,Menlo,monospace}@media (max-width:1000px){.ed-panel{width:204px;font-size:13px}.ed-waves{left:calc(204px + env(safe-area-inset-left));right:calc(204px + env(safe-area-inset-right))}}
