/* =============================================================
   VINYL NOIR / 黑胶夜色 · 全站统一皮肤
   v1.0 · 2026-11-24
   -------------------------------------------------------------
   定位：最后加载的全站覆写层。首页 home.css 只管首屏专属模块，
   本文件负责「每个页面」共用的一切：设计 token、导航、页脚、
   内页页头、内容卡片、歌词正文、按钮、分页、法务页、404、
   播放器与响应式。
   做法：所有选择器以 body.hm 起头，优先级高于 connCss / theme.css /
   各页专属 CSS；关键属性用 !important 压过旧样式表里的同名声明，
   并顺手把 theme.css 的旧变量重定义成深色，让内联 style 自动跟随。
   ============================================================= */

/* ---------- 1. 设计 token（同时重定义旧变量，兼容历史 var() 引用） ---------- */
:root {
    /* VINYL NOIR 主 token */
    --h-bg:        #0b0d12;
    --h-bg-soft:   #10131a;
    --h-surface:   #151922;
    --h-surface-2: #1b202b;
    --h-line:      rgba(232, 224, 205, .10);
    --h-line-soft: rgba(232, 224, 205, .055);
    --h-text:      #f4f1e9;
    --h-muted:     #b3b0a6;
    --h-dim:       #84827c;
    --h-gold:      #d8b878;
    --h-gold-hi:   #f0d7a3;
    --h-gold-soft: rgba(216, 184, 120, .12);
    --h-violet:    #8d7fbf;
    --h-serif:     "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
    --h-sans:      -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --h-r:         18px;

    /* 旧变量名：让 theme.css / 各页内联 style 自动继承深色调 */
    --primary-color:      #d8b878;
    --secondary-color:    #10131a;
    --accent-color:       #8d7fbf;
    --light-green:        rgba(216, 184, 120, .10);
    --text-primary:       #f4f1e9;
    --text-secondary:     #b3b0a6;
    --text-light:         #84827c;
    --gradient-primary:   linear-gradient(140deg, #e8cd96, #bb9257);
    --gradient-light:     linear-gradient(135deg, #1b202b, #10131a);
    --shadow-soft:        0 18px 46px rgba(0, 0, 0, .38);
    --shadow-card:        0 2px 10px rgba(0, 0, 0, .22);
    --brand:              #d8b878;
    --brand-deep:         #f0d7a3;
    --brand-soft:         rgba(216, 184, 120, .12);
    --ink-900:            #f4f1e9;
    --ink-700:            #b3b0a6;
    --ink-500:            #84827c;
    --ink-300:            #6f6d68;
    --line:               rgba(232, 224, 205, .10);
    --surface:            #151922;
    --bg:                 #0b0d12;
    --dark:               linear-gradient(135deg, #10131a 0%, #1b202b 55%, #241d2c 100%);
    --r-lg:               18px;
    --r-md:               14px;
    --r-sm:               10px;
    --sh-xs:              0 1px 3px rgba(0, 0, 0, .25);
    --sh-sm:              0 4px 18px rgba(0, 0, 0, .30);
    --sh-md:              0 14px 36px rgba(0, 0, 0, .40);
    --sh-lg:              0 28px 64px rgba(0, 0, 0, .52);
}

/* ---------- 2. 基础：全站底色与排版 ---------- */
body.hm {
    background-color: var(--h-bg) !important;
    background-image:
        radial-gradient(900px 620px at 12% -8%, rgba(141, 127, 191, .13), transparent 64%),
        radial-gradient(760px 560px at 96% 4%,  rgba(216, 184, 120, .10), transparent 62%),
        linear-gradient(180deg, #0b0d12 0%, #0e1016 45%, #0a0c10 100%) !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    color: var(--h-muted) !important;
    font-family: var(--h-sans) !important;
    font-size: 15px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 顶部极细金线：全站一致的唱片封套压印感 */
body.hm::before {
    content: '';
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 999;
    background: linear-gradient(90deg, transparent, var(--h-gold) 22%, rgba(216, 184, 120, .35) 55%, transparent);
    opacity: .65;
    pointer-events: none;
}

body.hm ::selection { background: rgba(216, 184, 120, .26); color: var(--h-text); }
body.hm ::-webkit-scrollbar { width: 10px; height: 10px; }
body.hm ::-webkit-scrollbar-track { background: transparent; }
body.hm ::-webkit-scrollbar-thumb { background: #2b3040; border-radius: 20px; border: 3px solid var(--h-bg); }
body.hm ::-webkit-scrollbar-thumb:hover { background: #3c4256; }
body.hm :focus-visible { outline: 2px solid var(--h-gold); outline-offset: 3px; border-radius: 6px; }

body.hm h1, body.hm h2, body.hm h3, body.hm h4, body.hm h5 {
    color: var(--h-text) !important;
    font-family: var(--h-serif);
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.35;
}
body.hm p { color: var(--h-muted); }
body.hm a { color: var(--h-muted); text-decoration: none; transition: color .22s ease, border-color .22s ease, background .22s ease; }
body.hm a:hover { color: var(--h-gold-hi); }
body.hm img { max-width: 100%; }
body.hm hr { border: 0; border-top: 1px solid var(--h-line); }
body.hm table { border-collapse: collapse; color: var(--h-muted); }
body.hm th, body.hm td { border: 1px solid var(--h-line); padding: 10px 14px; }
body.hm th { background: var(--h-surface-2); color: var(--h-text); }
body.hm blockquote {
    margin: 20px 0; padding: 16px 22px;
    border-left: 3px solid var(--h-gold);
    background: var(--h-bg-soft); color: var(--h-muted);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
body.hm code, body.hm pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
body.hm input, body.hm textarea, body.hm select, body.hm button { font-family: var(--h-sans); }

/* 旧模板的淡入动画依赖 JS，未执行时会把内容留在 opacity:0 —— 强制可见 */
body.hm .fade-in,
body.hm [class*="fade-in"] {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    visibility: visible !important;
}

/* ---------- 3. 顶部导航（全站共用 nav.php） ---------- */
body.hm .navbar {
    background: rgba(11, 13, 18, .84) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid var(--h-line) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .34) !important;
    padding: 13px 0 !important;
}
body.hm .nav-content { display: flex; align-items: center; gap: 18px; }
body.hm .logo {
    color: var(--h-text) !important;
    font-family: var(--h-serif);
    font-weight: 700;
    font-size: 1.16rem;
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}
body.hm .logo:hover { color: var(--h-gold-hi) !important; }
body.hm .logo-mark {
    background: linear-gradient(140deg, #e2c68d, #b08a4c) !important;
    box-shadow: 0 6px 20px rgba(216, 184, 120, .22) !important;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    flex: none;
}
body.hm .logo-mark svg { stroke: #1a1409 !important; width: 19px; height: 19px; }
body.hm .nav-search { flex: 1; max-width: 420px; }
body.hm .search-box { display: flex; align-items: center; }
body.hm .search-wrapper { display: flex; align-items: center; width: 100%; }
body.hm .search-input {
    background: rgba(255, 255, 255, .055) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: 999px 0 0 999px !important;
    color: var(--h-text) !important;
    padding: 10px 18px !important;
    height: 42px;
    width: 100%;
    outline: none;
}
body.hm .search-input::placeholder { color: #7d7c78; }
body.hm .search-input:focus {
    background: rgba(255, 255, 255, .085) !important;
    border-color: rgba(216, 184, 120, .55) !important;
    box-shadow: 0 0 0 4px rgba(216, 184, 120, .10) !important;
}
body.hm .search-btn {
    background: rgba(255, 255, 255, .055) !important;
    border: 1px solid var(--h-line) !important;
    border-left: 0 !important;
    border-radius: 0 999px 999px 0 !important;
    color: var(--h-gold) !important;
    height: 42px;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
body.hm .search-btn:hover { background: var(--h-gold-soft) !important; color: var(--h-gold-hi) !important; }
body.hm .search-btn svg { width: 18px; height: 18px; }
body.hm .nav-menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
body.hm .nav-menu-item {
    color: var(--h-muted) !important;
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .02em;
    padding: 8px 13px;
    border-radius: 999px;
}
body.hm .nav-menu-item:hover,
body.hm .nav-menu-item.active {
    color: var(--h-gold-hi) !important;
    background: var(--h-gold-soft) !important;
}
body.hm .menu-toggle {
    background: rgba(255, 255, 255, .05) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: 10px;
    padding: 9px 11px;
    cursor: pointer;
    display: none;
}
body.hm .hamburger,
body.hm .hamburger::before,
body.hm .hamburger::after { background: var(--h-text) !important; }
body.hm .hamburger { display: block; width: 20px; height: 2px; position: relative; }
body.hm .hamburger::before, body.hm .hamburger::after {
    content: ''; position: absolute; left: 0; width: 20px; height: 2px;
}
body.hm .hamburger::before { top: -6px; }
body.hm .hamburger::after  { top: 6px; }

/* ---------- 4. 页脚（全站共用 footer.php） ---------- */
body.hm .site-footer {
    background: #080a0e !important;
    border-top: 1px solid var(--h-line) !important;
    box-shadow: none !important;
    margin-top: 40px !important;
    padding: 46px 0 24px !important;
}
body.hm .footer-content { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
body.hm .footer-title {
    color: var(--h-text) !important;
    font-family: var(--h-serif);
    font-size: 1.14rem;
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 12px;
}
body.hm .footer-title .logo-mark { border-radius: 50% !important; width: 30px; height: 30px; }
body.hm .footer-title .logo-mark svg { width: 16px; height: 16px; stroke: #1a1409 !important; }
body.hm .footer-desc { color: var(--h-dim) !important; font-size: .88rem; max-width: 640px; line-height: 1.9; }
body.hm .footer-bottom {
    border-top: 1px solid var(--h-line) !important;
    padding-top: 22px !important;
    display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
body.hm .footer-copyright p { color: var(--h-dim) !important; font-size: .82rem; margin: 0 0 10px; }
body.hm .copyright-notice { color: var(--h-dim) !important; font-size: .8rem; line-height: 1.9; }
body.hm .copyright-notice a { color: var(--h-gold) !important; }
body.hm .icp-item a { color: var(--h-muted) !important; }
body.hm .icp-item a:hover { color: var(--h-gold) !important; }
body.hm .legal-link { color: var(--h-gold) !important; }
body.hm .footer-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
body.hm .badge {
    background: rgba(255, 255, 255, .03) !important;
    border: 1px solid var(--h-line) !important;
    color: var(--h-dim) !important;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: .74rem;
}
body.hm .privacy-badge {
    background: var(--h-gold-soft) !important;
    border: 1px solid rgba(216, 184, 120, .28) !important;
    color: var(--h-gold) !important;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: .78rem;
}
body.hm .footer-section { flex: 1 1 320px; }
body.hm .footer-links { flex: 0 1 200px; }
body.hm .footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
body.hm .footer-nav a {
    color: var(--h-muted) !important;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
body.hm .footer-nav a::before {
    content: '';
    width: 14px; height: 1px;
    background: var(--h-gold);
    opacity: .55;
    transition: width .22s ease, opacity .22s ease;
}
body.hm .footer-nav a:hover { color: var(--h-gold-hi) !important; }
body.hm .footer-nav a:hover::before { width: 22px; opacity: 1; }

/* ---------- 5. 布局容器 ---------- */
body.hm .container { max-width: 1240px !important; padding: 0 24px !important; margin: 0 auto !important; }
body.hm .container.main-content {
    padding: 34px 24px 80px !important;
    margin-top: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}
body.hm .lyric-container,
body.hm .download-page-container,
body.hm .error-container,
body.hm .nf-inner,
body.hm .legal-content,
body.hm .terms-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px 24px 70px;
}
body.hm .lyric-container,
body.hm .download-page-container { padding-bottom: 70px; }
body.hm .container.main-content .legal-content,
body.hm .container.main-content .terms-content { padding: 0 0 40px; max-width: none; }

/* ---------- 6. 内页统一页头（kicker + 衬线标题 + 唱片纹样） ---------- */
body.hm .search-header,
body.hm .song-header,
body.hm .legal-header,
body.hm .terms-header,
body.hm .error-content {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(620px 300px at 100% 0%, rgba(216, 184, 120, .09), transparent 70%),
        var(--h-bg-soft) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-r) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .26) !important;
    padding: 36px 38px 32px !important;
    margin: 0 0 30px !important;
}
/* 统一 kicker：每个内页页头都有的金色小标 */
body.hm .search-header::before,
body.hm .song-header::before,
body.hm .legal-header::before,
body.hm .terms-header::before,
body.hm .error-content::before {
    content: 'LYRICS ARCHIVE \00B7 歌词资料库';
    display: block;
    font-size: .68rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--h-gold);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}
/* 右侧纯 CSS 唱片纹样，呼应首页黑胶 */
body.hm .search-header::after,
body.hm .legal-header::after,
body.hm .terms-header::after {
    content: '';
    position: absolute;
    top: -70px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle at 50% 50%,
            rgba(255, 255, 255, .045) 0px, rgba(255, 255, 255, .045) 1px,
            transparent 1px, transparent 6px),
        radial-gradient(circle at 40% 35%, rgba(216, 184, 120, .16), transparent 62%);
    opacity: .7;
    pointer-events: none;
}
body.hm .search-header > *, body.hm .song-header > *,
body.hm .legal-header > *, body.hm .terms-header > * { position: relative; z-index: 2; }

body.hm .search-title-container { display: flex; align-items: flex-start; gap: 18px; }
body.hm .search-icon { display: none !important; }
body.hm .search-title-content { flex: 1; }
body.hm .search-title,
body.hm .song-title,
body.hm .legal-title,
body.hm .terms-title {
    margin: 0 0 12px !important;
    font-family: var(--h-serif) !important;
    font-size: clamp(1.75rem, 3.6vw, 2.6rem) !important;
    font-weight: 700 !important;
    line-height: 1.28 !important;
    color: var(--h-text) !important;
    letter-spacing: .01em !important;
}
body.hm .song-title .h1-kw,
body.hm .h1-kw {
    display: block;
    margin-top: 10px;
    font-family: var(--h-sans);
    font-size: .46em;
    font-weight: 400;
    letter-spacing: .16em;
    color: var(--h-gold);
}
body.hm .search-subtitle,
body.hm .legal-update,
body.hm .terms-update,
body.hm .error-subtitle {
    margin: 0 !important;
    font-size: .92rem !important;
    line-height: 1.9 !important;
    color: var(--h-muted) !important;
}
body.hm .legal-update, body.hm .terms-update { color: var(--h-dim) !important; font-size: .82rem !important; }
body.hm .search-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
body.hm .meta-item {
    background: rgba(255, 255, 255, .035) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: 999px;
    padding: 6px 15px;
    font-size: .78rem;
    color: var(--h-muted) !important;
}
body.hm .meta-item span { color: var(--h-muted) !important; }

/* 歌词页/解读页：封面 + 标题并排 */
body.hm .song-header { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
/* 解读页没有封面，flex 会把 kicker / 标题 / 歌手挤成一行 —— 改回块级，和其他内页页头一致 */
body.hm.hm-jieshuo .song-header { display: block !important; }
body.hm.hm-jieshuo .song-header { text-align: left !important; }
/* 卡片区的 .song-title 规则（1.12rem）会连带压小页头大标题，这里把页头单独提回来 */
body.hm .song-header .song-title {
    font-size: clamp(1.75rem, 3.6vw, 2.55rem) !important;
    line-height: 1.3 !important;
    margin: 0 0 10px !important;
}
body.hm .song-header .song-title .h1-kw { margin-top: 12px; }
body.hm .song-header-cover { flex: none; width: 168px; }
body.hm .song-header-cover .cover-lg,
body.hm .song-header-cover img {
    width: 168px !important; height: 168px !important;
    object-fit: cover;
    border-radius: 14px !important;
    border: 1px solid var(--h-line) !important;
    box-shadow: 0 20px 44px rgba(0, 0, 0, .46);
}
body.hm .song-header-main { flex: 1; min-width: 240px; }
body.hm .artist-info { font-size: .9rem; color: var(--h-dim) !important; margin-top: 8px; }
body.hm .artist-info a, body.hm .artist-link { color: var(--h-muted) !important; border-bottom: 1px solid transparent; }
body.hm .artist-info a:hover, body.hm .artist-link:hover { color: var(--h-gold) !important; border-bottom-color: rgba(216, 184, 120, .5); }

/* ---------- 7. 面包屑 ---------- */
body.hm .breadcrumb {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
}
body.hm .breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
body.hm .breadcrumb-item { font-size: .82rem; color: var(--h-dim) !important; display: inline-flex; align-items: center; gap: 8px; }
body.hm .breadcrumb-item + .breadcrumb-item::before { content: '/'; color: rgba(216, 184, 120, .45); }
body.hm .breadcrumb-link { color: var(--h-muted) !important; }
body.hm .breadcrumb-link:hover { color: var(--h-gold-hi) !important; }
body.hm .breadcrumb-current { color: var(--h-gold) !important; }
body.hm .breadcrumb-item a { color: var(--h-muted) !important; }
body.hm .breadcrumb-item a:hover { color: var(--h-gold-hi) !important; }

/* ---------- 8. 区块标题与内容卡片 ---------- */
body.hm .section-title {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    color: var(--h-text) !important;
    font-family: var(--h-serif) !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    letter-spacing: .01em !important;
    border-bottom: 1px solid var(--h-line) !important;
    padding: 0 0 16px !important;
    margin: 8px 0 24px !important;
    position: relative;
    background: transparent !important;
}
body.hm .section-title::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 54px; height: 2px;
    background: linear-gradient(90deg, var(--h-gold), transparent) !important;
    border-radius: 2px;
}
body.hm .section-card,
body.hm .legal-section,
body.hm .terms-section,
body.hm .lyric-section,
body.hm .download-section {
    background: var(--h-surface) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-r) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24) !important;
    padding: 28px 30px !important;
    margin: 0 0 24px !important;
}
body.hm .section-card:hover,
body.hm .legal-section:hover,
body.hm .terms-section:hover { border-color: rgba(216, 184, 120, .28); }
body.hm .legal-section h2, body.hm .terms-section h2 { margin-top: 0; }

/* 列表 / 网格：统一为编号卡片 */
body.hm .hot-list,
body.hm .songs-grid,
body.hm .similar-songs-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
body.hm .hot-list { counter-reset: hmItem; }
body.hm .hot-item {
    counter-increment: hmItem;
    position: relative;
    background: var(--h-surface) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-r) !important;
    box-shadow: none !important;
    padding: 24px 24px 22px 58px !important;
    margin: 0 !important;
    transition: transform .28s cubic-bezier(.2, .7, .3, 1), border-color .28s ease, box-shadow .28s ease;
}
body.hm .hot-item::before {
    content: counter(hmItem, decimal-leading-zero);
    position: absolute;
    top: 18px; left: 20px;
    font-family: var(--h-serif);
    font-size: 1.05rem;
    color: var(--h-gold);
    opacity: .72;
    letter-spacing: .04em;
}
body.hm .hot-item:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 184, 120, .42) !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .40) !important;
}
body.hm .song-card {
    position: relative;
    background: var(--h-surface) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-r) !important;
    box-shadow: none !important;
    padding: 24px !important;
    display: flex; flex-direction: column;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
body.hm .song-card:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 184, 120, .42) !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .40) !important;
}
body.hm .song-title-link,
body.hm .song-title,
body.hm .similar-song-title {
    font-family: var(--h-serif) !important;
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    color: var(--h-text) !important;
    margin: 0 !important;
    line-height: 1.45 !important;
}
body.hm .song-title-link:hover, body.hm .similar-song-title a:hover { color: var(--h-gold-hi) !important; }
body.hm .song-meta,
body.hm .similar-song-meta,
body.hm .meta-links,
body.hm .song-artist,
body.hm .similar-song-artist { font-size: .82rem !important; color: var(--h-dim) !important; margin: 8px 0 0 !important; }
body.hm .meta-links a, body.hm .song-meta a { color: var(--h-muted) !important; }
body.hm .meta-links a:hover, body.hm .song-meta a:hover { color: var(--h-gold) !important; }

/* 歌词预览块 */
body.hm .lyric-preview {
    margin: 16px 0 0 !important;
    padding: 16px 18px !important;
    background: var(--h-bg-soft) !important;
    border: 1px solid var(--h-line-soft) !important;
    border-left: 2px solid rgba(216, 184, 120, .45) !important;
    border-radius: 0 12px 12px 0 !important;
}
body.hm .preview-label {
    font-size: .64rem !important;
    letter-spacing: .2em !important;
    text-transform: uppercase;
    color: var(--h-gold) !important;
    margin: 0 0 9px !important;
    background: transparent !important;
    padding: 0 !important;
}
body.hm .preview-content,
body.hm .lyric-content {
    display: block;
    max-height: 190px;
    overflow: auto;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: var(--h-muted) !important;
    font-family: var(--h-serif) !important;
    font-size: .9rem !important;
    line-height: 2.05 !important;
    white-space: pre-wrap;
    word-break: break-word;
}
body.hm .preview-content { max-height: 120px; }
body.hm .preview-footer { margin-top: 12px; }
body.hm .preview-more,
body.hm .similar-song-link,
body.hm .song-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--h-line-soft);
    color: var(--h-gold) !important;
    font-size: .82rem !important;
    letter-spacing: .04em;
}
body.hm .preview-more { margin-top: 0; padding-top: 0; border-top: 0; }
body.hm .preview-more:hover,
body.hm .similar-song-link:hover,
body.hm .song-link:hover { color: var(--h-gold-hi) !important; }

