/* SONIQ SMART EQ HARDWARE V2 */
.se2-overlay[hidden]{display:none!important}
.se2-overlay{
 position:fixed;
 inset:0;
 z-index:2147483000;
 display:grid;
 place-items:center;
 padding:12px;
 background:rgba(3,5,12,.84);
 -webkit-backdrop-filter:blur(13px);
 backdrop-filter:blur(13px);
}
.se2-panel{
 box-sizing:border-box;
 width:min(100%,610px);
 max-height:calc(100dvh - 24px);
 overflow-y:auto;
 overscroll-behavior:contain;
 border:2px solid #747b8a;
 border-radius:21px;
 padding:12px;
 background:
  radial-gradient(ellipse at 50% 0%,#f6f7fa,#c4c9d3 48%,#969dab);
 box-shadow:
  0 25px 75px #000c,
  inset 0 2px 2px #fff,
  inset 0 -6px 17px #0003;
 color:#1e2430;
 animation:se2open .2s ease-out;
}
@keyframes se2open{
 from{opacity:0;transform:scale(.96) translateY(10px)}
 to{opacity:1;transform:scale(1) translateY(0)}
}
.se2-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
}
.se2-heading{
 display:flex;
 align-items:center;
 gap:8px;
}
.se2-led{
 display:inline-block;
 width:10px;height:10px;
 flex:none;
 border-radius:50%;
 background:#ff314c;
 box-shadow:0 0 10px #f32946;
}
.se2-heading strong{
 font-size:clamp(15px,4vw,21px);
 font-weight:1000;
 letter-spacing:1px;
}
.se2-close{
 width:36px;height:36px;
 border:1px solid #576071;
 border-radius:9px;
 background:#222735;
 color:white;
 font-size:24px;
 cursor:pointer;
}
.se2-sub{
 margin:4px 0 9px;
 font-size:10px;
 font-weight:700;
 color:#4e5665;
}
.se2-toolbar{
 display:grid;
 grid-template-columns:auto auto minmax(0,1fr);
 gap:6px;
 align-items:center;
}
.se2-toolbar button{
 min-height:37px;
 padding:6px 11px;
 border:1px solid #596171;
 border-radius:8px;
 color:#fff;
 background:linear-gradient(#4a5260,#222631);
 font-size:11px;
 font-weight:900;
 cursor:pointer;
}
#se2Learn{
 border-color:#c5354d;
 background:linear-gradient(120deg,#a41c38,#4b0d1e);
}
.se2-status{
 display:flex;
 flex-direction:column;
 gap:4px;
 min-width:0;
 padding:5px 7px;
 border:1px solid #515767;
 border-radius:8px;
 color:#f8dce1;
 background:#19151e;
}
#se2Status{
 font-size:10px;
 font-weight:900;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}
