/* ================================================================
   酷我音乐盒（kuwo_music）
   首页 Hero 门户区迷你播放器卡片 + capsule_music 全屏风格播放列表
   配色全部走 Conch 主题变量，自动跟随主题色与深浅模式
   ================================================================ */

/* ---------- Hero 卡片本体 ----------
   尺寸与内边距由主题 Hero 栅格（#kuwo-music-box）统一控制：
   主题那条带 ID，本文件这条 3 个类永远压不过，留着只会被 DevTools 划掉，故移除。 */
/* ---------- 播放器主体 ---------- */
.kwm-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 圆形封面（点击 = 播放/暂停） */
.kwm-cover {
    width: 88px;
    height: 88px;
    padding: 0;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    background: var(--paper-2);
    box-shadow: 0 0 0 1px var(--line-2), 0 6px 18px -8px rgba(0, 0, 0, .28);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow .2s ease, transform .2s ease;
}
.kwm-cover:hover {
    box-shadow: 0 0 0 1px var(--line-2), 0 10px 22px -8px rgba(0, 0, 0, .34);
}
.kwm-cover:active { transform: scale(.97); }

.kwm-cover-img,
.kwm-cover-img img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.kwm-cover-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-2);
}
.kwm-cover-img img { object-fit: cover; }

/* 下一首提示：仅 Hero 卡片（模板横向布局）展示 */
.kwm-pnext { display: none; }

/* 骨架占位：结构与最终卡片一致（封面 / 标题 / 歌手 / 控制排 / 进度条） */
.kwm-skel {
    display: block;
    border-radius: 6px;
    background: linear-gradient(100deg, var(--paper-2) 40%, var(--line) 50%, var(--paper-2) 60%);
    background-size: 200% 100%;
    animation: kwmSkel 2.4s infinite;
}
.kwm-skel-disc { width: 100%; height: 100%; border-radius: inherit; }
.kwm-skel-title { width: 68%; height: 16px; margin: 5px 0; }
.kwm-skel-artist { width: 38%; height: 11px; margin: 3px 0; }
@keyframes kwmSkel {
    from { background-position: 120% 0; }
    to   { background-position: -80% 0; }
}
/* 骨架态：真实控制排让位给等距圆点，进度条改为流光条；数据 + 封面就绪后由 JS 揭开 */
.kwm-ctl-skel {
    display: none;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
}
.kwm-hero.is-skel .kwm-ctl { display: none; }
.kwm-hero.is-skel .kwm-ctl-skel { display: flex; }
.kwm-hero.is-skel .kwm-cardtime { visibility: hidden; }
/* 骨架态：占位胶囊已从 DOM 移除，kicker 整行收起，避免空行留出间距 */
.kwm-hero.is-skel .kwm-kicker { display: none; }
.kwm-hero.is-skel .kwm-cardbar {
    background: linear-gradient(100deg, var(--paper-2) 40%, var(--line) 50%, var(--paper-2) 60%);
    background-size: 200% 100%;
    animation: kwmSkel 2.4s infinite;
}
.kwm-hero.is-skel .kwm-cardbar i { display: none; }
.kwm-skel-dot { width: 32px; height: 32px; border-radius: 50%; opacity: .55; }
.kwm-skel-dot-big { width: 42px; height: 42px; margin: 0 3px; opacity: 1; }

/* 文案与封面同帧揭开：骨架撤掉时整块淡入，避免歌名/作者先单独弹出 */
.kwm-hero:not(.is-skel) .kwm-ptitle,
.kwm-hero:not(.is-skel) .kwm-partist {
    animation: kwmCardIn .26s var(--ease, ease) both;
}
@keyframes kwmCardIn {
    from { opacity: 0; transform: translateY(2px); }
    to   { opacity: 1; transform: none; }
}

.kwm-cover .kwm-note {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-3);
}
.kwm-cover .kwm-note svg { display: block; width: 28px; height: 28px; }

/* 播放时封面缓慢旋转 */
.kwm-hero.is-playing .kwm-cover-img img { animation: kwm-spin 16s linear infinite; }
@keyframes kwm-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* 正在播放小标 */
.kwm-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 8px 0 0;
    font-size: 9.5px;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: .18em;
    color: var(--ink-3);
}

/* 迷你进度条 / 时间：时间在进度条两端 */
.kwm-cardprog {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}
.kwm-cardtime {
    flex: none;
    font-size: 10px;
    line-height: 1;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}
.kwm-cardbar {
    position: relative;
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ink) 12%, transparent);
    cursor: pointer;
    touch-action: none;
}
.kwm-cardbar i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff));
    transition: width .25s linear;
}
.kwm-cardbar.is-drag i { transition: none; }