/* 空状态 */
body.hm .empty-state,
body.hm .empty-lyric-state,
body.hm .hm-empty {
    grid-column: 1 / -1;
    padding: 46px 24px !important;
    text-align: center;
    color: var(--h-dim) !important;
    background: var(--h-bg-soft) !important;
    border: 1px dashed var(--h-line) !important;
    border-radius: var(--h-r) !important;
    font-size: .9rem !important;
    line-height: 1.9;
}
body.hm .empty-title, body.hm .empty-lyric-title { color: var(--h-text) !important; font-family: var(--h-serif); font-size: 1.12rem; margin: 0 0 10px; }
body.hm .empty-desc, body.hm .empty-lyric-desc { color: var(--h-dim) !important; }
body.hm .empty-lyric-icon { color: var(--h-gold); opacity: .6; margin-bottom: 12px; }
body.hm .empty-lyric-icon svg { width: 42px; height: 42px; }
body.hm .empty-lyric-actions { margin-top: 18px; }
body.hm .empty-lyric-btn {
    display: inline-block; padding: 9px 20px;
    border: 1px solid rgba(216, 184, 120, .4); border-radius: 999px;
    color: var(--h-gold) !important;
}
body.hm .empty-lyric-btn:hover { background: var(--h-gold-soft) !important; }

