.music-videos-archive,
.music-video-page {
    --mv-accent: var(--primary, #7557f6);
    --mv-accent-2: #9b6cff;
    --mv-muted: var(--muted, #73758a);
    --mv-line: var(--line, rgba(116,119,140,.18));
    --mv-soft: color-mix(in srgb, var(--mv-accent) 8%, var(--surface, #fff));
}

.music-videos-archive__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    gap: 28px;
    overflow: hidden;
    margin: 12px 0 22px;
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid var(--mv-line);
    border-radius: 28px;
    background: radial-gradient(circle at 15% 20%, rgba(155,108,255,.2), transparent 38%), linear-gradient(135deg, var(--surface, #fff), rgba(117,87,246,.06));
    box-shadow: 0 22px 70px rgba(34,30,71,.08);
}

.music-videos-archive__hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(117,87,246,.09);
}

.music-videos-archive__hero h1 {
    margin: .35rem 0 .7rem;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.15;
}

.music-videos-archive__hero p {
    max-width: 720px;
    margin: 0;
    color: var(--mv-muted);
    line-height: 2;
}

.music-videos-archive__mark {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 150px;
    aspect-ratio: 1;
    margin-inline: auto;
    border-radius: 40%;
    background: linear-gradient(145deg, var(--mv-accent), var(--mv-accent-2));
    box-shadow: 0 24px 55px rgba(117,87,246,.34);
    transform: rotate(-7deg);
}

.music-videos-archive__mark span {
    display: grid;
    place-items: center;
    width: 72px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    transform: rotate(7deg);
}

.music-video-filter {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr)) auto;
    align-items: end;
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px;
    border: 1px solid var(--mv-line);
    border-radius: 18px;
    background: var(--surface, #fff);
}

.music-video-filter label {
    display: grid;
    gap: 6px;
    min-width: 0;
    font-size: .82rem;
    font-weight: 700;
}

.music-video-filter select {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--mv-line);
    border-radius: 12px;
    background: var(--surface, #fff);
    color: inherit;
    font: inherit;
}

.music-video-filter__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.music-videos-archive__stats {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
    color: var(--mv-muted);
    font-size: .78rem;
    font-weight: 700;
}

.music-videos-archive__stats span,
.music-videos-archive__stats a {
    padding: 6px 10px;
    border: 1px solid var(--mv-line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface, #fff) 92%, var(--mv-accent) 8%);
    color: inherit;
    text-decoration: none;
}

.music-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.music-video-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--mv-line);
    border-radius: 21px;
    background: var(--surface, #fff);
    box-shadow: 0 12px 35px rgba(27,24,57,.055);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.music-video-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--mv-accent) 35%, var(--mv-line));
    box-shadow: 0 22px 48px rgba(27,24,57,.12);
}

.music-video-card__poster {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #090913;
}

.music-video-card__poster img,
.music-video-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.music-video-card:hover .music-video-card__poster img { transform: scale(1.045); }

.music-video-card__placeholder {
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #3b2d78, #0b0a14);
    color: #fff;
    font-size: 2rem;
}

.music-video-card__poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4,4,10,.58), transparent 55%);
    pointer-events: none;
}

.sedahang-video-play-mark {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    opacity: 1;
}

.music-videos-archive__mark .sedahang-video-play-mark--archive {
    width: 54px;
    height: 54px;
}

.music-video-main-cover__placeholder .sedahang-video-play-mark--placeholder {
    width: clamp(92px, 16vw, 150px);
    height: clamp(92px, 16vw, 150px);
    filter: drop-shadow(0 18px 34px rgba(0,0,0,.28));
}