/* 标题 / 歌手 */
.kwm-ptitle {
    max-width: 100%;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--ink);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kwm-partist {
    max-width: 100%;
    margin-top: 2px;
    min-height: 1em;
    font-size: 12px;
    line-height: 1.4;
    color: var(--ink-3);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 控制排：音量 / 模式 / 上一曲 / 播放 / 下一曲 / 列表，单排放在歌手下方 ---------- */
.kwm-ctl {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
}
.kwm-ctl .kwm-pvol { position: relative; order: 6; }
.kwm-ctl [data-act="mode"] { order: 1; }
.kwm-ctl [data-act="prev"] { order: 2; }
.kwm-ctl .kwm-pp { order: 3; }
.kwm-ctl [data-act="next"] { order: 4; }
.kwm-ctl [data-act="plist"] { order: 5; }
/* 次要按钮：模式 / 列表 / 音量，缩小并降低存在感 */
.kwm-ctl [data-act="mode"],
.kwm-ctl [data-act="plist"],
.kwm-ctl .kwm-pvol button { opacity: .62; }
.kwm-ctl [data-act="mode"]:hover,
.kwm-ctl [data-act="plist"]:hover,
.kwm-ctl .kwm-pvol button:hover { opacity: 1; }
.kwm-ctl [data-act="mode"].is-one,
.kwm-ctl [data-act="mode"].is-rand { opacity: 1; }
.kwm-ctl [data-act="mode"] svg,
.kwm-ctl [data-act="plist"] svg,
.kwm-ctl .kwm-pvol button svg { width: 16px; height: 16px; }
.kwm-ctl button {
    flex: none;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: none;
    color: var(--ink-2);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .18s ease, background .18s ease, transform .15s ease;
}
.kwm-ctl button:hover { color: var(--ink); }
.kwm-ctl button:active { transform: scale(.92); }
.kwm-ctl button svg { display: block; width: 18px; height: 18px; }

/* 播放/暂停主按钮：主题色圆钮 */
.kwm-ctl .kwm-pp {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--accent) 70%, transparent);
}
.kwm-ctl .kwm-pp:hover { background: var(--accent); color: #fff; filter: brightness(1.06); }
.kwm-ctl .kwm-pp svg { width: 18px; height: 18px; }

.kwm-pp .kwm-i-pause { display: none; }
.kwm-hero.is-playing .kwm-pp .kwm-i-pause { display: block; }
.kwm-hero.is-playing .kwm-pp .kwm-i-play { display: none; }

/* 播放模式三态图标：列表循环 / 单曲循环 / 随机 */
.kwm-ctl [data-act="mode"] .kwm-i-one,
.kwm-ctl [data-act="mode"] .kwm-i-rand { display: none; }
.kwm-ctl [data-act="mode"].is-one .kwm-i-list { display: none; }
.kwm-ctl [data-act="mode"].is-one .kwm-i-one { display: block; }
.kwm-ctl [data-act="mode"].is-rand .kwm-i-list { display: none; }
.kwm-ctl [data-act="mode"].is-rand .kwm-i-rand { display: block; }
.kwm-ctl [data-act="mode"].is-one,
.kwm-ctl [data-act="mode"].is-rand { color: var(--accent-ink); }

/* 音量：与底栏/全屏同款，平时只留图标，悬停/聚焦时滑杆向左展开 */
.kwm-pvol {
    flex: none;
    display: flex;
    align-items: center;
}
.kwm-pvwrap {
    position: absolute;
    top: 50%;
    left: calc(100% - 2px);
    transform: translateY(-50%);
    width: 0;
    display: flex;
    overflow: hidden;
    opacity: 0;
    transition: width .24s var(--ease), opacity .16s ease;
}
.kwm-pvol:hover .kwm-pvwrap,
.kwm-pvol:has(button:focus-visible) .kwm-pvwrap {
    width: 58px;
    opacity: 1;
}
/* 拖动中即使指针滑出也保持展开 */
.kwm-pvol:has(.kwm-pvbar.is-drag) .kwm-pvwrap {
    width: 58px;
    opacity: 1;
}
.kwm-pvbar {
    position: relative;
    flex: none;
    width: 52px;
    height: 16px;
    margin-left: 6px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
}
.kwm-pvbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: color-mix(in srgb, currentColor 24%, transparent);
}
.kwm-pvbar i {
    position: relative;
    display: block;
    width: 85%;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
}
.kwm-pvol [data-act="mute"] .kwm-i-vol-low,
.kwm-pvol [data-act="mute"] .kwm-i-vol-off { display: none; }
.kwm-pvol [data-act="mute"].is-low .kwm-i-vol { display: none; }
.kwm-pvol [data-act="mute"].is-low .kwm-i-vol-low { display: block; }
.kwm-pvol [data-act="mute"].is-muted .kwm-i-vol,
.kwm-pvol [data-act="mute"].is-muted .kwm-i-vol-low { display: none; }
.kwm-pvol [data-act="mute"].is-muted .kwm-i-vol-off { display: block; }

