/**
 * 播放页 — 参考 dj93.com/play 布局
 * 主栏 75% + 侧栏 23.5%，统一 .dj-mix-box 卡片容器
 */

.dj-mix-play-page {
    --dj-mix-gap: 15px;
    --dj-mix-box-bg: var(--dj-surface);
    --dj-mix-box-radius: var(--dj-radius-lg);
    /* 播放头图区 — 默认浅色 */
    --dj-mix-hero-blur-opacity: 0.38;
    --dj-mix-hero-scrim: var(--dj-player-blur-scrim);
    --dj-mix-hero-mobile-scrim: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(246, 245, 250, 0.9) 100%);
    --dj-mix-hero-fg: var(--dj-text);
    --dj-mix-hero-fg-muted: var(--dj-text-muted);
    --dj-mix-hero-fg-strong: var(--dj-text);
    --dj-mix-hero-link: var(--dj-primary);
    --dj-mix-hero-cover-ring: rgba(124, 58, 237, 0.28);
    --dj-mix-hero-cover-shadow: 0 10px 28px rgba(26, 22, 37, 0.14);
    --dj-mix-hero-panel-bg: rgba(255, 255, 255, 0.82);
    --dj-mix-hero-panel-border: var(--dj-border);
    --dj-mix-hero-chip-bg: var(--dj-surface-2);
    --dj-mix-hero-btn-bg: var(--dj-surface);
    --dj-mix-hero-btn-border: var(--dj-border);
    --dj-mix-hero-btn-fg: var(--dj-text);
    --dj-mix-hero-btn-hover-bg: var(--dj-primary-soft);
    --dj-mix-hero-btn-hover-fg: var(--dj-primary-hover);
    --dj-mix-hero-share-bg: var(--dj-surface-2);
    --dj-mix-hero-share-border: var(--dj-border);
    --dj-mix-hero-primary-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.75rem 2rem;
}

[data-theme="dark"] .dj-mix-play-page {
    --dj-mix-hero-blur-opacity: 0.48;
    --dj-mix-hero-mobile-scrim: linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.78) 100%);
    --dj-mix-hero-fg: #fff;
    --dj-mix-hero-fg-muted: rgba(255, 255, 255, 0.68);
    --dj-mix-hero-fg-strong: rgba(255, 255, 255, 0.96);
    --dj-mix-hero-link: var(--dj-primary-muted);
    --dj-mix-hero-cover-ring: rgba(255, 255, 255, 0.35);
    --dj-mix-hero-cover-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    --dj-mix-hero-panel-bg: rgba(0, 0, 0, 0.28);
    --dj-mix-hero-panel-border: rgba(255, 255, 255, 0.1);
    --dj-mix-hero-chip-bg: rgba(255, 255, 255, 0.07);
    --dj-mix-hero-btn-bg: rgba(255, 255, 255, 0.1);
    --dj-mix-hero-btn-border: rgba(255, 255, 255, 0.14);
    --dj-mix-hero-btn-fg: #fff;
    --dj-mix-hero-btn-hover-bg: rgba(255, 255, 255, 0.16);
    --dj-mix-hero-btn-hover-fg: #fff;
    --dj-mix-hero-share-bg: rgba(0, 0, 0, 0.24);
    --dj-mix-hero-share-border: rgba(255, 255, 255, 0.1);
    --dj-mix-hero-primary-shadow: 0 4px 14px rgba(124, 58, 237, 0.38);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .dj-mix-play-page {
        --dj-mix-hero-blur-opacity: 0.48;
        --dj-mix-hero-mobile-scrim: linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.78) 100%);
        --dj-mix-hero-fg: #fff;
        --dj-mix-hero-fg-muted: rgba(255, 255, 255, 0.68);
        --dj-mix-hero-fg-strong: rgba(255, 255, 255, 0.96);
        --dj-mix-hero-link: var(--dj-primary-muted);
        --dj-mix-hero-cover-ring: rgba(255, 255, 255, 0.35);
        --dj-mix-hero-cover-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
        --dj-mix-hero-panel-bg: rgba(0, 0, 0, 0.28);
        --dj-mix-hero-panel-border: rgba(255, 255, 255, 0.1);
        --dj-mix-hero-chip-bg: rgba(255, 255, 255, 0.07);
        --dj-mix-hero-btn-bg: rgba(255, 255, 255, 0.1);
        --dj-mix-hero-btn-border: rgba(255, 255, 255, 0.14);
        --dj-mix-hero-btn-fg: #fff;
        --dj-mix-hero-btn-hover-bg: rgba(255, 255, 255, 0.16);
        --dj-mix-hero-btn-hover-fg: #fff;
        --dj-mix-hero-share-bg: rgba(0, 0, 0, 0.24);
        --dj-mix-hero-share-border: rgba(255, 255, 255, 0.1);
        --dj-mix-hero-primary-shadow: 0 4px 14px rgba(124, 58, 237, 0.38);
    }
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .dj-mix-play-page {
        --dj-mix-hero-blur-opacity: 0.38;
        --dj-mix-hero-mobile-scrim: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(246, 245, 250, 0.9) 100%);
        --dj-mix-hero-fg: var(--dj-text);
        --dj-mix-hero-fg-muted: var(--dj-text-muted);
        --dj-mix-hero-fg-strong: var(--dj-text);
        --dj-mix-hero-link: var(--dj-primary);
        --dj-mix-hero-cover-ring: rgba(124, 58, 237, 0.28);
        --dj-mix-hero-cover-shadow: 0 10px 28px rgba(26, 22, 37, 0.14);
        --dj-mix-hero-panel-bg: rgba(255, 255, 255, 0.82);
        --dj-mix-hero-panel-border: var(--dj-border);
        --dj-mix-hero-chip-bg: var(--dj-surface-2);
        --dj-mix-hero-btn-bg: var(--dj-surface);
        --dj-mix-hero-btn-border: var(--dj-border);
        --dj-mix-hero-btn-fg: var(--dj-text);
        --dj-mix-hero-btn-hover-bg: var(--dj-primary-soft);
        --dj-mix-hero-btn-hover-fg: var(--dj-primary-hover);
        --dj-mix-hero-share-bg: var(--dj-surface-2);
        --dj-mix-hero-share-border: var(--dj-border);
        --dj-mix-hero-primary-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
    }
}

