:root{color:#34313f;font-synthesis:none;--panel:#fff;--line:#e7e4ec;--muted:#8d8798;--accent:#8175d4;--accent-soft:#eeeafd;--accent-strong:#6559bd;--shadow:0 10px 28px #362e4e14;background:#ebeaf0;font-family:Inter,Pretendard,Noto Sans KR,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:1120px;min-height:100vh;margin:0;overflow:hidden}button,input,select{font:inherit}button{color:inherit}button:disabled{opacity:.35;cursor:not-allowed!important}.app-shell{grid-template-rows:66px 1fr 30px;height:100vh;display:grid}.topbar{border-bottom:1px solid var(--line);z-index:20;background:#fffffff0;justify-content:space-between;align-items:center;padding:0 18px;display:flex;box-shadow:0 3px 14px #3e33580d}.brand{align-items:center;gap:11px;min-width:275px;display:flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#887bdd,#e8b7d6);border-radius:12px;place-items:center;width:40px;height:40px;font-size:27px;display:grid;box-shadow:0 6px 16px #8175d447}.brand h1{letter-spacing:-.2px;margin:0;font-size:16px}.brand span{color:var(--muted);font-size:11px}.toolbar{align-items:center;gap:6px;display:flex}.toolbar button,.soft-button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;padding:8px 10px;font-size:12px}.toolbar button:hover,.soft-button:hover{background:#f7f5fb;border-color:#d9d4e6}.toolbar .primary-button{background:var(--accent);color:#fff;border-color:var(--accent);padding-inline:14px;font-weight:700}.toolbar .primary-button:hover{background:var(--accent-strong)}.toolbar-sep{background:var(--line);width:1px;height:24px;margin:0 2px}.autofit{color:#665f70;align-items:center;gap:5px;padding:0 5px;font-size:12px;display:flex}.workspace{grid-template-columns:292px minmax(510px,1fr) 336px;gap:10px;min-height:0;padding:10px;display:grid}.panel{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;min-height:0}.left-panel,.right-panel{overflow:auto}.left-panel{padding:13px}.right-panel{padding-bottom:18px}.panel-title-row{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.panel-title-row>div{flex-direction:column;display:flex}.panel-title-row strong{font-size:14px}.panel-title-row small{color:var(--muted);margin-top:2px;font-size:10px}.sticky-head{z-index:5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border-bottom:1px solid #f1eff5;padding:13px 13px 10px;position:sticky;top:0}.search{border:1px solid var(--line);background:#faf9fc;border-radius:10px;outline:none;width:100%;padding:9px 10px;font-size:12px}.search:focus,.control input:focus,.control select:focus{border-color:#b7afe2;box-shadow:0 0 0 3px #8175d41a}.category-chips{gap:6px;padding:9px 0 7px;display:flex}.category-chips.expanded{flex-wrap:wrap;overflow:visible}.chip{border:1px solid var(--line);white-space:nowrap;cursor:pointer;background:#fff;border-radius:999px;padding:6px 9px;font-size:10px}.chip.active{background:var(--accent-soft);color:var(--accent-strong);border-color:#cfc8ef;font-weight:700}.preset-result-meta{color:var(--muted);margin:2px 0 8px;font-size:10px}.preset-grid{grid-template-columns:1fr 1fr;gap:7px;padding-bottom:20px;display:grid}.preset-card{border:1px solid var(--line);cursor:pointer;text-align:left;background:#fcfbfe;border-radius:11px;min-width:0;padding:7px;transition:all .15s}.preset-card:hover{border-color:#cfc8e9;transform:translateY(-1px);box-shadow:0 7px 15px #4d416b14}.preset-card canvas{aspect-ratio:1;background:radial-gradient(circle,#faf9fd,#f1eff6);border-radius:8px;width:100%;display:block}.preset-card span{text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:11px;font-weight:700;display:block;overflow:hidden}.preset-card small{color:var(--muted);font-size:9px}.center-column{grid-template-rows:minmax(360px,1fr) 190px;gap:10px;min-width:0;min-height:0;display:grid}.canvas-stage{background:#d9d7de;border:1px solid #dedbe5;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 30px #463f5514}.canvas-meta{z-index:3;color:#706a78;gap:8px;font-size:10px;display:flex;position:absolute;top:11px;left:50%;transform:translate(-50%)}.canvas-meta span{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffffe0;border:1px solid #dad6e1cc;border-radius:999px;padding:5px 8px}.checkerboard{aspect-ratio:1;background-color:#fff;background-image:linear-gradient(45deg,#e8e7eb 25%,#0000 25%),linear-gradient(-45deg,#e8e7eb 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#e8e7eb 75%),linear-gradient(-45deg,#0000 75%,#e8e7eb 75%);background-position:0 0,0 15px,15px -15px,-15px 0;background-size:30px 30px;width:min(74vh,100% - 48px);max-width:760px;padding:0;box-shadow:0 16px 50px #251f312e}.checkerboard canvas{cursor:crosshair;width:100%;height:100%;display:block}fieldset{border:0;min-width:0;margin:0;padding:0}fieldset:disabled{opacity:.68}.property-section{border-bottom:1px solid #f0eef4;padding:4px 13px 13px}.property-section h3{text-transform:uppercase;letter-spacing:.6px;color:#756f7e;margin:10px 0;font-size:11px}.control{margin:8px 0;display:block}.control>span{color:#645f6a;justify-content:space-between;align-items:center;margin-bottom:5px;font-size:10px;display:flex}.control>span b{font-weight:650}.control>span em{color:#958e9f;font-variant-numeric:tabular-nums;font-style:normal}.control>input:not([type=range]),.control select{border:1px solid var(--line);background:#fbfafd;border-radius:8px;outline:none;width:100%;padding:7px 8px;font-size:11px}input[type=range]{width:100%;accent-color:var(--accent);height:4px}.color-row{grid-template-columns:34px 1fr 32px;gap:6px;display:grid}.color-row input[type=color],.stop-row input[type=color]{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;width:34px;height:31px;padding:2px}.hex-input{min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;border:1px solid var(--line)!important;background:#fbfafd!important;border-radius:8px!important;padding:7px 8px!important;font-size:11px!important}.tiny-button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px}.hint{color:#9b94a4;background:#faf9fd;border-radius:8px;padding:7px 8px;font-size:9px;line-height:1.55}.gradient-preview{border:1px solid #0000000f;border-radius:999px;height:18px;margin:8px 0}.stops{flex-direction:column;gap:5px;display:flex}.stop-row{color:var(--muted);grid-template-columns:32px 76px 1fr 34px 24px;align-items:center;gap:4px;font-size:9px;display:grid}.stop-row input[type=color]{width:32px;height:28px}.stop-row button{cursor:pointer;background:0 0;border:0}.soft-button.full{width:100%;margin-top:7px;font-size:10px}.palette-list{grid-template-columns:1fr 1fr;gap:5px;margin-top:10px;display:grid}.palette-card{border:1px solid var(--line);cursor:pointer;text-align:left;background:#fff;border-radius:8px;padding:5px}.palette-card>span{border-radius:5px;height:13px;margin-bottom:3px;display:flex;overflow:hidden}.palette-card i{flex:1}.palette-card small{color:#777080;white-space:nowrap;text-overflow:ellipsis;font-size:8px;display:block;overflow:hidden}.toggle{align-items:center;gap:7px;margin:9px 0;font-size:10px;display:flex}.toggle input{accent-color:var(--accent)}.empty-state{color:var(--muted);text-align:center;padding:24px 12px;font-size:11px}.statusbar{color:#8c8694;background:#f7f6f9;border-top:1px solid #ddd9e4;justify-content:space-between;align-items:center;padding:0 14px;font-size:10px;display:flex}@media (height<=760px){.center-column{grid-template-rows:minmax(330px,1fr) 160px}}.mini-badge{color:#6b6293;background:#f5f2fc;border:1px solid #e3dcf7;border-radius:999px;align-items:center;gap:6px;margin-bottom:8px;padding:6px 8px;font-size:10px;display:inline-flex}.control input[type=file]{background:#fbfafd;border:1px dashed #d9d2ec;border-radius:8px;width:100%;padding:8px;font-size:11px}.single-workspace{grid-template-columns:320px minmax(560px,1fr) 350px}.single-center{grid-template-rows:minmax(0,1fr)}.single-center .canvas-stage{height:100%}.custom-frame-box{background:linear-gradient(145deg,#faf8ff,#fff9fc);border:1px solid #dcd4f3;border-radius:12px;margin-bottom:10px;padding:10px}.custom-frame-head{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px;display:flex}.custom-frame-head>div{flex-direction:column;min-width:0;display:flex}.custom-frame-head strong{font-size:11px}.custom-frame-head small{color:var(--muted);margin-top:2px;font-size:9px}.custom-frame-head>span{color:#fff;background:#8274d7;border-radius:999px;flex:none;padding:3px 6px;font-size:8px;font-weight:800}.asset-dropzone{cursor:pointer;background:#ffffffb8;border:1.5px dashed #bdb1e5;border-radius:10px;grid-template-columns:58px 1fr;align-items:center;gap:9px;min-height:78px;padding:8px;transition:all .15s;display:grid;position:relative}.asset-dropzone:hover{border-color:var(--accent);background:#f8f5ff;transform:translateY(-1px)}.asset-dropzone input{opacity:0;cursor:pointer;position:absolute;inset:0}.asset-dropzone img,.asset-placeholder{object-fit:contain;background-color:#fff;background-image:linear-gradient(45deg,#eeeaf2 25%,#0000 25%),linear-gradient(-45deg,#eeeaf2 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#eeeaf2 75%),linear-gradient(-45deg,#0000 75%,#eeeaf2 75%);background-position:0 0,0 7px,7px -7px,-7px 0;background-size:14px 14px;border:1px solid #eee9f4;border-radius:9px;width:58px;height:58px}.asset-placeholder{color:#9c8ee0;place-items:center;font-size:28px;display:grid}.asset-dropzone>div:not(.asset-placeholder){flex-direction:column;min-width:0;display:flex}.asset-dropzone b{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.asset-dropzone small{color:var(--muted);margin-top:3px;font-size:8px;line-height:1.5}.custom-frame-box>p{color:#90899a;margin:7px 1px 0;font-size:8px;line-height:1.45}.pattern-color-section{background:linear-gradient(#f6f2ff85,#fff0)}.color-count-buttons{grid-template-columns:repeat(4,1fr);gap:5px;margin:4px 0 8px;display:grid}.color-count-buttons button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;padding:7px 4px;font-size:10px}.color-count-buttons button.active{background:var(--accent-soft);color:var(--accent-strong);border-color:#c9c1ec;font-weight:800}.pattern-sequence-preview{border:1px solid var(--line);background:#fbfafd;border-radius:8px;gap:3px;height:22px;margin:8px 0 2px;padding:3px;display:flex;overflow:hidden}.pattern-sequence-preview i{border-radius:4px;flex:1;min-width:6px}@media (width<=1250px){.single-workspace{grid-template-columns:288px minmax(500px,1fr) 325px}}.color-count-buttons.four-up{grid-template-columns:repeat(4,1fr)}.layer-actions{gap:6px;margin-bottom:8px;display:flex}.layer-actions .soft-button{width:100%;padding:8px 10px;font-size:10px}.layer-list{flex-direction:column;gap:8px;display:flex}.layer-card{background:#fbfafe;border:1px solid #e7e2f2;border-radius:10px;padding:8px}.layer-card.active{background:linear-gradient(#f7f4ff,#fff);border-color:#cfc6ee;box-shadow:inset 0 0 0 1px #8175d40d}.layer-row-top{grid-template-columns:54px 1fr;align-items:center;gap:7px;display:grid}.layer-select{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;padding:6px 4px;display:flex}.layer-select strong{font-size:11px}.layer-select span{color:var(--muted);font-size:8px}.layer-name-input{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;min-width:0;padding:8px;font-size:11px}.layer-row-actions{grid-template-columns:repeat(4,1fr);gap:5px;margin-top:7px;display:grid}.layer-row-actions .tiny-button{background:#fff;padding:6px 4px;font-size:10px}.recent-saves-backdrop{z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1f1b286b;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.recent-saves-modal{background:#fff;border:1px solid #ddd8e7;border-radius:18px;grid-template-rows:auto auto 1fr;width:min(980px,100vw - 56px);height:min(720px,100vh - 56px);display:grid;overflow:hidden;box-shadow:0 30px 90px #20183047}.recent-saves-header{border-bottom:1px solid #eeeaf3;justify-content:space-between;gap:18px;padding:18px 20px 13px;display:flex}.recent-saves-header h2{margin:0;font-size:17px}.recent-saves-header p{color:var(--muted);margin:5px 0 0;font-size:10px}.recent-close{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;flex:none;width:34px;height:34px;font-size:21px;line-height:1}.recent-saves-actions{color:#817a8a;background:#fcfbfe;border-bottom:1px solid #f1eef5;justify-content:space-between;align-items:center;padding:9px 20px;font-size:10px;display:flex}.danger-soft{color:#bd5363!important;background:snow!important;border-color:#eed5da!important}.recent-empty{text-align:center;min-height:300px;color:var(--muted);place-content:center;gap:7px;font-size:11px;display:grid}.recent-empty b{color:#5b5563;font-size:13px}.recent-saves-body{grid-template-columns:minmax(430px,1.25fr) minmax(280px,.75fr);min-height:0;display:grid}.recent-list{border-right:1px solid #eeeaf3;flex-direction:column;gap:8px;padding:12px;display:flex;overflow:auto}.recent-card{border:1px solid var(--line);background:#fdfcff;border-radius:12px;grid-template-columns:82px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;display:grid}.recent-card.active{background:linear-gradient(135deg,#f7f4ff,#fff);border-color:#bdb3e9;box-shadow:inset 0 0 0 1px #8175d40d}.recent-thumb-button{cursor:pointer;background:0 0;border:0;padding:0;position:relative}.recent-index{z-index:2;color:#fff;background:#383146bd;border-radius:999px;padding:2px 5px;font-size:8px;position:absolute;top:4px;left:4px}.recent-thumb-checker,.recent-preview-checker{background-color:#fff;background-image:linear-gradient(45deg,#e9e7ed 25%,#0000 25%),linear-gradient(-45deg,#e9e7ed 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#e9e7ed 75%),linear-gradient(-45deg,#0000 75%,#e9e7ed 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;place-items:center;display:grid;overflow:hidden}.recent-thumb-checker{border:1px solid #e9e5ef;border-radius:9px;width:82px;height:82px}.recent-thumb-checker img,.recent-preview-checker img{object-fit:contain;width:100%;height:100%;display:block}.recent-card-info{flex-direction:column;gap:4px;min-width:0;display:flex}.recent-card-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.recent-card-info span{color:#6f6878;font-size:9px}.recent-card-info small{color:var(--muted);font-size:9px}.recent-card-buttons{flex-direction:column;gap:4px;width:76px;display:flex}.recent-card-buttons .soft-button{width:100%;padding:5px 6px;font-size:9px}.recent-preview-pane{background:#faf9fc;min-width:0;padding:16px;overflow:auto}.recent-preview-checker{aspect-ratio:1;border:1px solid #e3deea;border-radius:13px;width:100%;box-shadow:0 10px 30px #372d4b14}.recent-preview-meta{flex-direction:column;gap:4px;padding:12px 2px 9px;display:flex}.recent-preview-meta strong{font-size:13px}.recent-preview-meta span{color:var(--muted);font-size:9px}.recent-load-primary{border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;border-radius:10px;width:100%;padding:9px 10px;font-weight:800}.recent-preview-pane p{color:#8a8392;margin:9px 2px 0;font-size:9px;line-height:1.55}.animated-export-backdrop{z-index:1100;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#1c18247a;place-items:center;padding:26px;display:grid;position:fixed;inset:0}.animated-export-modal{background:#fff;border:1px solid #ddd8e7;border-radius:18px;width:min(930px,100vw - 52px);max-height:calc(100vh - 52px);overflow:hidden;box-shadow:0 28px 90px #1e172c4d}.animated-export-header{border-bottom:1px solid #eeeaf3;justify-content:space-between;align-items:flex-start;gap:16px;padding:17px 19px 13px;display:flex}.animated-export-header h2{margin:0;font-size:17px}.animated-export-header p{color:var(--muted);margin:5px 0 0;font-size:10px}.animated-export-body{grid-template-columns:minmax(330px,.9fr) minmax(380px,1.1fr);min-height:0;max-height:calc(100vh - 130px);display:grid}.animated-preview-column{background:#faf9fc;border-right:1px solid #eeeaf3;padding:18px;overflow:auto}.animated-preview-checker{aspect-ratio:1;background-color:#fff;background-image:linear-gradient(45deg,#e8e6ec 25%,#0000 25%),linear-gradient(-45deg,#e8e6ec 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#e8e6ec 75%),linear-gradient(-45deg,#0000 75%,#e8e6ec 75%);background-position:0 0,0 11px,11px -11px,-11px 0;background-size:22px 22px;border:1px solid #ded9e7;border-radius:14px;width:min(100%,420px);margin:0 auto;overflow:hidden}.animated-preview-checker canvas{width:100%;height:100%;display:block}.animated-preview-badges{flex-wrap:wrap;justify-content:center;gap:5px;margin:10px 0;display:flex}.animated-preview-badges span{color:#736c7d;background:#fff;border:1px solid #e0dceb;border-radius:999px;padding:4px 7px;font-size:9px}.animated-format-note,.animated-warning,.animated-error{border-radius:9px;margin-top:9px;padding:9px 10px;font-size:9px;line-height:1.55}.animated-format-note{color:#746b87;background:#f5f2fc}.animated-warning{color:#986b2c;background:#fff6e8;border:1px solid #f1dfbd}.animated-error{color:#b04e5b;background:#fff0f2;border:1px solid #f0cfd5}.animated-export-controls{padding:15px 18px 20px;overflow:auto}.animated-preset-row{grid-template-columns:1fr 1fr;gap:5px;margin-bottom:10px;display:grid}.animated-preset-row button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;padding:7px 6px;font-size:9px}.animated-preset-row button.active{background:var(--accent-soft);color:var(--accent-strong);border-color:#cfc8ef;font-weight:800}.animated-small-note,.animated-loop-note{color:#9991a3;margin:-2px 0 8px;font-size:8px;line-height:1.5}.animated-memory{color:#7c7585;background:#faf9fc;border:1px solid #e7e2ed;border-radius:9px;justify-content:space-between;align-items:center;margin-top:8px;padding:8px 9px;font-size:9px;display:flex}.animated-memory strong{color:#544d5e}.animated-memory.danger{background:#fff4f5;border-color:#e9c4ca}.animated-memory.danger strong{color:#ba4e5f}.animated-progress{margin-top:10px}.animated-progress>div{background:#efedf3;border-radius:999px;height:7px;overflow:hidden}.animated-progress i{border-radius:inherit;background:linear-gradient(90deg,#8175d4,#e4a8cf);height:100%;transition:width .12s linear;display:block}.animated-progress span{color:#817a8a;margin-top:5px;font-size:8px;display:block}.animated-export-submit{border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;border-radius:10px;width:100%;margin-top:11px;padding:10px;font-weight:800}
