@charset "utf-8";
/* =============================================================================
   daxling.css —— 全站皮肤（设计方向 C：温暖人文 / Stripe Press 气质）
   -----------------------------------------------------------------------------
   设计语言
     · 浅色画布 + 深色主视觉面板：强对比、层次分明、第一屏就有"贵感"
     · 柔和大圆角（18 / 12 / 28px）+ 多层柔和阴影，卡片有"浮起"的质感
     · 蓝绿品牌渐变只用在「重点」上（按钮、图标、强调字），大面积保持克制
     · 微动效：卡片悬停上浮、入场淡入上移、按钮按压反馈，全部 180~260ms
     · 零外链字体、零图片依赖（主视觉纯 CSS 几何 + 光晕）⇒ 离线满速、永不过时

   使用方式
     · 变量优先由 <style id="dx-theme-vars">（后台「站点设置 → 主题外观」）覆盖
     · 后台改完主题色刷新即可生效；改本文件后请把 layout 里的 ?v= 数字加一
   ============================================================================= */

/* =============================================================================
   1. 设计令牌
   ============================================================================= */
:root {
    /* 品牌色（后台可覆盖） */
    --brand-1: #0ea5e9;
    --brand-2: #10b981;
    --brand-3: #f59e0b;
    --brand-grad: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    --brand-grad-soft: linear-gradient(135deg, #0ea5e91a 0%, #10b9811a 100%);
    --shadow-hover: 0 6px 16px -4px rgba(15, 23, 42, .08), 0 24px 48px -20px #0ea5e966;

    /* 圆角 */
    --radius: 18px;
    --radius-s: 12px;
    --radius-l: 28px;

    /* 背景与文字 */
    --bg: #f5f8fc;
    --surface: #ffffff;
    --ink: #0f172a;
    --ink-2: #475569;
    --muted: #94a3b8;
    --line: #e6edf6;

    /* 派生令牌 */
    --ink-3: #64748b;
    --line-strong: #d8e3f1;
    --surface-2: #f8fafd;
    --radius-pill: 999px;

    /* 阴影体系（统一从这三档派生，避免满屏各写一套） */
    --sh-1: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .04);
    --sh-2: 0 2px 4px -2px rgba(15, 23, 42, .06), 0 10px 24px -12px rgba(15, 23, 42, .14);
    --sh-3: 0 4px 8px -4px rgba(15, 23, 42, .06), 0 24px 48px -20px rgba(15, 23, 42, .22);

    /* 动效 */
    --ease: cubic-bezier(.22, .61, .36, 1);
    --t-fast: .18s var(--ease);
    --t: .24s var(--ease);

    /* 版面 */
    --wrap: 1240px;
    --header-h: 64px;

    /* 深色面板（Hero / 页脚）共用同一套色，保证"整块面积"观感一致 */
    --panel-ink: #eaf2ff;
    --panel-ink-2: #a7b8d4;
    --panel-line: rgba(255, 255, 255, .12);
}

/* =============================================================================
   2. 基础重置
   ============================================================================= */
* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

/* 键盘可访问性：只在键盘聚焦时显示焦点环 */
:focus-visible {
    outline: 2px solid var(--brand-1);
    outline-offset: 2px;
    border-radius: 6px;
}

/* 全站统一容器 */
.dx-wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

/* 页面主体（layout 包裹区） */
.dx-page { display: block; padding: 32px 0 8px; }
.dx-page > .dx-wrap > * + * { margin-top: 22px; }

/* =============================================================================
   3. 顶部公告
   ============================================================================= */
.dx-notice {
    background: linear-gradient(90deg, #0ea5e91a, #10b9811a);
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 13px;
}
.dx-notice .dx-wrap { padding-top: 9px; padding-bottom: 9px; }

/* =============================================================================
   4. 顶部导航（首页 / 内页 / 博客页共用同一份 DOM）
   ============================================================================= */
.dx-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.dx-header.is-scrolled {
    background: rgba(255, 255, 255, .94);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px -22px rgba(15, 23, 42, .45);
}
.dx-header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: var(--header-h);
}
.dx-menu-toggle-input { display: none; }

/* ---- Logo ---- */
.dx-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    font-weight: 800;
    letter-spacing: -.02em;
}
.dx-logo-img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: contain;
    background: var(--surface);
    box-shadow: var(--sh-1);
    padding: 3px;
}
.dx-logo-text {
    font-size: 20px;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.dx-logo-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--brand-1);
    background: #0ea5e914;
    border: 1px solid #0ea5e933;
    border-radius: var(--radius-pill);
    padding: 2px 8px;
    line-height: 1.5;
    -webkit-text-fill-color: var(--brand-1);
}
.dx-logo-mark {
    width: 34px; height: 34px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-grad); color: #fff; font-weight: 800;
    -webkit-text-fill-color: #fff; font-size: 15px;
}

/* ---- 主导航 ---- */
.dx-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}
.dx-nav > a,
.dx-nav-drop > .dx-drop-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 13px;
    border-radius: var(--radius-pill);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-2);
    white-space: nowrap;
    transition: color var(--t-fast), background var(--t-fast);
}
.dx-nav > a:hover,
.dx-nav-drop > .dx-drop-toggle:hover,
.dx-nav > a.is-active {
    color: var(--ink);
    background: #0ea5e910;
}
.dx-caret {
    width: 13px; height: 13px;
    transition: transform var(--t-fast);
    opacity: .7;
}
.dx-nav-drop { position: relative; }
.dx-nav-drop:hover .dx-caret,
.dx-nav-drop.is-open .dx-caret { transform: rotate(180deg); }

/* ---- 博客分类下拉 ---- */
.dx-drop-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 214px;
    padding: 10px;
    margin-top: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--sh-3);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
    /* 关键：靠自身 padding 留白造出与按钮的"空隙"（不用 margin），
       鼠标从按钮滑到菜单的路径不会断开 ⇒ 菜单不会"移到一半就消失" */
}
.dx-nav-drop:hover .dx-drop-menu,
.dx-nav-drop.is-open .dx-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dx-drop-menu a {
    display: block;
    padding: 7px 11px;
    border-radius: 9px;
    font-size: 13.5px;
    color: var(--ink-2);
    transition: background var(--t-fast), color var(--t-fast);
}
.dx-drop-menu a:hover {
    background: #0ea5e910;
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
}
.dx-drop-menu .dx-drop-more {
    margin-top: 5px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 9px 9px;
    color: var(--brand-1);
    font-weight: 600;
    -webkit-text-fill-color: var(--brand-1);
}

/* 「每日早报」置顶入口：博客下拉里的第一项，用品牌渐变把它从栏目列表里拎出来
   （放在 common/site-header.html 里，全站三个 layout 共用同一份 DOM） */
.dx-drop-menu .dx-drop-hot {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    padding: 8px 11px;
    color: var(--ink);
    font-weight: 700;
    background: var(--brand-grad-soft);
    border: 1px solid #0ea5e930;
    border-radius: 9px;
}
.dx-drop-menu .dx-drop-hot:hover {
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    background: #0ea5e91a;
    border-color: #0ea5e955;
}
.dx-drop-menu .dx-drop-hot i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--brand-grad);
    box-shadow: 0 0 0 3px #10b98126;
}
.dx-drop-menu .dx-drop-hot em {
    margin-left: auto;
    font-style: normal;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--brand-1);
    background: #0ea5e914;
    border-radius: var(--radius-pill);
    padding: 1px 7px;
}

/* ---- 右侧动作区 ---- */
.dx-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* 搜索胶囊 */
.dx-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    width: 252px;
    padding: 0 6px 0 12px;
    height: 38px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.dx-search:focus-within {
    background: var(--surface);
    border-color: #0ea5e966;
    box-shadow: 0 0 0 4px #0ea5e914;
}
.dx-search svg { width: 15px; height: 15px; color: var(--muted); flex: 0 0 auto; }
.dx-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13.5px;
}
.dx-search input::placeholder { color: var(--muted); }
.dx-search-submit {
    flex: 0 0 auto;
    height: 28px;
    margin-left: 2px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--brand-grad);
    color: #fff;
    -webkit-text-fill-color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap; /* 防止按钮被挤窄时“搜索”二字竖排换行 */
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
}
.dx-search-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px #0ea5e9b3; }
.dx-search-submit:active { transform: translateY(1px); }

/* ---- 按钮体系 ---- */
.dx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t-fast),
        background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.dx-btn:active { transform: translateY(1px) scale(.99); }
.dx-btn .dx-ico { width: 15px; height: 15px; }

