/* YiCool 在线播放器 /tools/listen1
   主题变量定义在 :root：toast / 弹窗 / 拖拽提示挂在 .l1 内，浅色由站点 [data-theme=light] 覆盖 */
:root {
    color-scheme: dark;
    --l1-bg: #0c1118;
    --l1-bg2: #111925;
    --l1-card: #161e2a;
    --l1-card2: #1b2533;
    --l1-card3: #223044;
    --l1-line: #2a374a;
    --l1-line2: #3b4c63;
    --l1-fg: #e9eef6;
    --l1-fg2: #c5cedc;
    --l1-sub: #97a4b6;
    --l1-faint: #97a5b8;
    --l1-accent: #4d9bff;
    --l1-accent2: #35d6a4;
    --l1-accent-soft: rgba(77, 155, 255, .14);
    --l1-ok: #42d392;
    --l1-ok-soft: rgba(66, 211, 146, .14);
    --l1-warn: #eeb35c;
    --l1-warn-soft: rgba(238, 179, 92, .14);
    --l1-bad: #ef7168;
    --l1-bad-soft: rgba(239, 113, 104, .14);
    --l1-on-accent: #ffffff;
    --l1-shadow: 0 10px 34px rgba(0, 0, 0, .34);
    --l1-shadow-sm: 0 3px 12px rgba(0, 0, 0, .22);
    --l1-zebra: rgba(127, 127, 127, .055);
    --l1-r: 14px;
    --l1-r-sm: 10px;
    --l1-side-w: 224px;
    --l1-right-w: 288px;
    --l1-player-h: 88px;
    --l1-r-lg: 18px;
    --l1-mh: 57px;
}
[data-theme="light"] {
    color-scheme: light;
    --l1-bg: #f4f7fb;
    --l1-bg2: #eef3f9;
    --l1-card: #ffffff;
    --l1-card2: #f7f9fc;
    --l1-card3: #eef3f9;
    --l1-line: #e1e8f0;
    --l1-line2: #cfd9e5;
    --l1-fg: #17202c;
    --l1-fg2: #354152;
    --l1-sub: #5b6879;
    --l1-faint: #5d6b7d;
    --l1-accent: #136ce9;
    --l1-accent2: #0f9d76;
    --l1-accent-soft: rgba(19, 108, 233, .1);
    --l1-ok: #138a55;
    --l1-ok-soft: rgba(19, 138, 85, .1);
    --l1-warn: #966400;
    --l1-warn-soft: rgba(150, 100, 0, .1);
    --l1-bad: #b3261e;
    --l1-bad-soft: rgba(179, 38, 30, .1);
    --l1-shadow: 0 10px 30px rgba(15, 25, 40, .1);
    --l1-shadow-sm: 0 3px 12px rgba(15, 25, 40, .08);
    --l1-zebra: rgba(15, 20, 25, .038);
}

/* 电脑端满屏（保留左侧导航）；overflow:visible 把滚动权交回 html，页内 sticky 才生效 */
body.page-listen1-full .app { max-width: 100%; }
body.page-listen1-full .main-content { max-width: 100%; width: 100%; border-right: 0; }
body.page-listen1-full .page-container { max-width: 100%; }
body.page-listen1-full { overflow: visible; }
/* 站点 700px 断点会给 .main-content 加 overflow-x:hidden，使其成为非滚动祖先而破坏 sticky；
   clip 能裁掉横向溢出但不创建滚动容器（老浏览器忽略此声明，退回 hidden 也不影响内容） */
@supports (overflow-x: clip) {
    body.page-listen1-full .main-content { overflow-x: clip; }
}
/* 设置项「隐藏站点收藏按钮」：header 顶部工具条的「收藏此工具」入口
   在 .l1 之外，用 body 类控制；默认隐藏，避免遮挡播放器右栏。 */
body.page-listen1-full.l1-hide-tool-fav .tool-favbar { display: none !important; }

.l1 {
    width: 100%;
    min-height: 100dvh;
    background: var(--l1-bg);
    color: var(--l1-fg);
    font-size: 14px;
    line-height: 1.55;
    position: relative;
}
.l1 *, .l1 *::before, .l1 *::after { box-sizing: border-box; }
.l1 [hidden] { display: none !important; }
.l1 button, .l1 input, .l1 select, .l1 textarea { font: inherit; }
.l1 button { cursor: pointer; }
.l1 a { color: var(--l1-accent); text-decoration: none; }
.l1 a:hover { text-decoration: underline; }
.l1 img { display: block; object-fit: cover; }
.l1 :focus-visible { outline: 2px solid var(--l1-accent); outline-offset: 2px; }
.l1 ::-webkit-scrollbar { width: 9px; height: 9px; }
.l1 ::-webkit-scrollbar-thumb { background: var(--l1-line2); border-radius: 9px; }
.l1 ::-webkit-scrollbar-track { background: transparent; }

/* 自定义四套主题（覆盖站点主题；特异性高于 [data-theme="light"]） */
.l1[data-l1-theme="dark"] {
    --l1-bg: #0e1013; --l1-bg2: #15181d; --l1-card: #1b1f25; --l1-card2: #22272e;
    --l1-card3: #2b313a; --l1-line: #303741; --l1-line2: #414a57; --l1-fg: #eceff3;
    --l1-fg2: #ccd2da; --l1-sub: #a1aab6; --l1-faint: #8d97a4; --l1-accent: #5aa9ff;
}
.l1[data-l1-theme="light"] {
    --l1-bg: #f7f9fc; --l1-bg2: #eef3f9; --l1-card: #ffffff; --l1-card2: #f5f8fb;
    --l1-card3: #eaf0f7; --l1-line: #e0e7ef; --l1-line2: #cdd8e5; --l1-fg: #16202c;
    --l1-fg2: #354152; --l1-sub: #596879; --l1-faint: #6b7888; --l1-accent: #136ce9;
}
.l1[data-l1-theme="gradient"] {
    --l1-bg: #10142a; --l1-bg2: #171c38; --l1-card: rgba(35, 42, 78, .92);
    --l1-card2: rgba(45, 53, 94, .9); --l1-card3: rgba(58, 68, 116, .88);
    --l1-line: rgba(141, 156, 220, .24); --l1-line2: rgba(141, 156, 220, .38);
    --l1-fg: #f0f2ff; --l1-fg2: #d6dcf7; --l1-sub: #aeb8e2; --l1-faint: #98a3ce;
    --l1-accent: #a98bff; --l1-accent2: #4de0c1; --l1-accent-soft: rgba(169, 139, 255, .18);
}
.l1[data-l1-theme="gradient"] .l1-hero { background: linear-gradient(120deg, rgba(94, 78, 180, .42), rgba(34, 160, 154, .28)), var(--l1-card); }