/* 触屏没有 hover：只留静音图标，滑杆交给系统音量 */
@media (hover: none) {
    .kwm-pvwrap { display: none; }
}

/* ================================================================
   底部停靠播放条：底部居中的悬浮胶囊（参考 Apple Music 迷你播放器）
   常驻、暂停不消失；三区：控制 / 曲目与细进度线 / 列表
   ================================================================ */
.kwm-dock {
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 95;
    width: min(540px, calc(100% - 32px));
    height: 56px;
    padding: 0 16px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--paper-2) 88%, transparent);
    -webkit-backdrop-filter: blur(18px) saturate(1.8);
    backdrop-filter: blur(18px) saturate(1.8);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, .12),
        inset 0 0 0 .5px color-mix(in srgb, var(--ink) 14%, transparent);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(100% + 28px));
    pointer-events: none;
    transition: transform .32s var(--ease), opacity .24s ease, visibility .32s;
}
[data-theme='dark'] .kwm-dock {
    box-shadow:
        0 10px 40px rgba(0, 0, 0, .5),
        inset 0 0 0 .5px rgba(255, 255, 255, .14);
}
.kwm-dock.is-on {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}
.kwm-dock-in {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* 左：播放模式 / 上一曲 / 播放 / 下一曲 */
.kwm-dock-ctrl {
    flex: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.kwm-dock-ctrl button {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: var(--ink-2);
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .16s ease;
}
.kwm-dock-ctrl button:hover { color: var(--ink); }
.kwm-dock-ctrl button svg { display: block; width: 28px; height: 28px; }
.kwm-dock-ctrl .kwm-dock-play {
    width: 34px;
    height: 34px;
    color: var(--ink);
}
.kwm-dock-ctrl .kwm-dock-play svg { width: 30px; height: 30px; }
.kwm-dock-play .kwm-i-pause { display: none; }
.kwm-dock.is-playing .kwm-dock-play .kwm-i-pause { display: block; }
.kwm-dock.is-playing .kwm-dock-play .kwm-i-play { display: none; }

/* 中：封面 + 标题/歌手 + 贴底细进度线 */
.kwm-dock-lcd {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100%;
    padding-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.kwm-dock-cover {
    position: relative;
    z-index: 1;
    flex: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    overflow: hidden;
    background: var(--paper-2);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.kwm-dock-cover-img,
.kwm-dock-cover-img img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.kwm-dock-cover-img {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-3);
    background: var(--paper-2);
}
.kwm-dock-cover-img img { object-fit: cover; }
.kwm-dock-cover-img .kwm-note {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}
.kwm-dock-cover-img .kwm-note svg { width: 100%; height: 100%; }

/* 封面悬停：暗色遮罩 + 放大图标（点击进入全屏） */
.kwm-dock-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}
.kwm-dock-zoom svg {
    display: block;
    width: 14px;
    height: 14px;
    transform: scale(.8);
    transition: transform .18s ease;
}
@media (hover: hover) {
    .kwm-dock-cover:hover .kwm-dock-zoom { opacity: 1; }
    .kwm-dock-cover:hover .kwm-dock-zoom svg { transform: scale(1); }
}
.kwm-dock-cover:focus-visible .kwm-dock-zoom { opacity: 1; }
.kwm-dock-cover:focus-visible .kwm-dock-zoom svg { transform: scale(1); }
.kwm-dock-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.kwm-dock-title {
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kwm-dock-artist {
    min-width: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 贴底 2px 进度线：hover / 拖动时变粗并出现圆点 */
.kwm-dock-prog {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
}
.kwm-dock-prog::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 1px;
    background: color-mix(in srgb, var(--ink) 14%, transparent);
    transition: height .15s ease;
}
.kwm-dock-fill {
    position: relative;
    display: block;
    width: 0;
    height: 2px;
    border-radius: 1px;
    background: color-mix(in srgb, var(--ink) 86%, transparent);
    transition: width .2s linear, height .15s ease;
}
.kwm-dock-prog:hover::before,
.kwm-dock-prog.is-drag::before,
.kwm-dock-prog:hover .kwm-dock-fill,
.kwm-dock-prog.is-drag .kwm-dock-fill { height: 4px; }
.kwm-dock-prog.is-drag .kwm-dock-fill { transition: none; }
.kwm-dock-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: 0 0 0 2px var(--card);
    opacity: 0;
    transition: opacity .15s ease;
}
.kwm-dock-prog:hover .kwm-dock-thumb,
.kwm-dock-prog.is-drag .kwm-dock-thumb { opacity: 1; }

/* 右：音量 / 播放列表 */
.kwm-dock-end {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    gap: 2px;
}
.kwm-dock-expand,
.kwm-dock-volume {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: var(--ink-2);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .16s ease;
}
.kwm-dock-expand:hover,
.kwm-dock-volume:hover { color: var(--ink); }
.kwm-dock-end svg { display: block; width: 17px; height: 17px; }
.kwm-dock-volume .kwm-i-vol-low,
.kwm-dock-volume .kwm-i-vol-off { display: none; }
.kwm-dock-volume.is-low .kwm-i-vol { display: none; }
.kwm-dock-volume.is-low .kwm-i-vol-low { display: block; }
.kwm-dock-volume.is-muted .kwm-i-vol,
.kwm-dock-volume.is-muted .kwm-i-vol-low { display: none; }
.kwm-dock-volume.is-muted .kwm-i-vol-off { display: block; }

/* 音量：与全屏一致，平时只留图标，悬停/聚焦时滑杆向左展开 */
.kwm-dock-fvol {
    display: flex;
    align-items: center;
}
.kwm-dvwrap {
    width: 0;
    display: flex;
    overflow: hidden;
    opacity: 0;
    transition: width .24s var(--ease), opacity .16s ease;
}
.kwm-dock-fvol:hover .kwm-dvwrap,
.kwm-dock-fvol:has(button:focus-visible) .kwm-dvwrap {
    width: 60px;
    opacity: 1;
}
/* 拖动中即使指针滑出也保持展开 */
.kwm-dock-fvol:has(.kwm-dvbar.is-drag) .kwm-dvwrap {
    width: 60px;
    opacity: 1;
}
.kwm-dvbar {
    position: relative;
    flex: none;
    width: 56px;
    height: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
}
.kwm-dvbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--ink) 12%, transparent);
}
.kwm-dvbar i {
    position: relative;
    display: block;
    width: 85%;
    height: 3px;
    border-radius: 2px;
    background: var(--ink-2);
}

