/* ========================================================
   小罗导航网 - 现代 Shadcn UI / AI工具集 设计系统 (CSS)
   ======================================================== */

:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-subtle: #f1f5f9;
    --sidebar-bg: #ffffff;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-focus: #6366f1;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-soft: #eef2ff;
    --primary-glow: rgba(99, 102, 241, 0.18);
    --badge-bg: #f1f5f9;
    --badge-text: #475569;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 25px -4px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --radius-card: 12px;
    --radius-pill: 9999px;
    --sidebar-width: 230px;
    --sidebar-collapsed-width: 68px;
    --topbar-height: 60px;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --bg: #09090b;
    --surface: #141416;
    --surface-subtle: #1c1c20;
    --sidebar-bg: #0c0c0e;
    --border: #27272a;
    --border-hover: #3f3f46;
    --border-focus: #818cf8;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --primary: #818cf8;
    --primary-hover: #6366f1;
    --primary-soft: #1e1b4b;
    --primary-glow: rgba(129, 140, 248, 0.25);
    --badge-bg: #27272a;
    --badge-text: #d4d4d8;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 28px -4px rgba(0, 0, 0, 0.6);
}

/* 基础重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

input {
    font-family: inherit;
    outline: none;
    border: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ========================================================
   应用外层布局容器 (App Layout)
   ======================================================== */
.dh-app-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg);
    position: relative;
    max-width: 100%;
    overflow-x: hidden;
}

/* ========================================================
   左侧固定导航侧边栏 (Sidebar - AI工具集 风格)
   ======================================================== */
.dh-sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dh-sidebar-header {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.dh-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.dh-brand-badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.dh-brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.dh-topbar-mobile-brand {
    display: none;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.dh-topbar-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.dh-topbar-brand-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.dh-footer-brand-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.dh-footer-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

@media (max-width: 900px) {
    .dh-topbar-mobile-brand {
        display: flex;
    }
}

.dh-brand-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    white-space: nowrap;
}

.dh-brand-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.dh-brand-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.dh-sidebar-close-btn {
    display: none;
    color: var(--text-muted);
    padding: 4px;
    border-radius: 6px;
}

.dh-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
}

.dh-sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.dh-sidebar-nav::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 4px;
}

.dh-sidebar-nav:hover::-webkit-scrollbar-thumb {
    background: var(--border);
}

.dh-sidebar-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 10px 8px;
    white-space: nowrap;
}

.dh-sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dh-sidebar-item {
    width: 100%;
}

.dh-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
}

.dh-sidebar-link .dh-icon-svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: var(--transition);
}

.dh-sidebar-link:hover {
    background-color: var(--surface-subtle);
    color: var(--primary);
}

.dh-sidebar-link:hover .dh-icon-svg {
    color: var(--primary);
}

.dh-sidebar-link.is-active {
    background-color: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}

.dh-sidebar-link.is-active .dh-icon-svg {
    color: var(--primary);
}

.dh-sidebar-count {
    margin-left: auto;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    background-color: var(--surface-subtle);
    color: var(--text-muted);
}

.dh-sidebar-footer {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.dh-sidebar-footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: var(--surface-subtle);
    transition: var(--transition);
}

.dh-sidebar-footer-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* 侧栏桌面折叠状态 (Icon-only Rail，仅桌面端生效) */
@media (min-width: 1025px) {
    .dh-sidebar-collapsed .dh-sidebar {
        width: var(--sidebar-collapsed-width);
    }

    .dh-sidebar-collapsed .dh-brand-info,
    .dh-sidebar-collapsed .dh-sidebar-section-title,
    .dh-sidebar-collapsed .dh-sidebar-text,
    .dh-sidebar-collapsed .dh-sidebar-count,
    .dh-sidebar-collapsed .dh-sidebar-footer span {
        display: none !important;
    }

    .dh-sidebar-collapsed .dh-sidebar-link {
        justify-content: center;
        padding: 10px 0;
    }

    .dh-sidebar-collapsed .dh-main-wrapper {
        margin-left: var(--sidebar-collapsed-width);
    }
}

/* ========================================================
   右侧主区域容器 (Main Wrapper & Topbar)
   ======================================================== */
.dh-main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: margin-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dh-topbar {
    min-height: var(--topbar-height);
    height: auto;
    position: sticky;
    top: 0;
    z-index: 90;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

[data-theme="dark"] .dh-topbar {
    background-color: rgba(9, 9, 11, 0.85);
}

.dh-topbar-inner {
    height: var(--topbar-height);
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dh-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dh-topbar-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background-color: var(--surface-subtle);
    transition: var(--transition);
}

.dh-topbar-btn:hover {
    color: var(--text-primary);
    background-color: var(--border);
}

.dh-topbar-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 6px;
}

.dh-topbar-nav-item a {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
}

.dh-topbar-nav-item a:hover {
    color: var(--text-primary);
    background-color: var(--surface-subtle);
}

.dh-topbar-nav-item a.is-active {
    color: var(--primary);
    font-weight: 600;
}

.dh-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dh-topbar-submit-btn {
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 10px var(--primary-glow);
    transition: var(--transition);
}

.dh-topbar-submit-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* 主题切换图标显隐 */
.dh-theme-btn .dh-icon-sun {
    display: none;
}
.dh-theme-btn .dh-icon-moon {
    display: flex;
}
[data-theme="dark"] .dh-theme-btn .dh-icon-sun {
    display: flex;
}
[data-theme="dark"] .dh-theme-btn .dh-icon-moon {
    display: none;
}

.dh-topbar-notice-bar {
    background-color: var(--primary-soft);
    color: var(--primary);
    font-size: 12px;
    padding: 7px 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(99, 102, 241, 0.12);
    box-sizing: border-box;
    line-height: 1.4;
}

.dh-topbar-notice-bar .dh-notice-icon {
    flex-shrink: 0;
    font-size: 13px;
    line-height: 1;
}

.dh-topbar-notice-bar .dh-notice-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========================================================
   Hero 搜索区 (Shadcn + AI工具集 样式)
   ======================================================== */
.dh-hero {
    padding: 44px 20px 28px;
    text-align: center;
    position: relative;
}

.dh-hero-container {
    max-width: 820px;
    margin: 0 auto;
}

.dh-domain-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    background-color: var(--surface);
    border: 1px solid var(--border);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.dh-pill-glow {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

.dh-hero-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.dh-gradient-text {
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 40%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .dh-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dh-hero-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* 搜索框上方快捷分类切换 Tab (AI工具集样式) */
.dh-search-filter-tabs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    background-color: var(--surface-subtle);
    padding: 4px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
}

.dh-filter-tab {
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.dh-filter-tab:hover {
    color: var(--text-primary);
}

.dh-filter-tab.is-active {
    background-color: var(--surface);
    color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* 大圆角搜索胶囊 (Pill Search Bar) */
.dh-search-box-wrap {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.dh-search-pill {
    display: flex;
    align-items: center;
    height: 52px;
    background-color: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0 8px 0 18px;
    box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.dh-search-pill:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.dh-search-pill-icon {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.dh-search-pill-input {
    flex: 1;
    height: 100%;
    background: transparent;
    font-size: 14.5px;
    color: var(--text-primary);
}

.dh-search-pill-input::placeholder {
    color: var(--text-muted);
}

.dh-search-pill-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.dh-search-pill-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.04);
}

/* 实时匹配下拉框 (Live Suggest) */
.dh-live-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-hover);
    z-index: 80;
    overflow: hidden;
    text-align: left;
}

.dh-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.dh-suggest-item:last-child {
    border-bottom: none;
}

.dh-suggest-item:hover {
    background-color: var(--surface-subtle);
}

.dh-suggest-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.dh-suggest-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.dh-suggest-desc {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 搜索引擎 Chips */
.dh-engine-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.dh-engine-chip {
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.dh-engine-chip:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.dh-engine-chip.is-active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--primary-glow);
}

/* ========================================================
   实时热点与最新收录榜单 (Billboard Section - 高信息密度热榜)
   ======================================================== */
.dh-billboard-section {
    margin: 0 28px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition);
}

.dh-billboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--surface-subtle);
    border-bottom: 1px solid var(--border);
}

.dh-billboard-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dh-billboard-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.dh-billboard-tab:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

.dh-billboard-tab.is-active {
    color: var(--primary);
    background: var(--surface);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

[data-theme="dark"] .dh-billboard-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .dh-billboard-tab.is-active {
    background: #1e1b4b;
    color: #a5b4fc;
    border-color: rgba(99, 102, 241, 0.4);
}

.dh-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ef4444;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: dh-pulse-dot 1.8s infinite;
}

