.effect-links{display:flex;flex-wrap:wrap;gap:8px;max-width:1120px;margin:0 auto 40px;padding:0 24px}.effect-links a{color:var(--muted);border:1px solid var(--line);border-radius:24px;padding:9px 15px;font-size:13px;text-decoration:none}.effect-links a:hover,.effect-links a[aria-current]{color:var(--text);border-color:var(--tool-accent)}
.effect-shell{max-width:1040px}.effect-limit{padding:18px 24px;color:var(--muted);font-size:13px;line-height:1.7}#settings{border:0;min-inline-size:0;padding:0;margin:0}#settings>legend{padding:12px 24px;font-weight:600;color:var(--tool-accent)}.eq-settings{padding:24px}.eq-settings>label{display:inline-block;margin:0 24px 20px 0;color:var(--muted)}.eq-settings select,#bands select{padding:8px;max-width:100%;background:var(--bg);border:1px solid var(--line);color:var(--text);border-radius:5px;font:inherit}.eq-settings p{color:var(--muted);font-size:13px;line-height:1.7}#eqGraph{display:block;width:100%;height:auto;touch-action:none;background:var(--bg);border:1px solid var(--line);border-radius:8px}#bands{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:24px}#bands fieldset{border:1px solid var(--line);border-radius:6px;min-width:0;padding:12px}#bands legend{color:var(--tool-accent);padding:0 5px}#bands label{display:block;font-size:12px;color:var(--muted);margin-bottom:14px}#bands input{display:block;width:100%;accent-color:var(--tool-accent);margin-top:8px}#bands output{display:block;color:var(--text);font-variant-numeric:tabular-nums}#bands select{width:100%;font-size:12px}#spectrum{display:block;width:100%;height:70px;margin:18px 0;background:var(--bg);border-bottom:1px solid var(--line)}.check{display:flex;gap:10px;align-items:center}#fileRow{padding:12px 24px}.effects-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:1120px;padding:0 24px 80px;margin:auto;gap:20px}.effect-card{padding:26px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);text-decoration:none}.effect-card:hover{border-color:var(--tool-accent)}.effect-card>span{color:var(--tool-accent);font-size:13px}.effect-card h2{font-size:21px;margin:18px 0 12px}.effect-card p{color:var(--muted);font-size:14px;line-height:1.8}a.download-button{text-decoration:none}.file-info strong{overflow-wrap:anywhere}input:disabled,select:disabled{opacity:.5}#status{overflow-wrap:anywhere}
@media(max-width:750px){#bands{grid-template-columns:repeat(2,minmax(0,1fr))}.effects-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.effects-cards{grid-template-columns:1fr}.eq-settings{padding:18px}.effect-links{padding:0 18px}.effect-links a{font-size:12px;padding:8px 11px}.effect-limit{padding:18px}}
.effect-shell .drop-zone{min-height:190px;padding:28px}.effect-links a:focus-visible,.effect-card:focus-visible{outline:2px solid var(--tool-accent);outline-offset:4px}
body[data-effect]{--coral:var(--tool-accent);--surface-2:color-mix(in srgb,var(--tool-accent) 8%,var(--bg))}
.effect-card{--tool-accent:var(--effect-color,#d5e2f2);border-top:3px solid var(--tool-accent)}.effect-card h2{color:var(--tool-accent)}.effect-links a{border-left:3px solid var(--effect-color,var(--line))}.effect-links a:hover,.effect-links a[aria-current]{color:var(--effect-color,var(--text));border-color:var(--effect-color,var(--line))}
.effect-breadcrumbs{max-width:1120px;margin:20px auto 0;padding:0 24px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:var(--muted);font-size:12px}.effect-breadcrumbs a{color:var(--muted);text-decoration:none}.effect-breadcrumbs a:hover{color:var(--tool-accent)}
.original-player{border-block:1px solid var(--line);padding-top:22px}.original-player h3,.playback h3{font-size:17px;margin:0 0 16px;color:var(--text)}.original-player>button{margin-bottom:18px}.original-player>label{display:block}.effect-faq{padding-top:0}.effect-faq details{border-block-end:1px solid var(--line);padding:18px 0}.effect-faq summary{cursor:pointer;color:var(--text);font-size:16px;line-height:1.6}.effect-faq summary:focus-visible{outline:2px solid var(--tool-accent);outline-offset:5px}.effect-faq p{margin:14px 0 0}
@media(max-width:480px){.effect-breadcrumbs{padding-inline:18px}.original-player{padding-top:18px}}
/* Compact EQ selectors; retain a narrow keyboard focus indicator. */
.eq-settings>label{display:inline-flex;flex-direction:column;vertical-align:top;gap:6px;width:min(220px,calc(50% - 12px));margin:0 12px 16px 0;font-size:13px;overflow-wrap:anywhere}
#eqStyle,#eqPreset{width:100%;min-height:34px;padding:6px 26px 6px 10px;border:1px solid var(--line);border-radius:4px;font-size:13px;line-height:1.4;box-shadow:none}
#eqStyle:focus,#eqPreset:focus{outline:none;box-shadow:none}
#eqStyle:focus-visible,#eqPreset:focus-visible{border-color:var(--tool-accent);outline:1px solid var(--tool-accent);outline-offset:1px}

/* Keep the processed player close to the effect actions. */
.effect-shell .effect-actions{padding-bottom:8px}
.processed-player{padding-bottom:8px}
.processed-player #spectrum{height:40px;margin:8px 0}

.processed-player #spectrum[hidden]{display:none}

/* Adjacent effects remain separate from the upload and playback controls. */
.effect-adjacent{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1120px;margin:0 auto 32px;padding:0 24px}
.effect-adjacent a{display:flex;flex-direction:column;gap:7px;min-width:0;padding:14px 18px;border:1px solid var(--line);border-radius:8px;color:var(--text);text-decoration:none;background:var(--surface,var(--bg))}
.effect-adjacent a:hover{border-color:var(--tool-accent);background:color-mix(in srgb,var(--tool-accent) 6%,var(--bg))}
.effect-adjacent a:focus-visible{outline:2px solid var(--tool-accent);outline-offset:2px}
.effect-adjacent-label{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px}
.effect-adjacent strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.effect-adjacent-next{text-align:right;align-items:flex-end}.effect-adjacent-next .effect-adjacent-label{flex-direction:row-reverse}
@media(max-width:480px){.effect-adjacent{gap:10px;padding:0 18px;margin-bottom:24px}.effect-adjacent a{padding:12px}.effect-adjacent strong{font-size:13px}}

/* Long translated tool names must fit narrow screens. */
.tool-head h1{overflow-wrap:anywhere}


/* Keep work-in-progress feedback visible even on long settings panels. */
body[data-tool-theme] #status.is-processing{position:fixed;z-index:80;inset-inline:24px;bottom:24px;max-width:620px;margin:0 auto;padding:18px 22px 18px 54px;border:1px solid var(--tool-accent);border-radius:10px;background:var(--surface,#10151c);box-shadow:0 8px 32px #0008;color:var(--text);font-size:16px;font-weight:600;line-height:1.6;min-height:0;pointer-events:none}
#status.is-processing::before{content:"";position:absolute;left:20px;top:calc(50% - 10px);width:20px;height:20px;border:2px solid color-mix(in srgb,var(--tool-accent) 25%,transparent);border-top-color:var(--tool-accent);border-radius:50%;animation:effect-processing-spin .8s linear infinite}
@keyframes effect-processing-spin{to{transform:rotate(360deg)}}
@media(max-width:480px){body[data-tool-theme] #status.is-processing{inset-inline:16px;bottom:16px;padding:14px 16px 14px 48px;font-size:15px}#status.is-processing::before{left:16px}}
@media(prefers-reduced-motion:reduce){#status.is-processing::before{animation:none}}

.audio-comparison{margin:12px 24px 0;padding-top:16px;border-top:1px solid var(--line)}
.audio-comparison>h3{margin:0 0 8px;font-size:18px;color:var(--text)}
.comparison-hint{margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.7}
.audio-comparison .waveform-player{padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--bg);margin:0 0 12px}
.waveform-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.waveform-controls button{margin:0;font-size:13px;white-space:normal;min-width:0;text-align:left}
.waveform-controls output{flex-shrink:0;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.waveform-track{position:relative;border-radius:5px;background:var(--surface,#151b24);overflow:hidden}
.waveform-track:focus-within{outline:1px solid var(--tool-accent);outline-offset:1px}
.waveform-track canvas{display:block;width:100%;height:86px;color:var(--tool-accent)}
.original-player .waveform-track canvas{color:var(--muted)}
.audio-comparison .waveform-seek[type=range]{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:crosshair;touch-action:none;z-index:2}
.audio-comparison .waveform-seek:disabled{cursor:default}
.waveform-track:has(input:disabled){opacity:.5}
.waveform-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.effect-status{padding-bottom:4px}
@media(max-width:480px){.audio-comparison{margin-inline:18px}.audio-comparison .waveform-player{padding:10px}.waveform-controls{gap:8px}.waveform-controls button{padding:10px;font-size:12px}.waveform-track canvas{height:72px}.waveform-controls output{font-size:11px}}

/* Graphic EQ: aligned vertical gain faders, with per-band fine controls. */
#bands{grid-template-columns:repeat(var(--eq-band-count,8),minmax(96px,1fr));gap:8px;overflow-x:auto;padding:4px 2px 12px;align-items:start}
#bands fieldset{position:relative;padding:10px 8px;text-align:center;min-width:0}
#bands legend{font-size:11px}
#bands .eq-gain-label{margin:0 0 12px}
#bands .eq-gain-label>output{font-size:13px;color:var(--tool-accent);margin-bottom:12px;font-variant-numeric:tabular-nums}
#bands .eq-band-gain{writing-mode:vertical-lr;direction:rtl;appearance:none;display:block;width:32px;height:184px;margin:0 auto;padding:0;background:transparent;cursor:ns-resize;touch-action:pan-x}
#bands .eq-band-gain::-webkit-slider-runnable-track{width:4px;height:100%;border-radius:4px;background:linear-gradient(to top,var(--tool-accent) 0 var(--gain-position),var(--line) var(--gain-position) 100%)}
#bands .eq-band-gain::-webkit-slider-thumb{appearance:none;width:16px;height:16px;margin-left:-6px;border:2px solid var(--bg);border-radius:50%;background:var(--tool-accent)}
#bands .eq-band-gain::-moz-range-track{width:4px;height:100%;border-radius:4px;background:var(--line)}
#bands .eq-band-gain::-moz-range-thumb{width:14px;height:14px;border:2px solid var(--bg);border-radius:50%;background:var(--tool-accent)}
#bands .eq-band-frequency{display:block;margin-bottom:12px;font-size:13px;font-weight:600;color:var(--text);white-space:nowrap}
#bands .eq-band-details{text-align:left;border-top:1px solid var(--line);padding-top:9px}
#bands .eq-band-details summary{color:var(--muted);cursor:pointer;font-size:11px;overflow-wrap:anywhere}
#bands .eq-band-details label{margin:12px 0;font-size:11px}
#bands .eq-band-details input{height:20px}
#bands .eq-band-details select{padding:6px 2px;font-size:11px}
.waveform-building{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--surface,#151b24);color:var(--muted);font-size:12px;pointer-events:none}

.waveform-controls button:disabled{cursor:not-allowed;opacity:.45}

.effect-auto-note{align-self:center;color:var(--muted);font-size:13px;line-height:1.6}

/* Direct selection for EQ styles and presets. */
body[data-effects-layout] .eq-native-choice[hidden]{display:none}
body[data-effects-layout] .eq-choice-section{margin:0 0 22px}
body[data-effects-layout] .eq-choice-section h3{margin:0 0 11px;color:var(--text);font-size:14px;font-weight:650}
body[data-effects-layout] .eq-choice-group{display:flex;flex-wrap:wrap;gap:9px}
body[data-effects-layout] .eq-choice-button{position:relative;display:flex;align-items:center;gap:8px;min-height:39px;padding:9px 15px;border:1px solid #e1dfee;border-radius:10px;background:#fff;color:#5d5970;font:inherit;font-size:13px;cursor:pointer;transition:border-color .18s,background .18s,color .18s,box-shadow .18s,transform .18s}
body[data-effects-layout] .eq-choice-button:hover:not(:disabled){transform:translateY(-2px);border-color:#a79cdb;background:#faf8ff;box-shadow:0 5px 14px #6b59d315}
body[data-effects-layout] .eq-choice-button[aria-pressed="true"]{border-color:#6b59d3;background:#efebff;color:#5140b3;box-shadow:0 0 0 1px #6b59d318,0 4px 12px #6b59d312}
body[data-effects-layout] .eq-choice-button:focus-visible{outline:2px solid #6b59d3;outline-offset:3px}
body[data-effects-layout] .eq-choice-button:disabled{opacity:.45;cursor:not-allowed}
body[data-effects-layout] .eq-style-choices .eq-choice-group{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body[data-effects-layout] .eq-style-choices .eq-choice-button{display:grid;grid-template-columns:25px 1fr;gap:6px 9px;min-height:82px;padding:14px;text-align:left}
body[data-effects-layout] .eq-choice-title{font-weight:600}
body[data-effects-layout] .eq-style-choices small{grid-column:1/-1;color:#8a839b;font-size:11px;line-height:1.5}
body[data-effects-layout] .eq-choice-icon{display:flex;align-items:center;justify-content:center;gap:3px;height:21px;color:#9d91cb}
body[data-effects-layout] .eq-choice-icon i{display:block;width:3px;height:8px;border-radius:3px;background:currentColor;transition:height .25s,color .2s}
body[data-effects-layout] .eq-choice-icon i:nth-child(2),body[data-effects-layout] .eq-choice-icon i:nth-child(4){height:14px}
body[data-effects-layout] .eq-choice-icon i:nth-child(3){height:20px}
body[data-effects-layout] .eq-choice-button[aria-pressed="true"] .eq-choice-icon{color:#6b59d3}
body[data-effects-layout] .eq-choice-button:hover .eq-choice-icon i:nth-child(odd){height:16px}
body[data-effects-layout] .eq-choice-button:hover .eq-choice-icon i:nth-child(even){height:9px}
@media(max-width:800px){body[data-effects-layout] .eq-style-choices .eq-choice-group{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){body[data-effects-layout] .eq-style-choices .eq-choice-group{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-effects-layout] .eq-choice-button{padding:8px 11px;font-size:12px}}
@media(prefers-reduced-motion:reduce){body[data-effects-layout] .eq-choice-button,body[data-effects-layout] .eq-choice-icon i{transition:none}body[data-effects-layout] .eq-choice-button:hover:not(:disabled){transform:none}}
body[data-effects-layout] .eq-choice-button[aria-pressed="true"]{background:#6b59d3!important;color:#fff!important;border-color:#6b59d3}
body[data-effects-layout] .eq-choice-button[aria-pressed="true"] small{color:#eee9ff}
body[data-effects-layout] .eq-choice-button[aria-pressed="true"] .eq-choice-icon{color:#fff}

/* Read-only frequency response, aligned with the site's violet palette. */
body[data-effects-layout] #eqGraph{display:block;box-sizing:border-box;width:100%;height:280px;border:1px solid #e6e0f0;border-radius:14px;background:#faf8ff;box-shadow:0 3px 14px #6b59d307;cursor:default;touch-action:auto;user-select:none}
@media(max-width:480px){body[data-effects-layout] #eqGraph{height:240px;border-radius:10px}}

body[data-effects-layout] .eq-output-gain{margin:0 24px;padding:15px 0 18px;border-top:1px solid #e9e4f2}
body[data-effects-layout] .eq-output-gain label{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;color:var(--text);font-size:13px;font-weight:600}
body[data-effects-layout] .eq-output-gain output{color:#6b59d3;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
body[data-effects-layout] .eq-output-gain input[type="range"]{appearance:none;display:block;width:100%;height:4px;margin:0;padding:0;border:0;border-radius:8px;background:#e6dff4;cursor:pointer;accent-color:#6b59d3}
body[data-effects-layout] .eq-output-gain input[type="range"]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border:2px solid #fff;border-radius:50%;background:#6b59d3;box-shadow:0 0 0 1px #c5b9e9,0 2px 5px #6b59d325}
body[data-effects-layout] .eq-output-gain input[type="range"]::-moz-range-thumb{width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#6b59d3;box-shadow:0 0 0 1px #c5b9e9}
body[data-effects-layout] .eq-output-gain input[type="range"]:focus-visible{outline:2px solid #b8a9e8;outline-offset:7px}
@media(max-width:480px){body[data-effects-layout] .eq-output-gain{margin-inline:18px}body[data-effects-layout] .eq-output-gain label{grid-template-columns:minmax(0,1fr) auto;gap:12px;font-size:12px}}
body[data-effects-layout] .eq-output-gain label>span{grid-column:1;grid-row:1}
body[data-effects-layout] .eq-output-gain output{grid-column:2;grid-row:1}
body[data-effects-layout] .eq-output-gain input[type="range"]{grid-column:1/-1;grid-row:2}
body[data-effects-layout] .eq-export-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body[data-effects-layout] .eq-export-settings label{min-width:0}
body[data-effects-layout] .eq-export-settings select{width:100%;min-width:0}
body[data-effects-layout] .eq-output-gain{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:20px}
body[data-effects-layout] .eq-output-gain label{min-width:0}
body[data-effects-layout] .eq-output-gain input[type="range"]{background:linear-gradient(to right,#8a74db 0 var(--gain-progress,50%),#e6dff4 var(--gain-progress,50%) 100%)}
body[data-effects-layout] .eq-reset-all{display:inline-flex;align-items:center;justify-content:center;min-height:35px;margin:0;padding:8px 15px;border:1px solid #d9d0ee;border-radius:9px;background:#f5f1ff;color:#6b59d3;font:inherit;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .16s,box-shadow .16s}
body[data-effects-layout] .eq-reset-all:hover:not(:disabled){background:#eae2fc;box-shadow:0 3px 10px #6b59d315}
body[data-effects-layout] .eq-reset-all:focus-visible{outline:2px solid #6b59d3;outline-offset:3px}
@media(max-width:480px){body[data-effects-layout] .eq-output-gain{gap:12px}body[data-effects-layout] .eq-reset-all{padding-inline:12px}}
/* Override the shared white input surface on this range's actual track. */
body[data-effects-layout] .eq-output-gain input[type="range"]{height:22px;background:transparent!important;border:0!important;box-shadow:none;appearance:none}
body[data-effects-layout] .eq-output-gain input[type="range"]::-webkit-slider-runnable-track{height:6px;border:0;border-radius:8px;background:linear-gradient(to right,#8971dc 0 var(--gain-progress,50%),#e5dff1 var(--gain-progress,50%) 100%);box-shadow:inset 0 1px 2px #63508a0c}
body[data-effects-layout] .eq-output-gain input[type="range"]::-webkit-slider-thumb{appearance:none;width:18px;height:18px;margin-top:-6px;border:3px solid #fff;border-radius:50%;background:#7960cf;box-shadow:0 0 0 1px #c5b7e8,0 2px 5px #6b59d329}
body[data-effects-layout] .eq-output-gain input[type="range"]::-moz-range-track{height:6px;border:0;border-radius:8px;background:#e5dff1}
body[data-effects-layout] .eq-output-gain input[type="range"]::-moz-range-progress{height:6px;border-radius:8px;background:#8971dc}
body[data-effects-layout] .eq-output-gain input[type="range"]::-moz-range-thumb{width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:#7960cf;box-shadow:0 0 0 1px #c5b7e8,0 2px 5px #6b59d329}
body[data-effects-layout] .eq-reset-all{width:auto;min-width:118px;height:40px;gap:8px;padding:0 16px;background:linear-gradient(180deg,#fff,#f5f1ff)!important;border:1px solid #d9d0ee!important;color:#5e49b6!important;border-radius:11px!important;box-shadow:0 2px 5px #6b59d30a;font-size:13px;line-height:1;font-weight:600;align-self:center}
body[data-effects-layout] .eq-reset-all svg{flex-shrink:0;transition:transform .25s ease}
body[data-effects-layout] .eq-reset-all:hover:not(:disabled){background:#eee7fc!important;border-color:#b5a4e2!important;box-shadow:0 4px 12px #6b59d31a}
body[data-effects-layout] .eq-reset-all:hover:not(:disabled) svg{transform:rotate(-35deg)}
@media(max-width:480px){body[data-effects-layout] .eq-reset-all{min-width:100px;padding-inline:12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){body[data-effects-layout] .eq-reset-all svg{transition:none}}

/* A prominent download action, with feedback only when it is ready. */
body[data-effects-layout] .eq-download-row{padding-top:10px;padding-bottom:26px}
body[data-effects-layout] .eq-download-row #export{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:11px;width:100%;min-height:58px;height:auto;margin:0;padding:17px 24px;border:1px solid #7865dc!important;border-radius:14px!important;background:linear-gradient(110deg,#8069df,#6957d5 55%,#5844bb)!important;color:#fff!important;font-size:16px;font-weight:700;letter-spacing:.015em;box-shadow:0 7px 18px #6957d52b;cursor:pointer}
body[data-effects-layout] .eq-download-row #export svg{width:22px;height:22px;flex-shrink:0;transition:transform .2s ease}
body[data-effects-layout] .eq-download-row #export::before{position:absolute;z-index:-1;inset:-40% -20%;content:"";background:linear-gradient(110deg,transparent 35%,#ffffff25 50%,transparent 65%);transform:translateX(-100%);pointer-events:none}
body[data-effects-layout] .eq-download-row #export:enabled{animation:eq-download-ready .35s ease-out}
body[data-effects-layout] .eq-download-row #export:hover:not(:disabled){background:linear-gradient(110deg,#8972e7,#725cdc 55%,#604bc8)!important;box-shadow:0 10px 26px #6957d53d;transform:translateY(-2px)}
body[data-effects-layout] .eq-download-row #export:hover:not(:disabled)::before{animation:eq-download-sheen .7s ease-out both}
body[data-effects-layout] .eq-download-row #export:hover:not(:disabled) svg{transform:translateY(2px)}
body[data-effects-layout] .eq-download-row #export:active:not(:disabled){transform:translateY(0) scale(.99);box-shadow:0 3px 10px #6957d526}
body[data-effects-layout] .eq-download-row #export:disabled{opacity:.42;cursor:not-allowed}
@keyframes eq-download-ready{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@keyframes eq-download-sheen{to{transform:translateX(100%)}}
@media(max-width:480px){body[data-effects-layout] .eq-download-row #export{min-height:54px;font-size:15px;padding:15px 20px}}
@media(prefers-reduced-motion:reduce){body[data-effects-layout] .eq-download-row #export:enabled,body[data-effects-layout] .eq-download-row #export:hover:not(:disabled)::before{animation:none}body[data-effects-layout] .eq-download-row #export svg{transition:none}body[data-effects-layout] .eq-download-row #export:hover:not(:disabled),body[data-effects-layout] .eq-download-row #export:hover:not(:disabled) svg{transform:none}}
/* Keep the download action close to export options; empty feedback adds no space. */
body[data-effects-layout] .effect-actions:has(#cancel[hidden]){display:none}
body[data-effects-layout] .effect-status:has(#status:empty):has(#error[hidden]){display:none}
body[data-effects-layout] .effect-status{padding-bottom:0}
body[data-effects-layout] .effect-status p:empty{display:none}
body[data-effects-layout] .effect-status p:not(.is-processing){margin:6px 0 0;min-height:0;font-size:12px;line-height:1.5}
body[data-effects-layout] .eq-export-settings{padding-bottom:12px}
body[data-effects-layout] .eq-download-row{padding-top:8px;padding-bottom:20px}

body[data-effects-layout] .waveform-controls #originalPlay,body[data-effects-layout] .waveform-controls #play{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:145px;min-height:44px;height:auto;padding:7px 16px 7px 8px;border-radius:24px!important;font-size:14px;font-weight:650;line-height:1.3}
body[data-effects-layout] .waveform-controls :is(#originalPlay,#play) svg{display:block;box-sizing:content-box;width:21px;height:21px;padding:5px;border-radius:50%;background:#ffffff24;fill:currentColor;stroke:none;flex-shrink:0}
body[data-effects-layout] .waveform-controls :is(#originalPlay,#play)[aria-pressed="true"] svg{background:#ffffff38}
@media(max-width:480px){body[data-effects-layout] .waveform-controls #originalPlay,body[data-effects-layout] .waveform-controls #play{min-width:125px;min-height:42px;gap:8px;font-size:13px}}

/* Shared Effects intro and original-track removal. */

body[data-effects-layout] .tool-head{padding-bottom:8px}
body[data-effects-layout] .eq-intro{max-width:780px;margin:0 auto;padding:0 24px 12px;text-align:center}
body[data-effects-layout] #workspace{padding-top:24px}
body[data-effects-layout] .eq-intro p{margin:0;color:var(--muted);font-size:15px;line-height:1.7}


body[data-effects-layout] .original-player{position:relative;padding-right:48px}
body[data-effects-layout] .original-player .eq-remove-audio{position:absolute;right:10px;top:10px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin:0;padding:0;border:1px solid #e4dff2;border-radius:8px;background:#f5f2fc;color:#6b59d3;font-size:22px;font-weight:400;line-height:1;cursor:pointer;transition:background .16s,transform .16s}
body[data-effects-layout] .original-player .eq-remove-audio:hover:not(:disabled){background:#eae3fb;transform:scale(1.06)}
body[data-effects-layout] .original-player .eq-remove-audio:focus-visible{outline:2px solid #6b59d3;outline-offset:2px}
body[data-effects-layout] .original-player .eq-remove-audio:disabled{opacity:.35;cursor:default}
@media(prefers-reduced-motion:reduce){body[data-effects-layout] .original-player .eq-remove-audio{transition:none}}

body[data-effects-layout] .spatial-settings input[type="range"]{accent-color:#6b59d3!important;color-scheme:light}
body[data-effects-layout] .spatial-restart{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;padding:0}
body[data-effects-layout] .spatial-restart svg{width:16px;height:16px}
body[data-effects-layout][data-tool-theme="spatial"] .eq-output-gain input[type="range"]{background:transparent!important}
body[data-effects-layout][data-tool-theme="spatial"] .level-meter{margin:0;height:3px;background:#eee9f7}
body[data-effects-layout][data-tool-theme="spatial"] .level-meter>div{background:#7960cf}

/* The Effects console: separate parameter tiles inside one cohesive surface. */
body[data-effects-layout] #settings.effect-console{margin:20px 24px 8px;padding:20px;border:1px solid #e7e0f3;border-radius:20px;background:linear-gradient(135deg,#faf8ff,#f5f3fa);box-shadow:inset 0 1px 0 #fff,0 4px 18px #6b59d306}
body[data-effects-layout] #settings>.effect-console-legend{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-effects-layout] .effect-console-heading{display:flex;align-items:center;gap:10px;margin:0 0 18px;color:#342850;font-size:18px;font-weight:700;letter-spacing:-.025em}
body[data-effects-layout] .effect-console-icon{display:grid;place-items:center;width:37px;height:37px;border:1px solid #e7def7;border-radius:12px;background:#fff;color:#7960cf;box-shadow:0 3px 9px #6b59d308}
body[data-effects-layout] #settings>.spatial-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;margin:0;border:0;background:none;box-shadow:none}
body[data-effects-layout] #settings .effect-param-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px 10px;min-width:0;margin:0;padding:17px 16px;border:1px solid #e8e3ef;border-radius:13px;background:#fff;color:#554b63;font-size:13px;line-height:1.4;box-shadow:0 2px 6px #3b205303;transition:border-color .18s,box-shadow .18s}
body[data-effects-layout] #settings .effect-param-card:hover{border-color:#d2c5eb;box-shadow:0 3px 10px #6b59d30a}
body[data-effects-layout] #settings .effect-param-card:focus-within{border-color:#b9a6e3;box-shadow:0 0 0 3px #a68adf13}
body[data-effects-layout] .effect-param-name{grid-column:1;grid-row:1;min-width:0;color:#665b76;font-size:12px;font-weight:600;letter-spacing:.01em}
body[data-effects-layout] #settings .effect-param-card output{grid-column:2;grid-row:1;float:none;max-width:100%;padding:4px 8px;border-radius:7px;background:#f3eefc;color:#6f52b5;font-size:13px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
body[data-effects-layout] #settings .effect-param-card select{grid-column:1/-1;grid-row:2;width:100%;min-width:0;min-height:38px;margin:0;padding:9px 32px 9px 11px;border:1px solid #e4deec!important;border-radius:9px;appearance:none;background:#faf9fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%238c7ba2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center!important;color:#43354f!important;font-family:inherit;font-size:13px;line-height:1.3;cursor:pointer}
body[data-effects-layout] #settings .effect-param-card select:disabled{cursor:not-allowed}
body[data-effects-layout] #settings .effect-param-card input[type="range"]{grid-column:1/-1;grid-row:2;display:block;width:100%;min-width:0;height:20px;margin:0;padding:0;border:0!important;appearance:none;background:transparent!important;box-shadow:none;cursor:pointer;color-scheme:light}
body[data-effects-layout] #settings .effect-param-card input[type="range"]::-webkit-slider-runnable-track{height:5px;border:0;border-radius:8px;background:linear-gradient(to right,#a48adf 0 var(--param-progress,50%),#ece7f4 var(--param-progress,50%) 100%)}
body[data-effects-layout] #settings .effect-param-card input[type="range"]::-webkit-slider-thumb{appearance:none;width:17px;height:17px;margin-top:-6px;border:3px solid #fff;border-radius:50%;background:#8564c6;box-shadow:0 0 0 1px #d4c6ec,0 2px 4px #6b59d31c}
body[data-effects-layout] #settings .effect-param-card input[type="range"]::-moz-range-track{height:5px;border-radius:8px;background:#ece7f4}
body[data-effects-layout] #settings .effect-param-card input[type="range"]::-moz-range-progress{height:5px;border-radius:8px;background:#a48adf}
body[data-effects-layout] #settings .effect-param-card input[type="range"]::-moz-range-thumb{width:11px;height:11px;border:3px solid #fff;border-radius:50%;background:#8564c6;box-shadow:0 0 0 1px #d4c6ec}
body[data-effects-layout] #settings .effect-param-card.check{display:flex;align-items:center;gap:11px;min-height:66px}
body[data-effects-layout] #settings .effect-param-card.check input{position:relative;flex-shrink:0;appearance:none;width:34px;height:20px;margin:0;border:0;border-radius:12px;background:#e1dbea;cursor:pointer;transition:background .18s}
body[data-effects-layout] #settings .effect-param-card.check input:checked{background:#9272cf}
body[data-effects-layout] #settings .effect-param-card.check input::before{position:absolute;left:3px;top:3px;content:"";width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #35204526;transition:transform .18s}
body[data-effects-layout] #settings .effect-param-card.check input:checked::before{transform:translateX(14px)}
body[data-effects-layout] #settings>.eq-output-gain{margin:14px 0 0;padding:15px 16px;border:1px solid #e8e3ef;border-radius:13px;background:#fff;gap:16px}
body[data-effects-layout] #settings>.eq-output-gain output{padding:3px 7px;border-radius:6px;background:#f3eefc;color:#6f52b5;font-size:12px}
body[data-effects-layout] #settings>.eq-output-gain label>span{color:#665b76;font-size:12px;font-weight:600}
body[data-effects-layout] #settings>.eq-export-settings{margin-top:12px;padding:0}
body[data-effects-layout] #settings>.eq-export-settings .effect-param-card{gap:10px;padding:13px 15px}
body[data-effects-layout] #settings>.eq-settings{padding:0;margin:0}
body[data-effects-layout] #settings #bands fieldset{border-color:#e8e1f1;border-radius:13px;background:#fff;box-shadow:0 2px 6px #6b59d305}
body[data-effects-layout] #settings #bands legend{padding:3px 8px;border-radius:6px;background:#eee8f8;color:#7c61b2;font-weight:650}
body[data-effects-layout] #settings #bands .eq-gain-label>output{display:inline-block;padding:4px 6px;border-radius:6px;background:#f6f2fc;color:#7960b5}
@media(max-width:640px){body[data-effects-layout] #settings.effect-console{margin:16px 18px 6px;padding:14px;border-radius:16px}body[data-effects-layout] .effect-console-heading{font-size:17px;margin-bottom:14px}body[data-effects-layout] #settings>.spatial-settings:not(.eq-export-settings){grid-template-columns:1fr}body[data-effects-layout] #settings .effect-param-card{padding:15px 13px}body[data-effects-layout] #settings>.eq-output-gain{padding:13px 12px;gap:10px}body[data-effects-layout] #settings>.eq-output-gain .eq-reset-all{min-width:88px;padding-inline:10px;font-size:11px}body[data-effects-layout] #settings>.eq-output-gain .eq-reset-all svg{width:15px;height:15px}body[data-effects-layout] #settings>.eq-output-gain label{gap:9px}body[data-effects-layout] #settings>.eq-export-settings{gap:9px}body[data-effects-layout] #settings>.eq-export-settings .effect-param-card{padding:12px 10px}body[data-effects-layout] #settings .effect-param-card select{font-size:12px;padding-left:9px}}
@media(prefers-reduced-motion:reduce){body[data-effects-layout] #settings .effect-param-card,body[data-effects-layout] #settings .effect-param-card.check input,body[data-effects-layout] #settings .effect-param-card.check input::before{transition:none}}