/* 触屏没有 hover：滑杆常驻 */
@media (hover: none) {
    .kwm-dvwrap { width: 60px; opacity: 1; }
}

/* 胶囊出现时让返回顶部 / toast 上移，避免遮挡 */
body.kwm-dock-on .back-top { bottom: calc(24px + 82px); }
body.kwm-dock-on #conch-toast { bottom: calc(48px + 82px); }

@media (max-width: 640px) {
    .kwm-dock {
        width: calc(100% - 24px);
        height: 52px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        padding: 0 12px;
    }
    .kwm-dock-in { gap: 10px; }
    .kwm-dock-ctrl { gap: 2px; }
    .kwm-dock-ctrl button { width: 30px; height: 30px; }
    .kwm-dock-ctrl button svg { width: 25px; height: 25px; }
    .kwm-dock-ctrl .kwm-dock-play { width: 32px; height: 32px; }
    .kwm-dock-ctrl .kwm-dock-play svg { width: 27px; height: 27px; }
    .kwm-dock-lcd { gap: 9px; padding-bottom: 2px; }
    .kwm-dock-cover { width: 32px; height: 32px; }
    .kwm-dock-title { font-size: 12.5px; }
    .kwm-dock-artist { font-size: 11px; }
    .kwm-dock-end { gap: 0; }
    .kwm-dock-expand,
    .kwm-dock-volume { width: 30px; height: 30px; }
    .kwm-dock-end svg { width: 16px; height: 16px; }
    /* 手机上保留静音按钮，滑杆交给系统音量 */
    .kwm-dvwrap { display: none; }
    body.kwm-dock-on .back-top { bottom: calc(16px + 64px); }
    body.kwm-dock-on #conch-toast { bottom: calc(48px + 64px); }
}

@media (prefers-reduced-motion: reduce) {
    .kwm-dock { transition: none; }
}

/* ================================================================
   播放列表：细序号 + 曲名/歌手 + 当前行均衡器
   列表只在全屏层内出现，卡片本身不再承载列表
   ================================================================ */
/* 数据容器（歌曲 ID 注入点），不承载界面 */
.kwm-main { display: none; }