.dx-btn-primary {
    background: var(--brand-grad);
    color: #fff;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 6px 18px -8px #0ea5e9b3;
}
.dx-btn-primary:hover {
    box-shadow: 0 12px 26px -10px #0ea5e9cc;
    transform: translateY(-1px);
}
.dx-btn-ghost {
    background: var(--surface);
    border-color: var(--line-strong);
    color: var(--ink-2);
}
.dx-btn-ghost:hover {
    border-color: #0ea5e966;
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    background: #0ea5e90d;
}
.dx-btn-line {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .38);
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.dx-btn-line:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .7);
    -webkit-text-fill-color: #fff;
}
/* 深色面板上的白底按钮：color 会被父级 -webkit-text-fill-color 继承覆盖，
   所以这里必须同时显式声明 -webkit-text-fill-color（踩过的坑） */
.dx-btn-white {
    background: #fff;
    color: #0b6fa8;
    -webkit-text-fill-color: #0b6fa8;
    box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .5);
}
.dx-btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .55);
}
.dx-btn-block { width: 100%; }
.dx-btn-user { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.dx-btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

.dx-logout-form { display: inline-flex; margin: 0; }

/* ---- 汉堡菜单（纯 CSS，无 JS 依赖） ---- */
.dx-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0 9px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    cursor: pointer;
}
.dx-burger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink-2);
    transition: transform var(--t-fast), opacity var(--t-fast);
}
.dx-menu-toggle-input:checked ~ .dx-header-inner .dx-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dx-menu-toggle-input:checked ~ .dx-header-inner .dx-burger span:nth-child(2) { opacity: 0; }
.dx-menu-toggle-input:checked ~ .dx-header-inner .dx-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- 移动端菜单 ---- */
.dx-mobile-menu {
    display: none;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 0 16px;
    border-top: 1px solid var(--line);
}
.dx-mobile-menu a,
.dx-mobile-logout-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 11px 14px;
    border: 0;
    background: transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
}
.dx-mobile-menu a:hover { background: #0ea5e910; color: var(--brand-1); }
.dx-mobile-logout { margin: 0; }
.dx-menu-toggle-input:checked ~ .dx-mobile-menu { display: grid; }

/* =============================================================================
   5. 首页 Hero（深色面板 + 纯 CSS 几何光晕）
   ============================================================================= */
.dx-hero { padding-top: 26px; }

.dx-hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-l);
    padding: 46px 52px 0;
    color: var(--panel-ink);
    background:
        radial-gradient(120% 120% at 88% 8%, rgba(16, 185, 129, .38) 0%, transparent 52%),
        radial-gradient(100% 100% at 4% 104%, rgba(14, 165, 233, .40) 0%, transparent 56%),
        linear-gradient(160deg, #0b1a2e 0%, #0d2237 46%, #0a1a2b 100%);
    box-shadow: 0 30px 70px -34px rgba(9, 24, 43, .65);
}
/* 细网格纹理：让大面积深色不发"闷" */
.dx-hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(80% 70% at 30% 20%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(80% 70% at 30% 20%, #000 30%, transparent 100%);
}
.dx-hero-body { position: relative; z-index: 2; max-width: 620px; }

.dx-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px 5px 11px;
    border: 1px solid var(--panel-line);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .06);
    font-size: 12.5px;
    color: var(--panel-ink-2);
    letter-spacing: .01em;
}
.dx-hero-badge i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, .22);
}

.dx-hero h1 {
    margin: 16px 0 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -.025em;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.dx-hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #7dd3fc, #6ee7b7 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.dx-hero-sub {
    margin-top: 15px;
    max-width: 560px;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--panel-ink-2);
}
.dx-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 26px;
}

/* Hero 页脚标签条 */
.dx-hero-chips {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 34px;
}
.dx-hero-chips > span,
.dx-hero-chips > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border: 1px solid var(--panel-line);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .055);
    font-size: 13px;
    color: var(--panel-ink-2);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.dx-hero-chips > a:hover {
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
    -webkit-text-fill-color: #fff;
}

/* Hero 数据条 */
.dx-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 38px;
    border-top: 1px solid var(--panel-line);
}
.dx-stat { padding: 20px 4px 26px; text-align: left; }
.dx-stat + .dx-stat { border-left: 1px solid var(--panel-line); padding-left: 24px; }
.dx-stat b {
    display: block;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.dx-stat span { font-size: 12.5px; color: var(--panel-ink-2); letter-spacing: .02em; }

/* ---- Hero 右侧拟物浮卡（纯装饰，宽屏才显示） ---- */
.dx-hero-visual {
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-54%);
    width: 320px;
    z-index: 1;
    pointer-events: none;
}
.dx-hv-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 26px 60px -28px rgba(0, 0, 0, .7);
    overflow: hidden;
    transform: rotate(-2.2deg);
}
.dx-hv-bar {
    display: flex;
    gap: 6px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
}
.dx-hv-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.dx-hv-bar i:first-child { background: #f87171; }
.dx-hv-bar i:nth-child(2) { background: #fbbf24; }
.dx-hv-bar i:nth-child(3) { background: #34d399; }
.dx-hv-body { padding: 14px; display: grid; gap: 12px; }
.dx-hv-row { display: flex; align-items: center; gap: 12px; }
.dx-hv-ic {
    width: 34px; height: 34px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; font-size: 16px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
}
.dx-hv-ic.alt { background: linear-gradient(135deg, #6366f1, #0ea5e9); }
.dx-hv-ic.alt2 { background: linear-gradient(135deg, #10b981, #34d399); }
.dx-hv-lines { flex: 1 1 auto; display: grid; gap: 6px; }
.dx-hv-lines b { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .26); }
.dx-hv-lines b.short { width: 56%; background: rgba(255, 255, 255, .15); }
.dx-hv-chip {
    position: absolute;
    padding: 7px 12px;
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55);
    white-space: nowrap;
}
.dx-hv-chip1 { top: -14px; right: -6px; transform: rotate(3deg); }
.dx-hv-chip2 { bottom: -14px; left: -10px; transform: rotate(-3deg); }

/* =============================================================================
   6. 板块通用头
   ============================================================================= */
.dx-section { padding: 4px 0; }
.dx-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.dx-sec-title { display: flex; align-items: flex-start; gap: 12px; }
.dx-sec-title .bar {
    width: 4px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 4px;
    background: var(--brand-grad);
    margin-top: 3px;
}
.dx-sec-title h2 {
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -.02em;
    line-height: 1.35;
}
.dx-sec-title p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.dx-more {
    flex: 0 0 auto;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-3);
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background: var(--surface);
    transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
a.dx-more:hover {
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    border-color: #0ea5e966;
    background: #0ea5e90d;
}

/* =============================================================================
   7. 快捷导航门户
   ============================================================================= */
.dx-portal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
    gap: 14px;
}
.dx-portal-item {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 13px;
    align-items: center;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.dx-portal-item::after {
    content: "↗";
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 13px;
    color: var(--muted);
    opacity: 0;
    transform: translate(-3px, 3px);
    transition: opacity var(--t-fast), transform var(--t-fast);
}
.dx-portal-item:hover {
    transform: translateY(-3px);
    border-color: #0ea5e93d;
    box-shadow: var(--shadow-hover);
}
.dx-portal-item:hover::after { opacity: 1; transform: translate(0, 0); }
.dx-portal-icon {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 8px 18px -10px rgba(15, 23, 42, .5);
}
.dx-portal-item b {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -.01em;
    line-height: 1.35;
    align-self: end;
}
.dx-portal-item span {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.4;
    align-self: start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =============================================================================
   8. 博客板块
   ============================================================================= */
.dx-blog {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 16px;
}
.dx-blog-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 344px;
    padding: 26px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t);
}
.dx-blog-hero:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.dx-blog-hero .cover { position: absolute; inset: 0; opacity: .96; }
.dx-blog-hero .cover .wm {
    position: absolute;
    right: -14px;
    bottom: -26px;
    font-size: 168px;
    line-height: 1;
    opacity: .22;
}
.dx-blog-hero .cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 15, 28, .06) 0%, rgba(6, 15, 28, .72) 100%);
}
.dx-blog-hero .inner {
    position: relative;
    z-index: 2;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.dx-blog-hero .tag {
    display: inline-block;
    padding: 3px 11px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .3);
    font-size: 12px;
    font-weight: 600;
    -webkit-text-fill-color: #fff;
}
.dx-blog-hero h3 {
    margin: 12px 0 0;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: -.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-text-fill-color: #fff;
}
.dx-blog-hero p {
    margin-top: 9px;
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dx-blog-hero .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, .74);
}

