
.m-hero {
    padding: 16px;
}

.m-hero-slider {
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--app-border);
    background: var(--app-surface);
    overflow: hidden;
}

.m-hero-slide {
    display: none;
    position: relative;
    min-height: 200px;
    padding: 24px;
}

.m-hero-slide.active {
    display: block;
}

.m-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(.7) saturate(1.05);
}

.m-hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,rgba(10,14,23,.6),rgba(10,14,23,.9));
}

.m-hero-content {
    position: relative;
    z-index: 1;
    max-width: 88%;
}

.m-hero-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
}

.m-hero-subtitle {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255,255,255,.8);
}

.m-hero-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.m-hero-actions .m-button {
    height: 34px;
    font-size: 12px;
}

.m-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}

.m-hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    transition: all .3s;
}

.m-hero-dot.active {
    width: 20px;
    border-radius: 3px;
    background: var(--app-accent);
}

.m-genre-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
    max-width: 100%;
    box-sizing: border-box;
}

.m-genre-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px 16px;
    border-radius: 12px;
    border: 1px solid var(--app-border);
    background: var(--app-surface);
    text-decoration: none;
    color: var(--app-text-primary);
    overflow: hidden;
    transition: all .2s;
}

.m-genre-card:active {
    transform: scale(.97);
    background: var(--app-surface-hover);
}

.m-genre-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,var(--genre-color,var(--app-accent)),transparent 70%);
    opacity: .15;
}

.m-genre-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--app-text-primary);
    position: relative;
    z-index: 1;
}

.m-genre-count {
    font-size: 12px;
    color: var(--app-text-secondary);
    position: relative;
    z-index: 1;
    margin-top: 4px;
}

.m-genre-filter {
    padding: 0 16px 16px;
}

.m-genre-filter-btn {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--app-border);
    background: var(--app-surface);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all .2s;
    cursor: pointer;
}

.m-genre-filter-btn:active {
    background: var(--app-surface-hover);
}

.m-genre-filter-label {
    font-size: 14px;
    color: var(--app-text-secondary);
    font-weight: 500;
}

.m-genre-filter-value {
    flex: 1;
    font-size: 15px;
    color: var(--app-text-primary);
    font-weight: 600;
    text-align: left;
}

.m-genre-filter-btn i {
    font-size: 14px;
    color: var(--app-text-tertiary);
}

.m-track-hero {
    padding: 16px;
}

.m-track-card {
    border-radius: 16px;
    border: 1px solid var(--app-border);
    background: var(--app-surface);
    padding: 20px;
    text-align: center;
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.44), inset 0 1px 0 rgba(255,255,255,0.08);
}

.m-track-cover {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--app-bg-secondary);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    border: 1px solid rgba(148,163,184,.22);
}

.m-track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-track-title {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--app-text-primary);
    margin: 0 0 8px;
}

.m-track-artist {
    font-size: 15px;
    color: var(--app-text-secondary);
    margin-bottom: 16px;
    text-align: center;
}

.m-track-artist a {
    color: var(--app-accent);
    text-decoration: none;
}

.m-track-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.m-track-badge {
    height: 26px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    background: rgba(255,59,48,.15);
    color: #ff8a80;
    display: inline-flex;
    align-items: center;
    border: none;
}

.m-track-badge.ghost {
    background: rgba(255,255,255,.06);
    color: var(--app-text-secondary);
}

.m-track-actions {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
}

.m-track-info {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--app-border);
    background: var(--app-surface);
}

.m-info-item {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.03);
    text-align: center;
    border: 1px solid rgba(148,163,184,.14);
}

.m-info-label {
    font-size: 11px;
    color: var(--app-text-tertiary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.m-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--app-text-primary);
    line-height: 1.35;
}

.m-info-value a {
    color: var(--app-accent);
    text-decoration: none;
}

/* 艺术家/厂牌详情页 */
.m-artist-header {
    padding: 24px 16px;
    background: var(--app-surface);
    border-bottom: 1px solid var(--app-border);
    text-align: center;
}

.m-artist-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid var(--app-border);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.m-artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-artist-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--app-text-primary);
    margin-bottom: 8px;
}

.m-artist-bio {
    font-size: 14px;
    color: var(--app-text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.m-artist-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.m-artist-stat {
    text-align: center;
}

.m-artist-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--app-text-primary);
}

.m-artist-stat-label {
    font-size: 12px;
    color: var(--app-text-tertiary);
    margin-top: 2px;
}

/* 专辑详情页 */
.m-album-header {
    padding: 20px 16px;
    background: var(--app-surface);
    border-bottom: 1px solid var(--app-border);
}

.m-album-cover {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1;
    margin: 0 auto 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.m-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-album-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--app-text-primary);
    margin-bottom: 6px;
    text-align: center;
}

.m-album-artist {
    font-size: 15px;
    color: var(--app-text-secondary);
    text-align: center;
    margin-bottom: 12px;
}

.m-album-artist a {
    color: var(--app-accent);
    text-decoration: none;
}

.m-album-meta {
    display: flex;
    gap: 16px;
    justify-content: center;
    font-size: 13px;
    color: var(--app-text-tertiary);
}

/* 曲目列表（专辑内） */
.m-track-list {
    padding: 8px 0;
}

.m-track-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--app-surface);
    border-bottom: 1px solid var(--app-border);
    transition: background .2s;
}

.m-track-list-item:active {
    background: var(--app-surface-hover);
}

.m-track-number {
    width: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--app-text-tertiary);
    text-align: center;
}

.m-track-list-info {
    flex: 1;
    min-width: 0;
}

.m-track-list-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--app-text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-track-list-meta {
    font-size: 12px;
    color: var(--app-text-secondary);
}

/* 排行榜卡片 */
.m-chart-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px;
}

.m-chart-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--app-border);
    background: var(--app-surface);
    text-decoration: none;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}

.m-chart-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,rgba(255,59,48,.05),transparent 70%);
    opacity: 0;
    transition: opacity .2s;
}

.m-chart-card:active {
    background: var(--app-surface-hover);
}

.m-chart-card:active::before {
    opacity: 1;
}

.m-chart-cover {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
    position: relative;
    z-index: 1;
}

.m-chart-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-chart-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.m-chart-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--app-text-primary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-chart-desc {
    font-size: 13px;
    line-height: 1.4;
    color: var(--app-text-secondary);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.m-chart-arrow {
    color: var(--app-text-tertiary);
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