@keyframes dh-pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.dh-billboard-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dh-billboard-legend {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.dh-billboard-top-link {
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    transition: var(--transition);
}

.dh-billboard-top-link:hover {
    color: var(--primary);
}

.dh-billboard-pane {
    display: block;
}

.dh-billboard-list {
    display: flex;
    flex-direction: column;
}

.dh-billboard-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 140px 100px 90px;
    align-items: center;
    gap: 16px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.15s ease;
}

.dh-billboard-row:hover {
    background-color: var(--surface-subtle);
}

.dh-billboard-col-rank {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dh-billboard-rank-num {
    font-size: 15px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.dh-billboard-rank-num.rank-1 {
    color: #ef4444;
    font-size: 17px;
}

.dh-billboard-rank-num.rank-2 {
    color: #f97316;
    font-size: 17px;
}

.dh-billboard-rank-num.rank-3 {
    color: #f59e0b;
    font-size: 17px;
}

.rank-item-4 .dh-billboard-rank-num,
.rank-item-5 .dh-billboard-rank-num,
.rank-item-6 .dh-billboard-rank-num,
.rank-item-7 .dh-billboard-rank-num,
.rank-item-8 .dh-billboard-rank-num,
.rank-item-9 .dh-billboard-rank-num,
.rank-item-10 .dh-billboard-rank-num {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.dh-billboard-col-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
}

.dh-billboard-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dh-billboard-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.dh-billboard-title a:hover {
    color: var(--primary);
}

.dh-billboard-desc {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.dh-billboard-col-sources {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.dh-billboard-avatars {
    display: inline-flex;
    align-items: center;
}

.dh-avatar-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--surface);
    object-fit: cover;
    background: var(--surface);
    z-index: 4;
}

.dh-avatar-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--surface);
    margin-left: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.dh-avatar-circle.is-c1 {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    z-index: 3;
}

.dh-avatar-circle.is-c2 {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    z-index: 2;
}

.dh-avatar-count {
    margin-left: -4px;
    padding: 1px 6px;
    border-radius: 9999px;
    background: var(--surface-subtle);
    border: 1.5px solid var(--surface);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    z-index: 1;
    line-height: 1.4;
}

[data-theme="dark"] .dh-avatar-icon,
[data-theme="dark"] .dh-avatar-circle {
    border-color: var(--surface);
}

[data-theme="dark"] .dh-avatar-count {
    background: #27272a;
    border-color: var(--surface);
    color: #a1a1aa;
}

.dh-billboard-col-trend {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dh-billboard-sparkline {
    width: 80px;
    height: 24px;
    overflow: visible;
}

.dh-billboard-col-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    min-width: 70px;
}

.dh-billboard-score-val {
    font-size: 15px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: var(--text-primary);
    line-height: 1.2;
}

.dh-score-unit {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 3px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dh-billboard-score-delta {
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
    line-height: 1.2;
}

.dh-billboard-score-delta.trend-up {
    color: #10b981;
}

.dh-billboard-score-delta.trend-down {
    color: #94a3b8;
}

.dh-billboard-score-delta.trend-flat {
    color: #94a3b8;
}

.dh-billboard-more-rows {
    border-top: 1px dashed var(--border);
}

.dh-billboard-sub-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    background: var(--surface-subtle);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.dh-billboard-expand-bar {
    padding: 10px 16px;
    text-align: center;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.dh-billboard-expand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 20px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.dh-billboard-expand-btn:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}

.dh-billboard-expand-btn svg {
    transition: transform 0.25s ease;
}

.dh-billboard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: var(--surface-subtle);
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

.dh-billboard-foot-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: help;
    color: var(--text-muted);
    transition: var(--transition);
}

.dh-billboard-foot-left:hover {
    color: var(--text-secondary);
}

.dh-billboard-foot-link {
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition);
}

.dh-billboard-foot-link:hover {
    color: var(--primary);
}

/* 响应式断点 */
@media (max-width: 900px) {
    .dh-billboard-row {
        grid-template-columns: 36px minmax(0, 1fr) 90px 75px;
        gap: 12px;
        padding: 12px 16px;
    }
    .dh-billboard-col-sources {
        display: none;
    }
}

@media (max-width: 640px) {
    .dh-billboard-section {
        margin: 0 14px 20px;
    }
    .dh-billboard-header {
        padding: 10px 14px;
    }
    .dh-billboard-legend {
        display: none;
    }
    .dh-billboard-row {
        grid-template-columns: 30px minmax(0, 1fr) 60px;
        gap: 10px;
        padding: 10px 14px;
    }
    .dh-billboard-col-trend {
        display: none;
    }
    .dh-billboard-title {
        font-size: 13.5px;
    }
    .dh-billboard-desc {
        font-size: 11px;
    }
    .dh-billboard-score-val {
        font-size: 14px;
    }
    .dh-billboard-footer {
        padding: 9px 14px;
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
}

/* 兼容保留旧版展示样式 */
.dh-showcase-section {
    padding: 0 28px 24px;
}
.dh-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.dh-showcase-tabs {
    display: inline-flex;
    gap: 8px;
}
.dh-showcase-tab {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.dh-showcase-tab.is-active {
    background-color: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}
.dh-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    min-width: 0;
}
.dh-showcase-card {
    position: relative;
    border-radius: var(--radius-card);
    height: 120px;
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
[data-theme="dark"] .dh-showcase-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
}

/* ========================================================
   主体分类站点网格 (AI工具集 4列极简卡片)
   ======================================================== */
.dh-content-sections {
    padding: 0 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.dh-category-section {
    scroll-margin-top: 100px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.dh-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    width: 100%;
    min-width: 0;
    gap: 12px;
}

.dh-category-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.dh-category-title-wrap .dh-icon-svg {
    color: var(--primary);
    flex-shrink: 0;
}

.dh-category-title-wrap h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.dh-category-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    background-color: var(--surface-subtle);
    color: var(--text-muted);
    flex-shrink: 0;
}

.dh-category-more {
    font-size: 12.5px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.dh-category-more:hover {
    color: var(--primary);
}

/* 4列自适应卡片网格 */
.dh-site-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    min-width: 0;
}

/* 单个站点极简卡片 (AI工具集 / Shadcn 标准) */
.dh-site-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    min-width: 0;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.dh-site-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.dh-site-card-main-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.dh-site-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--surface-subtle);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dh-site-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-site-card-icon span {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.dh-site-card-body {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.dh-site-card-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.dh-site-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1 1 auto;
}

.dh-badge {
    font-size: 10.5px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    background-color: var(--primary-soft);
    color: var(--primary);
    flex-shrink: 0;
    white-space: nowrap;
}

.dh-site-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 100%;
}

/* 详情图标微交互 */
.dh-site-card-info-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    opacity: 0;
    transition: var(--transition);
    margin-left: 4px;
    flex-shrink: 0;
}

.dh-site-card:hover .dh-site-card-info-btn {
    opacity: 1;
}

.dh-site-card-info-btn:hover {
    background-color: var(--surface-subtle);
    color: var(--primary);
}

/* 资讯文章卡片流 (横向流媒体卡片，匹配现代化博客与AI工具集设计) */
.dh-article-stream-list,
.dh-article-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.dh-article-stream-card,
.dh-article-card {
    display: flex;
    flex-direction: row;
    gap: 22px;
    align-items: stretch;
    padding: 18px 20px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dh-article-stream-card:hover,
.dh-article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.dh-article-stream-cover,
.dh-article-card-cover {
    width: 260px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--surface-subtle);
    position: relative;
    display: block;
    text-decoration: none;
}

.dh-article-stream-cover img,
.dh-article-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.dh-article-stream-card:hover .dh-article-stream-cover img,
.dh-article-card:hover .dh-article-card-cover img {
    transform: scale(1.05);
}

.dh-article-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(147, 51, 234, 0.08) 100%);
    color: var(--text-muted);
    gap: 6px;
}

.dh-article-cover-fallback span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.dh-article-stream-content,
.dh-article-card-body {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dh-article-stream-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.dh-article-stream-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.dh-article-stream-title a:hover {
    color: var(--primary);
}

.dh-article-tag-badge {
    display: inline-flex;
    align-items: center;
    color: #ef4444;
    font-weight: 600;
    margin-right: 4px;
}

.dh-article-stream-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dh-article-stream-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.dh-article-meta-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dh-article-meta-sort {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.dh-article-meta-sort:hover {
    color: var(--primary);
}

.dh-article-meta-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
}

.dh-article-meta-right {
    display: flex;
    align-items: center;
}

.dh-article-meta-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
}

/* ====================================================
   文章多维 Tab 过滤流与分类板块 (方案一 + 方案三)
   ==================================================== */
.dh-article-hub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.dh-hub-title-icon {
    font-size: 20px;
    line-height: 1;
}

.dh-article-tabs-wrapper {
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}

.dh-article-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.dh-article-tabs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.dh-article-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    user-select: none;
}

.dh-article-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.dh-article-tab.is-active {
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 10px var(--primary-glow);
}