/* ---------- 9. 歌词正文（歌词页 / 解读页 / 下载页） ---------- */
body.hm .desktop-lyrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
body.hm .lyric-section-title {
    font-family: var(--h-serif) !important;
    font-size: 1.12rem !important;
    color: var(--h-text) !important;
    margin: 0 0 18px !important;
    /* 右侧留出复制按钮的宽度，避免长标题压到按钮下 */
    padding: 0 104px 14px 0 !important;
    border-bottom: 1px solid var(--h-line) !important;
}
/* 复制按钮：旧样式表在多处把它设成 top:0 / right:10px 的绝对定位，
   会让按钮跨在卡片外框顶边线上“出格”。这里统一钉在卡片右上角内侧，
   与标题同一行，且不依赖 float。 */
body.hm .lyric-section { position: relative !important; }
body.hm .lyric-section .copy-btn {
    position: absolute !important;
    top: 22px !important;
    right: 26px !important;
    bottom: auto !important;
    left: auto !important;
    float: none !important;
    margin: 0 !important;
    z-index: 3;
}
body.hm .lyric-content {
    max-height: none;
    color: var(--h-text) !important;
    font-size: .96rem !important;
    line-height: 2.15 !important;
}
body.hm .copy-btn,
body.hm .switch-btn,
body.hm .extra-control-btn,
body.hm .mini-player-btn {
    background: rgba(255, 255, 255, .045) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: 999px !important;
    color: var(--h-muted) !important;
    padding: 7px 16px !important;
    font-size: .8rem !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: all .22s ease;
}
body.hm .copy-btn { float: none; margin: 0; }
body.hm .copy-btn:hover,
body.hm .switch-btn:hover,
body.hm .extra-control-btn:hover,
body.hm .mini-player-btn:hover { color: var(--h-gold-hi) !important; border-color: rgba(216, 184, 120, .5) !important; background: var(--h-gold-soft) !important; }
body.hm .switch-btn.active { color: #191308 !important; background: linear-gradient(140deg, #e8cd96, #bb9257) !important; border-color: transparent !important; }
body.hm .lyric-type-switcher { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }

/* 按钮统一 */
body.hm .download-btn,
body.hm .error-btn.primary,
body.hm .primary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 11px 24px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: linear-gradient(140deg, #e8cd96, #bb9257) !important;
    color: #191308 !important;
    font-size: .88rem !important;
    font-weight: 600 !important;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(216, 184, 120, .20) !important;
    transition: transform .22s ease, box-shadow .22s ease;
}
body.hm .download-btn:hover,
body.hm .error-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(216, 184, 120, .34) !important; color: #191308 !important; }
body.hm .download-btn.secondary,
body.hm .error-btn.secondary,
body.hm .secondary {
    background: rgba(255, 255, 255, .04) !important;
    border: 1px solid var(--h-line) !important;
    color: var(--h-muted) !important;
    box-shadow: none !important;
}
body.hm .download-btn.secondary:hover,
body.hm .error-btn.secondary:hover { color: var(--h-gold-hi) !important; border-color: rgba(216, 184, 120, .5) !important; background: var(--h-gold-soft) !important; }
body.hm .download-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
body.hm .download-tip { color: var(--h-dim) !important; font-size: .84rem !important; margin: 0 0 12px !important; }
body.hm .detailed-download-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .82rem; color: var(--h-dim); }
body.hm .detailed-download-link,
body.hm .format-link,
body.hm .meta-link {
    color: var(--h-gold) !important;
    border-bottom: 1px solid rgba(216, 184, 120, .35);
    padding-bottom: 2px;
}
body.hm .detailed-download-link:hover,
body.hm .format-link:hover,
body.hm .meta-link:hover { color: var(--h-gold-hi) !important; border-bottom-color: var(--h-gold-hi); }

