@import url('/assets/css/utils.css');

:root{
  --bg: #ffffff;
  --panel: #f8fafc;
  --panel-edge: #e2e8f0;
  --grid: #f1f5f9;
  --teal: #2563eb;
  --teal-dim: #1d4ed8;
  --lavender: #4f46e5;
  --lavender-dim: #3730a3;
  --amber: #d97706;
  --text: #000000;
  --text-dim: #475569;
  --danger: #dc2626;
}
*{box-sizing:border-box;}
.device{
  width:100%;
  max-width:640px;
  margin: 0 auto;
  padding: 20px 0;
}
.brand{ display:flex; align-items:baseline; gap:10px; margin-bottom:6px; flex-wrap:wrap; }
.brand h1{ font-family:'JetBrains Mono', monospace; font-size:20px; font-weight:700; letter-spacing:0.5px; margin:0; color: var(--text); display:inline; }
.brand h2{ font-family:'Inter', sans-serif; font-size:14px; font-weight:500; color:var(--text-dim); margin:0; display:inline; text-transform:none; letter-spacing:normal; }
.brand .dot{ width:8px;height:8px;border-radius:50%; background: var(--teal); box-shadow: 0 0 6px var(--teal); flex-shrink:0; }
.sub{
  color:var(--text-dim);
  font-size:13px;
  margin:0 0 24px;
  line-height:1.6;
}
.scope{
  background: #ffffff;
  border:1px solid var(--panel-edge);
  border-radius:10px;
  padding:0;
  overflow:hidden;
  margin-bottom:20px;
  position:relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.scope-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 14px;
  border-bottom:1px solid var(--panel-edge);
  font-family:'JetBrains Mono', monospace;
  font-size:11px;
  color:var(--text-dim);
  letter-spacing:1px;
  text-transform:uppercase;
  font-weight:600;
}
.scope-header .chan{display:flex; align-items:center; gap:6px;}
.swatch{width:8px;height:8px;border-radius:2px;}
canvas{display:block; width:100%; height:150px; background: #ffffff;}
.readout-row{
  display:flex;
  justify-content:space-between;
  padding:10px 14px;
  border-top:1px solid var(--panel-edge);
  font-family:'JetBrains Mono', monospace;
  font-size:12px;
}
.readout-row span.label{color:var(--text-dim); font-weight:500;}
.readout-row span.val{color:var(--teal); font-weight:600;}
.panel{
  background: var(--panel);
  border:1px solid var(--panel-edge);
  border-radius:10px;
  padding:20px;
  margin-bottom:16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.panel h2{
  font-family:'JetBrains Mono', monospace;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:1.5px;
  color:var(--text-dim);
  margin:0 0 16px;
  font-weight:600;
}
.bands{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:8px;
  margin-bottom:20px;
}
.band-btn{
  background: #ffffff;
  border:1px solid var(--panel-edge);
  border-radius:7px;
  padding:10px 4px 8px;
  cursor:pointer;
  color:var(--text);
  font-family:'Inter', sans-serif;
  transition: all 0.15s ease;
  text-align:center;
}
.band-btn .name{
  display:block;
  font-size:12px;
  font-weight:600;
  margin-bottom:2px;
}
.band-btn .range{
  display:block;
  font-family:'JetBrains Mono', monospace;
  font-size:10px;
  color:var(--text-dim);
}
.band-btn:hover{ border-color: var(--teal); background: #eff6ff; }
.band-btn.active{
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(37,99,235,0.2);
}
.band-btn.active .range{ color: #ffffff; opacity:0.9; }

.slider-block{ margin-bottom:18px; }
.slider-top{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  margin-bottom:8px;
}
.slider-top label{ font-size:13px; color:var(--text); font-weight:500; }
.slider-top .value{
  font-family:'JetBrains Mono', monospace;
  font-size:13px;
  color:var(--teal);
  font-weight:600;
}
input[type=range]{
  -webkit-appearance:none;
  width:100%;
  height:6px !important;
  background: #cbd5e1;
  border-radius:3px;
  outline:none;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}
input[type=range]::-webkit-slider-runnable-track{
  height: 6px;
  background: transparent;
  border-radius: 3px;
  border: none;
  padding: 0 !important;
}
input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:18px;height:18px;
  border-radius:50%;
  background: var(--teal);
  border: 2px solid #ffffff;
  cursor:pointer;
  box-shadow: 0 0 6px rgba(37,99,235,0.5);
  margin-top:-6px;
}
input[type=range]::-moz-range-thumb{
  width:18px;height:18px;
  border-radius:50%;
  background: var(--teal);
  border: 2px solid #ffffff;
  cursor:pointer;
  box-shadow: 0 0 6px rgba(37,99,235,0.5);
}
input[type=range]::-moz-range-track{
  height:6px;
  background: #cbd5e1;
  border-radius:3px;
  padding: 0 !important;
  border: none !important;
}
.controls-row{
  display:flex;
  align-items:center;
  gap:16px;
}
.play-btn{
  flex-shrink:0;
  width:56px;height:56px;
  border-radius:50%;
  border:1px solid var(--teal-dim);
  background: var(--teal);
  color: #ffffff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(37,99,235,0.3);
}
.play-btn:hover{ background: var(--teal-dim); }
.play-btn.playing{
  background: var(--danger);
  border-color: var(--danger);
  color: #ffffff;
}
.play-btn svg{ width:20px; height:20px; }
.vol-block{ flex:1; }
.note{
  font-size:12px;
  color:var(--text-dim);
  line-height:1.6;
  margin:0;
}
.note b{ color:var(--text); font-weight:600; }
.footer-note{
  font-size:11px;
  color:var(--text-dim);
  text-align:center;
  margin-top:24px;
  line-height:1.7;
}
@media (max-width: 480px){
  .bands{ grid-template-columns: repeat(5, 1fr); gap:5px; }
  .band-btn{ padding:8px 2px 6px; }
  .band-btn .name{ font-size:10px; }
  .band-btn .range{ font-size:8px; }
}