.dh-article-tab .tab-icon {
    font-size: 13px;
    line-height: 1;
}

.dh-article-tab .tab-count {
    display: inline-block;
    padding: 1px 6px;
    font-size: 11px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    opacity: 0.85;
}

.dh-article-tab.is-active .tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* 卡片封面上的分类微标 */
.dh-channel-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    z-index: 2;
}

.dh-channel-badge.is-daily {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.dh-channel-badge.is-news {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
}

.dh-channel-badge.is-tutorial {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.dh-channel-badge.is-report {
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
}

.dh-channel-badge.is-article {
    background: linear-gradient(135deg, #64748b 0%, #334155 100%);
}

.dh-channel-badge.is-custom {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
}

/* 关联工具微标行 */
.dh-article-tools-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.dh-tools-pill-label {
    font-size: 11.5px;
    color: var(--text-muted);
}

.dh-tool-mini-pill {
    display: inline-block;
    padding: 2px 7px;
    font-size: 11px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-weight: 500;
}

/* 热度指数小标 */
.dh-article-meta-hot {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #f97316;
    font-weight: 600;
}

/* 卡片筛选淡入淡出动画 */
@keyframes dhCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dh-card-fade-in {
    animation: dhCardFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 空分类占位展示 */
.dh-article-empty-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-card);
    text-align: center;
    gap: 12px;
}

.dh-article-empty-tab .empty-emoji {
    font-size: 32px;
}

.dh-article-empty-tab p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .dh-article-hub-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .dh-article-tabs-wrapper {
        width: 100%;
    }
}

/* 空状态 */
.dh-empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.dh-empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.dh-empty-state p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.dh-primary-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
}

/* 列表页顶部 Banner (分类/搜索页) */
.dh-list-page-header {
    padding: 30px 28px 20px;
}

.dh-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.dh-breadcrumb a {
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.dh-breadcrumb a:hover {
    color: var(--primary);
}

.dh-breadcrumb .dh-breadcrumb-sep {
    color: var(--border-hover, #cbd5e1);
    user-select: none;
    font-size: 11px;
}

.dh-breadcrumb span:last-child {
    color: var(--text-muted);
    word-break: break-all;
}

.dh-list-page-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.dh-list-page-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.dh-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.dh-pagination span, .dh-pagination a {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 9999px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dh-pagination a:hover {
    background-color: var(--primary-soft);
    border-color: rgba(99, 102, 241, 0.35);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.dh-pagination span {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-color: transparent;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.32);
}

/* ========================================================
   友情链接与页脚 (Footer - 参考图2)
   ======================================================== */
.dh-links-section {
    padding: 0 28px 24px;
}

.dh-links-panel {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px 24px;
    box-shadow: var(--shadow-card);
}

.dh-links-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dh-links-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.dh-links-title-wrap h2 {
    font-size: 15px;
    font-weight: 700;
}

.dh-links-apply {
    font-size: 12px;
    color: var(--primary);
}

.dh-links-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dh-friend-link-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background-color: var(--surface-subtle);
    border: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.dh-friend-link-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.dh-friend-link-icon {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: cover;
}

.dh-footer {
    border-top: 1px solid var(--border);
    background-color: var(--surface);
    padding: 28px;
    margin-top: auto;
}

.dh-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.dh-footer-logo {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.dh-footer-brand p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.dh-footer-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ========================================================
   右下角悬浮控制台 (Floating Buttons)
   ======================================================== */
.dh-floating-controls {
    position: fixed;
    right: 24px;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
}

.dh-float-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.dh-float-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

#dh-back-to-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

#dh-back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dh-theme-toggle-float .dh-icon-sun {
    display: none;
}
.dh-theme-toggle-float .dh-icon-moon {
    display: flex;
}
[data-theme="dark"] .dh-theme-toggle-float .dh-icon-sun {
    display: flex;
}
[data-theme="dark"] .dh-theme-toggle-float .dh-icon-moon {
    display: none;
}

/* ========================================================
   响应式断点适配 (Responsive Breakpoints)
   ======================================================== */
@media (max-width: 1280px) {
    .dh-site-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .dh-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .dh-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 280px !important;
        max-width: 82vw;
        transform: translateX(-100%);
        z-index: 100;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        background-color: var(--surface);
    }

    body.dh-sidebar-open .dh-sidebar {
        transform: translateX(0);
    }

    .dh-sidebar .dh-brand-info {
        display: flex !important;
    }

    .dh-sidebar .dh-sidebar-section-title,
    .dh-sidebar .dh-sidebar-text,
    .dh-sidebar .dh-sidebar-footer span {
        display: inline-block !important;
    }

    .dh-sidebar .dh-sidebar-section-title {
        display: block !important;
    }

    .dh-sidebar .dh-sidebar-count {
        display: inline-block !important;
    }

    .dh-sidebar .dh-sidebar-link {
        justify-content: flex-start !important;
        padding: 10px 14px !important;
    }

    .dh-sidebar-close-btn {
        display: flex !important;
    }

    .dh-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(2px);
        z-index: 95;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    body.dh-sidebar-open .dh-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .dh-main-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .dh-topbar-nav {
        display: none;
    }

    .dh-site-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dh-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .dh-topbar-inner {
        padding: 0 14px;
    }

    .dh-topbar-notice-bar {
        padding: 6px 14px;
        font-size: 11.5px;
    }

    .dh-breadcrumb {
        font-size: 11.5px;
        margin-bottom: 12px;
        gap: 4px 6px;
    }

    .dh-hero {
        padding: 26px 14px 18px;
    }

    .dh-hero-title {
        font-size: 24px;
    }

    .dh-search-filter-tabs {
        overflow-x: auto;
        max-width: 100%;
        justify-content: flex-start;
        padding: 3px;
        gap: 4px;
    }

    .dh-filter-tab {
        padding: 4px 12px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .dh-content-sections,
    .dh-showcase-section,
    .dh-links-section {
        padding-left: 14px;
        padding-right: 14px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .dh-site-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px;
        width: 100%;
    }

    .dh-site-card {
        padding: 10px 12px;
        border-radius: 10px;
        width: 100%;
    }

    .dh-site-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .dh-site-card-title {
        font-size: 13.5px;
    }

    .dh-site-card-desc {
        font-size: 11.5px;
    }

    .dh-site-card-info-btn {
        opacity: 0.6;
        width: 26px;
        height: 26px;
    }

    .dh-showcase-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
        width: 100%;
    }

    .dh-article-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
        width: 100%;
    }

    .dh-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 14px;
    }
}

/* ========================================================
   详情页专用样式 (Detail Page - Site Entry & Article)
   ======================================================== */
.dh-detail-wrap, .dh-article-wrap {
    padding: 24px 28px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.dh-panel {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 24px;
    margin-bottom: 24px;
}

.dh-site-hero-card {
    padding: 28px;
}

.dh-site-hero-main {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 28px;
}

.dh-site-preview {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background-color: var(--surface-subtle);
}

.dh-browser-bar {
    height: 28px;
    background-color: var(--border);
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
}

.dh-browser-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.dh-browser-bar small {
    margin-left: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.dh-site-preview img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    cursor: zoom-in;
}

.dh-site-hero-copy {
    display: flex;
    flex-direction: column;
}

.dh-site-head-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.dh-site-head-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border);
    object-fit: cover;
}

.dh-site-head-copy h1 {
    font-size: 22px;
    font-weight: 700;
}

