/* 全局样式 - 二次元风格配色 */
:root {
    --primary-color: #ff6b9d;
    --secondary-color: #a177ff;
    --accent-color: #61e2ff;
    --background-color: #ffffff;
    --text-color: #333333;
    --text-secondary: #666666;
    --border-radius: 8px;
    --shadow: 0 2px 6px rgba(255, 107, 157, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

#app {
    max-width: 750px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    position: relative;
    padding-bottom: 110px;
}

/* 隐藏滚动条 */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* 搜索框样式 */
.search-bar {
    padding: 12px 10px 10px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    background: #f5f5f5;
}

/* 轮播图样式 */
.swiper {
    margin: 0 10px 16px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    height: auto;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.swiper-item {
    flex-shrink: 0;
    width: 100%;
}

.swiper-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.swiper-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.swiper-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.swiper-indicator .dot.active {
    width: 20px;
    border-radius: 4px;
    background: #fff;
}

/* 区域标题样式 */
.area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    margin: 15px 2.5px 0 2.5px;
    padding: 0 4px;
}

.area-header .title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: 0.25px;
}

.area-header .right {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
}

.area-header .right:active {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(0.96);
}

.area-header .right .text {
    font-size: 13px;
    font-weight: 500;
    color: #718096;
    margin-right: 4px;
}