.music-video-card__play {
    position: absolute;
    z-index: 2;
    inset: 50% auto auto 50%;
    display: grid;
    place-items: center;
    width: 54px;
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    color: #5f3de1;
    box-shadow: 0 10px 34px rgba(0,0,0,.25);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.music-video-card:hover .music-video-card__play { transform: translate(-50%, -50%) scale(1.08); }

.music-video-card__play .sedahang-video-play-mark {
    width: 35px;
    height: 35px;
}

.music-video-card__badge,
.music-video-card__duration,
.music-video-card__quality {
    position: absolute;
    z-index: 3;
    bottom: 10px;
    padding: .3rem .56rem;
    border-radius: 9px;
    background: rgba(5,5,12,.82);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.music-video-card__badge { inset-inline-start: 10px; background: #dc2626; }
.music-video-card__duration { inset-inline-end: 10px; direction: ltr; font-variant-numeric: tabular-nums; }
.music-video-card__quality {
    inset: 10px 10px auto auto;
    background: rgba(255,255,255,.9);
    color: #4c35b8;
    direction: ltr;
    font-variant-numeric: tabular-nums;
}
.music-video-card__body { padding: 1rem 1.05rem 1.1rem; }
.music-video-card__body h3 { margin: .35rem 0 .65rem; font-size: 1rem; line-height: 1.75; }
.music-video-card__body h3 a { color: inherit; text-decoration: none; }
.music-video-card__meta { display: flex; justify-content: space-between; gap: 10px; color: var(--mv-muted); font-size: .76rem; }
.music-video-card__meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-video-empty { grid-column: 1 / -1; padding: 3rem; text-align: center; }
.music-video-empty p { color: var(--mv-muted); }
.music-video-pagination { margin-top: 24px; }

@media (max-width: 1180px) {
    .music-video-filter {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }
}

@media (max-width: 760px) {
    .music-videos-archive__hero {
        grid-template-columns: 1fr;
    }

    .music-videos-archive__mark {
        display: none;
    }

    .music-video-filter {
        grid-template-columns: 1fr;
    }

    .music-video-filter__actions,
    .music-video-filter__actions .button {
        width: 100%;
    }

    .music-video-filter__actions .button {
        flex: 1;
    }
}

/* Detail page — deliberately shares the song-detail visual language. */
.page-music-video-detail .music-video-song-page {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-color: color-mix(in srgb, var(--mv-accent) 12%, var(--mv-line));
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface, #fff) 97%, var(--mv-accent) 3%) 0, var(--surface, #fff) 58%);
}


.music-video-main-cover {
    isolation: isolate;
}


.music-video-main-cover__placeholder {
    display: grid;
    place-items: center;
    min-height: 100%;
    background: radial-gradient(circle at 35% 25%, #7c5cff, #151124 72%);
    color: #fff;
}

.music-video-song-content {
    position: relative;
    z-index: 1;
}









html[data-theme="dark"] .page-music-video-detail .music-video-song-page {
    border-color: color-mix(in srgb, var(--mv-accent) 22%, var(--mv-line));
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface, #11131a) 94%, var(--mv-accent) 6%) 0, var(--surface, #11131a) 58%);
}

.music-video-song-content .song-intro {
    max-width: 780px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: .96rem;
    line-height: 2;
}

.music-video-meta-row {
    margin-bottom: 18px;
}

.music-video-watch-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 22px;
    background: color-mix(in srgb, var(--primary-soft) 30%, var(--surface));
}

.music-video-watch-box__head {
    margin-bottom: 12px;
}

.music-video-quality-control {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700;
}

.music-video-quality-control select {
    flex: 1;
    min-width: 82px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 800;
}

.music-video-player-shell,
.music-video-embed-shell {
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: #030306;
    box-shadow: 0 22px 55px rgba(5,5,15,.25);
}

.music-video-player-shell video,
.music-video-embed-shell iframe {
    display: block;
    width: 100%;
    aspect-ratio: var(--mv-aspect, 16 / 9);
    max-height: 72vh;
    border: 0;
    background: #000;
    object-fit: contain;
}

.music-video-player-cover {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #05050b;
    cursor: pointer;
}

.music-video-player-cover[hidden] { display: none; }

.music-video-player-cover > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
}

.music-video-player-cover__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,12,.08), rgba(5,5,12,.52)), radial-gradient(circle at center, transparent 0, rgba(5,5,12,.18) 65%);
}

.music-video-player-cover__play {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    place-items: center;
    width: clamp(68px, 8vw, 88px);
    aspect-ratio: 1;
    border: 2px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--mv-accent);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.music-video-player-cover:hover .music-video-player-cover__play { transform: translate(-50%, -50%) scale(1.07); }

.music-video-player-cover__play .sedahang-video-play-mark {
    position: static;
    inset: auto;
    width: clamp(47px, 5.6vw, 60px);
    height: clamp(47px, 5.6vw, 60px);
    object-fit: contain;
    object-position: center;
    transform: none;
    margin: 0;
}

.music-video-player-cover__label {
    position: absolute;
    inset-inline: 0;
    bottom: 18px;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    text-shadow: 0 2px 14px #000;
}

.music-video-player-error {
    position: absolute;
    z-index: 5;
    inset: auto 12px 12px;
    padding: 10px 13px;
    border: 1px solid rgba(254,202,202,.4);
    border-radius: 12px;
    background: rgba(127,29,29,.90);
    color: #fff;
    font-size: .82rem;
    backdrop-filter: blur(8px);
}

.music-video-watch-box__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.8;
}

.music-video-watch-box__foot > span {
    max-width: 720px;
}