.dh-site-desc-lead {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

/* 按钮组 */
.dh-site-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.dh-primary-link, .dh-btn-visit {
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 4px 14px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.dh-primary-link:hover, .dh-btn-visit:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.dh-secondary-link {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background-color: var(--surface-subtle);
    border: 1px solid var(--border);
    color: var(--text-primary) !important;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.dh-secondary-link:hover {
    background-color: var(--surface-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.dh-secondary-link.is-copied {
    background-color: #10b981;
    border-color: #10b981;
    color: #ffffff !important;
}

/* 详情页头部行与图标 */
.dh-site-title-line {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.dh-site-title-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    object-fit: cover;
    flex-shrink: 0;
}

.dh-site-title-block {
    flex: 1;
    min-width: 0;
}

.dh-site-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.dh-site-title-row h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.dh-site-lead {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 元数据网格 */
.dh-site-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-card);
    background-color: var(--surface-subtle);
    border: 1px solid var(--border);
    margin: 18px 0 0 0;
}

.dh-site-info-grid > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dh-site-info-grid dt {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.dh-site-info-grid dd {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    word-break: break-all;
}

.dh-site-info-grid dd a {
    color: var(--primary);
}

.dh-star-rating {
    color: #f59e0b;
    letter-spacing: 2px;
}

/* SEO 外链 */
.dh-seo-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 8px 12px;
    background-color: var(--surface-subtle);
    border-radius: 8px;
    border: 1px solid var(--border);
    flex-wrap: wrap;
}

.dh-seo-links a {
    padding: 2px 8px;
    border-radius: 4px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.dh-seo-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* 人气走势模块 */
.dh-trend-section {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.dh-mini-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.dh-mini-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dh-mini-section-title h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    border: none;
}

.dh-trend-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background-color: var(--surface-subtle);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.dh-trend-metrics {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
}

.dh-trend-metrics strong {
    color: var(--primary);
    font-weight: 600;
}

/* ========================================================
   金融K线与可自由拖动流量图 (Interactive Stock-style K-Line Chart)
   ======================================================== */
.dh-kline-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px 22px 16px;
    box-shadow: var(--shadow-card);
    margin: 12px 0 20px;
    transition: var(--transition);
}

.dh-kline-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}

.dh-kline-modes {
    display: inline-flex;
    padding: 3px;
    border-radius: var(--radius-pill);
    background-color: var(--surface-subtle);
    border: 1px solid var(--border);
    gap: 3px;
}

.dh-kline-mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.dh-kline-mode-btn:hover {
    color: var(--text-primary);
}

.dh-kline-mode-btn.is-active {
    background-color: var(--surface);
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dh-kline-hud {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-muted);
}

.dh-kline-hud .hud-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: var(--surface-subtle);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.dh-kline-hud small {
    color: var(--text-muted);
    font-size: 11px;
}

.dh-kline-hud strong {
    color: var(--text-primary);
    font-weight: 600;
}

.dh-kline-hud strong.is-up {
    color: #10b981;
}

.dh-kline-hud strong.is-down {
    color: #f43f5e;
}

.dh-kline-stage {
    position: relative;
    width: 100%;
    touch-action: pan-y;
    user-select: none;
    cursor: crosshair;
    padding: 4px 0;
}

.dh-kline-svg {
    width: 100%;
    height: 280px;
    display: block;
    overflow: visible;
}

.dh-kline-grid line {
    stroke: var(--border);
    stroke-dasharray: 4, 4;
    stroke-width: 1;
    opacity: 0.7;
}

.dh-kline-yaxis text {
    fill: var(--text-muted);
    font-size: 11px;
    text-anchor: end;
    font-family: inherit;
    font-weight: 500;
}

.dh-kline-xaxis text {
    fill: var(--text-muted);
    font-size: 11px;
    text-anchor: middle;
    font-family: inherit;
    font-weight: 500;
}

.dh-kline-xaxis text.is-active {
    fill: var(--primary);
    font-weight: 700;
}

.dh-kline-dots circle {
    fill: var(--surface);
    stroke: #8b5cf6;
    stroke-width: 2.2px;
    transition: r 0.15s ease-out, stroke-width 0.15s ease-out;
}

.dh-kline-dots circle.is-today {
    fill: #6366f1;
    stroke: #ffffff;
    stroke-width: 2px;
}

.candle-bar {
    transition: opacity 0.15s;
}

.candle-bar:hover {
    opacity: 0.85;
}

.candle-up {
    fill: #10b981;
    stroke: #10b981;
}

.candle-down {
    fill: #f43f5e;
    stroke: #f43f5e;
}

.candle-vol {
    opacity: 0.38;
}

.dh-kline-tooltip {
    position: absolute;
    top: 10px;
    left: 0;
    padding: 8px 12px;
    background-color: var(--surface);
    border: 1px solid var(--border-hover);
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.18), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 30;
    font-size: 12px;
    min-width: 140px;
    transform: translate(-50%, -100%);
    transition: opacity 0.12s ease-out;
}

.dh-kline-tooltip .dh-tip-date {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--border);
    font-size: 11.5px;
}

.dh-kline-tooltip .dh-tip-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    line-height: 1.5;
    color: var(--text-secondary);
    font-size: 11.5px;
}

.dh-kline-tooltip .dh-tip-row strong {
    color: var(--primary);
}

.dh-kline-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 11.5px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 10px;
}

.dh-kline-drag-tip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dh-kline-legend {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dh-kline-legend .legend-up,
.dh-kline-legend .legend-down {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.dot-up {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
}

.dot-down {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f43f5e;
}

@media (max-width: 640px) {
    .dh-kline-card {
        padding: 14px 12px 12px;
    }
    .dh-kline-svg {
        height: 240px;
    }
    .dh-kline-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .dh-kline-hud {
        width: 100%;
        gap: 6px;
    }
    .dh-kline-hud .hud-item {
        font-size: 11px;
        padding: 2px 6px;
    }
}

.dh-section-kicker {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 4px;
}

.dh-detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.dh-detail-tags {
    margin: 24px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dh-detail-tags a {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background-color: var(--surface-subtle);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.dh-detail-tags a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* 上一篇 / 下一篇 导航组件 (参考 AI工具集 2列对齐布局) */
.dh-neighbor-nav-wrap,
.dh-neighbor-nav {
    display: block;
    margin: 28px 0 20px;
    padding-top: 10px;
}

.dh-neighbor-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.dh-neighbor-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.dh-neighbor-prev {
    text-align: left;
    align-items: flex-start;
}

.dh-neighbor-next {
    text-align: right;
    align-items: flex-end;
}

.dh-neighbor-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.dh-neighbor-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.dh-neighbor-title:hover {
    color: var(--primary);
}

.dh-neighbor-empty {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* 相关文章卡片推荐流 (3列网格，完美复刻图3 AI工具集风格) */
.dh-related-articles-section {
    margin: 32px 0 10px;
}

.dh-related-articles-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.dh-related-articles-header .dh-icon-svg {
    color: var(--primary);
}

.dh-related-articles-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.dh-related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dh-related-article-card {
    display: flex;
    flex-direction: column;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.dh-related-article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.dh-related-article-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--surface-subtle);
    display: block;
    position: relative;
    text-decoration: none;
}

.dh-related-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dh-related-article-card:hover .dh-related-article-cover img {
    transform: scale(1.05);
}

.dh-related-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(147, 51, 234, 0.08) 100%);
    color: var(--text-secondary);
    font-size: 20px;
    font-weight: 600;
}

.dh-related-article-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
}

.dh-related-article-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 10px;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dh-related-article-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.dh-related-article-title a:hover {
    color: var(--primary);
}

.dh-related-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--text-muted);
    padding-top: 8px;
    border-top: 1px dashed var(--border);
}

.dh-related-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dh-related-author-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary-light, rgba(59, 130, 246, 0.15));
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

.dh-related-author-name {
    color: var(--text-secondary);
    font-weight: 500;
}

.dh-related-likes {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ef4444;
    font-size: 11px;
}

/* 详情内容 */
.dh-detail-content {
    line-height: 1.8;
    color: var(--text-secondary);
}

.dh-detail-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.dh-detail-content p {
    margin-bottom: 14px;
}

/* 文章详情页面布局 (2-Column 布局，左侧正文，右侧热门工具侧边栏，完美复刻图2) */
.dh-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 28px 40px;
    align-items: start;
}

.dh-article-main {
    min-width: 0;
}

.dh-article-body-panel {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 28px 32px;
    margin-bottom: 24px;
}

.dh-article-header {
    margin-bottom: 22px;
}

.dh-article-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    background-color: var(--primary-light, rgba(59, 130, 246, 0.1));
    border-radius: 6px;
    margin-bottom: 12px;
}

.dh-article-main-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0 0 14px 0;
}

.dh-article-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.dh-article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dh-article-meta-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.dh-article-meta-item a:hover {
    color: var(--primary);
}

.dh-article-cover {
    margin: 20px 0 24px;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
    background-color: var(--surface-subtle);
}

.dh-article-cover img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

/* 详情 Markdown 标题竖条强调 (参考图2) */
.dh-detail-markdown h2 {
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    margin: 28px 0 16px;
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.dh-detail-markdown h3 {
    border-left: 3px solid #38bdf8;
    padding-left: 10px;
    margin: 22px 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

/* 侧边栏与小工具组件 */
.dh-article-sidebar-col {
    position: sticky;
    top: 76px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dh-sidebar-widget-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 18px 20px;
    margin-bottom: 18px;
}

.dh-widget-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.dh-widget-card-icon {
    font-size: 16px;
    line-height: 1;
}

.dh-widget-card-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.dh-sidebar-mini-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dh-mini-tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.dh-mini-tool-item:hover {
    background-color: var(--surface-subtle);
    transform: translateX(2px);
}

.dh-mini-tool-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
    background-color: var(--surface-subtle);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.dh-mini-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-mini-tool-info {
    flex: 1 1 0%;
    min-width: 0;
}

.dh-mini-tool-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.dh-mini-tool-name span:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dh-mini-badge {
    font-size: 10.5px;
    padding: 1px 5px;
    border-radius: 4px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    font-weight: 600;
    flex-shrink: 0;
}

.dh-mini-tool-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1024px) {
    .dh-article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 18px 16px 30px;
    }
    .dh-article-sidebar-col {
        position: static;
        margin-top: 10px;
    }
}