.dx-blog-list { display: grid; gap: 11px; align-content: start; }
.dx-post {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 15px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.dx-post:hover {
    transform: translateX(3px);
    border-color: #0ea5e93d;
    box-shadow: var(--sh-2);
}
.dx-post-thumb {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 19px;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.dx-post-body { min-width: 0; flex: 1 1 auto; }
.dx-post-body h4 {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dx-post-body .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 5px;
    font-size: 12px;
    color: var(--muted);
}
.dx-post-body .meta .cat {
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    font-weight: 600;
}

/* =============================================================================
   9. 技术资源卡片（去交易化：无价格、无购买按钮）
   ============================================================================= */
.dx-mall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
    gap: 16px;
}
.dx-goods {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.dx-goods:hover {
    transform: translateY(-4px);
    border-color: #0ea5e93d;
    box-shadow: var(--shadow-hover);
}
.dx-goods-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dx-goods-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dx-goods-cover .badge {
    position: absolute;
    top: 11px;
    left: 11px;
    z-index: 2;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
    font-size: 11.5px;
    font-weight: 650;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.dx-goods-cover .ic {
    position: relative;
    z-index: 1;
    font-size: 46px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .28));
}
.dx-goods-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(6, 15, 28, .22) 100%);
    pointer-events: none;
}
.dx-goods-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px 15px 16px;
}
.dx-goods-body h4 {
    font-size: 14.5px;
    font-weight: 650;
    line-height: 1.5;
    /* ★ 必须锁定「恰好两行」的高度：一行标题 43px、两行 43.5px 会差 0.5px，
       叠加浏览器最小字号设置还会放大成几个 px 的肉眼可见错位。
       43.5px 是兜底（14.5×1.5×2），支持 lh 单位的浏览器用 2lh 更精确。 */
    min-height: 43.5px;
    min-height: 2lh;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dx-goods-tag {
    align-self: flex-start;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-3);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 2px 10px;
}
/* 旧模板里可能残留的价格节点兜底隐藏。
   ⚠ 2026-09-17 起 .dx-goods-price / .dx-detail-price 改由后台开关控制：
     模板用 {if $showPrice} 决定是否渲染 ⇒ 这里不能再对这两个类下 !important，
     否则开关打开也看不见（!important 天然压过 §20 的 display:flex）。
     保留对更老写法（.price / .orig-price / .vip-price）的兜底隐藏。 */
.price-only, .orig-price, .vip-price { display: none !important; }

/* =============================================================================
   10. 会员权益板块
   ============================================================================= */
.dx-vip {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-l);
    background:
        radial-gradient(90% 130% at 100% 0%, rgba(16, 185, 129, .30) 0%, transparent 55%),
        linear-gradient(150deg, #0c1c30 0%, #10283c 100%);
    box-shadow: 0 26px 60px -32px rgba(9, 24, 43, .6);
}
.dx-vip-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    padding: 46px 48px;
    color: var(--panel-ink);
}
.dx-vip h2 {
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -.025em;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.dx-vip h2 em {
    font-style: normal;
    background: linear-gradient(100deg, #7dd3fc, #6ee7b7 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.dx-vip .desc {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.85;
    color: var(--panel-ink-2);
}
.dx-vip-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.dx-vip-benefit {
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--panel-line);
    transition: background var(--t), border-color var(--t), transform var(--t);
}
.dx-vip-benefit:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .26);
    transform: translateY(-2px);
}
.dx-vip-benefit .ic { font-size: 20px; line-height: 1; }
.dx-vip-benefit b {
    display: block;
    margin: 9px 0 4px;
    font-size: 14px;
    font-weight: 650;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.dx-vip-benefit span { font-size: 12.5px; line-height: 1.65; color: var(--panel-ink-2); }

/* 通用权益网格（会员页复用） */
.dx-benefit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.dx-benefit {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--sh-1);
}
.dx-benefit .ic { font-size: 22px; }
.dx-benefit b { display: block; margin: 8px 0 4px; font-size: 15px; }
.dx-benefit span { font-size: 13px; color: var(--ink-3); line-height: 1.7; }

/* =============================================================================
   11. 页脚
   ============================================================================= */
.dx-footer {
    margin-top: 46px;
    background: #0b1a2e;
    color: var(--panel-ink-2);
    border-top: 1px solid rgba(255, 255, 255, .06);
}
.dx-footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 46px 0 34px;
}
.dx-footer-brand .dx-logo { margin-bottom: 14px; }
.dx-footer-brand .dx-logo-text {
    background: linear-gradient(100deg, #7dd3fc, #6ee7b7 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.dx-footer-brand > p {
    font-size: 13.5px;
    line-height: 1.85;
    max-width: 330px;
    color: #93a6c2;
}
.dx-footer-brand .dx-hero-chips { margin-top: 16px; }
.dx-footer h4 {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.dx-footer ul { display: grid; gap: 9px; }
.dx-footer ul a { font-size: 13.5px; color: #93a6c2; transition: color var(--t-fast); }
.dx-footer ul a:hover { color: #7dd3fc; -webkit-text-fill-color: #7dd3fc; }
.dx-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding: 18px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12.5px;
    color: #7e90ab;
}

/* =============================================================================
   12. 留言弹窗
   ============================================================================= */
.dx-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.dx-modal.is-open { display: flex; }
.dx-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(9, 18, 32, .55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    animation: dxFade .2s var(--ease);
}
.dx-modal-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 470px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 28px;
    background: var(--surface);
    border-radius: var(--radius-l);
    box-shadow: 0 40px 90px -34px rgba(6, 15, 28, .7);
    animation: dxPop .26s var(--ease);
}
@keyframes dxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dxPop {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to { opacity: 1; transform: none; }
}
.dx-modal-x {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--ink-3);
    font-size: 21px;
    line-height: 1;
    transition: background var(--t-fast), color var(--t-fast);
}
.dx-modal-x:hover { background: #0ea5e914; color: var(--brand-1); }
.dx-modal-title { font-size: 20px; font-weight: 750; letter-spacing: -.02em; }
.dx-modal-sub { margin-top: 7px; font-size: 13px; line-height: 1.75; color: var(--ink-3); }
.dx-modal-form { margin-top: 20px; display: grid; gap: 14px; }
.dx-field { display: grid; gap: 6px; }
.dx-field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.dx-req { color: #ef4444; -webkit-text-fill-color: #ef4444; margin-left: 2px; }
.dx-field input,
.dx-field textarea {
    width: 100%;
    padding: 10px 13px;
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-s);
    font-size: 14px;
    outline: 0;
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.dx-field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.dx-field input:focus,
.dx-field textarea:focus {
    background: var(--surface);
    border-color: #0ea5e966;
    box-shadow: 0 0 0 4px #0ea5e914;
}
/* 蜜罐：正常人看不见，机器人会填 */
.dx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dx-modal-actions { margin-top: 4px; }
.dx-modal-tip { min-height: 19px; font-size: 13px; font-weight: 600; text-align: center; }
.dx-modal-tip.is-ok { color: #059669; -webkit-text-fill-color: #059669; }
.dx-modal-tip.is-error { color: #dc2626; -webkit-text-fill-color: #dc2626; }
body.dx-modal-open { overflow: hidden; }

/* =============================================================================
   13. 内页通用组件（面包屑 / 页头 / 筛选 / 卡片 / 详情 / 会员）
   ============================================================================= */
.dx-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--muted);
}
.dx-crumb a { color: var(--ink-3); transition: color var(--t-fast); }
.dx-crumb a:hover { color: var(--brand-1); -webkit-text-fill-color: var(--brand-1); }
.dx-crumb span { color: var(--line-strong); }

.dx-page-head { padding: 4px 0 2px; }
.dx-page-head h1 {
    font-size: clamp(23px, 2.6vw, 30px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.3;
}
.dx-page-head p { margin-top: 7px; font-size: 13.5px; color: var(--ink-3); }

.dx-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 13px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--sh-1);
}
.dx-filters .label { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.dx-chip {
    padding: 5px 13px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background: var(--surface-2);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    transition: all var(--t-fast);
}
.dx-chip:hover { border-color: #0ea5e966; color: var(--brand-1); -webkit-text-fill-color: var(--brand-1); }
.dx-chip.is-on {
    background: var(--brand-grad);
    border-color: transparent;
    color: #fff;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 6px 16px -9px #0ea5e9cc;
}
.dx-lang { display: inline-flex; gap: 4px; margin-left: auto; }
.dx-lang a {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    color: var(--muted);
}
.dx-lang a.is-on {
    background: #0ea5e914;
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    font-weight: 600;
}

.dx-card {
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--sh-1);
}
.dx-card-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.dx-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dx-empty {
    padding: 54px 24px;
    text-align: center;
    color: var(--muted);
    background: var(--surface);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    font-size: 14px;
}
.dx-alert {
    padding: 13px 16px;
    border-radius: var(--radius-s);
    background: #f59e0b14;
    border: 1px solid #f59e0b3d;
    color: #92400e;
    -webkit-text-fill-color: #92400e;
    font-size: 13.5px;
}

/* ---- 徽标 ---- */
.dx-badge {
    display: inline-block;
    padding: 3px 11px;
    border-radius: var(--radius-pill);
    background: #0ea5e914;
    border: 1px solid #0ea5e933;
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    font-size: 12px;
    font-weight: 650;
}
.dx-badge.warn { background: #f59e0b14; border-color: #f59e0b33; color: #b45309; -webkit-text-fill-color: #b45309; }
.dx-badge.mute { background: var(--surface-2); border-color: var(--line); color: var(--muted); -webkit-text-fill-color: var(--muted); }

/* ---- 键值列表 ---- */
.dx-kv { display: grid; grid-template-columns: 92px 1fr; gap: 10px 18px; font-size: 13.5px; }
.dx-kv dt { color: var(--muted); }
.dx-kv dd { color: var(--ink-2); }

/* ---- 资源详情 ---- */
.dx-detail { display: grid; grid-template-columns: 380px 1fr; gap: 30px; align-items: start; }
.dx-detail-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--sh-2);
}
.dx-detail-cover .ic { font-size: 62px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .3)); }
.dx-detail-info h1 {
    margin-top: 10px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -.025em;
}

