.spotify-activity-icon { color: #1ed760; display: inline-flex; width: 16px; height: 16px; flex: 0 0 16px; vertical-align: middle; }
.spotify-activity-icon svg { width: 100%; height: 100%; }
.user-profile-spotify { width: 100%; min-width: 0; margin-top: 12px; padding: 12px; border: 1px solid rgba(30,215,96,.18); border-radius: 10px; background: rgba(30,215,96,.055); box-sizing: border-box; }
.spotify-listening-label { color: #86d9a1; display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: 11px; font-weight: 650; }
.spotify-track-row { display: flex; gap: 10px; align-items: center; min-width: 0; }
.spotify-album-art { width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; border-radius: 5px; }
.spotify-album-placeholder { display: grid; place-items: center; background: #1b3825; color: #9ee3b5; font-size: 24px; }
.spotify-track-copy { min-width: 0; flex: 1; }
.spotify-track-name, .spotify-track-artist { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.spotify-track-name { color: #e7f2ec; font-size: 13px; font-weight: 650; }
.spotify-track-artist { color: #a8bdb0; font-size: 12px; margin-top: 3px; }
.spotify-play { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #1ed760; color: #102316; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.spotify-play svg { width: 20px; height: 20px; }
.spotify-play:hover { background: #64ec92; transform: scale(1.05); }
.spotify-play:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.members-sidebar .member-sub.has-spotify { display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; gap: 0; }
.member-sub.has-spotify .member-class-text { flex: 0 1 auto; min-width: 0; max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
.member-status-separator { flex: 0 0 auto; white-space: pre; }
.member-spotify-text { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1; color: #91cfaa; }
.member-spotify-text > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-spotify-text .spotify-activity-icon { width: 12px; height: 12px; flex-basis: 12px; }
.spotify-account-controls { display: flex; gap: 10px; margin-top: 15px; }
.spotify-account-status { color: #a8b6c7; font-size: 12px; line-height: 1.5; margin: 10px 0 0; }
.spotify-account-controls [hidden] { display: none; }
.spotify-account-controls { flex-wrap: wrap; }
/* The player belongs to the fixed account dock, directly after the call card. */
#sidebar-nav-surface .sidebar-spotify-player { flex: 0 0 auto; min-width: 0; margin: 0; padding: 12px 10px 8px; border-top: 1px solid rgba(160,174,195,.14); color: var(--text, #e0e5ef); background: transparent; }
#sidebar-nav-surface .sidebar-spotify-player[hidden] { display: none !important; }
.spotify-player-track { display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: 10px; }
.spotify-player-art { display: block; flex: 0 0 38px; line-height: 0; }
.spotify-player-art .spotify-album-art { width: 38px; height: 38px; border-radius: 7px; border: 1px solid var(--stroke2); }
.spotify-player-copy { min-width: 0; flex: 1; line-height: 1.3; }
.spotify-player-title, .spotify-player-artist, .spotify-player-album { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotify-player-title { color: inherit; font-size: 12px; font-weight: 650; text-decoration: none; }
.spotify-player-title:hover { text-decoration: underline; }
.spotify-player-artist, .spotify-player-album { font-size: 10px; color: var(--muted, #a8adba); line-height: 1.45; }
#sidebar-nav-surface .spotify-player-seek { --spotify-progress: 0%; --range-h: 4px; --range-thumb: 10px; display: block; appearance: none; -webkit-appearance: none; width: 100%; height: 14px; padding: 0; margin: 0; border: 0; border-radius: 3px; cursor: pointer; background: transparent; accent-color: var(--control-blue, #548fce); }
.spotify-player-seek:disabled { opacity: .4; cursor: default; }
.spotify-player-times { display: flex; justify-content: space-between; color: var(--muted, #a8adba); font-size: 10px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.spotify-player-controls { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
#sidebar-nav-surface .spotify-player-button { position: relative; display: grid; place-items: center; flex: 0 0 32px; min-width: 0; width: 32px; height: 28px; padding: 6px; margin: 0; border: 0; border-radius: var(--control-radius, 10px); background: transparent; color: var(--muted, #a8adba); box-shadow: none; cursor: pointer; transition: color .12s ease, background .12s ease; }
#sidebar-nav-surface .spotify-player-button:hover { background: var(--control-hover, #2b3948); color: var(--text, #e0e5ef); }
#sidebar-nav-surface .spotify-player-button[aria-pressed="true"] { color: var(--control-focus, #9ac9fc); background: var(--control-selected, #243b52); }
#sidebar-nav-surface .spotify-player-button:disabled { opacity: .36; cursor: default; }
.spotify-player-button svg { display: block; width: 16px; height: 16px; }
.spotify-player-button[data-repeat="track"]::after { position: absolute; content: '1'; right: 2px; top: 0; font-size: 9px; font-weight: 700; }
.spotify-player-button:focus-visible, .spotify-player-seek:focus-visible { outline: 2px solid var(--control-focus, #9ac9fc); outline-offset: 2px; }
.spotify-player-note { margin: 3px 0 0; color: var(--muted, #a8adba); font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.spotify-player-note[hidden] { display: none; }
@media (pointer: coarse) { #sidebar-nav-surface .spotify-player-seek { height: 22px; } #sidebar-nav-surface .spotify-player-button { height: 32px; flex-basis: 36px; width: 36px; } }