@media (max-width: 900px) {
    .dh-site-hero-main {
        grid-template-columns: 1fr;
    }
    .dh-site-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dh-related-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .dh-article-stream-card,
    .dh-article-card {
        flex-direction: column;
        gap: 12px;
        padding: 14px;
    }
    .dh-article-stream-cover,
    .dh-article-card-cover {
        width: 100%;
        height: 170px;
    }
    .dh-article-stream-title {
        font-size: 15.5px;
    }
    .dh-article-body-panel {
        padding: 18px 16px;
    }
    .dh-article-main-title {
        font-size: 20px;
    }
    .dh-detail-wrap, .dh-article-layout {
        padding: 16px 14px 30px;
    }
}

@media (max-width: 640px) {
    .dh-site-info-grid {
        grid-template-columns: 1fr;
    }
    .dh-neighbor-box {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .dh-neighbor-next {
        text-align: left;
        align-items: flex-start;
    }
    .dh-related-articles-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

/* ==========================================================================
   文章图片全屏预览组件 (Shadcn 风格磨砂玻璃画廊 Lightbox)
   ========================================================================== */
.dh-detail-markdown img,
#emlogEchoLog img,
.dh-site-preview img,
.dh-article-cover img,
.dh-lightbox-target {
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dh-detail-markdown img:hover,
#emlogEchoLog img:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.dh-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.dh-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.dh-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 12, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1;
}

.dh-lightbox-bar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    color: #f4f4f5;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    user-select: none;
}

.dh-lightbox-info {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 60%;
    overflow: hidden;
}

.dh-lightbox-title {
    font-size: 13.5px;
    font-weight: 500;
    color: #f4f4f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dh-lightbox-counter {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 11.5px;
    color: #d4d4d8;
    font-weight: 600;
}

.dh-lightbox-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dh-lb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f4f4f5;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.dh-lb-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    transform: scale(1.05);
}

.dh-lb-btn:active {
    transform: scale(0.96);
}

.dh-lb-btn.dh-lb-close:hover {
    background: #ef4444;
    border-color: #ef4444;
}

.dh-lightbox-stage {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.dh-lightbox-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 92vw;
    max-height: 86vh;
    touch-action: none;
    user-select: none;
}

.dh-lightbox-img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    cursor: grab;
}

.dh-lightbox-img:active {
    cursor: grabbing;
}

.dh-lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.dh-lb-nav-btn:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-50%) scale(1.08);
}

.dh-lb-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.dh-lb-prev { left: 24px; }
.dh-lb-next { right: 24px; }

@media (max-width: 768px) {
    .dh-lightbox-bar {
        padding: 10px 14px;
    }
    .dh-lb-btn {
        width: 34px;
        height: 34px;
    }
    .dh-lb-nav-btn {
        width: 40px;
        height: 40px;
    }
    .dh-lb-prev { left: 10px; }
    .dh-lb-next { right: 10px; }
    .dh-lightbox-img {
        max-width: 95vw;
        max-height: 75vh;
    }
}

/* ========================================================
   AIHOT 融合专区：AI 早报、周报、热点与工具穿透系统
   ======================================================== */

/* 1. 侧边栏 HOT 角标 */
.dh-sidebar-badge-hot {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

/* 2. 首页 Hero AI 早报胶囊 */
.dh-hero-daily-capsule-wrap {
    margin: 14px auto 18px;
    display: flex;
    justify-content: center;
}

.dh-hero-daily-capsule {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
    text-decoration: none;
    transition: var(--transition);
    max-width: 90%;
}

.dh-hero-daily-capsule:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.16);
}

.dh-capsule-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.dh-capsule-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ffffff;
    animation: dhPulseDot 1.6s infinite ease-in-out;
}

@keyframes dhPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.dh-capsule-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 380px;
}

.dh-capsule-arrow {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

/* 3. 首页早报与周报网格 */
.dh-daily-stream-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.dh-daily-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dh-daily-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    opacity: 0.85;
}

.dh-daily-card.is-weekly::before {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.dh-daily-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.dh-daily-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 11.5px;
}

.dh-daily-type-tag {
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 2px 8px;
    border-radius: 4px;
}

.dh-daily-card.is-weekly .dh-daily-type-tag {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
}

.dh-daily-card-date {
    color: var(--text-muted);
}

.dh-daily-card-hot {
    margin-left: auto;
    font-weight: 600;
    color: #ef4444;
}

.dh-daily-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 10px;
}

.dh-daily-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.dh-daily-card-title a:hover {
    color: var(--primary);
}

.dh-daily-card-summary {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.dh-daily-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 12px;
}

.dh-daily-card-views {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dh-daily-card-read-btn {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.dh-daily-card-read-btn:hover {
    text-decoration: underline;
}

/* 4. AI 早报专属单篇排版 (dh-daily-layout) */
.dh-daily-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 24px 44px;
}

.dh-daily-header-card {
    padding: 28px 32px 24px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.dh-daily-header-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
}

.dh-daily-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.dh-daily-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 8px var(--primary-glow);
}

.dh-daily-engine-badge {
    font-size: 11.5px;
    color: var(--text-muted);
    background: var(--surface-subtle);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
}

.dh-daily-main-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.dh-daily-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.dh-daily-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dh-daily-actions-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.dh-daily-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.dh-btn-copy-daily {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px var(--primary-glow);
}

.dh-btn-copy-daily:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.dh-btn-poster {
    background: var(--surface-subtle);
    border-color: var(--border);
    color: var(--text-primary);
}

.dh-btn-poster:hover {
    background: var(--border);
    border-color: var(--border-hover);
}

/* 核心导读卡片 (答案先行) */
.dh-daily-takeaway-card {
    padding: 22px 28px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(168, 85, 247, 0.06) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-card);
}

.dh-takeaway-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.dh-takeaway-content {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-primary);
}

/* 早报正文主体 */
.dh-daily-body-card {
    padding: 32px 36px 40px;
    margin-bottom: 24px;
}

/* 5. 早报内嵌涉及工具直达卡片 */
.dh-daily-tools-section {
    margin: 36px 0 28px;
    padding: 22px 24px;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.dh-daily-tools-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.dh-daily-tools-title small {
    font-size: 12px;
    color: var(--text-muted);
}

.dh-daily-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dh-daily-tool-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.dh-daily-tool-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.dh-tool-card-icon img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
}

.dh-tool-card-info {
    flex: 1;
    min-width: 0;
}

.dh-tool-card-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.dh-tool-badge {
    font-size: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 1px 6px;
    border-radius: 4px;
}

.dh-tool-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dh-tool-arrow {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

/* 6. 导航工具详情页：关联情报追踪 (Tool Mentions) */
.dh-tool-mentions-section {
    padding: 24px 28px;
    margin-top: 24px;
}

.dh-mention-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.dh-mention-card {
    padding: 14px 16px;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition);
}

.dh-mention-card:hover {
    border-color: var(--primary);
    background: var(--surface);
    transform: translateY(-2px);
}

.dh-mention-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
}

.dh-mention-type-badge {
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 2px 7px;
    border-radius: 4px;
}

.dh-mention-type-badge.is-daily {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.dh-mention-time {
    color: var(--text-muted);
}

.dh-mention-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.dh-mention-summary {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 7. 文章页热度与一手信源徽章 */
.dh-article-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.dh-hot-score-badge {
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.dh-source-badge {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.dh-source-badge a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.dh-article-summary-box {
    margin: 16px 0 20px;
    padding: 14px 18px;
    background: var(--primary-soft);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    color: var(--text-primary);
}

.dh-summary-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.dh-summary-text {
    font-size: 13.5px;
    line-height: 1.6;
}

.dh-article-tools-box {
    margin: 28px 0;
    padding: 18px 20px;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.dh-tools-box-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.dh-tools-box-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dh-tool-mini-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.dh-tool-mini-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.dh-tool-mini-card img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.dh-tool-mini-info strong {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
}

.dh-tool-mini-info span {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* 8. 全局 Toast 提示 */
.dh-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.92);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.dh-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dh-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    font-size: 11px;
}

/* 9. 早报海报分享弹窗 (Poster Modal) */
.dh-poster-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dh-poster-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.dh-poster-dialog {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 10;
    overflow: hidden;
}

.dh-poster-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.dh-poster-header h3 {
    font-size: 15px;
    font-weight: 700;
}

.dh-poster-close-btn {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted);
}

.dh-poster-stage {
    padding: 20px;
    overflow-y: auto;
    background: var(--surface-subtle);
    display: flex;
    justify-content: center;
}

.dh-poster-card {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 14px;
    padding: 26px 24px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.dh-poster-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 14px;
}

.dh-poster-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.dh-poster-brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6366f1;
}

.dh-poster-badge {
    background: #6366f1;
    color: #ffffff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
}

.dh-poster-card-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 6px;
}

.dh-poster-card-sub {
    font-size: 11.5px;
    color: #94a3b8;
    margin-bottom: 14px;
}

.dh-poster-divider {
    height: 1px;
    background: #334155;
    margin-bottom: 14px;
}

.dh-poster-lead-box {
    background: #1e293b;
    border-left: 3px solid #6366f1;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.dh-poster-lead-box strong {
    display: block;
    font-size: 11.5px;
    color: #818cf8;
    margin-bottom: 4px;
}

.dh-poster-lead-box p {
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.5;
}

.dh-poster-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
}

