
.sf-eq-modal{display:none;position:fixed;inset:0;z-index:999999;background:rgba(0,5,16,.78);backdrop-filter:blur(8px);align-items:center;justify-content:center;padding:18px}
.sf-eq-modal.open{display:flex}.sf-eq-dialog{position:relative;width:min(1180px,96vw);background:linear-gradient(145deg,#06172b,#020b18 72%);border:1px solid #13cfff;border-radius:28px;box-shadow:0 0 35px #00bff744,0 30px 90px #000;padding:28px;color:#ddecf8;font-family:Arial,sans-serif}
.sf-eq-close{position:absolute;right:22px;top:20px;width:50px;height:50px;border-radius:50%;border:1px solid #1edcff;background:#061526;color:#bceeff;font-size:25px;cursor:pointer;box-shadow:0 0 18px #00cfff55}
.sf-eq-heading{display:flex;align-items:center;gap:18px;padding-bottom:20px;border-bottom:1px solid #123a54}.sf-eq-symbol{font-size:50px;color:#31dcff;text-shadow:0 0 14px #00cfff}.sf-eq-heading h2{margin:0;color:#ffc84f;font-size:32px}.sf-eq-heading p{margin:5px 0 0;font-size:18px}
.sf-eq-body{display:grid;grid-template-columns:1fr 260px;gap:28px;margin-top:22px}.sf-eq-sliders{display:grid;grid-template-columns:repeat(8,1fr);gap:14px;min-height:340px}.sf-eq-band{text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px}.sf-eq-band output{height:22px}.sf-eq-band input{writing-mode:vertical-lr;direction:rtl;appearance:none;width:54px;height:220px;padding:0;border:1px solid #284e65;border-radius:12px;background:linear-gradient(to top,#0bdf70 0 38%,#d8e82e 38% 67%,#ff9d24 67% 83%,#e83d35 83%);box-shadow:inset 0 0 0 12px #03101bcc,0 0 12px #00cfff22;cursor:pointer}.sf-eq-band input::-webkit-slider-thumb{appearance:none;width:36px;height:18px;border-radius:10px;background:#f7fbff;border:3px solid #15d9ff;box-shadow:0 0 12px #00d9ff}.sf-eq-band strong{font-size:15px}.sf-eq-band span{font-size:12px;color:#a8bdd0;max-width:78px}
.sf-eq-presets{border-left:1px solid #1d536e;padding-left:28px}.sf-eq-presets h3{color:#58dcff;font-size:24px;margin:0 0 12px}.sf-eq-presets button{display:block;width:100%;margin:8px 0;padding:11px 14px;text-align:left;border:1px solid #31536a;border-radius:9px;background:linear-gradient(#18344a,#0b2032);color:#e8f5ff;font-size:16px;cursor:pointer}.sf-eq-presets button:hover,.sf-eq-presets button.active{color:#06111d;background:linear-gradient(#ffe072,#e8a91e);border-color:#ffc83d;box-shadow:0 0 14px #ffbd3155}.sf-eq-presets .sf-eq-reset{margin-top:20px;text-align:center}
@media(max-width:900px){.sf-eq-modal{display:none!important}}

/* Refinamento visual: versão fiel ao mockup aprovado */
@media (min-width:901px){
 .sf-eq-dialog{
   width:min(760px,88vw); padding:16px 18px 15px; border-radius:17px;
   background:linear-gradient(145deg,#07182a 0%,#020b17 78%);
   box-shadow:0 0 24px #00cfff3d,0 18px 55px #000b;
 }
 .sf-eq-close{right:14px;top:12px;width:34px;height:34px;font-size:17px;border-color:#24d8ff}
 .sf-eq-heading{gap:10px;padding-bottom:10px}
 .sf-eq-symbol{font-size:31px}
 .sf-eq-heading h2{font-size:20px;letter-spacing:.2px}
 .sf-eq-heading p{font-size:11px;margin:2px 0 0;color:#c5d3df}
 .sf-eq-body{grid-template-columns:minmax(0,1fr) 155px;gap:14px;margin-top:11px}
 .sf-eq-sliders{gap:5px;min-height:220px;align-items:start}
 .sf-eq-band{gap:3px}
 .sf-eq-band output{height:15px;font-size:9px;color:#dce8f2}
 .sf-eq-band input{
   width:35px;height:135px;border-radius:8px;
   box-shadow:inset 0 0 0 7px #03101bd9,0 0 9px #00cfff2b;
 }
 .sf-eq-band input::-webkit-slider-thumb{
   width:27px;height:14px;border:2px solid #17ddff;
   box-shadow:0 0 9px #00d9ff;
 }
 .sf-eq-band input::-moz-range-thumb{
   width:27px;height:14px;border-radius:9px;background:#f7fbff;
   border:2px solid #17ddff;box-shadow:0 0 9px #00d9ff;
 }
 .sf-eq-band strong{font-size:9px;margin-top:2px}
 .sf-eq-band span{font-size:8px;max-width:54px;line-height:1.12;color:#9eb3c6}
 .sf-eq-presets{padding-left:13px;border-left-color:#1b4a64}
 .sf-eq-presets h3{font-size:15px;margin:0 0 7px;color:#58dcff}
 .sf-eq-presets button{
   display:block;width:100%;height:25px;margin:4px 0;padding:3px 9px;
   border-radius:5px;text-align:left;font-size:10px;line-height:17px;
   background:linear-gradient(#18364c,#0b2031);
   border:1px solid #31566e;color:#e8f5ff;
 }
 .sf-eq-presets button:hover,.sf-eq-presets button.active{
   color:#07111c;background:linear-gradient(#ffe273,#e7a91f);
   border-color:#ffc83d;box-shadow:0 0 11px #ffbd3155;
 }
 .sf-eq-presets .sf-eq-reset{margin-top:7px;text-align:center}
}

/* v3 - força altura pelo conteúdo e presets retangulares */
@media (min-width:901px){
 .sf-eq-dialog{
   width:min(760px,88vw)!important;
   height:auto!important; min-height:0!important; max-height:90vh!important;
   padding:14px 16px 13px!important;
   overflow:visible!important;
 }
 .sf-eq-body{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) 150px!important;
   gap:14px!important;
   margin-top:9px!important;
   height:auto!important; min-height:0!important;
   align-items:start!important;
 }
 .sf-eq-sliders{
   min-height:0!important;height:auto!important;
   align-items:start!important;
 }
 .sf-eq-band{height:auto!important}
 .sf-eq-presets{
   height:auto!important;min-height:0!important;
   padding-left:12px!important;
 }
 .sf-eq-presets button{
   box-sizing:border-box!important;
   width:100%!important;height:25px!important;min-height:25px!important;
   margin:3px 0!important;padding:3px 8px!important;
   border-radius:5px!important;
   display:block!important;
   text-align:left!important;
   white-space:nowrap!important;
   line-height:17px!important;
 }
 .sf-eq-presets .sf-eq-reset{margin-top:6px!important;text-align:center!important}
}
