/* =========================================================
   SoundWave — Spotify 风格音乐主题样式
   ========================================================= */

/* ---------- 变量 ---------- */
:root {
	--bg: #121212;
	--bg-deep: #000;
	--card: #181818;
	--card-hover: #282828;
	--topbar-bg: rgba(18, 18, 18, .82);
	--text: #ffffff;
	--text2: #b3b3b3;
	--text3: #7a7a7a;
	--green: #1db954;
	--green-hover: #1ed760;
	--red: #e91429;
	--line: rgba(255, 255, 255, .09);
	--sidebar-w: 248px;
	--topbar-h: 64px;
	--player-h: 90px;
	--radius: 8px;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	background: var(--bg-deep);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
::selection { background: var(--green); color: #000; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .22); border-radius: 6px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, .38); background-clip: content-box; }

.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.18em; }

/* ---------- 整体布局 ---------- */
.app { display: flex; height: 100vh; }

/* ============ 侧边栏 ============ */
.sidebar {
	width: var(--sidebar-w);
	/* 底部播放器固定在视窗底部；侧栏必须预留其高度，避免合规链接被覆盖。 */
	height: calc(100vh - var(--player-h));
	flex: none;
	background: var(--bg-deep);
	display: flex;
	flex-direction: column;
	padding: 14px 10px 10px;
	overflow: hidden;
	z-index: 60;
}
.sb-logo { display: flex; align-items: center; gap: 10px; padding: 6px 12px 18px; }
.sb-logo-icon {
	width: 34px; height: 34px; border-radius: 8px;
	background: linear-gradient(135deg, #1ed760, #0e8a3e);
	color: #000; display: flex; align-items: center; justify-content: center;
}
.sb-logo-icon .icon { width: 20px; height: 20px; }
.sb-logo-text { font-size: 19px; font-weight: 800; letter-spacing: .3px; }

.sb-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.sb-link {
	display: flex; align-items: center; gap: 14px;
	padding: 9px 12px; border-radius: 6px;
	color: var(--text2); font-weight: 600; font-size: 14px;
	transition: color .15s, background .15s;
	white-space: nowrap;
}
.sb-link .icon { width: 20px; height: 20px; }
.sb-link:hover { color: var(--text); text-decoration: none; }
.sb-link.active { color: var(--text); background: rgba(255, 255, 255, .07); }
.sb-link.active .icon { color: var(--green); }

.sb-section {
	padding: 8px 12px 4px;
	font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
	color: var(--text3); text-transform: uppercase;
}
.sb-badge {
	width: 24px; height: 24px; border-radius: 4px; flex: none;
	display: inline-flex; align-items: center; justify-content: center;
}
.sb-badge .icon { width: 14px; height: 14px; }
.sb-badge-green { background: linear-gradient(135deg, #2ee07a, #137a3d); color: #000; }
.sb-badge-blue { background: linear-gradient(135deg, #6b8cff, #3b4fd8); color: #fff; }

.sb-scroll { flex: 1; overflow-y: auto; padding: 2px 2px 10px; }
.sb-mini-head { padding: 10px 12px 3px; color: var(--text2); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.sb-mini-head:first-child { padding-top: 3px; }
.sb-mini-head-artists { margin-top: 8px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; }
.sb-mini-empty { display: block; padding: 5px 12px; color: var(--text3); font-size: 12px; font-style: italic; }
.sb-mini {
	display: block; padding: 6px 12px; border-radius: 6px;
	color: var(--text3); font-size: 13px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-mini:hover { color: var(--text); text-decoration: none; }
.sb-mini.active { color: var(--green); background: rgba(255,255,255,.07); font-weight:700; }

.sb-legal { border:1px solid rgba(255,255,255,.12); background:#171717; border-radius:7px; margin:8px 4px 6px; padding:6px; display:flex; flex-direction:column; gap:2px; }
.sb-legal a { color:var(--text2); font-size:11.5px; line-height:1.35; font-weight:600; padding:5px 7px; border-radius:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sb-legal a:hover { color:var(--green); background:rgba(255,255,255,.07); text-decoration:none; }
.sb-legal a:last-child { color:#d0d0d0; }
.sb-copyright { margin:0 10px 6px; padding:0 7px; color:var(--text3); font-size:10.5px; line-height:1.55; text-align:left; }
.sb-footer {
	padding: 10px 12px 4px; border-top: 1px solid var(--line);
	color: var(--text3); font-size: 12px;
}
.sb-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--text3); margin-right: 6px; }
.sb-dot.on { background: var(--green); box-shadow: 0 0 6px var(--green); }

.sb-mask { display: none; }

/* ============ 主区域 ============ */
.main {
	flex: 1; min-width: 0;
	background: linear-gradient(180deg, #1d1d1d 0%, var(--bg) 340px);
	/* 为固定播放器保留独立滚动缓冲区，所有模板（专辑/歌单/法律页等）到底后都不会被遮住。 */
	padding-bottom: var(--player-h);
	overflow-y: auto;
	scroll-padding-bottom: calc(var(--player-h) + 32px);
	position: relative;
}
.page { padding: 12px 28px calc(var(--player-h) + 56px); min-height: calc(100vh - var(--topbar-h) - var(--player-h)); }

/* ---------- 顶栏 ---------- */
.topbar {
	position: sticky; top: 0; z-index: 50;
	height: var(--topbar-h);
	display: flex; align-items: center; gap: 16px;
	padding: 0 28px;
	background: var(--topbar-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.tb-burger { display: none; }.tb-mobile-search { display:none; }

.tb-search { position: relative; flex: 0 1 460px; min-width: 180px; }
.tb-search-icon {
	position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
	color: var(--text2); pointer-events: none;
	display: flex;
}
.tb-search-icon .icon { width: 17px; height: 17px; }
#globalSearch {
	width: 100%;
	background: #242424; border: 1px solid transparent; border-radius: 500px;
	color: var(--text); font-size: 14px;
	padding: 10px 16px 10px 42px;
	outline: none;
	transition: border-color .15s, background .15s;
}
#globalSearch::placeholder { color: var(--text3); }
#globalSearch:focus { background: #2a2a2a; border-color: #fff; }

.tb-results {
	position: absolute; top: calc(100% + 10px); left: 0; right: 0;
	background: #282828; border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
	padding: 6px; max-height: 380px; overflow-y: auto;
	z-index: 90;
}
.tb-results .song-row { border-radius: 8px; }
.tb-empty { padding: 16px; text-align: center; color: var(--text2); font-size: 13px; }

.tb-user { margin-left: auto; display: flex; align-items: center; gap: 10px; position: relative; }

/* ---------- 语言切换 ---------- */
.lang-switch {
	display: inline-flex;
	background: rgba(255, 255, 255, .09);
	border-radius: 500px;
	padding: 3px;
	gap: 2px;
}
.lang-btn {
	border: none; background: none; text-decoration: none;
	display: inline-flex; align-items: center;
	color: var(--text2);
	font-size: 12px; font-weight: 700; letter-spacing: .4px;
	padding: 5px 12px; border-radius: 500px;
	transition: background .15s, color .15s;
	cursor: pointer;
}
.lang-btn:hover { color: var(--text); text-decoration: none; }
.lang-btn.active { background: var(--text); color: #000; }
.lang-btn.active:hover { color: #000; }
.tb-user-btn {
	display: flex; align-items: center; gap: 10px;
	background: var(--bg-deep); border: none; color: var(--text);
	padding: 4px 10px 4px 4px; border-radius: 500px;
	font-size: 14px; font-weight: 600;
}
.tb-user-btn:hover { background: #1c1c1c; }
.tb-avatar {
	width: 30px; height: 30px; border-radius: 50%;
	background: linear-gradient(135deg, #8e2de2, #4a00e0);
	display: flex; align-items: center; justify-content: center;
	font-size: 13px; font-weight: 700; color: #fff;
}
.tb-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tb-dropdown {
	position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px;
	background: #282828; border-radius: 8px;
	padding: 6px; box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
	z-index: 95;
}
.tb-dropdown a {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 12px; border-radius: 5px;
	color: var(--text); font-size: 14px; font-weight: 500;
}
.tb-dropdown a .icon { color: var(--text2); }
.tb-dropdown a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.tb-sep { height: 1px; background: var(--line); margin: 6px 8px; }

/* ---------- 按钮 ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	border: none; border-radius: 500px;
	padding: 10px 26px;
	font-size: 14px; font-weight: 700;
	transition: transform .12s, background .12s, color .12s;
	text-decoration: none !important;
	line-height: 1.3;
}
.btn:active { transform: scale(.97); }
.btn-green { background: var(--green); color: #000; }
.btn-green:hover { background: var(--green-hover); }
.btn-ghost {
	background: transparent; color: var(--text);
	border: 1px solid rgba(255, 255, 255, .35);
}
.btn-ghost:hover { border-color: #fff; }
.btn-ghost.danger-text { color: #f15e6c; border-color: rgba(241, 94, 108, .5); }
.btn-sm { padding: 7px 18px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }
.btn-play-lg {
	background: var(--green); color: #000;
	padding: 14px 30px; font-size: 15px;
	box-shadow: 0 8px 24px rgba(29, 185, 84, .35);
}
.btn-play-lg:hover { background: var(--green-hover); }
.btn-play-lg .icon { width: 18px; height: 18px; }

.btn-icon {
	width: 42px; height: 42px; border-radius: 50%;
	border: none; background: transparent;
	color: var(--text2); display: inline-flex; align-items: center; justify-content: center;
	transition: color .15s, transform .12s, background .15s;
	flex: none;
}
.btn-icon .icon { width: 20px; height: 20px; }
.btn-icon:hover { color: var(--text); transform: scale(1.06); }
.btn-icon-lg { width: 48px; height: 48px; }
.btn-icon-sm { width: 32px; height: 32px; }
.btn-icon-sm .icon { width: 16px; height: 16px; }
.btn-icon.danger:hover { color: var(--red); }
.btn-icon.active { color: var(--green); }
.btn-icon.active .icon { fill: currentColor; }

/* ---------- 页面头部 ---------- */
.page-head { display: flex; align-items: flex-end; gap: 18px; margin: 18px 0 22px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
.page-sub { margin: 6px 0 0; color: var(--text2); font-size: 14px; }
.page-head .btn-play-lg { margin-left: auto; }
.page-head-icon {
	width: 64px; height: 64px; border-radius: 12px; flex: none;
	display: flex; align-items: center; justify-content: center;
}
.page-head-icon .icon { width: 32px; height: 32px; }
.page-head-icon.liked {
	background: linear-gradient(135deg, #7c3aed, #db2777);
	box-shadow: 0 8px 24px rgba(124, 58, 237, .35);
}

.page-head-term { align-items: center; }
.term-desc { color: var(--text2); margin: 8px 0 0; max-width: 560px; }

/* ---------- 筛选胶囊 ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px;
	background: #232323; color: var(--text);
	padding: 7px 16px; border-radius: 500px;
	font-size: 13px; font-weight: 500;
	transition: background .15s;
}
.chip:hover { background: #2e2e2e; text-decoration: none; }
.chip.active { background: var(--text); color: #000; font-weight: 700; }
.chip em { font-style: normal; opacity: .6; font-size: 12px; }

.sort-row { display: flex; gap: 14px; margin-bottom: 14px; }
.sort-btn { color: var(--text2); font-size: 13px; font-weight: 600; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.sort-btn:hover { color: var(--text); text-decoration: none; }
.sort-btn.active { color: var(--text); border-bottom-color: var(--green); }

/* ---------- Hero（首页主打） ---------- */
.hero {
	display: flex; gap: 30px; align-items: flex-end;
	padding: 34px 8px 30px;
	background: linear-gradient(180deg, rgba(29, 185, 84, .22) 0%, rgba(18, 18, 18, 0) 78%);
	border-radius: 0 0 24px 24px;
	margin: -12px -28px 10px;
	padding-left: 36px; padding-right: 36px;
}
.hero-cover { flex: none; }
.hero-cover img {
	width: 212px; height: 212px; object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, .6);
	display: block;
}
.hero-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--text2); text-transform: uppercase; margin-bottom: 8px; }
.hero-title { margin: 0 0 10px; font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; }
.hero-artist { color: var(--text2); font-size: 15px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-artist a { font-weight: 700; color: var(--text); }
.hero-artist a:hover { text-decoration: underline; }
.hero-plays { font-size: 13px; color: var(--text3); }
.hero-actions { display: flex; align-items: center; gap: 8px; margin-top: 20px; }

/* ---------- 分区 ---------- */
.section { margin-top: 34px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { margin: 0; font-size: 22px; font-weight: 800; }
.section-more {
	display: inline-flex; align-items: center; gap: 4px;
	color: var(--text2); font-size: 13px; font-weight: 600;
}
.section-more:hover { color: var(--text); text-decoration: none; }

/* ---------- MV 徽章 ---------- */
.sr-title-line, .pb-title-line { display: flex; align-items: center; gap: 7px; min-width: 0; }
.sr-title-line .sr-title, .pb-title-line .pb-title { flex: 0 1 auto; min-width: 0; }
.mv-badge {
	border: none; cursor: pointer;
	flex: none;
	background: linear-gradient(135deg, #ff5b5b, #e02020);
	color: #fff;
	font-size: 9.5px; font-weight: 800; letter-spacing: .5px;
	padding: 2px 6px; border-radius: 4px;
	line-height: 1.4;
	transition: transform .12s, filter .12s;
}
.mv-badge:hover { transform: scale(1.12); filter: brightness(1.1); }
.mv-badge.lg { font-size: 12px; padding: 4px 10px; border-radius: 5px; vertical-align: 6px; }

/* ---------- MV 播放弹窗 ---------- */
.modal-mv { width: min(880px, 96vw); padding: 20px; }
.mv-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; padding-right: 34px; }
.mv-head img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: none; }
.mv-info { min-width: 0; }
.mv-title { font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-artist { font-size: 13px; color: var(--text2); }
.mv-stage {
	position: relative;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 16/9;
	display: flex; align-items: center; justify-content: center;
}
.mv-stage video { width: 100%; height: 100%; object-fit: contain; display: block; }
.mv-msg { color: var(--text3); font-size: 14px; text-align: center; padding: 20px; }

/* ---------- 歌曲行 ---------- */
.song-list { display: flex; flex-direction: column; gap: 2px; }
.song-row {
	display: grid;
	grid-template-columns: 28px 44px minmax(0, 1fr) minmax(0, 24%) 36px 36px 52px;
	align-items: center;
	gap: 12px;
	padding: 7px 12px;
	border-radius: 7px;
	cursor: pointer;
	transition: background .15s;
}
.song-row:hover, .song-row:focus-visible { background: rgba(255, 255, 255, .1); outline: none; }

.sr-play {
	width: 28px; height: 28px; border: none; background: none;
	display: flex; align-items: center; justify-content: center;
	color: var(--text); position: relative; padding: 0;
}
.sr-num { font-size: 14px; color: var(--text3); font-variant-numeric: tabular-nums; }
.sr-play-icon { display: none; }
.sr-play-icon .icon { width: 19px; height: 19px; }
.song-row:hover .sr-num { display: none; }
.song-row:hover .sr-play-icon { display: block; }

/* 播放中：均衡器 */
.sr-eq { display: none; gap: 2.5px; align-items: flex-end; height: 15px; }
.sr-eq i { width: 3px; background: var(--green); border-radius: 2px; animation: wpsp-eq 1s ease-in-out infinite alternate; }
.sr-eq i:nth-child(1) { height: 45%; animation-delay: -.4s; }
.sr-eq i:nth-child(2) { height: 100%; animation-delay: -.2s; }
.sr-eq i:nth-child(3) { height: 65%; animation-delay: -.6s; }
@keyframes wpsp-eq { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
.song-row.is-playing .sr-num, .song-row.is-playing .sr-play-icon { display: none; }
.song-row.is-playing .sr-eq { display: flex; }
.song-row.is-playing .sr-title { color: var(--green); }
.song-row.is-playing.is-paused .sr-eq { display: none; }
.song-row.is-playing.is-paused .sr-play-icon { display: block; }

.sr-cover img { width: 42px; height: 42px; object-fit: cover; border-radius: 5px; display: block; }

.sr-main { min-width: 0; }
.sr-title {
	font-size: 15px; font-weight: 500; color: var(--text);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sr-artist { font-size: 13px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-genre { color: var(--text3); font-size: 12px; }
.sr-artist a:hover { text-decoration: underline; color: var(--text); }

.sr-album { font-size: 13px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sr-like, .sr-more, .sr-remove {
	width: 32px; height: 32px; border: none; background: none;
	display: flex; align-items: center; justify-content: center;
	color: var(--text3); border-radius: 50%;
	transition: color .15s, opacity .15s;
	padding: 0;
}
.sr-like .icon, .sr-more .icon, .sr-remove .icon { width: 17px; height: 17px; }
.sr-like:hover { color: var(--text); }
.sr-like.active { color: var(--green); }
.sr-like.active .icon { fill: currentColor; }
.sr-more:hover { color: var(--text); }
.sr-remove { opacity: .7; }
.sr-remove:hover { color: var(--red); opacity: 1; }

.sr-dur { font-size: 13px; color: var(--text3); font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- 歌单卡片 ---------- */
.playlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.playlist-card {
	background: var(--card); border-radius: 10px; padding: 16px 16px 14px;
	cursor: pointer; position: relative;
	transition: background .2s;
}
.playlist-card:hover { background: var(--card-hover); }
.pc-cover { position: relative; }
.pc-cover img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 7px; display: block; }
.pc-play {
	position: absolute; right: 10px; bottom: 10px;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--green); color: #000;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; transform: translateY(8px);
	transition: opacity .2s, transform .2s;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
}
.pc-play .icon { width: 20px; height: 20px; }
.playlist-card:hover .pc-play { opacity: 1; transform: translateY(0); }
.pc-play:hover { background: var(--green-hover); }
.pc-name { margin-top: 12px; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-count { font-size: 13px; color: var(--text2); margin-top: 2px; }
.pc-actions {
	position: absolute; top: 22px; right: 22px;
	display: flex; gap: 2px;
	background: rgba(0, 0, 0, .55); border-radius: 500px; padding: 2px;
	opacity: 0; transition: opacity .2s;
}
.playlist-card:hover .pc-actions { opacity: 1; }

/* ---------- 歌单详情 ---------- */
.playlist-detail { 
	/* 歌单详情是 playlist-grid 的子项；必须跨越整行，否则会被压缩成一张卡片宽度，歌曲标题/歌手/专辑列都会挤没。 */
	grid-column: 1 / -1; width: 100%; min-width: 0; margin-top: 6px;
}
.pd-head { display: flex; gap: 26px; align-items: flex-end; margin-bottom: 22px; }
.pd-cover img { width: 176px; height: 176px; object-fit: cover; border-radius: 10px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); display: block; }
.pd-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--text2); text-transform: uppercase; }
.pd-info h1 { margin: 6px 0 6px; font-size: 34px; font-weight: 800; letter-spacing: -.5px; }
.pd-meta { color: var(--text2); font-size: 14px; }
.pd-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.pd-toolbar { margin-bottom: 12px; }

/* ---------- 流派网格 ---------- */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.genre-card {
	background: linear-gradient(135deg, #232323, #1a1a1a);
	border: 1px solid var(--line);
	border-radius: 12px; padding: 18px;
	display: flex; flex-direction: column; gap: 4px;
	transition: transform .15s, border-color .15s, background .15s;
}
.genre-card:hover { transform: translateY(-3px); border-color: var(--green); background: linear-gradient(135deg, #2a2a2a, #1e1e1e); text-decoration: none; }
.genre-card-icon { color: var(--green); margin-bottom: 8px; }
.genre-card-icon .icon { width: 26px; height: 26px; }
.genre-card-name { font-size: 17px; font-weight: 700; }
.genre-card-count { font-size: 13px; color: var(--text2); }

/* ---------- 歌手网格 ---------- */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.artist-card {
	background: var(--card); border-radius: 10px; padding: 18px 12px 14px;
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	transition: background .2s, transform .15s;
}
.artist-card:hover { background: var(--card-hover); transform: translateY(-2px); text-decoration: none; }
.artist-avatar {
	width: 88px; height: 88px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 36px; font-weight: 800; color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
	flex: none;
}
.artist-avatar img { width:100%; height:100%; object-fit:cover; border-radius:inherit; display:block; }
.artist-external { color:var(--green); font-size:13px; font-weight:700; }
.artist-avatar.lg { width: 120px; height: 120px; font-size: 50px; }
.artist-avatar.c1 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.artist-avatar.c2 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.artist-avatar.c3 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.artist-avatar.c4 { background: linear-gradient(135deg, #fa709a, #fee140); }
.artist-avatar.c5 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.artist-avatar.c6 { background: linear-gradient(135deg, #f6d365, #fda085); }
.artist-name { font-size: 15px; font-weight: 700; text-align: center; }
.artist-count { font-size: 13px; color: var(--text2); }

/* ---------- 歌曲详情页 ---------- */
.song-hero {
	display: flex; gap: 30px; align-items: flex-end;
	padding: 30px 0 26px;
	margin: -12px 0 6px;
	background: linear-gradient(180deg, rgba(120, 90, 200, .28) 0%, rgba(18, 18, 18, 0) 80%);
	padding: 32px 12px 26px;
}
.song-hero-cover img { width: 210px; height: 210px; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 48px rgba(0, 0, 0, .6); display: block; }
.song-hero-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--text2); text-transform: uppercase; }
.song-hero-info h1 { margin: 8px 0 8px; font-size: clamp(30px, 4.5vw, 50px); font-weight: 900; letter-spacing: -1px; line-height: 1.1; }
.song-hero-artist { font-size: 16px; font-weight: 700; }
.song-hero-artist a:hover { text-decoration: underline; }
.song-hero-meta { display: flex; gap: 16px; color: var(--text2); font-size: 13px; margin-top: 8px; flex-wrap: wrap; }
.song-hero-tags { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.tag { background: rgba(255, 255, 255, .12); border-radius: 500px; padding: 4px 12px; font-size: 12px; color: var(--text2); }
.song-desc { color: var(--text2); line-height: 1.8; max-width: 760px; }

/* ---------- 空状态 / 登录提示 ---------- */
.empty-state { text-align: center; padding: 70px 20px 40px; }
.empty-state.small { padding: 30px 20px 10px; }
.es-icon {
	width: 84px; height: 84px; margin: 0 auto 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	display: flex; align-items: center; justify-content: center;
	color: var(--text2);
}
.es-icon .icon { width: 38px; height: 38px; }
.empty-state h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.empty-state p { color: var(--text2); margin: 0 0 20px; }

.auth-required { text-align: center; padding: 90px 20px 60px; }
.ar-icon {
	width: 92px; height: 92px; margin: 0 auto 20px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(29, 185, 84, .25), rgba(29, 185, 84, .05));
	border: 1px solid rgba(29, 185, 84, .4);
	display: flex; align-items: center; justify-content: center;
	color: var(--green);
}
.ar-icon .icon { width: 42px; height: 42px; }
.auth-required h2 { margin: 0 0 10px; font-size: 26px; font-weight: 800; }
.auth-required p { color: var(--text2); margin: 0 0 26px; font-size: 15px; }
.ar-actions { display: flex; gap: 12px; justify-content: center; }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; margin-top: 26px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; height: 36px; padding: 0 12px;
	border-radius: 500px; background: #232323; color: var(--text2);
	font-size: 13px; font-weight: 600;
}
.pagination .page-numbers:hover { background: #2e2e2e; color: var(--text); text-decoration: none; }
.pagination .page-numbers.current { background: var(--green); color: #000; font-weight: 700; }

.post-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { margin: 0 0 8px; font-size: 20px; }
.entry-content { color: var(--text2); line-height: 1.8; }
.entry-content img { border-radius: 10px; }

/* ============ 底部播放器（固定定位，始终可见） ============ */
.player-bar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	height: var(--player-h);
	flex: none;
	background: #181818;
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	padding: 0 16px;
	z-index: 100;
}
#pbAudio { display: none; }

.pb-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pb-cover { flex: none; }
.pb-cover img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; display: block; }
.pb-info { min-width: 0; }
.pb-title {
	font-size: 14px; font-weight: 500; color: var(--text);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	max-width: 240px;
}
.pb-artist { font-size: 12px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.pb-artist a:hover { color: var(--text); text-decoration: underline; }
.pb-like {
	width: 34px; height: 34px; border: none; background: none;
	color: var(--text3); display: flex; align-items: center; justify-content: center;
	border-radius: 50%; flex: none; padding: 0;
}
.pb-like .icon { width: 17px; height: 17px; }
.pb-like:hover { color: var(--text); }
.pb-like.active { color: var(--green); }
.pb-like.active .icon { fill: currentColor; }

.pb-center { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pb-controls { display: flex; align-items: center; justify-content: center; gap: 6px; }
.pb-btn {
	width: 34px; height: 34px; border: none; background: none;
	color: var(--text2); display: flex; align-items: center; justify-content: center;
	border-radius: 50%; padding: 0; position: relative;
	transition: color .15s, transform .12s;
}
.pb-btn.one::after {
	content: '1';
	position: absolute; top: 1px; right: 1px;
	font-size: 9px; font-weight: 800; color: var(--green);
}
.pb-btn .icon { width: 17px; height: 17px; }
.pb-btn:hover { color: var(--text); transform: scale(1.08); }
.pb-btn.on { color: var(--green); }
.pb-play {
	width: 38px; height: 38px; border: none; border-radius: 50%;
	background: #fff; color: #000;
	display: flex; align-items: center; justify-content: center;
	margin: 0 6px; padding: 0;
	transition: transform .12s, background .12s;
}
.pb-play:hover { transform: scale(1.06); background: var(--green); }
.player-bar { z-index: 1000; } /* 播放器始终最前，不被任何弹窗/面板遮挡 */
.pb-play .icon { width: 19px; height: 19px; }
.pb-pause-icon { display: none; }
.player-bar.playing .pb-play-icon { display: none; }
.player-bar.playing .pb-pause-icon { display: block; }

.pb-progress { display: flex; align-items: center; gap: 10px; }
.pb-time { font-size: 11px; color: var(--text2); font-variant-numeric: tabular-nums; min-width: 34px; }
.pb-time:last-child { text-align: right; }

/* 进度条 */
input[type="range"] {
	-webkit-appearance: none; appearance: none;
	width: 100%; height: 14px;
	background: transparent; cursor: pointer;
	margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
	height: 4px; border-radius: 2px;
	background: linear-gradient(to right, var(--range-fill, #fff) 0%, var(--range-fill, #fff) var(--fill, 0%), #4d4d4d var(--fill, 0%), #4d4d4d 100%);
}
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none;
	width: 12px; height: 12px; border-radius: 50%;
	background: #fff; margin-top: -4px;
	opacity: 0; transition: opacity .15s, transform .15s;
}
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:active::-webkit-slider-thumb { opacity: 1; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.25); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: #4d4d4d; }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--range-fill, #fff); }
input[type="range"]::-moz-range-thumb {
	width: 12px; height: 12px; border: none; border-radius: 50%; background: #fff; opacity: 0;
}
input[type="range"]:hover::-moz-range-thumb, input[type="range"]:active::-moz-range-thumb { opacity: 1; }

#pbSeek { --range-fill: #fff; }
#pbVol { max-width: 110px; --range-fill: var(--green); }

.pb-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.pb-btn.on-now { color: var(--green); }

/* ============ 歌词浮动面板（右下角） ============ */
.lyrics-float {
	position: fixed;
	right: 16px;
	bottom: calc(var(--player-h) + 14px);
	width: 340px;
	max-width: calc(100vw - 32px);
	background: rgba(28, 28, 28, .94);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
	z-index: 180;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: wpsp-lyr-in .22s ease-out;
}
.lyrics-float[hidden] { display: none; }
@keyframes wpsp-lyr-in {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

.lf-head {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	cursor: pointer;
	user-select: none;
}
.lf-cover {
	width: 38px; height: 38px; border-radius: 6px;
	object-fit: cover; flex: none;
}
.lf-meta { flex: 1; min-width: 0; }
.lf-title {
	font-size: 13px; font-weight: 700;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lf-artist {
	font-size: 11.5px; color: var(--text2);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lf-min, .lf-close {
	width: 28px; height: 28px; flex: none;
	border: none; background: none; border-radius: 50%;
	color: var(--text3); display: flex; align-items: center; justify-content: center;
	padding: 0; font-size: 14px;
}
.lf-min:hover, .lf-close:hover { color: var(--text); background: rgba(255, 255, 255, .1); }
.lf-close .icon { width: 14px; height: 14px; }

.lf-body {
	max-height: 38vh;
	overflow-y: auto;
	text-align: center;
	padding: 8px 6px 16px;
	scroll-behavior: smooth;
}
.lyrics-float.collapsed .lf-body { display: none; }
.lyrics-float.collapsed { width: 300px; }

.lf-line {
	padding: 7px 10px;
	font-size: 15px; line-height: 1.5;
	color: var(--text3);
	transition: color .25s, transform .25s, opacity .25s;
}
.lf-line.active { color: var(--green); font-weight: 800; transform: scale(1.02); }
.lf-line.past { color: var(--text2); }
.lf-text {
	white-space: pre-wrap; text-align: center;
	font-size: 14px; line-height: 1.9; color: var(--text2);
	padding: 8px 4px;
}
.lf-hint { color: var(--text3); font-size: 13px; padding: 22px 0; }

@media (max-width: 640px) {
	.lyrics-float { right: 10px; bottom: calc(var(--player-h) + 10px); width: 300px; }
	.lf-body { max-height: 34vh; }
}

/* ============ 播放队列面板 ============ */
.qp-backdrop {
	position: fixed; inset: 0; z-index: 260;
	background: rgba(0, 0, 0, .55);
}
.qp-backdrop[hidden] { display: none; }
.queue-panel {
	position: fixed; top: 0; right: 0; bottom: var(--player-h); z-index: 265;
	width: min(360px, 92vw);
	background: #1c1c1c;
	border-left: 1px solid var(--line);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform .22s ease;
	box-shadow: -16px 0 48px rgba(0, 0, 0, .5);
}
.queue-panel.open { transform: none; }
.queue-panel[hidden] { display: none; }
.qp-head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 20px 8px;
}
.qp-head h3 { margin: 0; font-size: 20px; font-weight: 800; }
.qp-close {
	width: 34px; height: 34px; border: none; background: none; border-radius: 50%;
	color: var(--text2); display: flex; align-items: center; justify-content: center;
}
.qp-close:hover { color: var(--text); background: rgba(255, 255, 255, .1); }
.qp-close .icon { width: 17px; height: 17px; }
.qp-sub {
	padding: 0 20px 10px;
	font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
	color: var(--text3);
}
.qp-list { flex: 1; overflow-y: auto; padding: 4px 10px 16px; }
.qp-row {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 10px; border-radius: 7px;
	cursor: pointer;
	transition: background .15s;
}
.qp-row:hover { background: rgba(255, 255, 255, .09); }
.qp-row.current { background: rgba(29, 185, 84, .14); }
.qp-row .qp-cover { position: relative; flex: none; }
.qp-row img { width: 40px; height: 40px; border-radius: 5px; object-fit: cover; display: block; }
.qp-row.current img { opacity: .75; }
.qp-row .qp-eq {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center; gap: 2px;
}
.qp-row .qp-eq i { width: 3px; background: var(--green); border-radius: 2px; animation: wpsp-eq 1s ease-in-out infinite alternate; }
.qp-row .qp-eq i:nth-child(1) { height: 40%; animation-delay: -.4s; }
.qp-row .qp-eq i:nth-child(2) { height: 100%; animation-delay: -.2s; }
.qp-row .qp-eq i:nth-child(3) { height: 60%; animation-delay: -.6s; }
.qp-main { flex: 1; min-width: 0; }
.qp-title { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-row.current .qp-title { color: var(--green); }
.qp-artist { font-size: 12px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-dur { font-size: 12px; color: var(--text3); font-variant-numeric: tabular-nums; }
.qp-rm {
	width: 28px; height: 28px; border: none; background: none; border-radius: 50%;
	color: var(--text3); display: flex; align-items: center; justify-content: center;
	opacity: 0; transition: opacity .15s, color .15s;
}
.qp-row:hover .qp-rm { opacity: 1; }
.qp-rm .icon { width: 15px; height: 15px; }
.qp-rm:hover { color: var(--red); }
.qp-empty { color: var(--text3); text-align: center; padding: 40px 20px; font-size: 14px; }

/* ============ 弹窗 ============ */
.modal-backdrop {
	position: fixed; inset: 0; z-index: 300;
	background: rgba(0, 0, 0, .65);
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.modal-backdrop[hidden] { display: none; }
.modal {
	background: #242424;
	border-radius: 14px;
	padding: 26px;
	width: 440px; max-width: 100%;
	position: relative;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
	animation: wpsp-pop .18s ease-out;
}
@keyframes wpsp-pop { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }
.modal-sm { width: 380px; }
.modal-close {
	position: absolute; top: 12px; right: 12px;
	width: 34px; height: 34px; border: none; background: none; border-radius: 50%;
	color: var(--text2); display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--text); background: rgba(255, 255, 255, .1); }
.modal-close .icon { width: 18px; height: 18px; }
.modal-title { margin: 0 0 18px; font-size: 22px; font-weight: 800; }

.auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.auth-tab {
	flex: 1; padding: 9px; border-radius: 500px;
	border: 1px solid transparent; background: none;
	color: var(--text2); font-size: 14px; font-weight: 700;
}
.auth-tab.active { background: rgba(255, 255, 255, .12); color: var(--text); }

.auth-form { display: flex; flex-direction: column; gap: 6px; }
.auth-form label { font-size: 13px; font-weight: 600; margin-top: 8px; }
.auth-form input {
	background: #1a1a1a; border: 1px solid transparent; border-radius: 8px;
	padding: 11px 14px; color: var(--text); font-size: 14px; outline: none;
	transition: border-color .15s;
}
.auth-form input:focus { border-color: var(--green); }
.auth-form .btn { margin-top: 16px; }
.auth-link { text-align: center; margin-top: 14px; font-size: 13px; color: var(--text2); }
.auth-link:hover { color: var(--text); text-decoration: underline; }

.auth-msg {
	margin-top: 14px; padding: 10px 14px; border-radius: 8px;
	font-size: 13px; background: rgba(233, 20, 41, .12); color: #ff8a94;
}
.auth-msg.ok { background: rgba(29, 185, 84, .12); color: #5bd488; }

.modal input[type="text"] {
	width: 100%;
	background: #1a1a1a; border: 1px solid transparent; border-radius: 8px;
	padding: 11px 14px; color: var(--text); font-size: 14px; outline: none;
	margin-bottom: 18px;
}
.modal input[type="text"]:focus { border-color: var(--green); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ============ 更多操作弹出层 ============ */
.popover {
	position: fixed; z-index: 1250;
	background: #282828; border-radius: 10px;
	min-width: 200px; max-width: 300px;
	padding: 6px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
	animation: wpsp-pop .14s ease-out;
}
.popover[hidden] { display: none; }
.pv-head {
	padding: 8px 12px 8px; border-bottom: 1px solid var(--line);
	font-size: 13px; font-weight: 700;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pv-sub { color: var(--text2); font-weight: 500; font-size: 12px; }
.pv-item {
	display: flex; align-items: center; gap: 10px;
	width: 100%; text-align: left;
	background: none; border: none; border-radius: 6px;
	color: var(--text); font-size: 13.5px; font-weight: 500;
	padding: 9px 12px; margin: 1px 0;
}
.pv-item .icon { color: var(--text2); width: 16px; height: 16px; }
.pv-item:hover { background: rgba(255, 255, 255, .12); }
.pv-item.danger { color: #f15e6c; }
.pv-item.danger .icon { color: #f15e6c; }
.pv-sep { height: 1px; background: var(--line); margin: 4px 10px; }
.pv-scroll { max-height: 220px; overflow-y: auto; }
.pv-playlist { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }

/* ============ 提示 ============ */
.toast-wrap {
	position: fixed; bottom: calc(var(--player-h) + 26px); left: 50%;
	transform: translateX(-50%);
	z-index: 400; display: flex; flex-direction: column; gap: 8px; align-items: center;
	pointer-events: none;
}
.toast {
	background: #2e2e2e; color: var(--text);
	padding: 11px 20px; border-radius: 8px;
	font-size: 13.5px; font-weight: 500;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
	animation: wpsp-toast .25s ease-out;
	max-width: 90vw;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.toast.err { background: #3d1b1f; color: #ffb4bb; }
@keyframes wpsp-toast { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
	.song-row { grid-template-columns: 28px 44px minmax(0, 1fr) 36px 36px 52px; }
	.sr-album { display: none; }
}

@media (max-width: 900px) {
	:root { --sidebar-w: 260px; }
	.sidebar {
		position: fixed; top: 0; bottom: var(--player-h); left: 0;
		height: auto;
		transform: translateX(-100%);
		transition: transform .22s ease;
		box-shadow: 0 0 60px rgba(0, 0, 0, .6);
	}
	.sidebar.open { transform: none; }
	/* 移动端侧栏整体可上下滚动；合规与版权区块随内容滚动，不再被固定在播放器后面。 */
	.sidebar { overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; padding-bottom:14px; }
	.sidebar .sb-scroll { flex:none; overflow:visible; }
	.sidebar .sb-legal, .sidebar .sb-footer, .sidebar .sb-copyright { flex:none; }
	.sb-mask {
		display: block; position: fixed; inset: 0; z-index: 55;
		background: rgba(0, 0, 0, .6);
	}
	.sb-mask[hidden] { display: none; }
	.tb-burger, .tb-mobile-search {
		display: flex; align-items: center; justify-content: center;
		width: 38px; height: 38px; border: none; background: none;
		color: var(--text); border-radius: 50%; flex: none;
	}
	.tb-burger .icon, .tb-mobile-search .icon { width: 20px; height: 20px; }
	.tb-burger:hover, .tb-mobile-search:hover { background: rgba(255, 255, 255, .1); }
	.tb-search { display:none; }
	.tb-mobile-search { width:38px; height:38px; border:none; background:none; color:var(--text); border-radius:50%; flex:none; }
	.tb-name { display: none; }
	.hero { gap: 18px; padding-left: 20px; padding-right: 20px; }
	.hero-cover img { width: 150px; height: 150px; }
	.page { padding-left: 16px; padding-right: 16px; }
	.topbar { padding: 0 16px; gap: 8px; }
	.player-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; }
	.pb-right { gap: 2px; }
	#pbVol, #pbMute { display: none; }
	.pd-head { flex-direction: column; align-items: flex-start; gap: 14px; }
	.pd-cover img { width: 130px; height: 130px; }
}

@media (max-width: 640px) {
	:root { --player-h: 104px; }
	/* 手机播放器采用紧凑单行布局：保留歌曲信息、播放、歌词与队列，隐藏会挤压变形的进度/高级控制。 */
	.player-bar { height:var(--player-h); display:block; padding:0 8px; }
	/* 上半区仅放封面与完整歌名/歌手；控制区独立在下半区，长标题不再和按钮争抢宽度。 */
	.pb-left { position:absolute; left:8px; right:8px; top:10px; height:45px; gap:8px; min-width:0; }.pb-cover img { width:44px; height:44px; }.pb-info { flex:1; min-width:0; padding-right:0; }.pb-title { max-width:none; font-size:13px; }.pb-artist { max-width:none; font-size:11px; }.pb-like { display:none; }
	/* 主播放键绝对置于播放器视觉正中。 */
	.pb-center { position:absolute; left:50%; bottom:7px; width:42px; transform:translateX(-50%); gap:0; align-items:center; }.pb-controls { gap:0; }.pb-controls #pbShuffle,.pb-controls #pbPrev,.pb-controls #pbNext,.pb-controls #pbRepeat { display:none; }.pb-play { width:42px; height:42px; margin:0; }.pb-progress { display:none; }
	.pb-right { position:absolute; right:4px; bottom:11px; gap:0; justify-content:flex-end; }.pb-right .pb-btn { width:34px; height:34px; }.pb-right #pbMute,.pb-right #pbVol { display:none; }
	.song-row { grid-template-columns: 28px 44px minmax(0, 1fr) 32px 40px; gap: 10px; padding: 7px 8px; }
	.sr-more { display: none; }
	.sr-dur { font-size: 12px; }
	.hero { flex-direction: column; align-items: center; text-align: center; }
	.hero-cover img { width: 190px; height: 190px; }
	.hero-actions { justify-content: center; }
	.hero-artist { justify-content: center; }
	.song-hero { flex-direction: column; align-items: center; text-align: center; }
	.song-hero-meta { justify-content: center; }
	.song-hero-tags { justify-content: center; }
	.hero-actions { justify-content: center; }
	.pb-title, .pb-artist { max-width: 130px; }
	.pb-cover img { width: 46px; height: 46px; }
	.tb-search { flex: 1; }
	.page-head h1 { font-size: 26px; }
	.page-head .btn-play-lg { margin-left: 0; }
}
/* ================= Spotify 风格专辑 ================= */
.album-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(172px,1fr)); gap:22px; }
.album-card { display:block; padding:12px; border-radius:8px; color:var(--text); background:transparent; transition:background .2s,transform .2s; overflow:hidden; }
.album-card:hover { background:#1a1a1a; transform:translateY(-2px); }
.album-cover { position:relative; aspect-ratio:1; margin-bottom:14px; border-radius:6px; overflow:hidden; box-shadow:0 8px 24px rgba(0,0,0,.42); }
.album-cover img { width:100%;height:100%;object-fit:cover;display:block; }
.album-card strong,.album-card span,.album-card small { display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.album-card strong { font-size:15px;margin-bottom:7px; }.album-card span,.album-card small { color:var(--text2);font-size:13px;line-height:1.55; }
.album-play { position:absolute;right:10px;bottom:10px;width:46px;height:46px;border-radius:50%;background:var(--green);color:#000;display:grid;place-items:center;opacity:0;transform:translateY(10px);transition:.2s;box-shadow:0 7px 16px rgba(0,0,0,.45); }
.album-play .icon { position:absolute; left:50%; top:50%; width:22px; height:22px; margin:0; transform:translate(-50%,-50%); vertical-align:middle; fill:currentColor; }.album-card:hover .album-play { opacity:1;transform:none; }
.album-hero { min-height:340px; padding:46px 30px 32px; display:flex;align-items:flex-end;gap:30px; margin:-20px -30px 26px; background:linear-gradient(150deg,#3c3659 0%,#171717 62%,var(--bg) 100%); }
.album-hero-cover img { width:232px;height:232px;object-fit:cover;display:block;box-shadow:0 18px 42px rgba(0,0,0,.55); }.album-hero-info h1 { font-size:clamp(36px,6vw,72px);line-height:1;margin:9px 0 13px;letter-spacing:-2px; }.album-by { font-weight:700;font-size:15px; }.album-description { max-width:760px;color:var(--text2);line-height:1.7;margin:0 0 28px; }
.btn-play-lg.is-current { min-width:116px; }.btn-play-lg.is-playing { background:#fff;color:#111; }
@media(max-width:700px){.album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.album-card{padding:8px}.album-hero{margin:-14px -16px 24px;padding:36px 16px 26px;align-items:center;gap:18px;flex-direction:column;text-align:center}.album-hero-cover img{width:190px;height:190px}.album-hero-info h1{font-size:40px}.album-hero .song-hero-meta{justify-content:center}.album-hero .hero-actions{justify-content:center}}

/* ---------- 广告合规页面 ---------- */
.legal-page { max-width:900px; padding-bottom:130px; }.legal-head { padding:48px 0 26px; border-bottom:1px solid var(--line); }.legal-head h1 { font-size:clamp(34px,5vw,56px); margin:6px 0 10px; letter-spacing:-1px; }.legal-head p { color:var(--text2); }.legal-content { max-width:760px; padding:28px 0; color:var(--text2); font-size:15px; line-height:1.85; }.legal-content h2 { color:var(--text); font-size:21px; margin:32px 0 9px; }.legal-content p { margin:0 0 15px; }.legal-content strong { color:var(--text); }
@media(max-width:900px){.legal-page{padding-bottom:calc(var(--player-h) + 56px)}}

/* ---------- 今日主打：Top 20 随机精选，自适应展示位 ---------- */
.featured-section { margin:14px 0 38px; }.featured-section h1 { margin:4px 0 0; font-size:30px; letter-spacing:-.7px; }
.featured-grid { display:flex; gap:14px; overflow-x:auto; overflow-y:hidden; padding:2px 2px 12px; margin:0 -2px; scroll-snap-type:x proximity; scrollbar-color:var(--text3) transparent; }
.featured-grid::-webkit-scrollbar{height:7px}.featured-grid::-webkit-scrollbar-thumb{background:#555;border-radius:20px}.featured-grid::-webkit-scrollbar-track{background:transparent}
.featured-card { flex:0 0 clamp(180px,19vw,240px); scroll-snap-align:start; position:relative; aspect-ratio:1/1; overflow:hidden; border-radius:10px; background:var(--card); isolation:isolate; cursor:pointer; box-shadow:0 8px 22px rgba(0,0,0,.28); }
.featured-card>img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease; }.featured-card:hover>img { transform:scale(1.07); }
.featured-shade { position:absolute;inset:0;background:linear-gradient(transparent 32%,rgba(0,0,0,.86) 100%);z-index:1; }
.featured-info { position:absolute;z-index:2;left:14px;right:13px;bottom:13px;min-width:0; }.featured-info strong,.featured-info span { display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }.featured-info strong{font-size:16px}.featured-info span{color:#ddd;font-size:12px;margin-top:4px}
.featured-play { position:absolute;z-index:3;right:12px;top:12px;width:43px;height:43px;border:0;border-radius:50%;background:var(--green);color:#000;display:grid;place-items:center;opacity:0;transform:translateY(7px);transition:.2s;box-shadow:0 5px 15px rgba(0,0,0,.45); }.featured-play .icon{width:21px;height:21px}.featured-card:hover .featured-play,.featured-card:focus-within .featured-play{opacity:1;transform:none}.featured-play:hover{background:var(--green-hover)}.featured-card.is-playing .featured-play{opacity:1;transform:none;background:#fff}
/* 单行横向滚动：小屏保留所有随机主打歌曲，不再折行或隐藏。 */
@media(max-width:600px){.featured-grid{gap:10px;padding-bottom:10px}.featured-card{flex-basis:155px}.featured-section h1{font-size:25px}.featured-info{left:10px;bottom:10px}.featured-info strong{font-size:14px}.featured-play{opacity:1;transform:none;width:38px;height:38px;right:9px;top:9px}}

/* ---------- 手机搜索弹窗 ---------- */
.mobile-search-backdrop{display:none;position:fixed;inset:0;z-index:1200;background:rgba(0,0,0,.68);backdrop-filter:blur(5px);padding:18px}.mobile-search-backdrop:not([hidden]){display:flex;align-items:flex-start;justify-content:center;padding-top:82px}.mobile-search-dialog{width:min(560px,100%);background:#242424;border:1px solid rgba(255,255,255,.13);border-radius:14px;padding:20px;box-shadow:0 22px 60px rgba(0,0,0,.65);position:relative}.mobile-search-title{font-size:19px;font-weight:800;margin-bottom:15px}.mobile-search-dialog form{display:flex;align-items:center;gap:8px;background:#111;border:1px solid #555;border-radius:9px;padding:5px 5px 5px 12px}.mobile-search-dialog form>span{color:var(--text2);display:flex}.mobile-search-dialog input{min-width:0;flex:1;background:transparent;border:0;outline:0;color:var(--text);font-size:16px;padding:9px 0}.mobile-search-dialog form button{border:0;border-radius:6px;background:var(--green);color:#000;font-weight:800;padding:10px 13px}.mobile-search-dialog p{color:var(--text3);font-size:12px;margin:12px 0 0}.mobile-search-close{position:absolute;right:12px;top:12px;border:0;background:transparent;color:var(--text2);padding:5px}.mobile-search-close .icon{width:20px;height:20px}

/* 手机播放器：顶部进度条 + 三态模式按钮 + 歌名溢出滚动 */
@media(max-width:640px){
 .player-bar{padding-top:5px;align-items:center;position:fixed}.pb-progress{display:flex;position:absolute;left:0;right:0;top:-1px;height:7px;gap:0}.pb-progress .pb-time{display:none}.pb-progress #pbSeek{height:7px;width:100%;padding:0}.pb-progress #pbSeek::-webkit-slider-runnable-track{height:3px;border-radius:0}.pb-progress #pbSeek::-moz-range-track,.pb-progress #pbSeek::-moz-range-progress{height:3px;border-radius:0}
 .pb-controls #pbRepeat{display:flex;width:34px;height:34px;position:fixed;right:76px;bottom:11px}.pb-center{position:static}.pb-center .pb-controls{position:static}.pb-title.marquee{animation:wpsp-mobile-marquee 7s ease-in-out infinite alternate;will-change:transform}@keyframes wpsp-mobile-marquee{0%,16%{transform:translateX(0)}84%,100%{transform:translateX(-35%)}}
}
/* 手机/窄屏播放器最终布局：以播放器本身为定位基准，避免任何 grid 宽度导致播放键偏移。 */
@media(max-width:900px){
 :root{--player-h:104px}
 .player-bar{height:var(--player-h)!important;display:block!important;padding:0 8px!important;position:fixed!important}
 .player-bar .pb-left{position:absolute!important;left:8px!important;right:8px!important;top:10px!important;height:45px!important;display:flex!important;min-width:0!important;gap:8px!important}
 .player-bar .pb-cover img{width:44px!important;height:44px!important}.player-bar .pb-info{flex:1!important;min-width:0!important}.player-bar .pb-title{max-width:none!important;font-size:13px!important}.player-bar .pb-artist{max-width:none!important;font-size:11px!important}.player-bar .pb-like{display:none!important}
 /* 取消中间容器布局影响，播放键直接相对 player-bar 的 50% 居中。 */
 .player-bar .pb-center,.player-bar .pb-controls{display:contents!important}.player-bar .pb-play{position:absolute!important;left:50%!important;bottom:7px!important;transform:translateX(-50%)!important;width:42px!important;height:42px!important;margin:0!important;z-index:2}
 .player-bar .pb-controls #pbShuffle,.player-bar .pb-controls #pbPrev,.player-bar .pb-controls #pbNext{display:none!important}.player-bar .pb-controls #pbRepeat{display:flex!important;position:absolute!important;right:76px!important;bottom:11px!important;width:34px!important;height:34px!important;z-index:2}
 .player-bar .pb-progress{display:flex!important;position:absolute!important;left:0!important;right:0!important;top:-1px!important;height:7px!important;gap:0!important}.player-bar .pb-progress .pb-time{display:none!important}.player-bar .pb-progress #pbSeek{height:7px!important;width:100%!important;padding:0!important}
 .player-bar .pb-right{position:absolute!important;right:4px!important;bottom:11px!important;display:flex!important;gap:0!important;z-index:2}.player-bar .pb-right .pb-btn{width:34px!important;height:34px!important}.player-bar .pb-right #pbMute,.player-bar .pb-right #pbVol{display:none!important}
}

@media(max-width:900px){.player-bar .pb-title.marquee{animation:wpsp-mobile-marquee 7s ease-in-out infinite alternate;will-change:transform}}
/* 手机播放器单行版：左侧紧凑歌曲信息 + 正中播放键 + 右侧模式/歌词/队列。 */
@media(max-width:900px){
 :root{--player-h:72px}
 .player-bar{height:var(--player-h)!important;padding:0 6px!important}
 .player-bar .pb-left{left:7px!important;right:auto!important;top:13px!important;width:calc(50% - 28px)!important;height:42px!important;gap:6px!important}
 .player-bar .pb-cover img{width:38px!important;height:38px!important}.player-bar .pb-title{font-size:12px!important;line-height:17px!important}.player-bar .pb-artist{font-size:10px!important;line-height:14px!important}
 .player-bar .pb-play{bottom:9px!important;width:40px!important;height:40px!important}
 .player-bar .pb-controls #pbRepeat{right:72px!important;bottom:12px!important;width:30px!important;height:30px!important}
 .player-bar .pb-right{right:2px!important;bottom:10px!important}.player-bar .pb-right .pb-btn{width:34px!important;height:34px!important}
 .player-bar .pb-progress{top:-1px!important}.player-bar .pb-progress #pbSeek{height:6px!important}
 .player-bar .pb-title.marquee{animation:wpsp-mobile-marquee 6s linear infinite alternate}
}
/* 手机控制键平铺在歌曲信息右侧：上一首、播放、下一首、模式、歌词、队列。 */
@media(max-width:900px){
 .player-bar{display:grid!important;grid-template-columns:minmax(130px,42%) repeat(6,minmax(0,1fr));align-items:center!important;gap:2px!important;padding:5px 4px 0!important}
 .player-bar .pb-left{position:static!important;grid-column:1!important;width:auto!important;height:42px!important;min-width:0!important;align-self:center!important}
 .player-bar .pb-center,.player-bar .pb-controls,.player-bar .pb-right{display:contents!important}
 .player-bar .pb-controls #pbShuffle{display:none!important}
 .player-bar .pb-controls #pbPrev{display:flex!important;grid-column:2!important}.player-bar .pb-play{display:flex!important;grid-column:3!important;position:static!important;transform:none!important;left:auto!important;bottom:auto!important}.player-bar .pb-controls #pbNext{display:flex!important;grid-column:4!important}.player-bar .pb-controls #pbRepeat{display:flex!important;grid-column:5!important;position:static!important;right:auto!important;bottom:auto!important}.player-bar #pbLyrics{display:flex!important;grid-column:6!important;position:static!important}.player-bar #pbQueue{display:flex!important;grid-column:7!important;position:static!important}
 .player-bar .pb-btn,.player-bar .pb-play{justify-self:center!important;width:min(34px,100%)!important;height:auto!important;aspect-ratio:1!important;margin:0!important;padding:0!important}.player-bar .pb-btn .icon,.player-bar .pb-play .icon{width:17px!important;height:17px!important}
 .player-bar .pb-progress{display:flex!important;position:absolute!important;left:0!important;right:0!important;top:-1px!important}.player-bar .pb-title{max-width:none!important}.player-bar .pb-artist{max-width:none!important}
}
/* 窄屏顶部栏紧凑化：语言、登录与注册按钮不换行。 */
@media(max-width:900px){
 :root{--topbar-h:56px}
 .topbar{height:var(--topbar-h)!important;padding:0 10px!important;gap:4px!important}
 .tb-user{gap:5px!important}.lang-switch{padding:2px!important;gap:1px!important}.lang-btn{padding:5px 8px!important;font-size:11px!important;line-height:1!important;white-space:nowrap!important}
 .tb-user>.btn{padding:6px 10px!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important;min-height:30px!important}
 .tb-burger,.tb-mobile-search{width:34px!important;height:34px!important}.tb-burger .icon,.tb-mobile-search .icon{width:19px!important;height:19px!important}
}
@media(max-width:380px){.topbar{padding:0 6px!important}.lang-btn{padding:5px 6px!important}.tb-user>.btn{padding:6px 8px!important;font-size:11px!important}}
/* 手机播放器进一步压缩：保持单行控制布局，同时减少垂直占用。 */
@media(max-width:900px){
 :root{--player-h:64px}
 .player-bar{height:var(--player-h)!important;padding-top:3px!important}
 .player-bar .pb-left{top:9px!important;height:36px!important}.player-bar .pb-cover img{width:34px!important;height:34px!important}.player-bar .pb-title{font-size:12px!important;line-height:16px!important}.player-bar .pb-artist{font-size:10px!important;line-height:12px!important}
 .player-bar .pb-btn,.player-bar .pb-play{width:min(30px,100%)!important}.player-bar .pb-controls #pbRepeat{width:28px!important;height:28px!important;bottom:8px!important}.player-bar .pb-right{bottom:7px!important}.player-bar .pb-right .pb-btn{width:30px!important;height:30px!important}.player-bar .pb-play{bottom:7px!important;width:36px!important;height:36px!important}
}
/* 单曲循环的“1”标记相对循环按钮定位，避免跑到播放器右上角。 */
@media(max-width:900px){.player-bar .pb-controls #pbRepeat{position:relative!important}.player-bar .pb-controls #pbRepeat.one::after{top:1px!important;right:1px!important}}
/* 循环按钮作为网格项参与垂直居中；清除旧版 bottom 位移。 */
@media(max-width:900px){.player-bar .pb-controls #pbRepeat{position:relative!important;right:auto!important;bottom:auto!important;align-self:center!important}}
/* ---------- Privacy Policy 专属排版 ---------- */
.privacy-page{max-width:940px}.privacy-head{padding:64px 0 30px;background:radial-gradient(circle at 15% 10%,rgba(29,185,84,.18),transparent 42%);border-bottom:1px solid var(--line)}.privacy-head h1{font-size:clamp(42px,6vw,68px);margin:7px 0 8px;letter-spacing:-1.8px}.privacy-content{max-width:820px;font-size:15px;line-height:1.9;color:var(--text2)}.privacy-content>p:first-child{font-size:17px;line-height:1.8;color:#dedede;padding:20px 24px;border-left:3px solid var(--green);background:rgba(255,255,255,.035);border-radius:0 8px 8px 0}.privacy-content h2{font-size:23px;color:var(--text);margin:42px 0 14px;letter-spacing:-.2px}.privacy-content h2 span{font-size:12px;color:var(--green);font-weight:700;text-transform:uppercase;letter-spacing:.7px;margin-left:7px}.privacy-content ol{margin:0;padding:0;list-style:none;counter-reset:privacy}.privacy-content ol li{counter-increment:privacy;position:relative;padding:15px 16px 15px 52px;margin:9px 0;background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.06);border-radius:8px}.privacy-content ol li:before{content:counter(privacy);position:absolute;left:16px;top:16px;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:rgba(29,185,84,.16);color:var(--green);font-size:12px;font-weight:800}.privacy-contact{margin:46px 0 12px;padding:24px;display:flex;gap:24px;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#1d4030,#173123);border:1px solid rgba(29,185,84,.35);border-radius:12px}.privacy-contact span{font-size:11px;color:var(--green);font-weight:800;letter-spacing:1px}.privacy-contact h2{margin:5px 0;font-size:22px}.privacy-contact p{margin:0;font-size:13px}.privacy-contact-details{min-width:210px;padding:12px 14px;background:rgba(0,0,0,.2);border-radius:8px}.privacy-contact-details strong,.privacy-contact-details a{display:block}.privacy-contact-details a{color:var(--green);margin-top:5px}@media(max-width:640px){.privacy-head{padding:38px 0 22px}.privacy-content>p:first-child{font-size:15px;padding:15px}.privacy-content h2{font-size:20px;margin-top:32px}.privacy-content ol li{padding:13px 12px 13px 46px}.privacy-contact{display:block;padding:18px}.privacy-contact-details{margin-top:16px;min-width:0}}
/* ---------- Terms of Service 专属排版 ---------- */
.terms-page{max-width:940px}.terms-head{padding:64px 0 30px;background:radial-gradient(circle at 85% 8%,rgba(29,185,84,.18),transparent 42%);border-bottom:1px solid var(--line)}.terms-head h1{font-size:clamp(42px,6vw,68px);margin:7px 0 8px;letter-spacing:-1.8px}.terms-content{max-width:820px;font-size:15px;line-height:1.9;color:var(--text2)}.terms-content>p:first-child{font-size:17px;line-height:1.8;color:#dedede;padding:20px 24px;border-left:3px solid var(--green);background:rgba(29,185,84,.035);border-radius:0 8px 8px 0}.terms-content h2{font-size:23px;color:var(--text);margin:42px 0 14px;letter-spacing:-.2px}.terms-content h2 span{font-size:12px;color:var(--green);font-weight:700;text-transform:uppercase;letter-spacing:.7px;margin-left:7px}.terms-content ol{margin:0;padding:0;list-style:none;counter-reset:terms}.terms-content ol li{counter-increment:terms;position:relative;padding:15px 16px 15px 52px;margin:9px 0;background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.06);border-radius:8px}.terms-content ol li:before{content:counter(terms);position:absolute;left:16px;top:16px;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:rgba(29,185,84,.16);color:var(--green);font-size:12px;font-weight:800}.terms-contact{margin:46px 0 12px;padding:24px;display:flex;gap:24px;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#1d4030,#173123);border:1px solid rgba(29,185,84,.35);border-radius:12px}.terms-contact span{font-size:11px;color:var(--green);font-weight:800;letter-spacing:1px}.terms-contact h2{margin:5px 0;font-size:22px}.terms-contact p{margin:0;font-size:13px}.terms-contact-details{min-width:210px;padding:12px 14px;background:rgba(0,0,0,.2);border-radius:8px}.terms-contact-details strong,.terms-contact-details a{display:block}.terms-contact-details a{color:var(--green);margin-top:5px}@media(max-width:640px){.terms-head{padding:38px 0 22px}.terms-content>p:first-child{font-size:15px;padding:15px}.terms-content h2{font-size:20px;margin-top:32px}.terms-content ol li{padding:13px 12px 13px 46px}.terms-contact{display:block;padding:18px}.terms-contact-details{margin-top:16px;min-width:0}}
/* ---------- Cookie / 广告披露：统一隐私政策绿色主题 ---------- */
.green-legal-head{padding:64px 0 30px;background:radial-gradient(circle at 15% 10%,rgba(29,185,84,.18),transparent 42%);border-bottom:1px solid var(--line)}.green-legal-head h1{font-size:clamp(42px,6vw,68px);margin:7px 0 8px;letter-spacing:-1.8px}.green-legal-content{max-width:820px;font-size:15px;line-height:1.9;color:var(--text2)}.green-legal-content>p:first-child{font-size:17px;line-height:1.8;color:#dedede;padding:20px 24px;border-left:3px solid var(--green);background:rgba(255,255,255,.035);border-radius:0 8px 8px 0}.green-legal-content h2{font-size:23px;color:var(--text);margin:42px 0 14px;letter-spacing:-.2px}.green-legal-content a{color:var(--green)}.green-legal-content ol{margin:0;padding:0;list-style:none;counter-reset:greenlegal}.green-legal-content ol li{counter-increment:greenlegal;position:relative;padding:15px 16px 15px 52px;margin:9px 0;background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.06);border-radius:8px}.green-legal-content ol li:before{content:counter(greenlegal);position:absolute;left:16px;top:16px;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:rgba(29,185,84,.16);color:var(--green);font-size:12px;font-weight:800}.green-legal-contact{margin:46px 0 12px;padding:24px;display:flex;gap:24px;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#1d4030,#173123);border:1px solid rgba(29,185,84,.35);border-radius:12px}.green-legal-contact span{font-size:11px;color:var(--green);font-weight:800;letter-spacing:1px}.green-legal-contact h2{margin:5px 0;font-size:22px}.green-legal-contact p{margin:0;font-size:13px}.green-legal-contact>a{min-width:210px;padding:12px 14px;background:rgba(0,0,0,.2);border-radius:8px;color:var(--green)}.sb-custom-logo{width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex:none}.sb-custom-logo .custom-logo-link{display:block;height:34px}.sb-custom-logo .custom-logo{width:34px;height:34px;object-fit:contain;display:block}@media(max-width:640px){.green-legal-head{padding:38px 0 22px}.green-legal-content>p:first-child{font-size:15px;padding:15px}.green-legal-content h2{font-size:20px;margin-top:32px}.green-legal-content ol li{padding:13px 12px 13px 46px}.green-legal-contact{display:block;padding:18px}.green-legal-contact>a{display:block;margin-top:16px;min-width:0}}
/* 手机 / 平板保留触控纵向滚动，但隐藏浏览器垂直滚动条。 */
@media(max-width:900px){
 .main{scrollbar-width:none;-ms-overflow-style:none}.main::-webkit-scrollbar{width:0;height:0;display:none}
}
/* ---------- 手机 / Pad 播放器下方底部导航 ---------- */
.mobile-bottom-nav{display:none}
@media(max-width:900px){
 :root{--mobile-nav-h:56px}
 .mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;height:var(--mobile-nav-h);z-index:1001;background:#101010;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);align-items:stretch;padding:3px 4px env(safe-area-inset-bottom)}
 .mobile-bottom-nav a,.mobile-bottom-nav button{border:0;background:none;color:var(--text2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font:inherit;text-decoration:none;padding:3px 0;min-width:0}.mobile-bottom-nav .icon{width:19px;height:19px}.mobile-bottom-nav span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.mobile-bottom-nav a:hover,.mobile-bottom-nav button:hover{color:var(--green)}.mobile-nav-library{display:none!important}
 /* 播放器、页面、侧栏和浮层均为底部导航预留空间。 */
 .player-bar{bottom:var(--mobile-nav-h)!important}.main{padding-bottom:calc(var(--player-h) + var(--mobile-nav-h))!important;scroll-padding-bottom:calc(var(--player-h) + var(--mobile-nav-h) + 24px)!important}.sidebar{bottom:calc(var(--player-h) + var(--mobile-nav-h))!important}.queue-panel{bottom:calc(var(--player-h) + var(--mobile-nav-h))!important}.lyrics-float{bottom:calc(var(--player-h) + var(--mobile-nav-h) + 10px)!important}
}
@media(min-width:641px) and (max-width:900px){.mobile-bottom-nav{grid-template-columns:repeat(6,1fr)}.mobile-nav-library{display:flex!important}}
/* ---------- 移动首页：专辑 / 流派 / 歌手双行横向滑动 ---------- */
@media(max-width:900px){
 .home-page .album-grid,.home-page .genre-grid,.home-page .artist-grid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,max-content);grid-template-columns:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;padding:2px 2px 12px;margin:0 -2px;scrollbar-width:none;-ms-overflow-style:none}
 .home-page .album-grid::-webkit-scrollbar,.home-page .genre-grid::-webkit-scrollbar,.home-page .artist-grid::-webkit-scrollbar{display:none;width:0;height:0}
 .home-page .album-grid{grid-auto-columns:minmax(142px,34vw);gap:12px}.home-page .genre-grid{grid-auto-columns:minmax(155px,38vw);gap:10px}.home-page .artist-grid{grid-auto-columns:minmax(130px,31vw);gap:10px}
 .home-page .album-card,.home-page .genre-card,.home-page .artist-card{scroll-snap-align:start;width:auto}.home-page .album-card{padding:8px}.home-page .genre-card{min-height:112px}.home-page .artist-card{padding:10px}
}
/* ---------- 移动 APP 模式：顶栏收起，个人中心承载账户与浏览分类 ---------- */
.mobile-profile-backdrop{display:none}
@media(max-width:900px){
 :root{--topbar-h:0px}
 .topbar{display:none!important}.sidebar{display:none!important}
 .mobile-bottom-nav{grid-template-columns:repeat(5,1fr)!important}.mobile-nav-profile{display:flex!important}
 .mobile-profile-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:1200;background:rgba(0,0,0,.62);backdrop-filter:blur(4px)}
 .mobile-profile-panel{position:absolute;right:0;top:0;bottom:0;width:min(390px,90vw);overflow-y:auto;background:#181818;padding:18px 16px calc(var(--player-h) + var(--mobile-nav-h) + 20px);box-shadow:-16px 0 45px rgba(0,0,0,.55);scrollbar-width:none}.mobile-profile-panel::-webkit-scrollbar{display:none}
 .mobile-profile-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:13px}.mobile-profile-head h2{margin:0;font-size:22px}.mobile-profile-head button{border:0;background:transparent;color:var(--text);padding:5px}.mobile-profile-head .icon{width:22px;height:22px}
 .mobile-profile-user{display:flex;align-items:center;gap:10px;padding:18px 0}.mobile-profile-user>div{min-width:0;flex:1}.mobile-profile-user strong,.mobile-profile-user small{display:block}.mobile-profile-user small{color:var(--text3);font-size:12px;margin-top:3px}.mobile-profile-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#8e2de2,#4a00e0);display:grid;place-items:center;font-weight:800}.mobile-profile-user .btn{padding:7px 11px;font-size:12px;white-space:nowrap}
 .mobile-profile-lang{display:flex;align-items:center;gap:7px;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px}.mobile-profile-lang span{margin-right:auto;color:var(--text2)}.mobile-profile-lang a{padding:5px 9px;border-radius:5px;background:#292929;color:var(--text)}
 .mobile-profile-library{display:flex;gap:8px;padding:14px 0}.mobile-profile-library a{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 6px;border-radius:7px;background:#242424;color:var(--text);font-size:13px;font-weight:700}.mobile-profile-library .icon{width:17px;height:17px;color:var(--green)}
 .mobile-profile-panel section{padding:10px 0;border-top:1px solid var(--line)}.mobile-profile-panel section h3{font-size:12px;letter-spacing:.8px;text-transform:uppercase;color:var(--text2);margin:0 0 10px}.mobile-profile-tags{display:flex;flex-wrap:wrap;gap:7px}.mobile-profile-tags a{padding:6px 9px;border-radius:99px;background:#292929;color:var(--text2);font-size:12px}.mobile-profile-tags a:hover{background:#343434;color:var(--green)}.mobile-profile-legal{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;font-size:11px}.mobile-profile-legal a{color:var(--text3)}.mobile-profile-copyright{margin-top:12px;padding-top:10px;border-top:1px solid var(--line);font-size:11px;line-height:1.55;color:var(--text3)}
}
@media(min-width:641px) and (max-width:900px){.mobile-bottom-nav{grid-template-columns:repeat(7,1fr)!important}.mobile-profile-library{display:none!important}}
/* 移动 APP 全屏内容：移除页面四周及顶部的通用留白。 */
@media(max-width:900px){
 .page{padding:0 0 calc(var(--player-h) + var(--mobile-nav-h) + 18px)!important;min-height:calc(100vh - var(--player-h) - var(--mobile-nav-h))!important}
 .page-head{margin:0 0 20px!important;padding:0 16px}.page-head .btn{margin-top:4px}
 .playlists-page .playlist-grid,.liked-page .song-list,.archive-page .song-list,.search-page .song-list{padding-left:8px;padding-right:8px}
 .album-hero{margin:0 0 24px!important}.song-hero{margin-top:0}
}
/* 账户操作按钮：移动个人中心与桌面用户下拉共用。 */
.mobile-profile-account-actions{display:flex;gap:8px;padding:0 0 14px}.mobile-profile-account-actions button,.tb-account-action{border:1px solid rgba(255,255,255,.2);background:transparent;color:var(--text);border-radius:6px;padding:7px 9px;display:inline-flex;align-items:center;gap:6px;font-size:12px}.mobile-profile-account-actions button .icon,.tb-account-action .icon{width:15px;height:15px}.mobile-profile-account-actions .danger,.tb-account-action.danger{color:#ff8290;border-color:rgba(233,20,41,.5)}.tb-account-action{width:100%;border:0;border-radius:5px;padding:10px 12px;font-size:14px;font-weight:500}.tb-account-action:hover{background:rgba(255,255,255,.12)}
/* 强制移除移动 APP 模式残留的顶栏占位与首页顶部外边距。 */
@media(max-width:900px){
 .topbar{display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important}
 .main{margin-top:0!important}.home-page .featured-section{margin-top:0!important}
}
/* ---------- PC APP 下载入口与二维码 ---------- */
.tb-app-download{position:relative;order:3;margin-left:10px}.tb-user{order:2;margin-left:auto}.tb-app-download>button{border:1px solid rgba(255,255,255,.18);background:#242424;color:var(--text);border-radius:500px;padding:7px 12px;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700}.tb-app-download>button .icon{width:15px;height:15px;color:var(--green)}.tb-app-qr{display:none;position:absolute;right:0;top:calc(100% + 9px);width:190px;padding:14px;background:#282828;border:1px solid rgba(255,255,255,.12);border-radius:10px;box-shadow:0 14px 36px rgba(0,0,0,.55);z-index:100;text-align:center}.tb-app-qr img{display:block;width:150px;height:150px;object-fit:contain;margin:0 auto 9px;background:#fff;padding:4px;border-radius:5px}.tb-app-qr strong,.tb-app-qr a{display:block;font-size:12px}.tb-app-qr a{color:var(--green);margin-top:6px}
.mobile-profile-app-download{display:none}
@media(max-width:900px){.tb-app-download{display:none!important}.mobile-profile-app-download{display:flex;align-items:center;gap:8px;padding:11px 10px;margin:12px 0;border-radius:8px;background:linear-gradient(135deg,#1d4030,#173123);border:1px solid rgba(29,185,84,.3);color:var(--text);font-size:13px;font-weight:700}.mobile-profile-app-download .icon:first-child{color:var(--green);width:19px;height:19px}.mobile-profile-app-download span{flex:1}.mobile-profile-app-download .icon:last-child{width:16px;height:16px;color:var(--text2)}}

@media(min-width:901px){.tb-app-download:hover .tb-app-qr{display:block}}
/* PC APP 二维码浮层：增加鼠标移动缓冲与延迟隐藏，方便点击下载链接。 */
@media(min-width:901px){
 .tb-app-download::after{content:"";position:absolute;left:-10px;right:-10px;top:100%;height:14px}
 .tb-app-download .tb-app-qr{display:block!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,visibility 0s linear .65s}
 .tb-app-download:hover .tb-app-qr{display:block!important;opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
}
/* ---------- 歌曲详情：封面、歌词与评论 ---------- */
.song-detail-page{max-width:1180px}.song-detail-grid{display:grid;grid-template-columns:minmax(280px,420px) minmax(0,1fr);gap:56px;align-items:start;padding:44px 0 34px}.song-detail-cover{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;display:block;box-shadow:0 18px 48px rgba(0,0,0,.5)}.song-detail-meta{padding-top:22px}.song-detail-meta h1{font-size:27px;margin:0 0 6px;letter-spacing:-.5px}.song-detail-meta>div{color:var(--text2)}.song-detail-actions{display:flex;align-items:center;gap:10px;margin-top:18px}.song-detail-label{font-size:12px;color:var(--text2);font-weight:800;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:16px}.song-lyrics-text{max-height:580px;overflow-y:auto;padding-right:18px;scrollbar-color:var(--text3) transparent}.song-lyrics-text p{font-size:20px;line-height:1.55;font-weight:600;color:var(--text2);margin:0 0 13px}.song-lyrics-text p:hover{color:var(--text)}.song-lyrics-empty{padding:28px;color:var(--text3);background:var(--card);border-radius:8px}.song-comments{border-top:1px solid var(--line);padding-top:28px}.wpsp-comment-list{list-style:none;padding:0;margin:0}.wpsp-comment-list .comment{padding:14px 0;border-bottom:1px solid var(--line);color:var(--text2)}.wpsp-comment-list .comment-author{color:var(--text)}.wpsp-comments textarea{width:100%;background:var(--card);border:1px solid var(--line);border-radius:7px;color:var(--text);padding:11px;resize:vertical}.wpsp-comments .submit{border:0;border-radius:99px;background:var(--green);color:#000;font-weight:800;padding:9px 18px}.wpsp-no-comments{color:var(--text3)}.pb-cover img,#lfCover{cursor:pointer}@media(max-width:900px){.song-detail-page{padding-left:16px!important;padding-right:16px!important}.song-detail-grid{grid-template-columns:1fr;gap:28px;padding-top:20px}.song-detail-left{max-width:420px}.song-detail-lyrics{width:100%}.song-lyrics-text{max-height:none;padding-right:0}.song-lyrics-text p{font-size:18px}.song-comments{padding-bottom:18px}}
/* 歌曲详情同步歌词：中间高亮、上下羽化遮罩。 */
.song-detail-lyrics{position:relative;min-height:580px;overflow:hidden}.song-detail-lyrics::before,.song-detail-lyrics::after{content:"";position:absolute;z-index:2;left:0;right:0;height:115px;pointer-events:none}.song-detail-lyrics::before{top:28px;background:linear-gradient(to bottom,var(--bg) 0%,rgba(18,18,18,0) 100%)}.song-detail-lyrics::after{bottom:0;background:linear-gradient(to top,var(--bg) 0%,rgba(18,18,18,0) 100%)}.song-lyrics-text{position:relative;z-index:1;padding:210px 18px 240px 0;max-height:580px!important;scroll-behavior:smooth}.song-lyrics-text .sd-lyric-line{color:var(--text3);font-size:21px;font-weight:600;line-height:1.52;transition:color .28s,transform .28s,opacity .28s;opacity:.5}.song-lyrics-text .sd-lyric-line.past{opacity:.35}.song-lyrics-text .sd-lyric-line.active{color:var(--text);opacity:1;transform:scale(1.025);transform-origin:left center}@media(max-width:900px){.song-detail-lyrics{min-height:430px}.song-lyrics-text{max-height:430px!important;padding:150px 4px 180px 0}.song-detail-lyrics::before{height:90px}.song-detail-lyrics::after{height:90px}.song-lyrics-text .sd-lyric-line{font-size:18px}}

/* 歌曲详情歌词：无标题、透明融入页面、隐藏滚动条并使用当前主题高亮色。 */
.song-detail-lyrics{background:transparent!important}.song-lyrics-text{background:transparent!important;scrollbar-width:none;-ms-overflow-style:none}.song-lyrics-text::-webkit-scrollbar{display:none;width:0;height:0}.song-lyrics-text .sd-lyric-line.active{color:var(--green)!important;text-shadow:0 0 18px color-mix(in srgb,var(--green) 28%,transparent)}
/* 取消详情页歌词上下羽化遮罩，所有歌词保持原始清晰显示。 */
.song-detail-lyrics::before,.song-detail-lyrics::after{display:none!important}.song-lyrics-text{padding:0 18px 0 0!important}
@media(max-width:900px){.song-lyrics-text{padding:0 4px 0 0!important}}

/* 歌曲行互动图标：收藏 → 评论 → 分享。 */
.sr-share{width:32px;height:32px;border:0;background:none;display:flex;align-items:center;justify-content:center;color:var(--text3);border-radius:50%;padding:0}.sr-share .icon{width:17px;height:17px}.sr-share:hover{color:var(--text)}
.song-detail-actions .sr-comment,.song-detail-actions .sr-share{width:38px;height:38px;border:1px solid var(--line);border-radius:50%}
@media(min-width:1101px){.song-row{grid-template-columns:28px 44px minmax(0,1fr) minmax(0,24%) 36px 32px 32px 36px 52px}}@media(max-width:1100px) and (min-width:641px){.song-row{grid-template-columns:28px 44px minmax(0,1fr) 32px 32px 32px 36px 52px}}@media(max-width:640px){.song-row{grid-template-columns:28px 44px minmax(0,1fr) 26px 26px 26px 34px;gap:5px}.sr-comment,.sr-share{width:26px;height:26px}.sr-comment .icon,.sr-share .icon{width:15px;height:15px}}

/* 歌曲互动操作统一圆形边框：收藏、评论、分享。 */
.sr-like,.sr-comment,.sr-share{border:1px solid var(--line)!important;border-radius:50%;background:transparent}.sr-like.active{border-color:color-mix(in srgb,var(--green) 55%,var(--line))!important}
/* 评论为链接元素，显式锁定为正圆，防止 Grid 默认拉伸成椭圆。 */
.sr-like,.sr-comment,.sr-share{width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;box-sizing:border-box;display:inline-flex!important;align-items:center!important;justify-content:center!important;justify-self:center;align-self:center;aspect-ratio:1/1;line-height:1!important}
@media(max-width:640px){.sr-like,.sr-comment,.sr-share{width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important}}
/* 自定义歌曲评论展示，避免 WordPress 后台语言影响前台英文日期与操作文案。 */
.wpsp-comment{list-style:none}.wpsp-comment-head{display:flex;align-items:center;gap:9px}.wpsp-comment-head .avatar{border-radius:50%}.wpsp-comment-head strong,.wpsp-comment-head time{display:block}.wpsp-comment-head time{font-size:12px;color:var(--text3);margin-top:3px}.wpsp-comment-edit{margin-left:auto;color:var(--text2);font-size:12px}.wpsp-comment-body{padding:8px 0 0 47px;line-height:1.65}
