/*
                                               :
                                              ::
   © ponkis.xyz 2026                         ::
                                             ::
                                            ::
                                            ::
                              __           ::
   _..-'/-¯¯--/_          ,.--. ''.     |`\=,..
-:--.---''-..  /_         |\\_\..  \    `-.=._/
.-|¯         '.  \         \_ \-`/\ |    ::`
  /  @  \      \  -_   _..--|-\¯¯``'--.-/_\
  |   .-'|      \  \\-'\_/     ¯/-.|-.\_\_/
  \_./` /        \_//-''/    .-'
       |           '-/'@====/              _.--.
   __.'             /¯¯'-. \-'.          _/   /¯'
.''____|   /       |'--\__\/-._        .'    |
 \ \_. \  |       _| -/        \-.__  /     /
  \___\ '/   _.  ('-..| /       '_  ''   _.'
        /  .'     ¯¯¯¯ /        | ``'--''
       (  / ¯```¯¯¯¯¯|-|        |
        \ \_.         \ \      /
         \___\         '.'.   /
                         /    |
                        /   .'
                       /  .' |
                     .'  / \  \
                    /___| /___'
*/

.scrobble-section {
	background: var(--bg-sidebar);
	border-top: 1px solid var(--border-sidebar);
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
	min-height: 0;
	overflow: hidden;
}

.scrobble-sidebar-header {
	flex-shrink: 0;
	background: var(--bg-sidebar-header);
	color: var(--text-sidebar-header);
	padding: 8px 12px;
	border-bottom: 1px solid var(--border-sidebar-header);
	font-size: 11px;
	font-weight: bold;
	text-transform: lowercase;
	gap: 6px;
	user-select: none;
	min-height: 31px;
}

.scrobble-sidebar-header i.ph-fill {
	color: #1db954;
	font-size: 14px;
}

.scrobble-header-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.scrobble-header-icon.has-live {
	background: rgb(0 0 0 / 36%);
	border-radius: 2px;
}

.scrobble-header-icon i {
	color: #1db954;
	font-size: 14px;
}

.scrobble-header-count {
	font-size: 11px;
	font-weight: 700;
	padding: 4px;
	color: #e6e6e6;
	line-height: 1;
}

/* A .btn-glyph (buttons.css) at the sidebar header's smaller size. */
.scrobble-refresh-btn {
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: 14px;
}

.scrobble-refresh-btn.spinning i {
	animation: spin 0.5s linear infinite;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

#scrobble-list {
	flex: 1;
	min-height: 0;
}

/* Rows, pictures and lines are the members list's (main.css). What is the
   scrobbles' own: the live bar, "now" and the time, and the track link. */
.scrobble-item-live {
	border-left: 3px solid #1db954;
	padding-left: 7px;
}

.scrobble-album-art-link {
	display: flex;
	flex-shrink: 0;
}

.scrobble-user-name {
	display: flex;
	align-items: baseline;
	gap: 4px;
	min-width: 0;
}

.scrobble-user-link {
	text-decoration: none;
}

.scrobble-user-link:hover,
.scrobble-track-name:hover {
	text-decoration: underline;
}

.scrobble-now-text,
.scrobble-time-ago {
	margin-left: auto;
	flex-shrink: 0;
	font-size: 9px;
}

.scrobble-now-text {
	font-weight: bold;
	color: #1db954;
}

.scrobble-time-ago {
	color: var(--text-muted);
}

.scrobble-track-name {
	color: var(--text-primary);
	text-decoration: none;
}

.profile-scrobble-section {
	padding: 0;
	border: 1px solid var(--border-primary);
	box-shadow: var(--shadow-light);
	font-family: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif;
	overflow: hidden;
}

.profile-scrobble-header {
	user-select: none;
	display: flex !important;
	padding: 8px 10px;
	border-bottom: 1px solid var(--line-blue-soft);
	background: var(--bg-message);
	color: var(--text-sidebar-username);
	font-weight: bold;
	gap: 6px;
	font-size: 11px;
	min-height: 28px;
}

.profile-scrobble-header i {
	color: #1db954;
	font-size: 14px;
}

.profile-scrobble-content {
	padding: 10px;
}

.profile-now-playing::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: #1db954;
}

