/* 首页播放卡片修复：贴边安全、标题完整、矮屏不裁切 */
body.home #musicStack{right:24px!important;bottom:24px!important}
body.home #musicDock{max-height:calc(100dvh - 48px);overflow-y:auto;scrollbar-width:none}
body.home #musicDock::-webkit-scrollbar{display:none}
body.home #musicDock .md-info b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25}
/* 小卡片不再显示歌词，只保留歌名/歌手/封面/控制键 */
body.home #musicDockLyric{display:none!important}
body.home #musicDock .md-info{padding-bottom:2px}
/* 顶栏账号与版本卡不再重叠 */
body.home .topbar .top-actions{min-width:0}
body.home .topbar .acct-pill,
body.home .topbar .ver-pill{flex:0 0 auto;min-width:0;max-width:132px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.home .topbar .acct-pill{margin-right:2px}
body.home .topbar .ver-pill{margin-left:0}
@media(max-width:1080px){body.home .topbar .acct-pill{max-width:92px;padding-left:8px;padding-right:8px}body.home .topbar .acct-pill span{max-width:52px;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:760px){body.home .topbar .acct-pill{display:none!important}}

/* 主页第三栏：音乐站点入口 + 右侧底部固定歌词卡 */
body.home #musicStack{top:auto!important;bottom:24px!important;transform:none!important}
body.home #musicDock .md-kicker{display:flex;align-items:center;gap:7px}
body.home #musicDock .md-open-site{margin-left:auto;color:#ffc46b;text-decoration:none;font-size:9px;letter-spacing:.1em;white-space:nowrap}
body.home #musicDock .md-open-site:hover{color:#fff}
body.home #musicDock .md-range{appearance:none;-webkit-appearance:none;height:3px;border-radius:999px;background:linear-gradient(90deg,#ffb531 var(--fill,0%),rgba(255,255,255,.18) var(--fill,0%))}
body.home #musicDock .md-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:0;height:0;border:0;background:transparent}
body.home #musicDock .md-range::-moz-range-thumb{width:0;height:0;border:0;background:transparent}
body.home #musicLyricsPanel .ml-range{appearance:none;-webkit-appearance:none;height:3px}
body.home #musicLyricsPanel .ml-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:0;height:0;border:0}
@media(max-height:760px){body.home #musicStack{top:auto!important;bottom:16px!important;transform:none!important}}
@media(max-width:560px){body.home #musicStack{top:auto!important;bottom:auto!important;transform:none!important}}

@media(max-width:900px){body.home .topbar .top-link{display:none!important}body.home .topbar .top-quick{gap:2px}}