/* ---- 富文本正文（CMS 文章正文也复用） ---- */
.dx-rich { font-size: 15.5px; line-height: 1.95; color: #334155; word-break: break-word; }
.dx-rich > * + * { margin-top: 18px; }
.dx-rich h2 { margin-top: 36px; font-size: 21px; font-weight: 750; letter-spacing: -.02em; color: var(--ink); }
.dx-rich h3 { margin-top: 28px; font-size: 18px; font-weight: 700; color: var(--ink); }
.dx-rich h4 { margin-top: 22px; font-size: 16px; font-weight: 700; color: var(--ink); }
.dx-rich p { margin: 0; }
.dx-rich a { color: var(--brand-1); -webkit-text-fill-color: var(--brand-1); border-bottom: 1px solid #0ea5e94d; }
.dx-rich a:hover { border-bottom-color: var(--brand-1); }
.dx-rich img { border-radius: var(--radius-s); box-shadow: var(--sh-2); display: block; height: auto; }
.dx-rich ul, .dx-rich ol { padding-left: 22px; list-style: revert; }
.dx-rich li + li { margin-top: 7px; }
.dx-rich blockquote {
    margin: 0;
    padding: 13px 18px;
    border-left: 3px solid var(--brand-1);
    background: var(--surface-2);
    border-radius: 0 var(--radius-s) var(--radius-s) 0;
    color: var(--ink-3);
}
.dx-rich code {
    padding: 2px 6px;
    border-radius: 5px;
    background: #0ea5e912;
    color: #be185d;
    -webkit-text-fill-color: #be185d;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: .9em;
}
.dx-rich pre {
    padding: 16px 18px;
    border-radius: var(--radius-s);
    background: #0b1a2e;
    color: #cfe3ff;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.7;
}
.dx-rich pre code { background: transparent; color: inherit; -webkit-text-fill-color: inherit; padding: 0; }
.dx-rich table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dx-rich th, .dx-rich td { padding: 10px 13px; border: 1px solid var(--line); text-align: left; }
.dx-rich th { background: var(--surface-2); font-weight: 650; }

/* ---- 会员中心 / 订单 / 二维码 ---- */
.dx-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--surface);
    box-shadow: var(--sh-2);
}
.dx-order-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    box-shadow: var(--sh-1);
}
.dx-order-thumb {
    width: 52px; height: 52px; flex: 0 0 auto;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-2); font-size: 22px;
}
.dx-qr {
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    display: inline-block;
    box-shadow: var(--sh-1);
}
.dx-about-station { font-size: 14px; line-height: 1.9; color: var(--ink-3); }

/* =============================================================================
   14. 入场动效（由 daxling.js 的 IntersectionObserver 加 .is-in）
   ============================================================================= */
.dx-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.dx-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .dx-reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* =============================================================================
   15. 渐变调色板（无封面图时循环使用，保证卡片不单调）
   ============================================================================= */