/* ---------- 10. 相似推荐 ---------- */
body.hm .similar-songs-section { margin-top: 34px; }
body.hm .similar-songs-title {
    font-family: var(--h-serif) !important;
    font-size: 1.35rem !important;
    color: var(--h-text) !important;
    margin: 0 0 22px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid var(--h-line) !important;
}
body.hm .similar-song-card {
    background: var(--h-surface) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-r) !important;
    padding: 24px !important;
    display: flex; flex-direction: column;
    transition: transform .28s ease, border-color .28s ease;
}
body.hm .similar-song-card:hover { transform: translateY(-5px); border-color: rgba(216, 184, 120, .42) !important; }
body.hm .similar-song-title a { color: inherit; }

/* ---------- 11. 分页（含内联 style 的搜索页 / 分类页） ---------- */
body.hm .pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: 32px 0 8px; }
body.hm .page-link,
body.hm .pagination a,
body.hm .pagination span {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    min-width: 40px;
    padding: 8px 14px !important;
    border: 1px solid var(--h-line) !important;
    border-radius: 999px !important;
    background: var(--h-surface) !important;
    color: var(--h-muted) !important;
    font-size: .88rem !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: all .2s ease;
}
body.hm .page-link:hover,
body.hm .pagination a:hover {
    color: var(--h-gold-hi) !important;
    border-color: rgba(216, 184, 120, .5) !important;
    background: var(--h-gold-soft) !important;
}
body.hm .page-link.current,
body.hm .pagination .current {
    color: #191308 !important;
    background: linear-gradient(140deg, #e8cd96, #bb9257) !important;
    border-color: transparent !important;
    font-weight: 700 !important;
}

/* ---------- 12. 法务页 / 条款页 ---------- */
body.hm .legal-text,
body.hm .terms-text,
body.hm .clause-item,
body.hm .step-content,
body.hm .contact-info { color: var(--h-muted) !important; font-size: .9rem !important; line-height: 2 !important; }
body.hm .legal-text a, body.hm .terms-text a { color: var(--h-gold) !important; }
body.hm .legal-title, body.hm .terms-title { font-size: clamp(1.7rem, 3.4vw, 2.35rem) !important; }
body.hm .clause-title,
body.hm .step-number { color: var(--h-gold) !important; font-family: var(--h-serif); font-weight: 700; }
body.hm .legal-list, body.hm .terms-list { padding-left: 22px; color: var(--h-muted); }
body.hm .legal-list li, body.hm .terms-list li { margin-bottom: 9px; line-height: 1.95; }
body.hm .clause-item,
body.hm .flow-step {
    background: var(--h-bg-soft) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: 14px !important;
    padding: 18px 22px !important;
    margin-bottom: 14px !important;
}
body.hm .step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--h-gold-soft) !important;
    border: 1px solid rgba(216, 184, 120, .3) !important;
    margin-right: 10px;
}
body.hm .important-note {
    background: var(--h-gold-soft) !important;
    border: 1px solid rgba(216, 184, 120, .28) !important;
    border-left: 3px solid var(--h-gold) !important;
    border-radius: 0 12px 12px 0 !important;
    color: var(--h-muted) !important;
    padding: 16px 20px !important;
}