.dh-poster-points li::before {
    content: "• ";
    color: #818cf8;
    font-weight: bold;
}

.dh-poster-card-footer {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px dashed #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
}

.dh-poster-qr-hint strong {
    display: block;
    color: #ffffff;
}

.dh-poster-qr-hint span {
    color: #64748b;
}

.dh-poster-slogan {
    color: #818cf8;
    font-weight: 600;
}

.dh-poster-dialog-actions {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    justify-content: flex-end;
}

.dh-poster-action-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}

/* 响应式断点适配 */
@media (max-width: 1024px) {
    .dh-daily-stream-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .dh-daily-stream-grid {
        grid-template-columns: 1fr;
    }
    .dh-daily-layout {
        padding: 16px 14px 30px;
    }
    .dh-daily-header-card {
        padding: 20px 18px 18px;
    }
    .dh-daily-main-title {
        font-size: 20px;
    }
    .dh-daily-body-card {
        padding: 20px 18px 30px;
    }
    .dh-daily-tools-grid {
        grid-template-columns: 1fr;
    }
    .dh-mention-list {
        grid-template-columns: 1fr;
    }
    .dh-tools-box-list {
        grid-template-columns: 1fr;
    }
    .dh-hero-daily-capsule {
        max-width: 95%;
    }
    .dh-capsule-title {
        max-width: 200px;
    }
}

/* ========================================================
   全站实时热度总榜专页 (Full Billboard Ranking Page)
   ======================================================== */
.dh-billboard-page-main {
    padding: 24px 28px 48px;
    width: 100%;
    box-sizing: border-box;
}

.dh-billboard-page-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dh-billboard-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.dh-billboard-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.dh-billboard-breadcrumb a:hover {
    color: var(--primary);
}

.dh-crumb-sep {
    color: var(--text-muted);
}

.dh-crumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

.dh-fullboard-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.07) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 30px 34px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .dh-fullboard-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.06) 100%);
}

.dh-hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 9999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.dh-fullboard-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dh-title-sub-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--primary-soft);
    color: var(--primary);
}

.dh-fullboard-desc {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 820px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.dh-fullboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.dh-fb-metric-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}

.dh-fb-metric-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.dh-fb-metric-num {
    font-size: 20px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: var(--text-primary);
}

.dh-fb-metric-num small {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dh-fb-metric-num.highlight {
    color: #ef4444;
}

.dh-fullboard-controls-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-card);
}

.dh-fullboard-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.dh-fb-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dh-fb-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.dh-fb-tab:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.dh-fb-tab.is-active {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 700;
}

.dh-fb-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 290px;
    max-width: 100%;
}

.dh-fb-search-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    pointer-events: none;
}

.dh-fb-search-input {
    width: 100%;
    height: 38px;
    padding: 0 14px 0 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface-subtle);
    font-size: 13px;
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
}

.dh-fb-search-input:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.dh-fb-cat-chips-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.dh-fb-cat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.dh-fb-cat-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.dh-fb-chip {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.dh-fb-chip:hover {
    background: var(--surface-subtle);
    color: var(--text-primary);
}

.dh-fb-chip.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.dh-fullboard-main-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.dh-fullboard-thead {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 130px 100px 95px 140px;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: var(--surface-subtle);
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.dh-fullboard-list {
    display: flex;
    flex-direction: column;
}

.dh-fullboard-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 130px 100px 95px 140px;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.15s ease;
}

.dh-fullboard-row:hover {
    background-color: var(--surface-subtle);
}

.dh-fullboard-row:last-child {
    border-bottom: none;
}

.dh-fb-col-rank {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dh-fb-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.dh-fb-rank-badge.rank-1 {
    color: #ef4444;
    font-size: 20px;
}

.dh-fb-rank-badge.rank-2 {
    color: #f97316;
    font-size: 20px;
}

.dh-fb-rank-badge.rank-3 {
    color: #f59e0b;
    font-size: 20px;
}

.rank-item-4 .dh-fb-rank-badge,
.rank-item-5 .dh-fb-rank-badge,
.rank-item-6 .dh-fb-rank-badge,
.rank-item-7 .dh-fb-rank-badge,
.rank-item-8 .dh-fb-rank-badge,
.rank-item-9 .dh-fb-rank-badge,
.rank-item-10 .dh-fb-rank-badge {
    color: var(--text-muted);
    font-size: 14px;
}

.dh-fb-col-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.dh-fb-avatar-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dh-fb-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-fb-avatar-fallback {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.dh-fb-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.dh-fb-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.dh-fb-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}

.dh-fb-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.dh-fb-title a:hover {
    color: var(--primary);
}

.dh-fb-cat-tag {
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: var(--surface-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.dh-fb-summary {
    margin: 0;
    font-size: 12.5px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.dh-fb-col-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.dh-fb-btn-visit {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.dh-fb-btn-visit:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.dh-fb-btn-detail {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: var(--transition);
}

.dh-fb-btn-detail:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
}

.dh-fb-empty-notice {
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.dh-fb-empty-notice h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.dh-fb-empty-notice p {
    font-size: 13px;
    margin: 0;
}

.dh-fullboard-rules-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 36px 36px 32px;
    box-shadow: var(--shadow-card);
}

.dh-rules-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 30px;
}

.dh-rules-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    margin-bottom: 8px;
}

.dh-rules-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.dh-rules-header p {
    font-size: 13.5px;
    color: var(--text-muted);
}

.dh-rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.dh-rule-card {
    padding: 22px;
    border-radius: 12px;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition);
}

.dh-rule-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-hover);
}

.dh-rule-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dh-rule-icon.is-i1 {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.dh-rule-icon.is-i2 {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.dh-rule-icon.is-i3 {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.dh-rule-card h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.dh-rule-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.dh-rules-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.dh-cta-text h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.dh-cta-text p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.dh-cta-btn {
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.dh-cta-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* 榜单专页响应式断点 */
@media (max-width: 1024px) {
    .dh-fullboard-hero {
        padding: 24px;
    }
    .dh-fullboard-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .dh-rules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .dh-fullboard-thead {
        display: none;
    }
    .dh-fullboard-row {
        grid-template-columns: 36px minmax(0, 1fr) 75px auto;
        gap: 12px;
        padding: 12px 16px;
    }
    .dh-fb-col-sources,
    .dh-fb-col-trend {
        display: none;
    }
    .dh-rules-cta-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .dh-billboard-page-main {
        padding: 16px 14px 36px;
    }
    .dh-fullboard-title {
        font-size: 22px;
    }
    .dh-fullboard-metrics {
        grid-template-columns: 1fr;
    }
    .dh-fb-search-wrap {
        width: 100%;
    }
    .dh-fb-cat-chips-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
    .dh-fullboard-row {
        grid-template-columns: 30px minmax(0, 1fr) 60px auto;
        gap: 8px;
        padding: 10px 12px;
    }
    .dh-fb-summary {
        display: none;
    }
    .dh-fb-btn-detail {
        display: none;
    }
}

/* ========================================================
   预留广告位系统样式 (Ad Slots & Sponsored Components)
   ======================================================== */
.dh-ad-slot {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 24px;
    box-sizing: border-box;
    transition: var(--transition);
}

.dh-ad-slot-home_hero {
    margin: 0 28px 24px;
    width: auto;
}

.dh-ad-slot-billboard_top {
    margin-bottom: 22px;
}

.dh-ad-slot-detail_bottom {
    margin: 24px 0;
}

.dh-ad-slot-footer_bar {
    max-width: 1360px;
    margin: 0 auto 24px;
    padding: 0 28px;
    width: auto;
}

.dh-ad-banner-link {
    position: relative;
    display: block;
    width: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: var(--transition);
}

.dh-ad-banner-link:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.dh-ad-banner-img {
    display: block;
    width: 100%;
    max-height: 130px;
    object-fit: cover;
    border-radius: inherit;
}

.dh-ad-badge {
    position: absolute;
    right: 10px;
    bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.48);
    color: #ffffff;
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 5;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.dh-ad-code-mode {
    position: relative;
}

.dh-ad-code-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-card);
    padding: 14px;
    overflow: hidden;
}

/* 原生赞助商推荐卡片 (分类网格流穿插) */
.dh-site-card.dh-sponsored-card {
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    background: linear-gradient(135deg, var(--surface) 0%, rgba(245, 158, 11, 0.04) 100%);
    box-shadow: 0 2px 8px -2px rgba(245, 158, 11, 0.12);
}

.dh-site-card.dh-sponsored-card:hover {
    border-color: #f59e0b !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -4px rgba(245, 158, 11, 0.22);
}

.dh-site-badge.is-sponsored {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    font-weight: 700;
}

[data-theme="dark"] .dh-site-card.dh-sponsored-card {
    border-color: rgba(245, 158, 11, 0.3) !important;
    background: linear-gradient(135deg, #18181b 0%, rgba(245, 158, 11, 0.08) 100%);
}

[data-theme="dark"] .dh-ad-banner-link {
    background: var(--surface);
    border-color: var(--border);
}

/* 广告位响应式断点 */
@media (max-width: 768px) {
    .dh-ad-slot-home_hero {
        margin: 0 14px 18px;
    }
    .dh-ad-slot-footer_bar {
        padding: 0 14px;
        margin-bottom: 18px;
    }
    .dh-ad-banner-img {
        max-height: 85px;
    }
}

/* ========================================================
   首页早报卡片更多引导按钮 (Homepage Daily Section More Button)
   ======================================================== */
.dh-daily-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 4px;
    margin-bottom: 28px;
}

.dh-daily-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.dh-daily-more-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light, rgba(99, 102, 241, 0.08));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================================
   AI 每日早报与行业周报完整归档专页 (Full Daily Archive Page)
   ======================================================== */
.dh-daily-page-main {
    padding: 24px 28px 48px;
    width: 100%;
    box-sizing: border-box;
}

.dh-daily-page-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dh-fulldaily-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 30px 34px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .dh-fulldaily-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(6, 182, 212, 0.06) 100%);
}

