/* ═══════════════════════════════════════════════════════════════════
   music-theme.css — 音乐库「听音房」主题
   ---------------------------------------------------------------------------
   设计约束（为什么长这样，改动前请先读）：
   1. 本页 markup 只用 .m-* 前缀类，不复用 .card / .card-body / .badge 等
      通用名。editorial-restyle.css 对这些通用名有一串 !important 覆盖，
      同名就会被穿透（这是旧音乐页卡片"没有盒子"的根因）。
   2. 所有规则挂在 body.music-body 之下，不污染站内其他页面。
   3. 波形图是透明底+白色波形（scripts/music_enrich.php 产出），
      颜色在这里用 filter/blend 决定，换配色不需要重跑生成。
   ═══════════════════════════════════════════════════════════════════ */

/* ── 调色板分两层 ─────────────────────────────────────────────
   全站主题开关是把 data-theme="dark" 加在 <html> 上（js/main.js:74-94），
   浅色时该属性不存在。原先这里只写了一套深色值，而且挂在 body 上：
   body 的自定义属性比 html 上的同名声明更接近元素，[data-theme] 永远抢不回来，
   于是音乐页变成"唯一恒定深色"、跟着主题开关失效。
   现在：body.music-body 给浅色（对齐 style.css :root 的浅色板），
   html[data-theme="dark"] body.music-body 再覆盖成深色（取值与原来完全一致，
   已验收的深色外观不受影响）。 */
body.music-body {
    --m-bg:        #F7F9FC;
    --m-bg-soft:   #FFFFFF;
    --m-surface:   #FFFFFF;
    --m-surface-2: #EEF3F9;
    --m-line:      rgba(15, 76, 129, .14);
    --m-line-2:    rgba(15, 76, 129, .24);
    --m-text:      #1A1A1A;
    --m-text-dim:  #4A5568;
    /* 浅色档的「弱文字」实测白底对比度只有 3.06:1（#8A94A6），歌手名/时长/占位符
       这类小字达不到 4.5。收到 #64748B（4.76:1），档位关系和深色档保持一致。 */
    --m-text-faint:#64748B;
    /* 深色底上用的 #3DDC97 放到白底只有 1.9:1，小字根本看不清；
       浅色换成同色系的深青，和全站 --accent(#2BB3A3) 一脉。 */
    --m-accent:    #0E7C6B;
    --m-accent-dim:rgba(14, 124, 107, .10);
    --m-amber:     #B26A00;
    --m-danger:    #C0392B;
    --m-on-accent: #FFFFFF;      /* 强调色块上的文字 */
    --m-glass:     rgba(255, 255, 255, .94);   /* 底部播条 / 抽屉 */
    --m-glass-nav: rgba(255, 255, 255, .86);
    --m-scrim:     rgba(20, 30, 48, .38);
    --m-wave-idle: rgba(15, 76, 129, .20);     /* 波形底（无 PNG 时的纯色条） */
    --m-wave-idle-soft: rgba(15, 76, 129, .12);
    --m-glow-a:    rgba(14, 124, 107, .06);
    --m-glow-b:    rgba(15, 76, 129, .05);
    --m-accent-line: rgba(14, 124, 107, .40);  /* 卡片悬浮描边 */
    --m-accent-glow: rgba(14, 124, 107, .35);  /* 播放键光晕 */
    --m-accent-line-soft: rgba(14, 124, 107, .28);
    --m-amber-line: rgba(178, 106, 0, .30);
    --m-amber-dim:  rgba(178, 106, 0, .08);
    --m-danger-line: rgba(192, 57, 43, .45);
    --m-shadow:    rgba(15, 76, 129, .20);     /* 投影，深色用黑、浅色用藏青 */
    --m-art-scrim: rgba(6, 10, 20, .60);       /* 封面图上的浮层，两档都偏暗 */
    --m-on-art:    #DDE6F5;                    /* 浮层上的图标/文字 */
    /* 封面浮层是「恒定深色上下文」：专辑图再亮也有 60% 黑罩压着，
       所以浮层上的强调色不跟随主题。浅色档的 --m-accent(#0E7C6B)、
       --m-danger(#C0392B) 放到这层黑罩上只有 2:1 左右，鼠标一悬图标就没了。 */
    --m-accent-on-art: #3DDC97;
    --m-art-liked:     #FF6B6B;
    --m-radius:    16px;
    --m-radius-sm: 10px;
    --m-player-h:  92px;
    --m-rail-w:    262px;
    --m-nav-h:     64px;

    background: var(--m-bg);
    color: var(--m-text);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    color-scheme: light;         /* 原生下拉/滚动条跟着走浅色 */
}
html[data-theme="dark"] body.music-body {
    --m-bg:        #0B1120;
    --m-bg-soft:   #0F172A;
    --m-surface:   #141E33;
    --m-surface-2: #1B2740;
    --m-line:      rgba(255, 255, 255, .08);
    --m-line-2:    rgba(255, 255, 255, .14);
    --m-text:      #E8EEF9;
    --m-text-dim:  #93A1B8;
    /* 原来的 #5D6B85 在卡底 #141E33 上只有 3.09:1，歌手名/时长这类小字看不清。
       提到 #7A88A2（4.65:1，静止态全部过 4.5），仍比 --m-text-dim 低一档，层级不乱。 */
    --m-text-faint:#7A88A2;
    --m-accent:    #3DDC97;
    --m-accent-dim:rgba(61, 220, 151, .14);
    --m-amber:     #FFB454;
    --m-danger:    #FF6B6B;
    --m-on-accent: #06130C;
    --m-glass:     rgba(11, 17, 32, .93);
    --m-glass-nav: rgba(11, 17, 32, .82);
    --m-scrim:     rgba(4, 8, 16, .66);
    --m-wave-idle: rgba(255, 255, 255, .26);
    --m-wave-idle-soft: rgba(255, 255, 255, .14);
    --m-glow-a:    rgba(61, 220, 151, .07);
    --m-glow-b:    rgba(58, 110, 190, .12);
    --m-accent-line: rgba(61, 220, 151, .40);
    --m-accent-glow: rgba(61, 220, 151, .60);
    --m-accent-line-soft: rgba(61, 220, 151, .28);
    --m-amber-line: rgba(255, 180, 84, .28);
    --m-amber-dim:  rgba(255, 180, 84, .08);
    --m-danger-line: rgba(255, 107, 107, .50);
    --m-shadow:    var(--m-shadow);

    color-scheme: dark;
}

