.home-welcome { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:4px 0 30px; padding:24px 26px; border:1px solid var(--border); border-radius:18px; background:linear-gradient(135deg,var(--bg-elevated),rgba(162,230,64,.08)); }
.home-welcome h1 { margin:2px 0 5px; font-size:clamp(25px,3vw,38px); }
.home-welcome p { margin:0; color:var(--text-muted); }
.home-eyebrow { color:var(--accent)!important; text-transform:uppercase; letter-spacing:.16em; font-size:11px; font-weight:700; }
.home-welcome-actions { display:flex; gap:8px; }
.home-section { margin-bottom:30px; }
.home-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.home-section-head h2 { margin:0; font-size:18px; }
.home-section-head button { border:0; background:none; color:var(--accent); cursor:pointer; font-size:12px; }
.home-grid { grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); }
.home-grid .card { min-width:0; }
.home-artist-grid .card-img { border-radius:50%; }
.home-empty { grid-column:1/-1; padding:18px; border:1px dashed var(--border); border-radius:12px; color:var(--text-muted); font-size:13px; }
.home-continue-card { display:flex; align-items:center; gap:16px; padding:14px; border:1px solid var(--border); border-radius:14px; background:var(--bg-card); cursor:pointer; }
.home-continue-card:hover { border-color:var(--accent); }
.home-continue-card img,.home-continue-art { width:72px; height:72px; border-radius:10px; object-fit:cover; background:var(--bg-elevated); display:grid; place-items:center; font-size:28px; }
.home-continue-copy { min-width:0; flex:1; }.home-continue-title{font-weight:700}.home-continue-sub{color:var(--text-muted);font-size:13px;margin-top:4px}.home-continue-play{width:42px;height:42px;border:0;border-radius:50%;background:var(--accent);color:#000;font-size:18px;cursor:pointer}
.home-mixes { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:12px; }
.home-suggested-folder { width:100%; }
.home-suggested-grid { margin-top:4px; }
.home-mix { min-height:118px; padding:18px; border:1px solid var(--border); border-radius:14px; background:linear-gradient(135deg,var(--bg-card),var(--accent-dim)); cursor:pointer; text-align:left; color:var(--text); }
.home-mix:hover { border-color:var(--accent); transform:translateY(-1px); }.home-mix-icon{font-size:25px}.home-mix-name{font-size:16px;font-weight:700;margin-top:14px}.home-mix-sub{font-size:12px;color:var(--text-muted);margin-top:3px}
.home-customize{position:fixed;inset:0;z-index:220;background:rgba(0,0,0,.65);display:grid;place-items:center;padding:20px}.home-customize-card{width:min(460px,100%);padding:22px;border:1px solid var(--border);border-radius:16px;background:var(--bg-card)}.home-customize-card>p{color:var(--text-muted);font-size:13px}.home-customize-option{display:flex;align-items:center;gap:10px;padding:10px 4px}.home-customize-option input{accent-color:var(--accent)}
.home-mix-detail{padding-bottom:30px;container-type:inline-size}.home-mix-back{margin-bottom:18px}.home-mix-hero{display:grid;grid-template-columns:190px minmax(220px,1fr) auto;align-items:center;gap:24px;padding:24px;border:1px solid var(--border);border-radius:20px;background:linear-gradient(135deg,var(--bg-card),var(--accent-dim))}.home-mix-cover{display:grid;grid-template-columns:repeat(2,1fr);width:190px;aspect-ratio:1;overflow:hidden;border-radius:16px;background:var(--bg-elevated);box-shadow:0 12px 32px rgba(0,0,0,.28)}.home-mix-cover img{width:100%;height:100%;min-width:0;min-height:0;object-fit:cover}.home-mix-cover img:only-child{grid-column:1/-1;grid-row:1/-1}.home-mix-cover span{grid-column:1/-1;display:grid;place-items:center;font-size:54px;color:var(--accent)}.home-mix-copy{min-width:0}.home-mix-copy>span{text-transform:uppercase;letter-spacing:.16em;color:var(--accent);font-size:11px;font-weight:800}.home-mix-copy h1{margin:8px 0;font-size:clamp(28px,4vw,46px)}.home-mix-copy p{margin:0 0 10px;color:var(--text-muted)}.home-mix-copy small{color:var(--text-dim)}.home-mix-actions{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:9px}.home-mix-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--border);border-radius:12px;background:var(--bg-elevated);color:var(--text);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.home-mix-actions button:hover{border-color:var(--accent);background:var(--accent-dim)}.home-mix-actions button.home-mix-primary{background:var(--accent);color:#071008;border-color:var(--accent)}.home-mix-actions svg{width:18px;height:18px;flex:0 0 auto}.home-mix-tracks{margin-top:18px}.home-mix-tracks .song-list{width:100%}
.home-mix-actions button{-webkit-appearance:none;appearance:none;min-width:0;line-height:1}.home-mix-actions svg{display:block;flex:0 0 18px;overflow:visible}
.home-mix-play-glyph{display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px;font-family:Arial,sans-serif;font-size:19px;font-style:normal;font-weight:400;line-height:20px;text-align:center;color:currentColor;-webkit-font-smoothing:antialiased}
@container (max-width:760px){
  .home-mix-hero{grid-template-columns:88px minmax(0,1fr);gap:14px;padding:14px}
  .home-mix-cover{width:88px;border-radius:12px}
  .home-mix-copy h1{font-size:22px;margin:4px 0}
  .home-mix-copy p{font-size:12px}
  .home-mix-copy small{font-size:11px}
  .home-mix-actions{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:100%}
  .home-mix-actions button{width:100%;height:44px;min-width:0;min-height:44px;padding:0;overflow:hidden}
  .home-mix-actions button span{display:none}
  .home-mix-actions svg{width:20px;height:20px;flex-basis:20px}
}
@media(max-width:640px){
  .home-welcome{padding:18px}
  .home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-section{margin-bottom:24px}
  /* Keep Made for you useful without letting four large cards push the rest of
     Home below the fold. It becomes one compact, swipeable row on phones. */
  .home-mixes{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(148px,68vw);grid-template-columns:none;gap:9px;overflow-x:auto;padding:1px 2px 7px;scroll-snap-type:x proximity;scrollbar-width:thin}
  .home-mix{min-height:84px;padding:12px;scroll-snap-align:start}
  .home-mix-icon{font-size:19px}
  .home-mix-name{font-size:14px;margin-top:8px}
  .home-mix-sub{font-size:11px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
  .home-mix-hero{grid-template-columns:88px minmax(0,1fr);gap:14px;padding:14px}.home-mix-cover{width:88px;border-radius:12px}.home-mix-copy h1{font-size:22px;margin:4px 0}.home-mix-copy p{font-size:12px}.home-mix-copy small{font-size:11px}.home-mix-actions{grid-column:1/-1;grid-template-columns:repeat(4,1fr);width:100%}.home-mix-actions button{min-width:0;min-height:42px;padding:0}.home-mix-actions button span{display:none}.home-mix-actions svg{width:20px;height:20px}
  .home-mix-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:100%}.home-mix-actions button{width:100%;height:44px;min-height:44px;overflow:hidden}.home-mix-actions svg{flex-basis:20px}
}