/* ---------- 13. 404 页 ---------- */
body.hm .error-container { padding-top: 50px; }
body.hm .error-content { text-align: center; padding: 54px 38px 48px !important; }
body.hm .error-content::before { content: '404 \00B7 LOST IN THE MUSIC'; text-align: center; }
body.hm .error-illustration { color: var(--h-gold); opacity: .55; margin-bottom: 8px; }
body.hm .error-illustration svg { width: 56px; height: 56px; }
body.hm .error-title {
    font-family: var(--h-serif) !important;
    font-size: clamp(4rem, 12vw, 7rem) !important;
    line-height: 1 !important;
    color: var(--h-gold-hi) !important;
    margin: 0 0 14px !important;
    letter-spacing: .04em !important;
    text-shadow: 0 12px 40px rgba(216, 184, 120, .22);
}
body.hm .error-desc { margin: 18px 0 26px; color: var(--h-dim); font-size: .9rem; line-height: 1.95; }
body.hm .error-desc p { color: var(--h-dim) !important; margin: 4px 0; }
body.hm .error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
body.hm .error-search { max-width: 460px; margin: 0 auto; }
body.hm .error-search .search-wrapper {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(216, 184, 120, .28);
    border-radius: 999px;
    padding: 5px;
}
body.hm .error-search .search-input { border: 0 !important; background: transparent !important; }
body.hm .error-search .search-btn { border: 0 !important; background: transparent !important; }
body.hm .nf-recos { max-width: 1240px; margin: 0 auto 80px; padding: 0 24px; }
body.hm .nf-inner { padding: 0; }
body.hm .nf-head {
    font-family: var(--h-serif) !important;
    font-size: 1.5rem !important;
    color: var(--h-text) !important;
    text-align: center;
    margin: 0 0 10px !important;
}
body.hm .nf-sub { text-align: center; color: var(--h-dim) !important; font-size: .86rem; margin: 0 0 28px !important; }
body.hm .nf-primary {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
    background: var(--h-surface) !important;
    border: 1px solid rgba(216, 184, 120, .3) !important;
    border-radius: var(--h-r) !important;
    padding: 22px 26px !important;
    margin: 0 0 24px !important;
}
body.hm .nf-primary-label { font-size: .7rem; letter-spacing: .2em; color: var(--h-gold); text-transform: uppercase; }
body.hm .nf-primary-title { font-family: var(--h-serif); font-size: 1.2rem; }
body.hm .nf-primary-title a, body.hm .nf-primary-artist a { color: var(--h-text) !important; }
body.hm .nf-primary-title a:hover, body.hm .nf-primary-artist a:hover { color: var(--h-gold-hi) !important; }
body.hm .nf-primary-artist { color: var(--h-dim) !important; font-size: .84rem; }
body.hm .nf-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--h-gold-soft) !important;
    border: 1px solid rgba(216, 184, 120, .28) !important;
    border-radius: 999px;
    color: var(--h-gold) !important;
    font-size: .78rem;
}
body.hm .nf-tag:hover { color: var(--h-gold-hi) !important; border-color: var(--h-gold) !important; }

