*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  padding-bottom:40px;
  background:
    radial-gradient(circle at top,#402718,#0d0f13 58%);
  color:#fff;
  font-family:Arial,Helvetica,sans-serif;
}

header{
  display:flex;
  justify-content:space-between;
  padding:18px 5%;
  background:#11141a;
  border-bottom:1px solid #40352f;
}

header a{
  color:#f2c94c;
  text-decoration:none;
  font-weight:bold;
}

.painel{
  width:min(980px,92%);
  margin:28px auto;
  padding:28px;
  background:#1b1e24;
  border-radius:20px;
  box-shadow:0 24px 70px rgba(0,0,0,.48);
}

h1{
  margin:0;
  text-align:center;
  color:#f2c94c;
  font-size:clamp(34px,6vw,54px);
}

.painel>p{
  text-align:center;
  color:#aeb5c0;
}

.card{
  margin-top:16px;
  padding:18px;
  background:#12151a;
  border:1px solid #3a3939;
  border-radius:14px;
}

h2{
  margin-top:0;
  color:#f2c94c;
}

label{
  display:block;
  margin:12px 0 6px;
}

.radios{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
}

.radios label,.check{
  display:flex;
  align-items:center;
  gap:8px;
}

button,select,input[type=file]{
  width:100%;
  min-height:44px;
  padding:10px;
  color:#fff;
  background:#272c34;
  border:1px solid #51463e;
  border-radius:8px;
}

button{
  cursor:pointer;
  font-weight:bold;
}

button:hover{
  filter:brightness(1.15);
}

.destaque{
  background:#f2c94c;
  color:#111;
}

.botoes{
  display:grid;
  gap:10px;
  margin-top:12px;
}

.quatro{
  grid-template-columns:repeat(4,1fr);
}

.grade{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.amp{
  background:linear-gradient(145deg,#4b2f18,#1d1209);
  border:4px solid #160d06;
}

.amp-title{
  text-align:center;
  color:#ffe1a1;
  font-size:42px;
  font-weight:900;
  letter-spacing:2px;
}

.modo{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:18px 0;
}

.modo button.ativo{
  background:#f2c94c;
  color:#111;
}

.controles{
  grid-template-columns:repeat(4,1fr);
}

.knob{
  padding:14px;
  background:#17120f;
  border:1px solid #55402d;
  border-radius:12px;
}

.knob strong,
.knob span{
  display:block;
  text-align:center;
}

.knob strong{
  color:#ffe1a1;
  margin-bottom:8px;
}

.knob span{
  margin-top:6px;
  color:#cfd3d8;
}

input[type=range]{
  width:100%;
  accent-color:#f2c94c;
}

.ir{
  background:linear-gradient(145deg,#27351f,#10170d);
  border:3px solid #1a2614;
}

#nomeAudio,#nomeIr{
  margin-top:10px;
  color:#aeb5c0;
  word-break:break-all;
}

.progresso{
  height:12px;
  margin:12px 0;
  overflow:hidden;
  background:#2d323b;
  border-radius:20px;
}

#barra{
  width:0;
  height:100%;
  background:#f2c94c;
}

#status{
  margin-top:16px;
  padding:13px;
  background:#111318;
  border-left:5px solid #ff5c5c;
  border-radius:8px;
}

#status.ok{
  border-left-color:#55d187;
}

@media(max-width:820px){
  .controles{
    grid-template-columns:1fr 1fr;
  }

  .grade,.quatro{
    grid-template-columns:1fr;
  }
}