/* 播放中均衡器：全屏顶栏与当前行共用 */
.kwm-eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}
.kwm-eq em {
    display: block;
    width: 2px;
    height: 4px;
    border-radius: 1px;
    background: var(--accent);
    transform-origin: bottom;
}
/* 小标内柱底对齐文字基线，整组不再偏低 */
.kwm-kicker .kwm-eq { transform: translateY(-.3em); }
/* 全屏内不跟皮肤色；行内均衡器用高低错落的柱形 */
.kwm-full .kwm-eq em { background: var(--ink-2); }
.kwm-row .kwm-eq em { width: 3px; }
.kwm-row .kwm-eq em:nth-child(1) { height: 4px; }
.kwm-row .kwm-eq em:nth-child(2) { height: 9px; }
.kwm-row .kwm-eq em:nth-child(3) { height: 6px; }
/* Hero 小标常驻跳动；全屏列表仅播放中给当前行跳动 */
.kwm-hero .kwm-eq em,
.kwm-full.is-playing .kwm-eq em { animation: kwm-eq .9s ease-in-out infinite; }
.kwm-hero .kwm-eq em:nth-child(2),
.kwm-full.is-playing .kwm-eq em:nth-child(2) { animation-delay: .18s; }
.kwm-hero .kwm-eq em:nth-child(3),
.kwm-full.is-playing .kwm-eq em:nth-child(3) { animation-delay: .36s; }
@keyframes kwm-eq {
    0%, 100% { transform: scaleY(.75); }
    50%      { transform: scaleY(1.8); }
}

.kwm-loading,
.kwm-error {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-3);
}

/* ---------- 曲目行 ---------- */
.kwm-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.kwm-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 12px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: background .18s var(--ease);
}
.kwm-row:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.kwm-row:active { background: color-mix(in srgb, var(--ink) 9%, transparent); }
.kwm-row.is-on { background: color-mix(in srgb, var(--ink) 5%, transparent); }
[data-theme='dark'] .kwm-row:hover,
[data-theme='dark'] .kwm-row.is-on {
    background: color-mix(in srgb, var(--ink) 7%, transparent);
}
/* 解析失败的占位行：保留位置但不可点击 */
.kwm-row.is-broken { cursor: default; opacity: .55; }
.kwm-row.is-broken:hover,
.kwm-row.is-broken:active { background: none; }
.kwm-row.is-broken:hover .kwm-idx b { display: block; }
.kwm-row.is-broken:hover .kwm-idx svg { display: none; }

/* 序号位：默认序号，悬停变播放图标，播放中变成均衡器 */
.kwm-idx {
    flex: none;
    width: 22px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
    transition: color .16s ease;
}
.kwm-idx b { font-weight: 500; }
.kwm-idx svg { display: none; width: 12px; height: 12px; }
.kwm-row:hover .kwm-idx b { display: none; }
.kwm-row:hover .kwm-idx svg { display: block; color: var(--ink); }
.kwm-row.is-on .kwm-idx { color: var(--ink-2); }

.kwm-idx .kwm-eq { display: none; height: 13px; }
.kwm-full.is-playing .kwm-row.is-on .kwm-idx b { display: none; }
.kwm-full.is-playing .kwm-row.is-on .kwm-idx svg { display: none; }
.kwm-full.is-playing .kwm-row.is-on .kwm-idx .kwm-eq { display: inline-flex; }

.kwm-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.kwm-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .16s ease;
}
/* 全屏内不跟皮肤色，当前曲目只靠字重和均衡器强调 */
.kwm-row.is-on .kwm-title { font-weight: 650; }
.kwm-artist {
    font-size: 12px;
    line-height: 1.3;
    color: var(--ink-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================================================================
   全屏播放器：一页「正在播放」
   封面模糊成底，白（暗）色磨砂罩住；方形大封面 + 细进度 + 单色控制
   ================================================================ */
.kwm-full {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: flex;
    color: var(--ink);
    background: var(--card);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility 0s linear .3s;
}
.kwm-full.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .3s ease, visibility 0s;
}
body.kwm-fs { overflow: hidden; }

/* 模糊封面双缓冲：换图永远画在隐藏层再交叉淡化 */
.kwm-fbg {
    position: absolute;
    inset: -80px;
    background-size: cover;
    background-position: center;
    filter: blur(110px) saturate(145%);
    opacity: 0;
    transform: translateZ(0);
    transition: opacity .7s ease;
}
.kwm-fbg.is-in { opacity: .9; }
/* 磨砂罩：顶部留一点封面颜色，越往下越干净 */
.kwm-fveil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--card) 72%, transparent) 0%,
        color-mix(in srgb, var(--card) 88%, transparent) 55%,
        var(--card) 100%);
}

.kwm-fcontent {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1160px;
    height: 100%;
    margin: 0 auto;
    padding: 28px 48px 40px;
    display: flex;
    flex-direction: column;
}