.dj-mix-play-page .dj-breadcrumb {
    margin: 0.75rem 0;
}

.dj-mix-detail-wrap {
    margin-top: var(--dj-mix-gap);
}

/* ========== 主栏 + 侧栏（参考 .main / .mainLeft / .mainRight） ========== */
.dj-mix-main-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--dj-mix-gap);
    align-items: flex-start;
}

.dj-mix-main {
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--dj-mix-gap);
}

.dj-mix-aside {
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--dj-mix-gap);
}

@media (min-width: 992px) {
    .dj-mix-main {
        flex: 1 1 calc(75% - var(--dj-mix-gap) / 2);
        max-width: calc(75% - var(--dj-mix-gap) / 2);
    }

    .dj-mix-aside {
        flex: 0 0 calc(25% - var(--dj-mix-gap) / 2);
        max-width: calc(25% - var(--dj-mix-gap) / 2);
        position: sticky;
        top: 15px;
        align-self: flex-start;
    }
}

/* ========== 统一卡片 .box ========== */
.dj-mix-box {
    background: var(--dj-mix-box-bg);
    border: 1px solid var(--dj-border);
    border-radius: var(--dj-mix-box-radius);
    overflow: hidden;
    box-shadow: var(--dj-shadow);
}

.dj-mix-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--dj-border);
    white-space: nowrap;
    overflow: hidden;
}

.dj-mix-title-bar h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--dj-text);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dj-mix-title-bar h3 .dj {
    color: var(--dj-primary);
    font-size: 1rem;
}

.dj-mix-title-bar__action {
    flex-shrink: 0;
    border: 1px solid var(--dj-border);
    border-radius: var(--dj-radius);
    background: var(--dj-surface-2);
    color: var(--dj-text-muted);
    font-size: 12px;
    line-height: 1.3;
    padding: 0.25rem 0.55rem;
    cursor: pointer;
}

.dj-mix-title-bar__action:hover {
    border-color: var(--dj-primary);
    color: var(--dj-primary);
}