/* ── 覆盖共用件：导航栏 / 页脚 / 通告条 ──
   导航栏的半透明底必须只在深色档覆盖：浅色档要用 style.css 自己的
   --bg-nav（白），在这儿写成深色 rgba 就等于把导航栏钉死成暗色。 */
body.music-body nav.navbar-modern {
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--m-line);
}
html[data-theme="dark"] body.music-body nav.navbar-modern {
    background: var(--m-glass-nav) !important;
}
body.music-body nav.navbar-modern .navbar-brand,
body.music-body nav.navbar-modern .nav-link,
body.music-body nav.navbar-modern .navbar-toggler-icon { color: var(--m-text) !important; }
body.music-body footer.footer-modern { background: var(--m-bg-soft) !important; }

/* ── 对冲 editorial 层的裸元素规则（这些用 !important，必须同级对抗）──
   css/editorial-restyle.css:267  a { color: var(--accent-sea) !important }
   css/editorial.css:56           body::before  米色纸纹，深色页上会泛灰 */
body.music-body::before { display: none !important; }
body.music-body a { color: inherit !important; text-decoration: none !important; }
body.music-body .m-pager a { color: var(--m-text-dim) !important; }
body.music-body .m-pager a:hover { color: var(--m-accent) !important; }
body.music-body .m-detail { color: var(--m-on-art) !important; }   /* 只在封面浮层上出现，底色恒为深色 */
body.music-body .m-detail:hover { color: var(--m-accent-on-art) !important; }
body.music-body .m-empty a { color: var(--m-accent) !important; }
body.music-body .m-chip a { color: inherit !important; }

/* ── 对冲表单控件的裸元素规则 ──
   css/style.css:503 用 `input[type=…], textarea, select` 把全站控件刷成
   background/color/border/padding/border-radius 全 !important 的浅色卡片。
   两档都得用「更高特异性 + !important」才压得住，普通声明会被穿透。
   color-scheme 已随调色板分档（见上），这里不再单独钉死。 */
body.music-body .m-search input,
body.music-body .m-filter-input,
body.music-body select.m-select {
    background: var(--m-surface) !important;
    color: var(--m-text) !important;
    border: 1px solid var(--m-line) !important;
}
body.music-body .m-search input {
    border-radius: 999px !important;
    padding: 10px 34px 10px 36px !important;
    font-size: .88rem !important;
}
body.music-body .m-filter-input {
    border-radius: var(--m-radius-sm) !important;
    padding: 8px 10px !important;
    font-size: .82rem !important;
}
body.music-body select.m-select {
    border-radius: 999px !important;
    padding: 8px 12px !important;
    font-size: .78rem !important;
    color: var(--m-text-dim) !important;
}
body.music-body .m-search input::placeholder,
body.music-body .m-filter-input::placeholder { color: var(--m-text-faint) !important; opacity: 1; }
body.music-body .m-search input:focus,
body.music-body .m-filter-input:focus,
body.music-body select.m-select:focus {
    background: var(--m-surface) !important;
    color: var(--m-text) !important;
    border-color: var(--m-accent) !important;
    box-shadow: 0 0 0 3px var(--m-accent-dim) !important;
    outline: none !important;
}
/* 音量滑杆不是文本框，那串 !important 的底色/内边距要去掉 */
body.music-body input[type="range"] {
    background: transparent !important; border: 0 !important; padding: 0 !important;
    border-radius: 0 !important;
}

/* 页面底色：两团柔和光晕，替代 editorial 的米色纸纹。
   光晕走 --m-glow-a/b，浅色档是很淡的青/藏青，深色档仍是原来的绿/蓝。 */
body.music-body {
    background:
        radial-gradient(1200px 620px at 78% -8%, var(--m-glow-a), transparent 60%),
        radial-gradient(900px 520px at 8% 4%, var(--m-glow-b), transparent 62%),
        var(--m-bg) !important;
    background-attachment: fixed !important;
}

/* ═══════════════════════════ 骨架 ═══════════════════════════ */
.m-shell {
    display: grid;
    grid-template-columns: var(--m-rail-w) minmax(0, 1fr);
    gap: 26px;
    max-width: 1680px;
    margin: 0 auto;
    /* 顶部只留 22px：navbar.php 末尾的 JS 已把 body 的 padding-top 校成正好等于
       固定导航栏的实测高度，通告条本身在正常流里。这里再叠一个 nav-h 就多出一大片空带。 */
    padding: 22px 26px calc(var(--m-player-h) + 34px);
    align-items: start;
}

