/* SONIQ DEBLEED V17 — original silver drum hardware */
.db11-overlay[hidden]{display:none!important}
.db11-overlay{
 position:fixed;inset:0;z-index:2147483055;
 display:grid;place-items:center;padding:10px;
 background:#03060be8;
 -webkit-backdrop-filter:blur(14px);
 backdrop-filter:blur(14px);
}
.db11-panel{
 box-sizing:border-box;
 width:min(100%,690px);
 max-height:calc(100dvh - 20px);
 overflow-y:auto;
 border:2px solid #848f9e;border-radius:17px;
 padding:11px;
 background:linear-gradient(135deg,#f3f7fd,#d0d8e1 65%,#a4b2c3);
 color:#293442;
 box-shadow:0 24px 75px #000d,inset 0 2px 3px #fff;
}
.db11-head{
 display:flex;align-items:center;justify-content:space-between;
 gap:8px;margin-bottom:9px;
}
.db11-head strong{font-size:clamp(17px,4vw,22px);letter-spacing:1px}
.db11-head strong span{color:#f46b24}
.db11-close{
 width:35px;height:35px;border-radius:8px;
 background:#242a33;border:1px solid #707b86;
 color:white;font-size:23px;
}
.db11-hardware{
 display:grid;
 grid-template-columns:minmax(50px,.55fr) minmax(0,2.5fr) minmax(78px,1fr);
 gap:8px;
}
.db11-threshold,.db11-right{
 display:flex;flex-direction:column;align-items:center;
 gap:7px;min-width:0;
}
.db11-label{
 font-size:10px;font-weight:1000;letter-spacing:.4px;
 text-align:center;
}
.db11-threshold input{
 writing-mode:vertical-lr;direction:rtl;
 height:190px;width:32px;accent-color:#ec6c2b;
}
.db11-value{
 font-size:10px;font-weight:1000;
 font-variant-numeric:tabular-nums;
}
.db11-screen{
 min-width:0;padding:8px;
 border-radius:12px;
 border:2px solid #383e46;
 background:#141920;color:#dbe1e9;
}
.db11-tabs{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:5px;
}
.db11-tabs button{
 padding:8px 2px;min-width:0;
 border:1px solid #636d79;border-radius:7px;
 background:#202630;color:#c3ccd6;
 font-size:10px;font-weight:1000;
}
.db11-tabs button.active{
 background:#d9e1e9;color:#242e39;
 border-color:#effaff;
}
.db11-screen canvas{
 display:block;width:100%;height:192px;
 background:#141920;
}
.db11-screen-foot{
 display:flex;justify-content:space-between;gap:5px;
 color:#9eacbb;font-size:9px;font-weight:800;
}
.db11-knobbox{
 display:flex;flex-direction:column;
 align-items:center;gap:4px;min-width:0;
}
.db11-knob{
 --turn:0deg;
 position:relative;
 width:clamp(47px,13vw,88px);
 height:clamp(47px,13vw,88px);
 border-radius:50%;
 border:5px solid #a3afbb;
 background:conic-gradient(#f7faff,#8997a6,#e8eef5,#798797,#e7eef4);
 box-shadow:0 5px 9px #0004,inset 0 2px 4px #fff;
 touch-action:none;cursor:ns-resize;
}
.db11-knob:before{
 content:"";position:absolute;inset:11%;
 border-radius:50%;
 background:radial-gradient(circle at 30% 20%,#f4f7fb,#8e9baa 72%);
}
.db11-knob:after{
 content:"";position:absolute;top:10%;left:calc(50% - 2px);
 width:4px;height:24%;border-radius:4px;
 background:#f36b28;
 transform-origin:50% 175%;
 transform:rotate(var(--turn));
}
.db11-knobbox.big .db11-knob{
 width:clamp(68px,20vw,119px);
 height:clamp(68px,20vw,119px);
}
.db11-lower{
 display:grid;grid-template-columns:1fr 1fr;
 gap:8px;margin-top:9px;
}
.db11-check{
 display:flex;align-items:center;gap:7px;
 font-size:11px;font-weight:900;
}
.db11-check input{accent-color:#ea712f}
.db11-analyze{
 width:100%;min-height:42px;margin-top:9px;
 border:1px solid #e37332;border-radius:9px;
 background:#2b333c;color:white;
 font-weight:1000;
}
.db11-progress{
 height:5px;margin-top:5px;
 border-radius:7px;overflow:hidden;
 background:#aab5c0;
}
.db11-progress i{
 display:block;height:100%;width:0%;
 background:#f47b34;
}
.db11-actions{
 display:grid;grid-template-columns:1fr 1.2fr 1fr;
 gap:7px;margin-top:9px;
}
.db11-actions button{
 min-height:42px;min-width:0;
 border:1px solid #8391a0;border-radius:9px;
 background:#2a343e;color:white;
 font-size:11px;font-weight:1000;
}
.db11-actions .db11-apply{
 background:linear-gradient(#ffb16f,#e36b27);
 color:#241a15;border-color:#da7136;
}
.db11-status{
 margin:8px 0 0;text-align:center;
 min-height:16px;font-size:10px;font-weight:800;
}
#soniqDebleedOpen{
 cursor:pointer!important;
 background:linear-gradient(#f2f4f7,#b2bbc8)!important;
 color:#202735!important;
 font-size:clamp(9px,2.5vw,13px)!important;
}
.db11-panel button:focus-visible{
 outline:3px solid #ef873d;outline-offset:2px;
}
@media(max-width:390px){
 .db11-panel{padding:7px}
 .db11-hardware{gap:4px}
 .db11-screen{padding:4px}
 .db11-screen canvas{height:135px}
 .db11-threshold input{height:140px}
 .db11-right{gap:3px}
 .db11-knob{width:43px;height:43px}
 .db11-knobbox.big .db11-knob{
  width:57px;height:57px;
 }
}
@media(max-height:650px){
 .db11-screen canvas{height:90px}
 .db11-threshold input{height:100px}
 .db11-knobbox.big .db11-knob{
  width:55px;height:55px;
 }
}
