/* ========== 全局重置 ========== */
* { 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: #f5f5f7; color: #333; font-size: 14px; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== 顶部导航 ========== */
.top-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; height: 64px; gap: 30px; }
.logo { font-size: 22px; font-weight: 700; color: #2c7be5; white-space: nowrap; }
.logo-icon { color: #e8556d; margin-right: 4px; }
.main-nav { display: flex; gap: 8px; flex: 1; }
.main-nav a { padding: 8px 16px; border-radius: 20px; color: #555; font-size: 15px; transition: all 0.2s; }
.main-nav a:hover, .main-nav a.active { background: #2c7be5; color: #fff; }
.main-nav .nav-ai { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.main-nav .nav-ai:hover { opacity: 0.9; }
.header-search { position: relative; }
.header-search form { display: flex; }
.header-search input { width: 220px; padding: 8px 14px; border: 1px solid #ddd; border-radius: 20px 0 0 20px; font-size: 13px; }
.header-search button { padding: 8px 16px; background: #2c7be5; color: #fff; border-radius: 0 20px 20px 0; font-size: 13px; }
.header-user { display: flex; align-items: center; gap: 10px; }
.user-link { display: flex; align-items: center; gap: 6px; color: #333; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; }
.login-btn, .register-btn { padding: 6px 16px; border-radius: 16px; font-size: 13px; }
.login-btn { color: #2c7be5; border: 1px solid #2c7be5; }
.register-btn { background: #2c7be5; color: #fff; }
.logout-btn { color: #999; font-size: 12px; }

/* ========== 主内容 ========== */
.main-content { padding: 20px 0 100px; min-height: calc(100vh - 64px); }

/* ========== 轮播图 ========== */
.banner-section { position: relative; margin-bottom: 30px; border-radius: 12px; overflow: hidden; }
.banner-slider { position: relative; height: 320px; }
.banner-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.6s; display: flex; align-items: flex-end; }
.banner-item.active { opacity: 1; }
.banner-text { padding: 30px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); width: 100%; color: #fff; }
.banner-text h2 { font-size: 28px; }
.banner-dots { position: absolute; bottom: 15px; right: 20px; display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.dot.active { background: #fff; width: 24px; border-radius: 5px; }

/* ========== 快捷入口 ========== */
.quick-entry { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 30px; }
.entry-card { background: #fff; border-radius: 12px; padding: 24px; text-align: center; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.entry-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.entry-icon { font-size: 36px; margin-bottom: 10px; }
.entry-text { font-size: 15px; color: #333; font-weight: 500; }
.entry-ai { background: linear-gradient(135deg, #667eea, #764ba2); }
.entry-ai .entry-text { color: #fff; }

/* ========== 区块通用 ========== */
.section { margin-bottom: 36px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-header h2 { font-size: 20px; font-weight: 600; }
.more-link { color: #999; font-size: 13px; }

/* ========== 歌曲卡片网格 ========== */
.song-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.song-card { cursor: pointer; transition: transform 0.2s; }
.song-card:hover { transform: translateY(-3px); }
.song-cover { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.song-cover img { width: 100%; height: 100%; object-fit: cover; }
.play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; }
.song-card:hover .play-overlay { opacity: 1; }
.play-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #2c7be5; }
.new-badge { position: absolute; top: 8px; left: 8px; background: #e8556d; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.list-play-count { position: absolute; top: 8px; right: 8px; color: #fff; font-size: 12px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.song-info { padding: 10px 4px; }
.song-title { font-size: 14px; font-weight: 500; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-singer { font-size: 12px; color: #999; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ========== 排行榜 ========== */
.rank-list { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.rank-item { display: flex; align-items: center; padding: 12px 20px; gap: 16px; cursor: pointer; border-bottom: 1px solid #f5f5f5; transition: background 0.2s; }
.rank-item:hover { background: #f8f9ff; }
.rank-item:last-child { border-bottom: none; }
.rank-num { width: 28px; text-align: center; font-size: 16px; font-weight: 600; color: #999; }
.rank-num.top { color: #e8556d; }
.rank-cover { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.rank-info { flex: 1; }
.rank-title { font-size: 14px; font-weight: 500; }
.rank-singer { font-size: 12px; color: #999; margin-top: 2px; }
.rank-duration { color: #999; font-size: 13px; width: 50px; }
.rank-plays { color: #bbb; font-size: 12px; width: 80px; text-align: right; }

/* ========== MV网格 ========== */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mv-grid-full { grid-template-columns: repeat(4, 1fr); }
.mv-card { display: block; }
.mv-cover { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; }
.mv-cover img { width: 100%; height: 100%; object-fit: cover; }
.mv-play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 32px; }
.mv-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.7); color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 4px; }
.mv-plays { position: absolute; top: 8px; left: 8px; color: #fff; font-size: 12px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.mv-info { padding: 10px 4px; }
.mv-title { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv-singer { font-size: 12px; color: #999; margin-top: 4px; }

/* ========== 歌曲表格 ========== */
.song-table-wrap { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.song-table { width: 100%; border-collapse: collapse; }
.song-table th { background: #f8f9ff; padding: 14px 16px; text-align: left; font-size: 13px; color: #666; font-weight: 500; }
.song-table td { padding: 12px 16px; border-bottom: 1px solid #f5f5f5; font-size: 13px; }
.song-row { cursor: pointer; transition: background 0.2s; }
.song-row:hover { background: #f8f9ff; }
.table-song { display: flex; align-items: center; gap: 10px; }
.table-cover { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.table-title { font-weight: 500; }
.ai-tag { display: inline-block; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 3px; margin-left: 6px; }
.mini-btn { display: inline-block; padding: 4px 10px; font-size: 12px; border-radius: 4px; background: #f0f2f5; color: #555; margin-right: 4px; cursor: pointer; border: none; }
.mini-btn:hover { background: #e4e7ed; }

/* ========== 分页 ========== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.page-btn { padding: 8px 14px; border-radius: 6px; background: #fff; color: #555; font-size: 13px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.page-btn.active { background: #2c7be5; color: #fff; }
.page-btn:hover { background: #e8f0fe; }
.page-btn.active:hover { background: #2c7be5; }

/* ========== 页面头部 ========== */
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: 24px; font-weight: 600; }
.page-sub { color: #999; font-size: 13px; margin-top: 6px; }

/* ========== 详情页 ========== */
.detail-page { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.detail-header { display: flex; gap: 30px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #f0f0f0; }
.detail-cover { width: 200px; height: 200px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.detail-info { flex: 1; }
.detail-info h1 { font-size: 28px; margin-bottom: 16px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 20px; color: #666; font-size: 14px; margin-bottom: 16px; }
.detail-stats { display: flex; gap: 24px; color: #999; font-size: 13px; margin-bottom: 24px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { padding: 10px 24px; background: #2c7be5; color: #fff; border-radius: 24px; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.btn-primary:hover { background: #1a68d4; }
.btn-secondary { padding: 10px 24px; background: #f0f2f5; color: #555; border-radius: 24px; font-size: 14px; }
.btn-secondary:hover { background: #e4e7ed; }
.btn-large { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; padding: 12px; border-radius: 8px; }
.detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.lyric-section h3, .comment-section h3 { font-size: 18px; margin-bottom: 16px; }
.lyric-content { max-height: 400px; overflow-y: auto; line-height: 2; color: #666; }
.lyric-content p { margin-bottom: 4px; }
.no-lyric { color: #ccc; text-align: center; padding: 40px; }

/* ========== 评论 ========== */
.comment-input { display: flex; gap: 12px; margin-bottom: 20px; }
.comment-input textarea { flex: 1; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; resize: none; height: 60px; font-size: 13px; }
.comment-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item { display: flex; gap: 12px; }
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.comment-body { flex: 1; }
.comment-user { font-size: 13px; font-weight: 500; color: #2c7be5; }
.comment-text { font-size: 14px; color: #333; margin: 4px 0; }
.comment-time { font-size: 12px; color: #bbb; }

/* ========== MV详情 ========== */
.mv-player-section { margin-bottom: 30px; }
.mv-player-section h1 { font-size: 22px; margin-bottom: 12px; }
.mv-meta { display: flex; gap: 20px; color: #999; font-size: 13px; margin-bottom: 16px; }
.mv-player { margin-bottom: 20px; background: #000; border-radius: 8px; overflow: hidden; }
.mv-desc { margin-top: 20px; padding: 20px; background: #f8f9ff; border-radius: 8px; }
.mv-desc h3 { margin-bottom: 10px; font-size: 16px; }

/* ========== AI写歌 ========== */
.ai-page { }
.ai-hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 16px; padding: 50px; color: #fff; display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.ai-hero-text h1 { font-size: 36px; margin-bottom: 16px; }
.ai-hero-text p { font-size: 16px; opacity: 0.9; margin-bottom: 8px; }
.ai-sub { font-size: 13px !important; opacity: 0.7 !important; }
.ai-hero-actions { display: flex; gap: 16px; margin-top: 24px; }
.ai-hero-actions .btn-primary { background: #fff; color: #667eea; }
.ai-hero-actions .btn-secondary { background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.ai-hero-visual { }
.ai-wave { display: flex; align-items: flex-end; gap: 4px; height: 80px; }
.ai-wave span { width: 8px; background: rgba(255,255,255,0.6); border-radius: 4px; animation: wave 1.2s ease-in-out infinite; }
.ai-wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.ai-wave span:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.ai-wave span:nth-child(3) { height: 90%; animation-delay: 0.2s; }
.ai-wave span:nth-child(4) { height: 50%; animation-delay: 0.3s; }
.ai-wave span:nth-child(5) { height: 80%; animation-delay: 0.4s; }
.ai-wave span:nth-child(6) { height: 40%; animation-delay: 0.5s; }
.ai-wave span:nth-child(7) { height: 70%; animation-delay: 0.6s; }
.ai-wave span:nth-child(8) { height: 55%; animation-delay: 0.7s; }
.ai-wave span:nth-child(9) { height: 85%; animation-delay: 0.8s; }
.ai-wave span:nth-child(10) { height: 35%; animation-delay: 0.9s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

.ai-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.feature-card { background: #fff; border-radius: 12px; padding: 28px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.feature-icon { font-size: 40px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: #999; }

.ai-steps { background: #fff; border-radius: 12px; padding: 36px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.ai-steps h2 { text-align: center; margin-bottom: 30px; font-size: 22px; }
.steps-row { display: flex; align-items: center; justify-content: center; gap: 16px; }
.step-item { text-align: center; flex: 1; max-width: 200px; }
.step-num { width: 48px; height: 48px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; margin: 0 auto 12px; }
.step-item h4 { font-size: 15px; margin-bottom: 6px; }
.step-item p { font-size: 12px; color: #999; }
.step-arrow { color: #ddd; font-size: 24px; }

/* AI创建表单 */
.ai-create-form { background: #fff; border-radius: 12px; padding: 36px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); max-width: 800px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: #333; }
.form-group .required { color: #e8556d; }
.form-group input[type="text"], .form-group input[type="password"], .form-group input[type="number"], .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #2c7be5; }
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-tip { font-size: 12px; color: #999; margin-top: 6px; }
.duration-options { display: flex; gap: 12px; }
.duration-opt { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid #ddd; border-radius: 8px; cursor: pointer; font-size: 13px; }
.duration-opt input { margin: 0; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; }

/* AI弹窗 */
.ai-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.ai-modal-content { background: #fff; border-radius: 16px; padding: 40px; text-align: center; max-width: 420px; width: 90%; }
.ai-spinner { width: 56px; height: 56px; border: 4px solid #f0f0f0; border-top-color: #667eea; border-radius: 50%; margin: 0 auto 20px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-loading h3 { font-size: 18px; margin-bottom: 8px; }
.ai-loading p { color: #666; font-size: 14px; margin-bottom: 16px; }
.ai-progress-bar { height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.ai-progress-fill { height: 100%; background: linear-gradient(90deg, #667eea, #764ba2); width: 0%; transition: width 0.5s; border-radius: 4px; }
.ai-card-progress { background: #f7f7fc; border: 1px solid #eee; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.ai-progress-top { display: flex; justify-content: space-between; font-size: 12px; color: #555; margin-bottom: 6px; font-weight: 500; }
.ai-progress-hint { font-size: 12px; color: #9aa; margin-top: 6px; }
.ai-work-status.status-pending { background: #fff3cd; color: #8a6d1a; }
.ai-work-status.status-rejected { background: #f8d7da; color: #721c24; }
.ai-work-status.status-success { background: #d4edda; color: #155724; }
.ai-tip { font-size: 12px; color: #bbb; }

/* AI作品列表 */
.ai-works-list { display: flex; flex-direction: column; gap: 16px; }
.ai-work-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); display: flex; gap: 20px; }
.ai-work-status { padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 500; height: fit-content; white-space: nowrap; }
.status-0 { background: #fff3cd; color: #856404; }
.status-1 { background: #cce5ff; color: #004085; }
.status-2 { background: #d4edda; color: #155724; }
.status-3 { background: #f8d7da; color: #721c24; }
.ai-work-body { flex: 1; }
.ai-work-body h3 { font-size: 16px; margin-bottom: 8px; }
.ai-work-prompt { color: #666; font-size: 13px; margin-bottom: 10px; }
.ai-work-meta { display: flex; gap: 16px; color: #999; font-size: 12px; margin-bottom: 12px; }
.ai-work-actions { display: flex; gap: 10px; }
.ai-work-error { background: #f8d7da; padding: 10px 14px; border-radius: 6px; color: #721c24; font-size: 13px; }

/* ========== 用户中心 ========== */
.user-center { }
.user-profile { background: linear-gradient(135deg, #2c7be5, #667eea); border-radius: 12px; padding: 30px; display: flex; align-items: center; gap: 24px; color: #fff; margin-bottom: 24px; }
.user-big-avatar { width: 80px; height: 80px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.3); }
.user-profile-info h2 { font-size: 22px; margin-bottom: 8px; }
.user-profile-meta { display: flex; gap: 20px; font-size: 13px; opacity: 0.9; }
.user-tabs { display: flex; gap: 4px; margin-bottom: 20px; background: #fff; border-radius: 10px; padding: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.user-tabs .tab { padding: 10px 24px; border-radius: 8px; cursor: pointer; font-size: 14px; color: #666; transition: all 0.2s; }
.user-tabs .tab.active { background: #2c7be5; color: #fff; }

/* ========== 搜索 ========== */
.search-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.search-tab { padding: 8px 20px; border-radius: 20px; background: #fff; color: #666; font-size: 14px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.search-tab.active { background: #2c7be5; color: #fff; }
.search-result-tip { color: #666; margin-bottom: 16px; font-size: 14px; }

/* ========== 空状态 ========== */
.empty-state { text-align: center; padding: 60px 20px; color: #999; }
.empty-icon { font-size: 64px; margin-bottom: 16px; }
.empty-state p { margin-bottom: 20px; font-size: 15px; }

/* ========== 登录注册 ========== */
.auth-body { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.auth-container { text-align: center; }
.auth-logo { font-size: 32px; color: #fff; font-weight: 700; margin-bottom: 30px; }
.auth-box { background: #fff; border-radius: 16px; padding: 40px; width: 380px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.auth-box h2 { font-size: 24px; margin-bottom: 24px; color: #333; }
.auth-box .form-group { text-align: left; }
.auth-box .btn-primary { margin-top: 10px; }
.auth-links { display: flex; justify-content: space-between; margin-top: 20px; font-size: 13px; }
.auth-links a { color: #2c7be5; }

/* ========== 底部播放器 ========== */
.player-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #eee; box-shadow: 0 -4px 12px rgba(0,0,0,0.08); display: flex; align-items: center; padding: 10px 20px; z-index: 99; height: 70px; }
.player-info { display: flex; align-items: center; gap: 12px; width: 240px; }
.player-cover { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.player-text { flex: 1; min-width: 0; }
.player-title { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-singer { font-size: 11px; color: #999; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-controls { flex: 1; display: flex; align-items: center; justify-content: center; gap: 16px; }
.ctrl-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #555; transition: all 0.2s; }
.ctrl-btn:hover { background: #f0f2f5; }
.play-btn { width: 44px; height: 44px; background: #2c7be5; color: #fff; font-size: 18px; }
.play-btn:hover { background: #1a68d4; }
.progress-wrap { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 500px; }
.progress-wrap span { font-size: 11px; color: #999; min-width: 36px; }
.progress-bar { flex: 1; height: 4px; background: #e8e8e8; border-radius: 2px; cursor: pointer; position: relative; }
.progress-fill { height: 100%; background: #2c7be5; border-radius: 2px; width: 0%; }
.player-extra { display: flex; align-items: center; gap: 10px; width: 240px; justify-content: flex-end; }
.volume-wrap { display: flex; align-items: center; gap: 6px; }
.volume-wrap input { width: 80px; }

/* ========== 页脚 ========== */
.site-footer { background: #fff; border-top: 1px solid #eee; padding: 24px 0; text-align: center; color: #999; font-size: 12px; margin-bottom: 70px; }
.site-footer p { margin-bottom: 4px; }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
    .song-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-grid, .mv-grid-full { grid-template-columns: repeat(2, 1fr); }
    .quick-entry { grid-template-columns: repeat(3, 1fr); }
    .ai-features { grid-template-columns: repeat(2, 1fr); }
    .detail-body { grid-template-columns: 1fr; }
    .header-search { display: none; }
    .steps-row { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
}

/* ========== v4.1.37 AI音乐生成广场 ========== */
.ai-badge { position: absolute; top: 8px; left: 8px; background: linear-gradient(135deg,#8b5cf6,#6366f1); color: #fff; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 10px; z-index: 2; letter-spacing: 1px; }
.ai-square-actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.ai-like-btn, .ai-comment-btn { display: inline-flex; align-items: center; gap: 3px; border: none; background: none; font-size: 12px; color: #999; cursor: pointer; text-decoration: none; padding: 2px 4px; transition: color 0.2s; }
.ai-like-btn:hover, .ai-comment-btn:hover { color: #2c7be5; }
.ai-like-btn.liked { color: #f43f5e; }
.ai-like-btn.liked .like-count { font-weight: 600; }
.empty-tip a { text-decoration: underline; }