.area-header .right .icon {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

/* 推荐歌曲区域 */
.recommend-songs {
    padding: 0 10px;
    margin-bottom: 12px;
}

.song-list {
    margin-top: 10px;
}

/* 歌曲项样式 v1 */
.song-item-v1 {
    display: flex;
    padding: 8px 15px;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.song-item-v1:active {
    background: #f9f9f9;
}

.song-item-v1 .image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.song-item-v1 .content {
    margin-left: 8px;
    flex: 1;
    min-width: 0;
}

.song-item-v1 .content .name {
    font-size: 16px;
    font-weight: 700;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-item-v1 .content .source {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-item-v1 .arrow {
    margin-left: auto;
}

.song-item-v1 .arrow .icon {
    width: 30px;
    height: 30px;
}

/* 歌单区域 */
.menu-area-wrapper {
    padding: 0 10px;
    margin-bottom: 12px;
}

.menu-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    margin-top: 10px;
    padding-bottom: 5px;
}

.menu-list::-webkit-scrollbar {
    height: 0;
}

.menu-item {
    display: inline-block;
    width: 110px;
    margin-right: 8px;
    cursor: pointer;
}

.menu-item:last-child {
    margin-right: 0;
}

.menu-item .top {
    position: relative;
}

.menu-item .top .image {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.menu-item .top .play-count {
    position: absolute;
    right: 0;
    bottom: 5px;
    color: #fff;
    font-size: 11px;
    border-radius: 6px;
    padding: 2.5px 5px;
    background-color: rgba(0, 0, 0, 0.2);
}

.menu-item .bottom {
    width: 100%;
    font-size: 13px;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 1.4;
}

/* 巅峰榜区域 */
.ranking {
    padding: 0 10px;
    margin-bottom: 16px;
}

.ranking-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ranking-item {
    display: flex;
    padding: 12px;
    margin: 7.5px 0;
    background: #e4e1e1;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.2s;
}

.ranking-item:active {
    transform: scale(0.98);
}

.ranking-item .left-content {
    flex: 1;
    padding-right: 10px;
}

.ranking-item .header {
    margin-bottom: 12px;
}

.ranking-item .ranking-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.ranking-item .song-list {
    width: 150px;
    margin-top: 5px;
    white-space: normal;
}

.ranking-item .song-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.ranking-item .song-index {
    width: 20px;
    text-align: center;
    font-size: 14px;
    color: #ff5c5c;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.ranking-item .song-info {
    flex: 1;
    min-width: 0;
}

.ranking-item .song-name {
    font-size: 10px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 3px;
}

.ranking-item .artist-name {
    font-size: 12px;
    color: #666;
    max-width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-item .right-cover {
    width: 160px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.ranking-item .right-cover .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 150px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    background: linear-gradient(135deg, #f08a5d, #f9b384);
    box-shadow: 0 6px 20px rgba(240, 138, 93, 0.3);
    transform: translateY(20px);
    cursor: pointer;
}

.back-to-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: 1;
    border-radius: 50%;
}

.back-to-top-icon {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzUwMzM0NjI1OTU3IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE1OTQxIiB3aWR0aD0iNzAiIGhlaWdodD0iNzAiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNODIzLjUzMTUyIDgwOC4zNDU2YTQ3NS43ODExMiA0NzUuNzgxMTIgMCAwIDEtNzcuNTE2OCA2Mi44NDI4OCA0NzguOTE5NjggNDc4LjkxOTY4IDAgMCAxLTQyLjY1OTg0IDI0LjcyOTZsNTMuNTM5ODQgODIuMjk4ODhjMjEuODc3NzYgMzMuNjI4MTYgNjcuNDc2NDggNDIuNzU3MTIgMTAxLjg0NzA0IDIwLjM5ODA4IDM0LjM3MDU2LTIyLjM1OTA0IDQ0LjQ5NzkyLTY3Ljc0Nzg0IDIyLjYyNTI4LTEwMS4zNzZsLTU3LjgzNTUyLTg4Ljg5MzQ0eiIgZmlsbD0iIzhEM0YwNyIgcC1pZD0iMTU5NDIiPjwvcGF0aD48cGF0aCBkPSJNNTEyLjgwMzg0IDQ4Ni42OTE4NG0tNDYzLjY5NzkyIDBhNDYzLjY5NzkyIDQ2My42OTc5MiAwIDEgMCA5MjcuMzk1ODQgMCA0NjMuNjk3OTIgNDYzLjY5NzkyIDAgMSAwLTkyNy4zOTU4NCAwWiIgZmlsbD0iI0Y5OTQ5RSIgcC1pZD0iMTU5NDMiPjwvcGF0aD48cGF0aCBkPSJNNTEyLjgwMzg0IDQ4Ni42OTE4NG0tMzUyLjE1MzYgMGEzNTIuMTUzNiAzNTIuMTUzNiAwIDEgMCA3MDQuMzA3MiAwIDM1Mi4xNTM2IDM1Mi4xNTM2IDAgMSAwLTcwNC4zMDcyIDBaIiBmaWxsPSIjRkZGRkZGIiBwLWlkPSIxNTk0NCI+PC9wYXRoPjxwYXRoIGQ9Ik01MTIuODAzODQgNDg2LjY5MTg0bS0yMjIuODY4NDggMGEyMjIuODY4NDggMjIyLjg2ODQ4IDAgMSAwIDQ0NS43MzY5NiAwIDIyMi44Njg0OCAyMjIuODY4NDggMCAxIDAtNDQ1LjczNjk2IDBaIiBmaWxsPSIjRjk5NDlFIiBwLWlkPSIxNTk0NSI+PC9wYXRoPjxwYXRoIGQ9Ik01MTIuODAzODQgNDg2LjY5MTg0bS05Ni43NzgyNCAwYTk2Ljc3ODI0IDk2Ljc3ODI0IDAgMSAwIDE5My41NTY0OCAwIDk2Ljc3ODI0IDk2Ljc3ODI0IDAgMSAwLTE5My41NTY0OCAwWiIgZmlsbD0iI0ZGRkZGRiIgcC1pZD0iMTU5NDYiPjwvcGF0aD48L3N2Zz4=);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(240, 138, 93, 0.4);
}

.back-to-top:hover .back-to-top-icon {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 150px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* 底部播放器栏 */
.player-bar {
    position: fixed;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 750px;
    width: 100%;
    height: 60px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    cursor: pointer;
}

.player-bar .cover-wrapper {
    position: relative;
    width: 85px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
    /* background: #f5f5f5; */
}

.player-bar .cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.player-bar .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    z-index: 1;
}

.player-bar .song-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 10px;
    overflow: hidden;
    min-width: 0;
}

.player-bar .song-name {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
    margin-bottom: 3px;
}

.player-bar .artist-name {
    position: static;
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.player-bar .controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-bar .control-btn {
    width: 37.5px;
    height: 37.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.player-bar .control-btn:active {
    transform: scale(0.9);
}

.player-bar .play-pause-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
}

.player-bar .next-btn {
    background: #333;
}

.player-bar .control-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.player-bar .default-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.player-bar .tip-text {
    font-size: 12px;
    color: #999;
}

/* 底部导航栏 */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 750px;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    display: flex;
    z-index: 100;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-item.active {
    color: #ff6b9d;
}

.tab-icon {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto 4px;
}

.tab-text {
    font-size: 12px;
}

/* 我的页面 */
.profile-page {
    min-height: 100vh;
    background: #fff;
    padding-bottom: 110px;
}

.profile-page .header {
    padding: 40px 20px 20px;
}

.profile-page .title {
    font-size: 26px;
    font-weight: 800;
    color: #333;
    letter-spacing: -0.5px;
}

.profile-page .subtitle {
    font-size: 13px;
    color: #ff6b9d;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

/* 统计卡片 */
.stats-section {
    padding: 0 12px 20px;
}

.stats-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 16px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-value {
    font-size: 22px;
    font-weight: 800;
    color: #333;
    margin-bottom: 4px;
}

.stats-label {
    font-size: 12px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-divider {
    width: 1px;
    height: 30px;
    background: #e5e5e5;
    align-self: center;
}

/* 功能区域 */
.function-section {
    padding: 0 12px 20px;
}

.function-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.function-item {
    display: flex;
    align-items: center;
    padding: 18px 16px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.function-item:last-child {
    border-bottom: none;
}

.function-item.action {
    cursor: pointer;
}

.function-item.action:active {
    background: #f9f9f9;
}

.function-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}

.function-icon-wrapper.heart-bg {
    background: rgba(255, 82, 82, 0.1);
}

.function-icon-wrapper.music-bg {
    background: rgba(0, 210, 255, 0.1);
}

.function-icon-wrapper.download-bg {
    background: rgba(127, 0, 255, 0.1);
}

.function-icon-wrapper.settings-bg {
    background: rgba(100, 116, 139, 0.1);
}

.function-icon {
    font-size: 20px;
}

.function-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.function-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.function-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.function-desc {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    font-weight: 500;
}

.function-arrow {
    margin-left: auto;
}

.arrow-icon {
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #999;
    border-right: 1.5px solid #999;
    transform: rotate(45deg);
    opacity: 0.5;
}

.page-content {
    padding: 16px;
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}

.section {
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
}

.clear-btn {
    color: #ff5c5c;
    font-size: 14px;
    border: none;
    background: none;
    cursor: pointer;
}

.empty-tip {
    text-align: center;
    color: #999;
    padding: 40px 0;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    /* background: #f5f5f5; */
    border-radius: 8px;
    margin-bottom: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #ff6b9d;
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.select {
    padding: 6px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

/* 搜索页面 */
.search-page {
    min-height: 100vh;
    background: #fff;
    padding-bottom: 110px;
}

.search-header {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 10;
    gap: 8px;
}

.back-btn {
    font-size: 24px;
    color: #ff6b9c;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0 8px;
}

.search-header .search-input {
    flex: 1;
    background: #f5f5f5;
    border: none;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
}

.search-header .clear-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e5e5e5;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-header .clear-btn:active {
    background: #d5d5d5;
}

/* 搜索历史 */
.search-history {
    padding: 20px 15px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.history-header .title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
}

.history-header .clear-btn-text {
    font-size: 14px;
    color: #999;
    padding: 5px 10px;
    cursor: pointer;
}

.history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.history-item {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    padding: 8px 12px;
    border-radius: 25px;
    font-size: 14px;
    color: #333;
}

.history-item .history-text {
    cursor: pointer;
    margin-right: 8px;
}

.history-item .delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0e0e0;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.history-item .delete-btn:active {
    background: #d0d0d0;
}

/* 热门搜索 */
.hot-search {
    padding: 20px 15px;
}

.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.hot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-tag {
    font-size: 13px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.2s;
}

.hot-tag.first {
    color: #ff6b9c;
    border-color: #ff6b9c;
}

.hot-tag:active {
    background: #f5f5f5;
}

/* 搜索建议 */
.search-suggest {
    padding: 20px 15px;
}

.suggest-title {
    color: #ff6b9c;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 15px;
}

.suggest-list {
    display: flex;
    flex-direction: column;
}

.suggest-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
}

.suggest-item:active {
    background: #f9f9f9;
}

.suggest-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    opacity: 0.5;
}

.suggest-text {
    font-size: 14px;
    color: #333;
}

/* 搜索结果 */
.search-result {
    padding: 20px 15px;
}

.result-title {
    font-size: 16px;
    color: #ff6b9c;
    margin-bottom: 15px;
}

.search-result .song-list {
    display: flex;
    flex-direction: column;
}

.search-result .song-item-v1 {
    display: flex;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
}

.search-result .song-item-v1:active {
    background: #f9f9f9;
}

.search-result .song-index {
    width: 30px;
    text-align: center;
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.search-result .song-item-v1 .image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    margin-right: 12px;
    object-fit: cover;
}

.search-result .song-item-v1 .content {
    flex: 1;
    min-width: 0;
}

.search-result .song-item-v1 .name {
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result .song-item-v1 .source {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result .song-item-v1 .arrow {
    margin-left: 12px;
}

.search-result .song-item-v1 .icon {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

/* 加载更多 */
.load-more {
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-size: 14px;
    cursor: pointer;
}

.loading-icon {
    display: inline-block;
    animation: rotate 1s linear infinite;
    margin-right: 5px;
    color: #ff6b9c;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 没有更多 */
.no-more {
    text-align: center;
    padding: 20px 0;
    color: #ccc;
    font-size: 14px;
}

/* 空状态 */
.empty-tip {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 60px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.empty-text {
    font-size: 15px;
    color: #999;
}

/* 页面头部 */
.page-header {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 10;
}

.page-header .page-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.loading-tip {
    text-align: center;
    color: #999;
    padding: 40px 0;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff6b9d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 播放器模态框 */
.player-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.player-content {
    background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
    width: 100%;
    max-width: 750px;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.close-btn {
    font-size: 32px;
    color: #333;
    border: none;
    background: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.placeholder {
    width: 40px;
}

.cover-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.cover-image {
    width: 260px;
    height: 260px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.cover-image.rotating {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.song-info-wrapper {
    text-align: center;
    padding: 0 20px 20px;
}

.song-info-wrapper .song-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.song-info-wrapper .artist-name {
    font-size: 14px;
    color: #666;
}

.lyric-container {
    max-height: 200px;
    overflow-y: auto;
    padding: 20px;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

.lyric-line {
    text-align: center;
    padding: 8px 0;
    color: #999;
    transition: all 0.3s;
    font-size: 14px;
}

.lyric-line.active {
    color: #ff6b9d;
    font-size: 16px;
    font-weight: bold;
}

.progress-wrapper {
    padding: 20px;
}

.progress-bar {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #e5e5e5;
    outline: none;
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6b9d;
    cursor: pointer;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.control-btn:active {
    transform: scale(0.9);
}

.control-btn img {
    width: 40px;
    height: 40px;
}

.play-btn img {
    width: 60px;
    height: 60px;
}

.mode-btn {
    font-size: 24px;
}

/* 更多歌单页面 */
.more-song-menu-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f5f5;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

/* 分类选择器 */
.category-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.category-tags-container {
    padding: 0 10px 10px;
}

.category-tags-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.category-tag-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: #f5f5f5;
    border-radius: 16px;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.category-tag-item:active {
    transform: scale(0.95);
    background: #eeeeee;
}

.category-tag-item.active {
    background: #ffd700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.tag-name {
    font-size: 13px;
    color: #333;
    font-weight: 400;
    line-height: 1.4;
}

.category-tag-item.active .tag-name {
    color: #000;
    font-weight: 500;
}

.tag-badge {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 4px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 2px;
    font-size: 10px;
    color: #ff4444;
    font-weight: 600;
    line-height: 1.2;
}

.category-tag-item.active .tag-badge {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.more-category-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: #f5f5f5;
    border-radius: 16px;
    transition: all 0.2s ease;
    gap: 4px;
    cursor: pointer;
}

.more-category-btn:active {
    transform: scale(0.95);
    background: #eeeeee;
}

.more-text {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.more-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.more-arrow.expanded {
    transform: rotate(90deg);
}

.more-arrow .icon {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

.all-category-tag {
    border: 1px solid #ddd;
    background: #fff;
}

.all-category-tag:active {
    background: #f0f0f0;
    border-color: #ccc;
}

.all-category-tag .tag-name {
    color: #666;
    font-weight: 500;
}

.tag-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 3px;
    width: 10px;
    height: 10px;
}

.tag-arrow .icon {
    width: 10px;
    height: 10px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.all-category-tag:active .tag-arrow .icon {
    opacity: 0.7;
}

/* 弹出层 */
.category-popup-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.category-popup-mask.show {
    opacity: 1;
    pointer-events: auto;
}

.category-popup {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
    max-height: 80vh;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.category-popup.show {
    transform: translateY(0);
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.popup-title {
    font-size: 17px;
    font-weight: 700;
    color: #000;
}

.popup-close {
    font-size: 20px;
    color: #999;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.popup-content {
    flex: 1;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

.category-groups {
    padding: 10px 10px 15px;
}

.category-group {
    margin-bottom: 12px;
    background: #fff;
    border-radius: 6px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-group:last-child {
    margin-bottom: 0;
}

.group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    margin: 0 -10px;
    cursor: pointer;
    user-select: none;
    background: #fafafa;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.group-header:active {
    background: #f0f0f0;
}

.group-title-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.group-icon {
    font-size: 16px;
    line-height: 1;
}

.group-name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.group-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.group-arrow.expanded {
    transform: rotate(90deg);
}

.arrow-icon {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.group-header:active .arrow-icon {
    opacity: 0.7;
}

.group-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.group-content.expanded {
    max-height: 1000px;
    padding-top: 10px;
    padding-bottom: 4px;
    opacity: 1;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 12px;
}

.category-item {
    flex: 0 0 calc(25% - 9px);
    min-width: 0;
    padding: 7px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}

.category-item:active {
    transform: scale(0.98);
}

.category-item.active {
    background: #ffd700;
}

.category-name {
    font-size: 13px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-item.active .category-name {
    color: #000;
    font-weight: 500;
}

/* 歌单列表 */
.song-menu-list-container {
    flex: 1;
    overflow-y: auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.current-category-title {
    padding: 15px 0 10px;
}

.title-text {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-bottom: 70px;
    box-sizing: border-box;
    width: 100%;
}

.menu-grid-item {
    cursor: pointer;
    transition: transform 0.2s;
}

.menu-grid-item:active {
    transform: scale(0.95);
}

.menu-cover-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.menu-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-grid-item .play-count {
    position: absolute;
    right: 4px;
    bottom: 4px;
    color: #fff;
    font-size: 10px;
    border-radius: 4px;
    padding: 2px 6px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.menu-grid-item .menu-name {
    font-size: 13px;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 1.4;
    min-height: 36px;
}

/* 更多功能弹窗样式 */
.more-popup-content {
    max-height: 70vh;
}

.quality-section {
    padding: 16px 0;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-left: 4px;
}

.quality-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.quality-item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
    transition: all 0.3s;
}

.quality-item.active {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

.quality-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
}

.quality-info {
    flex: 1;
}

.quality-name {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
}

.quality-size {
    font-size: 12px;
    color: #999;
}

.quality-actions {
    display: flex;
    align-items: center;
}

.quality-check {
    color: #6366f1;
    font-weight: bold;
    font-size: 18px;
}

.function-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.function-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.function-item:last-child {
    border-bottom: none;
}

.function-item:active {
    background: #f8f9fa;
}

.function-content {
    flex: 1;
}

.function-name {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
}

.function-desc {
    font-size: 12px;
    color: #999;
}

.function-arrow {
    font-size: 20px;
    color: #ccc;
}

/* 歌曲信息弹窗 */
.song-info-content {
    padding: 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: #333;
    text-align: right;
    flex: 1;
    margin-left: 16px;
    word-break: break-all;
}

/* 歌手信息弹窗 */
.artist-info-content {
    padding: 0;
}

/* 播放历史弹窗样式 */
.history-popup-content {
    max-height: 70vh;
}

.history-popup-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.history-count {
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-left: 4px;
}

.history-clear-btn {
    color: #ff6b9c;
    font-size: 14px;
    padding: 6px 10px;
    background: rgba(255, 107, 156, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-clear-btn:active {
    background: rgba(255, 107, 156, 0.2);
}

.history-scroll-view {
    max-height: 50vh;
    overflow-y: auto;
    padding: 0;
}

.history-spacer-top,
.history-spacer-bottom {
    height: 2.5px;
    flex-shrink: 0;
}

.history-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px 0;
    cursor: pointer;
}

.history-item.active {
    background: linear-gradient(135deg, rgba(255, 107, 156, 0.15), rgba(255, 107, 156, 0.05));
    border: 1px solid #ff6b9c;
    box-shadow: 0 2px 10px rgba(255, 107, 156, 0.2);
    transform: translateY(-1px);
    position: relative;
}

.history-item.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #ff6b9c;
    border-radius: 8px 0 0 8px;
}

.history-item:active {
    background: rgba(255, 107, 156, 0.1);
    transform: scale(0.98);
}

.history-item.active:active {
    background: linear-gradient(135deg, rgba(255, 107, 156, 0.2), rgba(255, 107, 156, 0.1));
}

.history-item:last-child {
    border-bottom: none;
}

.history-cover {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    margin-right: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.history-info {
    flex: 1;
    min-width: 0;
}

.history-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-artist {
    font-size: 12px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-item-action {
    margin-left: 12px;
}

.history-delete-btn {
    font-size: 13px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.history-delete-btn:active {
    background: rgba(255, 107, 156, 0.2);
}

.history-empty {
    text-align: center;
    padding: 40px 0;
}

.history-empty-text {
    color: #999;
    font-size: 15px;
}

/* 定位到当前播放按钮 */
.history-scroll-to-active {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ff6b9c, #ff8eb4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 156, 0.4);
    z-index: 10000;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
    cursor: pointer;
}

.history-scroll-to-active.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.history-scroll-to-active:active {
    transform: scale(0.95);
    background: linear-gradient(135deg, #ff5a8c, #ff7da3);
}

.scroll-to-active-icon {
    font-size: 22px;
    line-height: 1;
    transform: scaleX(-1);
}

/* 搜索页面和其他页面 */
.search-page,
.song-menu-page,
.more-song-menu-page {
    min-height: 100vh;
    background: #fff;
}

/* 歌单详情页面样式 */
.song-menu-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

/* 歌单头部 */
.song-header {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 225px;
    color: #fff;
    transition: height 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    will-change: height;
    transform: translateZ(0);
    flex-shrink: 0;
}

.song-header.collapsed {
    height: 90px;
}

.song-header .bg-image {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transform: translateZ(0);
}

.song-header .bg-cover {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.song-header .content {
    display: flex;
    margin-top: 30px;
    padding: 0 25px;
    transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity;
    transform: translateZ(0);
}

.song-header .content .image {
    width: 110px;
    height: 110px;
    border-radius: 8px;
    object-fit: cover;
}

.song-header .content .info {
    position: relative;
    height: 110px;
    flex: 1;
    margin-left: 25px;
    display: flex;
    flex-direction: column;
}

.song-header .content .info .title {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.song-header .content .info .anthor {
    margin-top: 15px;
    display: flex;
    align-items: center;
}

.song-header .content .info .anthor .avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
}

.song-header .content .info .anthor .nickname {
    font-size: 12px;
    margin-left: 9px;
    color: #fff;
}

.song-header .content .info .desc {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 12px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 操作按钮 */
.song-header .operation {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    margin-top: 15px;
    transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity;
    transform: translateZ(0);
}

.song-header .operation .item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.song-header .operation .item .icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

.song-header .operation .item .text,
.song-header .operation .item .playCount {
    font-size: 14px;
    color: #fff;
}

.song-header .operation .play-all {
    border-radius: 25px;
    padding: 6px 12px;
}

/* 折叠状态下的顶部栏 */
.collapsed-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    z-index: 10;
    box-sizing: border-box;
    opacity: 1;
    transform: translateZ(0);
    transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collapsed-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.collapsed-title-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    min-width: 0;
}

.collapsed-label {
    font-size: 17.5px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
}

.collapsed-title {
    font-size: 12.5px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collapsed-play-all {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    padding: 6px 12px;
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    flex-shrink: 0;
}

.collapsed-play-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.collapsed-play-text {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
}

/* 歌曲列表容器 */
.song-list-container {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}

/* 歌曲项样式 v2 */
.song-item-v2 {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

.song-item-v2:active {
    background: #f9f9f9;
}

.song-index {
    width: 30px;
    text-align: center;
    font-size: 14px;
    color: #999;
    font-weight: 500;
    flex-shrink: 0;
}

.song-item-v2 .song-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
}

.song-item-v2 .song-content {
    flex: 1;
    min-width: 0;
}

.song-item-v2 .song-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}

.song-item-v2 .song-artist {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.song-item-v2 .song-arrow {
    margin-left: 12px;
    flex-shrink: 0;
}

.song-item-v2 .song-arrow .icon {
    width: 20px;
    height: 20px;
}

/* 返回按钮 */
.back-btn-fixed {
    position: fixed;
    top: 20px;
    left: 16px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.back-btn-fixed:active {
    background: rgba(0, 0, 0, 0.7);
}


/* 我喜欢的歌曲页面 */
.liked-songs-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 100;
    overflow-y: auto;
    padding-bottom: 70px;
}

.liked-songs-page .header-section {
    padding: 12px 10px 16px;
    margin-bottom: 0;
}

.liked-songs-page .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 60px;
    padding: 0;
}

.liked-songs-page .title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.25px;
}

.liked-songs-page .clear-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 5px 9px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    cursor: pointer;
}

.liked-songs-page .clear-btn:active {
    transform: scale(0.96);
    background: rgba(0, 0, 0, 0.03);
}

.liked-songs-page .clear-text {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.liked-songs-page .clear-icon {
    font-size: 9px;
}

.liked-songs-page .stats-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.liked-songs-page .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.liked-songs-page .stat-number {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d 0%, #a177ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3px;
}

.liked-songs-page .stat-label {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
}

.liked-songs-page .stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 107, 157, 0.2);
}

.liked-songs-page .song-list-container {
    flex: 1;
    min-height: calc(100vh - 150px);
    padding: 4px 10px 0;
}

.liked-songs-page .song-list {
    height: 100%;
}

.liked-songs-page .song-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.liked-songs-page .song-item:active {
    background: rgba(0, 0, 0, 0.02);
}

.liked-songs-page .song-left {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.liked-songs-page .song-order {
    width: 24px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-right: 8px;
    font-weight: 500;
    flex-shrink: 0;
}

.liked-songs-page .song-cover {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    margin-right: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    object-fit: cover;
}

.liked-songs-page .song-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.liked-songs-page .song-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 3px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.liked-songs-page .song-artist {
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.liked-songs-page .song-action {
    margin-left: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.liked-songs-page .remove-btn {
    width: 26px;
    height: 26px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.liked-songs-page .remove-btn:active {
    transform: scale(0.9);
    background: rgba(239, 68, 68, 0.2);
}

.liked-songs-page .remove-icon {
    font-size: 10px;
    line-height: 1;
}

.liked-songs-page .empty-state {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.liked-songs-page .empty-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
    opacity: 0.7;
}

.liked-songs-page .empty-text {
    font-size: 15px;
    color: #4a5568;
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.liked-songs-page .empty-desc {
    font-size: 12px;
    color: #718096;
    display: block;
    margin-bottom: 16px;
}

.liked-songs-page .empty-action {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff6b9d 0%, #a177ff 100%);
    color: white;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(255, 107, 157, 0.3);
    cursor: pointer;
}

.liked-songs-page .empty-action:active {
    transform: scale(0.96);
    box-shadow: 0 1px 4px rgba(255, 107, 157, 0.4);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.liked-songs-page .song-item {
    animation: fadeInUp 0.3s ease backwards;
}

.liked-songs-page .song-item:nth-child(1) {
    animation-delay: 0.02s;
}

.liked-songs-page .song-item:nth-child(2) {
    animation-delay: 0.04s;
}

.liked-songs-page .song-item:nth-child(3) {
    animation-delay: 0.06s;
}

.liked-songs-page .song-item:nth-child(4) {
    animation-delay: 0.08s;
}

.liked-songs-page .song-item:nth-child(5) {
    animation-delay: 0.1s;
}

.liked-songs-page .header-section {
    animation: fadeInUp 0.4s ease;
}


/* 播放历史页面样式 */
.liked-songs-page .action-buttons {
    display: flex;
    gap: 10px;
    padding: 15px;
}

.action-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.action-btn.primary {
    background: linear-gradient(135deg, #ff6b9c, #ff8eb4);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 156, 0.3);
}

.action-btn.primary:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(255, 107, 156, 0.3);
}

.action-btn.danger {
    background: #fff;
    color: #ff6b9c;
    border: 2px solid #ff6b9c;
}

.action-btn.danger:active {
    transform: scale(0.95);
    background: rgba(255, 107, 156, 0.1);
}

/* 自定义确认弹窗 */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.custom-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 85%;
    max-width: 320px;
    overflow: hidden;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.custom-modal-header {
    padding: 20px 20px 10px;
    text-align: center;
}

.custom-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.custom-modal-body {
    padding: 10px 20px 20px;
    text-align: center;
}

.custom-modal-message {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.custom-modal-footer {
    display: flex;
    border-top: 1px solid #f0f0f0;
}

.custom-modal-btn {
    flex: 1;
    padding: 16px;
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.custom-modal-btn:active {
    background: #f5f5f5;
}

.custom-modal-btn.cancel {
    color: #999;
    border-right: 1px solid #f0f0f0;
}

.custom-modal-btn.confirm {
    color: #ff6b9c;
    font-weight: 600;
}

.custom-modal-btn.full-width {
    border-right: none;
}


/* Toast 提示样式 */
.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.toast-container.show {
    opacity: 1;
}

.toast-content {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.toast-icon {
    font-size: 24px;
    line-height: 1;
}

.toast-message {
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    flex: 1;
}