.spotify-card{break-inside:avoid;min-width:0}.spotify-smart-home{max-width:620px;margin:0 0 18px}.spotify-card .sp-label{display:block;font-size:.75rem;color:var(--ink-soft);margin-bottom:4px}.spotify-card .sp-select{width:100%;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font:inherit;font-size:.85rem}.spotify-card .sp-track{display:flex;gap:12px;align-items:center;margin:14px 0 10px}.spotify-card .sp-track>div{min-width:0}.spotify-card .sp-title{display:block;font-size:1rem;overflow-wrap:anywhere}.spotify-card .sp-artist,.spotify-card .sp-state{display:block;font-size:.78rem;color:var(--ink-soft);margin-top:4px;overflow-wrap:anywhere}.spotify-card .sp-note{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:12px;background:var(--line);font-size:1.8rem}.spotify-card .sp-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.spotify-card .sp-controls .btn{width:44px;min-width:44px;height:40px;margin:0;padding:0;display:grid;place-items:center}.spotify-card .sp-refresh{margin-left:auto;font-size:.75rem}.spotify-card button:disabled{opacity:.4;cursor:default}.spotify-card .sp-progress{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:.7rem;color:var(--ink-soft)}.spotify-card .sp-progress[hidden]{display:none}.spotify-card progress{width:100%;min-width:0;height:5px;accent-color:var(--accent)}.spotify-card .sp-progress span{white-space:nowrap}.spotify-card .sp-message{font-size:.78rem;line-height:1.4;margin:9px 0;overflow-wrap:anywhere}.spotify-card .sp-message:empty{display:none}.spotify-card .sp-error{color:#c35353}.spotify-card .sp-open{display:inline-block;font-size:.75rem;margin-top:10px}.spotify-card .dash-card-head{flex-wrap:wrap;gap:8px}
.sp-home-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px;align-items:start;margin:12px 0 20px}.sp-home-row .spotify-smart-home{max-width:none;margin:0}.sp-home-row .hm-favorites{margin:0}.sp-home-row .hm-section-head{margin-top:0}@media(max-width:850px){.sp-home-row{grid-template-columns:1fr}}
.sp-music-column{min-width:0}.sp-music-column>.hm-section-head{min-height:20px}.sp-music-column .spotify-card{min-height:422px;display:flex;flex-direction:column;box-sizing:border-box}.sp-music-column .dash-card-head{justify-content:flex-end;margin-bottom:16px}.sp-music-column .dash-card-head h2{display:none}.sp-music-column .sp-track{flex:1;align-items:center}.sp-music-column .sp-note{height:64px;flex-basis:64px;font-size:2.2rem}.sp-manage-dialog{width:min(540px,calc(100% - 24px));max-height:85%;overflow:auto;border:1px solid var(--line);border-radius:18px;padding:24px;background:var(--card);color:var(--ink)}.sp-manage-dialog::backdrop{background:rgba(0,0,0,.55)}.sp-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.sp-dialog-head h2{margin:0}.sp-manage-dialog p{line-height:1.5}.sp-dialog-hint{font-size:.8rem;color:var(--ink-soft)}.sp-dialog-actions{display:flex;flex-wrap:wrap;gap:8px}.sp-manage-dialog .btn{width:auto;margin:4px 0}.sp-manage-dialog .sp-done{margin-top:12px}@media(max-width:850px){.sp-music-column .spotify-card{min-height:0}.sp-music-column .sp-track{min-height:100px}}

.spotify-card .sp-artwork{position:relative;display:block;flex:0 0 112px;width:112px;height:112px}
.spotify-card .sp-artwork .sp-note{width:100%;height:100%;font-size:2.4rem}
.spotify-card .sp-cover{display:block;width:100%;height:100%;object-fit:contain}
.spotify-card .sp-cover[hidden],.spotify-card .sp-note[hidden]{display:none}
@media(max-width:500px){.spotify-card .sp-artwork{flex-basis:80px;width:80px;height:80px}}