/* ── 左栏 ── */
.m-rail {
    position: sticky;
    top: calc(var(--m-nav-h) + 18px);
    max-height: calc(100vh - var(--m-nav-h) - var(--m-player-h) - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, var(--m-surface) 0%, var(--m-bg-soft) 100%);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    padding: 16px 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--m-line-2) transparent;
}
.m-rail::-webkit-scrollbar { width: 8px; }
.m-rail::-webkit-scrollbar-thumb { background: var(--m-line-2); border-radius: 8px; }

.m-rail-title {
    font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--m-text-faint); padding: 0 10px 8px; font-weight: 700;
}
.m-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: var(--m-radius-sm);
    color: var(--m-text-dim); font-size: .88rem; cursor: pointer;
    text-decoration: none; transition: background .16s, color .16s;
    user-select: none;
}
.m-nav-item i.lead { width: 16px; text-align: center; font-size: .85rem; color: var(--m-text-faint); }
.m-nav-item:hover { background: var(--m-surface-2); color: var(--m-text); }
.m-nav-item.is-active { background: var(--m-accent-dim); color: var(--m-accent); font-weight: 600; }
.m-nav-item.is-active i.lead { color: var(--m-accent); }
.m-nav-count { margin-left: auto; font-size: .72rem; color: var(--m-text-faint); font-variant-numeric: tabular-nums; }
.m-nav-item.is-active .m-nav-count { color: var(--m-accent); }

.m-rail-sep { height: 1px; background: var(--m-line); margin: 14px 4px; }

/* 歌手筛选：自带过滤框 */
.m-filter-input {
    width: 100%; padding: 8px 10px; margin-bottom: 8px;
    background: var(--m-bg-soft); border: 1px solid var(--m-line);
    border-radius: var(--m-radius-sm); color: var(--m-text); font-size: .82rem;
}
.m-filter-input::placeholder { color: var(--m-text-faint); }
.m-filter-input:focus { outline: none; border-color: var(--m-accent); }
.m-artist-list { display: flex; flex-direction: column; }
.m-artist-list.is-collapsed .m-artist-item:nth-child(n+21) { display: none; }
.m-more {
    margin-top: 6px; padding: 7px 10px; width: 100%;
    background: none; border: 1px dashed var(--m-line-2); border-radius: var(--m-radius-sm);
    color: var(--m-text-faint); font-size: .76rem; cursor: pointer;
}
.m-more:hover { color: var(--m-accent); border-color: var(--m-accent); }

/* ══════════════ 歌单：左栏控件 / 卡片入口 / 加入弹层 ══════════════
   只用 --m-* 令牌，明暗两档各自成对；带 --m-art-* 的几枚按钮浮在封面上，
   封面是「恒定深色上下文」，所以它们取 on-art 那一组。 */
.m-rail-title-pl { display: flex; align-items: center; gap: 6px; }
.m-pl-new {
    margin-left: auto; width: 22px; height: 22px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--m-line-2); border-radius: 6px;
    color: var(--m-text-faint); font-size: .66rem; cursor: pointer;
    transition: color .16s, border-color .16s, background .16s;
}
.m-pl-new:hover { color: var(--m-accent); border-color: var(--m-accent); background: var(--m-accent-dim); }
.m-pl-list { display: flex; flex-direction: column; }
.m-pl-empty {
    padding: 4px 10px 12px; font-size: .76rem; line-height: 1.7;
    color: var(--m-text-faint);
}
.m-pl-row { display: flex; align-items: center; gap: 1px; }
.m-pl-row .m-nav-item { flex: 1 1 auto; min-width: 0; }
.m-pl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-pl-act {
    flex: 0 0 auto; width: 24px; height: 24px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 1px solid transparent; border-radius: 6px;
    color: var(--m-text-faint); font-size: .64rem; cursor: pointer;
    opacity: 0; transition: opacity .16s, color .16s, background .16s;
}
.m-pl-row:hover .m-pl-act, .m-pl-row:focus-within .m-pl-act { opacity: 1; }
@media (hover: none) { .m-pl-act { opacity: 1; } }   /* 宽屏平板同样没有悬停 */
.m-pl-act:hover { color: var(--m-accent); background: var(--m-surface-2); }
.m-pl-act.is-danger:hover { color: var(--m-danger); background: var(--m-bg-soft); }
/* 两步确认的第二下：按钮自己变成一枚会说话的标签，不用弹原生 confirm */
.m-pl-act.is-armed {
    opacity: 1; width: auto; padding: 0 7px; height: 22px;
    font-size: .66rem; font-weight: 600; letter-spacing: .02em;
    color: var(--m-on-accent); background: var(--m-danger); border-color: var(--m-danger-line);
}
.m-pl-row.is-editing { padding: 2px 0 2px 2px; }

/* 歌单名输入框：style.css:503 那串 !important 的裸 input 规则要按同级压回去
   （口径与 .m-filter-input 一致，见上方「对冲表单控件」） */
body.music-body .m-pl-input {
    width: 100%; min-width: 0;
    background: var(--m-bg-soft) !important;
    color: var(--m-text) !important;
    border: 1px solid var(--m-accent) !important;
    border-radius: var(--m-radius-sm) !important;
    padding: 7px 9px !important;
    font-size: .82rem !important;
    box-shadow: 0 0 0 3px var(--m-accent-dim) !important;
    outline: none !important;
}
body.music-body .m-pl-input::placeholder { color: var(--m-text-faint) !important; opacity: 1; }