.g1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.g2 { background: linear-gradient(135deg, #0ea5e9, #10b981); }
.g3 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.g4 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.g5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.g6 { background: linear-gradient(135deg, #30cfd0, #330867); }
.g7 { background: linear-gradient(135deg, #a8edea, #fed6e3); }
.g8 { background: linear-gradient(135deg, #ff9a9e, #fecfef); }
.g9 { background: linear-gradient(135deg, #13547a, #80d0c7); }
.g10 { background: linear-gradient(135deg, #f6d365, #fda085); }
.g11 { background: linear-gradient(135deg, #5ee7df, #b490ca); }
.g12 { background: linear-gradient(135deg, #d299c2, #fef9d7); }

/* =============================================================================
   15.5 文字层次标尺 ★ 2026-09-17 新增
   -----------------------------------------------------------------------------
   让「谁是谁」一眼可辨，五层结构：

     ① 顶部导航        15.5px / 650   ← 最上层：略大 + 加粗（用户明确要求）
     ② 区块标题        22px   / 750   ← 模块名（原值不动） / 移动端 19px
     ③ 卡片标题        14.5px / 600   ← 比导航小一档、字重也降一档
     ④ 正文 / 摘要     12.5~13px / 400 ← 一律不加粗
     ⑤ 辅助信息        11.5~12px / 400 ← 更小更淡（日期 / 浏览量 / 分类）

   为什么这么定（用户特别交代「担心改完大小就不好看」）：
     · **只做微调**，主体靠「字重 + 颜色」分层，不靠放大字号：
       导航      14.5/500 → 15.5/650（+1px、加粗；这是用户点名要变的）
       卡片标题  15/650   → 14.5/600（−0.5px、降字重，把层级让给导航）
       其余字号**一律不动**，只用 color/opacity 拉开 ④ 与 ⑤。
     · 本段必须放在「16. 响应式」**之前**：同特异度时后加载者胜，
       放到最后会把移动端的字号覆盖顶掉（375/390 下会突然变大）。
   ============================================================================= */

/* ① 顶部导航：压住下面所有内容 */
.dx-nav > a,
.dx-nav-drop > .dx-drop-toggle {
    font-size: 15.5px;
    font-weight: 650;
    color: var(--ink);
}
.dx-nav > a:hover,
.dx-nav-drop > .dx-drop-toggle:hover,
.dx-nav > a.is-active {
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    background: #0ea5e914;
}

/* ② 区块标题：模块名，保持最重最显眼；副标题再压淡一档，主次更分明 */
.dx-sec-title p { color: var(--ink-3); }

/* ③ 卡片标题：降半档字号 + 降一档字重 */
.dx-portal-item b { font-size: 14.5px; font-weight: 600; }
.dx-post-body h4 { font-size: 14.5px; font-weight: 600; }
.dx-goods-body h4 { font-size: 14.5px; font-weight: 600; }
.dx-vip-benefit b { font-size: 14px; font-weight: 600; }
.dx-blog-hero h3 { font-weight: 650; }   /* 只调字重，字号交给响应式管 */

/* ④ 正文 / 摘要：统一不加粗，颜色下沉一档（靠颜色分层，不缩小字号） */
.dx-blog-hero p { font-weight: 400; }
.dx-portal-item span,
.dx-vip-benefit span { font-weight: 400; color: var(--ink-3); }
.dx-goods-tag { font-weight: 400; color: var(--muted); }

/* ⑤ 辅助信息：更小更淡，只保留「分类」一个重点 */
.dx-blog-hero .meta,
.dx-post-body .meta { font-weight: 400; color: var(--muted); }
.dx-post-body .meta .cat { font-weight: 600; }

/* =============================================================================
   16. 响应式
   ============================================================================= */
@media (max-width: 1180px) {
    .dx-hero-visual { display: none; }
    .dx-hero-body { max-width: 100%; }
}

/* 窄屏（登出态头部元素更多）：收窄搜索胶囊，避免挤压按钮/溢出 */
@media (max-width: 1200px) {
    .dx-search { width: 196px; padding-left: 10px; }
    .dx-search-submit { padding: 0 12px; font-size: 12.5px; }
}

@media (max-width: 1080px) {
    .dx-blog { grid-template-columns: 1fr; }
    .dx-blog-hero { min-height: 280px; }
    .dx-vip-inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 32px; }
    .dx-footer-main { grid-template-columns: 1fr 1fr; gap: 26px; }
    .dx-detail { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    .dx-nav { display: none; }
    .dx-burger { display: flex; }
    .dx-search { width: 224px; }
    .dx-actions .dx-contact-label { display: none; }
    .dx-hero-panel { padding: 34px 26px 0; border-radius: var(--radius); }
    .dx-stat b { font-size: 25px; }
    .dx-card { padding: 18px 16px; }
    .dx-grid-2 { grid-template-columns: 1fr; }
    .dx-page > .dx-wrap > * + * { margin-top: 18px; }
}

@media (max-width: 720px) {
    body { font-size: 14.5px; }
    .dx-wrap { padding: 0 16px; }
    .dx-search { display: none; }
    .dx-logo-badge { display: none; }
    .dx-page { padding-top: 20px; }

    .dx-hero { padding-top: 16px; }
    .dx-hero-panel { padding: 28px 20px 0; }
    .dx-hero-sub { font-size: 14.5px; }
    .dx-hero-cta .dx-btn { flex: 1 1 auto; }

    .dx-stats { grid-template-columns: 1fr 1fr; }
    .dx-stat { padding: 16px 4px 18px; }
    .dx-stat + .dx-stat { border-left: 0; padding-left: 4px; }
    .dx-stat:nth-child(even) { border-left: 1px solid var(--panel-line); padding-left: 20px; }
    .dx-stat:nth-child(n+3) { border-top: 1px solid var(--panel-line); }

    .dx-sec-head { align-items: flex-start; }
    .dx-sec-title h2 { font-size: 19px; }

    .dx-portal, .dx-mall { grid-template-columns: 1fr 1fr; gap: 11px; }
    .dx-portal-item { grid-template-columns: 38px 1fr; padding: 13px 12px; column-gap: 10px; }
    .dx-portal-icon { width: 38px; height: 38px; border-radius: 11px; font-size: 17px; }
    .dx-portal-item b { font-size: 13.5px; }
    .dx-portal-item span { font-size: 11.5px; }
    .dx-goods-body h4 { font-size: 13.5px; min-height: auto; }

    .dx-blog-hero { min-height: 236px; padding: 20px; }
    .dx-blog-hero h3 { font-size: 18px; }
    .dx-vip-inner { padding: 28px 20px; }
    .dx-vip-benefits { grid-template-columns: 1fr; }

    /* 页脚在手机上不要「一条龙竖直排到底」：
       品牌区独占一行，三个链接组并成 3 列横向排，整体高度从 ~850px 压到 ~420px */
    .dx-footer { margin-top: 34px; }
    .dx-footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px 14px;
        padding: 30px 0 20px;
    }
    .dx-footer-brand { grid-column: 1 / -1; }
    .dx-footer-brand > p { max-width: 100%; font-size: 13px; line-height: 1.75; }
    .dx-footer-brand .dx-hero-chips { margin-top: 14px; gap: 7px; }
    .dx-footer .dx-hero-chips > a { padding: 5px 11px; font-size: 12px; }
    .dx-footer h4 { margin-bottom: 10px; font-size: 12.5px; }
    .dx-footer ul { gap: 8px; }
    .dx-footer ul a { font-size: 12.8px; }
    .dx-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px 0 22px;
        font-size: 12px;
        line-height: 1.6;
    }

    .dx-modal-box { padding: 22px 18px; border-radius: var(--radius); }
    .dx-modal-title { font-size: 18px; }

    .dx-filters { padding: 11px 12px; }
    .dx-lang { margin-left: 0; }
}

@media (max-width: 420px) {
    .dx-portal, .dx-mall { grid-template-columns: 1fr; }
}

/* 超窄屏（≈360px 及以下）：页脚 3 列会挤，退回 2 列，避免文字被截断 */
@media (max-width: 380px) {
    .dx-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================================
   图片加载失败兜底（配合 daxling.js 的 initImgFallback）
   场景：笔记导入时个别图片未同步到服务器 → 404 → 浏览器画破图图标 + 灰底
   处理：隐藏破图本体，让外层缩略图容器显示柔和渐变占位，保证版式整洁
   ========================================================================== */
img.dx-img-broken {
    display: none !important;
}

.dx-thumb-empty {
    position: relative;
    background: linear-gradient(135deg, #eef4fa 0%, #dde7f2 55%, #e8f2fb 100%);
    overflow: hidden;
}

.dx-thumb-empty::after {
    content: "🖼";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    opacity: .38;
    filter: grayscale(1);
    pointer-events: none;
}

/* 公网访问时，链接指向内网专有地址（无公网通道）→ 整条隐藏，避免死链 */
.dx-unreachable {
    display: none !important;
}

/* =============================================================================
   18. 头部动作区对齐校准 ★ 2026-09-17 新增
   -----------------------------------------------------------------------------
   实测（1440px，CDP getComputedStyle + getBoundingClientRect）：
     button.dx-contact-open / a.dx-btn-user / .dx-logout-form button
     → 三者 y=13、height=38、中线 32、文字中线 31.5，**几何上完全一致**。
   但存在两个「亚像素级」的隐患，在缩放 ≠100%（浏览器缩放 / 高分屏）时会显形：
     ① 按钮里的 <svg> 是 inline 元素，默认 vertical-align: baseline，
        会在自身下方留出「降部空隙」，把「图标+文字」这一组整体顶高约 0.5px
        ⇒ 与纯文字按钮并排时就看着不齐。
     ② 「退出」外层多包了一层 <form class="dx-logout-form">。
        多一层盒 = 多一次高度取整机会，非整数缩放下会和左右两个按钮差 1px。
        ⇒ display:contents 让这层盒子彻底退出布局（隐藏的 token input 本就不渲染）。
   ============================================================================= */
.dx-btn > svg,
.dx-btn > .dx-ico {
    display: block;
    flex: 0 0 auto;
}
.dx-btn > span { line-height: 1; }
.dx-logout-form { display: contents; }

/* =============================================================================
   19. 会员中心 / 个人中心组件层 ★ 2026-09-17 新增
   -----------------------------------------------------------------------------
   背景：user/*（会员中心、个人资料、修改密码）+ cms/*（我的文档、我的收藏…）
   这些页面用的是 FastAdmin 自带的 Bootstrap 结构，但前台 layout **不加载 Bootstrap**
   （只加载 daxling.css）⇒ .panel/.btn/.form-control/.col-md-* 全部没有样式，
   页面就是「一竖排纯文字」（用户截图 feedback）。

   修法：**不改任何核心/插件模板**，在本文件里补一层「Bootstrap 最小子集」，
   用 `:has(.sidenav)` 精确圈定这些会员中心页面：
     · 这些页面的标志就是左侧 {include file="common/sidenav"}，一定存在；
     · 前台 body 是 .dx-shell，而 CMS 页面是 .group-page ⇒ 两者天然隔离，
       绝不会把已加载 Bootstrap 的 CMS 页弄乱。
   ============================================================================= */

/* ---- 19.1 两栏骨架：把 Bootstrap 的 col-md-3 / col-md-9 换成干净的 grid ---- */
body.dx-shell #content-container:has(.sidenav) > .row {
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin: 0;
}
body.dx-shell #content-container:has(.sidenav) > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    float: none;
}

/* ---- 19.2 左侧菜单 ---- */
body.dx-shell #content-container:has(.sidenav) .sidenav {
    position: sticky;
    top: calc(var(--header-h) + 18px);
    padding: 13px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--sh-1);
}
body.dx-shell #content-container:has(.sidenav) .sidenav .sidebar-toggle { display: none; }
body.dx-shell #content-container:has(.sidenav) .sidenav .list-group {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
}
body.dx-shell #content-container:has(.sidenav) .sidenav .list-group + .list-group {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}
body.dx-shell #content-container:has(.sidenav) .sidenav .list-group-heading {
    padding: 7px 11px 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--muted);
}
body.dx-shell #content-container:has(.sidenav) .sidenav .list-group-item { padding: 0; }
body.dx-shell #content-container:has(.sidenav) .sidenav .list-group-item > a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    border-radius: 11px;
    font-size: 13.8px;
    font-weight: 500;
    color: var(--ink-2);
    transition: background var(--t-fast), color var(--t-fast);
}
body.dx-shell #content-container:has(.sidenav) .sidenav .list-group-item > a:hover {
    background: #0ea5e90f;
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
}
body.dx-shell #content-container:has(.sidenav) .sidenav .list-group-item.active > a {
    background: #0ea5e916;
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    font-weight: 650;
}
body.dx-shell #content-container:has(.sidenav) .sidenav .fa {
    width: 17px;
    flex: 0 0 auto;
    text-align: center;
    font-size: 14px;
    opacity: .9;
}

/* ---- 19.3 面板 / 卡片 ---- */
body.dx-shell #content-container:has(.sidenav) .panel {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--sh-1);
    overflow: hidden;
}
body.dx-shell #content-container:has(.sidenav) .panel + .panel { margin-top: 18px; }
body.dx-shell #content-container:has(.sidenav) .panel-heading {
    padding: 13px 20px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
}
body.dx-shell #content-container:has(.sidenav) .panel-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink);
}
body.dx-shell #content-container:has(.sidenav) .panel-body { padding: 20px; }
body.dx-shell #content-container:has(.sidenav) .panel-body.p-0,
body.dx-shell #content-container:has(.sidenav) .panel-body.py-0 { padding-top: 0; padding-bottom: 0; }

/* ---- 19.4 页头（会员中心 / 个人资料 …） ---- */
body.dx-shell #content-container:has(.sidenav) .page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding: 0 0 15px;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
}
body.dx-shell #content-container:has(.sidenav) .page-header .pull-right { margin-left: auto; float: none; }
body.dx-shell #content-container:has(.sidenav) .pull-right { float: none; margin-left: auto; }
body.dx-shell #content-container:has(.sidenav) .text-center { text-align: center; }
body.dx-shell #content-container:has(.sidenav) .text-muted { color: var(--ink-3); }
body.dx-shell #content-container:has(.sidenav) .text-right { text-align: right; }

/* ---- 19.5 个人资料卡：头像 + 昵称 + 简介 ---- */
body.dx-shell #content-container:has(.sidenav) .user-baseinfo {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 20px;
    align-items: center;
}
body.dx-shell #content-container:has(.sidenav) .user-baseinfo > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    float: none;
    text-align: left;
}
body.dx-shell #content-container:has(.sidenav) .user-baseinfo > [class*="col-"]:last-child {
    grid-column: 1 / -1;
    margin-top: 18px;
}
body.dx-shell #content-container:has(.sidenav) .avatar-img {
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--line-strong), 0 10px 24px -14px rgba(15, 23, 42, .35);
}
body.dx-shell #content-container:has(.sidenav) .avatar-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.dx-shell #content-container:has(.sidenav) .user-baseinfo .ui-content { padding: 0; }
body.dx-shell #content-container:has(.sidenav) .user-baseinfo h4 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
}
body.dx-shell #content-container:has(.sidenav) .user-baseinfo h4 a { color: inherit; }
body.dx-shell #content-container:has(.sidenav) .user-baseinfo h4 a:hover { color: var(--brand-1); }
body.dx-shell #content-container:has(.sidenav) .user-baseinfo p {
    margin-top: 5px;
    font-size: 13.5px;
    color: var(--ink-3);
}

