 :root{
   --brand:#027c05;
   --bg:#fff;
   --muted:#9aa3a0;
   --track:rgba(2,124,5,0.18);
 }

.player{
  width:100%;
  max-width:540px;
  background:var(--bg);
  border-radius:12px;
  border:1px solid var(--brand);
  padding:16px 18px;
  box-sizing:border-box;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
  overflow:hidden;
}

@media (max-width:540px){
  .player{
    max-width:100%;
  }
}

.controls{
  display:flex;
  gap:14px;
  align-items:center;
}

.btn-play{
  width:56px;
  height:56px;
  border-radius:56px;
  display:grid;
  place-items:center;
  background:var(--brand);
  cursor:pointer;
  border:none;
}

.btn-play svg{
  width:22px;
  height:22px;
  color:#fff;
}

.meta{
  flex:1;
  min-width:0;
}

.player-title{
  font-weight:600;
  font-size:15px;
  margin:0 0 6px 0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sub{
  font-size:13px;
  color:var(--muted);
  margin:0;
}

.progress-row{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:12px;
}

.progress{
  flex:1;
  height:8px;
  background:var(--track);
  border-radius:8px;
  position:relative;
  cursor:pointer;
  overflow:hidden;
}

.bar{
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:0%;
  background:var(--brand);
  border-radius:8px;
}

.remaining{
  min-width:56px;
  text-align:right;
  font-size:13px;
  color:var(--muted);
}

.download-btn-wrapper{
  text-align:center;
  margin-top:14px;
}

.download-btn{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:10px 16px;
  border-radius:10px;
  background:var(--brand);
  color:#fff;
  font-weight:600;
  font-size:15px;
  text-decoration:none;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
}

.download-btn:hover,
.download-btn:active,
.download-btn:focus,
.download-btn:visited{
  color:#fff;
  background:var(--brand);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight:600;
  font-size:15px;
}

.download-btn svg{
  width:16px;
  height:16px;
}

@media (max-width:420px){
  .btn-play{
    width:50px;
    height:50px;
  }

  .remaining{
    min-width:48px;
  }
      }