/* 空广告位 — 零占位 */
.dj-mix-slider-slot:not(:has(.dj-mix-slider)),
.dj-mix-slider-slot.is-empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.dj-mix-aside__block.dj-mix-slider-slot:not(.is-empty) {
    background: var(--dj-mix-box-bg);
    border: 1px solid var(--dj-border);
    border-radius: var(--dj-mix-box-radius);
    overflow: hidden;
    padding: 0;
    box-shadow: var(--dj-shadow);
}

.dj-mix-slider-slot .dj-mix-slider {
    min-width: 0;
}

.dj-mix-slider__play-banner,
.dj-mix-slider__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dj-mix-slider__play-banner-item,
.dj-mix-slider__item {
    margin: 0;
    border-bottom: 1px solid var(--dj-border);
}

.dj-mix-slider__play-banner-item:last-child,
.dj-mix-slider__item:last-child {
    border-bottom: none;
}

.dj-mix-slider__play-banner-item a,
.dj-mix-slider__item a {
    display: block;
    line-height: 0;
}

.dj-mix-slider__play-banner-item img,
.dj-mix-slider__item img,
.dj-mix-slider__carousel img,
.dj-mix-slider__banner img {
    width: 100%;
    height: auto;
    display: block;
}

.dj-mix-slider__play-banner-item img {
    max-height: 120px;
    object-fit: cover;
}

/* ========== 播放区 .playWrap ========== */
.dj-mix-play-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.dj-mix-play-wrap__blur {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.dj-mix-play-wrap__blur img {
    position: absolute;
    inset: -20%;
    width: 140%;
    height: 140%;
    object-fit: cover;
    filter: blur(50px) saturate(1.1);
    transform: scale(1.1);
    opacity: var(--dj-mix-hero-blur-opacity);
}

.dj-mix-play-wrap__blur::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--dj-mix-hero-scrim);
}

.dj-mix-player__cover {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--dj-surface);
    border: 3px solid var(--dj-mix-hero-cover-ring);
    box-shadow: var(--dj-mix-hero-cover-shadow);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dj-mix-player__cover.is-playing {
    border-color: var(--dj-primary);
    box-shadow: 0 0 0 4px var(--dj-primary-soft, rgba(124, 58, 237, 0.25)), 0 8px 24px rgba(0, 0, 0, 0.28);
}

.dj-mix-player__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dj-mix-player__cover .rotate {
    animation: djMixCoverSpin 8s linear infinite;
    animation-play-state: paused;
}

.dj-mix-player__cover.is-playing .rotate {
    animation-play-state: running;
}

@keyframes djMixCoverSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dj-mix-play-info {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: min(100%, 280px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.dj-mix-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--dj-mix-hero-fg);
    word-break: break-word;
    border: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* 元信息 .playParams */
.dj-mix-params {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dj-mix-params__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem 1rem;
}

.dj-mix-params__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
    font-size: 13px;
}

.dj-mix-params__label {
    color: var(--dj-mix-hero-fg-muted);
    font-size: 12px;
}

.dj-mix-params__value {
    color: var(--dj-mix-hero-fg-strong);
    min-width: 0;
}

.dj-mix-params__value a {
    color: var(--dj-mix-hero-link);
    text-decoration: none;
}

.dj-mix-params__value a:hover {
    color: var(--dj-primary);
}

.dj-mix-info__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding-top: 0.25rem;
}

.dj-mix-info__share .dj-mix-params__label {
    margin-right: 0.15rem;
}

/* 操作按钮 .playBtns */
.dj-mix-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.dj-mix-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--dj-mix-hero-btn-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--dj-mix-hero-btn-fg);
    background: var(--dj-mix-hero-btn-bg);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.dj-mix-btn .dj {
    color: inherit;
    font-size: 16px;
    line-height: 1;
}

.dj-mix-btn:hover:not(.dj-mix-btn--primary) {
    background: var(--dj-mix-hero-btn-hover-bg);
    color: var(--dj-mix-hero-btn-hover-fg);
    border-color: var(--dj-primary-muted);
    transform: translateY(-1px);
}

