/* 引入抖音美好体字体 */
/* 注意：如果CDN不可用，请下载字体文件到 fonts/ 目录 */
@font-face {
	font-family: 'Douyin Sans Bold';
	src: url('../fonts/DouYin.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	font-family: 'Douyin Sans Bold', 'Microsoft YaHei', Arial, sans-serif;
	position: relative;
}

/* 背景容器 */
.background-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	filter: blur(30px);
	transform: scale(1.1);
	z-index: -1; /* 确保在可视化效果之后 */
}

/* 音频可视化效果 */
.audio-visualization {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 30%;
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	padding: 20px 50px 0;
	opacity: 0.7;
	pointer-events: none;
	perspective: 1000px;
	z-index: 1; /* 在背景模糊层之后 */
}

/* 可视化效果类型：顶部条形 */
.audio-visualization.type-top-bars {
	height: 30%;
	align-items: flex-start;
	padding-top: 20px;
}

.visualization-bar {
	width: 4px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
	border-radius: 2px;
	transition: height 0.1s ease;
	box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
	opacity: 0.6;
}

/* 可视化效果类型：圆形波浪 */
.audio-visualization.type-circle-wave {
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.visualization-circle {
	position: absolute;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transition: all 0.1s ease;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* 可视化效果类型：粒子效果 */
.audio-visualization.type-particles {
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.visualization-particle {
	position: absolute;
	width: 4px;
	height: 4px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	box-shadow: 0 0 5px rgba(255, 255, 255, 0.15);
	transition: all 0.1s ease;
}

/* 可视化效果类型：频谱波形 */
.audio-visualization.type-spectrum {
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.visualization-spectrum {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
}

.visualization-spectrum-bar {
	width: 3px;
	background: linear-gradient(to top, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.25));
	border-radius: 2px;
	transition: height 0.1s ease;
	box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
}

/* 可视化效果类型：背景律动（垂直条形，分成左、中、右三段） */
.audio-visualization.type-center-bars {
	height: 100%;
	position: fixed; /* 固定定位，覆盖全屏 */
	top: 0;
	left: 0;
	padding: 0 !important;
	margin: 0;
	width: 100%;
	box-sizing: border-box;
	z-index: 0; /* 在背景模糊层之后，与背景容器同一层级 */
}

.visualization-center-bar {
	width: 12px; /* 增加宽度 */
	position: absolute;
	top: 50%; /* 从中间位置开始 */
	transform: translateY(-50%); /* 垂直居中 */
	border-radius: 3px;
	transition: height 0.1s ease;
	background: rgba(255, 255, 255, 0.2);
	/* 底部左侧阴影，形成3D效果，类似图片中的阴影 */
	box-shadow: 
		-3px 3px 6px rgba(0, 0, 0, 0.3),
		-2px 2px 4px rgba(0, 0, 0, 0.2);
	opacity: 0.7;
	transform-origin: center center; /* 从中心向上下扩展 */
}

/* 可视化效果类型：无效果 */
.audio-visualization.type-none {
	display: none;
}

/* 主内容区 */
.main-content {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
	color: white;
	text-align: center;
	overflow: visible;
	box-sizing: border-box;
}

/* 音乐封面容器 */
.album-cover-container {
	margin: 0 auto 40px auto;
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

.album-cover-stack {
	position: relative;
	width: 200px;
	height: 200px;
	margin: 0;
	transition: width 0.3s ease, height 0.3s ease;
	flex-shrink: 0;
}

.album-cover-layer,
.album-cover-main {
	position: absolute;
	width: 200px;
	height: 200px;
	border: 2px solid white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
	transition: width 0.3s ease, height 0.3s ease;
}

.album-cover-layer {
	opacity: 0;
	visibility: hidden;
	transform: translate(
		calc(var(--layer) * 8px - 16px),
		calc(var(--layer) * 8px - 16px)
	) rotate(calc(var(--layer) * 5deg));
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.album-cover-main {
	position: relative;
	z-index: 10;
}

.album-cover-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 默认层旋转效果（向后兼容，如果没有设置rotation-type类） */
.album-cover-stack.rotating:not([class*="rotation-type"]) .album-cover-layer {
	opacity: 0.3;
	visibility: visible;
	animation: rotateLayer calc((var(--layer) * 0.8s + 2s) / var(--rotation-speed, 1)) linear infinite;
}

/* 封面本身不旋转，只有周围的层旋转 */
.album-cover-stack.rotating .album-cover-main {
	/* 不添加旋转动画 */
	transform: none;
}

@keyframes rotateLayer {
	0% {
		transform: translate(
			calc(var(--layer) * 8px - 16px),
			calc(var(--layer) * 8px - 16px)
		) rotate(calc(var(--layer) * 5deg));
	}
	100% {
		transform: translate(
			calc(var(--layer) * 8px - 16px),
			calc(var(--layer) * 8px - 16px)
		) rotate(calc(var(--layer) * 5deg + 360deg));
	}
}

/* ========== 旋转效果类型样式 ========== */

/* 轨道旋转效果元素 */
.rotation-orbit {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 4px;
	height: 4px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
	opacity: 0;
	visibility: hidden;
	transform-origin: center center;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rotation-orbit-1 {
	transform: translate(-50%, -50%) translateX(90px);
}

.rotation-orbit-2 {
	transform: translate(-50%, -50%) translateX(110px);
}

.rotation-orbit-3 {
	transform: translate(-50%, -50%) translateX(130px);
}

/* 光晕旋转效果元素 */
.rotation-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -50%);
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rotation-glow-1 {
	width: 120%;
	height: 120%;
	border-width: 1px;
}

.rotation-glow-2 {
	width: 140%;
	height: 140%;
	border-width: 1.5px;
}

.rotation-glow-3 {
	width: 160%;
	height: 160%;
	border-width: 2px;
}

/* ========== 旋转效果类型：层旋转（默认） ========== */
.album-cover-stack.rotation-type-layers.rotating .album-cover-layer {
	opacity: 0.3;
	visibility: visible;
	animation: rotateLayer calc((var(--layer) * 0.8s + 2s) / var(--rotation-speed, 1)) linear infinite;
}

.album-cover-stack.rotation-type-layers.rotating .rotation-orbit,
.album-cover-stack.rotation-type-layers.rotating .rotation-glow,
.album-cover-stack.rotation-type-layers.rotating .album-cover-main {
	animation: none;
}

/* ========== 旋转效果类型：轨道旋转 ========== */
.album-cover-stack.rotation-type-orbit.rotating .rotation-orbit {
	opacity: 1;
	visibility: visible;
}

.album-cover-stack.rotation-type-orbit.rotating .rotation-orbit-1 {
	animation: rotateOrbit1 calc(3s / var(--rotation-speed, 1)) linear infinite;
}

.album-cover-stack.rotation-type-orbit.rotating .rotation-orbit-2 {
	animation: rotateOrbit2 calc(4s / var(--rotation-speed, 1)) linear infinite;
}

.album-cover-stack.rotation-type-orbit.rotating .rotation-orbit-3 {
	animation: rotateOrbit3 calc(5s / var(--rotation-speed, 1)) linear infinite;
}

.album-cover-stack.rotation-type-orbit.rotating .album-cover-layer,
.album-cover-stack.rotation-type-orbit.rotating .rotation-glow {
	opacity: 0;
	visibility: hidden;
	animation: none;
}

@keyframes rotateOrbit1 {
	0% {
		transform: translate(-50%, -50%) rotate(0deg) translateX(90px);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg) translateX(90px);
	}
}

@keyframes rotateOrbit2 {
	0% {
		transform: translate(-50%, -50%) rotate(0deg) translateX(110px);
	}
	100% {
		transform: translate(-50%, -50%) rotate(-360deg) translateX(110px);
	}
}

@keyframes rotateOrbit3 {
	0% {
		transform: translate(-50%, -50%) rotate(0deg) translateX(130px);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg) translateX(130px);
	}
}

/* ========== 旋转效果类型：脉冲旋转 ========== */
.album-cover-stack.rotation-type-pulse.rotating .album-cover-layer {
	opacity: 0.4;
	visibility: visible;
	animation: rotatePulse calc((var(--layer) * 0.6s + 1.5s) / var(--rotation-speed, 1)) ease-in-out infinite;
}

.album-cover-stack.rotation-type-pulse.rotating .rotation-orbit,
.album-cover-stack.rotation-type-pulse.rotating .rotation-glow {
	opacity: 0;
	visibility: hidden;
	animation: none;
}

@keyframes rotatePulse {
	0%, 100% {
		transform: translate(
			calc(var(--layer) * 8px - 16px),
			calc(var(--layer) * 8px - 16px)
		) rotate(calc(var(--layer) * 5deg)) scale(1);
		opacity: 0.4;
	}
	50% {
		transform: translate(
			calc(var(--layer) * 8px - 16px),
			calc(var(--layer) * 8px - 16px)
		) rotate(calc(var(--layer) * 5deg + 180deg)) scale(1.15);
		opacity: 0.6;
	}
}

/* ========== 旋转效果类型：螺旋旋转 ========== */
.album-cover-stack.rotation-type-spiral.rotating .album-cover-layer {
	opacity: 0.3;
	visibility: visible;
	animation: rotateSpiral calc((var(--layer) * 0.7s + 2s) / var(--rotation-speed, 1)) linear infinite;
}

.album-cover-stack.rotation-type-spiral.rotating .rotation-orbit,
.album-cover-stack.rotation-type-spiral.rotating .rotation-glow {
	opacity: 0;
	visibility: hidden;
	animation: none;
}

@keyframes rotateSpiral {
	0% {
		transform: translate(
			calc(var(--layer) * 8px - 16px),
			calc(var(--layer) * 8px - 16px)
		) rotate(0deg) translateX(0px);
	}
	50% {
		transform: translate(
			calc(var(--layer) * 8px - 16px),
			calc(var(--layer) * 8px - 16px)
		) rotate(180deg) translateX(calc(var(--layer) * 5px));
	}
	100% {
		transform: translate(
			calc(var(--layer) * 8px - 16px),
			calc(var(--layer) * 8px - 16px)
		) rotate(360deg) translateX(0px);
	}
}

/* ========== 旋转效果类型：光晕旋转 ========== */
.album-cover-stack.rotation-type-glow.rotating .rotation-glow {
	opacity: 1;
	visibility: visible;
}

.album-cover-stack.rotation-type-glow.rotating .rotation-glow-1 {
	animation: rotateGlow1 calc(4s / var(--rotation-speed, 1)) linear infinite;
}

.album-cover-stack.rotation-type-glow.rotating .rotation-glow-2 {
	animation: rotateGlow2 calc(5s / var(--rotation-speed, 1)) linear infinite;
}

.album-cover-stack.rotation-type-glow.rotating .rotation-glow-3 {
	animation: rotateGlow3 calc(6s / var(--rotation-speed, 1)) linear infinite;
}

.album-cover-stack.rotation-type-glow.rotating .album-cover-layer,
.album-cover-stack.rotation-type-glow.rotating .rotation-orbit {
	opacity: 0;
	visibility: hidden;
	animation: none;
}

@keyframes rotateGlow1 {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
		opacity: 0.3;
	}
	50% {
		opacity: 0.6;
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
		opacity: 0.3;
	}
}

@keyframes rotateGlow2 {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
		opacity: 0.4;
	}
	50% {
		opacity: 0.7;
	}
	100% {
		transform: translate(-50%, -50%) rotate(-360deg);
		opacity: 0.4;
	}
}

@keyframes rotateGlow3 {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
		opacity: 0.2;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
		opacity: 0.2;
	}
}