/* ---- 19.6 统计区（余额 / 积分 / 登录时间）：一行一组「小标签 + 数值」 ---- */
body.dx-shell #content-container:has(.sidenav) .basicinfo {
    display: grid;
    gap: 14px;
    padding: 16px 18px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 14px;
}
body.dx-shell #content-container:has(.sidenav) .basicinfo .row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px 16px;
    align-items: center;
    margin: 0;
}
body.dx-shell #content-container:has(.sidenav) .basicinfo .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    float: none;
    margin: 0;
}
body.dx-shell #content-container:has(.sidenav) .basicinfo .row > [class*="col-"]:nth-child(odd) {
    font-size: 12.5px;
    color: var(--ink-3);
    white-space: nowrap;
}
body.dx-shell #content-container:has(.sidenav) .basicinfo .row > [class*="col-"]:nth-child(even) {
    font-size: 14.5px;
    font-weight: 650;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
body.dx-shell #content-container:has(.sidenav) .basicinfo .viewmoney,
body.dx-shell #content-container:has(.sidenav) .basicinfo .viewscore { color: var(--brand-1); }

/* ---- 19.7 按钮（Bootstrap .btn 子集） ---- */
body.dx-shell #content-container:has(.sidenav) .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 15px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
body.dx-shell #content-container:has(.sidenav) .btn:hover {
    border-color: #0ea5e966;
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    background: #0ea5e90d;
}
body.dx-shell #content-container:has(.sidenav) .btn-primary,
body.dx-shell #content-container:has(.sidenav) .btn-info {
    background: var(--brand-grad);
    border-color: transparent;
    color: #fff;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 6px 16px -8px #0ea5e9b3;
}
body.dx-shell #content-container:has(.sidenav) .btn-primary:hover,
body.dx-shell #content-container:has(.sidenav) .btn-info:hover {
    color: #fff;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 10px 22px -10px #0ea5e9cc;
}
body.dx-shell #content-container:has(.sidenav) .btn-danger {
    background: #ef4444;
    border-color: transparent;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
body.dx-shell #content-container:has(.sidenav) .btn-sm { height: 31px; padding: 0 12px; font-size: 12.5px; }
body.dx-shell #content-container:has(.sidenav) .btn i.fa,
body.dx-shell #content-container:has(.sidenav) .btn .fa { font-size: 13px; line-height: 1; }
body.dx-shell #content-container:has(.sidenav) .btn.disabled,
body.dx-shell #content-container:has(.sidenav) .btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* ---- 19.8 表单（个人资料 / 修改密码 用） ---- */
body.dx-shell #content-container:has(.sidenav) .form-group {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 10px 16px;
    align-items: center;
    margin: 0 0 15px;
}
body.dx-shell #content-container:has(.sidenav) .form-group > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    float: none;
}
body.dx-shell #content-container:has(.sidenav) .control-label {
    padding: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
    text-align: left;
}
body.dx-shell #content-container:has(.sidenav) .form-control {
    display: block;
    width: 100%;
    height: 38px;
    padding: 0 13px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    line-height: 1;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
body.dx-shell #content-container:has(.sidenav) .form-control:focus {
    outline: 0;
    border-color: #0ea5e966;
    box-shadow: 0 0 0 4px #0ea5e914;
}
body.dx-shell #content-container:has(.sidenav) .form-control[disabled],
body.dx-shell #content-container:has(.sidenav) .form-control[readonly] {
    background: var(--surface-2);
    color: var(--muted);
}
body.dx-shell #content-container:has(.sidenav) textarea.form-control { height: auto; padding: 11px 13px; line-height: 1.7; }
body.dx-shell #content-container:has(.sidenav) .input-group { display: flex; width: 100%; }
body.dx-shell #content-container:has(.sidenav) .input-group .form-control { border-radius: 11px 0 0 11px; }
body.dx-shell #content-container:has(.sidenav) .input-group-btn { display: flex; }
body.dx-shell #content-container:has(.sidenav) .input-group-btn .btn {
    height: 38px;
    border-radius: 0 11px 11px 0;
    border-left: 0;
}
body.dx-shell #content-container:has(.sidenav) .form-group.normal-footer { margin-bottom: 0; }
body.dx-shell #content-container:has(.sidenav) .msg-box { display: block; margin-top: 5px; font-size: 12.5px; color: #ef4444; }
body.dx-shell #content-container:has(.sidenav) .help-block { font-size: 12.5px; color: var(--ink-3); }

/* ---- 19.9 表格 / 标签页（我的附件、我的文档 用） ---- */
body.dx-shell #content-container:has(.sidenav) .table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
body.dx-shell #content-container:has(.sidenav) .table > thead > tr > th {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    text-align: left;
}
body.dx-shell #content-container:has(.sidenav) .table > tbody > tr > td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
}
body.dx-shell #content-container:has(.sidenav) .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
}
body.dx-shell #content-container:has(.sidenav) .nav-tabs > li { display: block; }
body.dx-shell #content-container:has(.sidenav) .nav-tabs > li > a {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 13px;
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
}
body.dx-shell #content-container:has(.sidenav) .nav-tabs > li.active > a {
    background: var(--brand-grad);
    color: #fff;
    -webkit-text-fill-color: #fff;
}

/* ---- 19.10 分页 / 空状态 ---- */
body.dx-shell #content-container:has(.sidenav) .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin: 20px 0 0;
}
body.dx-shell #content-container:has(.sidenav) .pagination > li > a,
body.dx-shell #content-container:has(.sidenav) .pagination > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
}
body.dx-shell #content-container:has(.sidenav) .pagination > .active > a,
body.dx-shell #content-container:has(.sidenav) .pagination > .active > span {
    background: var(--brand-grad);
    border-color: transparent;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
body.dx-shell #content-container:has(.sidenav) .pagination > li > a:hover {
    border-color: #0ea5e966;
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
}