/* ── 卡片上的「加入歌单」：贴在收藏键左边，同一套浮层几何 ── */
.m-pl-add {
    position: absolute; right: 44px; top: 8px; z-index: 3;
    width: 30px; height: 30px; border-radius: 50%; border: none; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--m-art-scrim); color: var(--m-on-art);
    font-size: .76rem; cursor: pointer;
    opacity: 0; transition: opacity .18s, transform .18s, color .18s;
    backdrop-filter: blur(4px);
}
.m-card:hover .m-pl-add, .m-card:focus-within .m-pl-add { opacity: 1; }
.m-pl-add:hover { transform: scale(1.12); color: var(--m-accent-on-art); }
/* 已在某个歌单里 = 常驻可见的书签，不用悬停也能看出来 */
.m-pl-add.is-in { opacity: 1; color: var(--m-accent-on-art); }
.m-acts .is-in { color: var(--m-accent); }

/* ── 加入歌单弹层 ── */
.m-pop {
    position: fixed; left: 0; top: 0; z-index: 1085;
    width: 272px; max-width: calc(100vw - 20px);
    background: var(--m-glass); backdrop-filter: blur(16px);
    border: 1px solid var(--m-line-2); border-radius: var(--m-radius);
    box-shadow: 0 26px 60px -26px var(--m-shadow);
    padding: 10px; color: var(--m-text);
}
.m-pop[hidden] { display: none; }
.m-pop-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 8px; }
.m-pop-head b { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--m-accent); flex: 0 0 auto; }
.m-pop-head span {
    flex: 1 1 auto; min-width: 0; font-size: .78rem; color: var(--m-text-faint);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.m-pop-x {
    flex: 0 0 auto; width: 22px; height: 22px; padding: 0;
    background: none; border: 1px solid transparent; border-radius: 6px;
    color: var(--m-text-faint); font-size: .7rem; cursor: pointer;
}
.m-pop-x:hover { color: var(--m-text); border-color: var(--m-line-2); }
.m-pop-items { max-height: 46vh; overflow-y: auto; scrollbar-width: thin; }
.m-pop-item {
    display: flex; align-items: center; gap: 9px; width: 100%;
    padding: 8px 9px; text-align: left; cursor: pointer;
    background: none; border: 1px solid transparent; border-radius: var(--m-radius-sm);
    color: var(--m-text-dim); font-size: .82rem;
    transition: background .14s, color .14s;
}
.m-pop-item:hover { background: var(--m-surface-2); color: var(--m-text); }
.m-pop-item > i:first-child { width: 14px; text-align: center; font-size: .76rem; color: var(--m-text-faint); }
.m-pop-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-pop-item .m-pop-tick { margin-left: auto; width: 14px; text-align: center; opacity: 0; color: var(--m-accent); }
.m-pop-item.is-on { background: var(--m-accent-dim); color: var(--m-accent); }
.m-pop-item.is-on > i:first-child, .m-pop-item.is-on .m-pop-tick { color: var(--m-accent); opacity: 1; }
.m-pop-empty { padding: 6px 8px 10px; font-size: .78rem; color: var(--m-text-faint); }
.m-pop-sep { height: 1px; background: var(--m-line); margin: 8px 2px; }

/* ── 右栏 ── */
.m-main { min-width: 0; }

/* 页头 */
.m-hero { margin-bottom: 22px; }
.m-hero-kicker {
    font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--m-accent); font-weight: 700; margin-bottom: 8px;
}
.m-hero-title {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800;
    letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.1;
    color: var(--m-text);
}
.m-hero-title .m-hero-sub {
    display: block; font-size: .82rem; font-weight: 500;
    letter-spacing: 0; color: var(--m-text-faint); margin-top: 8px;
}
.m-hero-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px;
}
.m-search {
    position: relative; flex: 1 1 260px; max-width: 420px; min-width: 200px;
}
.m-search input {
    width: 100%; padding: 10px 34px 10px 36px;
    background: var(--m-surface); border: 1px solid var(--m-line);
    border-radius: 999px; color: var(--m-text); font-size: .88rem;
}
.m-search input:focus { outline: none; border-color: var(--m-accent); box-shadow: 0 0 0 3px var(--m-accent-dim); }
.m-search i.left { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--m-text-faint); font-size: .8rem; pointer-events: none; }
.m-search i.clear {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    color: var(--m-text-faint); cursor: pointer; padding: 4px; display: none;
}
.m-search.has-value i.clear { display: block; }
.m-search.has-value i.clear:hover { color: var(--m-danger); }

