/*
 * MusicHub Theme - 涓绘牱寮忚〃
 * Version: 2.1.0
 */

/* ============================================================
   0. CSS 锟斤拷锟斤拷 & 锟斤拷锟斤拷锟斤拷锟斤拷
   ============================================================ */
:root {
    /* 锟斤拷色锟斤拷 */
    --mh-primary: #3b4fa0;
    --mh-primary-hover: #2d3d80;
    --mh-accent: #d4a017;
    --mh-accent-hover: #b8860b;

    /* 浅色模式 */
    --mh-bg: #f5f6fa;
    --mh-surface: #ffffff;
    --mh-surface-hover: #f8f9fc;
    --mh-text: #1a1a2e;
    --mh-text-secondary: #555770;
    --mh-text-muted: #8888a0;
    --mh-border: #e2e4ea;
    --mh-border-light: #eef0f5;
    --mh-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --mh-shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --mh-glass-highlight: inset 0 1px 0 rgba(255,255,255,0.7);

    /* 锟斤拷锟斤拷锟斤拷 */
    --mh-search-bg: #ffffff;
    --mh-search-border: #d0d4e0;
    --mh-search-focus: var(--mh-primary);

    /* 锟斤拷锟斤拷 */
    --mh-sidebar-bg: #ffffff;
    --mh-sidebar-width: 260px;

    /* 甯冨眬 */
    --mh-site-width: 1200px;
    --mh-site-padding: 20px;
    --mh-grid-cols: 4;
    --mh-grid-gap: 20px;

    /* 锟斤拷片 */
    --mh-card-bg: #ffffff;
    --mh-card-hover: #f8f9fc;

    /* 锟斤拷锟斤拷 */
    --mh-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --mh-font-mono: "SF Mono", "Fira Code", "Consolas", monospace;

    /* 圆锟斤拷 */
    --mh-radius: 8px;
    --mh-radius-sm: 4px;
    --mh-radius-lg: 12px;

    /* 锟斤拷锟斤拷 */
    --mh-transition: 0.2s ease;

    /* 锟斤拷锟斤拷锟斤拷色 */
    --mh-nav-text: #ffffff;
    --mh-nav-bg: #2a3670;
    --mh-navbar-bg: #2a3670;
    --mh-navbar-hover: rgba(255,255,255,0.5);
}

/* ============================================================
   锟斤拷色模式
   ============================================================ */
[data-theme='dark'] {
    /* 澶滈棿鎶ょ溂閰嶈壊锛氫腑鎬у亸鏆栫殑娣辩伆搴?+ 鏌斿拰绫崇櫧鏂囧瓧锛岄檷浣庤摑鍏夌殑鍒虹溂鎰?*/
    --mh-bg: #14161d;
    --mh-surface: #1e212b;
    --mh-surface-hover: #272b38;
    --mh-text: #d6d9e6;
    --mh-text-secondary: #9aa0b4;
    --mh-text-muted: #707587;
    --mh-border: #2c303c;
    --mh-border-light: #242833;
    --mh-shadow: 0 1px 3px rgba(0,0,0,0.28);
    --mh-shadow-hover: 0 4px 16px rgba(0,0,0,0.38);
    --mh-glass-highlight: inset 0 1px 0 rgba(255,255,255,0.03);

    --mh-search-bg: #1e212b;
    --mh-search-border: #2c303c;
    --mh-search-focus: #7c8cd6;

    --mh-sidebar-bg: #1e212b;
    --mh-card-bg: #1e212b;
    --mh-card-hover: #272b38;

    /* 澶滈棿灏嗛珮浜摑璋冩煍鍜屽寲锛岄伩鍏嶈繃浜殑绾摑鍒虹溂 */
    --mh-primary: #6f83d6;
    --mh-primary-hover: #8798e0;
    --mh-accent: #d8b15a;
    --mh-accent-hover: #e6c074;

    --mh-nav-text: #d6d9e6;
    --mh-nav-bg: #181b24;
    --mh-navbar-bg: #181b24;
    --mh-navbar-hover: rgba(255,255,255,0.3);
}

/* ============================================================
   1. 全锟斤拷锟斤拷锟斤拷
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--mh-font);
    background: var(--mh-bg);
    color: var(--mh-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: clip;
    transition: background-color 0.3s, color 0.3s;
}

/* 绉婚櫎鏈€椤堕儴鐨?WordPress 绠＄悊鏉★紙鐏拌壊妯″潡锛夛紝浣跨珯鐐瑰ご閮ㄧ揣璐撮〉闈㈤《閮?*/
html { margin-top: 0 !important; }
#wpadminbar { display: none !important; }

a {
    color: var(--mh-primary);
    text-decoration: none;
    transition: color var(--mh-transition);
}
a:hover {
    color: var(--mh-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: var(--mh-font);
}

input, select, textarea {
    font-family: var(--mh-font);
    font-size: 0.95rem;
}

#site-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    box-sizing: border-box;
}

/* ============================================================
   2. 头锟斤拷
   ============================================================ */
#site-header {
    background: var(--mh-surface);
    border-bottom: 1px solid var(--mh-border);
    position: relative;
    max-width: var(--mh-site-width);
    margin: 0 auto;
    width: 100%;
    z-index: 99;
    box-shadow: var(--mh-glass-highlight), var(--mh-shadow);
    transition: background-color 0.3s, border-color 0.3s;
}

.header-inner {
    max-width: var(--mh-site-width);
    margin: 0 auto;
    padding: 0 var(--mh-site-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--mh-text);
}
.site-logo-text:hover {
    color: var(--mh-primary);
}

.logo-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding-left: 20px;
}

.site-logo-img {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-logo-img img {
    height: 40px;
    width: auto;
    max-width: 220px;
    display: block;
}

.site-brand-text {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    min-width: 0;
}

.site-name {
    font-size: var(--mh-name-size);
    font-family: var(--mh-name-font);
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--mh-name-color);
}

.site-desc {
    font-size: var(--mh-desc-size);
    font-family: var(--mh-desc-font);
    color: var(--mh-desc-color);
    padding-left: 10px;
    border-left: 1px solid var(--mh-border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 鐧诲綍/娉ㄥ唽锛堝惈宸茬櫥褰曟€佷細鍛樹腑蹇冿級涓讳綋妯″潡锛氳窛缃戠珯鍙充晶杈圭紭 20px */
.header-user {
    margin-right: 20px;
}

/* 头锟斤拷锟斤拷钮 */
.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius-sm);
    background: var(--mh-surface);
    color: var(--mh-text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color var(--mh-transition), color var(--mh-transition), background var(--mh-transition);
    white-space: nowrap;
}
.header-btn:hover {
    border-color: var(--mh-primary);
    color: var(--mh-primary);
}

/* 锟斤拷录/注锟结按钮 */
.login-btn, .register-btn {
    text-decoration: none;
}

/* 鎵嬫満绔瓫閫夋娊灞夛細瑙﹀彂鎸夐挳 / 鍏抽棴鎸夐挳 / 閬僵锛堥粯璁ら殣钘忥紝浠呮墜鏈虹鍑虹幇锛?*/
.header-right .mobile-filter-btn {
    display: none !important;
    background: var(--mh-primary);
    color: #fff;
    border-color: var(--mh-primary);
}
.mobile-filter-btn:hover {
    background: var(--mh-primary-hover);
    color: #fff;
    border-color: var(--mh-primary-hover);
}
.filter-close-btn {
    display: none;
    background: none;
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius-sm);
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1rem;
    color: var(--mh-text-secondary);
    cursor: pointer;
    transition: border-color var(--mh-transition), color var(--mh-transition);
}
.filter-close-btn:hover {
    border-color: var(--mh-primary);
    color: var(--mh-primary);
}
.filter-overlay {
    display: none;
}
.login-btn {
    background: var(--mh-primary);
    color: #fff;
    border-color: var(--mh-primary);
}
.login-btn:hover {
    background: var(--mh-primary-hover);
    color: #fff;
}
.register-btn {
    background: var(--mh-accent);
    color: #fff;
    border-color: var(--mh-accent);
}
.register-btn:hover {
    background: var(--mh-accent-hover);
    color: #fff;
}