.music-video-premiere {
    margin-top: 18px;
    padding: clamp(24px, 5vw, 44px);
    border-radius: 22px;
    text-align: center;
    background: radial-gradient(circle at top, #5b42b8, #171429 70%);
    color: #fff;
    box-shadow: 0 22px 60px rgba(38,28,83,.25);
}

.music-video-premiere h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
.music-video-countdown { margin: 1.2rem 0; direction: rtl; font-size: clamp(1.2rem, 4vw, 2rem); font-weight: 900; }

.music-video-section-heading h2 { margin: .25rem 0 1rem; }
.music-video-description-box .prose { max-width: 900px; }

.music-video-chapters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.music-video-chapters button {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .85rem .95rem;
    border: 1px solid var(--mv-line);
    border-radius: 13px;
    background: var(--surface-2);
    color: inherit;
    text-align: right;
    font: inherit;
    cursor: pointer;
    transition: .18s;
}

.music-video-chapters button:hover {
    border-color: var(--mv-accent);
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.music-video-chapters span {
    direction: ltr;
    color: var(--mv-accent);
    font-size: .76rem;
    font-variant-numeric: tabular-nums;
}

.music-video-chapters strong { font-size: .84rem; }
.music-video-download-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.music-video-related-section {
    margin-top: 34px;
}

.music-video-source-fallback {
    margin-top: 18px;
    text-align: center;
}

.music-video-source-fallback p { color: var(--mv-muted); }

.music-video-information-dialog::backdrop {
    background: rgba(15,23,42,.56);
    backdrop-filter: blur(5px);
}

@media (max-width: 980px) {
    .music-videos-archive__hero { grid-template-columns: 1fr 120px; }
    .music-videos-archive__mark { width: 110px; }
    .music-video-watch-box__head { align-items: flex-start; }
}

@media (max-width: 680px) {
    .music-videos-archive__hero { grid-template-columns: 1fr; padding: 24px; }
    .music-videos-archive__mark { display: none; }
    .music-video-filter { align-items: stretch; }
    .music-video-filter label,
    .music-video-filter .button { width: 100%; }
    .music-video-grid { grid-template-columns: 1fr; }

    .page-music-video-detail .music-video-song-page {
        gap: 18px;
    }



    .page-music-video-detail .music-video-main-cover {
        width: min(76vw, 330px);
    }

    .music-video-watch-box {
        margin-inline: -4px;
        padding: 11px;
        border-radius: 17px;
    }

    .music-video-watch-box__head,
    .music-video-watch-box__foot {
        align-items: stretch;
        flex-direction: column;
    }

    .music-video-quality-control { width: 100%; }
    .music-video-player-shell,
    .music-video-embed-shell { border-radius: 14px; }
    .music-video-player-cover__play { width: 62px; }
    .music-video-player-cover__label { bottom: 10px; }
    .music-video-chapters { grid-template-columns: 1fr; }
    .music-video-download-list { grid-template-columns: 1fr; }
    .music-video-card__meta { font-size: .72rem; }
}

/* v7.70.20 — Blade-safe two-way bridge and artist-prefixed video slugs. */
.music-video-song-jump {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 2px 0 18px;
    padding: 11px 12px 11px 16px;
    border: 1px solid color-mix(in srgb, var(--mv-accent) 16%, var(--mv-line));
    border-radius: 15px;
    background: color-mix(in srgb, var(--mv-accent) 4%, var(--surface, #fff));
}

.music-video-song-jump > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.music-video-song-jump span {
    color: var(--mv-muted);
    font-size: .72rem;
    font-weight: 700;
}

.music-video-song-jump strong {
    overflow: hidden;
    color: var(--text);
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-video-linked-song {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    padding: 16px;
    border-color: color-mix(in srgb, var(--mv-accent) 12%, var(--mv-line));
}

.music-video-linked-song__cover {
    position: relative;
    display: block;
    overflow: hidden;
    width: 112px;
    aspect-ratio: 1;
    border-radius: 16px;
    background: var(--surface-2);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .12);
}

.music-video-linked-song__cover img,
.music-video-linked-song__cover .cover-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.music-video-linked-song__body {
    min-width: 0;
}

.music-video-linked-song__body h2 {
    margin: 4px 0 5px;
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
}

.music-video-linked-song__body p {
    margin: 0;
    color: var(--mv-muted);
    font-size: .82rem;
}

.music-video-linked-song__action {
    white-space: nowrap;
}

.song-linked-videos {
    margin-top: 22px;
    padding: clamp(16px, 2.5vw, 22px);
}

.song-linked-videos__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.song-linked-videos__head > div {
    display: grid;
    gap: 3px;
}

.song-linked-videos__head span {
    color: var(--primary);
    font-size: .75rem;
    font-weight: 800;
}

.song-linked-videos__head h2 {
    margin: 0;
    font-size: clamp(1.15rem, 3vw, 1.55rem);
}

.song-linked-videos__head > a {
    color: var(--primary);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.song-linked-videos__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.song-linked-video-card {
    display: grid;
    grid-template-columns: minmax(190px, 44%) minmax(0, 1fr);
    overflow: hidden;
    min-height: 200px;
    border: 1px solid var(--mv-line);
    border-radius: 18px;
    background: var(--surface, #fff);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.song-linked-video-card:hover {
    border-color: color-mix(in srgb, var(--mv-accent) 34%, var(--mv-line));
    box-shadow: 0 16px 40px rgba(15, 23, 42, .10);
    transform: translateY(-2px);
}

.song-linked-video-card__visual {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 200px;
    background: #08080e;
}

.song-linked-video-card__visual img,
.song-linked-video-card__visual .music-video-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}

.song-linked-video-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 3, 8, .02), rgba(3, 3, 8, .30));
}

.song-linked-video-card__play {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    place-items: center;
    width: 54px;
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.66);
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--mv-accent);
    box-shadow: 0 12px 34px rgba(0,0,0,.30);
    transform: translate(-50%, -50%);
}

.song-linked-video-card__play .sedahang-video-play-mark {
    width: 35px;
    height: 35px;
}

.song-linked-video-card__duration {
    position: absolute;
    inset: auto auto 10px 10px;
    padding: 4px 7px;
    border-radius: 8px;
    background: rgba(0,0,0,.72);
    color: #fff;
    direction: ltr;
    font-size: .68rem;
    font-weight: 800;
}

.song-linked-video-card__body {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    min-width: 0;
    padding: 18px;
}

.song-linked-video-card__body h3 {
    margin: 7px 0 9px;
    font-size: 1.03rem;
    line-height: 1.75;
}

.song-linked-video-card__body h3 a {
    color: inherit;
    text-decoration: none;
}

