:root{
  --bg:#0c0c0c; --sidebar:#111111; --card:#141414; --fg:#ffffff; --muted:#9a9a9a; --accent:#2e6b45;
}
*{box-sizing:border-box;}
html,body{margin:0; padding:0; height:100%;}
body{
  background:var(--bg); color:var(--fg);
  font-family:'Geist','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;}
header.site{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 28px; border-bottom:1px solid #1c1c1c;
}
header.site .brand{display:flex; align-items:center; gap:10px; font-weight:700; font-size:15px;}
header.site .brand img{width:26px; height:26px; border-radius:50%; object-fit:cover;}
header.site .brand .dot{width:26px; height:26px; border-radius:50%; background:var(--fg); display:inline-block;}
header.site nav{display:flex; gap:22px; font-size:13px;}
header.site nav a{text-decoration:none; color:var(--muted); font-weight:600; cursor:pointer; padding-bottom:4px;}
header.site nav a.active{color:var(--fg); border-bottom:2px solid var(--accent);}

.wrap{display:flex; min-height:calc(100vh - 60px);}
.main{flex:1; padding:28px 34px 140px; max-width:1280px; margin:0 auto; width:100%;}
.main h1{font-size:26px; margin:0 0 4px;}
.main .sub{color:var(--muted); font-size:13px; margin-bottom:26px;}

.hero{
  background:linear-gradient(120deg, color-mix(in srgb, var(--accent) 35%, var(--sidebar)), var(--sidebar) 70%);
  border:1px solid #1c1c1c; border-radius:14px; padding:26px; display:flex; align-items:center; gap:20px; margin-bottom:34px;
}
.hero .art{width:96px; height:96px; border-radius:8px; background:linear-gradient(135deg,var(--accent),#0c0c0c); background-size:cover; background-position:center; flex-shrink:0;}
.hero .meta p{margin:0; color:var(--muted); font-size:12px; letter-spacing:.06em; text-transform:uppercase;}
.hero .meta h2{margin:4px 0 12px; font-size:22px;}
.hero .play-btn{background:var(--accent); color:#fff; border:none; border-radius:999px; padding:10px 22px; font-weight:700; font-size:13px; cursor:pointer; display:inline-flex; align-items:center; gap:8px;}

.grid-title{font-size:15px; font-weight:700; margin:28px 0 14px;}
.grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:16px;}
.card{background:var(--card); border:1px solid #1f1f1f; border-radius:10px; padding:12px; cursor:pointer; transition:.15s;}
.card:hover{background:#1a1a1a;}
.card .art{width:100%; aspect-ratio:1/1; border-radius:6px; margin-bottom:10px; background-size:cover; background-position:center; background-color:#222; position:relative;}
.card .art.video::after{content:"▶"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:18px; color:#fff; background:rgba(0,0,0,.25);}
.card .t{font-size:12.5px; font-weight:600; margin:0 0 2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.card .s{font-size:11px; color:var(--muted); margin:0;}
.empty{color:var(--muted); font-size:13px; padding:20px 0;}

.player-bar{
  position:fixed; bottom:0; left:0; right:0; background:var(--sidebar); border-top:1px solid #1f1f1f;
  display:flex; align-items:center; gap:24px; padding:12px 22px; z-index:40;
}
.player-bar .np{display:flex; align-items:center; gap:12px; width:230px; flex-shrink:0; overflow:hidden;}
.player-bar .np .art{width:44px; height:44px; border-radius:6px; background:linear-gradient(135deg,var(--accent),#0c0c0c); background-size:cover; background-position:center; flex-shrink:0;}
.player-bar .np .t{font-size:12.5px; font-weight:600; margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.player-bar .np .s{font-size:11px; color:var(--muted); margin:0;}
.player-bar .controls{display:flex; flex-direction:column; align-items:center; gap:6px; flex:1; max-width:560px;}
.player-bar .btns{display:flex; align-items:center; gap:18px; font-size:15px;}
.player-bar .btns button{background:none; border:none; color:var(--fg); cursor:pointer; font-size:15px; padding:4px;}
.player-bar .btns .play{width:32px; height:32px; border-radius:50%; background:#fff; color:#111; display:flex; align-items:center; justify-content:center; font-size:12px; border:none; cursor:pointer;}
.progress-row{display:flex; align-items:center; gap:8px; width:100%; font-size:10.5px; color:var(--muted);}
.progress{flex:1; height:4px; background:#2c2c2c; border-radius:2px; position:relative; cursor:pointer;}
.progress i{position:absolute; left:0; top:0; height:100%; width:0%; background:var(--accent); border-radius:2px; display:block; pointer-events:none;}
.vol{width:150px; display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); flex-shrink:0;}
.vol input[type=range]{width:100%;}

.back-link{background:none; border:none; color:var(--muted); font-size:13px; cursor:pointer; padding:0 0 18px; font-weight:600;}
.back-link:hover{color:var(--fg);}

.album-header{
  display:flex; align-items:center; gap:24px; margin-bottom:30px; flex-wrap:wrap;
}
.album-header .art{
  width:180px; height:180px; border-radius:10px; background-size:cover; background-position:center;
  background-color:#222; background-image:linear-gradient(135deg,var(--accent),#0c0c0c); flex-shrink:0;
  box-shadow:0 12px 30px rgba(0,0,0,.4);
}
.album-header .meta p{margin:0; color:var(--muted); font-size:12px; letter-spacing:.06em; text-transform:uppercase;}
.album-header .meta h2{margin:6px 0 6px; font-size:28px;}
.album-header .meta .s{color:var(--muted); font-size:13px; margin:0 0 16px;}
.album-header .play-btn{background:var(--accent); color:#fff; border:none; border-radius:999px; padding:10px 24px; font-weight:700; font-size:13px; cursor:pointer;}

.tracklist{display:flex; flex-direction:column; gap:2px;}
.track-row{
  display:grid; grid-template-columns:32px 1fr auto; align-items:center; gap:14px;
  padding:10px 12px; border-radius:8px; cursor:pointer; font-size:13.5px;
}
.track-row:hover{background:var(--card);}
.track-row.playing{color:var(--accent); background:var(--card);}
.track-row .num{color:var(--muted); font-size:12px; text-align:center;}
.track-row.playing .num{color:var(--accent);}
.track-row .title{overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.track-row .dur{color:var(--muted); font-size:12px;}

@media(max-width:760px){
  .player-bar .vol{display:none;}
  header.site nav{gap:14px; font-size:12px;}
  .album-header{gap:16px;}
  .album-header .art{width:120px; height:120px;}
  .album-header .meta h2{font-size:20px;}
}