/* ==================== 三栏骨架 ==================== */
.l1-shell {
    display: grid;
    grid-template-columns: var(--l1-side-w) minmax(0, 1fr) var(--l1-right-w);
    align-items: start;
    min-height: calc(100dvh - var(--l1-player-h));
    padding-bottom: var(--l1-player-h);
}
.l1-side, .l1-right {
    position: sticky;
    top: 0;
    height: calc(100dvh - var(--l1-player-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--l1-bg2);
}
.l1-side { border-right: 1px solid var(--l1-line); padding: 16px 12px 18px; z-index: 25; }
.l1-right { border-left: 1px solid var(--l1-line); padding: 14px 14px 18px; z-index: 24; }
.l1.is-right-closed .l1-right { display: none; }
.l1.is-right-closed .l1-shell { grid-template-columns: var(--l1-side-w) minmax(0, 1fr); }
.l1-main { min-width: 0; padding: 0 20px 36px; overflow: visible; }

/* ==================== 左侧导航 ==================== */
.l1-brand { display: flex; align-items: center; gap: 10px; padding: 2px 4px 14px; border-bottom: 1px solid var(--l1-line); }
.l1-brand-ic {
    width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center;
    border-radius: 12px; font-size: 21px; color: var(--l1-on-accent);
    background: linear-gradient(135deg, var(--l1-accent), var(--l1-accent2));
    box-shadow: var(--l1-shadow-sm);
}
.l1-brand-tx { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.l1-brand-tx strong { font-size: 16px; letter-spacing: .2px; }
.l1-brand-tx small { color: var(--l1-sub); font-size: 11px; }
.l1-nav { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; }
.l1-nav-btn {
    display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
    padding: 9px 11px; border: 0; border-radius: var(--l1-r-sm);
    background: transparent; color: var(--l1-fg2); font-size: 13.5px;
    transition: background .16s, color .16s;
}
.l1-nav-btn:hover { background: var(--l1-accent-soft); color: var(--l1-fg); }
.l1-nav-btn.is-on { background: var(--l1-accent-soft); color: var(--l1-accent); font-weight: 600; }
.l1-nav-badge { margin-left: auto; min-width: 20px; padding: 0 5px; text-align: center; border-radius: 9px; background: var(--l1-card3); color: var(--l1-fg2); font-size: 11px; }
.l1-side-sec { border-top: 1px solid var(--l1-line); padding: 12px 2px; }
.l1-side-h { display: flex; align-items: center; justify-content: space-between; color: var(--l1-sub); font-size: 12px; font-weight: 600; padding: 0 4px 8px; }
.l1-mini-btn { border: 1px solid var(--l1-line2); background: var(--l1-card2); color: var(--l1-fg2); border-radius: 8px; padding: 3px 8px; font-size: 11.5px; }
.l1-mini-btn:hover { border-color: var(--l1-accent); color: var(--l1-accent); }
.l1-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 2px 9px; }
.l1-chip { border: 1px solid var(--l1-line2); background: var(--l1-card); color: var(--l1-sub); border-radius: 999px; padding: 4px 9px; font-size: 11.5px; }
.l1-chip.is-on { border-color: var(--l1-accent); color: var(--l1-accent); background: var(--l1-accent-soft); }
.l1-chip.is-off { opacity: .58; }
.l1-side-btn { display: block; width: 100%; margin-top: 6px; padding: 8px 10px; text-align: left; border: 1px solid var(--l1-line); background: var(--l1-card); color: var(--l1-fg2); border-radius: var(--l1-r-sm); font-size: 12.5px; }
.l1-side-btn:hover { border-color: var(--l1-accent); }
.l1-side-pl { flex: 1 1 auto; }
.l1-pl-nav { display: flex; flex-direction: column; gap: 2px; max-height: 250px; overflow-y: auto; }
.l1-pl-nav-btn { display: flex; align-items: center; gap: 7px; width: 100%; padding: 7px 9px; border: 0; border-radius: 8px; background: transparent; color: var(--l1-fg2); text-align: left; font-size: 12.5px; }
.l1-pl-nav-btn:hover, .l1-pl-nav-btn.is-on { background: var(--l1-accent-soft); color: var(--l1-accent); }
.l1-pl-nav-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l1-pl-nav-btn b { margin-left: auto; color: var(--l1-faint); font-weight: 400; font-size: 11px; }
.l1-side-foot { border-top: 1px solid var(--l1-line); padding-top: 10px; }
.l1-side-foot p { color: var(--l1-faint); font-size: 12px; margin: 8px 4px 0; }
.l1-side-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 90; }