/* 锟矫伙拷锟斤拷锟斤拷锟剿碉拷 */
.user-dropdown {
    position: relative;
}
.user-btn {
    gap: 8px;
    padding: 5px 12px;
}
.user-avatar-small img {
    border-radius: 50%;
    vertical-align: middle;
}
.user-name {
    font-weight: 600;
}

.member-badge {
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 3px;
    font-weight: 600;
    line-height: 1.4;
}
.member-badge.free {
    background: var(--mh-border);
    color: var(--mh-text-muted);
}
.member-badge.annual {
    background: #e8f0fe;
    color: var(--mh-primary);
}
[data-theme='dark'] .member-badge.annual {
    background: rgba(59,79,160,0.3);
}
.member-badge.expiring {
    background: #fff3cd;
    color: #856404;
}
.member-badge.expired {
    background: #fce4e4;
    color: #c62828;
}
.member-badge.permanent {
    background: linear-gradient(135deg, #fdf6e3, #f9e4b7);
    color: #8b6914;
}
[data-theme='dark'] .member-badge.permanent {
    background: rgba(212,160,23,0.25);
    color: #f0d060;
}

/* 锟斤拷锟斤拷锟剿碉拷 */
.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    box-shadow: var(--mh-shadow-hover);
    z-index: 200;
    overflow: hidden;
}
.user-dropdown-menu.open {
    display: block;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--mh-border);
    background: var(--mh-surface-hover);
}
.dropdown-header img {
    border-radius: 50%;
}
.dropdown-header strong {
    display: block;
    font-size: 0.95rem;
    color: var(--mh-text);
}
.dropdown-header small {
    font-size: 0.8rem;
    color: var(--mh-text-muted);
}

.dropdown-body {
    padding: 6px 0;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--mh-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background var(--mh-transition), color var(--mh-transition);
}
.dropdown-item:hover {
    background: var(--mh-surface-hover);
    color: var(--mh-primary);
}
.dropdown-item span {
    font-size: 1.1rem;
}

/* 锟斤拷锟斤拷锟叫伙拷锟斤拷钮锟叫碉拷图锟斤拷 */
[data-theme='dark'] .theme-icon-light { display: none; }
[data-theme='light'] .theme-icon-dark { display: none; }
[data-theme='dark'] .theme-icon-dark { display: inline; }
[data-theme='light'] .theme-icon-light { display: inline; }

/* ============================================================
   3. 锟斤拷锟斤拷锟斤拷通锟斤拷
   ============================================================ */
#search-bar {
    background: transparent;
    border-bottom: 1px solid var(--mh-border-light);
    padding: 30px 0 0;
    position: relative;
    transition: background-color 0.3s;
}

.search-inner {
    max-width: 550px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid var(--mh-search-border);
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    transition: border-color var(--mh-transition), box-shadow var(--mh-transition);
    background: var(--mh-search-bg);
}
.search-input-wrap:focus-within {
    border-color: var(--mh-search-focus);
    box-shadow: 0 0 0 3px rgba(59,79,160,0.12);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 18px;
    font-size: 1rem;
    color: var(--mh-text);
    outline: none;
}
.search-input::placeholder {
    color: var(--mh-text-muted);
}

.search-submit {
    padding: 12px 24px;
    border: none;
    background: var(--mh-primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--mh-transition);
    white-space: nowrap;
}
.search-submit:hover {
    background: var(--mh-primary-hover);
}

/* 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 */
.search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 760px;
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    box-shadow: var(--mh-shadow-hover);
    z-index: 50;
}
.search-suggestions.open {
    display: block;
}
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--mh-border-light);
    cursor: pointer;
    transition: background var(--mh-transition);
}
.suggestion-item:last-child {
    border-bottom: none;
}
.suggestion-item:hover {
    background: var(--mh-surface-hover);
}
.suggestion-thumb {
    width: 40px;
    height: 40px;
    border-radius: var(--mh-radius-sm);
    object-fit: cover;
}
.suggestion-title {
    font-size: 0.9rem;
    color: var(--mh-text);
}

/* ============================================================
   4. 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷Flex 锟斤拷锟街ｏ拷
   ============================================================ */
.main-container {
    width: 100%;
    max-width: var(--mh-site-width);
    margin: 24px auto 20px;
    display: flex;
    gap: 24px;
    flex: 1;
}

/* 锟斤拷锟斤拷锟斤拷锟斤拷默锟较ｏ拷 */
.main-container[data-sidebar-position='left'] {
    flex-direction: row;
}
/* 锟斤拷锟斤拷锟斤拷锟斤拷 */
.main-container[data-sidebar-position='right'] {
    flex-direction: row-reverse;
}

/* ============================================================
   5. 筛选锟斤拷锟斤拷锟?   ============================================================ */
.filter-sidebar {
    width: var(--mh-sidebar-width);
    flex-shrink: 0;
}

.sidebar-inner {
    background: var(--mh-sidebar-bg);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    box-shadow: var(--mh-glass-highlight), var(--mh-shadow), 0 4px 16px rgba(0,0,0,0.10), 0 8px 28px rgba(0,0,0,0.06);
    overflow: hidden;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s, border-color 0.3s;
}

.sidebar-swap-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 4px;
    border-bottom: 1px solid var(--mh-border);
    background: var(--mh-surface-hover);
}
.sidebar-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mh-text);
}
.sidebar-swap-btn-inner {
    background: none;
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius-sm);
    padding: 4px 10px;
    font-size: 1rem;
    color: var(--mh-text-secondary);
    cursor: pointer;
    transition: border-color var(--mh-transition), color var(--mh-transition);
}
.sidebar-swap-btn-inner:hover {
    border-color: var(--mh-primary);
    color: var(--mh-primary);
}

/* 锟斤拷前筛选锟斤拷签 */
.active-filters {
    padding: 2px 14px 4px;
    border-bottom: 1px solid var(--mh-border-light);
}
.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--mh-primary);
    color: #fff;
    font-size: 0.82rem;
    padding: 3px 9px;
    border-radius: 20px;
    cursor: default;
}
.chip-remove {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    opacity: 0.8;
}
.chip-remove:hover {
    opacity: 1;
}
.clear-filters-btn {
    background: none;
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius-sm);
    padding: 4px 10px;
    font-size: 0.85rem;
    color: var(--mh-text-muted);
    cursor: pointer;
    text-decoration: none;
    transition: border-color var(--mh-transition), color var(--mh-transition);
}
.clear-filters-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

/* 筛选模锟介（锟缴癸拷锟斤拷锟斤拷 */
.filter-modules-wrap {
    flex: 1;
    overflow-y: auto;
    padding: 0 4px 8px;
}

/* 锟斤拷锟斤拷筛选模锟斤拷 */
.filter-module {
    padding: 8px 14px;
    border-bottom: 1px solid var(--mh-border-light);
}
.filter-module:last-child {
    border-bottom: none;
}