.song-linked-video-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-bottom: 16px;
    color: var(--mv-muted);
    font-size: .72rem;
}

.song-linked-video-card__meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.song-linked-video-card__body .button {
    margin-top: auto;
}

@media (max-width: 900px) {
    .song-linked-videos__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .music-video-song-jump {
        align-items: stretch;
        flex-direction: column;
    }

    .music-video-song-jump .button {
        width: 100%;
    }

    .music-video-linked-song {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
    }

    .music-video-linked-song__cover {
        width: 76px;
        border-radius: 13px;
    }

    .music-video-linked-song__action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .song-linked-videos__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .song-linked-video-card {
        grid-template-columns: 1fr;
    }

    .song-linked-video-card__visual,
    .song-linked-video-card__visual img,
    .song-linked-video-card__visual .music-video-card__placeholder {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

/* v7.70.24 — HLS adaptive quality state. */
.music-video-quality-control select:disabled {
    cursor: not-allowed;
    opacity: .72;
}

.music-video-player-shell.is-hls-active::after {
    position: absolute;
    inset-inline-end: 12px;
    top: 12px;
    z-index: 3;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(3,3,6,.62);
    color: rgba(255,255,255,.88);
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.4;
    pointer-events: none;
    content: 'HLS';
    backdrop-filter: blur(8px);
}

/* v7.70.40 — continue watching + engagement UI */
.music-video-continue-card{display:grid;gap:9px;align-content:start}.music-video-resume-progress{height:7px;border-radius:999px;overflow:hidden;background:rgba(148,163,184,.24)}.music-video-resume-progress>span{display:block;height:100%;border-radius:inherit;background:currentColor;color:#7c3aed}.music-video-continue-card>small{color:var(--muted,#64748b);font-size:12px}.music-video-continue-card>.button{justify-self:start}.music-video-continue-home .music-video-grid{align-items:start}

/* v7.70.42 — personal music-video library */
.music-video-library-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}.music-video-library-actions .button.is-active,.music-video-library-card .button.is-active{border-color:#8b5cf6;background:rgba(124,58,237,.10);color:#6d28d9}.music-video-library-card{display:grid;gap:9px;align-content:start}.music-video-library-card>.button,.music-video-library-card__actions{justify-self:start}.music-video-library-card__actions{display:flex;flex-wrap:wrap;gap:7px}.music-video-history-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.music-video-library-toast{position:fixed;z-index:10000;inset-inline-start:50%;bottom:24px;transform:translate(-50%,18px);padding:10px 14px;border-radius:12px;background:#111827;color:#fff;font-size:13px;font-weight:700;box-shadow:0 14px 35px rgba(15,23,42,.28);opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}.music-video-library-toast.is-visible{opacity:1;transform:translate(-50%,0)}.music-video-library-toast.is-danger{background:#991b1b}html[data-theme="dark"] .music-video-library-actions .button.is-active,html[data-theme="dark"] .music-video-library-card .button.is-active{color:#ddd6fe;background:rgba(139,92,246,.18);border-color:#7c3aed}@media(max-width:700px){.music-video-library-actions{display:grid;grid-template-columns:1fr 1fr}.music-video-library-actions .button:last-child{grid-column:1/-1}.music-video-history-head-actions{width:100%;justify-content:space-between}.music-video-library-card__actions{width:100%}.music-video-library-card__actions .button{flex:1}}

/* v7.71.41 — video detail adopts the paired bilingual song identity. */
.page-music-video-detail .music-video-song-content > .song-bilingual-identity {
    width: 100%;
    margin-top: 6px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-song-content > .song-intro {
    width: min(100%, 780px);
    max-width: 780px;
    margin: 12px auto 14px;
    text-align: center;
    text-wrap: pretty;
}
@media (max-width: 620px) {
    .page-music-video-detail .music-video-song-content > .song-bilingual-identity {
        margin-top: 5px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-song-content > .song-intro {
        width: 100%;
        margin: 10px auto 13px;
        text-align: center;
    }
}

/* v7.71.41 — immersive video-detail polish. */
.page-music-video-detail .music-video-main-cover {
    position: relative;
}
.page-music-video-detail .music-video-hero-play {
    position: absolute;
    z-index: 4;
    inset: 50% auto auto 50%;
    display: grid;
    place-items: center;
    width: 74px;
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    background: rgba(255,255,255,.91);
    box-shadow: 0 18px 46px rgba(0,0,0,.28), 0 0 0 8px rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    transform: translate(-50%, -50%);
    transition: transform .18s ease, box-shadow .18s ease;
}
.page-music-video-detail .music-video-hero-play:hover,
.page-music-video-detail .music-video-hero-play:focus-visible {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 20px 52px rgba(0,0,0,.32), 0 0 0 10px rgba(255,255,255,.12);
}
.page-music-video-detail .music-video-hero-play img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-song-content > .song-intro {
    width: min(100%, 820px);
    max-width: 820px;
    margin: 12px auto 12px;
    text-align: center;
    color: color-mix(in srgb, var(--text) 59%, var(--muted));
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-meta-row.sedahang-hero-meta {
    justify-content: center;
    margin: 10px auto 18px;
}
.page-music-video-detail .music-video-watch-box.sedahang-primary-player {
    margin-top: 18px;
    padding: 17px;
    border-radius: 25px;
    box-shadow: 0 18px 46px rgba(20,24,44,.10);
}
.page-music-video-detail .music-video-player-shell,
.page-music-video-detail .music-video-embed-shell {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(8,10,20,.18);
}
.page-music-video-detail .music-video-player-actions {
    margin-top: 13px;
    padding: 10px;
    border: 1px solid color-mix(in srgb, var(--primary) 10%, var(--line));
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
}
.page-music-video-detail .music-video-description-box,
.page-music-video-detail .music-video-chapter-box {
    border-color: color-mix(in srgb, var(--primary) 7%, var(--line));
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    box-shadow: none;
}
.page-music-video-detail .music-video-description-box .prose {
    margin-inline: auto;
}
.page-music-video-detail .music-video-download-section {
    border-color: color-mix(in srgb, var(--primary) 14%, var(--line));
    background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 95%, var(--primary-soft) 5%), var(--surface));
    box-shadow: 0 14px 36px rgba(20,24,44,.055);
}
.page-music-video-detail .music-video-download-list {
    gap: 11px;
}
.page-music-video-detail .music-video-download-card {
    justify-content: flex-start;
    gap: 11px;
    text-align: right;
}
.page-music-video-detail .music-video-download-card .download-btn__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary-soft) 72%, var(--surface));
    color: var(--primary);
}
.page-music-video-detail .music-video-download-card .download-btn__icon svg {
    width: 20px;
    height: 20px;
}
.page-music-video-detail .music-video-download-card .download-btn__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.page-music-video-detail .music-video-download-card .download-btn__label {
    font-size: .9rem;
    line-height: 1.45;
}
.page-music-video-detail .music-video-download-card .download-btn__meta {
    color: var(--muted);
    font-size: .69rem;
    line-height: 1.4;
}
.page-music-video-detail .music-video-related-section .section-head h2 {
    letter-spacing: -.02em;
}
@media (max-width: 800px) {
    .page-music-video-detail .music-video-hero-play {
        width: 66px;
    }
    .page-music-video-detail .music-video-hero-play img {
        width: 41px;
        height: 41px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-song-content > .song-intro {
        width: 100%;
        margin: 10px auto 11px;
        text-align: center;
    }
    .page-music-video-detail .music-video-watch-box.sedahang-primary-player {
        margin-inline: 0;
        padding: 12px;
        border-radius: 19px;
    }
    .page-music-video-detail .music-video-player-actions {
        padding: 8px;
        border-radius: 14px;
    }
}

/* v7.71.41 — simplify video detail chrome after visual-refresh QA. */
.page-music-video-detail .music-video-download-section {
    border: 0 !important;
    box-shadow: none !important;
}
.page-music-video-detail .music-video-download-list {
    gap: 6px;
}
.page-music-video-detail .music-video-download-card {
    border: 0 !important;
    box-shadow: none !important;
}
@media (max-width: 800px) {
    .page-music-video-detail .music-video-download-list {
        grid-template-columns: 1fr !important;
        gap: 3px;
    }
}


/* v7.71.41 — music-video detail follows the centered stacked bilingual identity. */
.page-music-video-detail .music-video-song-content > .song-bilingual-identity.song-bilingual-identity--stacked {
    width: 100%;
    margin-top: 4px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-song-content > .song-intro {
    width: min(100%, 780px);
    margin: 10px auto 0;
    text-align: center;
}

/* v7.71.41 — video header uses artist-first identity and a top-right poster type badge. */
.page-music-video-detail .music-video-cover-type-badge{z-index:7}

/* v7.71.41 — video cards follow the shared SedaHang catalog-card system. */
body.frontend-v2 .music-video-card.catalog-card--video {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
body.frontend-v2 .music-video-card.catalog-card--video:hover {
    border: 0;
    box-shadow: none;
    transform: translateY(-3px);
}
body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__poster {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(20,31,54,.09);
}
body.frontend-v2 .music-video-card.catalog-card--video:hover .music-video-card__poster {
    box-shadow: 0 16px 38px rgba(20,31,54,.13);
}
body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__body {
    padding: 12px 4px 4px;
}
body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__body > .eyebrow {
    margin-bottom: 2px;
    font-size: .68rem;
}
body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__body > .eyebrow::before {
    width: 14px;
}
body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__body h3 {
    margin: 0 0 3px;
    font-size: .96rem;
    line-height: 1.65;
}
body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__meta {
    gap: 8px;
    color: var(--mv-muted, var(--muted));
    font-size: .74rem;
}
html[data-theme="dark"] body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__poster {
    box-shadow: 0 12px 30px rgba(0,0,0,.30);
}
@media (max-width: 700px) {
    body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__poster { border-radius: 17px; }
    body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__body { padding-top: 10px; }
}

/* v7.71.41 — archive filters follow the shared SedaHang archive system. */
body.frontend-v2.page-videos-archive .music-videos-archive__hero {
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 20px;
    border: 0;
    box-shadow: 0 14px 42px rgba(22,28,50,.055);
}
body.frontend-v2.page-videos-archive .music-videos-archive__mark {
    width: 112px;
    box-shadow: 0 16px 36px rgba(117,87,246,.22);
}
body.frontend-v2.page-videos-archive .music-videos-archive__mark span { width: 56px; }
body.frontend-v2.page-videos-archive .archive-video-filter {
    position: static;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
body.frontend-v2.page-videos-archive .archive-video-filter .archive-filter-body {
    padding: 14px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface-2) 58%, var(--surface));
}
body.frontend-v2.page-videos-archive .music-video-filter {
    grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
    gap: 9px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
body.frontend-v2.page-videos-archive .music-video-filter label {
    gap: 5px;
    font-size: .72rem;
}
body.frontend-v2.page-videos-archive .music-video-filter__actions .button {
    min-height: 43px;
    border-radius: 11px;
}
body.frontend-v2.page-videos-archive .music-video-archive-toolbar { margin-top: 2px; }
body.frontend-v2.page-videos-archive .music-video-grid { gap: 18px; }
body.frontend-v2.page-videos-archive .music-video-empty { grid-column: 1 / -1; }
@media (max-width: 980px) {
    body.frontend-v2.page-videos-archive .music-video-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    body.frontend-v2.page-videos-archive .music-video-filter__actions { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    body.frontend-v2.page-videos-archive .music-videos-archive__hero {
        grid-template-columns: 1fr 96px;
    }
    body.frontend-v2.page-videos-archive .music-videos-archive__mark { width: 86px; }
    body.frontend-v2.page-videos-archive .archive-video-filter .archive-filter-body {
        margin-top: 7px;
        padding: 13px;
        border-radius: 16px;
    }
    body.frontend-v2.page-videos-archive .music-video-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 620px) {
    body.frontend-v2.page-videos-archive .music-videos-archive__hero { grid-template-columns: 1fr; }
    body.frontend-v2.page-videos-archive .music-videos-archive__mark { display: none; }
    body.frontend-v2.page-videos-archive .music-video-filter { grid-template-columns: 1fr; }
    body.frontend-v2.page-videos-archive .music-video-filter__actions {
        display: grid;
        grid-template-columns: 1fr auto;
        width: 100%;
    }
}


/* v7.71.86 — video detail adopts the current song identity structure without losing video-specific controls */
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-identity-lockup {
    width: 100%;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-hero-play {
    z-index: 8;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-premiere-badge {
    flex: 0 0 auto;
}
@media (max-width: 700px) {
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-song-page {
        gap: 0 !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-main-cover {
        width: min(100%, 460px) !important;
        max-width: 460px !important;
        margin-inline: auto !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-song-content {
        text-align: center !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-meta-row {
        justify-content: center !important;
        gap: 6px !important;
        margin: 4px auto 14px !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-premiere-badge {
        min-height: 24px !important;
        max-width: 92px !important;
        padding: 5px 8px !important;
        font-size: .58rem !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-hero-play {
        width: 66px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-hero-play img {
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 390px) {
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-main-cover {
        width: 100% !important;
    }
}/* v7.71.87 — video poster edge haze; isolated from the shared song stylesheet */
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-main-cover::after {
    content: none !important;
    display: none !important;
}
@media (max-width: 700px) {
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-main-cover::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        z-index: 4 !important;
        inset: auto 0 0 0 !important;
        height: 94px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        pointer-events: none !important;
        background: linear-gradient(180deg, rgba(238,241,249,0) 0%, rgba(238,241,249,.06) 30%, rgba(238,241,249,.22) 62%, rgba(238,241,249,.56) 100%) !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }
    html[data-theme="dark"] body.frontend-v2.page-song-detail.page-music-video-detail .music-video-main-cover::after {
        background: linear-gradient(180deg, rgba(13,16,28,0) 0%, rgba(13,16,28,.08) 30%, rgba(13,16,28,.24) 62%, rgba(13,16,28,.58) 100%) !important;
    }
}

/* v7.72.12 — player-first Music Video detail layout.
   The standalone poster is intentionally removed from detail pages; the video player is the visual hero. */
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-detail-layout {
    display: block !important;
    width: 100%;
    min-width: 0;
    padding: clamp(18px, 2.5vw, 28px);
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-song-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    text-align: initial !important;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box.sedahang-primary-player,
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-premiere,
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-source-fallback {
    width: 100%;
    min-width: 0;
    margin-top: 0 !important;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box.sedahang-primary-player {
    padding: 12px !important;
    border-radius: 24px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-shell,
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-embed-shell {
    width: 100%;
    border-radius: 18px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-top: 11px;
    padding: 0 2px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-toolbar--info-only {
    justify-content: flex-end;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-quality-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 6px 11px;
    border: 1px solid color-mix(in srgb, var(--primary) 10%, var(--line));
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface) 94%, var(--primary-soft) 6%);
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-quality-status__label {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-quality-status strong {
    font-size: .76rem;
    font-weight: 900;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-quality-control {
    min-height: 38px;
    margin: 0;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-info-button {
    margin-inline-start: auto;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-identity-lockup {
    width: 100%;
    margin-top: 20px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-meta-row.sedahang-hero-meta {
    margin-bottom: 8px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-actions {
    width: 100%;
    margin-top: 10px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-detail-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
    width: 100%;
    min-width: 0;
    margin-top: 18px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-detail-cards > .content-box {
    width: 100% !important;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid color-mix(in srgb, var(--primary) 9%, var(--line)) !important;
    border-radius: 18px !important;
    background: color-mix(in srgb, var(--surface) 96%, var(--primary-soft) 4%) !important;
    box-shadow: 0 10px 28px rgba(20, 24, 44, .045) !important;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-detail-cards > :only-child {
    grid-column: 1 / -1;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-detail-cards .music-video-section-heading {
    margin-bottom: 10px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-detail-cards .music-video-section-heading h2 {
    margin: .2rem 0 .7rem;
    font-size: 1rem;
    line-height: 1.7;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-description-box .prose,
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-description-box > p {
    max-width: none !important;
    margin: 0 !important;
    line-height: 2;
    overflow-wrap: anywhere;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-download-section {
    border: 1px solid color-mix(in srgb, var(--primary) 9%, var(--line)) !important;
    background: color-mix(in srgb, var(--surface) 96%, var(--primary-soft) 4%) !important;
    box-shadow: 0 10px 28px rgba(20, 24, 44, .045) !important;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-download-list {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-top: 8px !important;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-download-card {
    min-height: 60px;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--primary) 9%, var(--line)) !important;
    border-radius: 14px !important;
    background: color-mix(in srgb, var(--surface) 90%, var(--primary-soft) 10%) !important;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-linked-song-slot {
    width: calc((100% - 16px) / 2);
    min-width: 0;
    margin-top: 16px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-linked-song-slot .music-video-linked-song {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 13px;
    width: 100%;
    min-height: 100%;
    margin-top: 0;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--primary) 9%, var(--line));
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 96%, var(--primary-soft) 4%);
    box-shadow: 0 10px 28px rgba(20, 24, 44, .045);
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-linked-song-slot .music-video-linked-song__cover {
    width: 88px;
    border-radius: 14px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-linked-song-slot .music-video-linked-song__action {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-chapter-box {
    width: 100%;
    margin-top: 16px;
}

@media (max-width: 800px) {
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-detail-layout {
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-song-content {
        display: flex !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box.sedahang-primary-player {
        order: 1;
        padding: 8px !important;
        border-radius: 18px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-shell,
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-embed-shell {
        border-radius: 14px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-toolbar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 9px;
        padding: 0;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-quality-status,
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-quality-control,
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-info-button {
        width: 100%;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-quality-status {
        justify-content: space-between;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-info-button {
        margin-inline-start: 0;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-identity-lockup {
        order: 2;
        width: 100% !important;
        margin: 14px auto 0 !important;
        padding-top: 18px !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-meta-row {
        order: 3;
        width: 100%;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .premium-content-gate {
        order: 4;
        width: 100%;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-player-actions {
        order: 5;
        width: 100%;
        margin-top: 8px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-detail-cards {
        order: 6;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 12px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-detail-cards .music-video-download-section {
        order: 1;
        padding: 14px !important;
        border: 1px solid color-mix(in srgb, var(--primary) 10%, var(--line)) !important;
        border-radius: 17px !important;
        background: color-mix(in srgb, var(--surface) 94%, var(--primary-soft) 6%) !important;
        box-shadow: 0 8px 24px rgba(20, 24, 44, .045) !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-detail-cards .music-video-description-box {
        order: 2;
        padding: 14px !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-download-list {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-download-card {
        min-height: 62px;
        border: 1px solid color-mix(in srgb, var(--primary) 9%, var(--line)) !important;
        background: color-mix(in srgb, var(--surface) 88%, var(--primary-soft) 12%) !important;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-linked-song-slot {
        order: 7;
        width: 100%;
        margin-top: 10px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-linked-song-slot .music-video-linked-song {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 11px;
        padding: 13px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-linked-song-slot .music-video-linked-song__cover {
        width: 78px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-chapter-box {
        order: 8;
        width: 100%;
        margin-top: 10px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-premiere,
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-source-fallback {
        order: 1;
    }
}

/* v7.72.20 — consolidated video-detail controls, equal player tools + lightweight icon action toolbar. */
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box.sedahang-primary-player::before {
    display: none !important;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box.sedahang-primary-player {
    padding: 11px 11px 9px !important;
    border-color: color-mix(in srgb, var(--line) 96%, transparent);
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-player-toolbar,
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-player-toolbar--adaptive {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
    width: min(100%, 398px);
    margin: 9px auto 0;
    padding: 1px 3px 0;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-player-toolbar--info-only {
    justify-content: center;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-player-tool {
    box-sizing: border-box;
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: 195px;
    min-height: 40px;
    height: 40px;
    margin: 0;
    padding: 4px 10px;
    border: 1px solid color-mix(in srgb, var(--line) 84%, var(--primary) 16%);
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    color: color-mix(in srgb, var(--text) 90%, var(--muted) 10%);
    box-shadow: none;
    font-size: .72rem;
    font-weight: 800;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-quality-control--compact,
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-player-toolbar--adaptive .music-video-quality-control--compact {
    display: flex;
    align-items: center;
    justify-content: center;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-quality-control--compact select,
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-player-toolbar--adaptive .music-video-quality-control--compact select {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 30px;
    padding-inline: 4px 20px;
    text-align: center;
    text-align-last: center;
    font-size: .72rem;
    font-weight: 850;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-quality-static,
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-info-button:hover,
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-info-button:focus-visible {
    border-color: color-mix(in srgb, var(--primary) 34%, var(--line));
    background: color-mix(in srgb, var(--primary-soft) 36%, var(--surface));
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-under-player-bar {
    display: block;
    width: 100%;
    margin-top: 9px;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-inline-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
    margin: 0;
    padding: 0;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-inline-actions .music-video-library-actions,
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-inline-actions .music-video-queue-actions {
    display: contents;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid color-mix(in srgb, var(--line) 88%, var(--primary) 12%);
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    color: color-mix(in srgb, var(--text) 88%, var(--muted) 12%);
    box-shadow: 0 5px 15px rgba(20, 28, 50, .035);
    font: inherit;
    font-size: .7rem;
    font-weight: 760;
    line-height: 1;
    white-space: nowrap;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-button svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-button:hover,
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-button:focus-visible {
    color: var(--primary);
    border-color: color-mix(in srgb, var(--primary) 38%, var(--line));
    background: color-mix(in srgb, var(--primary-soft) 38%, var(--surface));
    transform: translateY(-1px);
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-button.is-active {
    color: var(--primary);
    border-color: color-mix(in srgb, var(--primary) 34%, var(--line));
    background: color-mix(in srgb, var(--primary-soft) 52%, var(--surface));
}
body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-button:disabled {
    opacity: .6;
    transform: none;
    cursor: wait;
}
html[data-theme="dark"] body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-button {
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    box-shadow: none;
}

@media (max-width: 800px) {
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box.sedahang-primary-player {
        padding: 8px 8px 7px !important;
        border-radius: 20px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-player-toolbar,
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-player-toolbar--adaptive {
        gap: 6px;
        width: min(100%, 350px);
        margin-top: 7px;
        padding-inline: 1px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-player-tool {
        max-width: none;
        min-height: 38px;
        height: 38px;
        padding: 3px 7px;
        font-size: .69rem;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-quality-control--compact select,
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-watch-box .music-video-player-toolbar--adaptive .music-video-quality-control--compact select {
        min-height: 28px;
        font-size: .69rem;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-under-player-bar {
        order: 2;
        margin-top: 8px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-inline-actions {
        gap: 7px;
        padding-inline: 2px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-button {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
        border-radius: 13px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-button svg {
        width: 19px;
        height: 19px;
        flex-basis: 19px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-label {
        display: none;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-identity-lockup { order: 3; }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-meta-row { order: 4; }
    body.frontend-v2.page-song-detail.page-music-video-detail .premium-content-gate { order: 5; }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-detail-cards { order: 6; }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-linked-song-slot { order: 7; }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-chapter-box { order: 8; }
}

@media (max-width: 390px) {
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-inline-actions { gap: 6px; }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-button {
        width: 39px;
        min-width: 39px;
        height: 39px;
        min-height: 39px;
        border-radius: 12px;
    }
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-action-button svg {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }
}

/* Safe below-the-fold rendering optimization for long video detail pages. */
@supports (content-visibility: auto) {
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-chapter-box,
    body.frontend-v2.page-song-detail.page-music-video-detail .music-video-related-section {
        content-visibility: auto;
        contain-intrinsic-size: 1px 520px;
    }
}


/* v7.72.35 — cleaner video cards + explicit desktop page scrollbar. */
body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__body {
    display: grid;
    gap: 2px;
    padding: 12px 4px 4px;
    text-align: right;
}
body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__body h3 {
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.65;
    white-space: nowrap;
    text-overflow: ellipsis;
}
body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__artist {
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--mv-muted, var(--muted));
    font-size: .76rem;
    font-weight: 500;
    line-height: 1.65;
    white-space: nowrap;
    text-overflow: ellipsis;
}
@media (max-width: 700px) {
    body.frontend-v2 .music-video-card.catalog-card--video .music-video-card__artist { font-size: .72rem; }
}
@media (min-width: 801px) {
    html:has(body.frontend-v2.page-music-video-detail) {
        scrollbar-gutter: stable;
        scrollbar-width: auto;
        scrollbar-color: rgba(109, 67, 229, .62) rgba(219, 226, 236, .45);
    }
    html:has(body.frontend-v2.page-music-video-detail)::-webkit-scrollbar { width: 12px; }
    html:has(body.frontend-v2.page-music-video-detail)::-webkit-scrollbar-track {
        background: rgba(219, 226, 236, .42);
    }
    html:has(body.frontend-v2.page-music-video-detail)::-webkit-scrollbar-thumb {
        min-height: 44px;
        border: 3px solid transparent;
        border-radius: 999px;
        background: rgba(109, 67, 229, .62);
        background-clip: padding-box;
    }
    html:has(body.frontend-v2.page-music-video-detail)::-webkit-scrollbar-thumb:hover {
        background: rgba(86, 48, 201, .84);
        background-clip: padding-box;
    }
    html[data-theme="dark"]:has(body.frontend-v2.page-music-video-detail) {
        scrollbar-color: rgba(156, 131, 255, .72) rgba(40, 53, 81, .55);
    }
    html[data-theme="dark"]:has(body.frontend-v2.page-music-video-detail)::-webkit-scrollbar-track {
        background: rgba(40, 53, 81, .5);
    }
    html[data-theme="dark"]:has(body.frontend-v2.page-music-video-detail)::-webkit-scrollbar-thumb {
        background: rgba(156, 131, 255, .72);
        background-clip: padding-box;
    }
}