/* ========== 旋转效果类型：无效果 ========== */
.album-cover-stack.rotation-type-none.rotating .album-cover-layer,
.album-cover-stack.rotation-type-none.rotating .rotation-orbit,
.album-cover-stack.rotation-type-none.rotating .rotation-glow {
	opacity: 0;
	visibility: hidden;
	animation: none;
}

/* 移除封面旋转动画，只保留层旋转 */

/* 音乐名称 */
.music-name {
	font-size: 36px;
	font-weight: 500;
	margin: 0 0 30px 0;
	text-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
		0 0 40px rgba(255, 255, 255, 0.3);
	letter-spacing: 2px;
	text-align: center;
	transition: font-size 0.3s ease;
	width: 100%;
	box-sizing: border-box;
	position: relative;
}

/* 音乐名称内容容器 - 文字内容本身居中 */
.music-name-content {
	display: inline-block;
	text-align: center;
	position: relative;
}

/* 文字内容 - 独立居中 */
.music-name .music-name-text {
	display: inline-block;
	text-align: center;
}

/* 左括号 - 使用伪元素，绝对定位，不影响文字居中 */
.music-name.has-bracket-left .music-name-content::before {
	content: '《';
	position: absolute;
	right: 100%;
	top: 0;
	height: 100%;
	display: flex;
	align-items: center;
	white-space: nowrap;
	margin-right: 0.15em;
	transform: translateX(-0.3em);
}

