.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3.5rem 2rem;border:3px dashed var(--border);border-radius:var(--radius);background:var(--surface-1);cursor:pointer;transition:var(--transition);box-shadow:var(--shadow-sm);max-width:900px;margin:0 auto}.dropzone:hover,.dropzone.active{border-color:var(--accent);background:var(--surface-2);transform:translateY(-2px);box-shadow:var(--shadow-md)}.dropzone-content{text-align:center;display:flex;flex-direction:column;align-items:center;gap:.6rem;pointer-events:none}.icon-wrapper{color:var(--accent);margin-bottom:.5rem;transition:var(--transition)}.icon{transition:var(--transition)}.dropzone:hover .icon,.dropzone.active .icon{color:var(--brand-orange);transform:scale(1.1)}.cta-text{font-weight:900;font-size:1.4rem;color:var(--text)}.file-support{font-size:.95rem;color:var(--text-muted);font-family:var(--font-mono)}.visually-hidden{display:none}.status-area{max-width:1200px;margin:0 auto;width:100%}.state-box{background:var(--surface-1);padding:3rem 2.5rem;border-radius:var(--radius);border:1px solid var(--border);display:flex;flex-direction:column;align-items:center;gap:1.5rem;box-shadow:var(--shadow-md);text-align:center;width:100%;box-sizing:border-box;margin-top:1rem}.state-box h3{color:var(--text);font-size:1.8rem;font-weight:800;margin:0}.file-info-text{font-size:1.05rem;color:var(--text-muted);font-weight:600;margin:0}.spinner{width:60px;height:60px;border:5px solid var(--surface-3);border-top:5px solid var(--accent);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.progress-track{width:100%;max-width:400px;height:6px;background:var(--surface-3);border-radius:3px;overflow:hidden;margin-top:.5rem}.progress-fill{height:100%;background:var(--accent);transition:width .3s ease}.editor-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(360px,.9fr);gap:1.5rem;align-items:start;margin-top:1rem}@media(max-width:1024px){.editor-layout{grid-template-columns:1fr}}.stage-card,.controls-card{background:var(--surface-1);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow-md);overflow:hidden}.stage-card{padding:1.25rem}.controls-card{padding:1.25rem;position:sticky;top:1rem;display:flex;flex-direction:column;gap:1rem;max-height:calc(100vh - 2rem);overflow-y:auto}.controls-card::-webkit-scrollbar{width:8px}.controls-card::-webkit-scrollbar-track{background:var(--surface-2);border-radius:4px}.controls-card::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px;border:2px solid var(--surface-2)}.controls-card::-webkit-scrollbar-thumb:hover{background:var(--accent)}.stage-header{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:1rem;gap:.75rem}.stage-title{width:100%}.stage-title h3{color:var(--text);font-size:1.3rem;margin:0 0 .25rem;font-weight:800}.stage-title .muted{font-size:.9rem;color:var(--text-muted);margin:0;line-height:1.5}.stage-badges-center{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap;width:100%}.badge{display:inline-flex;align-items:center;padding:.45rem .75rem;border-radius:8px;font-weight:700;font-size:.8rem;font-family:var(--font-mono);background:var(--surface-2);border:1px solid var(--border);color:var(--text-muted)}.badge-dim{background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--accent);border-color:color-mix(in srgb,var(--accent) 20%,transparent)}.stage{position:relative;height:500px;border-radius:16px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none}.transparent-bg{background-image:linear-gradient(45deg,var(--surface-3) 25%,transparent 25%),linear-gradient(-45deg,var(--surface-3) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--surface-3) 75%),linear-gradient(-45deg,transparent 75%,var(--surface-3) 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0px;background-color:var(--surface-1)}.stage-canvas{display:block;box-shadow:var(--shadow-md);cursor:grab;touch-action:none;max-width:100%;max-height:100%}.stage-canvas:active{cursor:grabbing}.preview-bottom-grid{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}@media(max-width:600px){.stage{height:380px}}.workspace-note{display:flex;gap:.75rem;align-items:flex-start;background:color-mix(in srgb,var(--accent) 8%,transparent);border:1px solid color-mix(in srgb,var(--accent) 20%,transparent);padding:.95rem 1rem;border-radius:12px}.workspace-note-icon{color:var(--accent);margin-top:.1rem;flex-shrink:0}.workspace-note-copy strong{color:var(--accent);display:block;font-size:.9rem;margin-bottom:.15rem}.workspace-note-copy span{color:var(--text-muted);font-size:.85rem;line-height:1.5}.mini-metrics{display:flex;flex-direction:column;gap:.5rem}.mini-metric{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:.6rem 1rem;display:flex;justify-content:space-between;align-items:center}.mini-metric-label{font-size:.75rem;font-weight:800;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.mini-metric-value{font-size:.85rem;font-weight:800;color:var(--text)}.controls-head{margin-bottom:.5rem}.controls-head h3{margin:0 0 .25rem;font-size:1.3rem;color:var(--text);font-weight:800}.muted{color:var(--text-muted);font-size:.9rem;margin:0;line-height:1.5}.control-stack{display:flex;flex-direction:column;gap:1rem}.control-block{background:var(--surface-2);border:1px solid var(--border);border-radius:16px;padding:1rem}.control-group{display:flex;flex-direction:column;gap:.5rem}.control-header{display:flex;justify-content:space-between;align-items:center}.control-label{font-size:.85rem;font-weight:800;color:var(--text);text-transform:uppercase;letter-spacing:.5px}.control-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media(max-width:480px){.control-grid{grid-template-columns:1fr}}.mt-3{margin-top:.75rem}.preset-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.preset-chip{background:var(--surface-1);border:1px solid var(--border);color:var(--text-muted);padding:.5rem .9rem;border-radius:8px;font-weight:700;font-size:.8rem;cursor:pointer;transition:var(--transition)}.preset-chip:hover{border-color:var(--accent);color:var(--text);background:var(--surface-3)}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:.45rem}.seg-btn{background:var(--surface-1);border:1px solid var(--border);color:var(--text);padding:.85rem;border-radius:11px;font-weight:800;cursor:pointer;transition:var(--transition);text-align:center}.seg-btn:hover{border-color:color-mix(in srgb,var(--accent) 40%,var(--border));background:color-mix(in srgb,var(--accent) 5%,transparent)}.seg-btn.active{background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.text-control{width:100%;padding:.85rem 1rem;background:var(--surface-1);border:2px solid var(--border);border-radius:12px;color:var(--text);font-family:var(--font-primary);font-size:.95rem;font-weight:700;transition:var(--transition);outline:none}.text-control:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.num-input{width:70px;padding:.65rem;background:var(--surface-1);border:2px solid var(--border);border-radius:10px;color:var(--text);font-family:var(--font-mono);font-weight:800;text-align:center;font-size:.9rem;outline:none;transition:var(--transition);-moz-appearance:textfield}.num-input::-webkit-outer-spin-button,.num-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.num-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.range-input-row{display:grid;grid-template-columns:70px 1fr;gap:1rem;align-items:center}input[type=range]{width:100%;accent-color:var(--brand-orange);cursor:pointer;height:6px}.color-row{display:flex;align-items:center;gap:.75rem;margin-top:.25rem}input[type=color]{-webkit-appearance:none;width:44px;height:44px;padding:0;border:none;background:none;cursor:pointer;border-radius:10px}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:2px solid var(--border);border-radius:10px}.hex-display{font-family:var(--font-mono);background:var(--surface-1);border:1px solid var(--border);border-radius:10px;padding:.5rem .75rem;font-size:.85rem;font-weight:800;color:var(--text-muted);flex:1}.small-upload-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--surface-1);padding:.5rem;border-radius:12px;font-weight:800;cursor:pointer;transition:var(--transition);margin-top:.5rem;width:100%;color:var(--brand-orange);border:1px solid var(--brand-orange);text-decoration:none}.small-upload-btn:hover{background:color-mix(in srgb,var(--brand-orange) 10%,transparent);box-shadow:var(--glow-orange)}.small-muted{color:var(--text-muted);font-size:.8rem;margin:.5rem 0 0;font-family:var(--font-mono)}.custom-select{position:relative;user-select:none;width:100%}.custom-select-trigger{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem;background:var(--surface-1);border:2px solid var(--border);border-radius:12px;cursor:pointer;transition:var(--transition);min-height:46px}.custom-select-trigger:hover{border-color:var(--accent)}.custom-select.open .custom-select-trigger{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.custom-select-value{font-size:.92rem;font-weight:700;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.custom-select-icon{color:var(--text-muted);transition:transform .3s ease;pointer-events:none;flex-shrink:0}.custom-select.open .custom-select-icon{transform:rotate(180deg);color:var(--accent)}.custom-select-options{position:absolute;top:calc(100% + 6px);left:0;right:0;background:var(--surface-1);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-md);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px);transition:all .2s cubic-bezier(.16,1,.3,1);z-index:100;overflow:hidden;max-height:250px;overflow-y:auto}.custom-select.open .custom-select-options{opacity:1;visibility:visible;pointer-events:all;transform:translateY(0)}.custom-option{padding:.85rem 1rem;font-size:.9rem;font-weight:500;color:var(--text-muted);cursor:pointer;transition:background .15s,color .15s;border-bottom:1px solid var(--border)}.custom-option:last-child{border-bottom:none}.custom-option:hover{background:var(--surface-2);color:var(--accent)}.custom-option.selected{background:color-mix(in srgb,var(--accent) 8%,transparent);color:var(--accent);font-weight:800}.custom-select-wrapper{flex:1;min-width:0}.custom-select-options::-webkit-scrollbar{width:6px}.custom-select-options::-webkit-scrollbar-track{background:var(--surface-1);border-radius:3px}.custom-select-options::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.custom-select-options::-webkit-scrollbar-thumb:hover{background:var(--accent)}.placement-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding-bottom:.75rem;margin-bottom:.75rem}.custom-checkbox{display:flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:700;color:var(--text);cursor:pointer}.custom-checkbox input{accent-color:var(--brand-orange);width:18px;height:18px;cursor:pointer}.position-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;transition:opacity .3s;max-width:200px;margin:0 auto}.pos-btn{aspect-ratio:1;background:var(--surface-1);border:2px solid var(--border);border-radius:12px;color:var(--text-muted);font-size:1.2rem;font-weight:800;cursor:pointer;transition:var(--transition);display:flex;align-items:center;justify-content:center}.pos-btn:hover{border-color:var(--accent);color:var(--text);background:var(--surface-3)}.pos-btn.active{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}.switch-row{display:flex;align-items:center;gap:.6rem;color:var(--text-muted);font-weight:700;font-size:.9rem;cursor:pointer;padding:.5rem 0}.switch-row input{accent-color:var(--brand-orange);width:18px;height:18px;cursor:pointer}.format-hint{font-size:.82rem;color:var(--text-muted);margin:.5rem 0 0;display:flex;align-items:center;gap:.4rem}.format-hint:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--brand-orange);flex-shrink:0}.actions-column{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}#btn-apply{background:var(--brand-orange);color:#fff;padding:1.2rem;border-radius:50px;font-weight:800;border:none;cursor:pointer;transition:var(--transition);font-size:1.1rem;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:var(--glow-orange);text-align:center;width:100%}#btn-apply:hover{background:var(--brand-orange-soft);transform:translateY(-3px)}#btn-reset-editor{background:var(--bg);border:2px solid var(--accent);color:var(--accent);border-radius:50px;font-weight:700;font-size:1.1rem;cursor:pointer;transition:var(--transition);width:100%;text-align:center;display:block;padding:.75rem}#btn-reset-editor:hover{background:var(--error);border:2px solid var(--error);color:#fff;box-shadow:var(--glow-purple);transform:translateY(-3px)}.success-icon-bg{background:var(--success);width:70px;height:70px;border-radius:50%;display:grid;place-items:center;box-shadow:var(--glow-purple);margin-bottom:.5rem}.result-preview-wrapper{width:100%;max-width:600px;border-radius:16px;overflow:hidden;border:1px solid var(--border);padding:1rem}.result-preview-thumb{display:block;width:100%;height:auto;max-height:400px;object-fit:contain;box-shadow:var(--shadow-sm);border-radius:8px}.metadata-dashboard{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center;width:100%;margin-top:.5rem}.meta-item{display:flex;align-items:center;gap:.6rem;background:var(--surface-2);padding:.6rem 1rem;border-radius:12px;border:1px solid var(--border)}.meta-icon{width:18px;height:18px;color:var(--accent);flex-shrink:0}.meta-text{font-family:var(--font-mono);font-size:.85rem;font-weight:800;color:var(--text)}.text-truncate{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.success-badge{border-color:var(--success)}.success-badge .meta-icon,.success-badge .meta-text{color:var(--success)}.action-buttons-column{display:flex;flex-direction:column;gap:.8rem;width:100%;max-width:500px;margin-top:1rem}.secondary-actions-row{display:flex;gap:.8rem;width:100%}.btn-secondary-action{background:var(--surface-1);color:var(--accent);border:2px solid var(--accent);padding:1rem;border-radius:50px;font-weight:800;cursor:pointer;transition:var(--transition);width:100%;text-align:center;font-size:1rem}.btn-secondary-action:hover{background:var(--accent);color:#fff;transform:translateY(-2px);box-shadow:var(--glow-purple)}.download-btn{text-decoration:none}.error-state{border-color:color-mix(in srgb,var(--error) 30%,var(--border))}.error-icon{font-size:3rem;color:var(--error);margin-bottom:-.5rem}.section-divider{border:0;border-top:1px solid var(--border);margin:3rem auto;max-width:950px}.section-title-icon{text-align:center;font-size:2.2rem;color:var(--text);margin-bottom:1rem;font-weight:800;display:flex;align-items:center;justify-content:center;gap:.5rem;letter-spacing:-.03em}.section-subtitle{text-align:center;color:var(--text-muted);margin-bottom:4rem;font-size:1.2rem;line-height:1.6}.seo-content-section,.how-to-section{max-width:950px;margin:0 auto;padding:1rem 0}.steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:3rem;text-align:center}.step-card{display:flex;flex-direction:column;align-items:center}.step-number{width:65px;height:65px;background:var(--brand-orange);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.6rem;font-weight:900;margin-bottom:1.5rem;box-shadow:var(--glow-orange)}.step-card h3{color:var(--text);font-size:1.5rem;font-weight:800;margin-bottom:1rem;margin-top:0}.step-card p{color:var(--text-muted);line-height:1.7;font-size:1rem;margin:0}.formats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;margin-bottom:3rem}.format-panel{background:var(--surface-1);padding:2.5rem;border-radius:20px;border:1px solid var(--border);box-shadow:var(--shadow-sm)}.format-header{display:flex;align-items:center;gap:1.25rem;margin-bottom:1.5rem}.format-badge{background:var(--accent-soft);color:var(--accent);font-weight:800;padding:.4rem 1rem;border-radius:8px;font-size:.85rem;text-transform:uppercase}.png-badge{background:color-mix(in srgb,var(--brand-orange) 15%,transparent);color:var(--brand-orange)}.format-panel h3{color:var(--text);font-size:1.4rem;font-weight:800;margin:0}.format-panel p{color:var(--text-muted);font-size:1rem;line-height:1.7;margin:0}.conversion-details-panel{background:var(--surface-1);padding:2.5rem;border-radius:20px;border-left:5px solid var(--accent);border-top:1px solid var(--border);border-right:1px solid var(--border);border-bottom:1px solid var(--border);box-shadow:var(--shadow-sm)}.conversion-details-panel h3{color:var(--text);font-size:1.6rem;font-weight:800;margin-bottom:1.5rem;margin-top:0}.details-list{list-style:none;padding-left:1.5rem;color:var(--text-muted);gap:.75rem}.details-list li{margin-bottom:.75rem;font-size:1.05rem;line-height:1.6;position:relative}.details-list li:before{content:"✓";color:var(--brand-orange);position:absolute;left:-1.5rem;font-weight:900;font-size:1.2rem}.details-list strong{color:var(--text);font-weight:700}.ad-placeholder{max-width:900px;background:var(--surface-2);border:1px dashed var(--border);padding:2rem;border-radius:12px;text-align:center;color:var(--text-muted);font-family:var(--font-mono);font-size:.85rem;margin:2rem auto}@media(max-width:600px){.secondary-actions-row{flex-direction:column}.result-item{flex-wrap:wrap}.custom-select-options{position:fixed;left:5%;right:5%;width:auto}}