.filter-label-row {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mh-text-secondary);
    margin-bottom: 6px;
}

.filter-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius-sm);
    background: var(--mh-surface);
    color: var(--mh-text);
    font-size: 14px;
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
    transition: border-color var(--mh-transition), box-shadow var(--mh-transition);
}
.filter-select:focus {
    outline: none;
    border-color: var(--mh-primary);
    box-shadow: 0 0 0 3px rgba(59,79,160,0.12);
}
.filter-select option {
    padding: 8px;
    font-size: 14px;
}

/* 渚ф爮灏忓伐鍏?*/
.sidebar-widgets {
    padding: 12px 14px;
    border-top: 1px solid var(--mh-border-light);
}
.sidebar-widgets .widget {
    margin-bottom: 16px;
}
.sidebar-widgets .widget:last-child {
    margin-bottom: 0;
}
.sidebar-widgets .widget-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mh-text);
    margin: 0 0 8px;
}

/* ============================================================
   鍐呰仈鎼滅储锛堥潪鏂囩珷椤碉紝渚ф爮鏃侊級
   ============================================================ */
/* 闈炴枃绔犻〉锛欸rid 甯冨眬 鈥?渚ф爮 + 鎼滅储鍚岃 */
body:not(.mh-article-page) .main-container {
    display: grid;
    grid-template-columns: var(--mh-sidebar-width) 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 24px;
}
body:not(.mh-article-page) .main-container[data-sidebar-position='right'] {
    grid-template-columns: 1fr var(--mh-sidebar-width);
}
body:not(.mh-article-page) .filter-sidebar {
    grid-row: 1 / 3;
}
body:not(.mh-article-page) .main-container[data-sidebar-position='left'] .filter-sidebar {
    grid-column: 1;
}
body:not(.mh-article-page) .main-container[data-sidebar-position='right'] .filter-sidebar {
    grid-column: 2;
}
body:not(.mh-article-page) .content-area {
    grid-column: 2;
    grid-row: 2;
}
body:not(.mh-article-page) .main-container[data-sidebar-position='right'] .content-area {
    grid-column: 1;
}

/* 鍐呰仈鎼滅储妗嗘牱寮?*/
.search-inline {
    padding: 12px 0 16px;
    max-width: 550px;
}
body:not(.mh-article-page) .main-container[data-sidebar-position='left'] .search-inline {
    grid-column: 2;
    grid-row: 1;
}
body:not(.mh-article-page) .main-container[data-sidebar-position='right'] .search-inline {
    grid-column: 1;
    grid-row: 1;
}
.search-inline .search-input-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    border: 2px solid var(--mh-search-border);
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    transition: border-color var(--mh-transition), box-shadow var(--mh-transition);
    background: #ffffff;
}
.search-inline .search-input-wrap:focus-within {
    border-color: var(--mh-search-focus);
    box-shadow: 0 0 0 3px rgba(59,79,160,0.12);
}
.search-inline .search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-size: 0.95rem;
    color: var(--mh-text);
    outline: none;
}
.search-inline .search-submit {
    padding: 10px 20px;
    border: none;
    background: var(--mh-primary);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--mh-transition);
    white-space: nowrap;
}
.search-inline .search-submit:hover {
    background: var(--mh-primary-hover);
}

/* ============================================================
   澶撮儴鎼滅储妯″潡锛堜粎鍗曠瘒鏂囩珷/鍗曚釜椤甸潰鏄剧ず锛?   鍏嬮殕鑷?searchbar.php 鍐呰仈鎼滅储锛屼笉鍚閮ㄨ儗鏅尯鍩?   ============================================================ */
.header-search-inline {
    margin-left: 24px;
    flex-shrink: 0;
    position: relative;
    transform: translateY(8px);
    align-self: center;
    width: 500px;
    max-width: 500px;
    min-width: 0;
}
.header-search-inline .search-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid var(--mh-search-border);
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-search-bg);
    transition: border-color var(--mh-transition), box-shadow var(--mh-transition);
}
.header-search-inline .search-input-wrap:focus-within {
    border-color: var(--mh-search-focus);
    box-shadow: 0 0 0 3px rgba(59,79,160,0.12);
}
.header-search-inline .search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-size: 0.85rem;
    color: var(--mh-text);
    outline: none;
    min-width: 120px;
}
.header-search-inline .search-input::placeholder {
    color: var(--mh-text-muted);
}
.header-search-inline .search-submit {
    padding: 8px 16px;
    border: none;
    background: var(--mh-primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--mh-transition);
    white-space: nowrap;
}
.header-search-inline .search-submit:hover {
    background: var(--mh-primary-hover);
}
.header-search-inline .search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: none;
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    box-shadow: var(--mh-shadow-hover);
    z-index: 200;
    overflow: hidden;
}
.header-search-inline .search-suggestions.open {
    display: block;
}

/* 鏂囩珷椤碉細姝ｆ枃 + 鐚滀綘鍠滄渚ц竟鏍忥紝鍙乏鍙冲璋?*/
.mh-article-page .main-container {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 24px;
}
.mh-article-page .main-container[data-sidebar-position='left']  { flex-direction: row-reverse; }
.mh-article-page .main-container[data-sidebar-position='right'] { flex-direction: row; }
.mh-article-page #article-main { flex: 1 1 auto; min-width: 0; max-width: none; margin: 0; padding: 0; }
/* 文章列内外侧 padding 均清零，使侧栏+间距+文章列总和 = 1200px，与头部/底部同宽 */
.mh-article-page .main-container[data-sidebar-position='left']  #article-main { padding: 0; }
.mh-article-page .main-container[data-sidebar-position='right'] #article-main { padding: 0; }
.mh-article-page .related-sidebar { flex: 0 0 var(--mh-sidebar-width); width: var(--mh-sidebar-width); align-self: flex-start; }
.mh-article-page .related-inner { margin-top: 0; }
/* 面包屑(导航模块)位于文章列顶部、与文章等宽、与猜你喜欢侧栏同一水平线 */
.mh-article-page .article-breadcrumb-wrap { margin: 0 0 24px; }
.mh-article-page .article-breadcrumb { max-width: none; margin: 0; padding: 0 0 0 25px; }

/* ============================================================
   6. 锟斤拷锟斤拷锟斤拷锟斤拷
   ============================================================ */
.content-area {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.content-inner {
    min-width: 0;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 2px 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.results-info {
    font-size: 0.9rem;
    color: var(--mh-text-secondary);
}
.results-info strong {
    color: var(--mh-primary);
    font-weight: 700;
}
.results-filtered {
    color: var(--mh-accent);
    font-size: 0.8rem;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--mh-text-muted);
}
.sort-select {
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius-sm);
    padding: 4px 8px;
    font-size: 0.82rem;
    background: var(--mh-surface);
    color: var(--mh-text);
    cursor: pointer;
}

/* ============================================================
   7. 锟叫憋拷锟筋（锟斤拷锟斤拷锟斤拷源锟斤拷片锟斤拷
   ============================================================ */
.music-list {
    display: grid;
    grid-template-columns: repeat(var(--mh-grid-cols), 1fr);
    gap: var(--mh-grid-gap);
}

.list-item {
    background: var(--mh-card-bg);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background var(--mh-transition);
}
.list-item:hover {
    background: var(--mh-card-hover);
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 14px 40px rgba(0,0,0,0.18), 0 4px 14px rgba(0,0,0,0.12);
    position: relative;
    z-index: 2;
    border-color: var(--mh-primary);
}