/* 右括号 - 使用伪元素，绝对定位，不影响文字居中 */
.music-name.has-bracket-right .music-name-content::after {
	content: '》';
	position: absolute;
	left: 100%;
	top: 0;
	height: 100%;
	display: flex;
	align-items: center;
	white-space: nowrap;
	margin-left: 0.15em;
	transform: translateX(-0.1em);
}

/* 歌词容器 */
.lyrics-container {
	min-height: 60px;
	margin: 40px 0 60px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	overflow: visible;
	box-sizing: border-box;
}

.lyrics-text {
	font-size: 50px;
	font-weight: bold;
	text-shadow: 0 0 15px rgba(255, 255, 255, 0.2),
		0 0 30px rgba(255, 255, 255, 0.2);
	transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	max-width: 98%;
	line-height: 1.2;
	white-space: nowrap;
	overflow: visible;
	opacity: 1;
	transform: translateY(0) scale(1);
	display: block;
	filter: blur(0px);
	text-align: center;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	width: 100%;
}

/* 歌词离开效果 - 向上淡出并缩小模糊 */
.lyrics-text.fade-out {
	opacity: 0;
	transform: translateY(-40px) scale(0.85);
	filter: blur(8px);
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
		filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 歌词进入效果 - 从下方淡入并放大清晰 */
.lyrics-text.fade-in {
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0px);
	animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px) scale(0.85);
		filter: blur(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0px);
	}
}