.dj-mix-btn--primary,
body.dj-site .dj-mix-play-page a.dj-mix-btn.dj-mix-btn--primary {
    background: var(--dj-primary);
    border-color: var(--dj-primary);
    color: #fff;
    box-shadow: var(--dj-mix-hero-primary-shadow);
}

.dj-mix-btn--primary:hover,
body.dj-site .dj-mix-play-page a.dj-mix-btn.dj-mix-btn--primary:hover {
    background: var(--dj-primary-hover, var(--dj-primary));
    color: #fff;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.28);
}

.dj-mix-btn--warn {
    background: var(--dj-mix-hero-btn-bg);
    border-color: var(--dj-mix-hero-btn-border);
    color: var(--dj-mix-hero-btn-fg);
}

/* 播放器条 .playerBox */
.dj-mix-player-slot {
    padding: 0 1rem 1rem;
    border-top: 1px solid var(--dj-border);
    background: var(--dj-surface);
}

.dj-mix-player-slot #media {
    width: 100%;
    min-height: 72px;
    background: transparent !important;
}

.dj-mix-player-slot #media .jp-audio,
.dj-mix-player-slot #media .jp-interface,
.dj-mix-player-slot #media .jp-audio.jp-slim div.jp-type-single div.jp-interface {
    width: 100% !important;
    max-width: 100%;
}

/* ========== 播放列表（在 hero box 内） ========== */
.dj-mix-box--hero .dj-mix-playlist {
    background: var(--dj-surface-2);
    border: none;
    border-top: 1px solid var(--dj-border);
    border-radius: 0;
    padding: 0.75rem 1rem 0;
    margin: 0;
    box-shadow: none;
}

.dj-mix-playlist__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--dj-border);
}

.dj-mix-playlist__title {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 13px;
    color: var(--dj-text-muted);
    margin: 0;
}

.dj-mix-playlist__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.dj-mix-playlist__controls ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dj-mix-playlist__controls .t3 a {
    font-size: 12px;
    color: var(--dj-text-muted);
    text-decoration: none;
}

.dj-mix-playlist__controls .t3 a:hover,
.dj-mix-playlist__controls #aflbf:hover {
    color: var(--dj-primary) !important;
}

.dj-mix-playlist .playlist_menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--dj-border);
}

.dj-mix-playlist .playlist_menu ul li {
    padding: 0.35rem 0.15rem;
    font-size: 13px;
    color: var(--dj-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    background: transparent;
    margin: 0;
    white-space: nowrap;
}

.dj-mix-playlist .playlist_menu ul li:hover {
    color: var(--dj-primary);
}

.dj-mix-playlist .playlist_menu ul li.pton {
    color: var(--dj-primary);
    border-bottom-color: var(--dj-primary);
    font-weight: 600;
}

.dj-mix-playlist #playlist_ct {
    max-height: 360px;
    overflow: auto;
    padding: 0.5rem 0 0.75rem;
}

.dj-mix-playlist #playlist_ct1 {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.dj-mix-playlist #playlist_ct1 ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    margin: 0 0 0.4rem;
    list-style: none;
    background: var(--dj-surface);
    border-radius: var(--dj-radius);
    border-left: 3px solid transparent;
}

.dj-mix-playlist #playlist_ct1 ul.td3 {
    border-left-color: var(--dj-primary);
    background: var(--dj-primary-soft);
}

.dj-mix-playlist #playlist_ct1 ul:hover {
    filter: brightness(0.98);
}

.dj-mix-playlist #playlist_ct1 .bt {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.dj-mix-playlist #playlist_ct1 .bt a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--dj-text);
    font-size: 13px;
    text-decoration: none;
}

.dj-mix-playlist #playlist_ct1 .bt a:hover {
    color: var(--dj-primary);
}

.dj-mix-playlist #playlist_ct1 .num,
.dj-mix-playlist #playlist_ct1 .num2 {
    flex-shrink: 0;
}

.dj-mix-playlist #playlist_ct1 .nonere,
.dj-mix-playlist #playlist_ct1 .load1 {
    text-align: center;
    color: var(--dj-text-muted);
    padding: 2rem 1rem;
    font-size: 13px;
}

