.parser-container{padding:1rem;background:#111;color:#fff;width:calc(100vw - 50px);height:calc(100vh - 50px);font-family:monospace}.parser-textarea{width:calc(100% - 24px);height:36vh;background:#222;color:#0f0;padding:.75rem;border-radius:6px;border:1px solid #333;outline:none;resize:none}.parser-button{margin-top:1rem;padding:.5rem 1rem;background:#333;color:#fff;border:1px solid #444;border-radius:4px;cursor:pointer}.parser-error{color:salmon;margin-top:1rem;font-size:.9rem}.parser-output{background:#222;padding:1rem;margin-top:1rem;border-radius:6px;overflow-x:auto;width:calc(100% - 30px);height:38vh}.parser-buttons{margin-top:1rem;display:flex;gap:1rem;flex-wrap:wrap}*{margin:0;padding:0;box-sizing:border-box}.home-button{position:fixed;padding:4px;left:12px;top:12px;outline:none;z-index:100000000000000000}.main-header{margin-bottom:12px;margin-left:40px}.cb-cursor{position:fixed;top:0;left:0;pointer-events:none;border-radius:50%;z-index:9999;will-change:transform;isolation:isolate;mix-blend-mode:exclusion}.cb-cursor-inner{width:20px;height:20px;transform-origin:center;background:#fff;border-radius:50%;transition:all .3s}body.cursor-hidden .cb-cursor{scale:0;opacity:0;pointer-events:none}body.button-hovered .cb-cursor-inner{height:60px;width:60px}.animation-editor{height:100vh;width:100vw}.animation-editor .container-2{display:flex;width:100%;height:100%}.animation-editor .container-2 .properties-pannel{min-width:300px;height:100%;border-left:1px solid #646cff;padding-bottom:0;overflow-x:hidden;overflow-y:auto}.animation-editor .container-2 .properties-pannel .properties-pannel__header{padding:0 12px}.animation-editor .container-2 .container-1{flex:1;display:flex;flex-direction:column}.animation-editor .container-2 .container-1 .keyframe-editor-pannel{border-top:1px solid #646cff;min-height:224px;width:100%}.upload-container{width:100%;padding:12px}.upload-container .upload-button{display:block;width:100%}.asset-list{margin-bottom:12px;padding:0 12px}.asset-list ul{padding:2px 8px;background:#222;list-style:none;margin:0;border-radius:10px}.asset-list ul li{padding:6px 10px;background:#2d2d2d;color:#f0f0f0;border-radius:8px;margin:6px 0;cursor:pointer;transition:background .2s ease}.asset-list ul li:hover{background:#010101}.asset-list ul li.selected{background:#1a1a1a;outline:1px solid #646cff;outline-offset:-1px;font-weight:600}.no-selected-properties{padding:12px}.selected-properties{padding:6px}.selected-properties .header{padding:0 8px 8px}.selected-properties .asset-properties{padding:4px;background:#1a1a1a;border-radius:8px;display:flex;flex-direction:column;gap:8px}.selected-properties .asset-properties .asset-name{font-size:1rem;font-weight:400;color:#f2f2f2;overflow:hidden;text-overflow:ellipsis}.selected-properties .asset-properties .asset-property-input-container{display:flex;flex-direction:column;gap:.5rem}.selected-properties .asset-properties .asset-property-input-container .title{font-size:.875rem;font-weight:600;color:#646cff}.selected-properties .asset-properties .asset-property-input-container input{padding:.3rem .75rem;font-size:.875rem;outline:1px solid transparent;border-radius:.375rem;border:none;transition:outline-color .2s ease;outline-offset:-1px}.selected-properties .asset-properties .asset-property-input-container input:focus,.selected-properties .asset-properties .asset-property-input-container input:active{outline-color:#646cff}.input-with-dragger-container{width:100%;display:flex;align-items:center;gap:6px}.input-with-dragger-container input{width:100%}.input-with-dragger-container .dragger{height:24px;min-width:24px;background:#010101;border-radius:6px;cursor:ew-resize}.live-editor-root{display:flex;height:100vh;width:100vw;background:#1e1e1e;color:#fff}.editor-left{width:40vw;min-width:350px;background:#23272e;display:flex;flex-direction:column}.editor-right{flex:1;display:flex;flex-direction:column;background:#181818}.preview-top{flex:2;border-bottom:1px solid #333;background:#181818;overflow:hidden}.console-bottom{flex:1;background:#181818;overflow-y:auto}.editor-panel{flex:1;display:flex;flex-direction:column;height:100%}.editor-tabs{display:flex;background:#23272e;border-bottom:1px solid #333}.editor-tabs button{flex:1;padding:.75rem 1rem;background:none;border:none;color:#fff;font-size:1rem;cursor:pointer;border-bottom:2px solid transparent;transition:border .2s}.editor-tabs button.active{color:#4fc3f7;background:#4fc2f73b}.preview-panel{width:100%;height:100%;background:#181818;display:flex;align-items:stretch;justify-content:stretch}.preview-iframe{width:100%;height:100%;border:none;background:#181818}.console-panel{height:100%;display:flex;flex-direction:column;background:#181818;color:#fff;font-family:monospace}.console-header{display:flex;justify-content:space-between;align-items:center;padding:.5rem 1rem;background:#23272e;border-bottom:1px solid #333}.console-header button{background:#333;color:#fff;border:none;padding:.25rem .75rem;border-radius:3px;cursor:pointer}.console-logs{flex:1;overflow-y:auto;padding:.5rem 1rem}.console-log{display:flex;align-items:flex-start;margin-bottom:.25rem;font-size:.95rem}.console-log .console-icon{margin-right:.5rem}.console-log.log{color:#b5cea8}.console-log.warn{color:#ffeb3b}.console-log.error{color:#f44336}.image-compressor-container{min-height:100vh;background:#0f172a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#f8fafc;position:relative;padding:0}.image-compressor-container.dragging{background-color:#1e293b;border:2px dashed #3b82f6}.toast-container{position:fixed;top:1rem;right:1rem;z-index:1000;display:flex;flex-direction:column;gap:.5rem}.toast{padding:.75rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:500;max-width:300px;animation:slideIn .3s ease-out;box-shadow:0 4px 12px #0000004d}.toast-error{background:#dc2626;color:#fff;border-left:4px solid #b91c1c}.toast-success{background:#16a34a;color:#fff;border-left:4px solid #15803d}.toast-info{background:#2563eb;color:#fff;border-left:4px solid #1e40af}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.page-header{text-align:center;padding:2rem 1rem 1rem;background:linear-gradient(135deg,#1e293b,#0f172a);border-bottom:1px solid #334155}.page-header .title{font-size:2.5rem;font-weight:700;margin:0 0 .5rem;color:#f8fafc;background:linear-gradient(135deg,#3b82f6,#8b5cf6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.page-header .subtitle{font-size:1.125rem;color:#94a3b8;margin:0;font-weight:400}.upload-section{display:flex;justify-content:center;align-items:center;min-height:60vh;padding:2rem 1rem}.upload-area{background:#1e293b;border:2px dashed #475569;border-radius:1rem;padding:3rem 2rem;text-align:center;max-width:500px;width:100%;transition:all .3s ease}.upload-area:hover{border-color:#3b82f6;background:#1e293b}.upload-icon{font-size:3rem;margin-bottom:1rem}.upload-area h3{font-size:1.5rem;font-weight:600;margin-bottom:.5rem;color:#f8fafc}.upload-area p{color:#94a3b8;margin-bottom:1rem;line-height:1.5}.upload-info{font-size:.875rem;color:#64748b;margin-bottom:2rem}.main-content{max-width:1400px;margin:0 auto;padding:2rem 1rem}.control-panel{background:#1e293b;border:1px solid #334155;border-radius:1rem;padding:2rem;margin-bottom:2rem;box-shadow:0 4px 6px #0000001a}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #334155}.panel-header h2{font-size:1.5rem;font-weight:600;color:#f8fafc;margin:0}.header-actions{display:flex;gap:.75rem}.settings-section{display:flex;gap:2rem;align-items:flex-start;margin-bottom:1.5rem}.sliders-container{flex:0 0 50%;display:flex;flex-direction:column;gap:1.5rem}.setting-group{display:flex;flex-direction:column;gap:.75rem}.setting-group label{display:flex;flex-direction:column;color:#94a3b8;font-size:.875rem;font-weight:500;gap:.5rem}.info-panel{flex:0 0 50%;display:flex;flex-direction:column;justify-content:center}.info-card{background:#0f172a;border:1px solid #334155;border-radius:.75rem;padding:1.5rem}.info-card h4{color:#f8fafc;font-size:1.125rem;font-weight:600;margin:0 0 1rem}.info-stats{display:flex;flex-direction:column;gap:.75rem}.stat-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #1e293b}.stat-item:last-child{border-bottom:none}.stat-label{color:#94a3b8;font-size:.875rem}.stat-value{color:#f8fafc;font-weight:600;font-size:1rem}.stat-value.success{color:#16a34a}.stat-value.warning{color:#fbbf24}.action-buttons{display:flex;flex-direction:column;gap:.75rem;width:100%}.settings-notice{background:#fbbf24;color:#92400e;padding:1rem;border-radius:.5rem;font-size:.875rem;font-weight:500;text-align:center;border-left:4px solid #f59e0b;margin-top:1.5rem}.results-panel{flex:0 0 50%;background:#0f172a;border:1px solid #334155;border-radius:.75rem;padding:1.5rem;height:fit-content}.results-panel h3{color:#f8fafc;font-size:1.125rem;font-weight:600;margin:0 0 1rem}.results-stats{display:flex;flex-direction:column;gap:.75rem}.result-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #1e293b}.result-item:last-child{border-bottom:none}.result-label{color:#94a3b8;font-size:.875rem}.result-value{color:#f8fafc;font-weight:600;font-size:1rem}.result-value.success{color:#16a34a}.images-section{margin-top:2rem}.images-section h3{font-size:1.5rem;font-weight:600;color:#f8fafc;margin:0 0 1.5rem}.image-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(350px,1fr))}.image-card{background:#1e293b;border:1px solid #334155;border-radius:.75rem;padding:1.5rem;transition:all .3s ease;position:relative}.image-card:hover{border-color:#475569;box-shadow:0 4px 12px #0000004d}.image-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.image-header h4{font-size:1rem;font-weight:600;color:#f8fafc;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.btn-remove{background:#dc2626;color:#fff;border:none;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;line-height:1;padding:0;min-width:28px;min-height:28px}.btn-remove svg{width:14px;height:14px;color:#fff}.btn-remove:hover{background:#b91c1c;transform:scale(1.1)}.btn-remove:hover svg{color:#fff}.image-preview{position:relative;margin-bottom:1rem;border-radius:.5rem;overflow:hidden;background:#0f172a;aspect-ratio:16/9}.image-preview img{width:100%;height:100%;object-fit:contain;border-radius:.5rem;cursor:pointer;transition:opacity .3s ease}.preview-toggle{position:absolute;bottom:.5rem;left:.5rem;background:#000000b3;color:#fff;padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;pointer-events:none}.image-info{margin-bottom:1rem}.info-row{display:flex;justify-content:space-between;align-items:center;padding:.25rem 0;font-size:.875rem}.info-row span:first-child{color:#94a3b8}.info-row span:last-child{color:#f8fafc;font-weight:500}.error-message{background:#dc2626;color:#fff;padding:.75rem;border-radius:.5rem;margin-bottom:1rem;font-size:.875rem;text-align:center}.btn{padding:.75rem 1.5rem;border-radius:.5rem;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease;color:#fff;border:none;outline:none;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.upload{background:#2563eb}.btn.upload:hover:not(:disabled){background:#1e40af;transform:translateY(-1px)}.btn.compress{background:#16a34a}.btn.compress:hover:not(:disabled){background:#15803d;transform:translateY(-1px)}.btn.zip{background:#8b5cf6}.btn.zip:hover:not(:disabled){background:#7c3aed;transform:translateY(-1px)}.btn.clear{background:#dc2626}.btn.clear:hover:not(:disabled){background:#b91c1c;transform:translateY(-1px)}.custom-range{-webkit-appearance:none;width:100%;height:6px;background:#475569;border-radius:3px;cursor:pointer;outline:none;margin:.5rem 0;transition:background .3s ease}.custom-range:disabled{opacity:.5;cursor:not-allowed}.custom-range::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;background:#3b82f6;border:2px solid #ffffff;box-shadow:0 2px 4px #0003;cursor:pointer;transition:all .2s ease;margin-top:-6px}.custom-range::-webkit-slider-thumb:hover{background:#2563eb;transform:scale(1.1)}.custom-range::-webkit-slider-runnable-track{height:6px;background:transparent;border-radius:3px}.custom-range::-moz-range-thumb{height:18px;width:18px;border-radius:50%;background:#3b82f6;border:2px solid #ffffff;cursor:pointer;transition:all .2s ease;border:none}.custom-range::-moz-range-thumb:hover{background:#2563eb;transform:scale(1.1)}.custom-range::-moz-range-track{height:6px;background:#475569;border-radius:3px;border:none}.custom-range::-ms-thumb{height:18px;width:18px;border-radius:50%;background:#3b82f6;border:2px solid #ffffff;cursor:pointer;border:none}.custom-range::-ms-track{height:6px;background:transparent;border-color:transparent;color:transparent;border:none}.custom-range::-ms-fill-lower{background:#3b82f6;border-radius:3px}.custom-range::-ms-fill-upper{background:#475569;border-radius:3px}.format-select{background:#0f172a;border:1px solid #475569;border-radius:.375rem;color:#f8fafc;padding:.5rem .75rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;outline:none;width:100%;margin-top:.5rem}.format-select:hover{border-color:#64748b}.format-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.format-select option{background:#0f172a;color:#f8fafc;padding:.5rem}@media (max-width: 1024px){.settings-section{flex-direction:column;gap:1.5rem}.sliders-container,.results-panel{flex:1}}@media (max-width: 768px){.page-header{padding:1.5rem 1rem 1rem}.page-header .title{font-size:2rem}.page-header .subtitle{font-size:1rem}.main-content{padding:1rem}.control-panel{padding:1.5rem}.panel-header{flex-direction:column;gap:1rem;align-items:stretch}.header-actions{justify-content:center}.settings-section{flex-direction:column;gap:1.5rem}.sliders-container,.results-panel{flex:1}.image-grid{grid-template-columns:1fr;gap:1rem}.image-card{padding:1rem}.image-header h4{max-width:150px}.toast-container{left:1rem;right:1rem}.toast{max-width:none}}@media (max-width: 480px){.page-header .title{font-size:1.75rem}.upload-area{padding:2rem 1rem}.upload-icon{font-size:2rem}.control-panel{padding:1rem}.image-card{padding:.75rem}}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#121212;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}h1{font-size:3.2em;line-height:1.1}button,.button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover,.button:hover{border-color:#646cff}button:focus,button:focus-visible,.button:focus,.button:focus-visible{outline:4px auto -webkit-focus-ring-color}