.dh-fulldaily-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dh-fulldaily-desc {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 820px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.dh-fulldaily-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.dh-fd-metric-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}

.dh-fd-metric-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.dh-fd-metric-num {
    font-size: 20px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: var(--text-primary);
}

.dh-fd-metric-num small {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dh-fd-metric-num.highlight {
    color: #ef4444;
}

.dh-fulldaily-controls-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-card);
}

.dh-fulldaily-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.dh-fd-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dh-fd-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.dh-fd-tab:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.dh-fd-tab.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.dh-fd-tab.is-active .dh-live-dot {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.dh-fd-search-wrap {
    position: relative;
    width: 320px;
    max-width: 100%;
}

.dh-fd-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.dh-fd-search-input {
    width: 100%;
    height: 38px;
    padding: 0 14px 0 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
}

.dh-fd-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.dh-daily-empty-notice {
    padding: 56px 20px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dh-daily-empty-notice svg {
    color: var(--text-muted);
    opacity: 0.7;
    margin-bottom: 6px;
}

.dh-daily-empty-notice h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.dh-daily-empty-notice p {
    font-size: 13px;
    color: var(--text-muted);
}

.dh-daily-page-footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.dh-daily-back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.dh-daily-back-home-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dh-daily-back-home-btn.secondary {
    color: var(--text-secondary);
    background: var(--surface-subtle);
}

@media (max-width: 900px) {
    .dh-daily-page-main {
        padding: 18px 16px 36px;
    }
    .dh-fulldaily-hero {
        padding: 22px 20px;
    }
    .dh-fulldaily-title {
        font-size: 22px;
    }
    .dh-fulldaily-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .dh-fd-search-wrap {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .dh-fulldaily-metrics {
        grid-template-columns: 1fr;
    }
    .dh-fd-tabs {
        width: 100%;
    }
    .dh-fd-tab {
        flex: 1;
        justify-content: center;
        padding: 7px 10px;
        font-size: 12px;
    }
}

/* ========================================================
   VPS 优惠活动专区与完整雷达专页 (VPS Deals Radar UI)
   ======================================================== */
.dh-vps-home-sub-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
    margin-left: 4px;
}

[data-theme="dark"] .dh-vps-home-sub-pill {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.25);
}

.dh-vps-home-grid,
.dh-vps-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.dh-vps-home-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dh-vps-home-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #06b6d4, #6366f1);
    opacity: 0.85;
}