.list-item-inner {
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* 锟斤拷锟斤拷图 */
.list-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--mh-radius) var(--mh-radius) 0 0;
    overflow: hidden;
    background: var(--mh-bg);
}
.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 锟斤拷息锟斤拷 */
.list-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.list-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}
.list-title a {
    color: var(--mh-text);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.list-title a:hover {
    color: var(--mh-primary);
}


.list-artist {
    font-size: 1.05rem;
    color: var(--mh-text-muted);
    margin: 0;
}

.list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 0.78rem;
    color: var(--mh-text-muted);
    overflow: hidden;
}
.list-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.list-excerpt {
    font-size: 0.82rem;
    color: var(--mh-text-secondary);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 锟睫斤拷锟阶刺?*/
.no-results {
    padding: 48px 20px;
    text-align: center;
    background: var(--mh-card-bg);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    box-shadow: var(--mh-glass-highlight), var(--mh-shadow);
}
.no-results-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}
.no-results p {
    color: var(--mh-text-secondary);
    margin: 4px 0;
}
.no-results-hint {
    font-size: 0.82rem;
    color: var(--mh-text-muted);
}

/* ============================================================
   8. 锟斤拷页
   ============================================================ */
.pagination {
    padding: 20px 0 0;
    text-align: center;
}
.pagination-top {
    margin: 0;
    padding: 0;
    flex: 1;
    text-align: center;
    
    
}
.pagination-bottom {
    text-align: center;
    padding: 20px 2px 0;
}

.page-nav {
    display: inline-flex;
    gap: 4px;
}

.page-item {
    display: inline-block;
}
.page-item a,
.page-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius-sm);
    font-size: 0.85rem;
    color: var(--mh-text-secondary);
    transition: border-color var(--mh-transition), background var(--mh-transition), color var(--mh-transition);
}
.page-item a:hover {
    border-color: var(--mh-primary);
    color: var(--mh-primary);
    background: var(--mh-surface-hover);
}
.page-item.active .page-numbers {
    background: var(--mh-primary);
    color: #fff;
    border-color: var(--mh-primary);
    font-weight: 600;
}

/* ============================================================
   9. 锟斤拷锟捷分革拷锟竭ｏ拷锟斤拷锟斤拷时锟斤拷示锟斤拷
   ============================================================ */

/* ============================================================
   10. 页锟斤拷
   ============================================================ */
#site-footer {
    background: var(--mh-surface);
    border-top: 2px solid var(--mh-border);
    padding: 36px 0 28px;
    max-width: var(--mh-site-width);
    margin: 0 auto;
    width: 100%;
    transition: background-color 0.3s;
}

.footer-inner {
    max-width: var(--mh-site-width);
    margin: 0 auto;
    padding: 0 var(--mh-site-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-info {
    font-size: 0.88rem;
    color: var(--mh-text-muted);
}
.footer-info p {
    margin: 2px 0;
}
.icp a {
    color: var(--mh-text-muted);
    font-size: 0.78rem;
}
.icp a:hover {
    color: var(--mh-primary);
}

.footer-links {
    display: flex;
    gap: 16px;
    font-size: 0.88rem;
    color: var(--mh-text-muted);
}
.footer-links a {
    color: var(--mh-text-muted);
}
.footer-links a:hover {
    color: var(--mh-primary);
}

/* ============================================================
   11. 锟斤拷锟斤拷源锟斤拷锟斤拷页
   ============================================================ */
.single-resource {
    background: var(--mh-card-bg);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    box-shadow: var(--mh-glass-highlight), var(--mh-shadow);
    padding: 28px;
}

.resource-cover {
    margin: -28px -28px 24px;
    border-radius: var(--mh-radius) var(--mh-radius) 0 0;
    overflow: hidden;
    max-height: 400px;
}
.resource-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.resource-header {
    margin-bottom: 20px;
}

.resource-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mh-text);
}

.resource-artist,
.resource-album {
    font-size: 0.95rem;
    color: var(--mh-text-secondary);
    margin: 4px 0;
}

/* 元锟斤拷息锟斤拷锟斤拷 */
.resource-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px 24px;
    padding: 16px 0;
    border-top: 1px solid var(--mh-border-light);
    border-bottom: 1px solid var(--mh-border-light);
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    font-size: 0.85rem;
    min-width: 0;
}

.meta-icon {
    flex-shrink: 0;
    font-size: 1rem;
}

.meta-label {
    color: var(--mh-text-muted);
    flex-shrink: 0;
}

.meta-value {
    color: var(--mh-text-secondary);
    font-weight: 600;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 锟斤拷锟斤拷锟斤拷 */
.resource-content {
    margin: 24px 0;
    line-height: 1.8;
    color: var(--mh-text);
}

/* 锟斤拷锟斤拷锟斤拷 */
.resource-download {
    margin: 24px 0;
    padding: 20px;
    background: var(--mh-surface-hover);
    border-radius: var(--mh-radius);
    text-align: center;
    border: 2px dashed var(--mh-border);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background: var(--mh-primary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--mh-radius);
    cursor: pointer;
    transition: background var(--mh-transition), transform var(--mh-transition);
}
.download-btn:hover {
    background: var(--mh-primary-hover);
    transform: translateY(-1px);
}
.download-btn:active {
    transform: translateY(0);
}

.download-locked,
.download-login-prompt {
    color: var(--mh-text-secondary);
}
.download-locked p,
.download-login-prompt p {
    margin: 0 0 12px;
    font-size: 1rem;
}

.upgrade-link,
.login-link {
    display: inline-block;
    padding: 10px 28px;
    background: var(--mh-accent);
    color: #fff;
    border-radius: var(--mh-radius);
    font-weight: 600;
    text-decoration: none;
    transition: background var(--mh-transition);
}
.upgrade-link:hover,
.login-link:hover {
    background: var(--mh-accent-hover);
    color: #fff;
}
.register-link {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    color: var(--mh-text-secondary);
    margin-left: 10px;
    text-decoration: none;
}
.register-link:hover {
    border-color: var(--mh-primary);
    color: var(--mh-primary);
}

.no-download {
    color: var(--mh-text-muted);
    font-style: italic;
}

/* 锟斤拷锟斤拷锟斤拷息 */
.resource-footer {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--mh-border-light);
    font-size: 0.82rem;
    color: var(--mh-text-muted);
}

/* ============================================================
   12. 锟斤拷员锟斤拷锟斤拷
   ============================================================ */
.member-center {
    background: var(--mh-card-bg);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    box-shadow: var(--mh-glass-highlight), var(--mh-shadow);
    overflow: hidden;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* 锟斤拷员锟斤拷锟斤拷 */
.member-overview {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, var(--mh-surface-hover), var(--mh-surface));
    border-bottom: 1px solid var(--mh-border);
}
.member-avatar img {
    border-radius: 50%;
    border: 3px solid var(--mh-primary);
}
.member-info h2 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: var(--mh-text);
}
.member-email {
    margin: 0;
    font-size: 0.82rem;
    color: var(--mh-text-muted);
}
.member-status {
    margin-top: 8px;
}

/* 统锟狡匡拷片 */
.member-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--mh-border);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--mh-surface-hover);
    border-radius: var(--mh-radius);
    border: 1px solid var(--mh-border-light);
    transition: box-shadow var(--mh-transition), border-color var(--mh-transition);
}
.stat-card:hover {
    box-shadow: var(--mh-shadow);
    border-color: var(--mh-border);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}
.stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mh-text);
}
.stat-label {
    font-size: 0.75rem;
    color: var(--mh-text-muted);
}

/* TAB 锟斤拷锟斤拷 */
.member-tabs {
    display: flex;
    border-bottom: 2px solid var(--mh-border);
    background: var(--mh-surface-hover);
    overflow-x: auto;
}
.member-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 0.9rem;
    color: var(--mh-text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--mh-transition), border-color var(--mh-transition);
}
.member-tab:hover {
    color: var(--mh-text);
}
.member-tab.active {
    color: var(--mh-primary);
    border-bottom-color: var(--mh-primary);
    font-weight: 600;
}

/* TAB 锟斤拷锟?*/
.member-tab-content {
    padding: 24px;
}

.tab-panel h3 {
    margin: 0 0 16px;
    font-size: 1.1rem;
    color: var(--mh-text);
}

/* 锟斤拷锟斤拷锟斤拷息锟斤拷锟?*/
.profile-table {
    width: 100%;
    border-collapse: collapse;
}
.profile-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--mh-border-light);
    font-size: 0.9rem;
}
.profile-table td.label {
    width: 120px;
    color: var(--mh-text-muted);
    font-weight: 600;
}

/* 锟斤拷锟?*/
.member-form {
    max-width: 400px;
}
.form-group {
    margin-bottom: 14px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: var(--mh-text-secondary);
    font-weight: 600;
}
.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius-sm);
    background: var(--mh-surface);
    color: var(--mh-text);
    transition: border-color var(--mh-transition), box-shadow var(--mh-transition);
}
.form-group input:focus {
    outline: none;
    border-color: var(--mh-primary);
    box-shadow: 0 0 0 3px rgba(59,79,160,0.1);
}

.redeem-input-group {
    display: flex;
    gap: 10px;
    max-width: 440px;
}
.redeem-input-group input {
    flex: 1;
    font-family: var(--mh-font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.redeem-input-group .btn-primary {
    flex-shrink: 0;
}

.btn-primary {
    padding: 10px 24px;
    background: var(--mh-primary);
    color: #fff;
    border: none;
    border-radius: var(--mh-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--mh-transition);
}
.btn-primary:hover {
    background: var(--mh-primary-hover);
}

.form-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: var(--mh-radius-sm);
    font-size: 0.85rem;
    display: none;
}
.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
[data-theme='dark'] .form-message.success {
    background: rgba(46,125,50,0.2);
    border-color: rgba(46,125,50,0.3);
}
.form-message.error {
    display: block;
    background: #fce4e4;
    color: #c62828;
    border: 1px solid #f5c6c6;
}
[data-theme='dark'] .form-message.error {
    background: rgba(198,40,40,0.2);
    border-color: rgba(198,40,40,0.3);
}

.redeem-desc {
    color: var(--mh-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.current-membership-info {
    margin-top: 16px;
    padding: 14px;
    background: var(--mh-surface-hover);
    border-radius: var(--mh-radius-sm);
    font-size: 0.9rem;
    color: var(--mh-text-secondary);
    border: 1px solid var(--mh-border-light);
}
.current-membership-info p {
    margin: 0;
}
.current-membership-info small {
    color: var(--mh-text-muted);
}

/* 锟斤拷锟斤拷锟斤拷史 */
.download-history {
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    overflow: hidden;
}
.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--mh-border-light);
    gap: 12px;
    transition: background var(--mh-transition);
}
.history-item:last-child {
    border-bottom: none;
}
.history-item:hover {
    background: var(--mh-surface-hover);
}
.history-info {
    flex: 1;
    min-width: 0;
}
.history-title {
    font-size: 0.9rem;
    color: var(--mh-text);
    font-weight: 600;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.history-title:hover {
    color: var(--mh-primary);
}
.history-meta {
    display: flex;
    gap: 14px;
    margin-top: 3px;
    font-size: 0.75rem;
    color: var(--mh-text-muted);
}
.history-date {
    font-size: 0.8rem;
    color: var(--mh-text-muted);
    flex-shrink: 0;
}

/* ============================================================
   13. 通锟斤拷页锟斤拷
   ============================================================ */
.page-article {
    background: var(--mh-card-bg);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    box-shadow: var(--mh-glass-highlight), var(--mh-shadow);
    padding: 28px;
}
.page-title {
    font-size: 1.4rem;
    margin: 0 0 20px;
    color: var(--mh-text);
}
.page-content {
    color: var(--mh-text);
    line-height: 1.8;
}

/* ============================================================
   14. 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟?   ============================================================ */
.entry-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
    max-width: 100%;
}
.entry-content img,
.entry-content video,
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content svg {
    max-width: 100%;
    height: auto;
}
.entry-content table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
}
.entry-content pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.entry-content a {
    word-break: break-all;
}
.entry-content ul,
.entry-content ol {
    max-width: 100%;
    padding-left: 1.5em;
    box-sizing: border-box;
}
.entry-content li {
    max-width: 100%;
    overflow-wrap: break-word;
}
.entry-content *,
.entry-content *::before,
.entry-content *::after {
    box-sizing: border-box;
}

.search-highlight {
    background: #fff3cd;
    color: #856404;
    padding: 1px 3px;
    border-radius: 2px;
}
[data-theme='dark'] .search-highlight {
    background: rgba(255,243,205,0.25);
    color: #f5d060;
}

/* 锟芥档锟斤拷锟斤拷 */
.archive-title {
    font-size: 1.2rem;
    margin: 0;
    color: var(--mh-text);
}
.archive-desc {
    font-size: 0.85rem;
    color: var(--mh-text-muted);
    margin: 4px 0;
}

/* ============================================================
   15. 锟斤拷应式锟斤拷锟?   ============================================================ */
@media (max-width: 1280px) {
    .site-desc {
        display: none;
    }
}
@media (max-width: 1024px) {
    #site-wrap {
        padding: 0 16px;
    }
    .header-search-inline {
        display: none !important;
    }
    .main-container {
        gap: 16px;
        padding: 0;
    }
    .content-inner {
        padding-right: 0;
    }
    .filter-sidebar {
        width: 230px;
    }
    .music-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .list-thumb {
        aspect-ratio: 1 / 1;
    }
    .list-item-inner {
    }
}