/* 顶栏：状态标签 + 收起 */
.kwm-ftop {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
/* 收起：极简幽灵按钮 */
.kwm-fclose {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .16s ease, background .16s ease, transform .15s ease;
}
.kwm-fclose:hover {
    color: var(--ink);
    background: color-mix(in srgb, var(--ink) 6%, transparent);
}
.kwm-fclose:active { transform: scale(.96); }
.kwm-fclose-i { display: block; width: 16px; height: 16px; }

/* 主体：左「此刻」+ 右列表 */
.kwm-fbody {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(32px, 6vw, 88px);
    margin-top: 6px;
}
.kwm-fleft {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-bottom: 6px;
}

/* 大封面：方形，与底部胶囊的方形封面同一语言 */
.kwm-fart {
    position: relative;
    flex: none;
    width: min(400px, 46vh);
    max-width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    background: color-mix(in srgb, var(--paper-2) 72%, transparent);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent),
        0 24px 60px -24px color-mix(in srgb, var(--ink) 45%, transparent);
}
.kwm-fart-img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-3);
}
.kwm-fart-img svg { width: 26%; height: 26%; }
.kwm-fart-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 曲名 / 歌手：左对齐，像一条唱片信息 */
.kwm-ftx {
    width: min(440px, 100%);
    margin-top: clamp(22px, 3.4vh, 34px);
}
.kwm-ftx b {
    display: block;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kwm-ftx i {
    display: block;
    margin-top: 6px;
    font-style: normal;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 进度：一条细线，时间在两端 */
.kwm-fprog {
    width: min(440px, 100%);
    margin-top: clamp(22px, 3.6vh, 34px);
}
.kwm-fbar {
    position: relative;
    height: 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
}
.kwm-fbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--ink) 12%, transparent);
    transition: height .16s ease;
}
.kwm-fbar i {
    position: relative;
    display: block;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--ink);
    transition: height .16s ease;
}
.kwm-fbar.is-drag i { transition: none; }
.kwm-fthumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--card);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent),
        0 2px 6px rgba(0, 0, 0, .18);
    opacity: 0;
    transition: opacity .15s ease;
}
.kwm-fbar:hover::before,
.kwm-fbar.is-drag::before,
.kwm-fbar:hover i,
.kwm-fbar.is-drag i { height: 5px; }
.kwm-fbar:hover .kwm-fthumb,
.kwm-fbar.is-drag .kwm-fthumb { opacity: 1; }
.kwm-frow {
    display: flex;
    margin-top: 4px;
    font-size: 12px;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}
.kwm-fsp { flex: 1; }

/* 控制排：模式 | 上一曲/播放/下一曲 | 音量 */
.kwm-fctl {
    width: min(440px, 100%);
    margin-top: clamp(14px, 2.4vh, 24px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.kwm-fctl button {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: var(--ink-2);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .16s ease, background .16s ease, transform .15s ease;
}
.kwm-fctl button:hover {
    color: var(--ink);
    background: color-mix(in srgb, var(--ink) 5%, transparent);
}
.kwm-fctl button:active { transform: scale(.92); }
.kwm-fctl button svg { display: block; width: 21px; height: 21px; }
.kwm-fmode { justify-self: start; }

.kwm-fmid { display: flex; align-items: center; gap: 20px; }
.kwm-fpp {
    width: 64px !important;
    height: 64px !important;
    background: var(--ink) !important;
    color: var(--card) !important;
    box-shadow: 0 14px 32px -14px color-mix(in srgb, var(--ink) 60%, transparent);
}
.kwm-fpp:hover {
    background: var(--ink) !important;
    color: var(--card) !important;
    transform: scale(1.03);
}
.kwm-fpp svg { width: 26px !important; height: 26px !important; }
.kwm-fpp .kwm-i-pause { display: none; }
.kwm-full.is-playing .kwm-fpp .kwm-i-pause { display: block; }
.kwm-full.is-playing .kwm-fpp .kwm-i-play { display: none; }

/* 音量：平时只留图标，悬停/聚焦时滑杆向左展开 */
.kwm-fvol {
    justify-self: end;
    display: flex;
    align-items: center;
}
.kwm-fvwrap {
    width: 0;
    display: flex;
    overflow: hidden;
    opacity: 0;
    transition: width .24s var(--ease), opacity .16s ease;
}
.kwm-fvol:hover .kwm-fvwrap,
.kwm-fvol:has(button:focus-visible) .kwm-fvwrap {
    width: 72px;
    opacity: 1;
}
/* 拖动中即使指针滑出也保持展开 */
.kwm-fvol:has(.kwm-fvbar.is-drag) .kwm-fvwrap {
    width: 72px;
    opacity: 1;
}
.kwm-fvbar {
    position: relative;
    flex: none;
    width: 64px;
    height: 16px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
}
.kwm-fvbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--ink) 12%, transparent);
}
.kwm-fvbar i {
    position: relative;
    display: block;
    width: 85%;
    height: 3px;
    border-radius: 2px;
    background: var(--ink-2);
}
.kwm-fvol .kwm-i-volx { display: none; }
.kwm-full.is-muted .kwm-i-vol { display: none; }
.kwm-full.is-muted .kwm-i-volx { display: block; }

/* 触屏没有 hover：滑杆常驻 */
@media (hover: none) {
    .kwm-fvwrap { width: 72px; opacity: 1; }
}