/* 歌词过渡到下一句效果 - 快速切换时的优化 */
.lyrics-text.transitioning {
	transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
		filter 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 作者信息 */
.artist-name {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 20px;
	font-style: italic;
	text-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
		0 0 30px rgba(255, 255, 255, 0.3);
	opacity: 0.9;
	text-align: center;
	white-space: nowrap;
	z-index: 10;
	transition: font-size 0.3s ease;
	pointer-events: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Toast 通知样式 */
.toast-container {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	gap: 10px;
	pointer-events: none;
}

.toast {
	background: rgba(30, 30, 30, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 12px 20px;
	min-width: 200px;
	max-width: 400px;
	color: white;
	font-size: 14px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
	opacity: 0;
	transform: translateX(100%);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: auto;
}

.toast.show {
	opacity: 1;
	transform: translateX(0);
}

.toast.success {
	border-left: 4px solid #4caf50;
}

.toast.error {
	border-left: 4px solid #f44336;
}

.toast.info {
	border-left: 4px solid #2196f3;
}

/* 播放控制按钮（在右键菜单中） */
.player-control-item {
	/* 继承菜单项样式 */
	display: block;
}

.menu-parent.hidden {
	display: none;
}

/* 右键菜单 */
.context-menu {
	position: fixed;
	background: rgba(30, 30, 30, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 4px 0;
	min-width: 220px;
	display: none;
	z-index: 1000;
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
	max-height: 80vh;
	overflow-y: auto;
	overflow-x: hidden;
}

.context-menu.show {
	display: block;
}

.menu-item {
	padding: 12px 20px;
	color: white;
	cursor: pointer;
	transition: background 0.2s ease;
	font-size: 14px;
	position: relative;
	user-select: none;
	display: block;
	white-space: nowrap;
}

.menu-item:not(:last-child):not(.menu-parent) {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-parent:not(.expanded) {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-parent.expanded {
	border-bottom: none;
}

.menu-item:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* 父菜单项 */
.menu-parent {
	position: relative;
	display: block;
	padding: 0;
}

/* 父菜单项的第一行：文本和箭头在同一行 */
.menu-parent > span:first-of-type {
	display: inline-block;
	padding: 12px 40px 12px 20px;
	width: 100%;
	box-sizing: border-box;
	vertical-align: middle;
	cursor: pointer;
	transition: background 0.2s ease;
}

.menu-parent:hover > span:first-of-type {
	background: rgba(255, 255, 255, 0.1);
}

.menu-parent > span.menu-arrow {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	padding: 0;
	display: inline-block;
	transition: transform 0.3s ease, color 0.2s ease;
}

.menu-parent:hover .menu-arrow {
	color: rgba(255, 255, 255, 0.9);
}

.menu-parent.expanded .menu-arrow {
	transform: translateY(-50%) rotate(90deg);
	color: rgba(255, 255, 255, 0.9);
}

/* 子菜单 */
.submenu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
	opacity: 0;
	background: rgba(15, 15, 15, 0.95);
	margin: 0;
	padding: 0;
	position: relative;
	width: 100%;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	box-sizing: border-box;
	display: block;
}

.menu-parent.expanded .submenu {
	max-height: 500px;
	opacity: 1;
	padding: 4px 0;
}

.submenu .menu-item {
	padding: 10px 20px 10px 40px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
	border-left: 3px solid transparent;
	transition: all 0.2s ease;
	position: relative;
	margin: 0;
	box-sizing: border-box;
	width: 100%;
}

.submenu .menu-item:not(:last-child) {
	border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.submenu .menu-item:before {
	content: '';
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 4px;
	background: rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	transition: all 0.2s ease;
}

.submenu .menu-item:hover {
	border-left-color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 1);
	padding-left: 44px;
}

.submenu .menu-item:hover:before {
	background: rgba(255, 255, 255, 0.8);
	width: 6px;
	height: 6px;
}

/* 模态框样式 */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.modal-overlay.show {
	opacity: 1;
	visibility: visible;
}

.modal-content {
	background: rgba(30, 30, 30, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	width: 90%;
	max-width: 500px;
	max-height: 80vh;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	transform: scale(0.9) translateY(20px);
	transition: all 0.3s ease;
}

.modal-overlay.show .modal-content {
	transform: scale(1) translateY(0);
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
	margin: 0;
	color: rgba(255, 255, 255, 0.95);
	font-family: 'Douyin Sans Bold', 'Microsoft YaHei', Arial, sans-serif;
	font-size: 24px;
	font-weight: bold;
}

.modal-close {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.7);
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	border-radius: 50%;
}

.modal-close:hover {
	color: rgba(255, 255, 255, 1);
	background: rgba(255, 255, 255, 0.1);
	transform: rotate(90deg);
}

.modal-body {
	padding: 30px;
	max-height: calc(80vh - 80px);
	overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
	width: 6px;
}

.modal-body::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}

.about-info {
	color: rgba(255, 255, 255, 0.9);
	font-family: 'Douyin Sans Bold', 'Microsoft YaHei', Arial, sans-serif;
	line-height: 1.8;
}

.about-info p {
	margin: 15px 0;
	font-size: 16px;
}

.about-info strong {
	color: rgba(255, 255, 255, 1);
	font-weight: bold;
}

.about-info a {
	color: rgba(0, 170, 255, 0.9);
	text-decoration: none;
	transition: all 0.2s ease;
	border-bottom: 1px solid transparent;
}

.about-info a:hover {
	color: rgba(0, 170, 255, 1);
	border-bottom-color: rgba(0, 170, 255, 0.5);
}

.about-description {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	line-height: 1.6;
}

/* 上传选项按钮 */
.upload-options {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 10px;
}

.upload-option-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 18px 24px;
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.9);
	font-family: 'Douyin Sans Bold', 'Microsoft YaHei', Arial, sans-serif;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
}

.upload-option-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.4);
	color: rgba(255, 255, 255, 1);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.upload-option-btn:active {
	transform: translateY(0);
}

.upload-icon {
	font-size: 24px;
	line-height: 1;
}

/* 链接输入容器 */
.link-input-container {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.link-input {
	width: 100%;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.9);
	font-family: 'Douyin Sans Bold', 'Microsoft YaHei', Arial, sans-serif;
	font-size: 14px;
	outline: none;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.link-input:focus {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(0, 170, 255, 0.6);
	color: rgba(255, 255, 255, 1);
}

.link-input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.link-input-buttons {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}

.link-btn {
	flex: 1;
	padding: 10px 20px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.9);
	font-family: 'Douyin Sans Bold', 'Microsoft YaHei', Arial, sans-serif;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.1);
}

