:root{font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;color:#33313c;background:#f8f9fb;font-synthesis:none;font-size:13px;--accent:#7962d8;--accent-dark:#6850c8;--muted:#9995a5;--border:#eae8ef;--lavender:#f1edfc;--shadow:0 8px 24px #29203809}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:inherit;background:none;border:0;transition:background .15s,color .15s,box-shadow .15s}button:disabled{opacity:.35;cursor:not-allowed}button:not(:disabled):hover{background:#f0edf7}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #bda9f0;outline-offset:3px}svg{flex-shrink:0}input,textarea,select{min-width:0;color:inherit;border:1px solid #e6e3eb;border-radius:7px;background:#fff;padding:8px 10px}input[type=range]{padding:0;border:0;accent-color:var(--accent);width:100%;height:17px;cursor:pointer}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}input[type=color]{height:33px;padding:4px;cursor:pointer}textarea{resize:vertical;line-height:1.7;width:100%}input[type=number]{width:100%}input[type=number]::-webkit-inner-spin-button{opacity:.4}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}kbd{font-family:inherit;font-size:10px;border:1px solid #e3dfea;background:#fff;padding:2px 5px;border-radius:4px}button svg{pointer-events:none}button span{pointer-events:none}[hidden]{display:none!important}#app{height:100dvh;min-height:670px;display:flex;flex-direction:column;overflow:hidden}.button{padding:10px 14px;border-radius:8px;min-height:38px;font-weight:600;font-size:12px;white-space:nowrap}.primary{background:var(--accent);color:white;box-shadow:0 3px 7px #7962d81a}.primary:not(:disabled):hover{background:var(--accent-dark)}.outline{background:white;border:1px solid #e5e0ed}.subtle{background:#f4f2f8}.light{background:#ffffffde;border:1px solid #e9e3f7}.danger{color:#c95c63;background:#fcf0f1}.full-width{width:100%;margin-top:10px}.icon-button{width:32px;height:32px;border-radius:6px;color:#85808f;flex-shrink:0}.text-button{font-size:11px;color:var(--accent);padding:7px 4px}.separator{height:20px;width:1px;background:var(--border);margin:0 8px}.muted{color:#948d9f}.small{font-size:11px;line-height:1.8}.eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--accent);font-weight:700}.topbar{height:69px;flex-shrink:0;display:flex;align-items:center;padding:0 23px;background:#fff;border-bottom:1px solid var(--border);gap:20px}.brand{display:flex;align-items:center;gap:9px;white-space:nowrap}.brand strong{font-size:21px;letter-spacing:-1.4px;color:#322c45}.brand>span{font-size:8px;font-weight:600;letter-spacing:1.3px;color:#9990aa;margin-left:2px;padding-top:5px}.header-divider{height:23px;width:1px;background:var(--border);margin-left:5px}.project-title{display:flex;align-items:center;gap:9px;flex:1;min-width:120px}.project-title input{border:0;font-size:13px;font-weight:600;width:175px;padding:7px 3px;text-overflow:ellipsis;background:transparent}.project-title input:hover{background:#f7f5fa}.project-tag{font-size:9px;border:1px solid #e7e3ee;border-radius:4px;padding:3px 5px;color:#a49aaf;white-space:nowrap}.save-status{display:flex;align-items:center;gap:5px;color:#8c8796;font-size:10px;white-space:nowrap}.save-status.saved svg{color:#83a797}.save-status.saving{color:#a3915c}.save-status.error{color:#d35861}.top-actions{display:flex;align-items:center;gap:7px}.top-actions .button{margin-left:3px}.workspace{display:flex;flex:1;min-height:280px;overflow:hidden}.rail{width:76px;flex-shrink:0;background:#fff;border-right:1px solid var(--border);padding-top:17px;display:flex;flex-direction:column;align-items:center;gap:8px}.rail-item{width:58px;height:62px;flex-direction:column;gap:7px;color:#8d8799;font-size:10px;border-radius:10px}.rail-item.active{background:#f0ebfc;color:var(--accent)}.rail-item span{font-weight:600}.rail-bottom{margin-top:auto;margin-bottom:15px;display:flex;flex-direction:column;gap:7px}.library{width:248px;flex-shrink:0;border-right:1px solid var(--border);background:#fff;padding:23px 17px 20px;overflow:auto;scrollbar-width:thin;scrollbar-color:#e7e0f1 transparent}.panel-heading{margin-bottom:22px}.panel-heading h2{font-size:15px;letter-spacing:-.5px;font-weight:700}.panel-heading p{font-size:10px;color:#aaa3b2;margin-top:7px}.upload-button{width:100%;font-size:11px;min-height:39px}.upload-drop{border:1px dashed #dcd4ec;background:#fcfbfe;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;padding:22px 8px;margin-top:13px;cursor:pointer;color:#a496c1}.upload-drop strong{font-size:10px;font-weight:500;color:#8f859f}.upload-drop>span{font-size:9px;color:#b3aabb}.upload-drop:hover{background:#f6f2ff}.section-label{display:flex;align-items:center;gap:7px;color:#777180;font-size:11px;font-weight:600;margin:24px 0 12px}.section-label span{font-weight:400;background:#f1edf7;color:#9584b1;border-radius:4px;padding:1px 4px;font-size:9px}.library-empty{text-align:center;padding:23px 0 25px}.empty-mini{display:inline-flex;color:#cbc3d9;background:#f6f3fa;border-radius:10px;padding:10px}.library-empty p{color:#aaa0b6;font-size:11px;margin:13px 0 6px}.library-empty>span{color:#bcb4c5;font-size:10px}.tip-card{display:flex;align-items:flex-start;gap:9px;margin-top:27px;background:#f8f6fc;border:1px solid #f0ecf7;padding:13px 11px;border-radius:8px;color:#a38ebc}.tip-card strong{font-size:10px;color:#88799d;font-weight:600}.tip-card p{font-size:10px;line-height:1.8;color:#a99cb6;margin-top:6px}.asset-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 8px}.asset-card{display:block;text-align:left;padding:0;overflow:hidden;border-radius:7px}.asset-card strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px;margin-top:6px;font-weight:500}.asset-card small{font-size:8px;color:#a49aaf}.asset-thumb{height:64px;background:#eee9f8;position:relative;display:flex;justify-content:center;align-items:center;border-radius:6px;overflow:hidden;color:#a28cc5}.asset-thumb img{width:100%;height:100%;object-fit:cover}.asset-thumb>span{position:absolute;bottom:4px;right:4px;background:#25222bab;color:white;font-size:8px;padding:2px 4px;border-radius:3px}.asset-add{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#38265975;opacity:0;color:white}.asset-card:hover .asset-add{opacity:1}.editor{flex:1;min-width:0;display:flex;flex-direction:column;background:#f7f7fa}.stage-toolbar{height:55px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:10px;color:#b3acbd}.breadcrumb strong{font-weight:500;color:#8c839b}.stage-options{display:flex;align-items:center;gap:9px}.small-label{font-size:9px;color:#aaa3b3}.stage-options select{font-size:10px;border:1px solid #e8e4ef;padding:5px 7px;border-radius:5px;background:#fff}.stage-options .icon-button{width:25px;height:25px}.stage{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;padding:0 30px 28px;background-image:radial-gradient(#e5e1ec .7px,transparent .7px);background-size:14px 14px}.canvas-wrap{position:relative;width:100%;max-width:1100px;max-height:100%;aspect-ratio:16/9;display:flex;box-shadow:0 8px 28px #322c4620;border-radius:3px;overflow:hidden;container-type:size}.canvas-wrap canvas{display:block;width:100%;height:100%;object-fit:contain;touch-action:none}.canvas-wrap:has(canvas[height="1280"]){width:auto;height:100%;aspect-ratio:9/16}.canvas-wrap:has(canvas[width="720"][height="720"]){width:auto;height:100%;aspect-ratio:1}.canvas-wrap:fullscreen{max-width:none;width:100vw;height:100vh;border-radius:0;background:#171923}.stage-caption{position:absolute;bottom:8px;font-size:9px;letter-spacing:.15px;color:#b0a7bf;display:flex;align-items:center;gap:6px}.dot{height:4px;width:4px;border-radius:50%;background:#bba8db}#empty-stage{position:absolute;inset:0;background:radial-gradient(ellipse at 78% 12%,#eee5ff 0,transparent 55%),linear-gradient(125deg,#fcfbff,#f2eefb);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}#empty-stage:before{content:'';position:absolute;width:44%;height:76%;border:1px solid #dfd5f060;border-radius:50%;right:-26%;top:23%;transform:rotate(-25deg)}#empty-stage>.eyebrow{font-size:8px;letter-spacing:2.5px;margin-top:13px}#empty-stage h1{font-size:clamp(22px,3.1vw,46px);line-height:1.34;letter-spacing:-1.7px;color:#3c3156;font-weight:750;margin-top:10px}#empty-stage h1 span{color:#8a70ca}#empty-stage p{font-size:11px;color:#a292b5;margin-top:15px}#empty-stage>div:not(.empty-art){display:flex;gap:8px;margin-top:22px}#empty-stage .button{font-size:10px;min-height:34px;padding:8px 12px}#empty-stage small{font-size:9px;color:#b3a6c4;margin-top:12px}.empty-art{position:relative;width:75px;height:64px}.art-back{position:absolute;inset:5px 7px 8px;border:1px solid #bca5e5;border-radius:12px;transform:rotate(-15deg);background:#e9defd}.art-front{position:absolute;inset:10px 0 0 13px;background:linear-gradient(135deg,#ac90e9,#8061c9);border:2px solid #c4aef0;box-shadow:0 5px 12px #7962d82b;border-radius:12px;transform:rotate(8deg);color:#f9f3ff;display:flex;align-items:center;justify-content:center}.art-front svg{width:26px;height:26px;fill:#f8f4ff;stroke-width:1}.art-star{position:absolute;right:-15px;top:-2px;color:#bea6e7;font-size:20px}.art-dot{position:absolute;left:-8px;bottom:0;width:6px;height:6px;background:#e8c8a5;border-radius:50%}.transport{height:56px;flex-shrink:0;border-top:1px solid #eeebf3;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:#fbfbfd}.transport-left{display:flex;align-items:center;gap:7px}.preview-label{font-size:10px;color:#aaa3b3}.quality-badge{font-size:8px;padding:2px 4px;background:#efedf4;border-radius:3px;color:#9d91ad}.playback{display:flex;align-items:center;gap:10px}.play-button{width:33px;height:33px;border-radius:50%;background:#8470ce;color:white}.play-button:hover{background:#7158c0!important}.play-button svg{fill:currentColor;stroke-width:1}.time-display{font-size:10px;font-variant-numeric:tabular-nums;color:#aaa2b5;min-width:134px;display:flex;gap:9px;align-items:center}.time-display strong{font-weight:500;color:#6b607d}.time-display>span{color:#c6bfce}.shortcut-tip{font-size:9px;color:#b4aabd}.shortcut-tip kbd{font-size:8px;color:#a399b0}.properties{width:253px;flex-shrink:0;background:#fff;border-left:1px solid var(--border);padding:23px 18px;overflow:auto;scrollbar-width:thin;scrollbar-color:#e7e0f1 transparent}.property-section{border-top:1px solid #f0ecf5;padding:17px 0 12px}.property-section h3{font-size:10px;font-weight:600;color:#8b8199;margin-bottom:13px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:12px;font-size:10px;min-width:0}.field>span{color:#9b91a7;display:flex;justify-content:space-between;font-size:10px}.field input:not([type=range]),.field select{font-size:11px;width:100%;height:32px;padding:6px 8px}.field input[type=color]{padding:4px}.field input[type=color]::-webkit-color-swatch-wrapper{padding:0}.field input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}.field-row{display:flex;gap:9px}.field-row>.field{flex:1}.check-field{display:flex;justify-content:space-between;align-items:center;color:#92869f;font-size:10px;margin:12px 0}.range-field output{color:#89729e}.ratio-choices{display:flex;gap:7px;margin-bottom:17px}.ratio-choices>button{flex:1;flex-direction:column;gap:9px;border:1px solid #eae5f1;border-radius:6px;padding:11px 0 8px;font-size:9px;color:#afa3bc}.ratio-choices>button.active{background:#f5f1fc;border-color:#c5b4e6;color:#977abe}.ratio-choices i{display:block;width:22px;max-height:20px;border:1px solid currentColor;border-radius:2px}.ratio-choices button:nth-child(2) i{width:12px}.ratio-choices button:nth-child(3) i{width:19px}.project-details{display:flex;flex-direction:column;gap:13px;margin:0;padding-bottom:6px}.project-details>div{display:flex;justify-content:space-between;font-size:10px}.project-details dt{color:#b0a4bb}.project-details dd{color:#8c809a;font-variant-numeric:tabular-nums;margin:0}.property-empty{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;color:#dbd4e5;padding:28px 0 15px;border-top:1px solid #f0ecf5}.property-empty strong{font-size:11px;font-weight:500;color:#a99ab7}.property-empty p{font-size:10px;line-height:1.9;color:#b8aac5}.local-note{font-size:9px;display:flex;align-items:center;gap:5px;margin-top:21px;color:#aba0b8;justify-content:center}.local-note svg{color:#99b4a4}.selection-heading{display:flex;justify-content:space-between;gap:6px;align-items:flex-start}.selection-heading h2{font-size:13px;overflow:hidden;text-overflow:ellipsis;max-width:171px;white-space:nowrap;margin-top:6px}.selection-heading .eyebrow{font-size:8px;letter-spacing:0;color:#ac9bbb}.segmented{display:flex;border:1px solid #e7e1ef;border-radius:6px;overflow:hidden;margin-bottom:15px}.segmented>button{flex:1;font-size:10px;padding:8px 3px;color:#a095ae}.segmented>button.active{background:#eee7fb;color:#8663be}.caption-input{font-size:11px;margin-bottom:13px;min-height:80px}.property-bottom{display:flex;gap:7px;padding-top:17px;border-top:1px solid var(--border)}.property-bottom>.button{flex:1;font-size:10px}.timeline{height:283px;flex-shrink:0;background:#fff;border-top:1px solid var(--border);display:flex;flex-direction:column}.timeline-toolbar{height:47px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eeebf3;padding:0 21px;gap:10px}.timeline-actions{display:flex;align-items:center;gap:7px}.tool-button{font-size:10px;padding:6px 8px;border-radius:5px;color:#9a8ca9}.tool-button.active{background:#f5f0fd;color:#9675c2}.tool-button svg{width:15px;height:15px}.timeline-scale{display:flex;align-items:center;gap:12px;color:#ad9bbb}.timeline-scale>input{width:92px;height:14px}.timeline-scale .text-button{font-size:10px}.timeline-body{flex:1;min-height:0;display:flex}.track-labels{width:125px;flex-shrink:0;border-right:1px solid #eae4f1;background:#fdfcfe}.track-label{height:45px;display:flex;align-items:center;gap:9px;font-size:10px;padding:0 19px;border-bottom:1px solid #f2eef6;color:#a290b1}.track-label.ruler-label{height:30px;font-size:9px;color:#b8a9c4;justify-content:space-between;gap:0;padding:0 15px}.ruler-label>span{font-size:8px;font-variant-numeric:tabular-nums}.track-label.video{color:#a18abe}.track-label.text{color:#95a4c2}.track-label.shape{color:#c1a581}.track-label.audio{color:#84b2a4}.timeline-scroll{overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:#dbd1e8 #faf8fd}.timeline-content{min-width:100%;position:relative}.ruler{height:30px;position:relative;background:linear-gradient(to right,#f3eff7 1px,transparent 1px) 0 20px/27px 10px repeat-x;border-bottom:1px solid #eee8f4}.ruler>span{position:absolute;top:8px;font-size:8px;color:#b1a2bc;transform:translateX(5px);font-variant-numeric:tabular-nums}.track-row{height:45px;border-bottom:1px solid #f0ebf7;background:#fff;position:relative}.track-row:nth-child(odd){background:#fdfcfe}.track-placeholder{position:absolute;left:17px;top:15px;font-size:9px;color:#c5b9d0;pointer-events:none}.timeline-clip{position:absolute;top:5px;height:35px;border-radius:5px;background:#e6dcf7;border:1px solid #d5c2f0;display:flex;align-items:center;gap:7px;padding:0 10px;overflow:hidden;cursor:grab;color:#9782b6;user-select:none;touch-action:none;min-width:7px}.timeline-clip.selected{outline:2px solid #9c79d0;outline-offset:-2px;z-index:2;box-shadow:0 0 0 2px #ded0f55e}.timeline-clip.text{background:#e6eefa;border-color:#cbdaf4;color:#8aa1c8}.timeline-clip.shape{background:#fcf0d9;border-color:#ead8b8;color:#b89c6a}.timeline-clip.audio{background:#dff2e9;border-color:#bee4d4;color:#7aac96}.clip-name{font-size:9px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;z-index:1}.clip-thumbnail{height:33px;width:55px;object-fit:cover;opacity:.7;margin-left:-10px}.scene-marker{height:25px;width:29px;display:flex;align-items:center;justify-content:center;border-radius:3px;background:#b69acf45;flex-shrink:0}.trim-handle{width:7px;position:absolute;top:0;bottom:0;z-index:3;cursor:ew-resize;display:flex;align-items:center;justify-content:center}.trim-handle:after{content:'';height:13px;width:2px;background:currentColor;border-radius:2px;opacity:0}.trim-handle.left{left:0}.trim-handle.right{right:0}.timeline-clip:hover .trim-handle:after,.timeline-clip.selected .trim-handle:after{opacity:.65}.playhead{position:absolute;top:0;height:210px;width:1px;background:#aa82dc;z-index:5;pointer-events:none}.playhead i{display:block;position:absolute;left:-5px;top:0;width:11px;height:13px;border-radius:2px 2px 5px 5px;background:#aa82dc}.wave-decoration{position:absolute;left:12px;right:12px;bottom:3px;height:7px;background:repeating-linear-gradient(90deg,transparent 0 3px,#70b59b66 3px 5px);mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);opacity:.5}.timeline-footer{height:25px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eee8f4;background:#fcfbfd;padding:0 20px;gap:10px;font-size:8px;color:#b7a9c3}.timeline-footer>span{display:flex;align-items:center;gap:5px}.timeline-footer button{font-size:8px;color:#a48abd;text-decoration:underline;padding:0}.text-presets{display:flex;flex-direction:column;gap:10px}.text-presets>button{display:flex;flex-direction:column;gap:15px;padding:22px 10px 12px;border:1px solid #eee7f6;border-radius:8px;background:#faf7fe}.text-presets small{font-size:9px;color:#b2a0c4}.sample-basic{font-size:12px;color:white;background:#37303f;padding:5px 8px;border-radius:4px}.sample-title{font-size:19px;color:#79599c;font-weight:bold;letter-spacing:-1px}.sample-note{font-size:12px;color:#e2b850;background:#39303f;padding:5px;border-radius:4px}.shape-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.shape-grid>button{flex-direction:column;gap:13px;padding:19px 8px 12px;border:1px solid #eae1f4;border-radius:8px;color:#a98cc8}.shape-grid span{font-size:10px;color:#af9dbe}.shape-preset{width:100%;justify-content:flex-start;gap:15px;margin-bottom:8px;padding:12px 13px;border:1px solid #eee8f5;border-radius:8px;font-size:10px}.shape-preset.red svg{color:#f7847c}.shape-preset.yellow svg{color:#e2c473}.shape-preset.highlight svg{color:#dabd66;fill:#f5dda666}.template-card{display:block;text-align:left;padding:0;width:100%;border:1px solid #eee6f4;border-radius:8px;overflow:hidden;margin-bottom:16px}.template-art{padding:18px 15px;background:#302544;color:#dac8f5;position:relative;overflow:hidden}.template-art:after{content:'';position:absolute;right:-8px;top:35px;width:65px;height:82px;border:1px solid #d8c0f66b;border-radius:14px;transform:rotate(-20deg);box-shadow:5px 5px 0 1px #d8c0f630,10px 10px 0 1px #d8c0f620}.template-art small{font-size:6px;letter-spacing:1.2px;position:relative;z-index:1}.template-art strong{font-size:20px;letter-spacing:-.8px;line-height:1.5;display:block;margin-top:13px;color:#faf5ff;position:relative;z-index:1}.template-art>span{font-size:7px;margin-top:17px;display:flex;align-items:center;justify-content:space-between}.template-art.mint{background:#153d3b;color:#a8d9c0}.template-meta{padding:13px}.template-meta strong{display:block;font-size:11px}.template-meta span{display:block;font-size:9px;color:#b0a1bd;margin-top:6px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);padding:12px 20px;background:#342b45;color:#fff;border-radius:9px;font-size:12px;box-shadow:0 6px 30px #291d4530;opacity:0;pointer-events:none;transition:all .2s;z-index:30;max-width:80vw;line-height:1.6}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#934854}dialog{border:1px solid #eee6f8;border-radius:16px;width:480px;max-width:calc(100vw - 32px);max-height:85vh;overflow:auto;padding:26px;box-shadow:0 20px 100px #291b4940;color:#4b3f5c}dialog::backdrop{background:#241b3d50;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px;gap:10px}.dialog-heading h2{font-size:18px;letter-spacing:-.6px}.dialog-heading p{font-size:11px;color:#aa99ba;line-height:1.7;margin-top:8px}.dialog-heading .icon-button{margin-top:-5px;margin-right:-9px}.projects-dialog{width:650px}.project-dialog-actions{display:flex;gap:9px;margin-bottom:22px}.project-dialog-actions .button{font-size:11px}.project-list{max-height:40vh;overflow:auto}.project-row{display:flex;align-items:center;border:1px solid #ede7f5;border-radius:9px;margin-bottom:8px;padding-right:10px}.project-row>button:first-child{flex:1;justify-content:flex-start;min-width:0;padding:13px;text-align:left;gap:13px}.project-icon{display:flex;align-items:center;justify-content:center;width:44px;height:39px;border-radius:6px;background:#f0e9fb;color:#a585c8;flex-shrink:0}.project-row span{min-width:0}.project-row strong{font-size:12px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:320px}.project-row small{font-size:9px;color:#b4a5c0;margin-top:7px;display:block}.project-row em{font-style:normal;font-size:9px;color:#a38abd;background:#f3edf9;padding:3px 5px;margin-left:auto;white-space:nowrap}.storage-info{display:flex;gap:10px;padding:14px;border-radius:8px;background:#f6f2fb;font-size:10px;line-height:1.7;margin-top:20px;color:#a38bb7;align-items:flex-start}.storage-info p{font-size:10px;line-height:1.8;color:#b29cc6;margin-top:4px}.dialog-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.export-preview{display:flex;align-items:center;gap:16px;padding:18px;background:#f4eefb;border-radius:9px;margin-bottom:20px}.export-preview>span{color:#ac8dcc}.export-preview strong{font-size:14px}.export-preview p{font-size:10px;color:#ae98be;margin-top:6px}.export-presets{display:flex;flex-direction:column;gap:10px}.export-presets>label{display:flex;align-items:center;gap:12px;border:1px solid #e9dff2;border-radius:9px;padding:15px;cursor:pointer}.export-presets>label:has(input:checked){border-color:#b39bd7;background:#faf7ff}.export-presets strong{display:block;font-size:12px}.export-presets small{font-size:10px;color:#b19bbe;display:block;margin-top:6px}.export-presets em{font-size:9px;font-style:normal;color:#a080bc;background:#eee3f8;padding:3px 6px;border-radius:4px;margin-left:auto}.export-note{font-size:11px;line-height:1.8;color:#ab96ba;margin:20px 0 15px}.export-progress-icon,.export-success{display:flex;align-items:center;justify-content:center;margin:15px auto 23px;background:#f1e9fb;color:#a384c5;width:80px;height:80px;border-radius:50%}.processing,.success{text-align:center}.processing #export-percent{font-size:28px;display:block;color:#9470bd}.processing progress{width:100%;height:9px;accent-color:#9b77c7;margin:19px 0 14px}.processing p{font-size:11px;line-height:1.8;color:#ac94be;margin-bottom:12px}.success-title{font-size:16px;margin:10px 0}.success>.button{margin-top:25px}.help-steps{padding-left:22px;color:#a284bb}.help-steps li{padding-left:7px;margin:17px 0}.help-steps strong{color:#6e557f;font-size:12px}.help-steps p{font-size:11px;line-height:1.8;color:#b39bc4;margin-top:5px}.shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:10px;color:#a489b9;border-top:1px solid #eee5f6;padding-top:20px;margin-top:20px}.shortcut-grid>span{display:flex;align-items:center;gap:8px}.startup-error{margin:auto;text-align:center;line-height:2.3;padding:30px;max-width:700px}.startup-error h1{font-size:25px}.startup-error p{color:#a595b6}.startup-error button{background:var(--accent);color:white;padding:10px 20px;border-radius:8px;margin:20px}.error-text{color:#b85869;font-size:12px;line-height:1.8}.file-drag #app:after{content:'파일을 놓아 작품에 추가하세요';position:fixed;inset:12px;z-index:20;background:#f5effde8;border:3px dashed #ab8dd4;border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#9e7bc3;pointer-events:none}.exporting .workspace,.exporting .timeline,.exporting .topbar{pointer-events:none}
@media(min-width:1600px){.library{width:280px;padding:27px 22px}.properties{width:280px;padding:27px 22px}.stage{padding:12px 50px 38px}.timeline{height:308px}.track-row,.track-label{height:50px}.timeline-clip{height:39px;top:5px}.playhead{height:230px}.stage-caption{bottom:14px}.timeline-toolbar{height:50px}.timeline-footer{height:28px}.panel-heading h2{font-size:16px}.topbar{height:74px}.canvas-wrap{max-width:1200px}}
@media(max-width:1180px){.brand>span,.project-tag,.shortcut-tip{display:none}.topbar{padding:0 15px;gap:12px}.project-title input{width:135px}.library{width:210px;padding:20px 13px}.properties{width:219px;padding:20px 13px}.rail{width:64px}.stage{padding:0 20px 27px}.stage-toolbar{padding:0 17px}.breadcrumb{gap:5px}.transport{padding:0 15px}.transport-left{display:none}.playback{margin:auto}.timeline-toolbar{padding:0 12px}.timeline-actions{gap:2px}.tool-button{padding:6px}.timeline-actions .separator{margin:0 3px}#empty-stage h1{font-size:30px}#empty-stage p{font-size:9px}.empty-art{transform:scale(.8);margin-bottom:-10px}#empty-stage>div:not(.empty-art){margin-top:13px}#empty-stage>.eyebrow{margin-top:6px}.save-status{font-size:9px}}
@media(max-height:800px){.timeline{height:265px}.track-row,.track-label{height:41px}.timeline-clip{height:31px}.playhead{height:194px}.stage-toolbar{height:43px}.transport{height:45px}#empty-stage .empty-art{display:none}#empty-stage h1{font-size:clamp(22px,2.6vw,36px)}#empty-stage p{margin-top:10px}#empty-stage>div:not(.empty-art){margin-top:14px}.panel-heading{margin-bottom:16px}.tip-card{margin-top:17px}}
@media(max-width:960px){.properties{width:200px}.library{width:185px}.rail{width:57px}.rail-item{width:47px}.brand strong{font-size:18px}.header-divider{display:none}.topbar{gap:10px}.save-status span{display:none}.top-actions{gap:3px}.top-actions .separator{margin:0 2px}.topbar .button{font-size:10px;padding:8px 10px}.project-title input{width:125px}.timeline-actions .tool-button span{font-size:9px}.timeline-scale{gap:6px}.timeline-scale>input{width:62px}.stage-options .small-label,.breadcrumb{display:none}.stage-toolbar{justify-content:flex-end}.timeline-footer>span:nth-child(2){display:none}.text-presets>button{padding:17px 5px 10px}.sample-title{font-size:16px}#empty-stage .eyebrow,#empty-stage small{display:none}#empty-stage p{font-size:8px}#empty-stage>div:not(.empty-art){flex-direction:column;gap:4px}#empty-stage .button{min-height:28px;padding:6px 10px}.asset-grid{grid-template-columns:1fr}.asset-thumb{height:85px}}
@media(max-width:760px){#app{min-width:740px}.properties{width:190px}.library{width:170px}.project-title input{width:110px}.project-title{min-width:100px}.topbar{padding:0 10px}.topbar .brand img{width:29px;height:29px}.topbar .brand{gap:5px}.topbar .button{font-size:9px}.timeline-toolbar{gap:5px}.timeline-actions .tool-button span{display:none}.timeline-scale .text-button{font-size:9px}.timeline-footer{padding:0 10px;font-size:7px}.stage{padding:0 14px 27px}}
.canvas-wrap.portrait,.canvas-wrap.square{width:auto;height:100%;max-width:100%}.canvas-wrap.portrait canvas,.canvas-wrap.square canvas{width:100%;height:100%}.ratio-choices button:nth-child(3) i{width:16px;height:20px}.ratio-choices button:nth-child(4) i{width:19px;height:19px}.new-project-dialog{width:590px;padding:30px}.new-name{margin-bottom:22px}.new-name input{height:38px!important}.format-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.format-choice{position:relative;border:1px solid #e9e2f3;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;align-items:center;padding:10px 5px 15px}.format-choice:has(input:checked){border-color:#a489d0;background:#f7f2ff;box-shadow:0 0 0 1px #c5b0e1}.format-choice input{position:absolute;top:8px;right:7px;width:12px;height:12px}.format-illustration{height:90px;width:100%;display:flex;align-items:center;justify-content:center}.format-illustration i{background:linear-gradient(135deg,#daccec,#c4ade2);border:2px solid #ad90cf;display:flex;align-items:center;justify-content:center;color:#fff;border-radius:5px}.format-illustration i.wide{width:72px}.format-illustration i.tall{height:62px}.format-illustration i.feed{height:55px}.format-illustration i.square{height:48px}.format-illustration svg{fill:currentColor;stroke-width:1}.format-choice strong{font-size:11px;display:flex;flex-direction:column;align-items:center;gap:6px;font-weight:600}.format-choice b{font-size:11px;font-weight:400;color:#a28bbb}.format-choice small{font-size:8px;color:#b29cc5;margin-top:10px}.new-project-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:24px 0 10px;font-size:10px;color:#a28eb3}.new-project-note svg{color:#8dad9b}
/* Keep controls readable on classroom laptop displays. */
.panel-heading p,.small-label,.preview-label,.shortcut-tip,.field>span,.check-field,.project-details dt,.project-details dd,.property-empty p,.local-note,.tip-card p,.library-empty p,.library-empty>span,.section-label,.track-placeholder,.timeline-footer,.template-meta span,.text-presets small,.template-meta span,.dialog-heading p,.format-choice small,.new-project-note,.storage-info p,.export-note{color:#80748e}
.field>span,.check-field,.project-details>div,.tool-button,.track-label,.section-label,.clip-name{font-size:11px}.panel-heading p,.tip-card p,.template-meta span,.format-choice small,.timeline-footer,.stage-caption{font-size:10px}.track-placeholder{font-size:10px;color:#a094ae}.ruler>span{font-size:9px;color:#8e809f}.project-details dt{color:#8e819c}.field input:not([type=range]),.field select{font-size:12px}.rail-item{font-size:11px}.property-section h3{font-size:11px;color:#7a6c89}.save-status{font-size:11px}.time-display{font-size:11px}.format-choice small{font-size:9px}.timeline-footer button{font-size:10px}.property-empty strong{color:#8e7d9e}.upload-drop>span{color:#9e90ac}.upload-drop strong{color:#82718f}.clip-name{color:#72588f}.timeline-clip.text .clip-name{color:#58749c}.timeline-clip.audio .clip-name{color:#4f8870}.timeline-clip.shape .clip-name{color:#99763d}
/* The handle can be grabbed without intercepting edits on the tracks below. */
.ruler{cursor:ew-resize;touch-action:none;user-select:none}
.playhead i{pointer-events:auto;cursor:grab;touch-action:none}
.playhead i::before{content:'';position:absolute;inset:-3px -6px -7px}
.scrubbing,.scrubbing *{cursor:grabbing!important;user-select:none!important}
.timeline-content{touch-action:none}
.snap-guide{position:absolute;top:0;bottom:0;width:2px;background:#32a58e;z-index:8;pointer-events:none;box-shadow:0 0 0 1px #32a58e20}
.snap-guide::after{content:'';position:absolute;top:24px;left:-4px;width:10px;height:10px;background:#32a58e;border:2px solid white;border-radius:50%}
.snap-guide>span{position:sticky;top:0;display:block;width:max-content;margin-left:7px;padding:4px 7px;border-radius:4px;background:#26836f;color:white;font-size:10px;white-space:nowrap;box-shadow:0 2px 6px #163e3320}
.speed-presets{display:flex;gap:5px;margin:10px 0}.speed-presets button{flex:1;padding:6px 3px;border:1px solid #e7e0ef;border-radius:5px;font-size:10px}.speed-presets button.active{background:#eee7fb;color:#7652ae;border-color:#baa2dc}.speed-note{font-size:10px;line-height:1.8;color:#887797;margin-top:10px}.speed-warning{color:#9c7545;background:#fff6e9;border-radius:5px;padding:8px}
:root{font-family:Inter,"Pretendard","Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.timeline{height:328px}.playhead{height:100%;bottom:0}.track-label.video-audio{color:#749d9f}.timeline-clip.video-audio{background:#e6f1f2;border-color:#b9dadd;color:#759c9e;cursor:pointer}.timeline-clip.video-audio .clip-name{color:#507c7e}.timeline-clip.video-audio.selected{outline-color:#60a7a9}.track-label{padding-left:14px;gap:7px}.timeline-content{min-height:100%}
@media(min-width:1600px){.timeline{height:358px}}
@media(max-height:800px){.timeline{height:306px}}
/* The preview frame follows the actual output ratio, including height-limited layouts. */
.canvas-wrap{flex:none;max-width:none;max-height:none}
.selection-marquee{display:none;position:fixed;border:1px solid #9270d4;background:#aa88e92b;z-index:20;pointer-events:none;border-radius:2px}