/* ---------- 14. 关键词内链（全站共用 seo_keyword_links） ---------- */
body.hm .seo-kwlinks {
    max-width: 1240px !important;
    margin: 0 auto 60px !important;
    padding: 26px 30px !important;
    background: var(--h-bg-soft) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-r) !important;
    box-shadow: none !important;
}
body.hm .seo-kwlinks-title {
    color: var(--h-text) !important;
    font-family: var(--h-serif) !important;
    font-size: 1.05rem !important;
    letter-spacing: .04em !important;
}
body.hm .seo-kwlinks-title::before { background: var(--h-gold) !important; }
body.hm .seo-kwlink {
    color: var(--h-muted) !important;
    background: rgba(255, 255, 255, .03) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    font-size: .8rem !important;
}
body.hm .seo-kwlink:hover {
    color: var(--h-gold-hi) !important;
    background: var(--h-gold-soft) !important;
    border-color: rgba(216, 184, 120, .45) !important;
}

/* ---------- 15. 播放器与固定按钮 ---------- */
body.hm .audio-player,
body.hm .mini-player {
    background: rgba(16, 19, 26, .96) !important;
    border: 1px solid var(--h-line) !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .6) !important;
    color: var(--h-text) !important;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-radius: var(--h-r) !important;
}
body.hm .player-header, body.hm .player-info,
body.hm .mini-player-title, body.hm .mini-player-artist,
body.hm .time-display, body.hm .lyrics-display { color: var(--h-muted) !important; }
body.hm .player-actions, body.hm .player-controls, body.hm .player-extra-controls { color: var(--h-muted) !important; }
body.hm .progress-bar { background: rgba(255, 255, 255, .12) !important; border-radius: 999px; }
body.hm .progress { background: linear-gradient(90deg, #e8cd96, #bb9257) !important; }
body.hm .control-btn, body.hm .player-action-btn {
    background: var(--h-gold-soft) !important;
    border: 1px solid rgba(216, 184, 120, .3) !important;
    color: var(--h-gold) !important;
    border-radius: 50% !important;
}
body.hm .lyric-line { color: var(--h-muted) !important; }
body.hm .fixed-buttons { display: flex; flex-direction: column; gap: 10px; }
body.hm .play-music-btn,
body.hm .back-to-top {
    background: rgba(21, 25, 34, .94) !important;
    border: 1px solid rgba(216, 184, 120, .32) !important;
    color: var(--h-gold) !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .42) !important;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
}
body.hm .play-music-btn:hover, body.hm .back-to-top:hover {
    background: var(--h-gold-soft) !important; color: var(--h-gold-hi) !important;
}

/* ---------- 16. 细节：details / 标签 / 提示 ---------- */
body.hm details {
    border: 1px solid var(--h-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .02);
    padding: 14px 18px;
    margin-bottom: 10px;
}
body.hm summary { cursor: pointer; color: var(--h-text) !important; font-weight: 600; list-style: none; }
body.hm summary::-webkit-details-marker { display: none; }
body.hm summary::before { content: '+'; color: var(--h-gold); margin-right: 10px; }
body.hm details[open] summary::before { content: '\2212'; }
body.hm .nf-tag, body.hm .hm-tag, body.hm .badge { transition: all .22s ease; }

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1024px) {
    body.hm .hot-list, body.hm .songs-grid, body.hm .similar-songs-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; }
    body.hm .nav-search { max-width: 300px; }
}
@media (max-width: 768px) {
    body.hm .container { padding: 0 18px !important; }
    body.hm .container.main-content { padding: 24px 18px 60px !important; }
    body.hm .lyric-container, body.hm .download-page-container,
    body.hm .error-container, body.hm .nf-inner,
    body.hm .legal-content, body.hm .terms-content { padding: 24px 18px 56px; }
    body.hm .seo-kwlinks { margin: 0 18px 44px !important; padding: 20px !important; }
    body.hm .nf-recos { padding: 0 18px; margin-bottom: 56px; }
    body.hm .nav-content { flex-wrap: wrap; gap: 12px; }
    body.hm .nav-search { order: 3; max-width: none; width: 100%; flex: 1 1 100%; }
    body.hm .menu-toggle { display: inline-flex; margin-left: auto; }
    body.hm .nav-menu { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 2px; }
    body.hm .nav-menu.show {
        display: flex !important;
        background: #13171f !important;
        border: 1px solid var(--h-line) !important;
        border-radius: 14px;
        box-shadow: 0 20px 46px rgba(0, 0, 0, .5) !important;
        padding: 8px;
    }
    body.hm .nav-menu-item { border-radius: 8px; }
    body.hm .search-header, body.hm .song-header,
    body.hm .legal-header, body.hm .terms-header,
    body.hm .error-content { padding: 26px 22px 24px !important; }
    body.hm .song-header-cover, body.hm .song-header-cover .cover-lg,
    body.hm .song-header-cover img { width: 108px !important; height: 108px !important; }
    body.hm .hot-list, body.hm .songs-grid, body.hm .similar-songs-grid { grid-template-columns: 1fr !important; }
    body.hm .hot-item { padding: 20px 20px 20px 52px !important; }
    body.hm .section-card, body.hm .legal-section, body.hm .terms-section,
    body.hm .lyric-section, body.hm .download-section { padding: 22px 20px !important; }
    body.hm .desktop-lyrics-grid { grid-template-columns: 1fr; }
    body.hm .footer-bottom { flex-direction: column; }
}
@media (max-width: 400px) {
    body.hm .search-meta { gap: 6px; }
    body.hm .meta-item { font-size: .72rem; padding: 5px 11px; }
    body.hm .download-btn { padding: 10px 18px !important; }
}
/* ---------- 21. 页头 kicker 纠偏 ----------
   旧样式表把 .song-header::before 当成渐变遮罩层、.search-header::before 当成左侧 4px
   竖条；统一皮肤把这几个伪元素改用作金色 kicker 文字后，文字会被塞进装饰盒里
   （表现为紫底小方块 / 竖条内挤字）。这里把它们的定位与装饰彻底复位，
   让 kicker 成为页头里正常的一行文字，并且独占一行。 */
