:root{
  --bg:#0f1720;
  --card:#111827;
  --accent:#10b981;
  --muted:#94a3b8;
  --glass: rgba(255,255,255,0.03);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%;margin:0;background:var(--bg);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;color:#e6eef6}
#app{height:100vh;padding:12px;display:flex;flex-direction:column;gap:10px}
#controls{display:flex;gap:8px;justify-content:center}
.btn{background:var(--card);border:0;color:inherit;padding:10px 12px;border-radius:10px;font-weight:600;font-size:15px;min-width:44px;min-height:44px;touch-action:manipulation}
#now{font-size:13px;color:var(--muted);text-align:center;margin-bottom:2px;min-height:18px}
#grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;flex:1;align-content:start}
.track{
  background:linear-gradient(180deg,var(--glass),transparent);
  border-radius:10px;padding:10px; display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;
  min-height:88px;
}
.track button{background:transparent;border:0;color:inherit;font-weight:700}
.track .label{font-size:12px;color:var(--muted);text-align:center;word-break:break-word}
#progressWrap{display:flex;gap:8px;align-items:center}
#progress{flex:1}
#time{font-size:12px;color:var(--muted);min-width:96px;text-align:right}
.playing{box-shadow:0 6px 18px rgba(16,185,129,0.12);border:1px solid rgba(16,185,129,0.12)}
@media(min-width:420px){
  #grid{grid-template-columns:repeat(4,1fr)}
}