.se2-progress{
 height:4px;
 border-radius:8px;
 overflow:hidden;
 background:#44404b;
}
#se2Progress{
 display:block;
 width:0;
 height:100%;
 background:linear-gradient(90deg,#ff5164,#fdb867);
 transition:width .15s linear;
}
.se2-hardware{
 display:grid;
 grid-template-columns:44px minmax(0,1fr);
 gap:8px;
 margin-top:10px;
 padding:9px 7px;
 border:1px solid #737b89;
 border-radius:15px;
 background:
  linear-gradient(150deg,#b0b6c3,#e5e7ec 48%,#9da5b3);
 box-shadow:inset 0 1px 2px #fff;
}
.se2-gain{
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:space-between;
 gap:5px;
 padding:5px 0;
 border-right:1px solid #8a909c;
}
.se2-gain label{
 font-size:9px;
 font-weight:1000;
}
.se2-gain input{
 writing-mode:vertical-lr;
 direction:rtl;
 height:170px;
 width:25px;
 accent-color:#e02d45;
 cursor:pointer;
}
.se2-gain output{
 font-size:9px;
 font-weight:900;
}
.se2-knobs{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:10px 4px;
 align-items:center;
}
.se2-control{
 min-width:0;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:4px;
}
.se2-dial{
 --angle:0deg;
 position:relative;
 width:clamp(51px,15vw,83px);
 height:clamp(51px,15vw,83px);
 border-radius:50%;
 border:3px solid #676e79;
 background:
  conic-gradient(from 210deg,
   #7a818b,#f9fafb 17%,#6e7580 42%,
   #e3e7ed 61%,#686e78 83%,#bfc5ce);
 box-shadow:
  0 5px 9px #0005,
  inset 0 2px 3px #fff9,
  inset 0 -3px 5px #0004;
 padding:5px;
 cursor:ns-resize;
 touch-action:none;
}
.se2-dial-face{
 position:absolute;
 inset:8%;
 border-radius:50%;
 background:conic-gradient(
  from 30deg,#e6e8ec,#656c75,
  #f6f7f8,#9ba2ac,#343944,#eceef2);
 box-shadow:inset 0 0 4px #fff9,
            inset -3px -3px 5px #0005;
}
.se2-needle{
 position:absolute;
 left:calc(50% - 3px);
 top:13%;
 width:6px;
 height:18%;
 border-radius:8px;
 background:#232833;
 box-shadow:0 0 2px #fff;
 transform-origin:3px calc((100% - 13%) * 2);
}
.se2-dial-indicator{
 position:absolute;
 inset:0;
 transform:rotate(var(--angle));
 pointer-events:none;
}
.se2-dial-indicator:after{
 content:"";
 position:absolute;
 top:10%;
 left:calc(50% - 3px);
 width:6px;
 height:13%;
 border-radius:4px;
 background:#e5344a;
 box-shadow:0 0 5px #f0354b;
}
.se2-control-name{
 text-align:center;
 font-size:10px;
 font-weight:1000;
 letter-spacing:.5px;
}
.se2-value{
 padding:2px 5px;
 border:1px solid #9298a3;
 border-radius:4px;
 background:#e7e9ec;
 color:#242832;
 font-size:10px;
 font-weight:900;
 font-variant-numeric:tabular-nums;
}
.se2-spectrum{
 margin-top:10px;
 padding:7px;
 border:2px solid #4e5666;
 border-radius:11px;
 background:#080d17;
 box-shadow:inset 0 0 20px #000;
}
.se2-spectrum canvas{
 display:block;
 width:100%;
 height:94px;
}
.se2-spectrum-foot{
 display:flex;
 justify-content:space-between;
 gap:8px;
 color:#bfc5cf;
 font-size:9px;
 font-weight:800;
}
.se2-bottom{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:8px;
 margin-top:10px;
}
.se2-bottom button{
 min-height:42px;
 border:2px solid #58606e;
 border-radius:10px;
 background:#292d3a;
 color:#fff;
 font-weight:900;
 font-size:12px;
 cursor:pointer;
}
#se2Done{
 background:linear-gradient(110deg,#9b1933,#450b1b);
 border-color:#df3a52;
}
.se2-note{
 margin:8px 0 0;
 text-align:center;
 font-size:10px;
 color:#515767;
}
#soniqEqOpen{
 cursor:pointer!important;
 background:linear-gradient(145deg,#eef1f5,#aeb5c1)!important;
 color:#202633!important;
}
.se2-panel button:focus-visible{
 outline:3px solid #ff3b55;
 outline-offset:2px;
}
@media(max-height:700px){
 .se2-panel{padding:8px}
 .se2-hardware{margin-top:6px;padding:6px}
 .se2-knobs{gap:5px 3px}
 .se2-dial{width:clamp(43px,12vw,62px);height:clamp(43px,12vw,62px)}
 .se2-gain input{height:140px}
 .se2-spectrum canvas{height:60px}
}
@media(prefers-reduced-motion:reduce){
 .se2-panel{animation:none}
 #se2Progress{transition:none}
}


/* SONIQ_EQ_APPLY_V3 */
.se2-bottom{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:6px;
}
.se2-bottom button{
 min-width:0;
 min-height:42px;
 padding:6px 3px;
 font-size:clamp(9px,2.6vw,12px);
}
#se2Apply{
 border:2px solid #df344e;
 color:#fff;
 background:linear-gradient(120deg,#a91534,#4b091b);
 box-shadow:0 0 10px #e32d4555;
}
#se2Apply:disabled{
 opacity:.55;
 cursor:wait;
}
#se2Done{
 background:linear-gradient(#414958,#222733);
 border-color:#737b8b;
}