.dj-mix-playlist #playlist_ct2 {
    padding: 0.65rem 0 0;
    border-top: 1px solid var(--dj-border);
}

.dj-mix-playlist #playlist_ct2 .caozuo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    font-size: 12px;
}

.dj-mix-playlist #playlist_box a {
    display: inline-block;
    margin: 0 0.35rem 0.35rem 0;
    padding: 0.2rem 0.55rem;
    font-size: 12px;
    border-radius: var(--dj-radius);
    text-decoration: none;
    color: var(--dj-text-muted);
    background: var(--dj-surface);
}

.dj-mix-playlist #playlist_box a.boxon {
    color: var(--dj-primary);
    background: var(--dj-primary-soft);
}

.dj-mix-playlist .play_line1,
.dj-mix-playlist .play_line2 {
    display: none;
}

/* ========== 猜你喜欢 .exclusive ========== */
.dj-mix-play-page .dj-mix-exclusive,
.dj-mix-play-page .dj-mix-exclusive.dj-play-love-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 15px;
    padding: 15px;
}

.dj-mix-play-page .play_recommended-list ul li {
    border-bottom: none;
    margin-bottom: 0;
}

.dj-mix-love-col {
    display: contents;
}

.dj-mix-love-col ul {
    display: contents;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dj-mix-love-item {
    display: flex;
    align-items: center;
    min-height: 40px;
    line-height: 1.4;
    border-radius: 6px;
    min-width: 0;
    border: none;
    padding: 0;
    margin: 0;
}

.dj-mix-love-rank {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    line-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    border-radius: 4px;
    background: #555;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.dj-mix-love-rank.is-hot {
    background: #e53935;
}

.dj-mix-love-link {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: var(--dj-text);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dj-mix-love-link:hover {
    color: var(--dj-primary);
}

.dj-mix-love-date {
    flex-shrink: 0;
    margin-left: 8px;
    min-width: 48px;
    text-align: right;
    font-size: 12px;
    color: var(--dj-text-muted);
}

/* ========== 舞曲信息 .descList ========== */
.dj-mix-desc-list {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dj-mix-desc-item {
    font-size: 13px;
    line-height: 1.75;
    color: var(--dj-text-muted);
}

.dj-mix-desc-item a {
    color: var(--dj-primary);
    text-decoration: underline;
}

/* ========== 侧栏榜单 .rankBox ========== */
.dj-mix-rank__list-wrap {
    padding: 0.75rem 1rem 1rem;
}

.dj-mix-rank__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dj-mix-rank__item {
    display: flex;
    align-items: center;
    min-height: 40px;
    line-height: 1.35;
    border-radius: 6px;
    padding: 0 0.25rem;
    transition: background 0.15s;
}

.dj-mix-rank__item:hover {
    background: var(--dj-primary-soft);
}

.dj-mix-rank__num {
    flex-shrink: 0;
    width: 28px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    color: var(--dj-text-muted);
    margin-right: 0.35rem;
}

.dj-mix-rank__item.is-top .dj-mix-rank__num {
    color: var(--dj-primary);
}

.dj-mix-rank__link {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: var(--dj-text);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dj-mix-rank__link:hover {
    color: var(--dj-primary);
}

/* ========== 侧栏歌单 / 制作人 ========== */
.dj-mix-radio-panel.is-empty {
    display: none !important;
}

.dj-mix-radio-body {
    padding: 0.5rem 0.75rem 0.85rem;
}

.dj-mix-radio-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dj-mix-radio-item__link {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.45rem;
    border-radius: var(--dj-radius);
    text-decoration: none;
    color: var(--dj-text);
    background: var(--dj-surface-2);
    transition: background 0.15s, color 0.15s;
}

.dj-mix-radio-item__link:hover {
    background: var(--dj-primary-soft);
    color: var(--dj-primary);
}

.dj-mix-radio-item__cover {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--dj-surface);
}

.dj-mix-radio-item__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dj-mix-radio-item__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.dj-mix-radio-item__title {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dj-mix-radio-item__meta {
    font-size: 11px;
    color: var(--dj-text-muted);
}

.dj-mix-radio-item__arrow {
    font-size: 13px;
    color: var(--dj-text-muted);
    opacity: 0.5;
}

.dj-mix-box--producers .dj-mix-producer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem 0.5rem;
    padding: 0.75rem;
}

.dj-mix-producer-cell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    text-decoration: none;
    color: var(--dj-text);
}

.dj-mix-producer-cell:hover {
    color: var(--dj-primary);
}

.dj-mix-producer-cell__cover {
    aspect-ratio: 1;
    border-radius: var(--dj-radius);
    overflow: hidden;
    background: var(--dj-surface-2);
}

.dj-mix-producer-cell__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.dj-mix-producer-cell:hover .dj-mix-producer-cell__cover img {
    transform: scale(1.03);
}

.dj-mix-producer-cell__name {
    margin-top: 0.35rem;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dj-mix-aside__block img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== 覆盖 legacy / beautify 冲突 ========== */
.dj-mix-play-page .dj-play-love-panel,
.dj-mix-play-page .dj-play-info-panel,
.dj-mix-play-page .dj-play-playlist-panel,
.dj-mix-play-page .dj-mix-section {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.dj-mix-play-page .play_love h2 {
    margin: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 991.98px) {
    .dj-mix-params__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dj-mix-play-page .dj-mix-exclusive,
    .dj-mix-play-page .dj-mix-exclusive.dj-play-love-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 手机端美化 ========== */
@media (max-width: 767.98px) {
    .dj-mix-play-page {
        padding: 0 0.6rem 1.25rem;
    }

    .dj-mix-play-page .dj-breadcrumb {
        font-size: 12px;
        margin: 0.5rem 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dj-mix-play-page .dj-mix-box {
        border-style: solid !important;
        border-color: var(--dj-border) !important;
        box-shadow: none;
    }

    .dj-mix-play-wrap {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 1.1rem 0.9rem 0.9rem;
        gap: 0.85rem;
    }

    .dj-mix-play-wrap__blur img {
        opacity: var(--dj-mix-hero-blur-opacity);
        filter: blur(40px) saturate(1.05);
    }

    .dj-mix-play-wrap__blur::after {
        background: var(--dj-mix-hero-mobile-scrim);
    }

    .dj-mix-player__cover {
        align-self: center;
        width: 168px;
        height: 168px;
        border-width: 2px;
        box-shadow: var(--dj-mix-hero-cover-shadow);
    }

    .dj-mix-play-info {
        align-items: stretch;
        width: 100%;
        gap: 0.75rem;
    }

    .dj-mix-title {
        text-align: center;
        font-size: 1.02rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        padding: 0 0.15rem;
    }

    .dj-mix-params {
        background: var(--dj-mix-hero-panel-bg);
        border: 1px solid var(--dj-mix-hero-panel-border);
        border-radius: 12px;
        padding: 0.55rem;
        gap: 0.45rem;
    }

    .dj-mix-params__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .dj-mix-params__item {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.35rem;
        min-height: 34px;
        padding: 0.35rem 0.55rem;
        border-radius: 8px;
        background: var(--dj-mix-hero-chip-bg);
    }

    .dj-mix-params__label {
        flex-shrink: 0;
        font-size: 11px;
        color: var(--dj-mix-hero-fg-muted);
    }

    .dj-mix-params__value {
        font-size: 12px;
        font-weight: 600;
        color: var(--dj-mix-hero-fg-strong);
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dj-mix-params__value a {
        color: var(--dj-mix-hero-link);
    }

    .dj-mix-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
        justify-content: stretch;
    }

    .dj-mix-btn {
        min-width: 0;
        padding: 0.58rem 0.35rem;
        font-size: 11px;
        border-radius: 10px;
        background: var(--dj-mix-hero-btn-bg);
        border: 1px solid var(--dj-mix-hero-btn-border);
        color: var(--dj-mix-hero-btn-fg);
        white-space: normal;
        line-height: 1.25;
    }

    .dj-mix-btn .dj {
        font-size: 17px;
    }

    .dj-mix-btn--primary,
    body.dj-site .dj-mix-play-page a.dj-mix-btn.dj-mix-btn--primary {
        grid-column: 1 / -1;
        flex-direction: row;
        padding: 0.72rem 0.85rem;
        font-size: 14px;
        font-weight: 600;
        border-color: var(--dj-primary);
        color: #fff;
        box-shadow: var(--dj-mix-hero-primary-shadow);
    }

    .dj-mix-btn--warn {
        grid-column: 1 / -1;
        background: var(--dj-mix-hero-btn-bg);
        border-color: var(--dj-mix-hero-btn-border);
        color: var(--dj-mix-hero-btn-fg);
    }

    .dj-mix-info__share {
        justify-content: center;
        gap: 0.45rem;
        margin-top: 0.1rem;
        padding: 0.45rem 0.65rem;
        border-radius: 999px;
        background: var(--dj-mix-hero-share-bg);
        border: 1px solid var(--dj-mix-hero-share-border);
    }

    .dj-mix-info__share .dj-mix-params__label {
        font-size: 12px;
        color: var(--dj-mix-hero-fg-muted);
    }

    .dj-mix-player-slot {
        padding: 0.65rem 0.75rem 0.75rem;
        background: var(--dj-surface);
        border-top: 1px solid var(--dj-border);
    }

    .dj-mix-player-slot #media {
        min-height: 64px;
    }

    .dj-mix-box--hero .dj-mix-playlist {
        padding: 0.65rem 0.75rem 0;
    }

    .dj-mix-playlist .playlist_menu ul {
        gap: 0.15rem 0.45rem;
        padding: 0.4rem 0;
    }

    .dj-mix-playlist .playlist_menu ul li {
        font-size: 12px;
        padding: 0.3rem 0.1rem;
    }

    .dj-mix-playlist #playlist_ct {
        max-height: 280px;
    }

    .dj-mix-title-bar {
        padding: 0.75rem 0.85rem;
    }

    .dj-mix-title-bar h3 {
        font-size: 14px;
    }

    .dj-mix-play-page .dj-mix-exclusive,
    .dj-mix-play-page .dj-mix-exclusive.dj-play-love-grid {
        padding: 0.65rem 0.75rem 0.85rem;
        gap: 2px 10px;
    }

    .dj-mix-love-item {
        min-height: 36px;
    }

    .dj-mix-love-link {
        font-size: 12px;
    }

    .dj-mix-desc-list {
        padding: 0.65rem 0.85rem 0.85rem;
        gap: 0.55rem;
    }

    .dj-mix-desc-item {
        font-size: 12px;
        line-height: 1.65;
    }

    .dj-mix-rank__list-wrap {
        padding: 0.55rem 0.75rem 0.75rem;
    }

    .dj-mix-box--producers .dj-mix-producer-grid {
        padding: 0.65rem;
        gap: 0.55rem 0.4rem;
    }

    .dj-mix-radio-body {
        padding: 0.45rem 0.65rem 0.75rem;
    }

    /* jPlayer 手机端紧凑 */
    .dj-mix-play-page #media .jp-audio.jp-slim div.jp-type-single div.jp-interface {
        padding: 0 !important;
    }

    .dj-mix-play-page #media .jp-audio.jp-slim .jp-controls-row {
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .dj-mix-play-page #media .jp-audio.jp-slim .jp-controls-left,
    .dj-mix-play-page #media .jp-audio.jp-slim .jp-controls-mid,
    .dj-mix-play-page #media .jp-audio.jp-slim .jp-controls-right {
        flex: 1 1 auto;
        min-width: 0;
    }

    .dj-mix-play-page #media .jp-audio.jp-slim .jp-controls-mid {
        justify-content: center;
    }

    .dj-mix-play-page #media .jp-audio.jp-slim div.jp-time-holder {
        font-size: 11px;
    }

    .dj-mix-play-page #media .jp-audio.jp-slim .jp-volume-bar {
        width: 48px;
    }
}

@media (max-width: 575.98px) {
    .dj-mix-player__cover {
        width: 152px;
        height: 152px;
    }

    .dj-mix-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dj-mix-btn--primary,
    body.dj-site .dj-mix-play-page a.dj-mix-btn.dj-mix-btn--primary {
        grid-column: 1 / -1;
    }

    .dj-mix-btn--warn {
        grid-column: auto;
    }
}