/* ==================== 顶栏与 Hero ==================== */
.l1-topbar {
    position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 9px;
    padding: 12px 0; background: var(--l1-bg); border-bottom: 1px solid var(--l1-line);
    margin-bottom: 14px;
}
.l1-icon-btn { border: 1px solid transparent; background: transparent; color: var(--l1-fg2); border-radius: 10px; min-width: 34px; height: 34px; padding: 0 7px; font-size: 15px; }
.l1-icon-btn:hover { background: var(--l1-card2); border-color: var(--l1-line2); }
.l1-menu-btn, .l1-right-btn { display: none; }
.l1-right-btn { border-color: var(--l1-line2); background: var(--l1-card); }
.l1-search { position: relative; flex: 1 1 320px; min-width: 0; max-width: 620px; display: flex; align-items: center; }
.l1-search-ic { position: absolute; left: 12px; color: var(--l1-faint); pointer-events: none; }
.l1-search-in {
    width: 100%; height: 40px; padding: 0 36px 0 36px; border: 1px solid var(--l1-line2);
    border-radius: 999px; background: var(--l1-card); color: var(--l1-fg); outline: none;
}
.l1-search-in::placeholder { color: var(--l1-faint); }
.l1-search-in:focus { border-color: var(--l1-accent); box-shadow: 0 0 0 3px var(--l1-accent-soft); }
.l1-search-in::-webkit-search-cancel-button { display: none; }
.l1-search-clr { position: absolute; right: 8px; border: 0; background: transparent; color: var(--l1-sub); width: 26px; height: 26px; border-radius: 50%; }
.l1-search-clr:hover { background: var(--l1-card3); }
.l1-select, .l1-btn {
    height: 38px; padding: 0 12px; border: 1px solid var(--l1-line2); border-radius: 10px;
    background: var(--l1-card); color: var(--l1-fg2); font-size: 13px; white-space: nowrap;
}
.l1-select:focus, .l1-btn:focus-visible { border-color: var(--l1-accent); }
.l1-btn:hover { border-color: var(--l1-accent); color: var(--l1-fg); }
.l1-btn-pri { background: var(--l1-accent); border-color: var(--l1-accent); color: var(--l1-on-accent); font-weight: 600; }
.l1-btn-pri:hover { color: var(--l1-on-accent); filter: brightness(1.06); }
.l1-btn-danger { border-color: var(--l1-bad); color: var(--l1-bad); }
.l1-btn-danger:hover { background: var(--l1-bad-soft); color: var(--l1-bad); }
.l1-btn[disabled] { opacity: .5; cursor: not-allowed; }

.l1-hero {
    position: relative; padding: 16px 20px 14px; margin-bottom: 14px; border: 1px solid var(--l1-line);
    border-radius: var(--l1-r); background: linear-gradient(115deg, var(--l1-accent-soft), transparent 58%), var(--l1-card);
    box-shadow: var(--l1-shadow-sm);
}
.l1-hero-row { display: flex; align-items: center; gap: 14px; }
.l1-hero-ic { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 14px; font-size: 26px; color: var(--l1-on-accent); background: linear-gradient(135deg, var(--l1-accent), var(--l1-accent2)); }
.l1-hero-tx { min-width: 0; flex: 1; }
.l1-hero h1 { font-size: 21px; margin: 0 0 3px; letter-spacing: .2px; }
.l1-hero-lead { margin: 0; color: var(--l1-sub); font-size: 13px; }
.l1-fold { width: 30px; height: 30px; border: 0; background: transparent; color: var(--l1-sub); border-radius: 8px; }
.l1-fold:hover { background: var(--l1-card3); }
.l1-fold svg { transition: transform .18s; }
.l1-hero.is-collapsed .l1-fold svg { transform: rotate(-90deg); }
.l1-hero.is-collapsed .l1-hero-extra { display: none; }
.l1-hero.is-collapsed { padding-bottom: 12px; }
.l1-hero-extra { margin-top: 12px; }
.l1-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.l1-tag { padding: 3px 9px; border-radius: 999px; background: var(--l1-card2); border: 1px solid var(--l1-line); color: var(--l1-fg2); font-size: 12px; }
.l1-hero-note { margin: 0; color: var(--l1-sub); font-size: 12.5px; line-height: 1.62; max-width: 100ch; }
.l1-stat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 760px; margin-top: 14px; border-top: 1px solid var(--l1-line); padding-top: 11px; }
.l1-stat-i { display: flex; align-items: baseline; gap: 6px; justify-content: center; color: var(--l1-sub); font-size: 12.5px; border-left: 1px solid var(--l1-line); }
.l1-stat-i:first-child { border-left: 0; }
.l1-stat-i b { font-size: 20px; color: var(--l1-fg); letter-spacing: .2px; }
.l1-stat-i:nth-child(2) b { color: var(--l1-accent); }
.l1-stat-i:nth-child(3) b { color: var(--l1-ok); }
.l1-stat-i:nth-child(4) b { color: var(--l1-warn); }