body.hm .song-header::before,
body.hm .search-header::before {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    flex: 1 0 100%;
    order: -1;
    margin: 0 0 16px !important;
    transform: none !important;
    animation: none !important;
    pointer-events: none;
}
body.hm .song-header::before { animation: none !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
    body.hm * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 18. 细节修补：导航搜索框 / 卡片歌词预览 / 解读页按钮 ---------- */
/* 旧 connCss 把 .search-btn 绝对定位在输入框右侧 10px，深色皮肤下会与输入框
   边框叠成「方框 + 圆钮」两层；统一皮肤里输入框与按钮是同一颗胶囊的两半，
   按钮回到文档流，右侧圆角与输入框左侧圆角拼合。 */
body.hm .nav-search .search-btn {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 0 0 auto;
    min-width: 50px;
    border-radius: 0 999px 999px 0 !important;
}
body.hm .nav-search .search-input {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    padding-right: 16px !important;
}

/* 相关歌曲卡片的歌词预览：不再露出半截滚动条，改用底部渐隐表示「还有更多」 */
body.hm .preview-content {
    max-height: 6.9em !important;
    overflow: hidden !important;
    padding-right: 2px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 66%, transparent 100%);
}
body.hm .preview-content::-webkit-scrollbar { display: none; }

/* 解读页「查看歌词」：旧样式是白字压香槟金，等于看不见 —— 改成深墨字压金 */
body.hm .lyric-jump-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 30px !important;
    border-radius: 999px !important;
    background: linear-gradient(140deg, #e8cd96, #bb9257) !important;
    color: #191308 !important;
    font-family: var(--h-sans);
    font-size: .87rem !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    box-shadow: 0 10px 26px rgba(216, 184, 120, .20) !important;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
body.hm .lyric-jump-btn:hover {
    color: #120e06 !important;
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 14px 32px rgba(216, 184, 120, .30) !important;
}
body.hm .article-image-placeholder { margin: 0 0 26px !important; }

/* ---------- 19. 下载页（/download/lyric/…） ---------- */
body.hm .download-page-container { max-width: 1120px !important; }

body.hm .download-header {
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0 0 20px !important;
    padding: 36px 34px 32px !important;
    background:
        radial-gradient(560px 260px at 50% -10%, rgba(216, 184, 120, .13), transparent 70%),
        var(--h-bg-soft) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-r) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .28) !important;
    color: var(--h-text) !important;
}
body.hm .download-header::before {
    content: 'LRC DOWNLOAD \00B7 歌词文件下载';
    display: block;
    font-size: .68rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--h-gold);
    margin-bottom: 14px;
}
body.hm .download-header::after {
    content: '';
    position: absolute;
    top: -90px;
    right: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle at 50% 50%,
            rgba(255, 255, 255, .04) 0px, rgba(255, 255, 255, .04) 1px,
            transparent 1px, transparent 6px),
        radial-gradient(circle at 40% 35%, rgba(216, 184, 120, .14), transparent 62%);
    opacity: .65;
    pointer-events: none;
}
body.hm .download-header > * { position: relative; z-index: 2; }
body.hm .download-title {
    margin: 0 0 14px !important;
    font-family: var(--h-serif) !important;
    font-size: clamp(1.6rem, 3.4vw, 2.3rem) !important;
    font-weight: 700 !important;
    line-height: 1.32 !important;
    color: var(--h-text) !important;
    letter-spacing: .01em;
}
body.hm .download-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
    margin: 0 !important;
    padding: 7px 18px !important;
    background: rgba(255, 255, 255, .03) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: 999px !important;
    color: var(--h-muted) !important;
    font-size: .88rem !important;
    opacity: 1 !important;
}
body.hm .download-subtitle .header-link {
    color: var(--h-gold) !important;
    border-bottom: 1px solid rgba(216, 184, 120, .3) !important;
    padding-bottom: 1px;
}
body.hm .download-subtitle .header-link:hover {
    color: var(--h-gold-hi) !important;
    border-bottom-color: var(--h-gold-hi) !important;
}

/* 内容区：左侧歌词预览 + 右侧「下载 + 说明」两条卡片，不再有整块白底 */
body.hm .download-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .95fr) !important;
    align-items: start !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
body.hm .download-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

body.hm .download-preview {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0 !important;
    padding: 24px 24px 20px !important;
    background: var(--h-surface) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-r) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24) !important;
}
body.hm .download-preview .preview-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px !important;
    font-family: var(--h-serif) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--h-text) !important;
}
body.hm .download-preview .preview-title::before {
    content: '';
    width: 3px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--h-gold-hi), var(--h-gold));
    flex: none;
}
body.hm .download-preview .lyric-preview {
    flex: 0 1 auto;
    margin: 0 !important;
    padding: 18px 20px !important;
    max-height: clamp(320px, 58vh, 620px);
    min-height: 180px;
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--h-bg-soft) !important;
    border: 1px solid var(--h-line-soft) !important;
    border-left: 1px solid var(--h-line-soft) !important;
    border-radius: 12px !important;
    color: var(--h-muted) !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace !important;
    font-size: .83rem !important;
    line-height: 1.95 !important;
    letter-spacing: .01em;
    white-space: pre-wrap;
    word-break: break-word;
    tab-size: 2;
}
body.hm .download-preview .lyric-preview::-webkit-scrollbar { width: 8px; }
body.hm .download-preview .lyric-preview::-webkit-scrollbar-thumb {
    background: #2b3040;
    border-radius: 20px;
    border: 2px solid var(--h-bg-soft);
}