@media (max-width: 768px) {
    #site-wrap {
        padding: 0 12px;
    }
    /* 切换为垂直排列 */
    .main-container {
        flex-direction: column !important;
        margin: 12px 0;
        padding: 0;
    }

    /* 非文章页 Grid 回退为单列 */
    body:not(.mh-article-page) .main-container {
        display: block;
    }
    body:not(.mh-article-page) .filter-sidebar {
        grid-row: auto;
    }
    .search-inline {
        padding: 0 0 12px;
    }

    /* 鎵嬫満绔細闅愯棌宸﹀彸瀵硅皟鎸夐挳锛堟棤闇€鍦ㄦ墜鏈轰笂宸﹀彸鍒囨崲锛?*/
    #sidebar-swap-btn,
    .sidebar-swap-btn-inner {
        display: none !important;
    }

    /* 鎵嬫満绔細瀵艰埅鑿滃崟鍙í鍚戞粦鍔紝鏂逛究鐪嬪埌鍏ㄩ儴涓昏彍鍗?*/
    .navbar-menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .navbar-menu::-webkit-scrollbar {
        display: none;
    }
    .navbar-menu li {
        flex: 0 0 auto;
    }

    /* 鎵嬫満绔細鍒楄〃鍙屽垪锛屽崱鐗囨湰韬嵆涓衡€滃浘鐗囧湪涓娿€佹枃瀛楀湪涓嬧€濈殑绔栧悜甯冨眬 */
    .music-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* 移动端：内容区右侧间距由 #site-wrap 控制 */
    .content-inner {
        padding-right: 0;
    }

    /* 鎵嬫満绔細绛涢€変晶鏍忎笉鍐嶅唴鑱旀樉绀猴紝鏀逛负鐐瑰嚮鎸夐挳寮瑰嚭鐨勬娊灞?*/
    .filter-sidebar {
        display: none;
    }
    .sidebar-inner {
        position: static;
        max-height: none;
    }
    .filter-modules-wrap {
        max-height: none;
        overflow-y: visible;
    }
    body.filter-open .filter-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 84%;
        max-width: 340px;
        height: 100%;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -6px 0 24px rgba(0,0,0,0.35);
    }
    body.filter-open .filter-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    .header-right .mobile-filter-btn,
    .filter-close-btn {
        display: inline-flex !important;
    }
    /* 鏂囩珷椤垫墜鏈虹锛歠lex 鎹㈣锛屾鏂囧拰渚ф爮鍚勫崰鏁磋鍨傜洿鎺掑垪 */
    .mh-article-page .main-container {
        display: block;
    }
    .mh-article-page #article-main {
        width: 100%;
        padding: 0 12px;
    }
    .mh-article-page .related-sidebar {
        width: 100%;
        margin-top: 24px;
    }

    /* 鏂囩珷椤垫墜鏈虹锛氱矇瀵艰埅鏍忕缉灏忓唴杈硅窛 */
    .article-nav-menu a {
        padding: 12px 10px;
        font-size: 0.82rem;
    }

    /* 鏂囩珷椤垫墜鏈虹锛氬伐鍏锋爮闃叉孩鍑猴紙logo 鎴柇 + 鎹㈣锛?*/
    .article-toolbar-inner {
        flex-wrap: wrap;
        gap: 6px;
    }
    .article-toolbar-logo .site-name {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* 鏂囩珷椤垫墜鏈虹锛氬厓淇℃伅瀛楁灞呭乏銆佺旱鍚戜緷娆℃帓鍒楋紝琛岃窛鍧囧寑绱у噾 */
    .meta-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    .meta-cell {
        padding: 3px 0;
        font-size: 0.85rem;
    }

    /* 鏂囩珷椤垫墜鏈虹锛氫笓杈戝皝闈?淇℃伅绾靛悜鍫嗗彔锛岀壒鑹插浘璺濋〉闈㈠乏鍙宠竟璺?15px */
    .album-main {
        flex-direction: column;
        gap: 16px;
        padding: 16px 15px;
    }
    .album-cover {
        width: 100%;
        max-width: none;
        margin: 0;
    }
    .album-content {
        padding: 14px 16px 20px;
    }
    .album-content.entry-content {
        padding: 14px 16px 20px;
    }

    /* 鏂囩珷椤垫墜鏈虹锛氬唴瀹瑰尯鍥剧墖/琛ㄦ牸/iframe/宓屽叆鍧楀己鍒朵笉婧㈠嚭 */
    .album-content img,
    .album-content iframe,
    .album-content table,
    .album-content video,
    .album-content embed,
    .album-content object,
    .album-content figure,
    .album-content .wp-block-image,
    .entry-content img,
    .entry-content iframe,
    .entry-content table,
    .entry-content video,
    .entry-content embed,
    .entry-content object,
    .entry-content figure,
    .entry-content .wp-block-image {
        max-width: 100% !important;
        height: auto !important;
    }
    .album-content pre,
    .album-content code,
    .entry-content pre,
    .entry-content code {
        max-width: 100%;
        overflow-x: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    /* 鏂囩珷椤垫墜鏈虹锛氫笂/涓嬬瘒瀵艰埅閾炬帴闄愬埗鏈€澶у搴︼紝闃叉孩鍑?*/
    .post-nav-link {
        max-width: 100%;
    }

    /* 鏂囩珷椤垫墜鏈虹锛氶潰鍖呭睉/宸ュ叿鏍忓唴杈硅窛缂╁噺 */
    .mh-article-page .article-breadcrumb {
        padding-left: 0;
        padding-right: 12px;
    }
    .article-toolbar-inner {
        padding: 8px 12px;
    }

    .header-inner {
        height: auto;
        flex-wrap: wrap;
        padding: 10px 0;
        gap: 8px;
    }
    .header-left {
        flex: 1;
        min-width: 0;
    }
    .site-desc {
        display: none;
    }
    .header-search-inline {
        display: none;
    }
    .header-right {
        width: 100%;
        justify-content: flex-end;
    }

    #search-bar {
        padding: 10px 0;
    }
    .search-inner {
        padding: 0 14px;
    }

    .single-resource {
        padding: 16px;
    }
    .resource-cover {
        margin: -16px -16px 16px;
    }
    .resource-meta-grid {
        grid-template-columns: 1fr;
    }
    .resource-title {
        font-size: 1.2rem;
    }

    .member-stats {
        grid-template-columns: 1fr;
    }
    .member-overview {
        flex-direction: column;
        text-align: center;
    }
    .member-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .list-item-inner {
    }
    .list-thumb {
        aspect-ratio: 1 / 1;
    }

    .pagination-top {
    margin: 0;
    padding: 0;
    flex: 1;
    text-align: center;
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .resource-download .btn-primary,
    .download-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #site-wrap {
        padding: 0 10px;
    }
    .header-btn {
        padding: 5px 10px;
        font-size: 0.78rem;
    }
    .site-name {
        font-size: 1rem;
    }

    .list-thumb {
    }

    .resource-meta-grid {
        grid-template-columns: 1fr;
    }

    .member-tab-content {
        padding: 16px;
    }
    .member-stats {
        padding: 16px;
    }

    .page-article,
    .single-resource {
        padding: 14px;
    }

    /* 鏂囩珷椤?480px锛氳繘涓€姝ョ缉灏忓唴杈硅窛锛屼笂涓嬬瘒鎸夐挳鍫嗗彔 */
    .album-main {
        padding: 12px 15px;
        gap: 12px;
    }
    .album-cover {
        max-width: none;
    }
    .album-content,
    .album-content.entry-content {
        padding: 12px 14px 16px;
    }
    .article-post-nav {
        flex-direction: column;
        gap: 10px;
    }
    .post-nav-link {
        max-width: 100% !important;
    }
    .album-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
}

/* ============================================================
   16. 锟斤拷锟斤拷锟斤拷锟斤拷页专锟斤拷锟斤拷式锟斤拷锟桔碉拷锟斤拷 + 锟斤拷锟叫?+ 双锟斤拷元锟斤拷锟斤拷 + 锟缴硷拷锟斤拷签锟斤拷
   ============================================================ */

/* --- 16a. 锟斤拷锟斤拷页全锟斤拷锟斤拷锟斤拷 --- */
.mh-article-page #site-wrap {
    background: var(--mh-bg);
}
#article-main {
    width: 100%;
    max-width: var(--mh-site-width);
    margin: 0 auto;
    padding: 15px var(--mh-site-padding) 37px;
    overflow-x: hidden;
}

