*{box-sizing:border-box}html,body,#root{margin:0;width:100%;height:100%;overflow:hidden;background:#cfdbe6;font-family:system-ui,-apple-system,Segoe UI,sans-serif}.hud{position:fixed;top:16px;left:16px;padding:12px 16px;border-radius:10px;background:#0f1e37c7;color:#fff;pointer-events:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.hud h1{display:flex;align-items:center;gap:10px;margin:0;font-size:13px;font-weight:500;letter-spacing:.08em}.hud__logo{display:block;height:34px;width:auto}.hud__title{padding-left:10px;border-left:1px solid rgba(255,255,255,.3);text-transform:uppercase;opacity:.85}.hud p{margin:4px 0 0;font-size:12px;opacity:.75}.labels-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none}.label{display:inline-block;padding:2px 8px;border-radius:999px;background:#0f1e37bf;color:#fff;font-size:11px;white-space:nowrap;pointer-events:none;-webkit-user-select:none;user-select:none}.label--selected{background:#ff7a1a}.panel{position:fixed;top:16px;right:16px;bottom:16px;z-index:20;width:280px;overflow-y:auto;padding:16px;border-radius:12px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 8px 30px #0f1e372e;color:#1b2533;font-size:13px}.panel h2{margin:0 0 10px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6a7686}.panel h3{margin:14px 0 6px;font-size:12px;font-weight:600}.panel__section+.panel__section,.panel__hint+.panel__section{margin-top:18px;padding-top:16px;border-top:1px solid #e3e7ec}.panel__section>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.panel__section>summary::-webkit-details-marker{display:none}.panel__section>summary:after{content:"";width:6px;height:6px;margin:0 4px 10px 0;border-right:1.5px solid #6a7686;border-bottom:1.5px solid #6a7686;transform:rotate(45deg);transition:transform .15s ease}.panel__section:not([open])>summary:after{margin-bottom:0;transform:rotate(-45deg)}.panel__section:not([open])>summary h2{margin-bottom:0}.panel__hint{margin:18px 0;color:#6a7686}.object-list{margin:0 0 10px;padding:0;list-style:none}.object-row{display:flex;align-items:center;gap:8px;width:100%;padding:6px 8px;border:0;border-radius:6px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.object-row:hover{background:#eef1f5}.object-row--active{background:#ffe9d9;color:#b14d00}.swatch{width:12px;height:12px;border-radius:3px;border:1px solid rgba(0,0,0,.15);flex-shrink:0}.toggle{display:flex;align-items:center;gap:6px;cursor:pointer}.segmented{display:flex;gap:4px;margin-bottom:12px;padding:3px;border-radius:8px;background:#eef1f5}.segmented button{flex:1;padding:6px;border:0;border-radius:6px;background:none;font:inherit;cursor:pointer}.segmented button.active{background:#fff;box-shadow:0 1px 3px #0000001f;font-weight:600}kbd{margin-left:4px;padding:0 4px;border-radius:3px;background:#dde2e8;font-size:10px;font-family:inherit}.field{display:flex;flex-direction:column;gap:3px;margin-bottom:8px}.field__label{font-size:11px;color:#6a7686}.field__input{display:flex;align-items:center;gap:6px}.field input[type=text],.field input[type=number]{width:100%;min-width:0;padding:5px 7px;border:1px solid #d3d9e0;border-radius:6px;font:inherit}.alt-held .field input[type=number],.scrubbing,.scrubbing *{cursor:ew-resize!important;-webkit-user-select:none;user-select:none}.field input[type=color]{width:36px;height:28px;padding:0;border:1px solid #d3d9e0;border-radius:6px;background:none;cursor:pointer}.field__suffix{color:#6a7686;font-size:11px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.btn{padding:6px 8px;border:1px solid #d3d9e0;border-radius:6px;background:#fff;color:inherit;font:inherit;font-size:12px;cursor:pointer}.btn:hover{border-color:#ff7a1a;color:#b14d00}.btn--danger:hover{border-color:#d93636;background:#fdeaea;color:#b42323}.add-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.add-grid .btn{padding:6px 4px;white-space:nowrap}.actions{display:grid;grid-template-columns:repeat(4,auto);gap:4px;margin-bottom:12px}.curtain-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.panel__note{margin:8px 0 0;font-size:11px;color:#6a7686}.panel__note--keys{margin:-4px 0 12px;line-height:1.8}.panel__note--keys kbd{margin-left:0}.field select{width:100%;padding:5px 28px 5px 7px;border:1px solid #d3d9e0;border-radius:6px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236a7686' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;font:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.side-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.field--row{flex-direction:row;align-items:center;justify-content:space-between;margin-top:4px}.actions--compact{grid-template-columns:repeat(2,auto);margin-bottom:0}.range{margin-top:8px}.range input[type=range]{width:100%;accent-color:#ff7a1a}.range--disabled{opacity:.5}.history{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:14px}.btn:disabled{opacity:.4;cursor:default;border-color:#d3d9e0;color:inherit;background:#fff}.object-item{display:flex;align-items:center}.object-item--hidden .object-row{opacity:.45}.eye{flex-shrink:0;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:6px;background:none;color:#6a7686;cursor:pointer}.eye:hover{background:#eef1f5;color:#1b2533}.menu-toggle{display:none}@media(max-width:768px){.hud{top:12px;left:12px;right:68px;padding:8px 12px}.hud p{display:none}.hud__logo{height:28px}.menu-toggle{position:fixed;top:12px;right:12px;z-index:30;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:10px;background:#0f1e37d9;color:#fff;font-size:20px;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.panel{top:auto;left:0;right:0;bottom:0;width:auto;max-height:70vh;border-radius:16px 16px 0 0;transform:translateY(105%);transition:transform .25s cubic-bezier(.2,.8,.2,1)}.panel--open{transform:none}}.custom-graphic{margin:-2px 0 10px;padding:10px;border-radius:8px;background:#f4f6f9}.image-slot{display:flex;gap:10px;align-items:center;margin-bottom:8px}.image-slot__thumb{flex-shrink:0;display:grid;place-items:center;width:56px;height:56px;border:1px dashed #c3cad3;border-radius:6px;background:#fff center / cover no-repeat;color:#9aa4b1;font-size:10px}.image-slot__info{display:flex;flex-direction:column;gap:4px;min-width:0}.image-slot__actions{display:flex;gap:4px}.segmented--small{margin-bottom:0}.segmented--small button{padding:4px 10px;font-size:12px}.history__reset{grid-column:1 / -1;color:#6a7686}.save-error{margin:-6px 0 14px;padding:8px 10px;border-radius:6px;background:#fdeaea;color:#b42323;font-size:12px}
