/* 我的音乐页面样式 */

/* 用户资料卡片 */
.profile-card {
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 40px;
    display: flex;
    gap: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    z-index: 0;
}

.profile-cover {
    position: relative;
    z-index: 1;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 20px 30px -10px var(--glow-color);
}

.profile-avatar.large {
    width: 150px;
    height: 150px;
    font-size: 64px;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.profile-name {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.profile-bio {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 600px;
    line-height: 1.6;
}

.profile-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.profile-stat {
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-edit-btn {
    padding: 12px 30px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.profile-edit-btn:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--glow-color);
}

/* 音乐库导航 */
.library-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 60px;
    border: 1px solid var(--border-color);
}

.library-nav-item {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 40px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.library-nav-item:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
}

.library-nav-item.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 20px -5px var(--glow-color);
}

/* 内容区域 */
.library-content {
    min-height: 400px;
}

/* 视图头部 */
.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    flex-wrap: wrap;
    gap: 15px;
}

.view-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.view-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
}

.view-action-btn {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-action-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.view-action-btn.primary {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

.view-action-btn.primary:hover {
    box-shadow: 0 10px 20px -5px var(--glow-color);
}

/* 筛选按钮组 */
.filter-group {
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--bg-elevated);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.filter-chip {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
    background: transparent;
    border: none;
}

.filter-chip:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.filter-chip.active {
    background: var(--accent-gradient);
    color: white;
}

.filter-chip.public.active {
    background: #10b981;
}

.filter-chip.private.active {
    background: #ef4444;
}

/* 歌曲表格 - 桌面版 */
.song-table {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.table-header {
    display: grid;
    grid-template-columns: 50px 1fr 150px 80px 80px 80px 120px;
    padding: 16px 24px;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.table-header span {
    white-space: nowrap;
}

.table-row {
    display: grid;
    grid-template-columns: 50px 1fr 150px 80px 80px 80px 120px;
    padding: 12px 24px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
    cursor: pointer;
    position: relative;
}

.table-row:hover {
    background: var(--bg-elevated);
}

.table-row.playing {
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid var(--accent-primary);
}

.table-index {
    color: var(--text-tertiary);
    font-size: 16px;
    font-weight: 500;
}

.table-info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.table-cover {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.table-details {
    flex: 1;
    min-width: 0;
}

.table-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-artist {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-album {
    color: var(--text-secondary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-duration {
    color: var(--text-secondary);
    font-size: 14px;
}

.table-plays {
    color: var(--text-secondary);
    font-size: 14px;
}

.table-visibility {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.visibility-badge.public {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.visibility-badge.private {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.table-actions {
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    justify-content: flex-end;
}

.table-row:hover .table-actions {
    opacity: 1;
}

.table-action {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 4px;
    border-radius: 4px;
}

.table-action:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
    background: var(--bg-card);
}

.table-action.liked {
    color: #EC4899;
}

.table-action.public {
    color: #10b981;
}

.table-action.public:hover {
    color: #059669;
}

/* 可见性菜单 */
.visibility-menu {
    position: absolute;
    top: 45px;
    right: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    min-width: 140px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 200;
    display: none;
}

.visibility-menu.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

.visibility-option {
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.visibility-option:hover {
    background: var(--bg-card);
}

.visibility-option.public {
    color: #10b981;
}

.visibility-option.private {
    color: #ef4444;
}

.visibility-option i {
    font-size: 16px;
}

.visibility-option span {
    flex: 1;
}

.visibility-option .check {
    color: var(--accent-primary);
    opacity: 0;
}

.visibility-option.active .check {
    opacity: 1;
}

/* 分享链接输入框 */
.share-link-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 20px;
}

.share-link-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--glow-color);
}

.share-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* 歌单网格 */
.playlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.playlist-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.playlist-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 30px -10px var(--glow-color);
}

.playlist-cover {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
}

.playlist-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.playlist-card:hover .playlist-cover img {
    transform: scale(1.1);
}

.playlist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
}

.playlist-card:hover .playlist-overlay {
    opacity: 1;
}

.playlist-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playlist-play:hover {
    transform: scale(1.1);
}

.playlist-edit {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playlist-edit:hover {
    background: var(--accent-gradient);
    border-color: transparent;
}

.playlist-info {
    padding: 20px;
}

.playlist-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 14px;
}

/* 无限滚动加载指示器 */
.infinite-scroll-trigger {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.infinite-scroll-trigger .spinner-small {
    width: 30px;
    height: 30px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.infinite-scroll-trigger .end-message {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* 加载状态 */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 加载更多按钮（备用） */
.load-more {
    text-align: center;
    padding: 30px 0;
}

.load-more-btn {
    padding: 12px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.empty-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
}

.empty-btn {
    padding: 14px 40px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 40px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -10px var(--glow-color);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    background: var(--bg-primary);
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
    border: 1px solid var(--border-color);
}

.modal-content.small {
    max-width: 400px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.modal-close:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.modal-header {
    padding: 30px 30px 0;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-body {
    padding: 30px;
}

/* 弹窗表单 */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--glow-color);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
}

.cover-upload, .avatar-upload {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cover-preview, .avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.avatar-preview {
    border-radius: 50%;
}

.upload-btn {
    padding: 10px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 30px;
}

.modal-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn.cancel {
    background: var(--bg-elevated);
    color: var(--text-secondary);
}

.modal-btn.cancel:hover {
    background: var(--bg-card);
}

.modal-btn.confirm {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 20px -5px var(--glow-color);
}

.modal-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -5px var(--glow-color);
}

/* 歌单复选框列表 */
.playlist-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.playlist-check-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.3s;
}

.playlist-check-item:hover {
    background: var(--bg-elevated);
}

.playlist-check-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 16px;
    accent-color: var(--accent-primary);
}

.playlist-check-cover {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 16px;
}

.playlist-check-info {
    flex: 1;
}

.playlist-check-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.playlist-check-count {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 按钮样式 */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--glow-color);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

/* Toast提示 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}

.toast {
    padding: 12px 24px;
    border-radius: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast.success {
    background: #10b981;
    color: white;
    border-color: #059669;
}

.toast.error {
    background: #ef4444;
    color: white;
    border-color: #dc2626;
}

.toast.warning {
    background: #f59e0b;
    color: white;
    border-color: #d97706;
}

.toast.info {
    background: #3b82f6;
    color: white;
    border-color: #2563eb;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 响应式设计 - 手机端优化 ==================== */

/* 平板设备 */
@media (max-width: 1024px) {
    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }
    
    .profile-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .profile-avatar.large {
        width: 120px;
        height: 120px;
        font-size: 48px;
    }
    
    .profile-name {
        font-size: 28px;
    }
    
    /* 表格适配 */
    .table-header {
        grid-template-columns: 40px 1fr 100px 60px 60px 80px;
    }
    
    .table-header span:nth-child(3) {
        display: none;
    }
    
    .table-row {
        grid-template-columns: 40px 1fr 100px 60px 60px 80px;
    }
    
    .table-album {
        display: none;
    }
}

/* 手机设备 */
@media (max-width: 768px) {
    /* 导航优化 */
    .library-nav {
        border-radius: 20px;
        padding: 8px;
        gap: 4px;
        justify-content: center;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .library-nav::-webkit-scrollbar {
        display: none;
    }
    
    .library-nav-item {
        padding: 8px 12px;
        font-size: 13px;
        gap: 4px;
        white-space: nowrap;
    }
    
    .library-nav-item span {
        font-size: 14px;
    }
    
    /* 视图头部优化 */
    .view-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .view-title {
        font-size: 20px;
    }
    
    .view-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .view-action-btn {
        padding: 8px 12px;
        font-size: 12px;
        flex: 1;
        justify-content: center;
    }
    
    /* 筛选组优化 */
    .filter-group {
        width: 100%;
        justify-content: center;
        padding: 4px;
    }
    
    .filter-chip {
        padding: 6px 10px;
        font-size: 12px;
        flex: 1;
        text-align: center;
    }
    
    /* 表格完全改造为卡片式 */
    .table-header {
        display: none; /* 手机端隐藏表头 */
    }
    
    .song-table {
        background: transparent;
        border: none;
    }
    
    .table-row {
        display: block;
        padding: 15px;
        margin-bottom: 12px;
        background: var(--bg-card);
        border-radius: 16px;
        border: 1px solid var(--border-color);
        position: relative;
        grid-template-columns: unset;
    }
    
    .table-index {
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: 14px;
        color: var(--text-tertiary);
        background: var(--bg-elevated);
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }
    
    .table-info {
        margin-left: 35px;
        margin-bottom: 10px;
    }
    
    .table-cover {
        width: 50px;
        height: 50px;
    }
    
    .table-title {
        font-size: 15px;
        white-space: normal;
        line-height: 1.3;
    }
    
    .table-artist {
        font-size: 12px;
    }
    
    /* 隐藏不需要的列 */
    .table-album,
    .table-duration,
    .table-plays {
        display: none;
    }
    
    /* 显示状态和操作在同一行 */
    .table-visibility {
        display: inline-flex;
        margin-right: 10px;
    }
    
    .visibility-badge {
        padding: 2px 6px;
        font-size: 11px;
    }
    
    .table-actions {
        opacity: 1;
        position: absolute;
        top: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .table-action {
        font-size: 16px;
        padding: 6px;
        background: var(--bg-elevated);
        border-radius: 20px;
    }
    
    /* 可见性菜单位置调整 */
    .visibility-menu {
        top: 40px;
        right: 5px;
        min-width: 120px;
    }
    
    .visibility-option {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    /* 歌单网格优化 */
    .playlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .playlist-info {
        padding: 12px;
    }
    
    .playlist-name {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .playlist-meta {
        font-size: 11px;
    }
    
    .playlist-play {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    /* 空状态优化 */
    .empty-state {
        padding: 50px 20px;
    }
    
    .empty-icon {
        font-size: 48px;
    }
    
    .empty-title {
        font-size: 20px;
    }
    
    .empty-desc {
        font-size: 14px;
    }
    
    .empty-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    /* 弹窗优化 */
    .modal-content {
        width: 95%;
        margin: 30px auto;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 20px 20px 0;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* 用户资料优化 */
    .profile-card {
        padding: 25px 15px;
        gap: 20px;
    }
    
    .profile-avatar.large {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .profile-bio {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .profile-stats {
        gap: 20px;
        margin-bottom: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* 无限滚动优化 */
    .infinite-scroll-trigger {
        height: 40px;
        margin: 10px 0;
    }
    
    .infinite-scroll-trigger .spinner-small {
        width: 24px;
        height: 24px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .library-nav-item {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .library-nav-item span {
        font-size: 12px;
    }
    
    .playlist-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .playlist-card {
        display: flex;
        align-items: center;
    }
    
    .playlist-cover {
        width: 80px;
        height: 80px;
        padding-bottom: 0;
        flex-shrink: 0;
    }
    
    .playlist-cover img {
        position: relative;
        width: 80px;
        height: 80px;
    }
    
    .playlist-overlay {
        display: none;
    }
    
    .playlist-info {
        flex: 1;
        padding: 10px;
    }
    
    .table-row {
        padding: 12px;
    }
    
    .table-info {
        margin-left: 30px;
    }
    
    .table-cover {
        width: 40px;
        height: 40px;
    }
    
    .table-actions {
        top: 12px;
        right: 12px;
    }
}

/* 分享弹窗样式 */
.share-modal-content {
    padding: 0;
}

.share-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.share-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0 8px;
}

.share-close:hover {
    color: var(--accent-primary);
}

.share-body {
    padding: 24px;
}

.share-song-info {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-elevated);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.share-cover {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.share-details {
    flex: 1;
}

.share-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.share-artist {
    font-size: 14px;
    color: var(--text-secondary);
}

.share-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.share-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.share-platform:hover {
    transform: translateY(-4px);
}

.platform-icon {
    width: 52px;
    height: 52px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    transition: all 0.3s;
}

.platform-icon.qq {
    background: #12B7F5;
}

.platform-icon.qzone {
    background: #FDB515;
}

.platform-icon.wechat {
    background: #2DC100;
}

.platform-icon.moment {
    background: #2DC100;
}

.platform-icon.weibo {
    background: #E6162D;
}

.share-platform span {
    font-size: 12px;
    color: var(--text-secondary);
}

.share-link-area {
    margin-bottom: 16px;
}

.share-link-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.share-link-box {
    display: flex;
    gap: 8px;
}

.share-link-box input {
    flex: 1;
    padding: 10px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
}

.share-link-box input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.copy-link-btn {
    padding: 10px 20px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--glow-color);
}

.share-tip {
    padding: 12px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.share-tip p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .share-platforms {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .share-song-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .share-cover {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .share-platforms {
        grid-template-columns: 1fr;
    }
    
    .share-platform {
        flex-direction: row;
        justify-content: flex-start;
        padding: 8px 16px;
        background: var(--bg-elevated);
        border-radius: 30px;
    }
}