/* 模式三态图标 */
.kwm-fmode .kwm-i-one,
.kwm-fmode .kwm-i-rand { display: none; }
.kwm-fmode.is-one .kwm-i-list { display: none; }
.kwm-fmode.is-one .kwm-i-one { display: block; }
.kwm-fmode.is-rand .kwm-i-list { display: none; }
.kwm-fmode.is-rand .kwm-i-rand { display: block; }
.kwm-fmode.is-one,
.kwm-fmode.is-rand { color: var(--ink); }

/* 右侧播放列表 */
.kwm-fright {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-top: clamp(24px, 4.5vh, 44px);
    padding-left: clamp(24px, 4vw, 48px);
    border-left: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.kwm-fphead {
    flex: none;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 2px 0 16px;
}
.kwm-fphead h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: .01em;
    color: var(--ink);
}
.kwm-fphead .kwm-n {
    font-size: 12px;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}
.kwm-flist-wrap {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0 -12px;
    padding: 0 12px 8px;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--ink) 16%, transparent) transparent;
}
.kwm-flist-wrap::-webkit-scrollbar { width: 4px; }
.kwm-flist-wrap::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--ink) 16%, transparent);
    border-radius: 2px;
}
.kwm-full .kwm-loading,
.kwm-full .kwm-error { color: var(--ink-3); }

/* ---------- 窄屏：列表收到下方，整页可滚动 ---------- */
@media (max-width: 920px) {
    .kwm-fcontent {
        padding: 18px 20px 28px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .kwm-fbody {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 2px;
    }
    .kwm-fleft {
        justify-content: flex-start;
        padding-bottom: 0;
    }
    .kwm-fart {
        width: min(340px, 80vw, 40vh);
        margin: 10px auto 0;
        border-radius: 14px;
    }
    .kwm-ftx {
        width: min(440px, 100%);
        margin: 22px auto 0;
        text-align: center;
    }
    .kwm-fprog {
        width: min(440px, 100%);
        margin: 18px auto 0;
    }
    .kwm-fctl {
        width: min(440px, 100%);
        margin: 12px auto 0;
    }
    .kwm-fright {
        border-left: 0;
        border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
        margin-top: 28px;
        padding: 18px 0 0;
    }
    .kwm-flist-wrap {
        flex: none;
        overflow: visible;
    }
}

@media (max-width: 640px) {
    /* 手机上保留静音按钮做右侧对称，滑杆交给系统音量 */
    .kwm-fvol { display: flex; }
    .kwm-fvwrap { display: none; }
    .kwm-fclose {
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }
    .kwm-fpp { width: 58px !important; height: 58px !important; }
    .kwm-fpp svg { width: 24px !important; height: 24px !important; }
    .kwm-fmid { gap: 16px; }
    .kwm-ftx b { font-size: 23px; }
    .kwm-ftx i { font-size: 13px; }
}

/* 矮屏桌面：整体收紧，避免控件被压出视口 */
@media (max-height: 620px) and (min-width: 921px) {
    .kwm-fcontent { padding-top: 20px; padding-bottom: 24px; }
    .kwm-fart { width: min(300px, 40vh); }
    .kwm-ftx { margin-top: 18px; }
    .kwm-fprog { margin-top: 16px; }
    .kwm-fctl { margin-top: 10px; }
}

/* 均衡器是 2px 装饰小标，减少动态偏好下仍保留跳动 */
@media (prefers-reduced-motion: reduce) {
    .kwm-full,
    .kwm-fbg,
    .kwm-fcontent { transition: none; }
    .kwm-hero.is-playing .kwm-cover-img img { animation: none; }
}

/* ---------- 报头音乐入口：点击拉起底部播放条 ---------- */
.kwm-head-toggle svg {
    display: block;
    width: 18px;
    height: 18px;
    /* 播放中旋转：暂停时冻结在当前角度，继续播放接着转 */
    animation: kwm-note-spin 9s linear infinite;
    animation-play-state: paused;
}
.kwm-head-toggle.is-playing svg { animation-play-state: running; }
@keyframes kwm-note-spin {
    to { transform: rotate(360deg); }
}
.kwm-head-toggle svg path { stroke-width: 5; }
.kwm-head-toggle.is-active { color: var(--accent-ink); }
.masthead.on-hero .kwm-head-toggle.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}
@media (max-width: 720px) {
    .kwm-head-toggle svg { width: 16px; height: 16px; }
}

/* ================================================================
   Hero 门户音乐卡（#kuwo-music-box）：栅格 / 封面 / 控件 / 状态类
   原写在主题 conch/css/style.css，2026-10-26 回迁至此。
   插件由 index_head 在主题之后加载，选择器特异性未改，覆盖顺序不变。
   ================================================================ */