/* 鏂囩珷椤点€岀寽浣犲枩娆€€嶄晶杈规爮 */
.related-sidebar {
    width: var(--mh-sidebar-width);
    flex-shrink: 0;
    align-self: flex-start;
}
.related-inner {
    background: var(--mh-sidebar-bg);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    box-shadow: var(--mh-glass-highlight), var(--mh-shadow), 0 4px 16px rgba(0,0,0,0.10), 0 8px 28px rgba(0,0,0,0.06);
    overflow: hidden;
    position: sticky;
    top: 80px;
    margin-top: 15px;
    transition: background-color 0.3s, border-color 0.3s;
}
.related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-bottom: none;
    background: linear-gradient(135deg, var(--mh-primary), #2a3a78);
    box-shadow: 0 2px 8px rgba(59, 79, 160, 0.25);
}
.related-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    position: relative;
    padding-left: 12px;
}
.related-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1em;
    border-radius: 2px;
    background: #ffffff;
}
.sidebar-swap-btn-inner {
    background: linear-gradient(135deg, #ff8a3d, #ff5e62);
    border: none;
    border-radius: var(--mh-radius-sm);
    padding: 4px 11px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 94, 98, 0.40);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.sidebar-swap-btn-inner:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(255, 94, 98, 0.55);
    color: #ffffff;
}
.related-list {
    display: flex;
    flex-direction: column;
}
.related-item {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 10px 12px;
    border-bottom: 1px solid var(--mh-border-light);
    text-decoration: none;
    color: var(--mh-text);
    transition: background-color var(--mh-transition);
}
.related-item:last-child {
    border-bottom: none;
}
.related-item:hover {
    background: var(--mh-surface-hover);
}
.related-thumb-wrap {
    flex: 0 0 50%;
    max-width: 50%;
    aspect-ratio: 1 / 1;
    padding-right: 10px;
}
.related-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: var(--mh-surface);
}
.related-meta {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.related-item-title {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--mh-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-item:hover .related-item-title {
    color: var(--mh-primary);
}
.related-item-cat {
    font-size: 0.78rem;
    color: var(--mh-text-muted);
}
.related-empty {
    padding: 16px 14px;
    font-size: 0.85rem;
    color: var(--mh-text-muted);
}

/* --- 16aa. 锟斤拷锟斤拷页锟斤拷锟斤拷锟斤拷 --- */

#article-navbar {
    max-width: var(--mh-site-width);
    margin: 0 auto;
    background: linear-gradient(135deg, #e91e63, #c2185b);
    padding: 0;
    overflow-x: hidden;
}
.article-nav-inner {
    max-width: var(--mh-site-width);
    margin: 0 auto;
    padding: 0 20px;
}
.article-nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.article-nav-menu li {
    margin: 0;
}
.article-nav-menu a {
    display: block;
    padding: 14px 28px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}
.article-nav-menu a:hover,
.article-nav-menu a.active {
    color: #fff;
    background: rgba(0,0,0,0.15);
}

/* --- 16c. 锟斤拷锟铰癸拷锟斤拷锟斤拷锟斤拷logo + 锟斤拷锟斤拷锟叫伙拷 + 锟矫伙拷锟斤拷 --- */
.article-toolbar {
    max-width: var(--mh-site-width);
    margin: 0 auto;
    background: var(--mh-surface);
    border-bottom: 1px solid var(--mh-border);
    transition: background-color 0.3s;
}
.article-toolbar-inner {
    max-width: var(--mh-site-width);
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.article-toolbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--mh-text);
}
.article-toolbar-logo .logo-icon { font-size: 1.4rem; }
.article-toolbar-logo .site-name {
    font-size: 1rem;
    font-weight: 700;
}
.article-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius-sm);
    background: var(--mh-surface);
    color: var(--mh-text-secondary);
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.toolbar-btn:hover {
    border-color: var(--mh-primary);
    color: var(--mh-primary);
}
.toolbar-login {
    background: var(--mh-primary);
    color: #fff;
    border-color: var(--mh-primary);
}
.toolbar-login:hover { background: var(--mh-primary-hover); color: #fff; }
.toolbar-register {
    background: var(--mh-accent);
    color: #fff;
    border-color: var(--mh-accent);
}
.toolbar-register:hover { background: var(--mh-accent-hover); color: #fff; }
.toolbar-user img { border-radius: 50%; vertical-align: middle; }

[data-theme='dark'] .article-nav-menu a {
    color: rgba(255,255,255,0.8);
}
[data-theme='dark'] .article-nav-menu a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* --- 16d. 锟斤拷锟叫?--- */
.article-breadcrumb-wrap {
    background: #fff;
    border-bottom: 1px solid var(--mh-border);
    padding: 10px 0;
    margin: 0 0 15px 0;
    transition: background-color 0.3s;
}
[data-theme='dark'] .article-breadcrumb-wrap {
    background: var(--mh-surface);
}
.article-breadcrumb {
    max-width: none;
    margin: 0;
    padding: 0 20px;
    font-size: 0.95rem;
    color: var(--mh-text-muted);
}
.article-breadcrumb a {
    color: var(--mh-text-secondary);
    text-decoration: none;
}
.article-breadcrumb a:hover {
    color: var(--mh-primary);
}
.breadcrumb-sep {
    margin: 0 6px;
    color: var(--mh-text-muted);
}
.breadcrumb-current {
    color: var(--mh-text);
    font-weight: 400;
}

/* --- 16e. 专锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟揭讹拷锟斤拷锟斤拷锟斤拷 --- */
.album-body-wrap {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: var(--mh-radius);
    overflow: hidden;
    box-shadow: none;
    transition: box-shadow 0.3s;
    max-width: 100%;
}
.album-body-wrap:hover {
    box-shadow: none;
}

[data-theme='dark'] .album-body-wrap {
    box-shadow: none;
}
[data-theme='dark'] .album-body-wrap:hover {
    box-shadow: none;
}

.album-main {
    display: flex;
    gap: 30px;
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    border-bottom: none;
    border-radius: var(--mh-radius) var(--mh-radius) 0 0;
    padding: 28px;
    transition: background-color 0.3s;
}

/* 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 */
.album-cover {
    flex-shrink: 0;
    width: 33.333%;
    max-width: 340px;
    position: relative;
}
.album-cover-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--mh-radius-sm);
    display: block;
}

/* 锟斤拷锟较斤拷锟斤拷锟斤拷锟斤拷色锟斤拷锟缴硷拷锟斤拷锟斤拷签 */
.album-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    padding: 4px 12px;
    background: #f9a825;
    color: #5d4037;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 3px;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* 锟斤拷锟斤拷锟斤拷元锟斤拷锟斤拷锟斤拷息 */
.album-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.album-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mh-text);
    margin: 0 0 6px;
    line-height: 1.3;
    word-break: break-word;
}

/* 鏂囩珷鏍囬鍓嶇殑鏂囧瓧鍥炬爣锛堝窘鏍囷級 */
.mh-title-badge {
    display: inline-block;
    background: #ffd400;          /* 榛勮壊搴曡壊 */
    color: #333;                  /* 娣辩伆鏂囧瓧锛屼繚璇佸彲璇绘€?*/
    font-size: 12px;              /* 瀛楀彿 12px */
    line-height: 1.2;
    padding: 2px;                 /* 鍐呬晶杈硅窛 2px */
    margin-right: 8px;
    border-radius: 3px;
    font-weight: 600;
    vertical-align: middle;
    white-space: nowrap;
}

.album-subtitle {
    font-size: 0.95rem;
    color: var(--mh-text-secondary);
    margin: 0 0 16px;
}

/* 双锟叫诧拷锟斤拷锟斤拷锟?*/
.album-meta-table {
    border-top: 1px solid var(--mh-border-light);
    padding-top: 14px;
    margin-bottom: 18px;
}