.profile-now-playing-standalone {
	color: #3b5998;
	font-size: 16px;
	overflow: visible;
}

.profile-now-playing-standalone .profile-now-playing {
	margin-bottom: 0;
	box-shadow: none;
	border: none;
}

.profile-now-playing-art-container {
	margin-right: 12px;
}

.profile-now-playing-art {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: var(--bg-container);
	padding: 2px;
	-webkit-user-drag: none;
	user-select: none;
}

.profile-now-playing-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

.profile-now-playing-status {
	display: flex;
	align-items: center;
	margin-bottom: 4px;
	font-size: 10px;
	line-height: normal;
	user-select: none;
}

.profile-now-playing-status i {
	color: #1db954;
	margin-right: 4px;
}

.profile-now-playing-status span {
	color: #1db954;
	font-weight: bold;
	font-size: 10px;
	text-transform: uppercase;
}

.profile-now-playing-track {
	font-weight: bold;
	font-size: 13px;
	color: var(--text-secondary);
	margin-bottom: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.profile-now-playing-artist {
	font-size: 11px;
	color: #666;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.profile-now-playing-album {
	font-size: 10px;
	color: #888;
	margin-top: 1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.profile-recent-tracks {
	margin-top: 10px;
}

.profile-recent-tracks-title {
	font-size: 10px;
	color: #888;
	user-select: none;
	margin-bottom: 8px;
	text-transform: lowercase;
}

.profile-recent-track-item {
	display: flex;
	align-items: center;
	padding: 6px 10px;
	margin-left: -10px;
	margin-right: -10px;
	border-bottom: 1px solid transparent;
	border-image: linear-gradient(to right, transparent, var(--border-primary), transparent) 1;
}

.profile-recent-track-item:last-child {
	border-bottom: none;
}

.profile-recent-track-art-container {
	margin-right: 8px;
}

.profile-recent-track-art {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border: 1px solid #e9e9e9;
	background: var(--bg-container);
	padding: 1px;
	-webkit-user-drag: none;
	user-select: none;
}

.profile-recent-track-info {
	flex: 1;
	overflow: hidden;
}

.profile-recent-track-name {
	font-size: 11px;
	font-weight: bold;
	color: var(--text-sidebar-username);
	opacity: 0.8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.profile-recent-track-artist {
	font-size: 10px;
	color: #666;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.profile-recent-track-time {
	font-size: 9px;
	color: #999;
	margin-left: 8px;
	user-select: none;
	white-space: nowrap;
}

.profile-scrobble-footer {
	padding-top: 8px;
	padding-bottom: 8px;
	padding-right: 8px;
	text-align: right;
}

.profile-lastfm-link {
	font-size: 10px;
	color: var(--text-sidebar-username);
	opacity: 0.8;
	text-decoration: none;
}

.profile-lastfm-link:hover {
	opacity: 1;
	text-decoration: underline;
}


.lastfm-settings-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.lastfm-settings-header i {
	color: #d51007;
	font-size: 20px;
}

.lastfm-settings-header h4 {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-primary, #fff);
}

.lastfm-settings-content {
	font-size: 12px;
	color: var(--text-muted, #888);
}

.lastfm-not-connected {
	text-align: center;
	padding: 16px;
}

.lastfm-not-connected p {
	margin: 0 0 12px 0;
}

.lastfm-connected {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px;
	background: var(--bg-message, rgba(0, 0, 0, 0.2));
	border: 1px solid var(--border-primary, #333);
}

.lastfm-connected-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.lastfm-connected-icon {
	color: #1db954;
	font-size: 24px;
}

.lastfm-connected-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lastfm-connected-label {
	font-size: 10px;
	color: var(--text-muted, #888);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.lastfm-connected-username {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-primary, #fff);
}

.wall-quote-preview {
	padding: 8px;
	background: var(--bg-message);
	margin-left: -12px;
	margin-right: -12px;
	font-size: 12px;
	display: none;
	align-items: center;
	gap: 8px;
	position: relative;
}

.wall-quote-preview.has-border-top {
	border-top: 1px solid var(--border-primary);
}

.wall-quote-preview-art-container {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	overflow: hidden;
}

.wall-quote-preview-art {
	width: 100%;
	user-select: none;
	-webkit-user-drag: none;
	height: 100%;
	object-fit: cover;
}

.wall-quote-preview-info {
	flex: 1;
	overflow: hidden;
	user-select: none;
	text-overflow: ellipsis;
}

.wall-quote-preview-label {
	font-weight: bold;
	color: #1db954;
}

.wall-quote-preview-track-artist {
	color: var(--text-primary);
}

.wall-post-music-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	background: var(--bg-message);
	border: 1px dashed var(--border-primary);
	margin-top: 8px;
	position: relative;
	box-sizing: border-box;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.wall-post-music-card:hover {
	background: #eeb;
}

.music-card-art {
	width: 72px;
	aspect-ratio: 1 / 1;
	border: 1px solid rgba(0, 0, 0, 0.1);
	padding: 2px;
	background: var(--bg-container);
	flex-shrink: 0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.music-card-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
	-webkit-user-drag: none;
	display: block;
}

.wall-post-burned-cd-card {
	cursor: default;
}

.music-card-jewel {
	position: relative;
	width: 82px;
	aspect-ratio: 1767 / 1589;
	flex: 0 0 auto;
	isolation: isolate;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.28));
	overflow: hidden;
}

.music-card-jewel-artwork,
.music-card-jewel-layer {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.music-card-jewel-artwork {
	z-index: 1;
	-webkit-mask: url('/assets/img/profile/mystral/jewel_mask_alpha.png') center / 100% 100% no-repeat;
	mask: url('/assets/img/profile/mystral/jewel_mask_alpha.png') center / 100% 100% no-repeat;
}

.music-card-jewel-base,
.music-card-jewel-cover {
	position: absolute;
	display: block;
	left: 10.87%;
	top: 2.27%;
	width: 85.63%;
	height: 95.97%;
	object-fit: cover;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.music-card-jewel-base {
	z-index: 1;
}

.music-card-jewel-cover {
	z-index: 2;
}

.music-card-jewel-layer {
	z-index: 3;
}

.music-card-jewel-shadow {
	mix-blend-mode: multiply;
}

.music-card-jewel-highlight {
	mix-blend-mode: lighten;
}

.music-card-info {
	flex: 1;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.3;
	padding-top: 2px;
	user-select: none;
}

.music-card-label {
	font-size: 10px;
	font-weight: bold;
	color: #fff;
	background-color: #1db954;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 1px 4px;
	margin-bottom: 3px;
	align-self: flex-start;
	text-transform: uppercase;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
	user-select: none;
}

.music-card-label i {
	font-size: 10px;
}

.music-card-track {
	font-size: 13px;
	font-weight: bold;
	color: var(--text-link);
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	user-select: none;
	max-width: 100%;
}

.music-card-artist {
	font-size: 12px;
	color: #555;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0;
	user-select: none;
}

.music-card-album {
	font-size: 11px;
	color: #888;
	margin-top: 1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-style: italic;
	user-select: none;
}

.profile-weekly-obsession {
	margin-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.profile-weekly-obsession-title {
	font-size: 10px;
	color: #888;
	user-select: none;
	margin-bottom: 8px;
	text-transform: lowercase;
}

.profile-weekly-obsession-card {
	display: flex;
	align-items: center;
	gap: 10px;
}

.profile-weekly-obsession-art-container {
	flex-shrink: 0;
}

.profile-weekly-obsession-art {
	width: 54px;
	height: 54px;
	object-fit: cover;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: var(--bg-container);
	padding: 2px;
	-webkit-user-drag: none;
	user-select: none;
}

.profile-weekly-obsession-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}

.profile-weekly-obsession-track {
	font-weight: bold;
	font-size: 12px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.profile-weekly-obsession-artist {
	font-size: 11px;
	color: #666;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.profile-weekly-obsession-plays {
	font-size: 10px;
	color: #d35400;
	margin-top: 2px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.profile-weekly-obsession-plays i {
	font-size: 11px;
}

#profile-blinkies-container {
	width: 100%;
	overflow: visible;
}

.profile-blinkies-row {
	width: 100%;
	overflow: clip;
	padding-block: 10px;
	margin-block: -10px;
	-webkit-mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent);
	mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent);
}

.profile-blinkies-row.static {
	-webkit-mask-image: none;
	mask-image: none;
}

.profile-blinkies-track {
	display: flex;
	align-items: center;
	width: max-content;
}

.profile-blinkies-row.static .profile-blinkies-track {
	justify-content: center;
	width: 100%;
	flex-wrap: wrap;
}

.profile-blinkies-row.marquee .profile-blinkies-track {
	animation: profile-blinkies-scroll 60s linear infinite;
}

@keyframes profile-blinkies-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

body.reduce-motion .profile-blinkies-row.marquee .profile-blinkies-track {
	animation: none;
}

/* ── Blinkie hover animation + tooltip ── */

.profile-blinkie-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
	z-index: 1;
}

.profile-blinkie-wrap:hover {
	transform: scale(1.18) rotate(var(--blinkie-tilt, 0deg));
	z-index: 10;
}


.profile-blinkie-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 6px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 3px;
	background: #fafafa;
	flex-shrink: 0;
}

.profile-blinkie-chip img {
	height: 31px;
	image-rendering: pixelated;
	-webkit-user-drag: none;
	user-select: none;
}

.profile-blinkie-chip-name {
	font-size: 10px;
	color: #555;
	white-space: nowrap;
}

.profile-blinkie-img {
	width: 108px;
	height: auto;
	max-height: 50px;
	image-rendering: pixelated;
	-webkit-user-drag: none;
	user-select: none;
	flex-shrink: 0;
	object-fit: contain;
}

/* Profile shelves: "my CD collection" (Mystral jewels) and "my movie collection"
   (cases, docs/movies.md) share the row, its marquee and the tilted items. */
#profile-cd-collection-container,
#profile-movie-collection-container {
	width: 100%;
	overflow: visible;
}

.profile-shelf-content {
	padding: 4px 0 0;
}

.profile-shelf-row {
	width: 100%;
	overflow: clip;
	padding-block: 12px;
	margin-block: -8px 0;
	-webkit-mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
	mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
}

.profile-shelf-row.static {
	-webkit-mask-image: none;
	mask-image: none;
}

.profile-shelf-track {
	display: flex;
	align-items: center;
	width: max-content;
}

.profile-shelf-row.static {
	overflow-x: auto;
	scrollbar-width: none;
}

.profile-shelf-row::-webkit-scrollbar {
	display: none;
}

.profile-shelf-row.static .profile-shelf-track {
	justify-content: center;
	min-width: 100%;
	flex-wrap: nowrap;
}

.profile-shelf-row.static .profile-shelf-item[aria-hidden="true"] {
	display: none;
}

.profile-shelf-row.marquee .profile-shelf-track {
	animation: profile-shelf-scroll 54s linear infinite;
}

@keyframes profile-shelf-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

body.reduce-motion .profile-shelf-row.marquee {
	overflow-x: auto;
	scrollbar-width: none;
}

body.reduce-motion .profile-shelf-row.marquee .profile-shelf-track {
	animation: none;
}

body.reduce-motion .profile-shelf-row.marquee .profile-shelf-item[aria-hidden="true"] {
	display: none;
}

.profile-shelf-item {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	padding: 0 6px;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
	z-index: 1;
}

.profile-shelf-item:focus-visible {
	outline: 2px solid var(--color-primary, #3b5998);
	outline-offset: 2px;
}

.profile-now-playing.is-clickable {
 cursor: alias;
 transition: background-color 160ms ease;
}
.profile-now-playing.is-clickable:hover,
.profile-now-playing.is-clickable:focus-visible {
 background: color-mix(in srgb, #1db954 10%, var(--bg-message, #f2f3f5));
 outline: 1px solid color-mix(in srgb, #1db954 55%, var(--border-primary));
 outline-offset: -1px;
}



.profile-shelf-item:hover {
	transform: scale(1.12) rotate(var(--shelf-tilt, 0deg));
	z-index: 10;
}

.cd-jewel {
	position: relative;
	display: block;
	width: 96px;
	aspect-ratio: 1767 / 1589;
	isolation: isolate;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.28));
	-webkit-user-drag: none;
	user-select: none;
}

.cd-jewel-canvas {
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
}

.profile-cd-empty {
	padding: 20px 12px 16px;
	text-align: center;
	color: #888;
	font-size: 11px;
	font-style: italic;
}

.profile-cd-test-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 7px 10px;
	border-top: 1px solid var(--border-primary);
	background: color-mix(in srgb, var(--bg-message) 88%, transparent);
}

.profile-cd-count {
	min-width: 38px;
	color: #777;
	font-size: 10px;
	text-align: center;
}

/* Last.fm extra stats (total scrobbles, loved tracks) */
.profile-lastfm-stats {
	display: grid;
	margin-top: 10px;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.profile-lastfm-stat:only-child {
	grid-column: 1 / -1;
}

.profile-lastfm-stat {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: linear-gradient(135deg, var(--bg-message) 0%, rgba(255, 255, 255, 0.6) 100%);
	border: 1px solid var(--border-primary);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.profile-lastfm-stat:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.profile-lastfm-stat i {
	font-size: 20px;
	color: #d51007;
	flex-shrink: 0;
}

.profile-lastfm-stat i.ph-music-notes {
	color: #1db954;
}

.profile-lastfm-stat-info {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.profile-lastfm-stat-value {
	font-size: 16px;
	font-weight: bold;
	color: var(--text-primary);
	line-height: 1.2;
}

.profile-lastfm-stat-label {
	font-size: 10px;
	text-transform: lowercase;
	color: #888;
	line-height: 1.2;
}

/* Top artists / top albums — Last.fm-style mini collage */
/* Standalone top-artists / top-albums profile sections.
   These render outside the last.fm history container as their own
   draggable profile sections (alongside photos, socials, etc.). */
.profile-top-section .profile-section-content {
	padding: 0;
	display: flex;
	max-height: none;
	overflow: visible;
	flex-direction: column-reverse;
}

.profile-top-section-period {
	font-size: 9px;
	color: #888;
	text-transform: lowercase;
	padding: 6px 8px;
	background: rgba(0, 0, 0, 0.02);
	text-align: right;
}

/* Mosaic: first tile is the "hero" (big), the rest are small.
   Mirrors the lastfm.com top-artists/top-albums layout.
   The grid keeps a 2:1 aspect (4 cols × 2 rows of squares) so tiles
   stay 1:1 at any viewport width. */
.profile-lastfm-collage-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
	aspect-ratio: 2 / 1;
}

.profile-lastfm-collage-tile {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--bg-secondary, #222);
	color: #fff;
	text-decoration: none;
	min-width: 0;
	min-height: 0;
}

.profile-lastfm-collage-tile:first-child {
	grid-row: span 2;
	grid-column: span 2;
}

.profile-lastfm-collage-art {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	-webkit-user-drag: none;
	transition: transform 0.25s ease;
}

.profile-lastfm-collage-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 4px 6px 4px 6px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
	color: #fff;
	pointer-events: none;
}

.profile-lastfm-collage-name {
	font-size: 10px;
	font-weight: bold;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.2;
}

.profile-lastfm-collage-tile:hover .profile-lastfm-collage-name {
	text-decoration: underline;
}

.profile-lastfm-collage-tile:first-child .profile-lastfm-collage-name {
	font-size: 13px;
}

.profile-lastfm-collage-sub {
	font-size: 9px;
	opacity: 0.9;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.2;
}

.profile-lastfm-collage-plays {
	font-size: 9px;
	opacity: 0.75;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 480px) {
	.profile-lastfm-collage-tile:first-child .profile-lastfm-collage-name {
		font-size: 12px;
	}
}

/* Last.fm section order drag list (settings) */
.lastfm-section-order-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 8px;
}

.lastfm-order-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	background: var(--bg-message);
	border: 1px solid var(--border-primary);
	font-size: 12px;
	color: var(--text-primary);
	cursor: grab;
	user-select: none;
	transition: box-shadow 0.15s ease, opacity 0.15s ease;
}

.lastfm-order-item:hover {
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.lastfm-order-item.dragging {
	opacity: 0.5;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lastfm-order-item:active {
	cursor: grabbing;
}

.lastfm-order-grip {
	color: #aaa;
	font-size: 14px;
	flex-shrink: 0;
}

.lastfm-order-item:hover .lastfm-order-grip {
	color: #666;
}
