/* ===== 专辑标签?- 与专辑首页风格统一 ===== */

/* 页面布局 */
.square.diyAlbum {
    display: flex;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

/* ===== 左侧导航 - 卡片?===== */
.slideBar {
    width: 240px;
    flex-shrink: 0;
    background: var(--card-white);
    border-radius: var(--radius-lg);
    padding: 24px 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    height: fit-content;
}

.bangNavList {
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
    list-style: none;
}

.bangNavList li {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.bangNavList li.current a {
    color: var(--primary);
}

.bangNavList li a {
    color: var(--text-dark);
    text-decoration: none;
}

/* 导航分类 */
.slideNav-tree {
    margin: 0;
    padding: 0 20px;
}

.slideNav-tree dt {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 12px 0 8px;
    border-bottom: 1px dashed var(--border-light);
    margin-bottom: 8px;
}

.slideNav-tree dd {
    margin: 0;
    padding: 6px 0 6px 12px;
    font-size: 14px;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}

.slideNav-tree dd:hover {
    border-left-color: var(--primary-light);
    background: var(--bg-light);
}

.slideNav-tree dd.current {
    border-left-color: var(--primary);
    background: var(--bg-light);
}

.slideNav-tree dd.current a {
    color: var(--primary);
    font-weight: 500;
}

.slideNav-tree dd a {
    color: var(--text-soft);
    text-decoration: none;
    display: block;
}

.slideNav-tree dd a:hover {
    color: var(--primary);
}

/* ===== 右侧主内容区 ===== */
.main.squareAlbum {
    flex: 1;
    min-width: 0;
}

/* 标题?*/
.square-tit {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.square-tit:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--primary);
}

/* ===== 专辑卡片网格 - 完全复用专辑首页?===== */
.squareAlbum-bd .album-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.squareAlbum-bd .album-list li {
    background: var(--card-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    padding: 0;
    margin: 0;
}

.squareAlbum-bd .album-list li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* 专辑封面 - 统一比例 */
.album-pic {
    position: relative;
    width: 100%;
    background: var(--bg-light);
    overflow: hidden;
}

.album-pic .t-i {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

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

.album-pic:hover img {
    transform: scale(1.05);
}

/* 遮罩?- 保持原有功能但更精致 */
.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.02);
    opacity: 0;
    transition: opacity 0.3s;
}

.album-pic:hover .mask {
    opacity: 1;
    background: rgba(74,108,247,0.02);
}

/* 专辑信息 */
.squareAlbum-bd .album-list li dl {
    padding: 16px;
    margin: 0;
}

.squareAlbum-bd .album-list li dt {
    margin-bottom: 8px;
}

.squareAlbum-bd .album-list li dt .t-t {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    line-height: 1.4;
    max-height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.squareAlbum-bd .album-list li dt .t-t:hover {
    color: var(--primary);
}

/* 分类面包?*/
.squareAlbum-bd .album-list li dt a[href*="class"] {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
}

.squareAlbum-bd .album-list li dt a[href*="class"]:hover {
    color: var(--primary);
}

/* 操作图标 */
.music-icon {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.icon-love, .icon-recommend {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.2s;
    font-size: 0;  /* 隐藏文字，实际图标是背景?*/
}

/* 如果没有背景图，用emoji回退 */
.icon-love:before {
    content: "❤️";
    font-size: 16px;
}
.icon-recommend:before {
    content: "📤";
    font-size: 16px;
}

.icon-love:hover {
    background: #fee2e2;
    color: #ef4444;
}

.icon-recommend:hover {
    background: #e6f7e6;
    color: #10b981;
}

/* 专辑元信?*/
.squareAlbum-bd .album-list li dd {
    margin: 8px 0 0 0;
    padding: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.squareAlbum-bd .album-list li dd.tag {
    color: var(--primary);
}

.squareAlbum-bd .album-list li dd.tag a {
    color: var(--primary);
    text-decoration: none;
}

.squareAlbum-bd .album-list li dd.tag a:hover {
    text-decoration: underline;
}

.squareAlbum-bd .album-list li dd.i-t {
    color: var(--text-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 42px;
}

/* 空状?*/
.squareAlbum-bd [align="center"] {
    grid-column: 1 / -1;
    padding: 60px 0;
    color: var(--text-muted);
    font-size: 16px;
}

/* 分页 - 复用专辑首页样式 */
.page {
    margin-top: 40px;
}

.pgs {
    display: flex;
    justify-content: center;
}

.pg, .pgs .pg {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* 响应?*/
@media (max-width: 768px) {
    .square.diyAlbum {
        flex-direction: column;
        padding: 16px;
    }
    
    .slideBar {
        width: 100%;
    }
    
    .squareAlbum-bd .album-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
}
/*  music_home.css ĩβ׷ */

/* ===== ޸ղ/ͼ ===== */
/* Font Awesome 6 Ѱ */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* ԭͼʽ */
.icon-love, .icon-recommend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.2s;
    font-size: 0;  /*  */
    text-decoration: none;
}

.icon-love:before {
    font-family: "Font Awesome 6 Free";
    content: "\f004";  /* ͼunicode */
    font-size: 16px;
    font-weight: 400;
}

.icon-love:hover:before {
    font-weight: 900;  /* ʵ */
}

.icon-recommend:before {
    font-family: "Font Awesome 6 Free";
    content: "\f1e0";  /* ͼunicode */
    font-size: 16px;
    font-weight: 400;
}

.icon-love:hover {
    background: #fee2e2;
    color: #ef4444;
}

.icon-recommend:hover {
    background: #e6f7e6;
    color: #10b981;
}
/*  music_home.css ĩβ׷ */

/* ===== ͳһҳʽ - רҳһ ===== */
.page {
    margin-top: 40px;
    margin-bottom: 20px;
}

.pgs, .pg {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pg a, .pg strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    transition: all 0.2s;
}

.pg a:hover {
    background: #4a6cf7;
    color: white;
    border-color: #4a6cf7;
}

.pg strong {
    background: #4a6cf7;
    color: white;
    border-color: #4a6cf7;
    font-weight: 500;
}

.pg .prev, .pg .nxt {
    padding: 0 16px;
}

/* ƶ */
@media (max-width: 768px) {
    .pg {
        gap: 4px;
    }
    
    .pg a, .pg strong {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}
/* ===== ҳťʽ - ÿƬ ===== */
.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-light {
  background: #f8fafc;
  color: #475569;
  border-color: #e2e8f0;
}

.btn-light:hover {
  background: #6b8aff;
  color: white;
  border-color: #6b8aff;
}

.btn-primary {
  background: #4a6cf7;
  color: white;
}

.btn-primary:hover {
  background: #6b8aff;
  transform: translateY(-2px);
}

/* абʽ */
#danceBestList1 li,
#danceBestList2 li,
#danceDay li,
#danceWeek li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

#danceBestList1 li:last-child,
#danceBestList2 li:last-child,
#danceDay li:last-child,
#danceWeek li:last-child {
  border-bottom: none;
}

#danceBestList1 input,
#danceBestList2 input,
#danceDay input,
#danceWeek input {
  width: 18px;
  height: 18px;
  accent-color: #4a6cf7;
  border-radius: 4px;
  margin-right: 12px;
  cursor: pointer;
}

/* ̳̬б */
.tags ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 14px;
}

.tags ul li a {
  color: #475569;
  text-decoration: none;
}

.tags ul li a:hover {
  color: #4a6cf7;
}

/* Ƹб */
.publisher ul li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 14px;
}

/* Ӧʽ */
@media (max-width: 768px) {
  .grid-a,
  [style*="display: flex; gap: 24px;"] {
    flex-direction: column;
  }
  
  [style*="width: 340px;"],
  [style*="width: 280px;"] {
    width: 100% !important;
  }
}
/* ===== ҳабʽ ===== */
.rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rank-list li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank-index {
  width: 24px;
  color: #64748b;
  font-weight: 500;
}

.rank-name {
  flex: 1;
  color: #1e293b;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-name:hover {
  color: #4a6cf7;
}

.rank-count {
  color: #94a3b8;
  font-size: 12px;
}

/* Ƭ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* γ/赸Ƭ */
.media-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  border: 1px solid #f1f5f9;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.media-cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.media-info {
  padding: 12px;
}

.media-title {
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-desc {
  font-size: 13px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}