.meta-row {
    display: flex;
    gap: 20px;
    margin-bottom: 2px;
}

.meta-cell {
    flex: 1;
    min-width: 0;
    padding: 5px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: baseline;
}

.meta-cell-label {
    color: var(--mh-text-muted);
    flex-shrink: 0;
    margin-right: 4px;
    font-weight: 700;
}
.meta-cell-value {
    color: var(--mh-text-secondary);
    font-weight: 400;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷式 */
.meta-link {
    color: var(--mh-primary);
    text-decoration: none;
    border-bottom: 1px dotted transparent;
    transition: border-color 0.2s, color 0.2s;
    padding: 1px 0;
}
.meta-link:hover {
    color: var(--mh-primary-hover);
    border-bottom-color: var(--mh-primary-hover);
}
[data-theme='dark'] .meta-link {
    color: #7b93e0;
}
[data-theme='dark'] .meta-link:hover {
    color: #a0b4f0;
    border-bottom-color: #7b93e0;
}

/* --- 16f. 锟斤拷锟杰诧拷锟斤拷锟斤拷钮 --- */
.album-actions {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    padding: 16px 0 0;
    border-top: 1px solid var(--mh-border-light);
    flex-wrap: wrap;
}

.album-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 32px;
    border-radius: var(--mh-radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.1s;
}
.album-btn:active {
    transform: translateY(1px);
}

.album-btn-vip {
    background: linear-gradient(135deg, #f9e4b7, #d4a017);
    color: #5a3e00;
    box-shadow: 0 2px 8px rgba(212,160,23,0.3);
}
.album-btn-vip:hover {
    background: linear-gradient(135deg, #fcecca, #e0b030);
    color: #5a3e00;
}

.album-btn-download {
    background: var(--mh-primary);
    color: #fff;
}
.album-btn-download:hover {
    background: var(--mh-primary-hover);
}

.album-btn-login {
    background: var(--mh-surface);
    color: var(--mh-primary);
    border: 2px solid var(--mh-primary);
}
.album-btn-login:hover {
    background: var(--mh-primary);
    color: #fff;
}

.album-btn-disabled {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    background: var(--mh-border);
    color: var(--mh-text-muted);
    border-radius: var(--mh-radius);
    font-size: 0.9rem;
}

/* --- 16g. 锟斤拷锟斤拷锟斤拷锟斤拷 --- */
.album-content {
    position: relative;
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    border-top: 1px dashed var(--mh-border);
    border-bottom: 2px solid #1e3a6e;
    border-radius: 0 0 var(--mh-radius) var(--mh-radius);
    padding: 18px 28px 28px;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

[data-theme='dark'] .album-content {
    border-bottom-color: #3b5fc0;
}





/* --- 16h. 涓婁竴绡?/ 涓嬩竴绡囨枃绔犲鑸?--- */
.article-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
}
.post-nav-item {
    min-width: 0;
}
.post-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 380px;
    padding: 14px 18px;
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    text-decoration: none;
    color: var(--mh-text-secondary);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.post-nav-link:hover {
    border-color: var(--mh-primary);
    box-shadow: var(--mh-shadow);
    color: var(--mh-primary);
}
.post-nav-prev .post-nav-link {
    justify-content: flex-start;
}
.post-nav-next .post-nav-link {
    justify-content: flex-end;
}
.post-nav-arrow {
    font-size: 1rem;
    flex-shrink: 0;
}
.post-nav-label {
    font-size: 0.78rem;
    color: var(--mh-text-muted);
    flex-shrink: 0;
}
.post-nav-title {
    font-size: 0.9rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
[data-theme='dark'] .article-post-nav .post-nav-link:hover {
    border-color: #5a6fd6;
}


/* --- 棣栭〉鐙珛鑿滃崟瀵艰埅宸ュ叿鏍?--- */
.site-navbar {
    background: rgba(26,33,71,0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.16);
    width: 100%;
    max-width: var(--mh-site-width);
    margin: 0 auto;
    align-self: center;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s, box-shadow 0.2s, backdrop-filter 0.3s;
}
/* 鍚搁《鎮诞鏃跺姞寮洪槾褰憋紝绐佸嚭鍥哄畾鏁堟灉 */
.site-navbar.sticky-active,
body:not(.no-sticky-nav) .site-navbar {
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}
.navbar-inner {
    max-width: var(--mh-site-width);
    margin: 0 auto;
    padding: 0 var(--mh-site-padding);
}
.navbar-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.navbar-menu li {
    display: list-item;
    margin: 0;
    white-space: nowrap;
}
.navbar-menu a {
    display: block;
    padding: 12px 22px;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    position: relative;
}
.navbar-menu a:hover {
    color: #ffffff;
    background: transparent;
}
.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 22px;
    right: 22px;
    height: 2px;
    background: var(--mh-accent);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(212,160,23,0.6);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}
.navbar-menu a:hover::after {
    transform: scaleX(1);
}
.navbar-menu li.current-menu-item > a,
.navbar-menu li.current_page_item > a {
    color: var(--mh-accent);
    background: rgba(212,160,23,0.14);
    border-radius: 999px;
}
.navbar-menu li.current-menu-item > a::after,
.navbar-menu li.current_page_item > a::after {
    transform: scaleX(0);
}
[data-theme='dark'] .site-navbar {
    background: rgba(20,22,29,0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: none;
}
[data-theme='dark'] .navbar-menu a {
    color: rgba(214,217,230,0.82);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
[data-theme='dark'] .navbar-menu a:hover {
    color: #ffffff;
    background: transparent;
}
[data-theme='dark'] .navbar-menu li.current-menu-item > a,
[data-theme='dark'] .navbar-menu li.current_page_item > a {
    color: var(--mh-accent);
    background: rgba(212,160,23,0.16);
    border-radius: 999px;
}

/* ============================================================
   鏅€氬崥瀹㈡枃绔犺鎯呴〉
   ============================================================ */
.content-area--full {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}
.post-single {
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    padding: 40px;
    box-shadow: var(--mh-shadow);
}
.post-header {
    margin-bottom: 24px;
}
.post-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--mh-text);
}
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--mh-text-muted);
}
.post-meta a {
    color: var(--mh-primary);
    text-decoration: none;
}
.post-thumbnail {
    margin-bottom: 24px;
    border-radius: var(--mh-radius-sm);
    overflow: hidden;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}
.post-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--mh-text);
}
.post-content p {
    margin: 0 0 1.2em;
}
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--mh-radius-sm);
}
.post-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--mh-border-light);
}
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--mh-text-muted);
}
.post-tags a {
    display: inline-block;
    padding: 3px 10px;
    background: var(--mh-bg);
    border: 1px solid var(--mh-border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--mh-text-secondary);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.post-tags a:hover {
    border-color: var(--mh-primary);
    color: var(--mh-primary);
}




/* ============================================================
   鍗＄墖瑙嗚灞傜骇澧炲己 (v2.2.0)
   ============================================================ */
.list-item {
    border-top: 3px solid var(--mh-primary) !important;
}
.list-item:nth-child(1),
.list-item:nth-child(2),
.list-item:nth-child(3) {
    border-top-color: var(--mh-accent) !important;
}
.list-item:nth-child(4) {
    border-top-color: #5a9ec2 !important;
}
.music-list .list-item:hover {
    box-shadow: 0 14px 40px rgba(0,0,0,0.18), 0 4px 14px rgba(0,0,0,0.12);
    transform: translateY(-6px) scale(1.015);
    border-color: var(--mh-primary);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}