.mp-dual-row { margin-top: 0.25rem; }
.mp-panel-hd {
	padding: 0.38rem 0.65rem;
	font-size: 0.875rem;
	font-weight: 600;
	background: #f8f9fa;
	color: #495057;
}
.mp-panel-bd {
	padding: 0.4rem 0.5rem;
	max-height: 420px;
	overflow-y: auto;
}
.mp-item {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.45rem 0.2rem;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	border-radius: 6px;
	transition: background .15s;
}
.mp-item:hover { background: #f8fafc; }
.mp-item.is-playing { background: #eef6ff; }
.mp-item:last-child { border-bottom: 0; }
.mp-cover-wrap {
	position: relative;
	width: 42px;
	height: 42px;
	flex-shrink: 0;
}
.mp-cover {
	width: 42px;
	height: 42px;
	border-radius: 4px;
	object-fit: cover;
	background: #e9ecef;
	display: block;
}
.mp-play-badge {
	position: absolute;
	right: 2px;
	bottom: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(17,24,39,.72);
	color: #fff;
	font-size: 9px;
	line-height: 16px;
	text-align: center;
}
.mp-item.is-loading { opacity: .85; }
.mp-item.is-loading .mp-play-badge,
.mp-item.is-playing .mp-play-badge { background: #2563eb; }
.mp-meta { flex: 1 1 auto; min-width: 0; }
.mp-meta .mp-title {
	font-size: 0.875rem;
	font-weight: 600;
	color: #212529;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mp-meta .mp-artist {
	font-size: 0.75rem;
	color: #6c757d;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mp-actions { flex-shrink: 0; }
.mp-actions .btn { padding: 0.15rem 0.45rem; font-size: 0.75rem; }
.mp-loading { padding: 1rem; text-align: center; color: #6c757d; font-size: 0.85rem; }

/* 帖内歌曲卡片 */
.mp-song-card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	align-items: stretch;
	padding: 12px;
	margin: 0 0 14px;
	border: 1px solid #e8ebf0;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	user-select: none;
	box-shadow: 0 1px 2px rgba(15,23,42,.04);
	transition: border-color .15s, box-shadow .15s;
}
.mp-song-card:hover { border-color: #c7d2fe; box-shadow: 0 4px 12px rgba(37,99,235,.08); }
.mp-song-card.is-playing { border-color: #93c5fd; background: #f8fbff; }
.mp-song-card.is-loading { opacity: .92; }
.mp-song-cover {
	position: relative;
	width: 72px;
	height: 72px;
	border-radius: 10px;
	overflow: hidden;
	background: #eef2f7;
	align-self: center;
}
.mp-song-cover img,
.mp-song-cover-empty {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mp-song-play-ico {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(17,24,39,.78);
	color: #fff;
	font-size: 12px;
	line-height: 28px;
	text-align: center;
	z-index: 2;
}
.mp-song-card.is-playing .mp-song-play-ico,
.mp-song-card.is-loading .mp-song-play-ico { background: #2563eb; }
.mp-song-body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 8px;
	padding: 2px 0;
}
.mp-song-title { font-size: 16px; font-weight: 700; color: #111827; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-song-artist { margin-top: 4px; font-size: 13px; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-song-progress-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
}
.mp-song-cur,
.mp-song-dur {
	font-size: 11px;
	color: #6b7785;
	font-variant-numeric: tabular-nums;
	min-width: 34px;
}
.mp-song-dur { text-align: right; }
.mp-audio-range {
	width: 100%;
	height: 4px;
	-webkit-appearance: none;
	appearance: none;
	background: linear-gradient(to right, #2563eb var(--audio-pct, 0%), #e8eef2 var(--audio-pct, 0%));
	border-radius: 999px;
	outline: none;
	cursor: pointer;
}
.mp-audio-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #2563eb;
	border: 0;
	box-shadow: 0 1px 4px rgba(15, 23, 42, .2);
}
.mp-audio-range::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #2563eb;
	border: 0;
}
.mp-song-audio { display: none; }

/* 横向网盘卡片 */
.mp-pan-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: #eaf2ff;
	border: 0;
	color: #2563eb;
	font-size: 20px;
	flex: 0 0 auto;
}
.mp-pan-card {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	margin: 10px 0;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e8eef1;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	box-sizing: border-box;
}
.mp-pan-main { min-width: 0; flex: 1 1 auto; }
.mp-pan-main strong {
	display: block;
	font-size: 15px;
	font-weight: 650;
	color: #111827;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.mp-pan-main span,
.mp-pan-sub {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.45;
	color: #e11d48;
	font-weight: 500;
	white-space: normal;
}
.mp-pan-card.is-locked .mp-pan-actions { display: none; }
.mp-pan-card.is-locked {
	opacity: .96;
}
.mp-pan-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
	flex: 0 0 auto;
	margin-left: auto;
}
.mp-pan-actions .btn { white-space: nowrap; }
.mp-post-lock {
	background: #f5f5f5;
	padding: 16px;
	border-radius: 8px;
	text-align: center;
	color: #999;
	border: 1px dashed #ddd;
	margin: 8px 0;
}

/* 扫码弹层 */
.mp-qr-modal {
	position: fixed;
	inset: 0;
	z-index: 1080;
	background: rgba(15, 23, 42, .45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.mp-qr-dialog {
	width: 280px;
	max-width: 100%;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(0,0,0,.18);
	overflow: hidden;
}
.mp-qr-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-bottom: 1px solid #eef2f7;
	font-weight: 650;
}
.mp-qr-close {
	border: 0;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	color: #6b7280;
	cursor: pointer;
}
.mp-qr-bd { padding: 18px 16px 16px; text-align: center; }
.mp-qr-box {
	width: 180px;
	height: 180px;
	margin: 0 auto;
	display: grid;
	place-items: center;
}
.mp-qr-box img, .mp-qr-box canvas { width: 180px !important; height: 180px !important; }
.mp-qr-tip { margin: 12px 0 0; font-size: 12px; color: #6b7785; }

.mp-pan-src .js-mp-pan-data { display: none; } /* 数据节点不直接展示 */

/* 歌词：默认静态；开启滚动后高亮同步 */
.mp-lyric-panel {
	margin: 12px 0;
	padding: 12px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 6px;
}
.mp-lyric-hd {
	font-weight: 600;
	margin-bottom: 8px;
}
.mp-lyric {
	white-space: normal;
	line-height: 1.7;
	color: #444;
}
.mp-lyric-line {
	line-height: 1.7;
}
/* 滚动模式：固定高度、无滚动条，当前句始终居中 */
.mp-lyric-panel.is-scroll .mp-lyric {
	height: 220px;
	max-height: 220px;
	overflow: hidden !important;
	scrollbar-width: none;
	-ms-overflow-style: none;
	text-align: center;
	position: relative;
	padding: 0;
}
.mp-lyric-panel.is-scroll .mp-lyric::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}
.mp-lyric-panel.is-scroll .mp-lyric-track {
	display: block;
	width: 100%;
	padding: 90px 8px;
	box-sizing: border-box;
	will-change: transform;
	transition: transform .28s ease;
}
.mp-lyric-panel.is-scroll .mp-lyric-line {
	padding: 10px 12px;
	color: #b0b6bf;
	font-size: 14px;
	line-height: 1.6;
	transition: color .2s ease, font-size .2s ease, font-weight .2s ease, opacity .2s ease;
	white-space: normal;
	word-break: break-word;
	opacity: 0.55;
}
.mp-lyric-panel.is-scroll .mp-lyric-line.is-active {
	color: #1d4ed8;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.5;
	opacity: 1;
}

@media (max-width: 767.98px) {
	.mp-panel-bd { max-height: 280px; }
	.mp-cover, .mp-cover-wrap { width: 36px; height: 36px; }
	.mp-pan-card { flex-wrap: wrap; }
	.mp-pan-actions { width: 100%; justify-content: flex-start; }
	.mp-pan-actions .btn { flex: 1 1 auto; }
}