/* 19.10b 前台页分页（.dx-page 容器：首页/博客/资源列表通用，修正此前被错误限定到 #content-container 导致博客页页码无样式） */
.dx-page .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin: 28px 0 6px;
    padding: 0;
    list-style: none;
}
.dx-page .pagination > li { display: inline-block; }
.dx-page .pagination > li > a,
.dx-page .pagination > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 13px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
    transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.dx-page .pagination > li > a:hover {
    border-color: #0ea5e966;
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    background: #0ea5e90d;
}
.dx-page .pagination > li.active > a,
.dx-page .pagination > li.active > span,
.dx-page .pagination > .active > a,
.dx-page .pagination > .active > span {
    background: var(--brand-grad);
    border-color: transparent;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.dx-page .pagination > li.disabled > span,
.dx-page .pagination > .disabled > span {
    color: var(--muted);
    background: var(--surface-2);
    cursor: not-allowed;
}
@media (max-width: 600px) {
    .dx-page .pagination > li > a,
    .dx-page .pagination > li > span { min-width: 34px; height: 34px; padding: 0 9px; font-size: 13px; }
}

/* ---- 19.11 响应式：窄屏收成单栏 ---- */
@media (max-width: 991px) {
    body.dx-shell #content-container:has(.sidenav) > .row { grid-template-columns: minmax(0, 1fr); }
    body.dx-shell #content-container:has(.sidenav) .sidenav { position: static; }
}
@media (max-width: 720px) {
    body.dx-shell #content-container:has(.sidenav) .panel-body { padding: 16px; }
    body.dx-shell #content-container:has(.sidenav) .basicinfo { padding: 14px; }
    body.dx-shell #content-container:has(.sidenav) .basicinfo .row {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px 12px;
    }
    /* 手机端侧栏 12 个菜单项一条龙太长 → 排成 2 列 */
    body.dx-shell #content-container:has(.sidenav) .sidenav .list-group { grid-template-columns: 1fr 1fr; }
    body.dx-shell #content-container:has(.sidenav) .sidenav .list-group-heading { grid-column: 1 / -1; }
    body.dx-shell #content-container:has(.sidenav) .sidenav .list-group-item > a { font-size: 13px; padding: 8px 10px; }
    body.dx-shell #content-container:has(.sidenav) .form-group { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    body.dx-shell #content-container:has(.sidenav) .user-baseinfo { grid-template-columns: auto minmax(0, 1fr); }
    body.dx-shell #content-container:has(.sidenav) .avatar-img { width: 66px; height: 66px; border-radius: 18px; }
    body.dx-shell #content-container:has(.sidenav) .user-baseinfo h4 { font-size: 17.5px; }
}

/* =============================================================================
   20. 卡片内部纵向对齐（标签行 / 按钮跨卡严格对齐）★ 2026-09-17 新增
   -----------------------------------------------------------------------------
   症状：同一行卡片里，「分类 · 技术分享」小胶囊与「了解详情」按钮高低不一 ——
        标题 1 行的卡片比 2 行的低一点，长短参差看着很乱。
   根因：卡片高度由 grid 拉伸保证一致，但卡片**内部**是按内容自然流动的：
        标题行数不同 ⇒ 其后所有元素整体位移（实测 1 行 / 2 行差 0.5px，
        浏览器开了「最小字号」后会被放大到几个 px，肉眼可见）。
   解法（两条一起上，任何字号 / 行数 / 字体度量下都不会再错位）：
        ① .dx-goods-body 撑满卡片剩余高度 → 卡片内部有了「可分配空间」；
        ② 胶囊与按钮用 margin-top:auto 贴底 → 不管标题几行，都钉在同一个高度。
   ============================================================================= */
.dx-goods-body {
    flex: 1 1 auto;
    min-height: 0;
}
/* 标签贴底：多出来的空间全部留在标题与标签之间，标签本身始终在同一高度 */
.dx-goods-body > .dx-goods-tag {
    margin-top: auto;
}
/* 列表页：标签 + 「了解详情」按钮整体贴底，两者都跨卡对齐 */
.dx-goods-body > .dx-btn {
    margin-top: 0;
}
/* 价格（后台开关开启时才渲染；默认关闭 = 已去交易化） */
.dx-goods-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-weight: 700;
    color: #e11d48;
    -webkit-text-fill-color: #e11d48;
    font-size: 15px;
}
.dx-goods-price .orig {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    -webkit-text-fill-color: var(--muted);
    text-decoration: line-through;
}
.dx-goods-price .unit { font-size: 12px; font-weight: 600; }

/* 详情页价格：更大更醒目，位于标题下方（同样只在开关开启时渲染） */
.dx-detail-price {
    margin-top: 14px;
    font-size: 24px;
    letter-spacing: -.4px;
}
.dx-detail-price .unit { font-size: 15px; }
.dx-detail-price .orig { font-size: 14px; }

/* =============================================================================
   22. 登录 / 注册卡片（dx-auth）—— user/login & user/register
   ============================================================================= */
.dx-auth-wrap {
    max-width: 460px;
    margin: 44px auto 80px;
    padding: 0 16px;
}
.dx-auth-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    box-shadow: 0 6px 16px -4px rgba(15, 23, 42, .06), 0 24px 48px -20px #0ea5e94d;
    padding: 36px 34px 30px;
}
.dx-auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--brand-grad);
}
.dx-auth-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.dx-auth-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.5px;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.dx-auth-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-2);
    -webkit-text-fill-color: var(--brand-2);
    background: var(--brand-grad-soft);
    border-radius: 999px;
    padding: 3px 10px;
}
.dx-auth-kicker {
    text-align: center;
    font-size: 13px;
    color: var(--ink-3);
    -webkit-text-fill-color: var(--ink-3);
    margin: 8px 0 0;
}
.dx-auth-tabs {
    display: flex;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px;
    margin: 22px 0 24px;
}
.dx-auth-tabs a {
    flex: 1;
    text-align: center;
    padding: 9px 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    -webkit-text-fill-color: var(--ink-2);
    text-decoration: none;
    transition: color var(--t-fast), background var(--t-fast);
}
.dx-auth-tabs a.active {
    background: var(--brand-grad);
    color: #fff;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 4px 12px -4px #0ea5e999;
}
.dx-auth-field { margin-bottom: 16px; }
.dx-auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    -webkit-text-fill-color: var(--ink-2);
    margin-bottom: 7px;
}
.dx-auth-input {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-s);
    outline: none;
    box-sizing: border-box;
    transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.dx-auth-input:focus {
    border-color: var(--brand-1);
    background: #fff;
    box-shadow: 0 0 0 3px #0ea5e922;
}
.dx-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 20px;
    font-size: 13px;
}
.dx-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-3);
    -webkit-text-fill-color: var(--ink-3);
    cursor: pointer;
    user-select: none;
}
.dx-auth-check input[type=checkbox] {
    width: 15px;
    height: 15px;
    accent-color: var(--brand-1);
    margin: 0;
}
.dx-auth-row .btn-forgot {
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    text-decoration: none;
}
.dx-auth-row .btn-forgot:hover { text-decoration: underline; }
.dx-auth-submit {
    display: block;
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-grad);
    color: #fff;
    -webkit-text-fill-color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px #0ea5e9b3;
    transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
}
.dx-auth-submit:hover { transform: translateY(-1px); filter: brightness(1.05); }
.dx-auth-submit:active { transform: translateY(0); filter: brightness(.97); }
.dx-auth-alt {
    text-align: center;
    font-size: 13px;
    color: var(--ink-3);
    -webkit-text-fill-color: var(--ink-3);
    margin: 18px 0 0;
}
.dx-auth-alt a {
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    font-weight: 600;
    text-decoration: none;
}
.dx-auth-alt a:hover { text-decoration: underline; }
.dx-auth-captcha { display: flex; align-items: center; gap: 10px; }
.dx-auth-captcha img { border-radius: var(--radius-s); cursor: pointer; }
.dx-auth-captcha input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-s);
    outline: none;
    box-sizing: border-box;
}
.dx-auth-tip {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    -webkit-text-fill-color: var(--muted);
    margin-top: 16px;
}
.dx-auth-tip a { color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); }
.dx-auth-tip a:hover { color: var(--brand-1); -webkit-text-fill-color: var(--brand-1); }
@media (max-width: 520px) {
    .dx-auth-wrap { margin: 24px auto 56px; }
    .dx-auth-card { padding: 28px 22px 24px; }
}

/* 退出入口改为 a 链接后的文字样式兜底 */
.dx-mobile-logout-btn { text-decoration: none; color: var(--ink); -webkit-text-fill-color: var(--ink); }

/* 22b. 登出确认卡片（dx-auth-confirm）—— user/logout */
.dx-auth-confirm-card {
    text-align: center;
    padding: 38px 34px 30px;
}
.dx-auth-confirm-icon {
    width: 74px;
    height: 74px;
    margin: 24px auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-grad-soft);
    border: 1px solid var(--line);
}
.dx-auth-confirm-icon svg {
    width: 34px;
    height: 34px;
    color: var(--brand-1);
}
.dx-auth-confirm-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
}
.dx-auth-confirm-desc {
    margin: 0 0 26px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--ink-3);
    -webkit-text-fill-color: var(--ink-3);
}
.dx-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dx-auth-cancel {
    display: block;
    width: 100%;
    height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink-2);
    -webkit-text-fill-color: var(--ink-2);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.dx-auth-cancel:hover {
    border-color: var(--brand-1);
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    background: var(--brand-grad-soft);
}