.m-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px; font-size: .76rem;
    background: var(--m-surface); border: 1px solid var(--m-line); color: var(--m-text-dim);
    white-space: nowrap;
}
.m-chip b { color: var(--m-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.m-chip.is-filter { background: var(--m-accent-dim); border-color: transparent; color: var(--m-accent); }
.m-chip a { color: inherit; text-decoration: none; margin-left: 2px; }

.m-seg { display: inline-flex; background: var(--m-surface); border: 1px solid var(--m-line); border-radius: 999px; padding: 3px; }
.m-seg button {
    background: none; border: none; color: var(--m-text-faint);
    padding: 6px 13px; border-radius: 999px; font-size: .78rem; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
}
.m-seg button.is-on { background: var(--m-surface-2); color: var(--m-text); }
.m-seg button:hover { color: var(--m-text); }

select.m-select {
    background: var(--m-surface); color: var(--m-text-dim); border: 1px solid var(--m-line);
    border-radius: 999px; padding: 8px 12px; font-size: .78rem; cursor: pointer;
}
select.m-select:focus { outline: none; border-color: var(--m-accent); }

/* 横向分区（最近播放 / 热门） */
.m-row-head { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 12px; }
.m-row-head h2 { font-size: 1.02rem; font-weight: 700; margin: 0; color: var(--m-text); }
.m-row-head span { font-size: .74rem; color: var(--m-text-faint); }

.m-shelf {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 156px;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding: 2px 2px 12px;
    scrollbar-width: thin;
}
.m-shelf::-webkit-scrollbar { height: 7px; }
.m-shelf::-webkit-scrollbar-thumb { background: var(--m-surface-2); border-radius: 4px; }
.m-shelf-item {
    scroll-snap-align: start;
    background: var(--m-surface);
    border: 1px solid var(--m-line);
    border-radius: 12px;
    padding: 9px;
    cursor: pointer;
    min-width: 0;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.m-shelf-item:hover { transform: translateY(-3px); border-color: var(--m-line-2); background: var(--m-surface-2); }
.m-shelf-item:focus-visible { outline: 2px solid var(--m-accent); outline-offset: 2px; }
.m-shelf-item.is-on { border-color: var(--m-accent); background: var(--m-accent-dim); }
.m-shelf-cover {
    position: relative; aspect-ratio: 1 / 1; border-radius: 9px; overflow: hidden;
    background: var(--m-surface-2); margin-bottom: 8px;
}
.m-shelf-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-shelf-play {
    position: absolute; right: 7px; bottom: 7px;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--m-accent); color: var(--m-on-accent); font-size: .72rem;
    opacity: 0; transform: translateY(5px); transition: opacity .18s, transform .18s;
}
.m-shelf-item:hover .m-shelf-play { opacity: 1; transform: none; }
.m-shelf-name {
    font-size: .8rem; font-weight: 600; color: var(--m-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-shelf-sub {
    display: flex; align-items: center; gap: 6px;
    font-size: .69rem; color: var(--m-text-faint); margin-top: 2px; min-width: 0;
}
.m-shelf-sub span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.m-shelf-sub b { margin-left: auto; font-weight: 700; color: var(--m-amber); font-variant-numeric: tabular-nums; }
.m-shelf-sub b.bad { color: var(--m-danger); }

/* ═══════════════════════════ 网格卡片 ═══════════════════════════ */
.m-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 16px;
}
.m-card {
    position: relative;
    background: var(--m-surface);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    padding: 12px;
    cursor: pointer;
    transition: transform .2s cubic-bezier(.2,.7,.3,1), border-color .2s, box-shadow .2s, background .2s;
}
.m-card:hover {
    transform: translateY(-4px);
    background: var(--m-surface-2);
    border-color: var(--m-accent-line);
    box-shadow: 0 18px 36px -22px var(--m-shadow);
}
.m-card.is-playing { border-color: var(--m-accent); background: var(--m-surface-2); }
/* 坏文件：ffprobe 解析失败（probe_status=0）或播放器 error 事件回来时标记。
   两种来源用同一个类，卡片/列表/货架三处统一压暗。 */
.m-card.is-broken .m-cover img, .m-shelf-item.is-broken .m-shelf-cover img { opacity: .35; filter: grayscale(1); }
.m-list-row.is-broken { opacity: .55; }
.m-list-row.is-broken .m-time { color: var(--m-danger); }

.m-cover { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--m-bg-soft); }
.m-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-cover .m-dur {
    position: absolute; left: 8px; bottom: 8px;
    padding: 2px 7px; border-radius: 999px; font-size: .68rem;
    background: var(--m-art-scrim); color: var(--m-on-art);
    font-variant-numeric: tabular-nums; backdrop-filter: blur(4px);
}
.m-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, rgba(6,10,20,.05), rgba(6,10,20,.55));
    opacity: 0; transition: opacity .2s;
}
.m-card:hover .m-play, .m-card:focus-within .m-play { opacity: 1; }
.m-play i {
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--m-accent); color: var(--m-on-accent); font-size: 1rem;
    box-shadow: 0 8px 22px -6px var(--m-accent-glow);
}
.m-fav {
    position: absolute; right: 8px; top: 8px; z-index: 3;
    width: 30px; height: 30px; border-radius: 50%; border: none;
    background: var(--m-art-scrim); color: var(--m-on-art);
    cursor: pointer; opacity: 0; transition: opacity .18s, transform .18s, color .18s;
    backdrop-filter: blur(4px);
}
.m-card:hover .m-fav { opacity: 1; }
.m-fav:hover { transform: scale(1.12); color: var(--m-art-liked); }
.m-fav.is-liked { opacity: 1; color: var(--m-art-liked); }
.m-detail {
    position: absolute; right: 8px; bottom: 8px; z-index: 3;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--m-art-scrim); color: var(--m-on-art); text-decoration: none;
    font-size: .72rem; opacity: 0; transition: opacity .18s, color .18s;
}
.m-card:hover .m-detail { opacity: 1; }
.m-detail:hover { color: var(--m-accent-on-art); }