/* 音乐卡：结构规则统一收敛到 06 方案的单层 #kuwo-music-box（见下方 Apple Widgets 段），
   这里只保留状态类，避免同一属性在两层各写一遍 */
:where(.site-hero-dynamic .portal-dynamic) #kuwo-music-box.is-playing .kwm-cover-img img { animation: none; }
:where(.site-hero-dynamic .portal-dynamic) #kuwo-music-box .kwm-skel {
    background: var(--skeleton-strong);
    background-size: 200% 100%;
}
:where(.site-hero-dynamic .portal-dynamic) #kuwo-music-box.is-skel .kwm-cardbar {
    background: var(--skeleton-strong);
    background-size: 200% 100%;
    animation: kwmSkel 2.4s infinite;
}
:where(.site-hero-dynamic .portal-dynamic) #kuwo-music-box.is-skel .kwm-cardbar i { display: none; }
:where(.site-hero-dynamic .portal-dynamic) #kuwo-music-box.is-skel .kwm-kicker {
    padding: 0;
    background: none;
}
:where(.site-hero-dynamic .portal-dynamic) #kuwo-music-box .kwm-ctl .kwm-pp:hover {
    filter: brightness(1.06);
}
:where(.site-hero-dynamic .portal-dynamic) #kuwo-music-box .kwm-ctl [data-act="mode"].is-one,
:where(.site-hero-dynamic .portal-dynamic) #kuwo-music-box .kwm-ctl [data-act="mode"].is-rand { color: #fff; }

/* 右侧当前封面的虚化投影：填充留白，带出专辑色调 */
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-amb {
    position: absolute;
    top: -40%;
    right: -8%;
    width: 64%;
    height: 180%;
    background: center / cover no-repeat;
    filter: blur(26px) saturate(1.9) brightness(1.5);
    opacity: .58;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 2%, rgba(0, 0, 0, .4) 42%, #000 92%);
    mask-image: linear-gradient(90deg, transparent 2%, rgba(0, 0, 0, .4) 42%, #000 92%);
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-player {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto auto auto;
    align-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    column-gap: 18px;
    row-gap: 4px;
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cover {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 120px;
    height: 120px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .95), 0 0 0 1px var(--glass-line);
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cover-img { background: var(--glass); }
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cover-img,
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cover-img img { border-radius: 25px; }
/* 控件单排放在歌手下方；真实按钮左移 8px 让图标左缘与歌名对齐，骨架圆点保持与歌名对齐 */
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-ctl,
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-ctl-skel {
    grid-column: 2 / span 2;
    grid-row: 4;
    justify-self: start;
    justify-content: flex-start;
    width: auto;
    padding: 0;
    gap: 6px 10px;
    margin: 4px 0 0;
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-ctl { margin-left: -8px; }
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cardprog {
    grid-column: 1 / -1;
    grid-row: 5;
    width: 100%;
    margin-top: 12px;
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-kicker {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 2px;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .64);
    font-size: 9.5px;
    letter-spacing: .14em;
    white-space: nowrap;
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-ptitle {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin: 0;
    line-height: 1.3;
    text-align: left;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.01em;
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-partist {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    margin: 2px 0 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-ctl button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: rgba(255, 255, 255, .66);
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-ctl button:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-ctl .kwm-pp {
    width: 42px;
    height: 42px;
    margin: 0 3px;
    background: #fff;
    color: #111;
    box-shadow: none;
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-ctl .kwm-pp:hover {
    background: #eaf6ff;
    color: #111;
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cardbar {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cardbar i {
    position: relative;
    border-radius: 999px;
    background: #fff;
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cardbar i::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -4px;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
    opacity: 0;
    transition: opacity .16s ease;
}
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cardbar:hover i::after,
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cardbar.is-drag i::after { opacity: 1; }
.site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cardtime {
    font-size: 10px;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .44);
}
/* 平板横屏：卡片独占整行，控件同样单排跟在歌手下方 */
@media (min-width: 901px) and (max-width: 1080px) {
    .site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-player {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto auto auto auto auto;
        column-gap: 24px;
        row-gap: 4px;
    }
    .site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cover {
        grid-column: 1;
        grid-row: 1 / span 4;
        width: 120px;
        height: 120px;
        border-radius: 26px;
    }
    .site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cover-img,
    .site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cover-img img { border-radius: 25px; }
    .site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-kicker { grid-column: 2; grid-row: 1; }
    .site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-ptitle { grid-column: 2; grid-row: 2; }
    .site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-partist { grid-column: 2; grid-row: 3; }
    .site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-ctl,
    .site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-ctl-skel {
        grid-column: 2;
        grid-row: 4;
        justify-self: start;
        justify-content: flex-start;
    }
    .site-hero-dynamic .portal-dynamic #kuwo-music-box .kwm-cardprog {
        grid-column: 1 / -1;
        grid-row: 5;
    }
}