.link-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.4);
	color: rgba(255, 255, 255, 1);
}

.confirm-link-btn:hover {
	background: rgba(0, 170, 255, 0.3);
	border-color: rgba(0, 170, 255, 0.6);
}

.cancel-link-btn:hover {
	background: rgba(255, 100, 100, 0.3);
	border-color: rgba(255, 100, 100, 0.6);
}

.link-btn:active {
	transform: scale(0.98);
}

/* 响应式设计 */
@media (max-width: 768px) {
	.album-cover-stack {
		width: 180px;
		height: 180px;
	}

	.album-cover-layer,
	.album-cover-main {
		width: 180px;
		height: 180px;
	}

	.music-name {
		font-size: 28px;
	}

	.lyrics-text {
		font-size: 24px;
		font-weight: bold;
		min-width: 90%;
		max-width: 95%;
		word-wrap: break-word;
	}

	.artist-name {
		font-size: 18px;
		bottom: 20px;
	}
	
	.modal-content {
		width: 95%;
		max-width: none;
		border-radius: 15px;
	}
	
	.modal-header {
		padding: 15px 20px;
	}
	
	.modal-header h2 {
		font-size: 20px;
	}
	
	.modal-body {
		padding: 20px;
	}
	
	.about-info p {
		font-size: 14px;
	}
	
	.about-description {
		font-size: 13px;
	}
	
	.upload-option-btn {
		padding: 14px 20px;
		font-size: 14px;
	}
	
	.upload-icon {
		font-size: 20px;
	}
	
	.link-input {
		padding: 10px 14px;
		font-size: 13px;
	}
	
	.link-btn {
		padding: 8px 16px;
		font-size: 13px;
	}
}