.m-card-name {
    margin: 11px 2px 3px; font-size: .88rem; font-weight: 600; color: var(--m-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-card-artist {
    margin: 0 2px 8px; font-size: .76rem; color: var(--m-text-faint);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-card-meta { display: flex; gap: 6px; padding: 0 2px; }
.m-tag {
    font-size: .62rem; letter-spacing: .04em; text-transform: uppercase;
    padding: 2px 7px; border-radius: 5px;
    background: var(--m-bg-soft); color: var(--m-text-faint); border: 1px solid var(--m-line);
}
.m-tag.hi { color: var(--m-amber); border-color: var(--m-amber-line); }
.m-tag.ly { color: var(--m-accent); border-color: var(--m-accent-line-soft); }

/* 均衡器指示（替代原来无封面时的旋转圆圈） */
.m-eq { display: none; position: absolute; left: 8px; top: 8px; z-index: 3; align-items: flex-end; gap: 2px; height: 15px; }
.m-card.is-playing .m-eq { display: flex; }
.m-eq i { width: 3px; background: var(--m-accent); border-radius: 2px; animation: m-eq-bounce 1s ease-in-out infinite; }
.m-eq i:nth-child(2) { animation-delay: .18s; }
.m-eq i:nth-child(3) { animation-delay: .36s; }
.m-eq i:nth-child(4) { animation-delay: .54s; }
@keyframes m-eq-bounce { 0%,100% { height: 4px; } 50% { height: 15px; } }
.m-card.is-paused .m-eq i { animation-play-state: paused; }

/* ═══════════════════════════ 列表视图 ═══════════════════════════ */
.m-list { border: 1px solid var(--m-line); border-radius: var(--m-radius); overflow: hidden; background: var(--m-surface); }
.m-list-row {
    display: grid;
    grid-template-columns: 34px 46px minmax(0, 2.2fr) minmax(0, 1.5fr) 1fr 60px 92px;
    align-items: center; gap: 12px;
    padding: 9px 14px; border-bottom: 1px solid var(--m-line);
    cursor: pointer; transition: background .15s;
}
.m-list-row:last-child { border-bottom: none; }
.m-list-row:hover { background: var(--m-surface-2); }
.m-list-row.is-playing { background: var(--m-accent-dim); }
.m-list-head {
    display: grid; grid-template-columns: 34px 46px minmax(0, 2.2fr) minmax(0, 1.5fr) 1fr 60px 92px;
    gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--m-line);
    font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--m-text-faint);
    background: var(--m-bg-soft);
}
.m-num { font-size: .76rem; color: var(--m-text-faint); font-variant-numeric: tabular-nums; }
.m-thumb { width: 46px; height: 46px; border-radius: 8px; overflow: hidden; background: var(--m-bg-soft); position: relative; }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-name { font-size: .88rem; color: var(--m-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-artist { font-size: .8rem; color: var(--m-text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-fmt { font-size: .68rem; color: var(--m-text-faint); text-transform: uppercase; letter-spacing: .06em; }
.m-time { font-size: .78rem; color: var(--m-text-dim); text-align: right; font-variant-numeric: tabular-nums; }
.m-acts { display: flex; justify-content: flex-end; gap: 6px; }
.m-acts button, .m-acts a {
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: none; color: var(--m-text-faint); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.m-acts button:hover, .m-acts a:hover { color: var(--m-text); background: var(--m-bg-soft); }
.m-acts .is-liked { color: var(--m-danger); }

/* 视图切换：只显示其一 */
body.m-view-list .m-grid { display: none; }
body.m-view-list .m-list { display: block; }
.m-list { display: none; }

/* ═══════════════════════════ 分页 ═══════════════════════════ */
.m-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.m-pager a, .m-pager span {
    min-width: 34px; height: 34px; padding: 0 10px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--m-surface); border: 1px solid var(--m-line);
    color: var(--m-text-dim); font-size: .8rem; text-decoration: none;
    font-variant-numeric: tabular-nums;
}
.m-pager a:hover { border-color: var(--m-accent); color: var(--m-accent); }
.m-pager .is-on { background: var(--m-accent); border-color: var(--m-accent); color: var(--m-on-accent); font-weight: 700; }
/* 当前页是 <a>，会被上面「对冲 editorial」那条 .m-pager a 的 !important 抢走颜色
   （两档下都表现为「绿底配灰字」）。用更高特异性把强调色底上的文字颜色拿回来。 */
body.music-body .m-pager a.is-on { color: var(--m-on-accent) !important; }
.m-pager .is-gap { background: none; border-color: transparent; color: var(--m-text-faint); }
.m-pager .is-off { opacity: .35; pointer-events: none; }

/* 空态 */
.m-empty { text-align: center; padding: 74px 20px; color: var(--m-text-faint); }
.m-empty i { font-size: 2.4rem; color: var(--m-line-2); display: block; margin-bottom: 14px; }
.m-empty a { color: var(--m-accent); }

/* ═══════════════════════════ 底部播放器 ═══════════════════════════ */
.m-player {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
    height: var(--m-player-h);
    background: var(--m-glass);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--m-line-2);
    transform: translateY(105%); transition: transform .32s cubic-bezier(.2,.7,.3,1);
}
.m-player.is-on { transform: translateY(0); }

/* 波形进度条 */
/* 波形进度条
   波形 PNG 是「白色波形 + 透明底」，这里把它当 mask 用，
   底色想换成什么就换什么——比 filter: invert/hue-rotate 稳，也不会糊。 */
.m-wave {
    position: relative; height: 34px; cursor: pointer; overflow: hidden;
    margin: 0 18px;
}
.m-wave-base, .m-wave-fill {
    position: absolute; inset: 4px 0;
    --m-wf: none;
    -webkit-mask: var(--m-wf) no-repeat 0 0 / 100% 100%;
            mask: var(--m-wf) no-repeat 0 0 / 100% 100%;
}
.m-wave-base { background: var(--m-wave-idle); }
/* 已播部分：整幅同宽的副本，用 clip-path 裁掉右侧。
   不用 width 收窄——那会连带压缩背景尺寸，波形会横向挤成一团。 */
.m-wave-fill {
    background: linear-gradient(90deg, var(--m-accent), var(--m-amber));
    clip-path: inset(0 100% 0 0);
}
/* 没有波形图的文件（源音频解析失败那两首）退化成一条普通进度轨。
   mask 关掉是必要的：mask 缺失时那两层会连成整块实心色条。 */
.m-wave.is-plain .m-wave-base, .m-wave.is-plain .m-wave-fill {
    -webkit-mask: none; mask: none;
    top: 14px; bottom: 14px; border-radius: 999px;
}
.m-wave.is-plain .m-wave-base { background: var(--m-wave-idle-soft); }
.m-wave-tip {
    position: absolute; top: -26px; transform: translateX(-50%);
    padding: 2px 7px; border-radius: 6px; font-size: .68rem;
    background: var(--m-surface-2); color: var(--m-text); border: 1px solid var(--m-line-2);
    opacity: 0; pointer-events: none; transition: opacity .14s; font-variant-numeric: tabular-nums;
}
.m-wave:hover .m-wave-tip { opacity: 1; }

.m-player-inner {
    display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center; gap: 16px; height: calc(var(--m-player-h) - 34px); padding: 0 18px;
}
.m-now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.m-now-cover {
    width: 52px; height: 52px; border-radius: 10px; overflow: hidden; flex: none;
    background: var(--m-surface); display: flex; align-items: center; justify-content: center;
}
.m-now-cover img { width: 100%; height: 100%; object-fit: cover; }
.m-now-cover i { color: var(--m-text-faint); }
.m-now-text { min-width: 0; }
.m-now-name { font-size: .88rem; font-weight: 600; color: var(--m-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-now-artist { font-size: .74rem; color: var(--m-text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-now-fav { background: none; border: none; color: var(--m-text-faint); cursor: pointer; font-size: .95rem; padding: 6px; flex: none; }
.m-now-fav.is-liked { color: var(--m-danger); }

.m-ctrl { display: flex; align-items: center; gap: 6px; }
.m-btn {
    width: 34px; height: 34px; border-radius: 50%; border: none; background: none;
    color: var(--m-text-dim); cursor: pointer; font-size: .85rem; position: relative;
    display: inline-flex; align-items: center; justify-content: center; transition: color .15s, background .15s;
}
.m-btn:hover { color: var(--m-text); background: var(--m-surface-2); }
.m-btn.is-on { color: var(--m-accent); }
.m-btn-main {
    width: 42px; height: 42px; border-radius: 50%; border: none;
    background: var(--m-accent); color: var(--m-on-accent); font-size: .95rem; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; transition: transform .15s;
}
.m-btn-main:hover { transform: scale(1.06); }
.m-badge-1 {
    position: absolute; top: 0; right: 0; font-size: .55rem; font-weight: 800;
    background: var(--m-accent); color: var(--m-on-accent); border-radius: 999px; padding: 0 3px; line-height: 1.35;
}
.m-mode-tip {
    position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%);
    background: var(--m-surface-2); border: 1px solid var(--m-line-2); color: var(--m-text);
    font-size: .68rem; padding: 3px 8px; border-radius: 6px; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity .2s;
}
.m-btn:hover .m-mode-tip { opacity: 1; }

.m-right { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.m-time { font-size: .74rem; color: var(--m-text-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-vol { display: flex; align-items: center; gap: 6px; }
.m-vol input[type=range] {
    width: 0; opacity: 0; transition: width .2s, opacity .2s;
    accent-color: var(--m-accent); height: 4px; cursor: pointer;
}
.m-vol:hover input[type=range], .m-vol:focus-within input[type=range] { width: 76px; opacity: 1; }

/* 队列抽屉 */
.m-queue {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 92vw); z-index: 1060;
    background: var(--m-bg-soft); border-left: 1px solid var(--m-line-2);
    transform: translateX(102%); transition: transform .3s cubic-bezier(.2,.7,.3,1);
    display: flex; flex-direction: column;
}
.m-queue.is-on { transform: translateX(0); box-shadow: -30px 0 60px -30px var(--m-shadow); }
.m-queue-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid var(--m-line);
}
.m-queue-head h3 { font-size: .95rem; margin: 0; font-weight: 700; }
.m-queue-body { flex: 1; overflow-y: auto; padding: 6px 0; }
.m-queue-item {
    display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px;
    align-items: center; padding: 8px 16px; cursor: pointer; color: var(--m-text-dim);
}
.m-queue-item:hover { background: var(--m-surface); color: var(--m-text); }
.m-queue-item.is-on { color: var(--m-accent); background: var(--m-accent-dim); }
.m-queue-item img { width: 38px; height: 38px; border-radius: 7px; object-fit: cover; display: block; }
.m-queue-item .q-name { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-queue-item .q-artist { font-size: .7rem; color: var(--m-text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-queue-item .q-dur { font-size: .72rem; font-variant-numeric: tabular-nums; color: var(--m-text-faint); }

/* 歌词全屏 */
.m-lyrics {
    position: fixed; inset: 0; z-index: 1050; background: var(--m-bg);
    opacity: 0; pointer-events: none; transition: opacity .3s;
    display: flex; flex-direction: column;
}
.m-lyrics.is-on { opacity: 1; pointer-events: auto; }
.m-lyrics-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(70px) saturate(1.2); opacity: .3; transform: scale(1.2); }
.m-lyrics-head { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; }
.m-lyrics-body {
    position: relative; flex: 1; overflow-y: auto; padding: 6vh 26px 20vh;
    scroll-behavior: smooth;
}
.m-lrc { text-align: center; max-width: 720px; margin: 0 auto; }
.m-lrc-line {
    padding: 9px 0; font-size: 1.05rem; color: var(--m-text-faint);
    cursor: pointer; transition: color .25s, font-size .25s, opacity .25s; line-height: 1.6;
}
.m-lrc-line:hover { color: var(--m-text-dim); }
.m-lrc-line.is-past { opacity: .35; }
.m-lrc-line.is-now { color: var(--m-text); font-size: 1.35rem; font-weight: 700; }
/* 暂停在 0:00 时一行都不算「当前句」，整屏歌词不该淡到看不清 */
.m-lrc:not(:has(.is-now)) .m-lrc-line { color: var(--m-text-dim); }
.m-lrc-none { text-align: center; color: var(--m-text-faint); padding-top: 16vh; }
.m-close {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--m-line-2);
    background: var(--m-surface); color: var(--m-text-dim); cursor: pointer;
}
.m-close:hover { color: var(--m-text); border-color: var(--m-accent); }

/* 遮罩 / 移动端抽屉 */
.m-scrim { position: fixed; inset: 0; background: var(--m-scrim); z-index: 1055; opacity: 0; pointer-events: none; transition: opacity .25s; }
.m-scrim.is-on { opacity: 1; pointer-events: auto; }
.m-rail-btn {
    display: none; position: fixed; left: 16px; bottom: calc(var(--m-player-h) + 16px); z-index: 1045;
    padding: 10px 16px; border-radius: 999px; border: 1px solid var(--m-line-2);
    background: var(--m-surface-2); color: var(--m-text); font-size: .82rem; cursor: pointer;
    box-shadow: 0 10px 26px -12px var(--m-shadow);
}

/* Toast */
.m-toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--m-player-h) + 22px); z-index: 1080; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.m-toast {
    padding: 9px 16px; border-radius: 999px; font-size: .8rem;
    background: var(--m-surface-2); color: var(--m-text); border: 1px solid var(--m-line-2);
    box-shadow: 0 12px 30px -14px var(--m-shadow); animation: m-toast-in .22s ease-out;
}
@keyframes m-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.m-toast.is-bad { border-color: var(--m-danger-line); color: var(--m-danger); }

/* ═══════════════════ 详情页（music_detail.php）播放入口条 ═══════════════════ */
.m-detail-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    max-width: 600px; margin: 0 auto 2rem;
}
/* 详情页的按钮要带文字，套不上播放器里那个 42px 圆钮 */
.m-detail-bar .m-btn-main {
    width: auto; height: auto; padding: 11px 22px; gap: 9px;
    border-radius: 999px; font-size: .88rem; font-weight: 700;
}
.m-detail-bar .m-btn-main[disabled] {
    background: var(--m-surface); color: var(--m-text-faint);
    border: 1px solid var(--m-line); cursor: not-allowed;
}
.m-detail-bar .m-fav.is-static {
    position: static; width: auto; height: auto; opacity: 1;
    padding: 11px 18px; border-radius: 999px; font-size: .82rem;
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--m-surface); border: 1px solid var(--m-line);
    color: var(--m-text-dim);          /* 脱离封面浮层后回到正文配色，--m-on-art 在白底上看不见 */
}
.m-detail-bar .m-fav.is-static.is-liked { color: var(--m-danger); border-color: var(--m-danger-line); }
.m-detail-meta { font-size: .78rem; color: var(--m-text-faint); font-variant-numeric: tabular-nums; }
/* body.music-body a { color: inherit !important } 会吃掉详情页返回按钮的 hover 色，这里补回来 */
body.music-body .back-link a:hover { color: var(--m-accent) !important; border-color: var(--m-accent) !important; }
.m-detail-warn {
    max-width: 600px; margin: -1rem auto 1.6rem; font-size: .78rem;
    color: var(--m-amber); background: var(--m-amber-dim);
    border: 1px solid var(--m-amber-line); border-radius: 10px; padding: 9px 13px;
}

/* ═══════════════════════════ 响应式 ═══════════════════════════ */
@media (max-width: 1180px) {
    .m-shell { grid-template-columns: minmax(0, 1fr); }
    .m-rail {
        /* top 让开固定导航栏，否则抽屉第一行被压在下面 */
        position: fixed; left: 0; top: var(--m-nav-h); bottom: 0; width: min(320px, 86vw); z-index: 1060;
        max-height: none; border-radius: 0; border-left: none; border-top: none; border-bottom: none;
        transform: translateX(-102%); transition: transform .3s cubic-bezier(.2,.7,.3,1);
    }
    body.m-rail-open .m-rail { transform: translateX(0); }
    .m-rail-btn { display: inline-flex; align-items: center; gap: 8px; }
}
@media (max-width: 760px) {
    /* 变量声明在 body.music-body 上，改 :root 不会被它继承过去，必须同处覆盖 */
    body.music-body { --m-player-h: 78px; }
    .m-shell { padding: 14px 14px calc(var(--m-player-h) + 26px); }
    .m-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
    .m-list-head { display: none; }
    .m-list-row { grid-template-columns: 40px minmax(0, 1fr) 60px; gap: 10px; }
    .m-list-row .m-artist, .m-list-row .m-fmt, .m-list-row .m-num { display: none; }
    .m-list-row .m-acts { grid-column: 3; }
    .m-player-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 0 12px; }
    .m-right { display: none; }
    .m-wave { margin: 0 12px; height: 28px; }
    .m-fav, .m-detail, .m-pl-add { opacity: 1; }
    /* 触屏没有悬停，左栏的改名/删除若只靠 :hover 就永远出不来 */
    .m-pl-act { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .m-card, .m-player, .m-queue, .m-rail { transition: none; }
    .m-eq i { animation: none; height: 9px; }
}