.dh-vps-home-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.dh-vps-hc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.dh-vps-hc-provider-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.dh-vps-hc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(6, 182, 212, 0.14));
    border: 1px solid var(--border);
    color: var(--primary);
    font-weight: 800;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dh-vps-hc-provider-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dh-vps-hc-provider {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dh-vps-hc-provider a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.dh-vps-hc-provider a:hover {
    color: var(--primary);
}

.dh-vps-hc-loc {
    font-size: 11.5px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dh-vps-hc-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dh-vps-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.dh-vps-badge.is-event-anniversary,
.dh-vps-badge.is-event-black_friday {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.dh-vps-badge.is-event-holiday {
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
}

.dh-vps-badge.is-event-launch {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.dh-vps-badge.is-event-restock {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.dh-vps-badge.is-event-sale {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
}

.dh-vps-badge.is-event-regular {
    background: var(--surface-subtle);
    color: var(--text-muted);
}

[data-theme="dark"] .dh-vps-badge.is-event-anniversary,
[data-theme="dark"] .dh-vps-badge.is-event-black_friday {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

[data-theme="dark"] .dh-vps-badge.is-event-holiday {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

[data-theme="dark"] .dh-vps-badge.is-event-launch {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

[data-theme="dark"] .dh-vps-badge.is-event-restock {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

[data-theme="dark"] .dh-vps-badge.is-event-sale {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
}

.dh-vps-avail-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--surface-subtle);
    color: var(--text-muted);
    white-space: nowrap;
}

.dh-vps-avail-pill .avail-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.dh-vps-avail-pill.is-avail-ON_SALE {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.dh-vps-avail-pill.is-avail-SOLD_OUT,
.dh-vps-avail-pill.is-avail-ENDED {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.dh-vps-avail-pill.is-avail-RESTOCKING,
.dh-vps-avail-pill.is-avail-PARTIAL,
.dh-vps-avail-pill.is-avail-LIKELY_SOLD_OUT {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

[data-theme="dark"] .dh-vps-avail-pill.is-avail-ON_SALE {
    color: #34d399;
}

[data-theme="dark"] .dh-vps-avail-pill.is-avail-SOLD_OUT,
[data-theme="dark"] .dh-vps-avail-pill.is-avail-ENDED {
    color: #f87171;
}

[data-theme="dark"] .dh-vps-avail-pill.is-avail-RESTOCKING,
[data-theme="dark"] .dh-vps-avail-pill.is-avail-PARTIAL,
[data-theme="dark"] .dh-vps-avail-pill.is-avail-LIKELY_SOLD_OUT {
    color: #fbbf24;
}

.dh-vps-hc-specs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.dh-vps-hc-specs svg {
    color: var(--primary);
    flex-shrink: 0;
}

.dh-vps-hc-spec-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dh-vps-hc-discount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 26px;
    font-size: 12.5px;
    color: var(--text-secondary);
}

.dh-vps-hc-strength {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dh-vps-code-copy {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px dashed rgba(99, 102, 241, 0.45);
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.dh-vps-code-copy:hover {
    background: var(--primary);
    color: #ffffff;
    border-style: solid;
}

.dh-vps-code-copy.is-large {
    padding: 5px 12px;
    font-size: 12.5px;
}

.dh-vps-hc-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dh-vps-hc-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.dh-vps-hc-price-label {
    font-size: 11.5px;
    color: var(--text-muted);
}

.dh-vps-hc-price-val {
    font-size: 17px;
    font-weight: 800;
    color: #059669;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

[data-theme="dark"] .dh-vps-hc-price-val {
    color: #34d399;
}

.dh-vps-hc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dh-vps-hc-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.dh-vps-hc-btn.is-vendor {
    background: var(--surface-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.dh-vps-hc-btn.is-vendor:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.dh-vps-hc-btn.is-detail {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.dh-vps-hc-btn.is-detail:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ---------------- VPS 专页主体 ---------------- */
.dh-vps-page-main {
    padding: 24px 28px 48px;
    width: 100%;
    box-sizing: border-box;
}

.dh-vps-page-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dh-vps-hero {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.06) 50%, rgba(99, 102, 241, 0.07) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .dh-vps-hero {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.08) 50%, rgba(99, 102, 241, 0.1) 100%);
}

.dh-vps-hero-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.dh-vps-hero-top-meta .dh-hero-pill-badge {
    margin-bottom: 0;
}

.dh-vps-sync-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.dh-vps-hero-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dh-vps-hero-desc {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 860px;
    line-height: 1.65;
    margin: 0 0 22px;
}

.dh-vps-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.dh-vps-metric-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}

.dh-vps-metric-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.dh-vps-metric-num {
    font-size: 20px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--text-primary);
}

.dh-vps-metric-num small {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dh-vps-metric-num.is-good {
    color: #059669;
}

[data-theme="dark"] .dh-vps-metric-num.is-good {
    color: #34d399;
}

.dh-vps-metric-num.is-hot {
    color: #ef4444;
}

.dh-vps-metric-num.is-price {
    color: var(--primary);
}

/* 控制面板 */
.dh-vps-controls-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-card);
}

.dh-vps-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.dh-vps-search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.dh-vps-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.dh-vps-search-input {
    width: 100%;
    height: 38px;
    padding: 0 14px 0 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
}

.dh-vps-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.dh-vps-filters-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dh-vps-select {
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.dh-vps-select:focus,
.dh-vps-select:hover {
    border-color: var(--primary);
}

.dh-vps-toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.dh-vps-toggle-pill:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.dh-vps-toggle-pill input {
    accent-color: var(--primary);
    cursor: pointer;
}

.dh-vps-view-switch {
    display: inline-flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.dh-vps-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.dh-vps-view-btn.is-active {
    background: var(--primary);
    color: #ffffff;
}

.dh-vps-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dh-vps-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-subtle);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.dh-vps-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.dh-vps-chip.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.25);
}

.dh-vps-chip .chip-n {
    opacity: 0.75;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

.dh-vps-stock-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.08);
    border-left: 3px solid #f59e0b;
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 雷达表格主体 */
.dh-vps-main-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 6px 16px 16px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.dh-vps-table-wrap {
    overflow-x: auto;
}

.dh-vps-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.dh-vps-table th,
.dh-vps-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.dh-vps-table th {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: var(--transition);
}

.dh-vps-table th:hover {
    color: var(--primary);
}

.dh-vps-row {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.dh-vps-row:hover,
.dh-vps-row.is-open {
    background: rgba(99, 102, 241, 0.05);
}

[data-theme="dark"] .dh-vps-row:hover,
[data-theme="dark"] .dh-vps-row.is-open {
    background: rgba(99, 102, 241, 0.12);
}

.dh-vps-pv-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-primary);
}

.dh-vps-row-chevron {
    color: var(--text-muted);
    font-size: 12px;
    width: 12px;
    display: inline-block;
}

.dh-vps-pv-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px dotted var(--text-muted);
}

.dh-vps-pv-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.dh-vps-discount-cell {
    max-width: 340px;
}

.dh-vps-strength-text {
    color: var(--text-secondary);
    margin-right: 4px;
}

.dh-vps-spec-cell {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.dh-vps-price-cell {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    font-weight: 800;
    color: #059669;
    white-space: nowrap;
}

[data-theme="dark"] .dh-vps-price-cell {
    color: #34d399;
}

.dh-vps-conf-cell {
    white-space: nowrap;
    font-size: 12px;
    color: var(--text-secondary);
}

.dh-vps-conf-bar {
    display: inline-block;
    width: 44px;
    height: 6px;
    border-radius: 999px;
    background: var(--border);
    vertical-align: middle;
    margin-right: 6px;
    overflow: hidden;
}

.dh-vps-conf-bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #06b6d4);
    border-radius: 999px;
}

.dh-vps-age-cell {
    white-space: nowrap;
    color: var(--text-muted);
    font-size: 12.5px;
}

/* 展开行抽屉面板 */
.dh-vps-det-row > td {
    padding: 0 !important;
    background: var(--bg);
}

.dh-vps-detail-drawer {
    padding: 18px 22px;
    border-left: 3px solid var(--primary);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dh-vps-det-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}

.det-source-tag {
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.det-full-title {
    font-size: 14px;
    color: var(--text-primary);
}

.dh-vps-det-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dh-vps-det-heading {
    margin: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-secondary);
}

.dh-vps-plan-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.dh-vps-plan-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.dh-vps-plan-table th,
.dh-vps-plan-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
}

.dh-vps-plan-table th {
    background: var(--surface-subtle);
    font-size: 11.5px;
    color: var(--text-muted);
}

.dh-vps-plan-table tr:last-child td {
    border-bottom: none;
}

.plan-price-col {
    font-weight: 700;
    color: #059669;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.dh-vps-kv-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 12.5px;
    color: var(--text-muted);
}

.dh-vps-kv-grid .kv-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dh-vps-kv-grid .kv-item b {
    color: var(--text-primary);
    font-weight: 600;
}

.dh-vps-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dh-vps-meta-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-secondary);
}

.dh-vps-meta-tag.is-extra {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    color: #059669;
}

.dh-vps-evidence-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12.5px;
}

.dh-vps-evidence-box .ev-meta {
    color: var(--text-muted);
    margin-bottom: 4px;
    font-size: 12px;
}

.dh-vps-evidence-box .ev-role {
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    margin-left: 4px;
}

.dh-vps-evidence-box .ev-quote {
    color: var(--text-primary);
    font-style: italic;
}

.dh-vps-signals-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.dh-vps-det-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 6px;
}

.dh-vps-act-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.dh-vps-act-btn.is-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.dh-vps-act-btn.is-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.dh-vps-act-btn.is-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.dh-vps-act-btn.is-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.dh-vps-empty-state {
    padding: 56px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.dh-vps-empty-state h4 {
    margin: 4px 0 0;
    font-size: 16px;
    color: var(--text-primary);
}

.dh-vps-footer-note {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dh-vps-disclaimer {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 14px 20px;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

.dh-vps-disclaimer p {
    margin: 2px 0;
}

/* 复制成功轻提示 Toast */
.dh-vps-copy-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: #18181b;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
}

.dh-vps-copy-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
    .dh-vps-home-grid,
    .dh-vps-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .dh-vps-page-main {
        padding: 18px 16px 36px;
    }
    .dh-vps-hero {
        padding: 22px 20px;
    }
    .dh-vps-hero-title {
        font-size: 22px;
    }
    .dh-vps-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .dh-vps-hide-sm {
        display: none;
    }
}

@media (max-width: 640px) {
    .dh-vps-home-grid,
    .dh-vps-cards-grid,
    .dh-vps-metrics {
        grid-template-columns: 1fr;
    }
    .dh-vps-search-box {
        min-width: 100%;
    }
    .dh-vps-home-sub-pill {
        display: none;
    }
}

/* ========================================================
   AI 智库与资讯动态专页 + 极简圆形数字分页器 (1 2 3 4 5)
   ======================================================== */
.dh-article-hub-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.dh-article-hub-more {
    white-space: nowrap;
    flex-shrink: 0;
}

.dh-articles-page-main {
    padding: 28px 32px 48px;
}

.dh-articles-page-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dh-fullarticles-stream-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 圆形数字分页导航 (1 2 3 4 5 圆形按钮 · 契合全站 Indigo 品牌主题色) */
.dh-circle-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 8px;
    padding: 4px 0;
}

.dh-circle-page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background-color: var(--surface);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.dh-circle-page-btn:hover {
    background-color: var(--primary-soft);
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.dh-circle-page-btn.is-active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-color: transparent;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
    transform: none;
}

[data-theme="dark"] .dh-circle-page-btn {
    background-color: var(--surface-subtle);
    border-color: var(--border);
    color: var(--text-secondary);
}

[data-theme="dark"] .dh-circle-page-btn:hover {
    background-color: rgba(99, 102, 241, 0.16);
    border-color: rgba(129, 140, 248, 0.45);
    color: var(--primary);
}

[data-theme="dark"] .dh-circle-page-btn.is-active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.42);
}

@media (max-width: 900px) {
    .dh-articles-page-main {
        padding: 18px 16px 36px;
    }
    .dh-article-hub-actions {
        width: 100%;
        justify-content: space-between;
    }
}





/* 侧栏折叠态图标居中与角标隐藏补丁 */
@media (min-width: 1025px) {
    .dh-sidebar-collapsed .dh-sidebar-header { padding: 0; justify-content: center; }
    .dh-sidebar-collapsed .dh-sidebar-brand { justify-content: center; gap: 0; }
    .dh-sidebar-collapsed .dh-sidebar-nav { padding: 14px 10px; }
    .dh-sidebar-collapsed .dh-sidebar-badge-hot { display: none !important; }
    .dh-sidebar-collapsed .dh-sidebar-list { gap: 6px; align-items: center; }
    .dh-sidebar-collapsed .dh-sidebar-link { width: 44px; height: 44px; margin: 0 auto; padding: 0; border-radius: 11px; justify-content: center; gap: 0; }
    .dh-sidebar-collapsed .dh-sidebar-link .dh-icon-svg { width: 20px; height: 20px; }
}