/* ==================== 视图与通用卡片 ==================== */
.l1-view { display: none; }
.l1-view.is-on { display: block; animation: l1-fade .18s ease-out; }
@keyframes l1-fade { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.l1-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 20px 0 11px; }
.l1-sec-h h2 { font-size: 16px; margin: 0; }
.l1-sec-note { color: var(--l1-faint); font-size: 12px; }
.l1-sec-ops { display: flex; gap: 7px; flex-wrap: wrap; }
.l1-featured { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 12px; }
.l1-feat {
    border: 1px solid var(--l1-line); border-radius: var(--l1-r); background: var(--l1-card);
    padding: 10px; text-align: left; color: var(--l1-fg); transition: transform .16s, box-shadow .16s, border-color .16s;
}
.l1-feat:hover { transform: translateY(-2px); border-color: var(--l1-accent); box-shadow: var(--l1-shadow); }
.l1-feat-cover { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--l1-r-sm); overflow: hidden; background: var(--l1-card3); }
.l1-feat-cover img { width: 100%; height: 100%; }
.l1-feat-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.42), transparent 60%); }
.l1-feat-play { position: absolute; right: 9px; bottom: 9px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--l1-accent); color: var(--l1-on-accent); font-size: 14px; box-shadow: var(--l1-shadow-sm); }
.l1-feat-t { font-weight: 600; margin: 9px 2px 2px; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l1-feat-d { color: var(--l1-sub); font-size: 12.5px; margin: 0 2px 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.l1-feat-m { display: flex; align-items: center; justify-content: space-between; color: var(--l1-faint); font-size: 11.5px; padding: 0 2px; }
.l1-sources { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.l1-source { border: 1px solid var(--l1-line); border-radius: var(--l1-r-sm); padding: 11px 12px; background: var(--l1-card); }
.l1-source.is-off { opacity: .72; }
.l1-source-h { display: flex; align-items: center; gap: 9px; }
.l1-source-mark { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px; display: grid; place-items: center; background: var(--l1-accent-soft); color: var(--l1-accent); font-weight: 700; font-size: 12px; }
.l1-source strong { font-size: 13.5px; }
.l1-source p { margin: 7px 0 0; color: var(--l1-sub); font-size: 12.5px; line-height: 1.5; }
.l1-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; background: var(--l1-accent-soft); color: var(--l1-accent); border: 1px solid var(--l1-line); }
.l1-badge.is-preview { background: var(--l1-ok-soft); color: var(--l1-ok); }
.l1-badge.is-off { background: var(--l1-card3); color: var(--l1-faint); }
.l1-faq { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 9px; }
.l1-faq details { border: 1px solid var(--l1-line); border-radius: var(--l1-r-sm); background: var(--l1-card); padding: 9px 12px; }
.l1-faq summary { cursor: pointer; color: var(--l1-fg2); font-size: 13px; font-weight: 600; }
.l1-faq p { margin: 8px 0 0; color: var(--l1-sub); font-size: 12px; }
.l1-credit { margin-top: 18px; color: var(--l1-faint); font-size: 11.5px; border-top: 1px solid var(--l1-line); padding-top: 12px; }

/* ==================== 曲目列表 ==================== */
.l1-tracks { border: 1px solid var(--l1-line); border-radius: var(--l1-r); overflow: hidden; background: var(--l1-card); contain: layout style; }
.l1-tracks.is-compact .l1-track { padding-top: 4px; padding-bottom: 4px; }
.l1-track {
    display: grid; grid-template-columns: 34px 40px minmax(0, 1.7fr) minmax(0, 1.05fr) minmax(0, 1fr) 62px 154px;
    align-items: center; gap: 9px; padding: 9px 12px; border-bottom: 1px solid var(--l1-line); font-size: 13px;
}
.l1-track:last-child { border-bottom: 0; }
.l1-track:nth-child(even) { background: var(--l1-zebra); }
.l1-track.is-cur { background: var(--l1-accent-soft); }
.l1-track.is-cur .l1-t-title { color: var(--l1-accent); font-weight: 600; }
.l1-track-idx { color: var(--l1-faint); font-size: 11.5px; text-align: center; }
.l1-t-cover { width: 40px; height: 40px; border-radius: 8px; background: var(--l1-card3); }
.l1-t-main { min-width: 0; }
.l1-t-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--l1-fg); }
.l1-t-sub { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--l1-faint); font-size: 12px; }
.l1-t-artist, .l1-t-album { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--l1-sub); }
.l1-t-dur { color: var(--l1-faint); font-size: 12px; text-align: right; }
.l1-t-ops { display: flex; gap: 3px; justify-content: flex-end; }
.l1-t-op { width: 28px; height: 28px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--l1-sub); font-size: 13px; }
.l1-t-op:hover { border-color: var(--l1-line2); background: var(--l1-card2); color: var(--l1-accent); }
.l1-t-op.is-on { color: var(--l1-bad); }
.l1-t-src { font-size: 10px; padding: 1px 5px; border-radius: 5px; background: var(--l1-card3); color: var(--l1-faint); margin-right: 5px; }
.l1-res-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 2px 10px; color: var(--l1-fg2); font-size: 13px; }
.l1-loading { display: flex; align-items: center; gap: 9px; padding: 14px; color: var(--l1-sub); font-size: 12.5px; }
.l1-spin { width: 17px; height: 17px; border: 2px solid var(--l1-line2); border-top-color: var(--l1-accent); border-radius: 50%; animation: l1-spin .8s linear infinite; }
@keyframes l1-spin { to { transform: rotate(360deg); } }
.l1-empty { text-align: center; padding: 38px 18px; color: var(--l1-sub); }
.l1-empty-ic { font-size: 34px; margin-bottom: 8px; }
.l1-empty p { margin: 0 0 12px; font-size: 13px; }
.l1-data-err { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0; padding: 13px 15px; border: 1px solid var(--l1-warn); border-radius: var(--l1-r-sm); background: var(--l1-warn-soft); color: var(--l1-fg2); font-size: 12.5px; }
.l1-data-err strong { color: var(--l1-warn); }
.l1-data-err span { flex: 1 1 260px; }
.l1-data-err-ops { display: flex; gap: 8px; }

/* ==================== 歌单头 ==================== */
.l1-pl-head { display: flex; align-items: center; gap: 15px; padding: 14px; border: 1px solid var(--l1-line); border-radius: var(--l1-r); background: var(--l1-card); margin-bottom: 14px; }
.l1-pl-cover { width: 92px; height: 92px; flex: 0 0 92px; border-radius: 12px; display: grid; place-items: center; font-size: 34px; color: var(--l1-on-accent); background: linear-gradient(135deg, var(--l1-accent), var(--l1-accent2)); overflow: hidden; }
.l1-pl-cover img { width: 100%; height: 100%; }
.l1-pl-tx { min-width: 0; flex: 1; }
.l1-pl-tx h2 { margin: 0 0 5px; font-size: 19px; }
.l1-pl-tx p { margin: 0 0 6px; color: var(--l1-sub); font-size: 12px; }
.l1-pl-ops { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 430px; }