/* ============================================================
 * 23. 第三方登录按钮 + 暂不支持提示页
 *    登录页 / 注册页卡片底部三按钮；/index/thirdlogin/go 网关
 * ============================================================ */

/* 23.1 分隔标题 */
.dx-auth-social {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
}
.dx-auth-social-title {
    margin: 0 0 14px;
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--ink-3);
    -webkit-text-fill-color: var(--ink-3);
    text-align: center;
}

/* 23.2 按钮组 */
.dx-auth-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.dx-social-btn {
    flex: 1 1 96px;
    min-width: 96px;
    max-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink-2);
    -webkit-text-fill-color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast), transform var(--t-fast);

    white-space: nowrap; /* 防止按钮内文字折行 */
}
.dx-social-btn:hover {
    transform: translateY(-1px);
}
.dx-social-mark {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: var(--brand-1);
    line-height: 1;
}
.dx-social-wechat .dx-social-mark { background: #07C160; }
.dx-social-wechat:hover { border-color: #07C160; color: #07C160; -webkit-text-fill-color: #07C160; }
.dx-social-qq .dx-social-mark { background: #12B7F5; }
.dx-social-qq:hover { border-color: #12B7F5; color: #12B7F5; -webkit-text-fill-color: #12B7F5; }
.dx-social-weibo .dx-social-mark { background: #E6162D; }
.dx-social-weibo:hover { border-color: #E6162D; color: #E6162D; -webkit-text-fill-color: #E6162D; }

/* 23.3 暂不支持页：倒计时 */
.dx-auth-countdown {
    margin: -8px 0 22px;
    font-size: 13px;
    color: var(--ink-3);
    -webkit-text-fill-color: var(--ink-3);
}
.dx-auth-countdown-num {
    display: inline-block;
    min-width: 20px;
    font-weight: 700;
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
}
a.dx-auth-submit-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* 23.4 邮箱验证码（注册卡片） */
.dx-auth-captcha {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.dx-auth-captcha .dx-auth-input { flex: 1 1 auto; min-width: 0; }
.dx-auth-code-btn {
    flex: 0 0 auto;
    width: 116px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--brand-1);
    -webkit-text-fill-color: var(--brand-1);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.dx-auth-code-btn:hover:not(:disabled) {
    border-color: var(--brand-1);
    background: var(--brand-grad-soft);
}
.dx-auth-code-btn:disabled {
    cursor: not-allowed;
    color: var(--ink-3);
    -webkit-text-fill-color: var(--ink-3);
    border-color: var(--line);
    background: transparent;
}
.dx-auth-hint {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.7;
    color: var(--ink-3);
    -webkit-text-fill-color: var(--ink-3);
}
@media (max-width: 420px) {
    .dx-auth-code-btn { width: 100px; font-size: 12px; }
}

/* ============================================================
 * 23.2b 窄屏（≤480px）：第三方按钮改竖排大按钮
 * 原因：按钮内容最小需 ~113px（圆圈 22 + gap 7 + "微信登录" 52 + padding 24），
 *       窄屏 flex 平分后只有 88~96px -> 文字折成两行且溢出按钮。
 *       横排仅在卡片达到最大宽度（视口 ≥492px）时才刚好放得下。
 * ★ 必须放在 .dx-social-btn 基础样式之后：同特异度下后加载者胜。
 * ============================================================ */
@media (max-width: 480px) {
    .dx-auth-social-list {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
    }
    .dx-auth-social-list .dx-social-btn {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
        height: 46px;
    }
}

/* ============================================================
   24. 会员中心交互补丁（2026-09-23）
   ------------------------------------------------------------
   · 禁用态主按钮：原 opacity .55 白字浅底几乎不可读 → 改实底灰
   · dx-toast 轻提示 / dx-modal 弹窗（改邮箱、手机号）
   · dx-third-bind 第三方绑定按钮组（复用 dx-social-btn）
   ============================================================ */
body.dx-shell #content-container:has(.sidenav) .btn-primary.disabled,
body.dx-shell #content-container:has(.sidenav) .btn-info.disabled,
body.dx-shell #content-container:has(.sidenav) .btn-primary[disabled],
body.dx-shell #content-container:has(.sidenav) .btn-info[disabled] {
    opacity: 1;
    background: #b9c6d2;
    color: #fff;
    -webkit-text-fill-color: #fff;
    box-shadow: none;
    cursor: not-allowed;
}
body.dx-shell #content-container:has(.sidenav) .btn-primary.disabled:hover,
body.dx-shell #content-container:has(.sidenav) .btn-info.disabled:hover {
    background: #b9c6d2;
    box-shadow: none;
}

/* -- 第三方绑定按钮组 -- */
.dx-third-bind { display: flex; gap: 10px; flex-wrap: wrap; }
.dx-third-bind .dx-social-btn { flex: 0 0 auto; min-width: 0; max-width: none; }
.dx-third-bind .dx-social-btn.is-bound { border-style: dashed; color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); }
.dx-third-bind .dx-social-btn.is-bound .dx-social-mark { background: #94a3b8; }
.dx-third-bind .dx-social-btn.is-bound:hover { transform: none; }

/* -- 轻提示 -- */
.dx-toast {
    position: fixed; top: 24px; left: 50%; transform: translate(-50%, -16px);
    z-index: 10000; max-width: 78vw; padding: 10px 18px;
    border-radius: 999px; font-size: 14px; line-height: 1.5;
    color: #fff; -webkit-text-fill-color: #fff;
    background: rgba(15, 23, 42, .88);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, .5);
    opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}
.dx-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.dx-toast.is-err { background: rgba(190, 30, 45, .92); }

/* -- 弹窗（修改邮箱 / 手机号） -- */
body.is-modal-open { overflow: hidden; }
.dx-modal-mask {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(15, 23, 42, .45);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.dx-modal {
    width: 100%; max-width: 430px; max-height: 86vh; overflow: auto;
    background: var(--surface, #fff); border-radius: 14px;
    box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .4);
}
.dx-modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px 12px; font-size: 16px; font-weight: 700; color: var(--ink, #1f2937);
}
.dx-modal-close {
    border: 0; background: none; font-size: 22px; line-height: 1;
    color: var(--muted, #94a3b8); cursor: pointer; padding: 2px 6px;
}
.dx-modal-body { padding: 8px 20px 20px; }
.dx-modal-body .form-group { margin-bottom: 14px; }
.dx-modal-body .control-label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--ink-2, #475569); }
.dx-modal-body .form-control {
    display: block; width: 100%; height: 40px; padding: 8px 12px;
    border: 1px solid var(--line-strong, #cbd5e1); border-radius: 10px;
    font-size: 14px; color: var(--ink, #1f2937); background: #fff; outline: none;
}
.dx-modal-body .form-control:focus { border-color: #0ea5e9; box-shadow: 0 0 0 3px #0ea5e922; }
.dx-modal-body .input-group { display: flex; gap: 8px; }
.dx-modal-body .input-group .form-control { flex: 1 1 auto; width: auto; }
.dx-modal-body .input-group-btn { flex: 0 0 auto; }
.dx-modal-body .btn-captcha {
    display: inline-block; padding: 9px 14px; border-radius: 10px;
    border: 1px solid #0ea5e955; color: var(--brand-1, #0ea5e9); -webkit-text-fill-color: var(--brand-1, #0ea5e9);
    background: #0ea5e914; font-size: 13px; white-space: nowrap; cursor: pointer;
}
.dx-modal-body .btn-captcha.disabled { opacity: .6; pointer-events: none; }
.dx-modal-body .btn-primary {
    display: inline-block; width: 100%; padding: 10px 16px;
    border: 0; border-radius: 10px; cursor: pointer;
    background: var(--brand-grad, linear-gradient(100deg, #38bdf8, #34d399));
    color: #fff; -webkit-text-fill-color: #fff; font-size: 15px; font-weight: 700;
}

/* ============================================================
   25. 页脚备案号链接（2026-09-23 合规化）
   ============================================================ */
.dx-footer-bottom .dx-beian-link {
    display: inline-flex; align-items: center; gap: 4px;
    color: inherit; text-decoration: none; opacity: .85;
}
.dx-footer-bottom .dx-beian-link:hover { opacity: 1; text-decoration: underline; }
.dx-footer-bottom .dx-beian-badge { width: 13px; height: 13px; flex: 0 0 auto; color: #2f9e6e; }