body.hm .download-actions {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    margin: 0 !important;
    padding: 22px !important;
    text-align: center;
    background:
        radial-gradient(320px 140px at 50% 0%, rgba(216, 184, 120, .10), transparent 72%),
        var(--h-surface) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-r) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24) !important;
}
body.hm .download-actions::before {
    content: 'DOWNLOAD';
    display: block;
    font-size: .64rem;
    letter-spacing: .28em;
    color: var(--h-gold);
    opacity: .85;
}
body.hm .main-download-btn {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px !important;
    border-radius: 999px !important;
    background: linear-gradient(140deg, #e8cd96, #bb9257) !important;
    color: #191308 !important;
    font-size: .94rem !important;
    font-weight: 700 !important;
    letter-spacing: .02em;
    text-align: center;
    box-shadow: 0 12px 28px rgba(216, 184, 120, .22) !important;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
body.hm .main-download-btn:hover {
    color: #120e06 !important;
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 36px rgba(216, 184, 120, .32) !important;
}

body.hm .download-info {
    margin: 0 !important;
    padding: 22px !important;
    background: var(--h-surface) !important;
    border: 1px solid var(--h-line) !important;
    border-left: 1px solid var(--h-line) !important;
    border-radius: var(--h-r) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24) !important;
}
body.hm .download-info .info-title {
    margin: 0 0 10px !important;
    font-family: var(--h-serif) !important;
    font-size: 1.02rem !important;
    color: var(--h-text) !important;
}
body.hm .download-info p {
    margin: 0 0 6px !important;
    color: var(--h-muted) !important;
    font-size: .83rem !important;
    line-height: 1.85 !important;
}
body.hm .download-info .other-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0 !important;
    padding-top: 14px;
    border-top: 1px dashed var(--h-line);
}
body.hm .download-info .other-formats > span {
    width: 100%;
    margin-bottom: 2px;
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--h-dim);
}
body.hm .download-info .format-link {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px !important;
    background: rgba(255, 255, 255, .04) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: 999px !important;
    color: var(--h-muted) !important;
    font-size: .79rem !important;
    transition: all .2s ease;
}
body.hm .download-info .format-link:hover {
    color: var(--h-gold-hi) !important;
    background: var(--h-gold-soft) !important;
    border-color: rgba(216, 184, 120, .45) !important;
}

@media (max-width: 900px) {
    body.hm .download-content { grid-template-columns: 1fr !important; }
    body.hm .download-preview .lyric-preview { max-height: 360px; }
}
@media (max-width: 768px) {
    body.hm .download-header { padding: 26px 20px 24px !important; }
    body.hm .download-subtitle { padding: 6px 14px !important; font-size: .82rem !important; }
    body.hm .download-actions, body.hm .download-info, body.hm .download-preview { padding: 18px !important; }
}

/* ---------- 20. 法务页细节（版权流程 / 联系方式 / 数据表） ---------- */
/* 内页大容器不再自己套一层卡片，避免「卡片里再套卡片」 */
body.hm .container.main-content .legal-content,
body.hm .container.main-content .terms-content {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: none !important;
}

body.hm .copyright-flow {
    display: grid !important;
    gap: 12px;
    margin: 22px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}
body.hm .flow-step {
    display: flex !important;
    align-items: flex-start;
    gap: 16px;
    margin: 0 !important;
    padding: 18px 20px !important;
    background: var(--h-bg-soft) !important;
    border: 1px solid var(--h-line) !important;
    border-bottom: 1px solid var(--h-line) !important;
    border-radius: 14px !important;
}
body.hm .flow-step .step-number {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: var(--h-gold-soft) !important;
    border: 1px solid rgba(216, 184, 120, .35) !important;
    color: var(--h-gold) !important;
    font-family: var(--h-serif);
    font-size: .85rem;
    font-weight: 700;
}
body.hm .flow-step .step-content {
    flex: 1;
    min-width: 0;
    color: var(--h-muted) !important;
    font-size: .89rem !important;
    line-height: 1.95 !important;
}
body.hm .flow-step .step-content > strong {
    display: block;
    margin-bottom: 4px;
    color: var(--h-text) !important;
    font-size: .95rem;
    letter-spacing: .01em;
}
body.hm .flow-step .step-content p {
    margin: 0 0 6px !important;
    color: var(--h-muted) !important;
    font-size: .87rem !important;
}
/* 邮箱那行是内联 style 的旧主题色，压成香槟金 */
body.hm .flow-step .step-content p[style] {
    margin: 8px 0 0 !important;
    color: var(--h-gold) !important;
    font-weight: 600 !important;
    letter-spacing: .02em;
    word-break: break-all;
}
body.hm .flow-step .step-content .legal-list { margin: 6px 0 0 !important; padding-left: 1.15em; }
body.hm .flow-step .step-content .legal-list li { margin-bottom: 4px; }

/* 版权联系 / 协议接受：底块从浅绿渐变改深色，标题不再隐身 */
body.hm .contact-info,
body.hm .agreement-box {
    margin: 22px 0 0 !important;
    padding: 28px 24px !important;
    text-align: center;
    background:
        radial-gradient(420px 190px at 50% 0%, rgba(216, 184, 120, .10), transparent 72%),
        var(--h-bg-soft) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-r) !important;
}
body.hm .contact-info h3,
body.hm .agreement-box h3 {
    margin: 0 0 12px !important;
    font-family: var(--h-serif) !important;
    font-size: 1.12rem !important;
    letter-spacing: .06em;
    color: var(--h-text) !important;
}
body.hm .contact-info p,
body.hm .agreement-box p {
    margin: 0 0 8px !important;
    color: var(--h-muted) !important;
    font-size: .87rem !important;
    line-height: 1.9 !important;
}
body.hm .contact-info strong,
body.hm .agreement-box strong { color: var(--h-gold) !important; font-weight: 600; }

/* 隐私页的数据表：旧表头是浅灰底，深色下会闪白 */
body.hm .data-table {
    background: transparent !important;
    border: 1px solid var(--h-line) !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: none !important;
}
body.hm .data-table th {
    background: var(--h-surface-2) !important;
    color: var(--h-text) !important;
    border-bottom: 1px solid var(--h-line) !important;
    font-weight: 600;
}
body.hm .data-table td {
    color: var(--h-muted) !important;
    border-bottom: 1px solid var(--h-line) !important;
}
body.hm .data-table tr:last-child td { border-bottom: 0 !important; }
body.hm .data-table tr:hover { background: rgba(255, 255, 255, .03) !important; }