/* ==================== 正在播放 ==================== */
.l1-np-bg { position: absolute; inset: 0; z-index: 0; opacity: .16; filter: blur(60px) saturate(1.4); background-size: cover; background-position: center; pointer-events: none; }
.l1-np-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 22px; padding: 18px; border: 1px solid var(--l1-line); border-radius: var(--l1-r); background: var(--l1-card); }
.l1-np-left { min-width: 0; }
.l1-np-cover { position: relative; width: 100%; max-width: 280px; aspect-ratio: 1; margin: 0 auto 16px; border-radius: 16px; overflow: hidden; background: var(--l1-card3); box-shadow: var(--l1-shadow); }
.l1-np-cover img { width: 100%; height: 100%; }
.l1-np-disc { position: absolute; right: -38px; top: 16%; width: 130px; height: 130px; border-radius: 50%; border: 18px solid rgba(255,255,255,.07); background: radial-gradient(circle, rgba(255,255,255,.15) 0 22%, rgba(0,0,0,.35) 23% 100%); opacity: .55; }
.l1.is-playing .l1-np-disc { animation: l1-disc 8s linear infinite; }
@keyframes l1-disc { to { transform: rotate(360deg); } }
.l1-np-left h2 { font-size: 19px; margin: 0 0 3px; text-align: center; }
.l1-np-artist, .l1-np-album { margin: 0; text-align: center; color: var(--l1-sub); font-size: 12px; }
.l1-np-left > .l1-badge { display: flex; width: fit-content; margin: 9px auto 0; }
.l1-np-ops { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 14px 0; }
.l1-np-ctl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; color: var(--l1-sub); font-size: 12px; border-top: 1px solid var(--l1-line); padding-top: 12px; }
.l1-np-ctl label { display: inline-flex; align-items: center; gap: 5px; }
.l1-np-ctl .l1-select { height: 32px; padding: 0 8px; font-size: 12px; }
.l1-np-right { min-width: 0; display: flex; flex-direction: column; }
.l1-lrc-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; border-bottom: 1px solid var(--l1-line); padding-bottom: 10px; }
.l1-lrc-bar h3 { margin: 0; font-size: 14px; flex: 1; }
.l1-lrc-size { display: inline-flex; align-items: center; gap: 5px; color: var(--l1-sub); font-size: 11px; }
/* 自动匹配成功时显示歌词来源（QQ 音乐 / LRCLIB / 网易云） */
.l1-lrc-src { margin-left: auto; color: var(--l1-faint); font-size: 11px; }
.l1-lrc-size input { width: 80px; }
.l1-lrc { height: min(52vh, 440px); overflow-y: auto; overscroll-behavior: contain; padding: 16px 6px; scroll-behavior: smooth; }
.l1-lrc-line { padding: 7px 8px; border-radius: 8px; color: var(--l1-faint); cursor: pointer; text-align: center; transition: color .16s, background .16s; }
.l1-lrc-line.is-on { color: var(--l1-accent); font-weight: 600; background: var(--l1-accent-soft); }
.l1-lrc-line small { display: block; color: var(--l1-faint); font-weight: 400; font-size: .82em; }
.l1-lrc-line.is-on small { color: var(--l1-fg2); }
.l1-lrc-empty { padding: 20px; }
.l1-lrc-edit { margin-top: 10px; border-top: 1px solid var(--l1-line); padding-top: 10px; }
.l1-lrc-edit summary { cursor: pointer; color: var(--l1-sub); font-size: 12px; }
.l1-lrc-edit .l1-lrc-note { margin: 8px 0 0; color: var(--l1-faint); font-size: 11.5px; line-height: 1.6; }
.l1-lrc-edit textarea { width: 100%; margin-top: 9px; border: 1px solid var(--l1-line2); border-radius: 9px; background: var(--l1-card2); color: var(--l1-fg); padding: 8px; resize: vertical; }
.l1-lrc-edit .l1-btn { margin-top: 8px; }

/* ==================== 队列 / 设置 ==================== */
.l1-shortcuts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.l1-shortcut { display: flex; align-items: center; gap: 9px; border: 1px solid var(--l1-line); border-radius: 9px; background: var(--l1-card); padding: 8px 10px; font-size: 12px; color: var(--l1-sub); }
.l1-shortcut kbd { min-width: 62px; text-align: center; padding: 3px 6px; border-radius: 6px; border: 1px solid var(--l1-line2); background: var(--l1-card2); color: var(--l1-fg); font-family: inherit; font-size: 11px; }
.l1-set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
.l1-set-row, .l1-set-check { border: 1px solid var(--l1-line); border-radius: var(--l1-r-sm); background: var(--l1-card); padding: 11px 13px; font-size: 12.5px; color: var(--l1-fg2); }
.l1-set-row { display: flex; flex-direction: column; gap: 7px; }
.l1-set-row > span { color: var(--l1-sub); }
.l1-set-row input[type="range"] { width: 100%; }
.l1-set-check { display: flex; align-items: center; gap: 9px; }
.l1-set-check input { width: 17px; height: 17px; accent-color: var(--l1-accent); }
.l1-set-ops { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }

/* ==================== 右侧面板 ==================== */
.l1-right-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--l1-line); }
.l1-right-tabs { display: flex; gap: 5px; margin: 10px 0; }
.l1-rtab { flex: 1; padding: 7px 0; border: 1px solid var(--l1-line); border-radius: 8px; background: var(--l1-card); color: var(--l1-sub); font-size: 12px; }
.l1-rtab.is-on { background: var(--l1-accent-soft); color: var(--l1-accent); border-color: var(--l1-accent); }
.l1-right-pane { min-height: 0; }
.l1-mini-cover { width: 100%; aspect-ratio: 1; max-height: 230px; border-radius: 12px; overflow: hidden; background: var(--l1-card3); margin-bottom: 12px; }
.l1-mini-cover img { width: 100%; height: 100%; }
.l1-right-now h3, #l1MiniTitle { margin: 0 0 3px; font-size: 14px; }
#l1MiniArtist { margin: 0 0 12px; color: var(--l1-sub); font-size: 11.5px; }
.l1-mini-lrc { border-top: 1px solid var(--l1-line); padding-top: 11px; color: var(--l1-faint); font-size: 12px; text-align: center; min-height: 70px; }
.l1-mini-lrc .is-on { color: var(--l1-accent); font-weight: 600; }
.l1-mini-queue { display: flex; flex-direction: column; gap: 5px; max-height: calc(100dvh - 260px); overflow-y: auto; }
.l1-mini-q { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border: 1px solid var(--l1-line); border-radius: 8px; background: var(--l1-card); color: var(--l1-fg2); font-size: 12.5px; }
.l1-mini-q.is-cur { border-color: var(--l1-accent); color: var(--l1-accent); }
.l1-mini-q span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }

/* ==================== 底部播放器 ==================== */
.l1-player {
    position: fixed; left: var(--sidebar-width, 275px); right: 0; bottom: 0; z-index: 70;
    height: var(--l1-player-h); padding: 8px 18px calc(8px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 1.4fr) minmax(0, 1fr);
    align-items: center; gap: 14px;
    background: var(--l1-card); border-top: 1px solid var(--l1-line); box-shadow: 0 -8px 28px rgba(0,0,0,.22);
}
/* 关闭播放器后，版心 / 侧栏 / 右栏 / toast 依赖的播放器高度一次归零 */
.l1.is-player-closed { --l1-player-h: 0px; }
.l1-player-track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.l1-player-cover { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 10px; background: var(--l1-card3); }
.l1-player-tx { min-width: 0; display: flex; flex-direction: column; }
.l1-player-tx strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.l1-player-tx span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--l1-sub); font-size: 12px; }
.l1-player-center { min-width: 0; }
.l1-player-btns { display: flex; align-items: center; justify-content: center; gap: 6px; }
.l1-play-main { width: 42px; height: 42px; border-radius: 50%; background: var(--l1-accent); color: var(--l1-on-accent); border: 0; font-size: 16px; }
.l1-play-main:hover { background: var(--l1-accent); filter: brightness(1.08); }
.l1-icon-btn.is-on { color: var(--l1-accent); background: var(--l1-accent-soft); border-color: var(--l1-accent); }
.l1-progress-row { display: flex; align-items: center; gap: 9px; margin-top: 5px; color: var(--l1-faint); font-size: 11.5px; }
.l1-progress { position: relative; flex: 1; height: 6px; border-radius: 6px; background: var(--l1-card3); cursor: pointer; }
.l1-progress-buf, .l1-progress-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; }
.l1-progress-buf { background: var(--l1-line2); width: 0; }
.l1-progress-fill { background: linear-gradient(90deg, var(--l1-accent), var(--l1-accent2)); width: 0; }
.l1-progress::after { content: ''; position: absolute; right: -1px; top: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--l1-fg); opacity: 0; transition: opacity .15s; }
.l1-progress:hover::after { opacity: 1; }
.l1-player-right { display: flex; align-items: center; justify-content: flex-end; gap: 7px; min-width: 0; }
.l1-player-right input[type="range"] { width: 92px; accent-color: var(--l1-accent); }
.l1-eq { display: flex; align-items: flex-end; gap: 2px; height: 18px; width: 20px; }
.l1-eq i { width: 3px; height: 5px; background: var(--l1-faint); border-radius: 2px; }
.l1.is-playing .l1-eq i { background: var(--l1-accent2); animation: l1-eq .8s ease-in-out infinite alternate; }
.l1.is-playing .l1-eq i:nth-child(2) { animation-delay: .18s; }
.l1.is-playing .l1-eq i:nth-child(3) { animation-delay: .36s; }
.l1.is-playing .l1-eq i:nth-child(4) { animation-delay: .1s; }
@keyframes l1-eq { to { height: 17px; } }
.l1-player-sleep { font-size: 11.5px; color: var(--l1-warn); white-space: nowrap; }
/* 极简关闭按钮：默认只有一个 ×，悬停才转警示色。
   .l1 前缀保证压过 .l1 button{font:inherit}，否则字号会被打回 14px 几乎看不见 */
.l1 .l1-player-close { color: var(--l1-fg2); font-size: 18px; line-height: 1; padding: 0; }
.l1 .l1-player-close:hover { color: var(--l1-warn); }
/* 关闭后留在右下角的极简恢复入口；上移 78px 避开站点浮动收藏按钮（bottom 约 24px） */
.l1-player-reopen {
    position: fixed; right: 18px; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 71;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--l1-line2);
    background: var(--l1-card); color: var(--l1-accent); font-size: 18px; line-height: 1;
    box-shadow: var(--l1-shadow-sm);
}
.l1-player-reopen:hover { background: var(--l1-card2); border-color: var(--l1-accent); }
/* 同步歌词条：贴在播放器上方，任何视图 / 右栏状态都能看到当前行 */
.l1-lrc-now {
    position: fixed; left: var(--sidebar-width, 275px); right: 0;
    bottom: calc(var(--l1-player-h) + 10px + env(safe-area-inset-bottom)); z-index: 69;
    width: min(680px, calc(100% - 40px)); height: 30px; margin: 0 auto;
    border: 1px solid var(--l1-line); border-radius: 999px;
    background: var(--l1-card); color: var(--l1-fg2); box-shadow: var(--l1-shadow-sm);
    font-size: 12.5px; text-align: center; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; padding: 0 14px;
}
.l1-lrc-now span { display: block; overflow: hidden; text-overflow: ellipsis; }
.l1-lrc-now:hover { color: var(--l1-accent); border-color: var(--l1-accent); }

/* ==================== 弹窗 / Toast / 载入 / 拖拽 ==================== */
.l1-toast {
    position: fixed; left: 50%; bottom: calc(var(--l1-player-h) + 18px + env(safe-area-inset-bottom));
    transform: translateX(-50%); z-index: 240; max-width: min(92vw, 560px);
    padding: 9px 16px; border-radius: 999px; background: var(--l1-card3); color: var(--l1-fg);
    border: 1px solid var(--l1-line2); box-shadow: var(--l1-shadow); font-size: 12.5px;
}
.l1-toast.is-err { border-color: var(--l1-bad); color: var(--l1-bad); }
.l1-toast.is-ok { border-color: var(--l1-ok); color: var(--l1-ok); }
.l1-modal-mask { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(3, 7, 14, .68); backdrop-filter: blur(3px); }
.l1-modal { width: min(520px, 100%); max-height: min(86vh, 760px); display: flex; flex-direction: column; border: 1px solid var(--l1-line2); border-radius: var(--l1-r-lg); background: var(--l1-card); box-shadow: var(--l1-shadow); }
.l1-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--l1-line); }
.l1-modal-head h2 { margin: 0; font-size: 15px; }
.l1-modal-body { padding: 15px 16px; overflow-y: auto; overscroll-behavior: contain; font-size: 13px; color: var(--l1-fg2); }
.l1-modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--l1-line); }
.l1-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.l1-field label { color: var(--l1-sub); font-size: 12px; }
.l1-field input, .l1-field textarea, .l1-field select { width: 100%; border: 1px solid var(--l1-line2); border-radius: 9px; background: var(--l1-card2); color: var(--l1-fg); padding: 9px 10px; outline: none; }
.l1-field textarea { resize: vertical; min-height: 96px; }
.l1-field input:focus, .l1-field textarea:focus { border-color: var(--l1-accent); }
.l1-modal-note { color: var(--l1-faint); font-size: 11.5px; margin: 4px 0 0; }
.l1-modal-list { display: flex; flex-direction: column; gap: 5px; max-height: 260px; overflow-y: auto; }
.l1-modal-list label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--l1-line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.l1-modal-list label:hover { border-color: var(--l1-accent); }
.l1-boot { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; background: var(--l1-bg); }
.l1-boot-card { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border: 1px solid var(--l1-line); border-radius: 14px; background: var(--l1-card); box-shadow: var(--l1-shadow); font-size: 13px; }
.l1-drop { position: fixed; inset: 12px; z-index: 230; display: grid; place-items: center; border: 2px dashed var(--l1-accent); border-radius: 18px; background: var(--l1-accent-soft); color: var(--l1-accent); font-size: 17px; font-weight: 600; pointer-events: none; }
.l1-noscript { padding: 20px; color: var(--l1-fg); }

