/* SONIQ BASS ENHANCER — ORIGINAL BLACK/ORANGE HARDWARE */
.b8-overlay[hidden]{display:none!important}
.b8-overlay{
 position:fixed;inset:0;z-index:2147483030;
 display:grid;place-items:center;padding:10px;
 background:rgba(0,0,0,.93);
 -webkit-backdrop-filter:blur(15px);
 backdrop-filter:blur(15px);
}
.b8-panel{
 box-sizing:border-box;
 width:min(100%,620px);
 max-height:calc(100dvh - 20px);
 overflow-y:auto;
 padding:12px;
 border:1px solid #29252a;
 border-radius:17px;
 background:linear-gradient(145deg,#15151b,#07070b 72%,#111117);
 color:#f1edf0;
 box-shadow:0 25px 75px #000e,inset 0 1px 2px #ffffff12;
}
.b8-header{
 display:flex;justify-content:space-between;
 align-items:center;gap:8px;
 border-bottom:1px solid #38241f;
 padding-bottom:9px;
}
.b8-header strong{
 font-size:clamp(15px,4.3vw,22px);
 font-weight:1000;letter-spacing:2px;
}
.b8-header strong span{color:#ff6329}
.b8-close{
 width:34px;height:34px;
 border:1px solid #57433c;
 border-radius:9px;
 background:#1d1919;color:#fff;font-size:23px;
}
.b8-sub{
 font-size:9px;letter-spacing:1px;
 color:#a69ca0;margin:7px 0 10px;
}
.b8-top{
 display:grid;
 grid-template-columns:1fr 1.5fr 1fr;
 gap:7px;align-items:center;
}
.b8-side{
 display:flex;flex-direction:column;
 gap:13px;align-items:center;
}
.b8-control{
 display:flex;flex-direction:column;
 align-items:center;gap:4px;min-width:0;
}
.b8-control label{
 color:#aaa2a6;
 font-size:9px;letter-spacing:1.2px;
 font-weight:1000;text-align:center;
}
.b8-control output{
 color:#f0eceb;
 font-size:11px;font-weight:900;
 font-variant-numeric:tabular-nums;
}
.b8-knob{
 --turn:0deg;
 position:relative;
 width:clamp(50px,15vw,80px);
 height:clamp(50px,15vw,80px);
 border-radius:50%;
 border:4px solid #1b1515;
 background:conic-gradient(
 from 210deg,
 #ff5e27 0deg,
 #ff5e27 calc(var(--pct) * 2.7deg),
 #362011 calc(var(--pct) * 2.7deg),
 #362011 270deg,
 #131117 270deg);
 box-shadow:0 0 0 1px #3e2820,inset 0 0 4px #000;
 cursor:ns-resize;touch-action:none;
}
.b8-knob:before{
 content:"";position:absolute;inset:13%;
 background:radial-gradient(circle at 30% 20%,#25232a,#07070a 75%);
 border:2px solid #29242c;border-radius:50%;
}
.b8-knob:after{
 content:"";position:absolute;
 top:10%;left:calc(50% - 2px);
 height:24%;width:4px;border-radius:5px;
 background:#ff792c;
 box-shadow:0 0 6px #ff6329;
 transform-origin:50% 165%;
 transform:rotate(var(--turn));
}
.b8-center{
 display:flex;flex-direction:column;
 align-items:center;justify-content:center;
 gap:9px;min-width:0;
}
.b8-main-knob{
 --pct:55;
 --turn:13.5deg;
 position:relative;
 width:clamp(125px,40vw,218px);
 height:clamp(125px,40vw,218px);
 border-radius:50%;
 border:12px solid #130c0c;
 background:conic-gradient(
 from 225deg,
 #ff642b 0deg,
 #ff642b calc(var(--pct) * 2.7deg),
 #38200e calc(var(--pct) * 2.7deg),
 #38200e 270deg,
 #101014 270deg);
 box-shadow:0 0 0 1px #4b2415,inset 0 0 15px #000;
 cursor:ns-resize;touch-action:none;
 display:flex;align-items:center;justify-content:center;
}
.b8-main-inner{
 position:absolute;inset:11%;
 border-radius:50%;
 display:flex;flex-direction:column;
 align-items:center;justify-content:center;
 background:radial-gradient(circle at 40% 30%,#141319,#060608 75%);
}
.b8-main-inner strong{
 font-size:clamp(25px,8vw,49px);
 color:#fff;font-weight:1000;
 font-variant-numeric:tabular-nums;
}
.b8-main-inner span{
 font-size:10px;letter-spacing:3px;
 color:#af9c98;font-weight:1000;
}
.b8-led{
 color:#ff642b;
 font-size:9px;font-weight:900;
 letter-spacing:2px;
}
.b8-lower{
 display:grid;
 grid-template-columns:1fr 1fr 1fr;
 gap:7px;margin-top:12px;
}
.b8-footer{
 margin-top:12px;padding:9px;
 border-top:1px solid #34231e;
 border-bottom:1px solid #34231e;
 background:#0b0b0f;
 display:grid;
 grid-template-columns:1fr 1fr 1fr;
 gap:8px;
}
.b8-footer label{
 font-size:9px;letter-spacing:.8px;
 color:#ada4a5;font-weight:900;
}
.b8-footer select,
.b8-footer input{
 width:100%;box-sizing:border-box;
 margin-top:5px;
 accent-color:#ff642b;
}
.b8-footer select{
 padding:7px 3px;
 color:#fff;background:#18161a;
 border:1px solid #42322e;border-radius:7px;
}
.b8-footer output{
 display:block;color:#ffa06d;
 font-size:10px;font-weight:900;
}
.b8-meter{
 margin:9px 0 4px;
 height:11px;overflow:hidden;
 border-radius:5px;background:#221918;
 display:grid;grid-template-columns:repeat(24,1fr);
 gap:2px;padding:2px;
}
.b8-meter i{
 background:#32251f;
 border-radius:1px;
}
.b8-meter i.on{background:#4ddd8e}
.b8-meter i.warm{background:#ffc554}
.b8-meter i.hot{background:#ff573c}
.b8-meterline{
 display:flex;justify-content:space-between;
 font-size:9px;color:#aaa1a2;
}
.b8-analyze{
 display:block;width:100%;min-height:43px;
 border:1px solid #f46a35;
 border-radius:9px;
 background:#351910;color:#ffd9c6;
 font-size:12px;font-weight:1000;
 margin-top:10px;
}
.b8-progress{
 height:5px;overflow:hidden;
 margin-top:5px;border-radius:7px;
 background:#321d16;
}
.b8-progress i{
 display:block;width:0;height:100%;
 background:#ff7033;
}
.b8-actions{
 display:grid;
 grid-template-columns:1fr 1.25fr 1fr;
 gap:7px;margin-top:10px;
}
.b8-actions button{
 min-height:43px;min-width:0;
 border:1px solid #59433e;
 border-radius:9px;
 background:#222025;color:#fff;
 font-size:11px;font-weight:1000;
}
.b8-actions .b8-apply{
 background:linear-gradient(120deg,#ff7839,#a93216);
 border-color:#ff8e56;
}
.b8-status{
 margin:8px 0 0;
 min-height:15px;text-align:center;
 font-size:10px;font-weight:800;
 color:#c5a59a;
}
#soniqBassOpen{
 cursor:pointer!important;
 color:#222733!important;
 background:linear-gradient(#f2f2f5,#aeb6c3)!important;
 font-size:clamp(9px,2.5vw,13px)!important;
}
.b8-panel button:focus-visible{
 outline:3px solid #ff7a3b;
 outline-offset:2px;
}
@media(max-height:700px){
 .b8-panel{padding:7px}
 .b8-main-knob{
  width:clamp(100px,33vw,160px);
  height:clamp(100px,33vw,160px);
 }
 .b8-lower{margin-top:6px}
 .b8-side{gap:6px}
}
@media(max-width:370px){
 .b8-knob{width:43px;height:43px}
 .b8-main-knob{border-width:8px}
 .b8-top{gap:2px}
 .b8-footer{gap:4px;padding:6px}
}
