/* Dark, clean layout matching your design */
:root{
  --bg:#121212;
  --bg2:#181818;
  --fg:#ffffff;
  --muted:#b3b3b3;
  --accent:#1db954;
  --divider:#2a2a2a;
  --radius:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--fg);
}

.app{max-width:720px;margin:0 auto;padding:16px}

.header{
  background:var(--bg2);
  padding:12px 16px;
  border-radius:var(--radius);
  text-align:center;
  margin-bottom:12px;
}

.music-box{
  background:var(--bg2);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}

.now-playing{
  display:flex;
  gap:12px;
  align-items:center;
}

.thumb{
  width:64px;height:64px;border-radius:10px;
  background:#222 center/cover no-repeat;
  flex:none;
  box-shadow:inset 0 0 0 1px #000;
}

.meta{display:flex;flex-direction:column;gap:4px;min-width:0}
#song-title{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#song-artist{color:var(--muted);font-size:.9rem}

.controls{
  display:flex;justify-content:center;gap:12px;margin-top:12px
}
.controls button{
  background:var(--accent);
  color:#fff;
  border:0;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
}
.controls button:active{transform:scale(.98)}

.search{
  display:flex;gap:8px;margin-top:14px
}
.search input{
  flex:1;padding:10px;border-radius:10px;border:0;background:#222;color:#fff
}
.search button{
  background:var(--accent);color:#fff;border:0;border-radius:10px;padding:10px 16px;cursor:pointer
}

.results{
  margin-top:14px;
  background:var(--bg2);
  border-radius:var(--radius);
  overflow:hidden;
}
.result{
  display:flex;gap:10px;align-items:center;
  padding:10px 12px;border-bottom:1px solid var(--divider);cursor:pointer
}
.result:last-child{border-bottom:0}
.result .rthumb{width:56px;height:56px;border-radius:8px;background:#222 center/cover no-repeat;flex:none}
.result .rmeta{display:flex;flex-direction:column;min-width:0}
.result .rtitle{font-size:.98rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.result .rchan{font-size:.85rem;color:var(--muted)}