/* ==================== 响应式（断点降序，后者覆盖前者） ==================== */
@media (min-width: 1600px) {
    .l1 { --l1-side-w: 248px; --l1-right-w: 312px; }
    .l1-main { padding-left: 30px; padding-right: 30px; }
    .l1-featured { grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); }
}
/* 只有 >=1601px 才常驻三栏；1440/1500 桌面把「正在播放」改为可呼出抽屉，
   主内容由 589px 扩到约 900px，卡片从 2 列变 3~4 列 */
@media (max-width: 1600px) {
    .l1-shell { grid-template-columns: var(--l1-side-w) minmax(0, 1fr); }
    .l1-right {
        position: fixed; top: 0; right: 0; bottom: var(--l1-player-h); height: auto;
        width: min(90vw, 320px); z-index: 95; transform: translateX(102%);
        transition: transform .22s ease; box-shadow: var(--l1-shadow);
    }
    .l1.is-right-closed .l1-right { display: block; }
    .l1.is-right-open .l1-right { transform: none; }
    .l1-right-btn { display: inline-block; }
}
@media (max-width: 1400px) {
    .l1-stat { max-width: 640px; }
    .l1-featured { grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); }
    .l1-np-grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}
@media (max-width: 1200px) {
    .l1-np-grid { grid-template-columns: minmax(0, 270px) minmax(0, 1fr); }
    .l1-player { grid-template-columns: minmax(140px, 1fr) minmax(200px, 1.1fr) auto; }
    .l1-player-right input[type="range"], .l1-player-right .l1-eq { display: none; }
    .l1-track { grid-template-columns: 30px 38px minmax(0, 1.6fr) minmax(0, 1fr) 54px 132px; }
    .l1-t-album { display: none; }
}
@media (max-width: 900px) {
    .l1-shell { grid-template-columns: minmax(0, 1fr); }
    .l1.is-right-closed .l1-shell { grid-template-columns: minmax(0, 1fr); }
    .l1-side {
        position: fixed; left: 0; top: 0; bottom: 0; height: auto; width: min(86vw, 310px);
        z-index: 100; transform: translateX(-102%); transition: transform .22s ease;
        box-shadow: var(--l1-shadow);
    }
    .l1.is-side-open .l1-side { transform: none; }
    .l1-menu-btn { display: inline-block; }
    .l1-main { padding: 0 12px 28px; }
    /* 平板与手机统一两行顶栏网格：搜索框占首行主位，避免 5 个控件挤成一行 */
    .l1-topbar {
        display: grid; align-items: center; gap: 8px; padding: 9px 0 10px; margin-bottom: 12px;
        grid-template-columns: 40px minmax(0, 1fr) 40px 88px;
        grid-template-areas: "menu search search search" "sel sel right btn";
    }
    .l1-menu-btn { grid-area: menu; }
    .l1-search { grid-area: search; order: 0; flex: none; width: 100%; max-width: none; }
    #l1SourceSel { grid-area: sel; width: 100%; max-width: none; }
    #l1SearchBtn { grid-area: btn; width: 100%; }
    .l1-right-btn { grid-area: right; width: 40px; }
    .l1-stat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 0; max-width: none; }
    .l1-stat-i:nth-child(3) { border-left: 0; }
    .l1-stat-i:nth-child(n+3) { border-top: 1px solid var(--l1-line); padding-top: 7px; }
    .l1-np-grid { grid-template-columns: minmax(0, 1fr); }
    .l1-np-cover { max-width: 220px; }
    .l1-lrc { height: 300px; }
    .l1-pl-head { flex-wrap: wrap; }
    .l1-pl-ops { max-width: none; justify-content: flex-start; }
}
@media (max-width: 767px) {
    .l1 { --l1-player-h: 126px; }
    /* 顶栏两行网格已在 <=900px 段定义，这里只补触控尺寸与首屏密度 */
    .l1-search-in { height: 42px; }
    /* 基础规则 .l1 input/select/button 用了 font 简写，必须用更高特异性
       才能把 16px 写进去（否则 iOS 聚焦时整页放大，实测旧版仍为 14px） */
    .l1 .l1-search-in, .l1 .l1-select, .l1 .l1-btn, .l1 .l1-field input,
    .l1 .l1-field textarea, .l1 .l1-field select, .l1 #l1NpLrcInput { font-size: 16px; }
    .l1-hero { padding: 14px; }
    .l1-hero h1 { font-size: 18px; }
    .l1-hero-ic { width: 40px; height: 40px; flex-basis: 40px; font-size: 21px; }
    .l1-hero-note { font-size: 12px; line-height: 1.6; }
    .l1-hero-tags { flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin-bottom: 8px; padding-bottom: 2px; scrollbar-width: none; overscroll-behavior-x: contain; mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%); }
    .l1-hero-tags::-webkit-scrollbar { display: none; }
    .l1-tag { flex: 0 0 auto; white-space: nowrap; }
    .l1-sec-h { margin: 16px 0 9px; }
    /* 手机精选歌单改为紧凑列表：76px 封面 + 三行文字，
       10 张卡从约 3700px 降到约 1000px，首屏能看到内容而不是一张大图 */
    .l1-featured { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .l1-feat {
        display: grid; min-height: 92px; padding: 8px;
        grid-template-columns: 76px minmax(0, 1fr); column-gap: 11px; align-content: center;
        grid-template-areas: "cover title" "cover desc" "cover meta";
    }
    .l1-feat-cover { grid-area: cover; width: 76px; height: 76px; aspect-ratio: auto; align-self: center; }
    .l1-feat-play { width: 30px; height: 30px; right: 5px; bottom: 5px; font-size: 12px; }
    .l1-feat-t { grid-area: title; margin: 0; font-size: 13.5px; line-height: 1.35; align-self: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .l1-feat-d { grid-area: desc; margin: 2px 0 0; min-height: 0; font-size: 12px; line-height: 1.4; -webkit-line-clamp: 1; }
    .l1-feat-m { grid-area: meta; align-self: end; font-size: 11.5px; }
    .l1-sources, .l1-faq, .l1-shortcuts, .l1-set-grid { grid-template-columns: minmax(0, 1fr); }
    /* 可见列只有 4 个（idx / cover / main / ops），网格必须也是 4 列 */
    .l1-track { grid-template-columns: 26px 38px minmax(0, 1fr) auto; padding: 8px; gap: 6px; }
    .l1-t-artist, .l1-t-dur { display: none; }
    .l1-t-ops { gap: 1px; }
    .l1-t-op { width: 40px; height: 40px; font-size: 15px; }
    .l1-icon-btn, .l1-search-clr, .l1-mini-btn { min-width: 40px; height: 40px; }
    .l1-fold { width: 40px; height: 40px; }
    .l1-btn, .l1-select, .l1-fold, .l1-chip, .l1-rtab { min-height: 40px; }
    .l1-mini-btn { padding: 6px 10px; font-size: 12px; }
    /* 播放器两行：歌曲信息 / 控制键+进度条。高度必须够，
       旧版 96px 装不下 42+44+18px，按钮与进度条被裁出屏幕（实测溢出 24px） */
    .l1-player {
        padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
        grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 42px auto;
        align-content: center; gap: 6px;
    }
    .l1-player-center { grid-column: 1 / -1; grid-row: 2; }
    .l1-player-track { grid-column: 1; grid-row: 1; }
    .l1-player-right { grid-column: 2; grid-row: 1; }
    .l1-player-right .l1-eq, .l1-player-right input[type="range"] { display: none; }
    .l1-player-btns { gap: 3px; }
    .l1-player-reopen { width: 44px; height: 44px; right: 12px; }
    .l1-play-main { width: 44px; height: 44px; }
    .l1-progress-row { margin-top: 2px; }
    .l1-pl-cover { width: 68px; height: 68px; flex-basis: 68px; font-size: 26px; }
    .l1-modal { max-height: 92vh; }
    .l1-modal-foot .l1-btn { flex: 1; }
    .l1-np-cover { max-width: 180px; }
    .l1-np-ops .l1-btn { flex: 1 1 calc(50% - 6px); }
}
/* 站点左侧导航在 700px 才抽屉化，移动端顶栏实测 57px；
   顶栏让位 / 播放器贴左 / 右栏抽屉都要与该断点对齐 */
@media (max-width: 700px) {
    .l1-topbar { top: var(--l1-mh, 57px); }
    .l1-player { left: 0; }
    .l1-lrc-now { left: 0; width: min(680px, calc(100% - 24px)); }
    .l1-right { top: var(--l1-mh, 57px); }
}
@media (max-width: 420px) {
    .l1-main { padding-left: 10px; padding-right: 10px; }
    .l1-hero-tags { gap: 4px; }
    .l1-tag { font-size: 11.5px; padding: 2px 7px; }
    .l1-stat-i b { font-size: 17px; }
    .l1-track { grid-template-columns: 22px 34px minmax(0, 1fr) auto; }
    .l1-t-cover { width: 34px; height: 34px; }
    .l1-t-ops .l1-t-op:nth-child(3) { display: none; }
    .l1-player-cover { width: 42px; height: 42px; flex-basis: 42px; }
    .l1-player-tx strong { font-size: 12.5px; }
}
/* ==================== 桌面端「收起导航」：折叠工具自带左栏 ==================== */
/* >900px 时 .l1-side 是 sticky 常驻侧栏，抽屉类 is-side-open 对它无效；
   因此 ✕ 切换到独立的折叠态，顶栏 ☰ 复用为展开入口。 */
.l1.is-side-collapsed .l1-side { display: none; }
.l1.is-side-collapsed .l1-shell { grid-template-columns: minmax(0, 1fr) var(--l1-right-w); }
.l1.is-side-collapsed.is-right-closed .l1-shell { grid-template-columns: minmax(0, 1fr); }
.l1.is-side-collapsed .l1-menu-btn { display: inline-block; }
@media (max-width: 1600px) {
    .l1.is-side-collapsed .l1-shell,
    .l1.is-side-collapsed.is-right-closed .l1-shell { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
    /* 抽屉模式下折叠态无效，避免窗口缩小后导航被隐藏 */
    .l1.is-side-collapsed .l1-side { display: block; }
    .l1.is-side-collapsed .l1-shell,
    .l1.is-side-collapsed.is-right-closed .l1-shell { grid-template-columns: minmax(0, 1fr); }
}

@media (hover: none) {
    .l1-feat:hover { transform: none; box-shadow: none; }
    .l1-nav-btn:hover, .l1-side-btn:hover, .l1-btn:hover { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
    .l1 *, .l1 *::before, .l1 *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
    .l1-side, .l1-right, .l1-player, .l1-topbar, .l1-toast, .l1-modal-mask, .l1-boot, .l1-drop { display: none !important; }
    .l1-shell { display: block; padding: 0; }
    .l1-main { padding: 0; }
    .l1-view { display: block !important; }
}
