/* ============================================
   YCQ 智联 - 首页样式表 v6（对齐参考图：深藏青底色+左上角稀疏星点）
   参考图特征：深藏青近纯色底(~#182B4C) + 左上角区域稀疏小星点 + 2px鎏金边框不变
   三端自适应: PC / Tablet / Mobile
   ============================================ */

/* ---------- ① CSS 变量 — 对齐参考图深藏青 ---------- */
:root {
    /* === 背景色系 — 精确对齐参考图深藏青（近纯色，微弱渐变）=== */
    --sky-deep:       #141E33;     /* 最深区 — 近黑藏青 */
    --sky-mid:        #172640;     /* 中区 — 暗藏青 */
    --sky-base:       #1A2B4C;     /* 主基调 — 参考图核心色（深藏青） */
    --sky-light:      #1E3258;     /* 微亮区 — 极轻微提亮 */
    --sky-accent:     #223962;     /* 最亮端 — 仍保持沉稳暗调 */
    --card-bg:        rgba(20, 35, 60, 0.65);   /* 半透明卡片适配参考图 */
    --card-bg-solid:  #162842;     /* 实色卡片 */
    --overlay-dark:   rgba(10, 18, 35, 0.30);

    /* === 鎏金色系 — 原生金属质感，明暗渐变过渡 === */
    --gold-pale:      #FFF0CC;
    --gold-light:     #E8C96A;
    --gold:           #D4A83A;
    --gold-mid:       #B8923A;
    --gold-deep:      #9A7632;
    --border-gold:    var(--gold);
    --text-gold:      var(--gold-light);   /* 暗底上用更亮的鎏金 */

    /* === 辅助色（暗底适配）=== */
    --white:          #FFFFFF;
    --off-white:      #D8E8F8;
    --text-primary:   #DCE8F5;     /* 主文字 — 浅蓝白 */
    --text-secondary: #8CA8C8;     /* 辅文字 — 中亮蓝 */
    --text-muted:     #5A7898;     /* 弱文字 — 中灰蓝 */
    --nav-bg:         rgba(18, 30, 50, 0.82);  /* 导航栏 — 融合深藏青底色 */
    --shadow-gold:    0 4px 24px rgba(212, 168, 58, 0.28);
    --shadow-card:    0 6px 28px rgba(0, 0, 0, 0.22);
    --nav-height:     64px;
    --font-main:      'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* === 鎏金渐变（金属质感多段过渡）=== */
    --gradient-gold: linear-gradient(
        135deg,
        var(--gold-pale) 0%,
        var(--gold-light) 25%,
        var(--gold) 50%,
        var(--gold-mid) 75%,
        var(--gold-deep) 100%
    );
    /* 文字用竖向渐变：顶部高光→中部主色→底部暗调 */
    --gradient-gold-text: linear-gradient(
        180deg,
        var(--gold-pale) 0%,
        var(--gold-light) 25%,
        var(--gold) 50%,
        var(--gold-mid) 75%,
        var(--gold-deep) 100%
    );
    /* 按钮填充用更亮的版本 */
    --gradient-gold-btn: linear-gradient(
        135deg,
        var(--gold-light) 0%,
        var(--gold) 50%,
        var(--gold-mid) 100%
    );

    /* === ③ 全局边框规则：2px鎏金实线常驻高亮 === */
    --bw: 2px;              /* 边框粗细固定 */
    --bc-default: var(--gold);           /* 常态：鎏金高亮 */
    --bc-hover:   rgba(180, 140, 52, 0.65); /* hover：微暗内敛 */
}


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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== ① 全局背景：对齐参考图深藏青（近纯色+微弱渐变） ========== */
body {
    font-family: var(--font-main);
    /* 对齐参考图：深藏青近纯色，仅极微弱渐变过渡 */
    background:
        linear-gradient(
            175deg,
            var(--sky-accent) 0%,
            var(--sky-light) 30%,
            var(--sky-base) 60%,
            var(--sky-mid) 85%,
            var(--sky-deep) 100%
        );
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.6;
}

/* 轻柔纹理叠加 */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.018;
    pointer-events: none;
    z-index: 0;
}

/* ========== ⑤ 星光粒子：仅依赖JS动态粒子，无CSS静态斑点 ========== */
/* body::after 已取消 — 不再使用radial-gradient静态满屏斑点（避免"屏幕脏了"效果）*/

/* 降低动画频率减少性能消耗 */
@media (prefers-reduced-motion: reduce) {
    .particle {
        animation: none !important;
        opacity: 0.7;
    }
}


/* ============================================
   导航栏（对齐参考图：半透明融合底色）
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    background: var(--nav-bg);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    /* ③ 2px鎏金常驻高亮边框 */
    border-bottom: var(--bw) solid var(--bc-default);
    z-index: 9999;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 导航栏hover：金边微暗 */
.navbar:hover {
    border-color: var(--bc-hover);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(212, 168, 58, 0.25));
}

.nav-brand {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* PC导航菜单 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    flex: 1;
    justify-content: center;
    margin: 0 24px;
}

/* ③ 导航项：2px鎏金常驻高亮 */
.nav-item {
    padding: 7px 15px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    border: var(--bw) solid var(--bc-default);
    border-radius: 6px;
    cursor: default;
    white-space: nowrap;
    transition: all 0.28s ease;
    user-select: none;
    letter-spacing: 0.5px;
}

/* ③ hover反向：金边微暗+内提亮 */
.nav-item:hover {
    border-color: var(--bc-hover);
    background: rgba(232, 201, 106, 0.12);
    color: var(--white);
    box-shadow: inset 0 0 12px rgba(255, 240, 204, 0.08);
}

.nav-item.active {
    border-color: var(--bc-default);
    background: rgba(232, 201, 106, 0.18);
    color: var(--white);
    font-weight: 600;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* ③ 登录按钮：2px鎏金常驻高亮 */
.btn-login {
    padding: 7px 22px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-gold);
    background: transparent;
    border: var(--bw) solid var(--bc-default);
    border-radius: 6px;
    cursor: default;
    transition: all 0.28s ease;
    letter-spacing: 1px;
}

.btn-login:hover {
    border-color: var(--bc-hover);
    background: rgba(212, 168, 58, 0.07);
    box-shadow: var(--shadow-gold);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: none;
    border: var(--bw) solid var(--bc-default);
    border-radius: 6px;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ============================================
   移动端侧边栏（深色适配）
   ============================================ */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.show { display: block; opacity: 1; }

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: linear-gradient(180deg, var(--sky-base), var(--sky-deep));
    z-index: 10001;
    transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.25);
}
.sidebar.open { right: 0; }

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 18px;
    border-bottom: var(--bw) solid var(--bc-default);
    font-size: 17px;
    font-weight: 700;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-logo {
    width: 30px;
    height: 30px;
    -webkit-text-fill-color: initial;
}

.sidebar-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}
.sidebar-close:hover { color: var(--gold); }

.sidebar-menu {
    list-style: none;
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.sidebar-item {
    padding: 14px 22px;
    font-size: 15px;
    color: var(--text-secondary);
    border-left: var(--bw) solid transparent;
    cursor: default;
    transition: all 0.25s ease;
}
.sidebar-item:hover,
.sidebar-item.active {
    color: var(--gold-light);
    background: rgba(232, 201, 106, 0.1);
    border-left-color: var(--bc-default);
}

/* ★ 侧边栏退出登录项（仅移动端可见） */
.sidebar-logout-item,
.sidebar-logout-item:hover,
.sidebar-logout-item.active {
    color: #FF8A8A;
    border-left-color: #FF6B6B;
    background: rgba(255, 107, 107, 0.08);
    border-top: 1px solid rgba(212, 168, 58, 0.2);
    margin-top: 6px;
    padding-top: 16px;
}

.sidebar-footer {
    padding: 16px 18px;
    border-top: var(--bw) solid rgba(212, 168, 58, 0.35);
}
.btn-login-sidebar {
    width: 100%;
    text-align: center;
    padding: 11px;
    font-size: 15px;
}


/* ============================================
   主内容区包装器
   ============================================ */
.main-wrapper {
    position: relative;
    z-index: 1;
    padding-top: var(--nav-height);
}


/* ============================================
   Hero 轮播区域（首屏）
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: calc(100svh - var(--nav-height));
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: visible;
    /* 背景与全页统一：无独立渐变，透出body深藏青底色 */
    background: transparent;
}

/* 粒子容器保留兼容JS动态生成 */
.particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
}

/* 动态粒子：鎏金星光从下往上飘 — 几倍放大版 */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gold-light);
    border-radius: 50%;
    animation: particleFloat linear infinite;
    box-shadow: 0 0 8px rgba(232, 201, 106, 0.5);
    /* JS动态设置width/height，这里只是fallback */
}

@keyframes particleFloat {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    8% { opacity: 0.85; }
    85% { opacity: 0.85; }
    100% { transform: translateY(-300px) scale(0.4); opacity: 0; }
}

/* ====== 轮播容器（横向滑动版 v2.0） ====== */
/* ★ 样式隔离：所有轮播选择器以 .hero-section 为父级前缀，提升权重，杜绝后台全局样式覆盖 */
.hero-section .carousel {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: pan-y; /* 允许垂直滚动，水平滑动留给轮播 */
}

.hero-section .carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* ★ 横向滑动核心：每个slide占100%宽度，通过track的translateX切换 */
.hero-section .carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* 幻灯片背景：统一透明，透出全页深藏青 */
.hero-section .carousel-slide.slide-dark {
    background: transparent;
}
.hero-section .carousel-slide.slide-brand {
    background: transparent;
}

/* ③ 品牌大图：2px鎏金边框常驻 */
.slide-brand-img {
    max-width: 90%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 16px;
    border: var(--bw) solid var(--bc-default);
    box-shadow: var(--shadow-card), var(--shadow-gold);
}

/* 首屏内容居中 */
.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

/* ③ Logo容器：2px鎏金常驻 */
.hero-logo-wrap {
    display: inline-block;
    width: 90px;
    height: 90px;
    padding: 6px;
    border: 2.5px solid var(--bc-default);
    border-radius: 16px;
    background: rgba(18, 30, 52, 0.68);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-gold);
    margin-bottom: 28px;
}
.hero-logo-wrap:hover {
    border-color: var(--bc-hover);
}

.hero-logo {
    width: 100%; height: 100%;
    object-fit: contain;
}

/* 主标题 */
.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.title-white {
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* ② 鎏金字：原生金属渐变 */
.title-gold {
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 6px rgba(212, 168, 58, 0.25));
}

/* 副标题：鎏金渐变 */
.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 21px);
    color: var(--text-gold);
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

/* 描述文字：深色适配浅底 */
.hero-desc {
    font-size: clamp(13px, 1.6vw, 16px);
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 36px;
}

/* 按钮组 */
.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* ③ 微信登录按钮：鎏金填充 + 2px鎏金边框 */
.btn-wx {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 34px;
    font-size: 15px;
    font-weight: 600;
    color: #3A2A10;
    background: var(--gradient-gold-btn);
    border: var(--bw) solid var(--bc-default);
    border-radius: 8px;
    cursor: default;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    letter-spacing: 1px;
}
.btn-wx:hover {
    /* ③ 反向：边框微暗 */
    border-color: var(--bc-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 58, 0.35);
}

.wx-icon { flex-shrink: 0; }

/* ③ 金边描空按钮：2px常驻高亮 */
.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 34px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gold);
    background: transparent;
    border: var(--bw) solid var(--bc-default);
    border-radius: 8px;
    cursor: default;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}
.btn-outline-gold:hover {
    border-color: var(--bc-hover);
    background: rgba(212, 168, 58, 0.12);
    box-shadow: var(--shadow-gold);
}

/* 测试中状态 */
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    font-size: 12.5px;
    color: var(--text-muted);
    /* ③ 2px鎏金边框 */
    border: var(--bw) solid rgba(212, 168, 58, 0.35);
    border-radius: 20px;
    background: rgba(18, 30, 52, 0.45);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; box-shadow: 0 0 6px var(--gold); }
}

/* ③ 轮播箭头：2px鎏金常驻 */
.hero-section .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: var(--bw) solid var(--bc-default);
    background: rgba(18, 30, 52, 0.68);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
.hero-section .carousel-arrow:hover {
    border-color: var(--bc-hover);
    background: rgba(18, 30, 52, 0.85);
    box-shadow: var(--shadow-gold);
}

.hero-section .carousel-prev { left: 24px; }
.hero-section .carousel-next { right: 24px; }

/* 轮播指示器 */
.hero-section .carousel-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    z-index: 10;
}

.hero-section .dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(122, 144, 168, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-section .dot.active {
    width: 24px;
    background: var(--gradient-gold-btn);
    box-shadow: 0 0 10px rgba(212, 168, 58, 0.35);
}

/* ====== 底部四块功能卡片 ====== */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 24px auto 30px;
    padding: 0 20px;
    z-index: 2;
}

/* ③ 功能卡片：2px鎏金常驻高亮 */
.feature-card {
    background: var(--card-bg);
    border: var(--bw) solid var(--bc-default);
    border-radius: 12px;
    padding: 24px 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}
/* ③ hover反向：金边微暗 */
.feature-card:hover {
    border-color: var(--bc-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ② 功能数字：鎏金金属渐变 */
.feature-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 6px;
}
.feature-plus { font-size: 24px; }
.feature-ai { font-style: italic; letter-spacing: -2px; }

.feature-label {
    font-size: 12.5px;
    color: var(--text-muted);
    letter-spacing: 1px;
}


/* ============================================
   内容板块通用样式
   ============================================ */
.content-section {
    padding: 56px 40px;
    position: relative;
}

.section-container {
    max-width: 1160px;
    margin: 0 auto;
}

/* ② 板块标题：鎏金金属渐变 */
.section-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 40px;
}

.card-grid {
    display: grid;
    gap: 22px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }


/* ----- 服务卡片 ----- */
/* ③ 服务卡片：2px鎏金常驻高亮 */
.service-card {
    background: var(--card-bg);
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.32s ease;
    box-shadow: var(--shadow-card);
}
.service-card:hover {
    border-color: var(--bc-hover);
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}
.service-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* 服务图标 */
.service-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.icon-ip {
    background: linear-gradient(135deg, rgba(212, 168, 58, 0.12), rgba(212, 168, 58, 0.04));
    border: 1.5px solid rgba(212, 168, 58, 0.28);
}
.icon-ip::before { content: '⭐'; }

.icon-design {
    background: linear-gradient(135deg, rgba(100, 160, 220, 0.12), rgba(100, 160, 220, 0.04));
    border: 1.5px solid rgba(100, 160, 220, 0.25);
}
.icon-design::before { content: '🎨'; }

.icon-assets {
    background: linear-gradient(135deg, rgba(80, 190, 150, 0.12), rgba(80, 190, 150, 0.04));
    border: 1.5px solid rgba(80, 190, 150, 0.25);
}
.icon-assets::before { content: '📦'; }

.icon-data {
    background: linear-gradient(135deg, rgba(230, 130, 70, 0.12), rgba(230, 130, 70, 0.04));
    border: 1.5px solid rgba(230, 130, 70, 0.25);
}
.icon-data::before { content: '📊'; }

.icon-ai-agent {
    background: linear-gradient(135deg, rgba(160, 110, 230, 0.12), rgba(160, 110, 230, 0.04));
    border: 1.5px solid rgba(160, 110, 230, 0.25);
}
.icon-ai-agent::before { content: '🤖'; }

.icon-wechat {
    background: linear-gradient(135deg, rgba(7, 185, 90, 0.12), rgba(7, 185, 90, 0.04));
    border: 1.5px solid rgba(7, 185, 90, 0.25);
}
.icon-wechat::before { content: '📢'; }

.icon-fullops {
    background: linear-gradient(135deg, rgba(230, 170, 50, 0.12), rgba(230, 170, 50, 0.04));
    border: 1.5px solid rgba(230, 170, 50, 0.25);
}
.icon-fullops::before { content: '🚀'; }


/* ----- 业务卡片（深底+鎏金边框）----- */
.biz-card {
    background: var(--card-bg-solid);
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.32s ease;
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
}
.biz-card:hover {
    border-color: var(--bc-hover);
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}
.biz-card h3 {
    font-size: 17px;
    color: #6EB5FF;
    margin-bottom: 12px;
    font-weight: 600;
}
.biz-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.75;
}


/* ============================================
   CTA 引导板块
   ============================================ */
.section-cta { padding: 0; }

.cta-banner {
    background: linear-gradient(135deg, var(--sky-mid), var(--sky-deep));
    border-top: var(--bw) solid var(--bc-default);
    border-bottom: var(--bw) solid var(--bc-default);
    padding: 64px 40px;
    text-align: center;
}
.cta-banner h2 {
    font-size: 30px;
    color: var(--white);
    margin-bottom: 14px;
}
.cta-banner p {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ③ 白色按钮：2px鎏金边框常驻 */
.btn-white-lg {
    padding: 15px 42px;
    font-size: 16px;
    font-weight: 600;
    background: var(--white);
    color: #0A1628;
    border: var(--bw) solid var(--bc-default);
    border-radius: 8px;
    cursor: default;
    transition: all 0.28s ease;
}
.btn-white-lg:hover {
    border-color: var(--bc-hover);
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* ③ 幽灵按钮：2px鎏金常驻 */
.btn-ghost-lg {
    padding: 15px 42px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gold);
    background: transparent;
    border: var(--bw) solid var(--bc-default);
    border-radius: 8px;
    cursor: default;
    transition: all 0.28s ease;
}
.btn-ghost-lg:hover {
    border-color: var(--bc-hover);
    background: rgba(212, 168, 58, 0.12);
    transform: translateY(-2px);
}


/* ============================================
   数据统计板块
   ============================================ */
.section-stats {
    padding: 52px 40px;
    background: var(--overlay-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ③ 统计卡片：2px鎏金常驻 */
.stat-card {
    background: var(--card-bg);
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    padding: 40px 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}
.stat-card:hover {
    border-color: var(--bc-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

/* ② 统计数字：鎏金金属渐变 */
.stat-card h3 {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.stat-unit { font-size: 22px; }
.stat-card p {
    font-size: 14.5px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}


/* ============================================
   体验官/商城占位卡片
   ============================================ */
/* ③ 占位卡片：2px鎏金常驻 */
.exp-card,
.mall-card {
    background: var(--card-bg-solid);
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
}
.exp-card:hover,
.mall-card:hover {
    border-color: var(--bc-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

.placeholder-badge {
    display: inline-block;
    background: var(--gradient-gold-btn);
    color: #3A2A10;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin: 20px 20px 0;
}

.placeholder-content {
    padding: 14px 20px 24px;
    text-align: center;
}
.placeholder-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.placeholder-price {
    font-size: 24px;
    font-weight: 800;
    color: #6EB5FF;
    margin-bottom: 10px;
}
.placeholder-content p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

.mall-img-placeholder {
    height: 160px;
    background: linear-gradient(135deg, var(--sky-base), var(--sky-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

.product-tip {
    text-align: center;
    color: var(--text-gold);
    font-size: 13.5px;
    margin-top: 20px;
    font-weight: 500;
}


/* ============================================
   广告位占位框
   ============================================ */
.ad-placeholder {
    max-width: 900px;
    margin: 0 auto;
    height: 180px;
    /* ③ 2px鎏金虚线 */
    border: var(--bw) dashed rgba(212, 168, 58, 0.35);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: 15px;
    letter-spacing: 2px;
}


/* ============================================
   底部版权栏
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--sky-deep), #0B2448);
    border-top: var(--bw) solid var(--bc-default);
    padding: 40px 30px 86px;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* 底部备案：普通文档流，纵向排列，字号/颜色统一 */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.footer-links span {
    display: block;
}
.footer-links .label {
    color: var(--text-gold);
    font-weight: 600;
}

/* 旧 filing/copyright 区块已移除，样式保留占位但无元素使用 */
.footer-filing, .filing-item, .filing-icon, .filing-icon-img, .footer-copyright {
    display: none;
}


/* ============================================
   响应式适配（结构不变，仅尺寸调整）
   ============================================ */

/* ★★★ 移动端全局导航硬性规则（≤1200px：平板+手机）★★★ */
/* 核心约束：中间7个导航项彻底隐藏，DOM不渲染 + CSS双重兜底 */
@media (max-width: 1200px) {
    /* ---- 中间导航容器：强制隐藏，不占据任何空间 ---- */
    .nav-menu {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* ---- 汉堡按钮：显示在最右端，永远不可压缩 ---- */
    .hamburger {
        display: flex !important;
        flex-shrink: 0 !important;
        min-width: 38px !important;
        width: 38px !important;
        height: 38px !important;
        z-index: 9999 !important;
    }

    /* ---- 导航栏整体：紧凑布局，两端对齐 ---- */
    .navbar {
        padding: 0 14px;
        height: 54px;
    }
    :root {
        --nav-height: 54px;
    }

    .nav-left {
        flex-shrink: 0;
    }
    .nav-logo { width: 32px; height: 32px; }
    .nav-brand { font-size: 17px; }

    /* ---- 右侧区域：防溢出 + 紧凑间距 ---- */
    .nav-right {
        display: flex !important;
        align-items: center !important;
        gap: 6px;
        flex-shrink: 1;
        min-width: 0;
        max-width: none;
        overflow: hidden;
    }

    /* ---- 未登录：登录按钮 ---- */
    .btn-login {
        display: inline-flex !important;
        padding: 5px 13px;
        font-size: 12.5px;
        white-space: nowrap;
        flex-shrink: 0;
        letter-spacing: 0.5px;
    }

    /* ---- 已登录：用户信息区 ---- */
    .user-info-nav {
        display: flex !important;
        align-items: center !important;
        gap: 5px;
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
    }

    /* 头像：小尺寸 + 不可压缩 */
    .user-avatar {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        flex-shrink: 0 !important;
    }

    /* 昵称：移动端超长截断（≈4中文字+省略号） */
    .user-name {
        max-width: 52px;
        font-size: 11.5px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
    }

    /* 退出按钮：迷你尺寸 + 不可压缩 */
    .btn-logout {
        padding: 3px 7px;
        font-size: 10.5px;
        flex-shrink: 0 !important;
        min-width: 38px;
        white-space: nowrap;
    }

    /* ---- 全局禁止导航栏横向溢出 ---- */
    .navbar {
        overflow: hidden;
        max-width: 100vw;
    }
    .navbar * {
        max-width: 100%;
    }
}

/* --- 平板 (< 1024px) --- */
@media (max-width: 1024px) {
    .nav-menu { gap: 2px; }
    .nav-item { padding: 6px 11px; font-size: 12.5px; }
    .navbar { padding: 0 20px; }
}

/* --- 平板竖屏 / 大手机 (< 768px) --- */
@media (max-width: 768px) {
    /* 注意：导航栏相关样式（nav-menu隐藏/hamburger/登录态/user-info等）
       已统一由 @media(max-width:1200px) 处理，此处仅保留非导航类适配 */

    .navbar {
        padding: 0 12px;
        height: 52px;
    }
    :root { --nav-height: 52px; }

    .main-wrapper { padding-top: var(--nav-height); }
    .hero-section {
        min-height: auto;
        min-height: calc(100svh - var(--nav-height));
        overflow-x: hidden;
        overflow-y: visible;
    }

    .hero-section .carousel-arrow { width: 36px; height: 36px; }
    .hero-section .carousel-prev { left: 4px; }
    .hero-section .carousel-next { right: 4px; }
    .hero-section .carousel-dots { bottom: 60px; }
    .hero-section .carousel-slide { padding: 20px 24px 60px; } /* 上下留空间，避免LOGO压dot */

    .hero-logo-wrap { width: 70px; height: 70px; margin-bottom: 20px; }
    .hero-title { letter-spacing: 1px; }
    .hero-desc { margin-bottom: 24px; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 12px; margin-bottom: 16px; }
    .btn-wx, .btn-outline-gold { width: 100%; max-width: 280px; justify-content: center; }

    /* ★ 移动端四卡片：flex单行均分，三重约束禁止换行 */
    .feature-cards {
        display: flex;
        flex-wrap: nowrap !important;
        gap: 5px;
        max-width: 100%;
        padding: 0 10px;
        margin-bottom: 10px;
        overflow-x: hidden;
    }
    .feature-card {
        flex: 0 0 25%;
        min-width: 0;
        max-width: 25%;
        padding: 14px 4px;
        border-radius: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .feature-number {
        font-size: 28px;
        margin-bottom: 3px;
    }
    .feature-label {
        font-size: 11px;
        letter-spacing: 0.3px;
    }
    .feature-plus { font-size: 16px; }

    .content-section { padding: 36px 18px; }
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 13.5px; margin-bottom: 28px; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .cta-banner { padding: 40px 24px; }
    .cta-banner h2 { font-size: 23px; }
    .cta-buttons { flex-direction: column; align-items: center; }

    .stat-card { padding: 28px 12px; }
    .stat-card h3 { font-size: 30px; }

    .footer { padding: 28px 18px 22px; }
    .footer-links { flex-direction: column; gap: 8px; }
    .footer-copyright { font-size: 12px; }

    /* ★ 手机端JS动态粒子4倍放大 — 醒目 */
    .particle {
        width: 12px;
        height: 12px;
        box-shadow: 0 0 20px rgba(232, 201, 106, 0.85);
    }
}

/* --- 小手机 (< 420px) --- */
@media (max-width: 420px) {
    .navbar { padding: 0 12px; }
    .nav-brand { font-size: 15px; }
    .nav-logo { width: 30px; height: 30px; }
    .hero-logo-wrap { width: 60px; height: 60px; }
    .hero-subtitle { font-size: 15px; }
    .hero-buttons { margin-bottom: 12px; }
    .hero-section .carousel-dots { bottom: 50px; }
    .hero-section .carousel-slide { padding: 16px 16px 50px; }

    /* ★ 小手机四卡片进一步等比缩小 */
    .feature-cards { display: flex; flex-wrap: nowrap !important; gap: 4px; padding: 0 8px; margin-bottom: 8px; }
    .feature-card { flex: 0 0 25%; min-width: 0; max-width: 25%; padding: 10px 3px; border-radius: 8px; overflow: hidden; }
    .feature-number { font-size: 22px; margin-bottom: 2px; }
    .feature-label { font-size: 10px; letter-spacing: 0; }
    .feature-plus { font-size: 13px; }

    .content-section { padding: 28px 14px; }

    /* ★ 小手机端JS粒子4倍放大 — 醒目 */
    .particle {
        width: 8px;
        height: 8px;
        box-shadow: 0 0 14px rgba(232, 201, 106, 0.8);
    }
}


/* ============================================
   微信登录弹窗 + 登录态UI
   深蓝底色 · 2px鎏金边框 · 鎏金按钮
   PC居中弹窗 · 移动端底部滑入
   ============================================ */

/* === 遮罩层 === */
.wx-login-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 18, 35, 0.70);
    z-index: 10002;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.wx-login-overlay.show { display: block; opacity: 1; }

/* === 弹窗主体 === */
.wx-login-modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: 420px;
    max-width: 90vw;
    max-height: 90vh;
    background: linear-gradient(135deg, var(--sky-base), var(--sky-mid));
    border: var(--bw) solid var(--bc-default);
    border-radius: 16px;
    z-index: 10003;
    box-shadow: var(--shadow-card), var(--shadow-gold);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}
.wx-login-modal.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* === 弹窗头部 === */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: var(--bw) solid rgba(212, 168, 58, 0.35);
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.modal-close {
    background: none;
    border: var(--bw) solid var(--bc-default);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.modal-close:hover {
    border-color: var(--bc-hover);
    color: var(--gold);
}

/* === 弹窗内容 === */
.modal-body {
    padding: 28px 24px 32px;
    text-align: center;
}

.login-status {
    padding: 12px 20px;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--gold-light);
    border: var(--bw) solid rgba(212, 168, 58, 0.35);
    border-radius: 8px;
    background: rgba(232, 201, 106, 0.08);
}

.login-error {
    padding: 12px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #FF6B6B;
    border: var(--bw) solid rgba(255, 107, 107, 0.35);
    border-radius: 8px;
    background: rgba(255, 107, 107, 0.08);
}

/* === 扫码视图 === */
.qr-wrap {
    display: inline-block;
    position: relative;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: var(--bw) solid var(--bc-default);
    border-radius: 12px;
    margin-bottom: 20px;
    min-width: 232px;
    min-height: 232px;
}

.qr-code-img {
    width: 200px;
    height: 200px;
    display: block;
    object-fit: contain;
    transition: opacity 0.3s;
}

.qr-hint {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.qr-tip {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* === 微信内授权视图 === */
.wechat-auth-icon {
    margin-bottom: 16px;
    color: #07C160;
}

.wechat-auth-text {
    font-size: 16px;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 8px;
}

.wechat-auth-tip {
    font-size: 13px;
    color: var(--text-muted);
}

/* === QR加载占位 === */
.qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 13px;
    gap: 12px;
}
.qr-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212,168,58,0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: qrSpin 0.8s linear infinite;
}
@keyframes qrSpin { to { transform: rotate(360deg); } }

/* === QR扫码状态覆盖层 === */
.qr-scan-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20,30,51,0.92);
    border-radius: 12px;
    gap: 10px;
    z-index: 1;
}
.qr-scan-text {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* === QR刷新按钮 === */
.btn-qr-refresh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 20px;
    font-size: 13px;
    color: var(--gold-light);
    background: rgba(212,168,58,0.08);
    border: var(--bw) solid rgba(212,168,58,0.35);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}
.btn-qr-refresh:hover {
    background: rgba(212,168,58,0.15);
    border-color: var(--bc-default);
    color: var(--gold);
}

/* === 移动端跳转视图 === */
.mobile-redirect-icon { margin-bottom: 16px; }
.mobile-redirect-text {
    font-size: 16px;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 8px;
}
.mobile-redirect-tip {
    font-size: 13px;
    color: var(--text-muted);
}

/* === 授权确认按钮组 === */
.wechat-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}
.wechat-auth-buttons .btn-wx {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
}
.btn-cancel {
    padding: 10px 24px;
    font-size: 13px;
    color: var(--text-muted);
    background: transparent;
    border: var(--bw) solid rgba(90,120,152,0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}
.btn-cancel:hover {
    border-color: var(--text-muted);
    color: var(--text-secondary);
    background: rgba(90,120,152,0.08);
}

/* === 微信内授权图标增强 === */
.wechat-auth-icon { margin-bottom: 16px; }

/* === 快捷登录面板 === */
.quick-login-avatar-wrap {
    margin-bottom: 16px;
}
.quick-login-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: var(--bw) solid var(--bc-default);
    object-fit: cover;
    box-shadow: var(--shadow-gold);
}
.quick-login-nickname {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.quick-login-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.quick-btn-login {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
}
.quick-switch-account {
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}
.quick-switch-account:hover {
    color: var(--text-secondary);
}

/* === 二次确认面板 === */
.confirm-icon {
    margin-bottom: 16px;
}
.confirm-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.confirm-tip {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.confirm-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}
.confirm-buttons .btn-wx {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    justify-content: center;
}
.confirm-buttons .btn-cancel {
    width: 100%;
}

/* === 登录态：导航栏用户信息 === */
.user-info-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* 导航栏身份标签（已登录时显示） */
.user-level-tag {
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #3A2A10;
    background: var(--gradient-gold-btn);
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* ★ PC/移动端统一头像规格：32px圆形裁切+鎏金边框+不可压缩+可点击 */
.user-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    border: var(--bw) solid var(--bc-default);
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.user-avatar:hover {
    border-color: var(--bc-hover);
    box-shadow: var(--shadow-gold);
}

.user-name {
    font-size: 13.5px;
    color: var(--text-gold);
    font-weight: 500;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s;
}
.user-name:hover {
    color: var(--gold-light);
}

.btn-logout {
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: var(--bw) solid rgba(212, 168, 58, 0.35);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}
.btn-logout:hover {
    border-color: var(--bc-hover);
    color: var(--gold);
    background: rgba(212, 168, 58, 0.07);
}

/* === 登录态：侧边栏用户信息 === */
.user-info-sidebar {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 2px 0;
}

/* === 移动端弹窗适配 === */
@media (max-width: 768px) {
    .wx-login-modal {
        /* 底部滑入 */
        top: auto; left: 0; right: 0;
        bottom: 0;
        transform: translateY(100%);
        width: 100%;
        max-width: 100vw;
        max-height: 70vh;
        border-radius: 16px 16px 0 0;
    }
    .wx-login-modal.show {
        transform: translateY(0);
    }
    .modal-header { padding: 16px 18px; }
    .modal-body { padding: 20px 18px 28px; }
    .modal-title { font-size: 16px; }
    .qr-code-img { width: 160px; height: 160px; }
    .qr-wrap { padding: 12px; min-width: 188px; min-height: 188px; }
    .qr-loading { width: 160px; height: 160px; font-size: 12px; }
    .wechat-auth-buttons { max-width: 100%; }

    .user-info-sidebar { justify-content: center; }

    .quick-login-avatar {
        width: 56px;
        height: 56px;
    }
    .quick-login-nickname {
        font-size: 16px;
    }
    .confirm-buttons {
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .modal-header { padding: 14px 14px; }
    .modal-body { padding: 16px 14px 24px; }
    .qr-code-img { width: 140px; height: 140px; }
    .qr-wrap { min-width: 168px; min-height: 168px; }
    .qr-loading { width: 140px; height: 140px; }
}

/* ============================================
   ⑫ 框架布局 — 底部Tab栏 + 内容区 + 占位页 + 个人中心
   ============================================ */

/* ---------- 内容区容器 ---------- */
.ycq-content {
    min-height: calc(100vh - var(--nav-height) - 56px);
    padding-bottom: 56px;                /* 底部：Tab栏高度 */
}

/* 子页面内容区需要额外顶部间距避开fixed导航栏（首页.main-wrapper自带padding-top） */
body[data-route]:not([data-route="#/home"]):not([data-route=""]) .ycq-content {
    padding-top: var(--nav-height);
}

/* ---------- 底部Tab栏 ---------- */
.ycq-tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: rgba(16, 28, 48, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 900;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.3);
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 100%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

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

.tab-item.active {
    color: var(--gold-light);
}

.tab-item.active .tab-icon {
    transform: scale(1.1);
}

.tab-icon {
    transition: transform 0.2s ease;
}

.tab-label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}

/* ---------- 占位页面通用样式 ---------- */
.page-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 60px 24px;
    text-align: center;
}

.placeholder-inner {
    max-width: 520px;
    width: 100%;
}

.placeholder-icon {
    margin-bottom: 28px;
    opacity: 0.9;
}

.placeholder-icon svg {
    filter: drop-shadow(0 4px 20px rgba(201, 169, 97, 0.25));
}

.placeholder-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.placeholder-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.placeholder-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.ph-tag {
    display: inline-block;
    padding: 5px 16px;
    font-size: 13px;
    color: var(--gold-light);
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.placeholder-cta {
    margin-top: 8px;
}

.ph-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.ph-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: ph-pulse 1.8s ease-in-out infinite;
}

@keyframes ph-pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

.ph-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 600;
}

/* ---------- 个人中心页面（旧版占位，已被下方完整业务UI覆盖） ---------- */
.personal-center {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 32px 36px;
}

.pc-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 24px;
    background: var(--card-bg);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 16px;
    margin-bottom: 20px;
}

.pc-avatar-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
}

.pc-avatar,
.pc-avatar-default {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sky-deep);
}

.pc-info {
    flex: 1;
    min-width: 0;
}

.pc-nickname {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pc-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

.pc-logout {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid rgba(140, 168, 200, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-logout:hover {
    color: #ff8888;
    border-color: rgba(255, 136, 136, 0.4);
}

/* 个人中心统计 */
.pc-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.pc-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 8px;
    background: var(--card-bg);
    border: 1px solid rgba(201, 169, 97, 0.15);
    border-radius: 12px;
}

.pc-stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.pc-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 个人中心功能卡片 */
.pc-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.pc-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 12px;
    background: var(--card-bg);
    border: 1px solid rgba(201, 169, 97, 0.15);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.pc-feature-card:hover {
    border-color: rgba(201, 169, 97, 0.4);
    background: rgba(201, 169, 97, 0.06);
    transform: translateY(-2px);
}

.pc-card-icon {
    color: var(--gold-light);
}

.pc-card-label {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.pc-coming-soon {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ---------- 移动端 Tab栏 + 占位页适配 ---------- */
@media (max-width: 768px) {
    .ycq-tabbar {
        height: 52px;
    }

    .ycq-content {
        padding-bottom: 52px;
    }

    .tab-icon {
        width: 20px;
        height: 20px;
    }

    .tab-label {
        font-size: 10px;
    }

    .placeholder-title {
        font-size: 22px;
    }

    .placeholder-desc {
        font-size: 14px;
    }

    .personal-center {
        padding: 18px 16px 32px;
    }
}

@media (max-width: 420px) {
    .placeholder-title { font-size: 20px; }
    .ph-tag { font-size: 12px; padding: 4px 12px; }
}


/* ============================================
   个人中心完整业务UI v6（对齐设计稿图2）
   用户卡 / 统计数据 / 身份条 / 快捷操作8卡 / 积分区域
   v6更新：2px鎏金边框统一 / 全屏自适应 / 导航防遮挡 / 子页无版权
   ============================================ */

/* ---------- 未登录引导区 ---------- */
.pc-guest {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58vh;
    padding: 40px 24px;
}

.pc-guest-inner {
    text-align: center;
    max-width: 440px;
}

.pc-guest-icon {
    margin-bottom: 24px;
}

.pc-guest-icon svg {
    filter: drop-shadow(0 4px 16px rgba(201, 169, 97, 0.3));
}

.pc-guest-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.pc-guest-desc {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* ---------- ① 用户卡头部 — 2px鎏金边框 ---------- */
.personal-center {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 32px 36px;
}

/* 大屏(≥1600px)：进一步舒展 */
@media (min-width: 1600px) {
    .personal-center { max-width: 1240px; padding: 28px 40px 40px; }
}
/* 中屏(≥1200px)：适度舒展 */
@media (min-width: 1200px) {
    .personal-center { max-width: 1100px; padding: 24px 36px 38px; }
}

.pc-user-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(22, 42, 72, 0.85), rgba(18, 35, 60, 0.9));
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
}

.pc-avatar-area {
    flex-shrink: 0;
}

.pc-avatar-badge-wrap {
    position: relative;
    display: inline-block;
}

.pc-user-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
    display: block;
    background: var(--sky-deep);
}

.pc-avatar-default {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 头像底部身份徽章 */
.pc-identity-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold-btn);
    color: #3A2A10;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(212, 168, 58, 0.4);
}

.pc-user-meta {
    flex: 1;
    min-width: 0;
}

.pc-user-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.pc-user-id {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-btn-edit {
    flex-shrink: 0;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: var(--bw) solid rgba(140, 168, 200, 0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.22s ease;
    letter-spacing: 0.5px;
}

.pc-btn-edit:hover {
    color: var(--gold-light);
    border-color: rgba(212, 168, 58, 0.45);
    background: rgba(212, 168, 58, 0.06);
}

/* ---------- ② 三栏统计 — 2px鎏金边框 ---------- */
.pc-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.pc-stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 12px;
    background: linear-gradient(135deg, rgba(22, 42, 72, 0.75), rgba(18, 35, 60, 0.82));
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
}

.pc-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    /* 鎏金数字渐变 */
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pc-stat-value.pc-stat-gold {
    background: linear-gradient(180deg, #FFD54F 0%, #D4A83A 50%, #B8923A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pc-stat-key {
    font-size: 12.5px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ---------- ③ 身份标识条 — 2px鎏金边框 ---------- */
.pc-identity-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(40, 30, 15, 0.55), rgba(30, 22, 10, 0.65));
    border: var(--bw) solid rgba(212, 168, 58, 0.3);
    border-radius: 12px;
    margin-bottom: 24px;
}

.pc-identity-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.pc-identity-star {
    font-size: 22px;
    color: #FFC107;
    flex-shrink: 0;
}

.pc-identity-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pc-identity-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #FFD54F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-identity-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-btn-share {
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #42A5F5, #1E88E5);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.pc-btn-share:hover {
    background: linear-gradient(135deg, #64B5F6, #42A5F5);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(66, 165, 245, 0.35);
}

/* ---------- ④ 快捷操作区域 — 2px鎏金边框 + 自适应拉伸 ---------- */
.pc-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-left: 2px;
    letter-spacing: 0.5px;
}

.pc-section-title::before {
    content: '';
    display: inline-block;
    width: 3.5px;
    height: 16px;
    background: var(--gradient-gold-btn);
    border-radius: 2px;
}

.pc-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.pc-action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 16px;
    background: linear-gradient(145deg, rgba(22, 40, 66, 0.78), rgba(16, 30, 52, 0.85));
    border: var(--bw) solid var(--bc-default);
    border-radius: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.pc-action-card:hover {
    border-color: rgba(212, 168, 58, 0.45);
    background: linear-gradient(145deg, rgba(28, 48, 76, 0.85), rgba(20, 36, 60, 0.9));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 操作卡片图标容器 */
.pc-ac-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pc-ac-green    { background: rgba(7, 193, 96, 0.1); }
.pc-ac-yellow   { background: rgba(212, 168, 58, 0.12); }
.pc-ac-blue     { background: rgba(91, 155, 213, 0.1); }
.pc-ac-orange   { background: rgba(232, 160, 80, 0.1); }
.pc-ac-teal     { background: rgba(77, 182, 172, 0.1); }
.pc-ac-gold     { background: rgba(212, 168, 58, 0.12); }
.pc-ac-purple   { background: rgba(156, 136, 213, 0.1); }
.pc-ac-cyan     { background: rgba(79, 195, 247, 0.1); }

.ac-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.ac-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ---------- ⑤ 积分区域 — 2px鎏金边框 ---------- */
.pc-points-card {
    background: linear-gradient(145deg, rgba(20, 38, 64, 0.82), rgba(14, 28, 48, 0.88));
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    overflow: hidden;
}

.pc-points-inner {
    padding: 24px 28px;
}

.pc-points-label {
    font-size: 13px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 10px;
}

.pc-points-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.pc-points-num {
    font-size: 44px;
    font-weight: 800;
    /* 大号鎏金数字 */
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1;
}

.pc-points-unit {
    font-size: 16px;
    color: var(--text-gold);
    font-weight: 600;
}

.pc-btn-detail {
    padding: 7px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: var(--bw) solid rgba(140, 168, 200, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.pc-btn-detail:hover {
    color: var(--gold-light);
    border-color: rgba(212, 168, 58, 0.4);
    background: rgba(212, 168, 58, 0.06);
}

.pc-points-note {
    padding: 12px 28px 14px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid rgba(201, 169, 97, 0.1);
    letter-spacing: 0.3px;
}

/* ==================== 个人中心响应式适配 v6 ====================
   三档断点：1600px / 1200px / 768px / 420px
   PC舒展居中 · 移动端单列流式 · 无横向滚动
*/

/* --- 平板/小屏PC (768px ~ 1199px) --- */
@media (max-width: 1199px) and (min-width: 769px) {
    .personal-center { max-width: 900px; padding: 22px 24px 34px; }
    .pc-actions-grid { gap: 12px; }
    .pc-action-card { padding: 18px 14px; }
}

/* --- 移动端 (< 768px)：单列流式 --- */
@media (max-width: 768px) {
    /* 容器：全宽单列，极小安全边距 */
    .personal-center {
        max-width: 100%;
        padding: 18px 16px 32px;
    }

    .pc-user-card {
        padding: 18px 16px;
        gap: 14px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .pc-user-avatar {
        width: 56px;
        height: 56px;
    }

    .pc-identity-badge {
        font-size: 9px;
        padding: 2px 7px;
    }

    .pc-user-name {
        font-size: 17px;
    }

    .pc-user-id {
        font-size: 11px;
    }

    .pc-btn-edit {
        padding: 6px 14px;
        font-size: 12px;
    }

    /* 统计栏：保持3列但缩小内边距 */
    .pc-stats-row {
        gap: 10px;
        margin-bottom: 16px;
    }

    .pc-stat-block {
        padding: 16px 8px;
        border-radius: 12px;
    }

    .pc-stat-value {
        font-size: 23px;
    }

    /* 身份条：纵向堆叠 */
    .pc-identity-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
        margin-bottom: 20px;
    }

    .pc-identity-left {
        gap: 8px;
    }

    .pc-identity-star {
        font-size: 19px;
    }

    .pc-identity-text strong {
        font-size: 13px;
    }

    .pc-btn-share {
        text-align: center;
        padding: 10px 16px;
    }

    /* ★ 快捷操作：2×4 → 单列流式（移动端触控友好） */
    .pc-actions-grid {
        grid-template-columns: 1fr 1fr;  /* 仍保持2列紧凑排列 */
        gap: 10px;
        margin-bottom: 22px;
    }

    .pc-action-card {
        padding: 14px 12px;
        border-radius: 10px;
        flex-direction: row;  /* 横向排布：图标+文字并排 */
        align-items: center;
        gap: 12px;
    }

    .pc-ac-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .pc-ac-icon svg {
        width: 22px;
        height: 22px;
    }

    .ac-name {
        font-size: 13px;
    }

    .ac-desc {
        font-size: 11px;
    }

    .pc-points-inner {
        padding: 20px 18px;
    }

    .pc-points-num {
        font-size: 36px;
    }

    .pc-points-note {
        padding: 10px 18px 12px;
        font-size: 11.5px;
    }

    /* 覆盖旧版占位样式 */
    .pc-header { display: none; }
    .pc-stats { display: none; }
    .pc-features { display: none; }
    .pc-coming-soon { display: none; }
    .page-placeholder { display: none; }
}

/* --- 小手机 (< 420px) --- */
@media (max-width: 420px) {
    .personal-center {
        padding: 14px 12px 28px;
    }

    .pc-user-card {
        padding: 14px 12px;
        gap: 12px;
    }

    .pc-user-avatar {
        width: 50px;
        height: 50px;
    }

    .pc-identity-badge {
        bottom: -5px;
        font-size: 8px;
        padding: 1px 6px;
    }

    .pc-user-name {
        font-size: 15.5px;
    }

    .pc-user-id {
        font-size: 10px;
    }

    .pc-btn-edit {
        padding: 5px 11px;
        font-size: 11px;
    }

    .pc-stat-value {
        font-size: 20px;
    }

    .pc-stat-key {
        font-size: 11.5px;
    }

    .pc-identity-bar {
        padding: 12px 14px;
    }

    .pc-identity-text strong {
        font-size: 12px;
    }

    .pc-identity-desc {
        font-size: 10.5px;
    }

    .pc-btn-share {
        font-size: 11.5px;
        padding: 8px 14px;
    }

    .pc-action-card {
        padding: 12px 10px;
    }

    .pc-ac-icon {
        width: 36px;
        height: 36px;
    }

    .pc-ac-icon svg {
        width: 20px;
        height: 20px;
    }

    .ac-name {
        font-size: 12.5px;
    }

    .pc-points-num {
        font-size: 32px;
    }

    .pc-guest {
        min-height: 52vh;
        padding: 32px 16px;
    }

    .pc-guest-title {
        font-size: 22px;
    }
}

/* ============================================
   底部版权条件显示：仅首页(#/home)保留版权
   子页面(个人中心等)隐藏底部版权栏
   通过框架JS在body上设置data-route属性控制
   ============================================ */
body[data-route="#/home"] .footer,
body[data-route=""] .footer,
/* 默认也显示（首页初始加载时可能无data-route） */
.footer:not([data-hide]) {
    display: block;
}

/* 非首页路由：隐藏版权栏 */
body[data-route]:not([data-route="#/home"]):not([data-route=""]) .footer {
    display: none !important;
}




/* ============================================
   个人中心 — 公众号绑定子页面样式
   ============================================ */
/* 子页面头部 */
.pc-sub-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.pc-back-btn {
    padding: 6px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    background: transparent;
    border: var(--bw) solid rgba(140, 168, 200, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.pc-back-btn:hover {
    color: var(--gold-light);
    border-color: rgba(212, 168, 58, 0.4);
    background: rgba(212, 168, 58, 0.06);
}

.pc-sub-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* 区块标题 */
.pc-bind-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gold);
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

/* 绑定表单区 */
.pc-bind-form-section {
    margin-bottom: 32px;
}

.pc-bind-form {
    background: linear-gradient(145deg, rgba(22, 40, 66, 0.78), rgba(16, 30, 52, 0.85));
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    padding: 24px 28px;
}

.pc-form-group {
    margin-bottom: 18px;
}

.pc-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.pc-required {
    color: #EF4444;
    margin-left: 2px;
}

.pc-form-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-primary);
    background: rgba(10, 20, 36, 0.7);
    border: var(--bw) solid var(--bc-default);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
    box-sizing: border-box;
}

.pc-form-input:focus {
    border-color: rgba(212, 168, 58, 0.5);
    box-shadow: 0 0 0 3px rgba(212, 168, 58, 0.08);
}

.pc-form-hint {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.5;
}

.pc-hint-warn {
    color: #F59E0B;
}

/* IP白名单盒子 */
.pc-ip-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: rgba(10, 20, 36, 0.5);
    border: var(--bw) solid rgba(201, 169, 97, 0.12);
    border-radius: 10px;
}

.pc-ip-label {
    font-size: 12.5px;
    color: var(--text-secondary);
}

.pc-ip-value {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13.5px;
    color: var(--gold-light);
    background: rgba(10, 20, 36, 0.7);
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.pc-ip-copy {
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gold-light);
    background: rgba(212, 168, 58, 0.1);
    border: 1px solid rgba(212, 168, 58, 0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.pc-ip-copy:hover {
    background: rgba(212, 168, 58, 0.18);
    border-color: rgba(212, 168, 58, 0.4);
}

/* 提交按钮 */
.pc-bind-submit-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    margin-top: 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: #141E33;
    background: var(--gradient-gold);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

.pc-bind-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 168, 58, 0.25);
}

.pc-bind-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 错误提示 */
.pc-bind-error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    font-size: 12.5px;
    color: #F87171;
    line-height: 1.6;
}

.pc-bind-error svg {
    flex-shrink: 0;
    margin-top: 1px;
}

/* 错误提示分层：主错误 + 小字建议 */
.pc-bind-error {
    flex-direction: column;
    align-items: stretch;
}

.pc-bind-error-main {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #F87171;
    line-height: 1.6;
}

.pc-bind-error-hint {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(239, 68, 68, 0.12);
    font-size: 11.5px;
    color: #9CA3AF;
    line-height: 1.6;
}

.pc-bind-error-hint svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* 已绑定列表操作按钮 */
.pc-bind-actions {
    display: flex;
    gap: 8px;
    margin-left: 8px;
}

.pc-bind-action-btn {
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: var(--bw) solid transparent;
}

.pc-btn-reverify {
    color: var(--gold-light);
    background: rgba(212, 168, 58, 0.1);
    border-color: rgba(212, 168, 58, 0.25);
}

.pc-btn-reverify:hover {
    background: rgba(212, 168, 58, 0.2);
    border-color: rgba(212, 168, 58, 0.45);
}

.pc-btn-unbind {
    color: #F87171;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

.pc-btn-unbind:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.35);
}

/* 提交按钮内spinner */
.pc-btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(20, 30, 51, 0.3);
    border-top-color: #141E33;
    border-radius: 50%;
    animation: pcSpin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

/* 已绑定列表区 */
.pc-bind-list-section {
    margin-bottom: 32px;
}

.pc-bind-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pc-bind-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(145deg, rgba(22, 40, 66, 0.78), rgba(16, 30, 52, 0.85));
    border: var(--bw) solid var(--bc-default);
    border-radius: 12px;
    transition: all 0.22s ease;
}

.pc-bind-item:hover {
    border-color: rgba(212, 168, 58, 0.35);
    background: linear-gradient(145deg, rgba(28, 48, 76, 0.85), rgba(20, 36, 60, 0.9));
}

.pc-bind-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pc-bind-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.pc-bind-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-bind-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.pc-bind-appid {
    font-size: 11.5px;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.pc-bind-item-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pc-bind-status {
    font-size: 12.5px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
}

.pc-status-ok {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.pc-status-err {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.1);
}

/* 空状态 */
.pc-bind-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.pc-bind-empty svg {
    opacity: 0.35;
    margin-bottom: 4px;
}

.pc-bind-empty-hint {
    font-size: 12.5px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* 加载中 */
.pc-bind-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 20px;
    color: var(--text-muted);
    font-size: 13.5px;
}

.pc-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(201, 169, 97, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: pcSpin 0.7s linear infinite;
}

@keyframes pcSpin {
    to { transform: rotate(360deg); }
}

/* 响应式：移动端适配 */
@media (max-width: 768px) {
    .pc-sub-header {
        gap: 10px;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .pc-sub-title {
        font-size: 17px;
    }

    .pc-bind-form {
        padding: 18px 16px;
    }

    .pc-bind-item {
        padding: 12px 14px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .pc-bind-item-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
        width: 100%;
    }

    .pc-bind-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }

    .pc-bind-item-left {
        gap: 10px;
    }

    .pc-ip-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .pc-back-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .pc-sub-title {
        font-size: 15px;
    }

    .pc-form-input {
        padding: 9px 12px;
        font-size: 13.5px;
    }

    .pc-bind-name {
        font-size: 13px;
    }

    .pc-bind-appid {
        font-size: 10.5px;
    }
}


/* ============================================
   体验打卡页面 — 完整业务样式（对齐参考图+个人中心视觉规范）
   ============================================ */

/* ---------- 页面容器 ---------- */
.ck-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 32px 40px;
}

/* ---------- 页面标题区 ---------- */
.ck-header {
    margin-bottom: 28px;
}

.ck-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ck-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- 区块通用 ---------- */
.ck-section {
    margin-bottom: 28px;
}

.ck-section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 16px;
    padding-left: 2px;
}

/* ---------- 未登录引导 ---------- */
.ck-guest {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 52vh;
    padding: 48px 24px;
    text-align: center;
}

.ck-guest-icon {
    margin-bottom: 20px;
}

.ck-guest-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.ck-guest-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    max-width: 400px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.ck-login-btn {
    padding: 12px 32px;
    font-size: 15px;
    border-radius: 10px;
}

/* ================================
   平台选择卡片区
   ================================ */

.ck-platforms-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ck-platform-row {
    display: grid;
    gap: 14px;
}

.ck-row-primary {
    grid-template-columns: repeat(3, 1fr);
}

.ck-row-secondary {
    grid-template-columns: repeat(4, 1fr);
}

/* ---- 单个平台卡片 ---- */
.ck-platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px 20px;
    background: var(--card-bg);
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ck-platform-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    border-color: var(--gold-light);
}

.ck-platform-card:active {
    transform: translateY(-1px);
}

/* 图标 */
.ck-pc-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

/* 平台名称 */
.ck-pc-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

/* 奖励标签行 */
.ck-card-rewards {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.ck-card-rewards-single {
    justify-content: center;
    margin-bottom: 0;
}

/* 标签 */
.ck-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.ck-tag-exp {
    background: rgba(212, 168, 58, 0.18);
    color: var(--gold-light);
    border: 1px solid rgba(212, 168, 58, 0.3);
}

.ck-tag-pts {
    background: rgba(91, 155, 213, 0.18);
    color: #7DBAE8;
    border: 1px solid rgba(91, 155, 213, 0.3);
}

.ck-tag-pts-only {
    background: rgba(91, 155, 213, 0.15);
    color: #8BC4EA;
    border: 1px solid rgba(91, 155, 213, 0.25);
    font-size: 12px;
    padding: 4px 14px;
}

/* 进度条（仅微信三件套显示） */
.ck-progress-wrap {
    width: 100%;
    position: relative;
    margin-top: 4px;
}

.ck-progress-bar {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.5s ease;
}

/* 占比50%/40%/10% 分别使用不同色调 */
.ck-platform-card[data-platform="wechat_mp"] .ck-progress-bar {
    background: linear-gradient(90deg, #D4A83A, #E8C96A);
}
.ck-platform-card[data-platform="wechat_channel"] .ck-progress-bar {
    background: linear-gradient(90deg, #4FC3F7, #81D4FA);
}
.ck-platform-card[data-platform="wechat_moment"] .ck-progress-bar {
    background: linear-gradient(90deg, #07C160, #4CD964);
}

.ck-progress-text {
    display: block;
    text-align: center;
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ================================
   打卡记录列表
   ================================ */

.ck-records-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---- 单条记录 ---- */
.ck-record-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--card-bg);
    border: var(--bw) solid var(--bc-default);
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.ck-record-item:hover {
    border-color: rgba(212, 168, 58, 0.45);
}

.ck-record-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;   /* 文字截断 */
}

.ck-record-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 50, 88, 0.5);
    border-radius: 10px;
}

.ck-record-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ck-record-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.ck-record-date {
    font-size: 12px;
    color: var(--text-muted);
}

.ck-record-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    margin-left: 16px;
}

/* 状态标签 */
.ck-record-status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.ck-status-approved {
    background: rgba(7, 193, 96, 0.15);
    color: #34D399;
    border: 1px solid rgba(7, 193, 96, 0.3);
}

.ck-status-pending {
    background: rgba(212, 168, 58, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(212, 168, 58, 0.3);
}

.ck-status-rejected {
    background: rgba(239, 68, 68, 0.12);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* 奖励金额 */
.ck-record-reward {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-light);
}

/* ---- 空状态 ---- */
.ck-empty-records {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
}

.ck-empty-records svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.ck-empty-records p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.ck-empty-records span {
    font-size: 12.5px;
}

/* ---- 加载中 ---- */
.ck-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
}


/* ============================================
   体验打卡 — 响应式适配
   ============================================ */

/* --- 大屏舒展 (≥1600px) --- */
@media (min-width: 1600px) {
    .ck-page {
        max-width: 1240px;
        padding: 28px 40px 44px;
    }

    .ck-title { font-size: 28px; }
    .ck-section-title { font-size: 18px; }

    .ck-row-secondary { grid-template-columns: repeat(4, 1fr); }
}

/* --- 标准大屏 (≥1200px) --- */
@media (min-width: 1200px) {
    .ck-page {
        max-width: 1100px;
        padding: 26px 36px 42px;
    }
}

/* --- 平板切换 (≤768px) --- */
@media (max-width: 768px) {
    .ck-page {
        padding: 18px 16px 32px;
    }

    .ck-title { font-size: 22px; }
    .ck-subtitle { font-size: 13px; }
    .ck-section-title { font-size: 15.5px; margin-bottom: 12px; }
    .ck-section { margin-bottom: 22px; }
    .ck-header { margin-bottom: 22px; }

    /* 平台卡片：第一行变2列+1个换行，第二行2列 */
    .ck-row-primary {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ck-row-secondary {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ck-platform-card {
        padding: 18px 12px 16px;
        border-radius: 12px;
    }

    .ck-pc-icon {
        width: 44px;
        height: 44px;
    }

    .ck-pc-icon svg {
        width: 36px;
        height: 36px;
    }

    .ck-pc-name {
        font-size: 13.5px;
        margin-bottom: 10px;
    }

    .ck-tag { font-size: 10.5px; padding: 2px 8px; }
    .ck-tag-pts-only { font-size: 11px; padding: 3px 12px; }

    /* 记录列表 */
    .ck-record-item {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .ck-record-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .ck-record-icon svg {
        width: 20px;
        height: 20px;
    }

    .ck-record-name { font-size: 13.5px; }
    .ck-record-date { font-size: 11px; }
    .ck-record-status { font-size: 10.5px; padding: 2px 9px; }
    .ck-record-reward { font-size: 11.5px; }

    /* 未登录 */
    .ck-guest { min-height: 48vh; padding: 36px 16px; }
    .ck-guest-title { font-size: 21px; }
}

/* --- 小手机 (≤420px) --- */
@media (max-width: 420px) {
    .ck-page { padding: 14px 12px 28px; }
    .ck-title { font-size: 20px; }
    .ck-subtitle { font-size: 12.5px; }

    .ck-row-primary,
    .ck-row-secondary {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ck-platform-card {
        padding: 14px 10px 14px;
    }

    .ck-pc-icon {
        width: 38px;
        height: 38px;
    }

    .ck-pc-icon svg {
        width: 30px;
        height: 30px;
    }

    .ck-pc-name {
        font-size: 12.5px;
        margin-bottom: 8px;
    }

    .ck-record-item {
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ck-record-right {
        align-items: flex-start;
        margin-left: 0;
        flex-direction: row;
        gap: 10px;
        width: 100%;
    }
}


/* ============================================
   体验打卡 — 提交弹窗样式（v12新增）
   深蓝底色 + 鎏金边框 + 图片上传区 + 响应式
   ============================================ */

/* ---- 弹窗遮罩 ---- */
.ck-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 18, 35, 0.72);
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ckModalIn 0.25s ease-out;
}

@keyframes ckModalIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- 弹窗主体 ---- */
.ck-modal-dialog {
    width: 480px;
    max-width: 92vw;
    background: linear-gradient(145deg, var(--sky-base), var(--sky-mid));
    border: var(--bw) solid var(--bc-default);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), var(--shadow-gold);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: ckModalSlideUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ckModalSlideUp {
    from { transform: translateY(24px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* ---- 弹窗标题栏 ---- */
.ck-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: var(--bw) solid rgba(212, 168, 58, 0.3);
}

.ck-modal-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.ck-modal-icon-mini {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ck-modal-icon-mini svg {
    width: 24px;
    height: 24px;
}

.ck-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* 弹窗标题中的奖励预览文字 */
.ck-modal-preview {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-light);
    margin-left: 2px;
}

/* 关闭按钮 */
.ck-modal-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: var(--bw) solid rgba(90, 120, 152, 0.3);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.ck-modal-close:hover {
    border-color: var(--bc-default);
    color: var(--gold);
    background: rgba(212, 168, 58, 0.08);
}

/* ---- 弹窗内容区 ---- */
.ck-modal-body {
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== 截图上传区域（必填）===== */
.ck-upload-zone {
    border: 2px dashed rgba(122, 144, 168, 0.45);
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: rgba(20, 35, 60, 0.35);
    position: relative;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ck-upload-zone:hover {
    border-color: rgba(212, 168, 58, 0.55);
    background: rgba(30, 50, 88, 0.4);
}

.ck-upload-zone.ck-drag-over {
    border-color: var(--gold);
    background: rgba(212, 168, 58, 0.1);
    box-shadow: inset 0 0 20px rgba(212, 168, 58, 0.08);
}

/* 上传占位提示（未选择文件时显示） */
.ck-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ck-upload-camera {
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

.ck-upload-zone:hover .ck-upload-camera {
    opacity: 0.85;
}

.ck-upload-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.ck-upload-hint {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* 上传预览（已选文件时显示） */
.ck-upload-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    position: relative;
}

#ckUploadImg {
    max-width: 100%;
    max-height: 160px;
    border-radius: 8px;
    border: 1px solid rgba(212, 168, 58, 0.25);
    object-fit: contain;
}

.ck-upload-remove {
    padding: 4px 12px;
    font-size: 11.5px;
    color: #F87171;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ck-upload-remove:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.4);
}

/* ===== 作品链接字段（选填）===== */
.ck-link-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ck-link-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.ck-link-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 13.5px;
    color: var(--text-primary);
    background: rgba(20, 35, 60, 0.5);
    border: var(--bw) solid rgba(90, 120, 152, 0.3);
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    font-family: var(--font-main);
}

.ck-link-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.ck-link-input:focus {
    border-color: var(--bc-default);
    box-shadow: 0 0 0 2px rgba(212, 168, 58, 0.12);
}

.ck-link-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ---- 弹窗底部操作栏 ---- */
.ck-modal-footer {
    padding: 16px 22px 20px;
}

/* 提交按钮 */
.ck-btn-submit {
    width: 100%;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: var(--bw) solid transparent;
    font-family: var(--font-main);
}

/* 禁用态：灰色不可点击 */
.ck-btn-submit:disabled,
.ck-btn-submit.ck-btn-disabled {
    background: rgba(60, 80, 110, 0.35);
    color: var(--text-muted);
    border-color: rgba(90, 120, 152, 0.25);
    cursor: not-allowed;
    box-shadow: none;
}

/* 就绪态：蓝色可点击 */
.ck-btn-submit.ck-btn-ready,
.ck-btn-submit:not(:disabled) {
    background: linear-gradient(135deg, #2B6CB0, #3182CE);
    color: #FFFFFF;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 16px rgba(49, 130, 206, 0.3);
}

.ck-btn-submit.ck-btn-ready:hover:not(:disabled),
.ck-btn-submit:not(:disabled):hover {
    background: linear-gradient(135deg, #2C5AA0, #2980B9);
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.4);
    transform: translateY(-1px);
}

/* ---- 移动端弹窗适配 ---- */
@media (max-width: 768px) {
    .ck-modal-dialog {
        width: 94vw;
        max-height: 82vh;
        border-radius: 14px;
        margin-bottom: 20px;
    }

    .ck-modal-header {
        padding: 14px 16px;
    }

    .ck-modal-title {
        font-size: 14.5px;
    }

    .ck-modal-preview {
        font-size: 12px;
    }

    .ck-modal-body {
        padding: 16px 16px 14px;
        gap: 12px;
    }

    .ck-upload-zone {
        padding: 20px 12px;
        min-height: 110px;
    }

    #ckUploadImg {
        max-height: 120px;
    }

    .ck-upload-text {
        font-size: 13px;
    }

    .ck-link-input {
        padding: 9px 12px;
        font-size: 13px;
    }

    .ck-modal-footer {
        padding: 12px 16px 16px;
    }

    .ck-btn-submit {
        padding: 12px 20px;
        font-size: 14.5px;
    }
}

@media (max-width: 420px) {
    .ck-modal-header { padding: 12px 14px; }
    .ck-modal-title { font-size: 13.5px; }
    .ck-modal-body { padding: 14px 14px 12px; }
    .ck-upload-zone { padding: 16px 10px; min-height: 95px; }
    .ck-upload-text { font-size: 12.5px; }
    .ck-link-label { font-size: 12px; }
    .ck-link-input { padding: 8px 10px; font-size: 12.5px; }
    .ck-btn-submit { padding: 11px 16px; font-size: 13.5px; }
}


/* ============================================
   自营商城页面 — 完整业务样式（对齐参考效果图+全站视觉规范）
   2px鎏金边框 / 深蓝底色 / 响应式网格 / 零硬编码
   ============================================ */

/* ---------- 页面容器 ---------- */
.ml-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 32px 40px;
}

/* ---------- 页面标题区 ---------- */
.ml-header {
    margin-bottom: 28px;
}

.ml-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ml-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ================================
   商品分类区块
   ================================ */

.ml-category {
    margin-bottom: 36px;
}

.ml-category:last-child {
    margin-bottom: 0;
}

/* ---- 分类标题（带图标） ---- */
.ml-cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-left: 2px;
}

.ml-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ml-cat-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

/* ---- 商品卡片网格（PC默认3列，兼容旧版分类网格） ---- */
.ml-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ================================
   ★★★ 行列布局引擎（v14）— 每行独立flex容器
   ================================ */
.ml-row {
    display: flex;
    flex-wrap: nowrap;          /* 不换行：每行的商品排在一行内 */
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

/* 每个商品卡片在行内的等比分配 */
.ml-row .ml-product-card {
    flex: 1 1 0%;              /* 等比缩放：不管几个都填满行宽 */
    min-width: 0;              /* 防止内容撑破 */
}

/* 单列行（1个商品）— 居中显示，最大400px */
.ml-row[data-cols="1"] {
    justify-content: center;
}
.ml-row[data-cols="1"] .ml-product-card {
    flex: 0 1 auto;
    max-width: 420px;
    width: 100%;
}

/* 双列行（2个商品）— 填满宽度 */
.ml-row[data-cols="2"] .ml-product-card { }

/* 三列行（3个商品）— 默认 */
.ml-row[data-cols="3"] .ml-product-card { }

/* 四列及以上 — 缩小gap适配 */
.ml-row[data-cols="4"],
.ml-row[data-cols="5"],
.ml-row[data-cols="6"] {
    gap: 14px;
}

/* ================================
   单个商品卡片 — 2px鎏金边框
   ================================ */

.ml-product-card {
    background: var(--card-bg-solid);
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    box-shadow: var(--shadow-card);
    position: relative;
}

.ml-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
    border-color: var(--gold-light);
}

/* ---- 封面图区域 ---- */
.ml-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sky-base), var(--sky-accent));
    display: flex;
    align-items: center;
    justify-content: center;
}

.ml-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ml-product-card:hover .ml-card-image img {
    transform: scale(1.04);
}

/* 图片加载失败时的占位 */
.ml-img-error::after {
    content: '图片加载中...';
    color: var(--text-muted);
    font-size: 13px;
}

/* ---- 售罄遮罩 ---- */
.ml-sold-out-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 35, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ml-sold-out-overlay span {
    padding: 6px 24px;
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ---- 商品信息体 ---- */
.ml-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 商品名称 */
.ml-pd-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    line-height: 1.4;
    /* 最多显示2行，超出省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 规格参数（带小图标） */
.ml-pd-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
}

.ml-pd-spec svg {
    opacity: 0.55;
    flex-shrink: 0;
}

.ml-pd-spec span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 价格行 */
.ml-pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 2px;
}

/* 当前售价 — 鎏金渐变大字 */
.ml-pd-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--gold-light);
    /* 鎏金数字渐变 */
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1;
}

/* 划线原价 */
.ml-orig-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(90, 120, 152, 0.5);
}

/* 标语/卖点文案 */
.ml-pd-tagline {
    font-size: 13px;
    color: var(--gold-mid);
    text-align: center;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 2px 0;
}

/* ---- 购买按钮 — 鎏金渐变填充 ---- */
.ml-btn-buy {
    width: 100%;
    padding: 11px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #3A2A10;
    background: var(--gradient-gold-btn);
    border: var(--bw) solid var(--bc-default);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 1px;
    margin-top: 4px;
}

.ml-btn-buy:hover:not(.ml-btn-disabled) {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 168, 58, 0.35);
}

.ml-btn-buy:active:not(.ml-btn-disabled) {
    transform: translateY(0);
}

/* 禁用态（售罄） */
.ml-btn-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ---- 权益说明文字 ---- */
.ml-benefit {
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    padding-top: 4px;
    letter-spacing: 0.3px;
}

/* ================================
   加载状态
   ================================ */

.ml-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 14.5px;
}

.ml-loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(212, 168, 58, 0.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: mlSpin 0.7s linear infinite;
}

@keyframes mlSpin {
    to { transform: rotate(360deg); }
}

/* ================================
   空状态
   ================================ */

.ml-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 24px;
    text-align: center;
}

.ml-empty-icon {
    margin-bottom: 18px;
}

.ml-empty-icon svg {
    opacity: 0.5;
}

.ml-empty-title {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.ml-empty-desc {
    font-size: 13px;
    color: var(--text-muted);
}


/* ============================================
   商城页面 — 响应式适配
   对齐全站断点：1600px / 1200px / 768px / 420px
   ============================================ */

/* --- 大屏舒展 (≥1600px) --- */
@media (min-width: 1600px) {
    .ml-page {
        max-width: 1240px;
        padding: 28px 40px 44px;
    }

    .ml-title { font-size: 28px; }
    .ml-cat-name { font-size: 19px; }

    .ml-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .ml-card-image { height: 220px; }
    .ml-pd-price { font-size: 28px; }
    .ml-card-body { padding: 20px 22px 24px; }
}

/* --- 标准大屏 (≥1200px) --- */
@media (min-width: 1200px) {
    .ml-page {
        max-width: 1100px;
        padding: 26px 36px 42px;
    }
}

/* --- 平板切换 (≤768px)：商品卡片转为2列 + 缩小间距 --- */
@media (max-width: 768px) {
    .ml-page {
        padding: 18px 16px 32px;
    }

    .ml-title { font-size: 22px; }
    .ml-subtitle { font-size: 13px; }
    .ml-cat-name { font-size: 16.5px; }
    .ml-cat-header { margin-bottom: 14px; }
    .ml-category { margin-bottom: 28px; }

    /* 商品网格：3列 → 2列 */
    .ml-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    /* ★ 行列布局：移动端每行最多2个商品 */
    .ml-row {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 14px;
    }
    .ml-row .ml-product-card {
        flex: 0 0 calc(50% - 6px);  /* 每行2个 */
        max-width: calc(50% - 6px);
    }
    .ml-row[data-cols="1"] .ml-product-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .ml-row[data-cols="3"] .ml-product-card,
    .ml-row[data-cols="4"] .ml-product-card,
    .ml-row[data-cols="5"] .ml-product-card,
    .ml-row[data-cols="6"] .ml-product-card {
        /* 3+个商品的行在移动端也只显示2个/行，允许换行 */
        flex-wrap: wrap;
    }

    /* 卡片缩小 */
    .ml-product-card {
        border-radius: 12px;
    }

    .ml-card-image {
        height: 150px;
    }

    .ml-card-body {
        padding: 14px 14px 18px;
        gap: 8px;
    }

    .ml-pd-name {
        font-size: 14px;
    }

    .ml-pd-spec {
        font-size: 11.5px;
    }

    .ml-pd-price {
        font-size: 22px;
    }

    .ml-orig-price {
        font-size: 12.5px;
    }

    .ml-pd-tagline {
        font-size: 12px;
    }

    .ml-btn-buy {
        padding: 9px 18px;
        font-size: 13.5px;
        border-radius: 8px;
    }

    .ml-benefit {
        font-size: 10.5px;
    }

    /* 售罄遮罩 */
    .ml-sold-out-overlay span {
        font-size: 13px;
        padding: 5px 18px;
    }
}

/* --- 小手机 (≤420px)：单列流式布局 --- */
@media (max-width: 420px) {
    .ml-page {
        padding: 14px 12px 28px;
    }

    .ml-title { font-size: 20px; }
    .ml-subtitle { font-size: 12.5px; }
    .ml-cat-name { font-size: 15.5px; }
    .ml-category { margin-bottom: 24px; }
    .ml-cat-header { margin-bottom: 12px; }

    /* 商品网格：2列 → 单列流式，触控友好 */
    .ml-products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* ★ 行列布局：手机端全部单列 */
    .ml-row {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 0;
    }
    .ml-row .ml-product-card {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .ml-product-card {
        border-radius: 12px;
    }

    .ml-card-image {
        height: 180px;
    }

    .ml-card-body {
        padding: 16px 16px 20px;
        gap: 8px;
    }

    .ml-pd-name {
        font-size: 15px;
        -webkit-line-clamp: 1;
    }

    .ml-pd-price {
        font-size: 24px;
    }

    .ml-btn-buy {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* 加载和空状态缩小 */
    .ml-loading { padding: 44px 16px; }
    .ml-empty { padding: 44px 16px; }
}

/* ============ 内容资产页面样式（v2026062710） ============ */

/* ----- 页面容器 ----- */
.as-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 32px 40px;
}

/* ----- 页面标题 ----- */
.as-header {
    text-align: center;
    margin-bottom: 28px;
}
.as-title {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: 2px;
}
.as-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

/* ----- 三大入口Tab按钮 ----- */
.as-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.as-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--card-bg-solid);
    border: var(--bw) solid var(--bc-default);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.28s ease;
    font-family: var(--font-main);
}
.as-tab:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}
.as-tab.active {
    background: var(--gradient-gold-btn);
    color: #3A2A10;
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.as-tab-icon {
    display: inline-flex;
    opacity: 0.75;
}
.as-tab.active .as-tab-icon {
    opacity: 1;
}

/* ----- 加载状态 ----- */
.as-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}
.as-loading-spinner,
.as-spinner-sub {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(212,168,58,0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: asSpin 0.8s linear infinite;
}
@keyframes asSpin {
    to { transform: rotate(360deg); }
}
.as-loading-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ----- 筛选栏 ----- */
.as-filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.as-search-wrap {
    flex: 1;
    min-width: 200px;
    position: relative;
    display: flex;
    align-items: center;
}
.as-search-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    pointer-events: none;
}
.as-search-input {
    width: 100%;
    padding: 9px 14px 9px 36px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--card-bg-solid);
    border: var(--bw) solid var(--bc-default);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.28s ease;
    font-family: var(--font-main);
}
.as-search-input:focus {
    border-color: var(--gold-light);
}
.as-search-input::placeholder {
    color: var(--text-muted);
}
.as-filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.as-filter-tag {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--card-bg-solid);
    border: 1.5px solid rgba(212,168,58,0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.28s ease;
    font-family: var(--font-main);
}
.as-filter-tag:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}
.as-filter-tag.active {
    background: var(--gradient-gold-btn);
    color: #3A2A10;
    border-color: var(--gold);
    font-weight: 600;
}

/* ----- 分区标题 ----- */
.as-section {
    margin-bottom: 32px;
}
.as-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.as-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
}
.as-section-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* ----- IP素材卡片网格 ----- */
.as-material-grid-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.as-material-card {
    background: var(--card-bg-solid);
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.as-material-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-light);
    box-shadow: var(--shadow-gold);
}
.as-card-cover {
    height: 170px;
    overflow: hidden;
    position: relative;
    background: rgba(10,18,35,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.as-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.as-material-card:hover .as-card-cover img {
    transform: scale(1.04);
}
.as-card-cover-placeholder {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(212,168,58,0.1);
    border-radius: 8px;
}
.as-card-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #3A2A10;
    background: var(--gradient-gold-btn);
    border-radius: 6px;
}
.as-card-info {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.as-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.as-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}
.as-card-format {
    padding: 2px 7px;
    background: rgba(212,168,58,0.12);
    border-radius: 4px;
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
}
.as-card-downloads {
    display: flex;
    align-items: center;
    gap: 4px;
}
.as-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}
.as-free-tag {
    font-size: 13px;
    font-weight: 700;
    color: #07C160;
    padding: 4px 10px;
    background: rgba(7,193,96,0.12);
    border-radius: 6px;
}
.as-price-tag {
    font-size: 18px;
    font-weight: 800;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----- 下载/操作按钮 ----- */
.as-btn-download {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #3A2A10;
    background: var(--gradient-gold-btn);
    border: var(--bw) solid var(--bc-default);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.28s ease;
    font-family: var(--font-main);
    white-space: nowrap;
}
.as-btn-download:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}
.as-btn-paid {
    background: var(--gradient-gold-btn);
}
.as-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #3A2A10;
    background: var(--gradient-gold-btn);
    border: var(--bw) solid var(--bc-default);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.28s ease;
    font-family: var(--font-main);
}
.as-btn-primary:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}
.as-btn-secondary {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold-light);
    background: transparent;
    border: 1.5px solid rgba(212,168,58,0.45);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.28s ease;
    font-family: var(--font-main);
}
.as-btn-secondary:hover {
    border-color: var(--gold);
    background: rgba(212,168,58,0.08);
}
.as-btn-danger {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #EF4444;
    background: transparent;
    border: 1.5px solid rgba(239,68,68,0.35);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.28s ease;
    font-family: var(--font-main);
}
.as-btn-danger:hover {
    border-color: #EF4444;
    background: rgba(239,68,68,0.08);
}
.as-btn-sm {
    padding: 6px 14px;
    font-size: 12.5px;
}

/* ----- 知识库列表 ----- */
.as-knowledge-list-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.as-knowledge-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--card-bg-solid);
    border: var(--bw) solid var(--bc-default);
    border-radius: 12px;
    transition: all 0.28s ease;
}
.as-knowledge-item:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow-card);
}
.as-knowledge-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,168,58,0.1);
    border-radius: 8px;
}
.as-knowledge-info {
    flex: 1;
    min-width: 0;
}
.as-knowledge-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.as-knowledge-summary {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.as-knowledge-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}
.as-knowledge-cat {
    padding: 2px 8px;
    background: rgba(212,168,58,0.12);
    border-radius: 4px;
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
}
.as-knowledge-format {
    font-weight: 600;
    color: var(--text-secondary);
}

/* ----- 版权管理 ----- */
.as-copyright-wrap {
    max-width: 800px;
}
.as-copyright-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.as-copyright-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.as-copyright-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--card-bg-solid);
    border: var(--bw) solid var(--bc-default);
    border-radius: 12px;
    transition: all 0.28s ease;
}
.as-copyright-card:hover {
    border-color: var(--gold-light);
}
.as-copyright-icon {
    flex-shrink: 0;
}
.as-copyright-info {
    flex: 1;
    min-width: 0;
}
.as-copyright-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.as-copyright-no,
.as-copyright-date {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.as-copyright-status {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 6px;
    margin-top: 4px;
}
.as-status-valid {
    color: #07C160;
    background: rgba(7,193,96,0.12);
}
.as-status-pending {
    color: #F59E0B;
    background: rgba(245,158,11,0.12);
}
.as-status-expired {
    color: #EF4444;
    background: rgba(239,68,68,0.12);
}
.as-copyright-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* ----- 内容变现 ----- */
.as-revenue-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}
.as-revenue-card {
    padding: 22px 20px;
    background: var(--card-bg-solid);
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    text-align: center;
    transition: all 0.28s ease;
}
.as-revenue-card:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow-gold);
}
.as-revenue-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.as-revenue-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.as-withdraw-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.as-withdraw-tip {
    font-size: 12.5px;
    color: var(--text-muted);
}
.as-transaction-list {
    max-width: 800px;
}
.as-transaction-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.as-transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--card-bg-solid);
    border: var(--bw) solid var(--bc-default);
    border-radius: 10px;
    transition: border-color 0.28s ease;
}
.as-transaction-item:hover {
    border-color: var(--gold-light);
}
.as-tx-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.as-tx-desc {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}
.as-tx-date {
    font-size: 12px;
    color: var(--text-muted);
}
.as-tx-amount {
    font-size: 18px;
    font-weight: 800;
    text-align: right;
}
.as-tx-status {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    margin-top: 2px;
}
.as-tx-completed {
    color: #07C160;
}
.as-tx-completed .as-tx-status {
    color: #07C160;
}
.as-tx-pending {
    color: var(--gold-light);
}
.as-tx-pending .as-tx-status {
    color: #F59E0B;
}

/* ----- 空状态 ----- */
.as-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    gap: 12px;
}
.as-empty-icon {
    opacity: 0.7;
}
.as-empty-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}
.as-empty-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* ----- 登录提示 ----- */
.as-login-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}
.as-login-prompt-icon {
    opacity: 0.8;
}
.as-login-prompt-msg {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ============================================
   内容资产页面响应式
   ============================================ */
@media (min-width: 1600px) {
    .as-material-grid-inner {
        gap: 24px;
    }
    .as-card-cover {
        height: 190px;
    }
    .as-revenue-cards {
        gap: 24px;
    }
}

@media (max-width: 1200px) {
    .as-page {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .as-page {
        padding: 18px 16px 32px;
    }
    .as-title {
        font-size: 22px;
    }
    .as-tabs {
        gap: 8px;
    }
    .as-tab {
        padding: 8px 16px;
        font-size: 13.5px;
    }

    /* 素材网格：3列 → 2列 */
    .as-material-grid-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .as-card-cover {
        height: 140px;
    }

    /* 收益卡片：3列 → 1列 */
    .as-revenue-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* 筛选栏：垂直排列 */
    .as-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 420px) {
    .as-page {
        padding: 14px 12px 28px;
    }
    .as-title {
        font-size: 20px;
    }
    .as-subtitle {
        font-size: 12.5px;
    }

    /* 素材网格：2列 → 1列 */
    .as-material-grid-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .as-card-cover {
        height: 160px;
    }

    /* 知识库条目：垂直排列 */
    .as-knowledge-item {
        flex-wrap: wrap;
        gap: 12px;
    }
    .as-knowledge-icon {
        width: 32px;
        height: 32px;
    }

    /* 版权卡片：垂直排列 */
    .as-copyright-card {
        flex-wrap: wrap;
        gap: 12px;
    }
    .as-copyright-actions {
        width: 100%;
        justify-content: flex-end;
    }

    /* Tab按钮：全宽 */
    .as-tabs {
        gap: 6px;
    }
    .as-tab {
        flex: 1;
        justify-content: center;
        padding: 8px 10px;
        font-size: 13px;
    }
}


/* ============================================================

/* ============================================================
   公众号矩阵页面样式 — Wechat Matrix (wm-*)
   对齐全站视觉规范：2px鎏金边框 / 深蓝底色 / 响应式四档断点
   版本: v=2026062711-fix2
   ============================================================ */

/* ---- 页面容器 ---- */
.wm-page { max-width: 1100px; margin: 0 auto; padding: 24px 32px 40px; }
@media (min-width: 1600px) { .wm-page { max-width: 1240px; } }
@media (max-width: 768px) { .wm-page { padding: 16px 16px 28px; } }

/* ---- 页面标题区 ---- */
.wm-header { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(201,169,97,0.12); }
.wm-header-icon { flex-shrink: 0; width: 52px; height: 52px; background: rgba(201,169,97,0.08); border-radius: 14px; display: flex; align-items: center; justify-content: center; border: var(--bw) solid rgba(201,169,97,0.2); }
.wm-header-text { min-width: 0; }
.wm-title { font-size: 26px; font-weight: 800; color: #fff; margin: 0 0 4px; letter-spacing: 1px; background: var(--gradient-gold-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.wm-subtitle { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }
@media (max-width: 768px) {
    .wm-header { gap: 14px; margin-bottom: 20px; padding-bottom: 16px; }
    .wm-header-icon { width: 44px; height: 44px; border-radius: 12px; }
    .wm-header-icon svg { width: 34px; height: 34px; }
    .wm-title { font-size: 22px; }
    .wm-subtitle { font-size: 12.5px; }
}

/* ---- 区块标题 ---- */
.wm-section-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: #e8d5a3; margin: 0 0 16px; letter-spacing: 0.5px; }
.wm-count { font-size: 13px; font-weight: 600; color: var(--gold); opacity: 0.8; }

/* ---- 操作工具栏 ---- */
.wm-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.wm-toolbar-left { min-width: 0; }
.wm-toolbar-right { flex-shrink: 0; }
.wm-add-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 22px; background: var(--gradient-gold-btn); color: #3A2A10; border: none; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; white-space: nowrap; letter-spacing: 0.3px; }
.wm-add-btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,169,97,0.25); }
.wm-add-btn:active { transform: translateY(0); }
.wm-add-btn svg { flex-shrink: 0; }

/* ---- 列表区容器 ---- */
.wm-list-section { min-height: 200px; }

/* ---- loading状态 ---- */
.wm-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 60px 20px; color: var(--text-muted); font-size: 13.5px; }
.wm-loading-spinner { width: 22px; height: 22px; border: 2.5px solid rgba(201,169,97,0.15); border-top-color: var(--gold); border-radius: 50%; animation: wm-spin 0.75s linear infinite; flex-shrink: 0; }

/* =============================================
   公众号表格样式
   ============================================= */
.wm-table-wrap { overflow-x: auto; border-radius: 14px; border: var(--bw) solid var(--bc-default); background: var(--card-bg-solid); }
.wm-account-table { width: 100%; border-collapse: collapse; min-width: 750px; }
.wm-account-table thead th { padding: 13px 16px; text-align: left; font-size: 12.5px; font-weight: 600; color: var(--gold-light); background: rgba(201,169,97,0.06); border-bottom: 1px solid rgba(201,169,97,0.12); white-space: nowrap; letter-spacing: 0.5px; }
.wm-account-table thead th:first-child { padding-left: 20px; }
.wm-account-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.2s; }
.wm-account-table tbody tr:last-child { border-bottom: none; }
.wm-account-table tbody tr:hover { background: rgba(201,169,97,0.04); }

/* ---- 单元格 ---- */
.wm-cell-name { padding: 14px 16px 14px 20px !important; vertical-align: middle; }
.wm-cell-appid { padding: 14px 16px !important; }
.wm-cell-type { padding: 14px 16px !important; }
.wm-cell-token { padding: 14px 16px !important; }
.wm-cell-msg { padding: 14px 16px !important; }
.wm-cell-status { padding: 14px 16px !important; }
.wm-cell-actions { padding: 12px 20px 12px 16px !important; text-align: right; white-space: nowrap; vertical-align: middle; }

/* 账号名称 */
.wm-name-inner { display: flex; align-items: center; gap: 12px; }
.wm-avatar { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(30,58,95,0.7); }
.wm-name-text { min-width: 0; }
.wm-nickname { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.wm-username { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

/* AppID */
.wm-appid-code { display: inline-block; padding: 3px 10px; background: rgba(21,35,62,0.6); border: 1px solid rgba(201,169,97,0.15); border-radius: 6px; font-family: "SF Mono", "Consolas", "Monaco", monospace; font-size: 12px; color: var(--gold-light); letter-spacing: 0.5px; }

/* 类型标签 */
.wm-type-badge { display: inline-block; padding: 3px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.wm-type-service { color: #60A5FA; background: rgba(96,165,250,0.12); border: 1px solid rgba(96,165,250,0.18); }
.wm-type-subscribe { color: #C9A961; background: rgba(201,169,97,0.1); border: 1px solid rgba(201,169,97,0.18); }

/* Token状态圆点 */
.wm-token-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.wm-dot-green { background: #07C160; box-shadow: 0 0 6px rgba(7,193,96,0.4); }
.wm-dot-red { background: #EF4444; box-shadow: 0 0 6px rgba(239,68,68,0.4); }

/* 消息数 */
.wm-msg-num { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); }

/* 状态 */
.wm-status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.wm-status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; animation: wm-pulse 2s ease-in-out infinite; }
.wm-status-online { color: #07C160; background: rgba(7,193,96,0.1); border: 1px solid rgba(7,193,96,0.18); }
.wm-status-online .wm-status-dot { background: #07C160; }
.wm-status-offline { color: #EF4444; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.18); }
.wm-status-offline .wm-status-dot { background: #EF4444; animation: none; }
@keyframes wm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---- 操作按钮 ---- */
.wm-btn { display: inline-flex; align-items: center; gap: 4px; padding: 5px 14px; border: none; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; white-space: nowrap; letter-spacing: 0.3px; font-family: inherit; }
.wm-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.wm-btn-verify { color: #E8D5A3; background: rgba(201,169,97,0.1); border: 1px solid rgba(201,169,97,0.2); }
.wm-btn-verify:hover:not(:disabled) { background: rgba(201,169,97,0.2); border-color: var(--gold-light); color: #fff; }
.wm-btn-unbind { color: #F87171; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.15); }
.wm-btn-unbind:hover:not(:disabled) { background: rgba(239,68,68,0.18); border-color: rgba(239,68,68,0.35); color: #FCA5A5; }
.wm-btn + .wm-btn { margin-left: 6px; }

/* 按钮loading */
.wm-btn-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.2); border-top-color: currentColor; border-radius: 50%; animation: wm-spin 0.6s linear infinite; vertical-align: -2px; }
@keyframes wm-spin { to { transform: rotate(360deg); } }

/* ---- 未登录提示 ---- */
.wm-login-prompt { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 20px; text-align: center; border: var(--bw) dashed var(--bc-default); border-radius: 14px; background: rgba(21,35,62,0.3); }
.wm-prompt-icon { margin-bottom: 16px; }
.wm-login-prompt h3 { font-size: 17px; font-weight: 700; color: #e8d5a3; margin: 0 0 8px; }
.wm-login-prompt p { font-size: 13px; color: var(--text-muted); margin: 0 0 20px; line-height: 1.6; max-width: 340px; }
.wm-login-btn { padding: 10px 30px; background: var(--gradient-gold-btn); color: #3A2A10; border: none; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; letter-spacing: 0.5px; font-family: inherit; }
.wm-login-btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,169,97,0.25); }

/* ---- 空状态 ---- */
.wm-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 20px; text-align: center; border: var(--bw) solid var(--bc-default); border-radius: 14px; background: var(--card-bg-solid); }
.wm-empty-icon { margin-bottom: 14px; opacity: 0.4; }
.wm-empty h3 { font-size: 16px; font-weight: 700; color: var(--text-secondary); margin: 0 0 8px; }
.wm-empty p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* =============================================
   添加公众号弹窗样式
   ============================================= */
.wm-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 99990; opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.wm-modal-overlay.show { opacity: 1; pointer-events: auto; }
.wm-modal { width: 520px; max-width: 92vw; max-height: 90vh; overflow-y: auto; background: var(--card-bg-solid); border: var(--bw) solid var(--gold); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(201,169,97,0.1); transform: translateY(12px) scale(0.97); transition: transform 0.25s cubic-bezier(.16,1,.3,1); }
.wm-modal-overlay.show .wm-modal { transform: translateY(0) scale(1); }

.wm-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 16px; border-bottom: 1px solid rgba(201,169,97,0.1); }
.wm-modal-title { font-size: 17px; font-weight: 700; color: #e8d5a3; margin: 0; letter-spacing: 0.5px; }
.wm-modal-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; color: var(--text-muted); font-size: 20px; cursor: pointer; transition: all 0.2s; }
.wm-modal-close:hover { background: rgba(255,255,255,0.08); color: #fff; }

.wm-modal-body { padding: 20px 24px; }
.wm-modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px 20px; border-top: 1px solid rgba(201,169,97,0.1); }

/* 表单 */
.wm-form-group { margin-bottom: 18px; }
.wm-form-group:last-child { margin-bottom: 0; }
.wm-form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; letter-spacing: 0.3px; }
.wm-required { color: #EF4444; margin-left: 2px; }
.wm-form-input { display: block; width: 100%; padding: 10px 14px; background: rgba(13,24,41,0.6); border: var(--bw) solid var(--bc-default); border-radius: 10px; color: #fff; font-size: 14px; font-family: inherit; letter-spacing: 0.3px; transition: border-color 0.2s; box-sizing: border-box; }
.wm-form-input::placeholder { color: var(--text-muted); opacity: 0.6; }
.wm-form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,97,0.1); }
.wm-form-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
.wm-hint-warn { display: flex; align-items: flex-start; gap: 6px; padding: 10px 14px; background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.15); border-radius: 8px; color: #F59E0B; font-size: 12px; line-height: 1.6; }

/* IP白名单提示框 */
.wm-ip-box { padding: 14px 16px; background: rgba(13,24,41,0.5); border: var(--bw) solid rgba(96,165,250,0.2); border-radius: 10px; }
.wm-ip-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.wm-ip-value { display: inline-block; padding: 6px 16px; background: rgba(96,165,250,0.08); border: 1px solid rgba(96,165,250,0.2); border-radius: 8px; font-family: "SF Mono", "Consolas", monospace; font-size: 15px; font-weight: 700; color: #60A5FA; letter-spacing: 1px; margin-bottom: 10px; }
.wm-ip-copy { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; padding: 5px 12px; background: rgba(96,165,250,0.1); border: 1px solid rgba(96,165,250,0.2); border-radius: 6px; color: #60A5FA; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; vertical-align: middle; font-family: inherit; }
.wm-ip-copy:hover { background: rgba(96,165,250,0.18); }

/* 绑定错误提示（弹窗内） */
.wm-bind-error { display: flex; align-items: flex-start; gap: 8px; padding: 12px 16px; background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15); border-radius: 10px; margin-top: 16px; }
.wm-bind-error svg { flex-shrink: 0; margin-top: 1px; }
.wm-bind-error span { font-size: 12.5px; color: #FCA5A5; line-height: 1.6; }

/* 弹窗按钮 */
.wm-modal-cancel { padding: 9px 22px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: var(--text-secondary); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.wm-modal-cancel:hover { background: rgba(255,255,255,0.08); color: #fff; }
.wm-modal-submit { padding: 9px 22px; background: var(--gradient-gold-btn); color: #3A2A10; border: none; border-radius: 10px; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: inherit; letter-spacing: 0.3px; }
.wm-modal-submit:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 4px 16px rgba(201,169,97,0.25); }
.wm-modal-submit:disabled { opacity: 0.55; cursor: not-allowed; }

/* 绑定提交按钮 */
.wm-bind-submit {
    padding: 9px 22px;
    background: var(--gradient-gold-btn);
    color: #3A2A10;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    letter-spacing: 0.3px;
}
.wm-bind-submit:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 4px 16px rgba(201,169,97,0.25); }
.wm-bind-submit:disabled { opacity: 0.55; cursor: not-allowed; }

/* 空状态绑定按钮 */
.wm-bind-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: var(--gradient-gold-btn);
    color: #3A2A10;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: 0.3px;
    margin-top: 12px;
    font-family: inherit;
}
.wm-bind-btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,169,97,0.25); }

/* 分区头部绑定按钮 */
.wm-section-bind-btn {
    margin-left: auto;
    padding: 5px 14px;
    background: rgba(201,169,97,0.1);
    border: 1px solid rgba(201,169,97,0.25);
    border-radius: 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: inherit;
}
.wm-section-bind-btn:hover { background: rgba(201,169,97,0.18); border-color: var(--gold); }

/* 绑定弹窗 */
.wm-bind-modal { max-width: 500px; }

/* 表单下拉框 */
.wm-form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C9A961' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}



/* =============================================
   双分区布局 — 平台官方 + 我的私有
   ============================================= */
/* 分区容器 */
.wm-section {
    margin-bottom: 36px;
}

.wm-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.08);
}

.wm-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #E8D5A3;
    letter-spacing: 0.5px;
}

.wm-section-title svg {
    flex-shrink: 0;
}

.wm-section-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    opacity: 0.8;
}

/* ---------- 平台官方矩阵账号网格 ---------- */
.wm-platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.wm-platform-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 22px;
    background: linear-gradient(145deg, rgba(22, 40, 66, 0.78), rgba(16, 30, 52, 0.85));
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    transition: all 0.25s ease;
}

.wm-platform-card:hover {
    border-color: rgba(212, 168, 58, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.wm-pcard-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.wm-pcard-avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.wm-pcard-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.wm-pcard-name {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.wm-pcard-type {
    font-size: 11.5px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.wm-type-service {
    color: #60A5FA;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.18);
}

.wm-type-subscribe {
    color: #A78BFA;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.18);
}

/* ===== 租户徽标（2026-08-04 租户模型） ===== */
.wm-tenant-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.5;
}
.wm-tenant-owner {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 600;
    color: #fff;
    background: #64748B;
}
.wm-tenant-badge.wm-tenant-internal .wm-tenant-owner { background: #2563EB; }
.wm-tenant-badge.wm-tenant-thirdparty .wm-tenant-owner { background: #7C3AED; }
.wm-tenant-name {
    color: var(--text-secondary, #475569);
    font-weight: 500;
}
.wm-tenant-key {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 600;
    border: 1px solid transparent;
}
.wm-key-platform { color: #B45309; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }
.wm-key-customer { color: #047857; background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.3); }
.wm-key-missing  { color: #B91C1C; background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); }

.wm-pcard-bottom {
    display: flex;
    justify-content: flex-end;
}

.wm-pcard-link {
    font-size: 12.5px;
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.2s;
}

.wm-pcard-link:hover {
    color: #fff;
}

/* ---------- 我的私有绑定账号网格 ---------- */
.wm-private-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.wm-private-card {
    display: flex;
    flex-direction: column;
    padding: 20px 22px 16px;
    background: linear-gradient(145deg, rgba(22, 40, 66, 0.78), rgba(16, 30, 52, 0.85));
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    transition: all 0.25s ease;
}

.wm-private-card:hover {
    border-color: rgba(212, 168, 58, 0.35);
    background: linear-gradient(145deg, rgba(28, 48, 76, 0.85), rgba(20, 36, 60, 0.9));
}

.wm-priv-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.wm-priv-card-avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.wm-priv-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.wm-priv-card-name {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.wm-priv-card-appid {
    font-size: 11.5px;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.wm-priv-card-status {
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 6px;
    flex-shrink: 0;
}

.wm-status-ok {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.wm-status-err {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.1);
}

.wm-priv-card-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(201, 169, 97, 0.08);
}

.wm-priv-btn {
    flex: 1;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.wm-priv-btn-verify {
    background: rgba(96, 165, 250, 0.12);
    color: #60A5FA;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.wm-priv-btn-verify:hover {
    background: rgba(96, 165, 250, 0.2);
}

.wm-priv-btn-unbind {
    background: rgba(239, 68, 68, 0.08);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.wm-priv-btn-unbind:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* ---------- 空状态（小号） ---------- */
.wm-empty-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 13.5px;
    text-align: center;
}

.wm-empty-small svg {
    opacity: 0.3;
    margin-bottom: 4px;
}

.wm-empty-hint {
    font-size: 12px;
    opacity: 0.6;
}

.wm-go-bind-btn {
    margin-top: 12px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold-light);
    background: rgba(212, 168, 58, 0.1);
    border: 1px solid rgba(212, 168, 58, 0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wm-go-bind-btn:hover {
    background: rgba(212, 168, 58, 0.18);
    border-color: rgba(212, 168, 58, 0.4);
}

/* ---------- 登录提示（小号） ---------- */
.wm-login-prompt-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

.wm-login-prompt-small button {
    padding: 5px 14px;
    font-size: 12px;
    color: var(--gold-light);
    background: rgba(212, 168, 58, 0.1);
    border: 1px solid rgba(212, 168, 58, 0.25);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.wm-login-prompt-small button:hover {
    background: rgba(212, 168, 58, 0.18);
}

/* ---------- 弹窗双Tab（Task #62 预留） ---------- */
.wm-modal-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    padding: 4px;
    background: rgba(10, 20, 36, 0.5);
    border-radius: 10px;
}

.wm-modal-tab {
    flex: 1;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.wm-modal-tab.active {
    color: var(--gold-light);
    background: rgba(212, 168, 58, 0.12);
    font-weight: 600;
}

.wm-modal-tab:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.wm-modal-accounts {
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wm-modal-account-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(22, 40, 66, 0.6);
    border: 1px solid rgba(201, 169, 97, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.wm-modal-account-item:hover {
    border-color: rgba(212, 168, 58, 0.3);
    background: rgba(28, 48, 76, 0.7);
}

.wm-modal-account-item.selected {
    border-color: rgba(212, 168, 58, 0.5);
    background: rgba(212, 168, 58, 0.08);
}

.wm-modal-hint {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ---------- 响应式：移动端 ---------- */
@media (max-width: 768px) {
    .wm-platform-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wm-private-grid {
        grid-template-columns: 1fr;
    }

    .wm-section-title {
        font-size: 14.5px;
    }

    .wm-platform-card,
    .wm-private-card {
        padding: 16px 18px;
    }
}

@media (max-width: 420px) {
    .wm-platform-grid {
        grid-template-columns: 1fr;
    }

    .wm-pcard-name,
    .wm-priv-card-name {
        font-size: 13.5px;
    }
}

/* =============================================
   Toast提示
   ============================================= */
.wm-toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-12px); padding: 12px 28px; background: linear-gradient(135deg, rgba(26,42,74,0.97), rgba(13,24,41,0.98)); border: var(--bw) solid var(--gold); border-radius: 12px; color: #E8D5A3; font-size: 13.5px; font-weight: 600; z-index: 99999; opacity: 0; transition: all 0.3s cubic-bezier(.16,1,.3,1); pointer-events: none; box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(201,169,97,0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); letter-spacing: 0.3px; white-space: nowrap; }
.wm-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =============================================
   移动端响应式
   ============================================= */
@media (max-width: 768px) {
    .wm-toolbar { margin-bottom: 16px; }
    .wm-add-btn { padding: 8px 16px; font-size: 12.5px; }

    /* 表格→卡片 */
    .wm-table-wrap { border-radius: 12px; }
    .wm-account-table thead { display: none; }
    .wm-account-table tbody tr { display: block; padding: 14px 16px; margin-bottom: 10px; border: var(--bw) solid var(--bc-default); border-radius: 12px; background: var(--card-bg-solid); }
    .wm-account-table tbody tr:last-child { margin-bottom: 0; }

    .wm-cell-name { display: flex !important; align-items: center; gap: 12px; padding: 0 0 12px !important; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 10px; }
    .wm-avatar { width: 26px; height: 26px; }
    .wm-nickname { font-size: 14px; }

    .wm-cell-appid,
    .wm-cell-type,
    .wm-cell-token,
    .wm-cell-msg,
    .wm-cell-status { display: flex !important; justify-content: space-between; align-items: center; padding: 6px 0 !important; font-size: 12.5px; }
    .wm-cell-appid::before { content: "AppID"; color: var(--text-muted); font-weight: 500; font-size: 11.5px; margin-right: 12px; flex-shrink: 0; }
    .wm-cell-type::before { content: "类型"; color: var(--text-muted); font-weight: 500; font-size: 11.5px; margin-right: 12px; flex-shrink: 0; }
    .wm-cell-token::before { content: "Token"; color: var(--text-muted); font-weight: 500; font-size: 11.5px; margin-right: 12px; flex-shrink: 0; }
    .wm-cell-msg::before { content: "消息"; color: var(--text-muted); font-weight: 500; font-size: 11.5px; margin-right: 12px; flex-shrink: 0; }
    .wm-cell-status::before { content: "状态"; color: var(--text-muted); font-weight: 500; font-size: 11.5px; margin-right: 12px; flex-shrink: 0; }

    .wm-cell-actions { display: flex !important; justify-content: flex-end; gap: 8px; padding: 12px 0 0 !important; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 8px; }
    .wm-btn + .wm-btn { margin-left: 0; }

    /* 弹窗移动端 */
    .wm-modal { width: 96vw; }
    .wm-modal-header { padding: 16px 18px 12px; }
    .wm-modal-body { padding: 16px 18px; }
    .wm-modal-footer { padding: 12px 18px 16px; }
}

@media (max-width: 420px) {
    .wm-page { padding: 12px 12px 24px; }
    .wm-header { margin-bottom: 16px; padding-bottom: 14px; }
    .wm-title { font-size: 20px; }
    .wm-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .wm-toolbar-right { width: 100%; }
    .wm-add-btn { width: 100%; justify-content: center; }
    .wm-btn { padding: 6px 10px; font-size: 11.5px; }
}

/* ================================================================
   AI智能体（ai-agent.js v1.0）
   ================================================================ */
.ag-page {
    max-width: var(--pc-width);
    margin: 0 auto;
    padding: 28px 24px 40px;
    min-height: calc(100vh - var(--nav-height) - var(--tabbar-height));
}

.ag-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: var(--bw) solid var(--bc-default);
}

.ag-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-light);
    margin: 0 0 10px;
    letter-spacing: 1px;
}

.ag-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 智能体网格 */
.ag-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

/* 加载动画 */
.ag-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
    gap: 16px;
    font-size: 14px;
}

.ag-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(212,168,58,0.2);
    border-top-color: var(--gold-light);
    border-radius: 50%;
    animation: agSpin 0.8s linear infinite;
}

@keyframes agSpin {
    to { transform: rotate(360deg); }
}

/* ====== 智能体卡片 ====== */
.ag-card {
    position: relative;
    background: var(--card-bg);
    border: var(--bw) solid var(--bc-default);
    border-radius: 14px;
    padding: 28px 24px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ag-card:hover {
    border-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(212,168,58,0.12);
}

.ag-card-loading {
    pointer-events: none;
    opacity: 0.65;
}

.ag-card-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 2px solid rgba(212,168,58,0.2);
    border-top-color: var(--gold-light);
    border-radius: 50%;
    animation: agSpin 0.7s linear infinite;
}

/* 卡片角标 */
.ag-card-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 0 12px 0 12px;
    letter-spacing: 0.5px;
}

.ag-badge-general {
    background: rgba(212,168,58,0.15);
    color: var(--gold-dark);
}

.ag-badge-exclusive {
    background: linear-gradient(135deg, rgba(212,168,58,0.25), rgba(200,150,50,0.18));
    color: var(--gold-light);
    font-weight: 700;
}

/* 图标 */
.ag-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ag-card-icon svg {
    width: 52px;
    height: 52px;
}

/* 内容 */
.ag-card-body {
    text-align: center;
    flex: 1;
    margin-bottom: 16px;
}

.ag-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.ag-card-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* 底部 */
.ag-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(212,168,58,0.15);
}

.ag-card-quota {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ag-quota-free {
    color: var(--gold-dark);
    font-weight: 600;
}

.ag-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1a1a2e;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-main);
}

.ag-card-btn:hover {
    background: linear-gradient(135deg, #E8C96A, var(--gold-light));
    transform: scale(1.03);
}

.ag-btn-arrow {
    transition: transform 0.2s ease;
}

.ag-card-btn:hover .ag-btn-arrow {
    transform: translateX(2px);
}

/* ====== 聊天弹窗 ====== */
.ag-chat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ag-chat-modal {
    width: 520px;
    max-width: 94vw;
    max-height: 80vh;
    background: var(--card-bg-solid);
    border: var(--bw) solid var(--gold-light);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ag-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(212,168,58,0.2);
}

.ag-chat-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--gold-light);
}

.ag-chat-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-size: 22px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ag-chat-close:hover {
    background: rgba(212,168,58,0.1);
    color: var(--gold-light);
}

.ag-chat-body {
    flex: 1;
    padding: 16px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 200px;
    max-height: 50vh;
}

.ag-chat-msg {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
}

.ag-chat-msg.bot {
    align-self: flex-start;
    background: rgba(212,168,58,0.08);
    border: 1px solid rgba(212,168,58,0.15);
    color: var(--text-primary);
}

.ag-chat-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(212,168,58,0.25), rgba(200,150,50,0.15));
    color: var(--text-primary);
    border: 1px solid rgba(212,168,58,0.3);
}

.ag-chat-typing {
    display: flex;
    gap: 4px;
    padding: 14px;
}

.ag-chat-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: agTyping 1.2s infinite;
}

.ag-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.ag-chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes agTyping {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

.ag-chat-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-top: 1px solid rgba(212,168,58,0.2);
}

.ag-chat-input input {
    flex: 1;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--card-bg-solid);
    border: 1px solid rgba(212,168,58,0.25);
    border-radius: 10px;
    outline: none;
    font-family: var(--font-main);
    transition: border-color 0.25s;
}

.ag-chat-input input:focus {
    border-color: var(--gold-light);
}

.ag-chat-input button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--font-main);
    white-space: nowrap;
}

.ag-chat-input button:hover {
    transform: scale(1.03);
}

/* ====== Toast ====== */
.ag-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 20000;
    transition: transform 0.3s ease;
    max-width: 90vw;
    text-align: center;
    font-family: var(--font-main);
}

.ag-toast-show {
    transform: translateX(-50%) translateY(0);
}

.ag-toast-info {
    background: rgba(212,168,58,0.15);
    border: 1px solid rgba(212,168,58,0.3);
    color: var(--gold-light);
}

.ag-toast-warn {
    background: rgba(255,193,7,0.15);
    border: 1px solid rgba(255,193,7,0.3);
    color: #FFC107;
}

.ag-toast-error {
    background: rgba(255,82,82,0.15);
    border: 1px solid rgba(255,82,82,0.3);
    color: #FF5252;
}

/* ====== 响应式 ====== */
@media (max-width: 1200px) {
    .ag-page { padding: 24px 20px 36px; }
    .ag-grid { max-width: 100%; gap: 20px; }
}

@media (max-width: 768px) {
    .ag-page { padding: 16px 14px 28px; }
    .ag-title { font-size: 24px; }
    .ag-subtitle { font-size: 13.5px; }
    .ag-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ag-card { padding: 22px 18px 16px; }
    .ag-card-name { font-size: 16px; }
    .ag-card-desc { font-size: 13px; }
    .ag-chat-modal { width: 96vw; max-height: 85vh; }
    .ag-chat-body { max-height: 55vh; }
    .ag-chat-msg { max-width: 88%; }
}

@media (max-width: 420px) {
    .ag-page { padding: 12px 10px 24px; }
    .ag-title { font-size: 20px; }
    .ag-header { margin-bottom: 20px; padding-bottom: 16px; }
    .ag-card { padding: 18px 14px 14px; }
    .ag-card-icon { width: 52px; height: 52px; margin-bottom: 10px; }
    .ag-card-icon svg { width: 42px; height: 42px; }
    .ag-card-name { font-size: 15px; }
    .ag-card-btn { padding: 6px 14px; font-size: 12.5px; }
    .ag-chat-msg { max-width: 92%; font-size: 13px; }
}

/* ============================================
   个人中心 - AI智能体调用记录子页面
   ============================================ */
.pc-ag-paid { color: var(--gold, #D4A83A); font-weight: 600; }
.pc-ag-free { color: #4FC3F7; font-weight: 600; }
.pc-ag-points { font-size: 13px; font-weight: 600; margin-right: 8px; }
.pc-ag-free-pts { color: #4FC3F7; }
.pc-ledger-right .pc-ag-points { min-width: 55px; display: inline-block; text-align: right; }
@media (max-width: 768px) {
    .pc-ledger-right .pc-ag-points { min-width: 45px; font-size: 12px; }
}

/* ============================================
   公众号9段式AI图文创作智能体 (wx-article-creator)
   ============================================ */

/* ---------- 页面容器：垂直居中 ---------- */
.wac-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: calc(100vh - var(--nav-height) - 80px);
    padding: 36px 20px 60px;
    position: relative;
    z-index: 1;
}

/* ---------- 顶部介绍区 ---------- */
.wac-hero {
    text-align: center;
    max-width: 720px;
    margin-bottom: 32px;
    padding: 0 16px;
}

.wac-hero-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.3;
    margin-bottom: 14px;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 16px rgba(212, 168, 58, 0.18);
}

.wac-hero-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* ---------- 圆角金边卡片 ---------- */
.wac-card {
    width: 100%;
    max-width: 680px;
    background: linear-gradient(145deg, rgba(22, 40, 66, 0.82), rgba(14, 28, 50, 0.92));
    border: var(--bw) solid var(--bc-default);
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(212, 168, 58, 0.06) inset;
    margin-bottom: 24px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wac-card:hover {
    border-color: var(--bc-hover);
    box-shadow: var(--shadow-card), 0 0 28px rgba(212, 168, 58, 0.08) inset;
}

/* ---------- 表单分组 ---------- */
.wac-form-group {
    margin-bottom: 22px;
}

.wac-form-group:last-child {
    margin-bottom: 0;
}

.wac-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-gold);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.wac-tip {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.5;
}

.wac-link {
    color: var(--gold-light);
    text-decoration: underline;
    margin: 0 4px;
    transition: color 0.2s ease;
}

.wac-link:hover {
    color: var(--gold-pale);
}

/* ---------- 横向行：双输入 + 下拉整合 ---------- */
.wac-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wac-input-group {
    position: relative;
}

/* ---------- 输入框/文本域 ---------- */
.wac-input,
.wac-textarea,
.wac-select {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text-primary);
    background: rgba(10, 20, 36, 0.65);
    border: var(--bw) solid rgba(140, 168, 200, 0.25);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    box-sizing: border-box;
    font-family: var(--font-main);
}

.wac-input::placeholder,
.wac-textarea::placeholder {
    color: var(--text-muted);
}

.wac-input:focus,
.wac-textarea:focus,
.wac-select:focus {
    border-color: var(--gold-light);
    background: rgba(10, 20, 36, 0.8);
    box-shadow: 0 0 0 3px rgba(212, 168, 58, 0.1), 0 0 16px rgba(212, 168, 58, 0.12);
}

.wac-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.6;
}

.wac-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4A83A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.wac-select option {
    background: var(--sky-deep);
    color: var(--text-primary);
}

/* ---------- 字数计数器 ---------- */
.wac-counter {
    display: block;
    text-align: right;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 6px;
    transition: color 0.2s ease;
}

.wac-counter-over {
    color: #FF6B6B;
}

.wac-input-over,
.wac-input-over:focus,
.wac-textarea-over,
.wac-textarea-over:focus {
    border-color: rgba(255, 107, 107, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.08);
}

/* ---------- 提交按钮：鎏金放大居中 ---------- */
.wac-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 28px auto 0;
    padding: 15px 32px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #1a2233;
    background: var(--gradient-gold-btn);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: var(--shadow-gold), 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    position: relative;
    overflow: hidden;
}

.wac-submit::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.wac-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 168, 58, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.wac-submit:hover::after {
    left: 100%;
}

.wac-submit:active {
    transform: translateY(0);
}

.wac-submit:disabled,
.wac-submit-loading {
    cursor: not-allowed;
    opacity: 0.9;
    filter: brightness(0.95);
}

.wac-submit-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(26, 34, 51, 0.3);
    border-top-color: #1a2233;
    border-radius: 50%;
    animation: wac-spin 0.8s linear infinite;
}

@keyframes wac-spin {
    to { transform: rotate(360deg); }
}

/* ---------- 状态/进度/结果卡片 ---------- */
.wac-status-card {
    display: none;
    text-align: center;
}

.wac-status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.wac-status-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-gold-btn);
    box-shadow: 0 0 12px rgba(212, 168, 58, 0.35);
    animation: wac-pulse 2s ease-in-out infinite;
}

@keyframes wac-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.wac-status-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.wac-status-success .wac-status-icon {
    background: linear-gradient(135deg, #4ADE80, #22C55E);
    animation: none;
}

.wac-status-error .wac-status-icon {
    background: linear-gradient(135deg, #FF6B6B, #EF4444);
    animation: none;
}

.wac-progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(10, 20, 36, 0.7);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid rgba(212, 168, 58, 0.1);
}

.wac-progress-fill {
    height: 100%;
    background: var(--gradient-gold-btn);
    border-radius: 5px;
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(212, 168, 58, 0.35);
}

.wac-status-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    min-height: 22px;
}

.wac-result {
    text-align: left;
    margin-bottom: 18px;
}

.wac-success,
.wac-error {
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.wac-success {
    background: rgba(74, 222, 128, 0.08);
    border: var(--bw) solid rgba(74, 222, 128, 0.25);
    color: var(--text-primary);
}

.wac-error {
    background: rgba(255, 107, 107, 0.08);
    border: var(--bw) solid rgba(255, 107, 107, 0.25);
    color: #FF9E9E;
}

.wac-result-item {
    margin-bottom: 8px;
}

.wac-result-item:last-child {
    margin-bottom: 0;
}

.wac-result-label {
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 6px;
}

.wac-result-value {
    color: var(--text-primary);
}

/* ---------- 发布按钮 ---------- */
.wac-publish {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1a2233;
    background: var(--gradient-gold-btn);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wac-publish:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 168, 58, 0.4);
}

.wac-publish:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.wac-publish-done {
    background: linear-gradient(135deg, #4ADE80, #22C55E);
    color: #fff;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

/* ---------- Toast 提示 ---------- */
.wac-toast {
    position: fixed;
    top: 84px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(22, 40, 66, 0.95);
    border: var(--bw) solid var(--bc-default);
    box-shadow: var(--shadow-card);
    opacity: 0;
    z-index: 10002;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.wac-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.wac-toast-warn {
    border-color: #F59E0B;
    color: #FCD34D;
}

.wac-toast-error {
    border-color: #EF4444;
    color: #FCA5A5;
}

.wac-toast-info {
    border-color: var(--gold);
    color: var(--gold-light);
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .wac-page {
        padding: 24px 14px 48px;
    }
    .wac-hero-title {
        font-size: 22px;
    }
    .wac-hero-subtitle {
        font-size: 13.5px;
    }
    .wac-card {
        padding: 24px 20px;
    }
    .wac-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .wac-submit {
        max-width: 100%;
        font-size: 15px;
    }
    .wac-status-title {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .wac-hero-title {
        font-size: 20px;
    }
    .wac-card {
        padding: 20px 16px;
    }
    .wac-label {
        font-size: 13px;
    }
    .wac-submit {
        padding: 13px 24px;
        font-size: 14px;
    }
}
/* ============================================================
   wx-article-creator v3.0 新增样式
   左右分栏布局 + 流式输出 + 配图预览
   ============================================================ */

/* 左右分栏容器 4:6 */
.wac-split {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-top: 20px;
}

/* 左侧：参数输入区 40% */
.wac-split-left {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 360px;
}

/* 右侧：输出容器 60% */
.wac-split-right {
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 流式输出卡片 */
.wac-output-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 20px 24px 24px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.wac-output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8ecf1;
}

.wac-output-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a73e8;
}

.wac-output-status {
    font-size: 12px;
    color: #888;
    background: #f0f4ff;
    padding: 3px 10px;
    border-radius: 20px;
}

/* 进度条（输出卡片内复用） */
.wac-output-card .wac-progress-bar {
    height: 6px;
    background: #e8ecf1;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.wac-output-card .wac-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a73e8, #f0a500);
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 0%;
}

/* 流式文本输出区 */
.wac-stream-output {
    flex: 1;
    overflow-y: auto;
    max-height: 500px;
    padding: 12px 16px;
    background: #f7f8fc;
    border-radius: 10px;
    border: 1px solid #e2e6f0;
    font-size: 14px;
    line-height: 1.9;
    color: #2c3e50;
}

.wac-output-placeholder {
    color: #aab;
    text-align: center;
    padding: 60px 20px;
    font-size: 14px;
}

.wac-output-line {
    margin-bottom: 6px;
    word-break: break-word;
}

.wac-output-system {
    color: #1a73e8;
    font-size: 13px;
    font-weight: 500;
}

.wac-output-error {
    color: #e74c3c;
    font-size: 13px;
    font-weight: 500;
    background: #fef0f0;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #e74c3c;
}

.wac-output-paragraph-header {
    color: #f0a500;
    font-weight: 700;
    font-size: 13px;
    margin: 14px 0 4px;
    padding: 4px 0;
    border-bottom: 1px dashed #e8ecf1;
}

.wac-paragraph {
    margin: 6px 0 14px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8ecf1;
    text-indent: 2em;
    animation: wac-fadein 0.3s ease;
}

@keyframes wac-fadein {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 配图预览卡片区 */
.wac-image-preview-card {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.wac-image-card {
    flex: 1;
    max-width: 48%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
}

.wac-image-card-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
    align-self: flex-start;
}

.wac-image-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #aab;
    font-size: 13px;
    gap: 8px;
    min-height: 160px;
    width: 100%;
    background: #f7f8fc;
    border-radius: 10px;
}

.wac-image-icon {
    font-size: 32px;
    opacity: 0.5;
}

.wac-image-img {
    max-width: 100%;
    max-height: 260px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: wac-fadein 0.5s ease;
}

/* 输出卡片内的推送按钮 */
.wac-output-card .wac-publish {
    margin-top: 16px;
    align-self: flex-end;
}

/* 超时弹窗 */
.wac-timeout-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.wac-timeout-content {
    background: #fff;
    border-radius: 16px;
    padding: 32px 40px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    max-width: 400px;
    animation: wac-fadein 0.3s ease;
}

.wac-timeout-content h3 {
    font-size: 18px;
    color: #e74c3c;
    margin-bottom: 12px;
}

.wac-timeout-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 24px;
}

.wac-timeout-retry {
    background: linear-gradient(135deg, #1a73e8, #4a90d9);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 12px;
}

.wac-timeout-cancel {
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.wac-timeout-retry:hover { opacity: 0.9; }
.wac-timeout-cancel:hover { background: #e0e0e0; }

/* 响应式：窄屏时上下堆叠 */
@media (max-width: 900px) {
    .wac-split {
        flex-direction: column;
    }
    .wac-split-left,
    .wac-split-right {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    .wac-image-preview-card {
        flex-direction: column;
    }
    .wac-image-card {
        max-width: 100%;
    }
}

/* ================================================================
   个人中心 v3 新增样式：手机绑定 / 子页面 / 积分明细 / 分页器 / 购买弹窗
   ================================================================ */

/* ---------- 手机号区域 ---------- */
.pc-phone-section {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px; margin: 0 20px 16px;
    background: rgba(255,255,255,0.03);
    border: var(--bw, 2px) solid var(--gold, #C9A961);
    border-radius: 10px;
}
.pc-phone-label { color: var(--tc-secondary, #8CA8C8); font-size: 13px; }
.pc-phone-value { color: var(--tc-primary, #E8ECF1); font-size: 15px; font-weight: 600; flex: 1; }
.pc-phone-btn {
    padding: 6px 16px; border-radius: 6px;
    background: var(--gold, #C9A961); color: #141E33;
    border: none; font-size: 13px; font-weight: 600; cursor: pointer;
}
.pc-phone-btn:hover { opacity: 0.85; }

/* ---------- 手机绑定子页 ---------- */
.pc-phone-bound { text-align: center; padding: 40px 20px; }
.pc-phone-bound-icon { margin-bottom: 16px; }
.pc-phone-bound-num { font-size: 22px; font-weight: 700; color: var(--tc-primary, #E8ECF1); margin: 8px 0; }
.pc-phone-bound-desc { font-size: 13px; color: var(--tc-secondary, #8CA8C8); }
.pc-phone-bind-form { padding: 8px 0; }
.pc-sms-row .pc-form-label { margin-bottom: 6px; }
.pc-sms-input-wrap { display: flex; gap: 10px; }
.pc-sms-input { flex: 1; }
.pc-sms-send-btn {
    padding: 0 16px; white-space: nowrap;
    background: var(--gold, #C9A961); color: #141E33;
    border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer;
    min-width: 100px;
}
.pc-sms-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- 子页面通用容器 ---------- */
.pc-sub-page { padding: 0; }
.pc-sub-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px; margin-bottom: 16px;
    border-bottom: 1px solid rgba(201,169,97,0.2);
}
.pc-back-btn {
    padding: 6px 12px; background: transparent; color: var(--gold, #C9A961);
    border: 1px solid var(--gold, #C9A961); border-radius: 6px;
    font-size: 13px; cursor: pointer; white-space: nowrap;
}
.pc-back-btn:hover { background: rgba(201,169,97,0.1); }
.pc-sub-title { font-size: 17px; font-weight: 700; color: var(--tc-primary, #E8ECF1); margin: 0; }
.pc-sub-content { padding: 0 20px; }

/* ---------- 加载/空/错误状态 ---------- */
.pc-loading, .pc-empty {
    text-align: center; padding: 40px 20px;
    color: var(--tc-secondary, #8CA8C8); font-size: 14px;
}
.pc-loading::before {
    content: ''; display: block; width: 28px; height: 28px;
    margin: 0 auto 12px;
    border: 3px solid rgba(201,169,97,0.2); border-top-color: var(--gold, #C9A961);
    border-radius: 50%; animation: pcSpin 0.8s linear infinite;
}
@keyframes pcSpin { to { transform: rotate(360deg); } }

/* ---------- 积分明细行 ---------- */
.pc-ledger-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pc-ledger-row:last-child { border-bottom: none; }
.pc-ledger-left { display: flex; flex-direction: column; gap: 3px; }
.pc-ledger-time { font-size: 12px; color: var(--tc-secondary, #8CA8C8); }
.pc-ledger-desc { font-size: 14px; color: var(--tc-primary, #E8ECF1); }
.pc-ledger-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.pc-ledger-right span { font-size: 13px; }
.pc-points-plus { color: #07C160; font-weight: 600; }
.pc-points-minus { color: #EF4444; font-weight: 600; }
.pc-ledger-balance { font-size: 11px; color: var(--tc-secondary, #8CA8C8); }
.pc-ledger-points { color: #07C160; font-weight: 600; }
.pc-ledger-cash { color: var(--gold, #C9A961); }
.pc-ledger-amount { color: var(--tc-primary, #E8ECF1); font-weight: 600; }
.pc-status-ok { color: #07C160; font-size: 12px; }
.pc-status-err { color: #EF4444; font-size: 12px; }
.pc-status-pending { color: #F59E0B; font-size: 12px; }

/* ---------- 分页器 ---------- */
.pc-pagination {
    display: flex; justify-content: center; align-items: center; gap: 6px;
    padding: 16px 20px; flex-wrap: wrap;
}
.pc-page-btn {
    min-width: 36px; height: 34px; padding: 0 10px;
    background: rgba(255,255,255,0.05); color: var(--tc-primary, #E8ECF1);
    border: 1px solid rgba(201,169,97,0.2); border-radius: 6px;
    font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.pc-page-btn:hover:not(:disabled):not(.pc-page-active) {
    background: rgba(201,169,97,0.15); border-color: var(--gold, #C9A961);
}
.pc-page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pc-page-active {
    background: var(--gold, #C9A961); color: #141E33;
    border-color: var(--gold, #C9A961); font-weight: 700;
}

/* ---------- 体验金统计 ---------- */
.pc-exp-overview { text-align: center; padding: 24px 20px; }
.pc-exp-big { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.pc-exp-big-label { font-size: 14px; color: var(--tc-secondary, #8CA8C8); }
.pc-exp-big-num { font-size: 36px; font-weight: 800; color: var(--gold, #C9A961); }
.pc-exp-sub { display: flex; justify-content: center; gap: 32px; font-size: 13px; color: var(--tc-secondary, #8CA8C8); }
.pc-exp-monthly { padding: 0 20px; }
.pc-exp-month-row {
    display: flex; justify-content: space-between; padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pc-exp-month { color: var(--tc-primary, #E8ECF1); font-size: 14px; }
.pc-exp-amount { color: var(--gold, #C9A961); font-weight: 700; font-size: 15px; }
.pc-exp-note {
    text-align: center; padding: 20px;
    font-size: 12px; color: var(--tc-secondary, #8CA8C8);
}

/* ---------- 资产卡片 ---------- */
.pc-asset-card {
    margin: 0 0 12px; padding: 14px 16px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(201,169,97,0.15);
    border-radius: 10px;
}
.pc-asset-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.pc-asset-name { font-size: 15px; font-weight: 700; color: var(--tc-primary, #E8ECF1); }
.pc-asset-status { font-size: 12px; color: var(--gold, #C9A961); }
.pc-asset-body { display: flex; flex-direction: column; gap: 6px; }
.pc-asset-stat { display: flex; justify-content: space-between; font-size: 13px; }
.pc-asset-label { color: var(--tc-secondary, #8CA8C8); }

/* ---------- 表单通用 ---------- */
.pc-form-group { margin-bottom: 14px; }
.pc-form-label { display: block; font-size: 13px; color: var(--tc-secondary, #8CA8C8); margin-bottom: 5px; }
.pc-required { color: #EF4444; }
.pc-form-input {
    width: 100%; padding: 10px 14px; box-sizing: border-box;
    background: rgba(255,255,255,0.05); color: var(--tc-primary, #E8ECF1);
    border: 1px solid rgba(201,169,97,0.25); border-radius: 8px;
    font-size: 14px; outline: none; transition: border-color 0.2s;
}
.pc-form-input:focus { border-color: var(--gold, #C9A961); }
.pc-form-select { cursor: pointer; appearance: none; }
.pc-form-hint { font-size: 12px; color: var(--tc-secondary, #8CA8C8); margin-top: 4px; }

/* ---------- 默认头像 ---------- */
.pc-avatar-default {
    display: flex; align-items: center; justify-content: center;
    background: rgba(30,50,88,0.5);
}

/* ---------- 退出登录区域 ---------- */
.pc-logout-area { text-align: center; padding: 20px; margin-top: 12px; }
.pc-logout-btn {
    padding: 10px 32px; background: transparent; color: #EF4444;
    border: 1px solid rgba(239,68,68,0.3); border-radius: 8px;
    font-size: 14px; cursor: pointer; transition: all 0.2s;
}
.pc-logout-btn:hover { background: rgba(239,68,68,0.1); border-color: #EF4444; }

/* ---------- 积分明细入口点击态 ---------- */
.pc-points-detail-clickable { cursor: pointer; }
.pc-points-detail-clickable:hover { opacity: 0.85; }

/* ================================================================
   商城购买弹窗
   ================================================================ */
.ml-purchase-dialog {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
}
.ml-dialog-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.ml-dialog-card {
    position: relative; width: 90%; max-width: 420px;
    background: var(--bg-card, #141E33); border: var(--bw, 2px) solid var(--gold, #C9A961);
    border-radius: 14px; overflow: hidden; z-index: 1;
}
.ml-dialog-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; border-bottom: 1px solid rgba(201,169,97,0.2);
}
.ml-dialog-header h3 { margin: 0; font-size: 16px; color: var(--tc-primary, #E8ECF1); }
.ml-dialog-close {
    background: none; border: none; color: var(--tc-secondary, #8CA8C8);
    font-size: 22px; cursor: pointer; line-height: 1; padding: 0 4px;
}
.ml-dialog-close:hover { color: var(--tc-primary, #E8ECF1); }
.ml-dialog-body { padding: 20px; }
.ml-dialog-product {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; margin-bottom: 16px;
    background: rgba(255,255,255,0.03); border-radius: 8px;
}
.ml-dialog-pname { font-size: 14px; color: var(--tc-primary, #E8ECF1); flex: 1; }
.ml-dialog-pprice { font-size: 18px; font-weight: 700; color: var(--gold, #C9A961); }
.ml-dialog-deduct { }
.ml-deduct-info {
    display: flex; justify-content: space-between; margin-bottom: 12px;
    font-size: 13px; color: var(--tc-secondary, #8CA8C8);
}
.ml-deduct-info strong { color: var(--tc-primary, #E8ECF1); }
.ml-deduct-input-row {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.ml-deduct-input-row label { font-size: 13px; color: var(--tc-secondary, #8CA8C8); white-space: nowrap; }
.ml-deduct-input {
    width: 80px; padding: 8px 12px;
    background: rgba(255,255,255,0.05); color: var(--tc-primary, #E8ECF1);
    border: 1px solid rgba(201,169,97,0.3); border-radius: 6px;
    font-size: 15px; text-align: center; outline: none;
}
.ml-deduct-input:focus { border-color: var(--gold, #C9A961); }
.ml-deduct-input:disabled { opacity: 0.4; }
.ml-deduct-unit { font-size: 12px; color: var(--tc-secondary, #8CA8C8); }
.ml-deduct-result {
    text-align: right; font-size: 16px; color: var(--tc-primary, #E8ECF1);
    padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.05);
}
.ml-deduct-result strong { color: var(--gold, #C9A961); }
.ml-dialog-footer {
    display: flex; gap: 12px; padding: 16px 20px;
    border-top: 1px solid rgba(201,169,97,0.2);
}
.ml-btn-cancel {
    flex: 1; padding: 10px;
    background: transparent; color: var(--tc-secondary, #8CA8C8);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
    font-size: 14px; cursor: pointer;
}
.ml-btn-cancel:hover { background: rgba(255,255,255,0.05); }
.ml-btn-confirm {
    flex: 2; padding: 10px;
    background: var(--gold, #C9A961); color: #141E33;
    border: none; border-radius: 8px;
    font-size: 14px; font-weight: 700; cursor: pointer;
}
.ml-btn-confirm:hover { opacity: 0.85; }

/* ---------- 移动端适配：个人中心 ---------- */
@media (max-width: 768px) {
    .pc-phone-section { margin: 0 12px 12px; padding: 10px 14px; flex-wrap: wrap; }
    .pc-sub-header { padding: 12px 14px; }
    .pc-sub-content { padding: 0 14px; }
    .pc-ledger-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .pc-ledger-right { flex-direction: row; gap: 8px; width: 100%; justify-content: flex-end; }
    .pc-pagination { gap: 4px; padding: 12px; }
    .pc-page-btn { min-width: 32px; height: 30px; font-size: 12px; }
    .pc-exp-big-num { font-size: 28px; }
    .ml-dialog-card { width: 95%; margin: 0 10px; }
    .ml-deduct-input-row { flex-wrap: wrap; }
}

/* ================================================================
   指令8: AI智能体额度弹窗 + 调用日志样式
   ================================================================ */

/* ---------- 空状态 ---------- */
.ag-empty {
    text-align: center;
    padding: 48px 20px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ---------- 配额标签变体 ---------- */
.ag-quota-paid { color: var(--gold-light); }
.ag-quota-limit { color: #FF5252; }
.ag-card-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---------- 额度弹窗 ---------- */
.ag-quota-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15000;
    animation: agFadeIn 0.25s ease;
}

@keyframes agFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ag-quota-modal {
    width: 92%;
    max-width: 420px;
    background: linear-gradient(145deg, rgba(22, 40, 66, 0.96), rgba(14, 28, 50, 0.98));
    border: var(--bw, 2px) solid var(--border-gold, #D4A83A);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 168, 58, 0.12);
    animation: agSlideUp 0.3s ease;
}

@keyframes agSlideUp {
    from { transform: translateY(24px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ag-quota-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(212, 168, 58, 0.2);
}

.ag-quota-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.ag-quota-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.ag-quota-close:hover { color: var(--text-primary); }

.ag-quota-body {
    padding: 20px 22px;
    max-height: 60vh;
    overflow-y: auto;
}

/* ---------- 额度信息区 ---------- */
.ag-quota-info { display: flex; flex-direction: column; gap: 12px; }

.ag-quota-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 168, 58, 0.1);
    border-radius: 10px;
}

.ag-quota-row-free { border-color: rgba(7, 193, 96, 0.2); }
.ag-quota-row-paid { border-color: rgba(212, 168, 58, 0.2); }
.ag-quota-row-empty { opacity: 0.6; }
.ag-quota-row-limit { border-color: rgba(255, 82, 82, 0.15); }

.ag-quota-label { font-size: 13px; color: var(--text-secondary); }
.ag-quota-value { font-size: 14px; font-weight: 700; color: var(--text-primary); }

.ag-quota-value strong { font-size: 18px; color: #07C160; }

.ag-text-muted { color: var(--text-muted); }
.ag-text-gold { color: var(--gold-light); }
.ag-text-danger { color: #FF5252; }
.ag-text-green { color: #07C160; font-weight: 700; }

/* ---------- 被阻止提示 ---------- */
.ag-quota-blocked {
    text-align: center;
    padding: 20px;
}

.ag-quota-icon-warn {
    font-size: 42px;
    margin-bottom: 12px;
}

.ag-quota-blocked p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ag-quota-warn {
    padding: 10px 14px;
    margin-top: 4px;
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.25);
    border-radius: 8px;
    font-size: 13px;
    color: #FF5252;
    text-align: center;
}

/* ---------- 弹窗底部按钮 ---------- */
.ag-quota-footer {
    display: flex;
    gap: 12px;
    padding: 16px 22px;
    border-top: 1px solid rgba(212, 168, 58, 0.15);
}

.ag-quota-cancel {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.2s;
}

.ag-quota-cancel:hover { background: rgba(255, 255, 255, 0.05); }

.ag-quota-confirm {
    flex: 2;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #1a1a2e;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.2s;
}

.ag-quota-confirm:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 168, 58, 0.3);
}

/* ---------- 聊天扣费提示 ---------- */
.ag-chat-cost {
    align-self: center;
    padding: 2px 12px;
    background: rgba(212, 168, 58, 0.12);
    border-radius: 12px;
    font-size: 11px;
    color: var(--gold-light);
    margin: 4px 0;
}

.ag-chat-cost-free {
    background: rgba(7, 193, 96, 0.12);
    color: #07C160;
}

.ag-chat-err {
    color: #FF5252 !important;
    border-color: rgba(255, 82, 82, 0.2) !important;
}

/* ---------- 调用日志条目（个人中心） ---------- */
.ag-log-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ag-log-item:last-child { border-bottom: none; }

.ag-log-left { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.ag-log-agent {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.ag-log-summary {
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 260px;
}

.ag-log-time {
    font-size: 11px;
    color: var(--text-muted);
}

.ag-log-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    white-space: nowrap;
}

.ag-log-cost {
    font-size: 13px;
    font-weight: 700;
}

.ag-log-cost-free { color: #07C160; }
.ag-log-cost-paid { color: var(--gold-light); }

.ag-log-type {
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 10px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.ag-log-status {
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 10px;
}

.ag-log-status-success { color: #07C160; background: rgba(7, 193, 96, 0.1); }
.ag-log-status-failed { color: #FF5252; background: rgba(255, 82, 82, 0.1); }
.ag-log-status-rejected { color: #F59E0B; background: rgba(245, 158, 11, 0.1); }

/* ---------- 响应式：额度弹窗 ---------- */
@media (max-width: 768px) {
    .ag-quota-modal { width: 96%; max-width: 380px; }
    .ag-quota-header { padding: 14px 18px; }
    .ag-quota-header h3 { font-size: 15px; }
    .ag-quota-body { padding: 16px 18px; }
    .ag-quota-footer { padding: 12px 18px; }
    .ag-quota-row { padding: 8px 12px; }
}

/* ==================== 购买弹窗表单样式 (v15) ==================== */
.ml-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
}

.ml-address-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ml-form-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ml-form-row label {
    min-width: 70px;
    font-size: 13px;
    color: var(--text-secondary);
    text-align: right;
}

.ml-form-row input,
.ml-form-row select,
.ml-form-row textarea {
    flex: 1;
    padding: 6px 10px;
    border: var(--bw) solid var(--border);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.ml-form-row input:focus,
.ml-form-row select:focus,
.ml-form-row textarea:focus {
    border-color: var(--gold);
}

.ml-form-row textarea {
    resize: vertical;
    min-height: 40px;
}

/* 购买弹窗抵扣区域优化 */
.ml-dialog-deduct {
    background: rgba(212, 168, 58, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
}

.ml-deduct-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.ml-deduct-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ml-deduct-input-row label {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.ml-deduct-input {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 13px;
    outline: none;
}

.ml-deduct-input:focus {
    border-color: var(--gold);
}

.ml-deduct-unit {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.ml-deduct-result {
    text-align: right;
    font-size: 14px;
    color: var(--text);
    margin-top: 8px;
}

.ml-deduct-result strong {
    color: var(--gold);
    font-size: 16px;
}

/* ==================== Native支付弹窗样式 ==================== */
#mlNativePayDialog .ml-dialog-card {
    max-width: 360px;
}

#mlQrCodeImg {
    display: block;
    margin: 0 auto;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
}

#mlPayStatus {
    font-weight: 600;
}

#mlPayTimer {
    font-size: 12px;
}
    .ag-quota-label { font-size: 12px; }
    .ag-quota-value { font-size: 13px; }
    .ag-log-summary { max-width: 180px; }
}


/* ===== 2.1.3-r2：仅小程序 webview 精简（网页端 footer/板块完整保留） ===== */
body.ycq-mp .footer { display: none !important; }
.sidebar-compliance { padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(212,168,58,.25); font-size: 11px; line-height: 1.8; color: var(--text-muted, #8A93A6); word-break: break-all; }
.sidebar-compliance .sc-line { display: block; }


/* ============================================
   首页轮播第6张：缘创圈数字文脉（精修版）
   标准LOGO不加任何圆环/光圈，仅背光+投影+悬浮立体效果；
   无方形底板、文字环绕LOGO分层、6品牌可点击按钮
   ============================================ */
.hero-section .carousel-slide.slide-yuanchuangquan-v6 {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.slide-yuanchuangquan-v6 .v6-bg {
    position: absolute;
    inset: 0;
    /* 背景已去除中央 LOGO，仅作装饰；LOGO 改为独立 DOM <img> 浮于其上，
       从根本上杜绝「cover 缩放错位导致文字压 LOGO」 */
    background: url('../images/banner-yuanchuangquan-bg.png') center center / cover no-repeat;
    z-index: 0;
}

/* 主容器：纵向 flex，内容由上至下严格分层。
   LOGO 是独立 DOM <img>（非烤进背景），与上下文字天然隔离；
   缓冲区 div 用 flex-shrink:0 + 最小高度，保证任何尺寸下文字绝不压 LOGO */
.slide-yuanchuangquan-v6 .v6-layout {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: calc(var(--nav-height) + 14px) 24px 96px;
    box-sizing: border-box;
    text-align: center;
    gap: 0;                 /* 间距完全由缓冲区 div 控制，避免叠加 */
}

/* 层级组1：顶部文字（主标题+副标题），绝不进入 LOGO 安全区 */
.slide-yuanchuangquan-v6 .v6-top {
    width: 100%;
    max-width: 1080px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;         /* 顶部文字组绝不压缩进入 LOGO 安全区 */
}

/* 层级1：主标题（毛笔书法体 + 鎏金渐变 + 立体雕刻感，禁止默认黑体/宋体/雅黑） */
.slide-yuanchuangquan-v6 .v6-title {
    font-family: "Ma Shan Zheng", "STXingkai", "KaiTi", cursive;
    font-size: clamp(38px, 4vh + 2.6vw, 80px);
    line-height: 1.25;
    letter-spacing: 6px;
    margin: 0 0 clamp(18px, 2.4vh, 34px);
    font-weight: 400;
}

.slide-yuanchuangquan-v6 .v6-title-line1,
.slide-yuanchuangquan-v6 .v6-title-line2 {
    display: block;
    text-align: center;
}

.slide-yuanchuangquan-v6 .v6-title-line1 {
    font-size: 1.0em;
    margin-bottom: 0.2em;
}

.slide-yuanchuangquan-v6 .v6-title-line2 {
    font-size: 0.94em;
}

.slide-yuanchuangquan-v6 .v6-title .title-gold {
    color: #D4AF37;
    background: linear-gradient(180deg, #FFFDF0 0%, #F8E9B8 18%, #E7C75A 46%, #C99B2E 74%, #9A7526 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* 海报级鎏金浮雕：顶缘高光 + 底缘暗刻 + 立体投影 + 金色外发光，层次分明且不廉价 */
    filter:
        drop-shadow(0 1px 0 rgba(255, 248, 220, 0.35))
        drop-shadow(0 3px 2px rgba(40, 26, 0, 0.55))
        drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6))
        drop-shadow(0 0 24px rgba(212, 175, 55, 0.5));
}

/* 层级2：主标题下方、LOGO上方（优雅细体宋体 #E2CD90） */
.slide-yuanchuangquan-v6 .v6-subtitle {
    font-family: "Noto Serif SC", "STSong", serif;
    font-size: clamp(18px, 1.4vh + 0.9vw, 30px);
    color: #EAD9A0;
    font-weight: 500;
    letter-spacing: 4px;
    margin: 0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* 缓冲区：LOGO 正上方，桌面≥60px，随视口缩放但永不为零 */
.slide-yuanchuangquan-v6 .v6-buffer-top {
    width: 100%;
    flex-shrink: 0;
    height: clamp(46px, 6.5vh, 72px);
}

/* LOGO 容器：独立 flex 项，flex-shrink:0 保证不被压缩；
   左右安全区由居中 + max-width 共同保证（桌面两侧各留 ≥15%） */
.slide-yuanchuangquan-v6 .v6-logo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.slide-yuanchuangquan-v6 .v6-logo {
    display: block;
    width: clamp(160px, 34vmin, 360px);   /* 360=含光晕总宽；放大更显著，两侧各留安全区 */
    height: auto;
    max-width: 66vw;                       /* 横向安全：LOGO 不超视口66%，两侧各留≥17% */
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
}

/* 缓冲区：LOGO 正下方，桌面≥80px */
.slide-yuanchuangquan-v6 .v6-buffer-bottom {
    width: 100%;
    flex-shrink: 0;
    height: clamp(54px, 8vh, 92px);
}

/* 层级组2：底部内容（正文+按钮+品牌栏），绝不进入 LOGO 安全区 */
.slide-yuanchuangquan-v6 .v6-bottom {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 1.3vh, 16px);
    flex-shrink: 0;
}

/* 层级3：LOGO正下方正文（思源宋体，清晰但非系统默认字） */
.slide-yuanchuangquan-v6 .v6-desc {
    font-family: "Noto Serif SC", "STSong", serif;
    font-size: clamp(13px, 1vh + 0.5vw, 18px);
    color: #EDE6CC;
    line-height: 1.95;
    font-weight: 400;
    margin: 0;
    padding: 0 14%;   /* 加宽正文列，留足行距，确保底部品牌栏不被挤出 */
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.slide-yuanchuangquan-v6 .v6-desc p {
    margin: 0;
}

.slide-yuanchuangquan-v6 .v6-desc .v6-em {
    color: #F0D878;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.55);
}

/* 主行动按钮：圆角鎏金渐变，稳重黑体 */
.slide-yuanchuangquan-v6 .v6-cta {
    font-family: "Noto Sans SC", "PingFang SC", sans-serif;
    padding: clamp(12px, 1.3vh, 16px) clamp(38px, 3vw, 54px);
    font-size: clamp(15px, 1.1vh + 0.6vw, 20px);
    font-weight: 700;
    color: #141E33;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    background: linear-gradient(135deg, #FFF5D6 0%, #E2CD90 25%, #D4AF37 55%, #B8923A 100%);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.slide-yuanchuangquan-v6 .v6-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(212, 175, 55, 0.55), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 底部品牌交互按钮组：画面最下方，6个按钮横向均匀排列（flex 流内，不脱离文档流） */
.slide-yuanchuangquan-v6 .v6-brand-bar {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(10px, 1.2vw, 18px);
    padding: 0 24px;
    margin-top: clamp(4px, 0.8vh, 10px);
    z-index: 2;
}

.slide-yuanchuangquan-v6 .v6-brand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: clamp(96px, 10vw, 140px);
    height: clamp(40px, 4.2vh, 52px);
    padding: 0 clamp(6px, 0.5vw, 10px);
    font-family: "Noto Sans SC", "PingFang SC", sans-serif;
    font-size: clamp(13px, 0.9vh + 0.5vw, 18px);
    font-weight: 700;
    color: #FBE9AE;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(28, 44, 78, 0.85), rgba(10, 20, 40, 0.85));
    border: 2px solid rgba(224, 188, 92, 0.95);
    border-radius: 9px;
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 240, 200, 0.18);
}

.slide-yuanchuangquan-v6 .v6-brand-btn:hover {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.35), rgba(184, 146, 58, 0.3));
    border-color: #F5E2A0;
    color: #FFFCE6;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

/* 响应式：≤1200px（出现底部 Tab 栏，预留空间） */
@media (max-width: 1200px) {
    .slide-yuanchuangquan-v6 .v6-layout {
        padding-bottom: 110px;
        gap: 0;
    }
    .slide-yuanchuangquan-v6 .v6-title {
        font-size: clamp(30px, 3.4vh + 2vw, 60px);
        margin-bottom: clamp(14px, 1.8vh, 24px);
        letter-spacing: 5px;
    }
    .slide-yuanchuangquan-v6 .v6-subtitle {
        font-size: clamp(15px, 1.2vh + 0.7vw, 22px);
    }
    .slide-yuanchuangquan-v6 .v6-buffer-top {
        height: clamp(34px, 5.5vh, 56px);
    }
    .slide-yuanchuangquan-v6 .v6-logo {
        width: clamp(150px, 30vmin, 320px);
    }
    .slide-yuanchuangquan-v6 .v6-buffer-bottom {
        height: clamp(44px, 6.8vh, 72px);
    }
    .slide-yuanchuangquan-v6 .v6-bottom {
        gap: clamp(6px, 0.9vh, 10px);
    }
    .slide-yuanchuangquan-v6 .v6-desc {
        padding: 0 12%;
        line-height: 1.8;
        font-size: clamp(11px, 0.85vh + 0.35vw, 15px);
    }
    .slide-yuanchuangquan-v6 .v6-brand-bar {
        gap: 8px;
        padding: 0 12px;
    }
    .slide-yuanchuangquan-v6 .v6-brand-btn {
        width: clamp(88px, 13vw, 120px);
        height: clamp(36px, 3.6vh, 46px);
        font-size: clamp(12px, 0.8vh + 0.4vw, 16px);
    }
}

/* 响应式：平板 */
@media (max-width: 991px) {
    .slide-yuanchuangquan-v6 .v6-layout {
        padding-top: calc(var(--nav-height) + 20px);
    }
    .slide-yuanchuangquan-v6 .v6-title {
        letter-spacing: 2px;
    }
}

/* 响应式：手机 */
@media (max-width: 768px) {
    .slide-yuanchuangquan-v6 .v6-layout {
        padding-top: calc(var(--nav-height) + 10px);
        padding-bottom: 90px;
        justify-content: center;
    }
    .slide-yuanchuangquan-v6 .v6-title {
        font-size: clamp(24px, 2.6vh + 1.6vw, 40px);
        letter-spacing: 3px;
        margin-bottom: 10px;
    }
    .slide-yuanchuangquan-v6 .v6-subtitle {
        font-size: clamp(13px, 1vh + 0.5vw, 18px);
    }
    .slide-yuanchuangquan-v6 .v6-buffer-top {
        height: clamp(26px, 4.2vh, 42px);
    }
    .slide-yuanchuangquan-v6 .v6-logo {
        width: clamp(130px, 28vmin, 260px);
        max-width: 62vw;
    }
    .slide-yuanchuangquan-v6 .v6-buffer-bottom {
        height: clamp(34px, 5.5vh, 56px);
    }
    .slide-yuanchuangquan-v6 .v6-bottom {
        gap: 6px;
    }
    .slide-yuanchuangquan-v6 .v6-desc {
        padding: 0 8%;
        line-height: 1.7;
        font-size: clamp(11px, 0.85vh + 0.3vw, 14px);
    }
    .slide-yuanchuangquan-v6 .v6-brand-bar {
        gap: 6px;
        padding: 0 8px;
    }
    .slide-yuanchuangquan-v6 .v6-brand-btn {
        width: clamp(72px, 17vw, 100px);
        height: 34px;
        padding: 0 4px;
        font-size: clamp(11px, 0.7vh + 0.3vw, 14px);
    }
    .slide-yuanchuangquan-v6 .v6-cta {
        padding: 9px 24px;
        font-size: 14px;
    }
}

/* 响应式：中等高度窗口（768-800px 笔记本、窗口压扁）整体缩小，确保内容不溢出 */
@media (max-height: 800px) {
    .slide-yuanchuangquan-v6 .v6-layout {
        padding-top: calc(var(--nav-height) + 8px);
        padding-bottom: 20px;
    }
    .slide-yuanchuangquan-v6 .v6-title {
        font-size: clamp(26px, 3.4vh + 1.4vw, 48px);
        margin-bottom: clamp(10px, 1.4vh, 16px);
        letter-spacing: 4px;
    }
    .slide-yuanchuangquan-v6 .v6-subtitle {
        font-size: clamp(14px, 1.3vh + 0.5vw, 20px);
    }
    .slide-yuanchuangquan-v6 .v6-buffer-top {
        height: clamp(28px, 4.5vh, 48px);
    }
    .slide-yuanchuangquan-v6 .v6-logo {
        width: clamp(140px, 26vmin, 260px);
        max-width: 54vh;
    }
    .slide-yuanchuangquan-v6 .v6-buffer-bottom {
        height: clamp(36px, 5.8vh, 60px);
    }
    .slide-yuanchuangquan-v6 .v6-desc {
        padding: 0 10%;
        line-height: 1.7;
        font-size: clamp(11px, 0.85vh + 0.35vw, 15px);
    }
    .slide-yuanchuangquan-v6 .v6-cta {
        padding: 8px 24px;
        font-size: 14px;
    }
    .slide-yuanchuangquan-v6 .v6-brand-bar {
        gap: 6px;
        padding: 0 8px;
        margin-top: 3px;
    }
    .slide-yuanchuangquan-v6 .v6-brand-btn {
        width: clamp(72px, 11vw, 110px);
        height: 34px;
        font-size: 13px;
    }
}

/* 响应式：横向/超矮屏（手机横屏、窗口压扁）防溢出，LOGO 与文字仍严格分层 */
@media (max-height: 560px) {
    .slide-yuanchuangquan-v6 .v6-layout {
        padding-top: calc(var(--nav-height) + 2px);
        padding-bottom: 6px;
        justify-content: center;
    }
    .slide-yuanchuangquan-v6 .v6-title {
        font-size: clamp(16px, 2.6vh, 24px);
        margin-bottom: 5px;
        letter-spacing: 2px;
    }
    .slide-yuanchuangquan-v6 .v6-subtitle {
        font-size: clamp(11px, 1.8vh, 15px);
    }
    .slide-yuanchuangquan-v6 .v6-buffer-top {
        height: clamp(14px, 2.6vh, 24px);
    }
    .slide-yuanchuangquan-v6 .v6-logo {
        width: clamp(92px, 17vmin, 170px);
        max-width: 40vh;
    }
    .slide-yuanchuangquan-v6 .v6-buffer-bottom {
        height: clamp(14px, 3vh, 26px);
    }
    .slide-yuanchuangquan-v6 .v6-desc {
        padding: 0 10%;
        line-height: 1.5;
        font-size: clamp(10px, 1.6vh, 13px);
    }
    .slide-yuanchuangquan-v6 .v6-cta {
        padding: 6px 16px;
        font-size: 12px;
    }
    .slide-yuanchuangquan-v6 .v6-brand-bar {
        gap: 5px;
        padding: 0 6px;
    }
    .slide-yuanchuangquan-v6 .v6-brand-btn {
        height: 28px;
        font-size: 11px;
    }
}


/* ===== 2.1.3-r3：轮播全局标准化（等高 + 防溢出） ===== */
/* 1. hero 区固定全屏等高：所有 slide 同一高度，消除长短不一 */
.hero-section {
    height: calc(100svh - var(--nav-height));
    min-height: calc(100svh - var(--nav-height));
    max-height: calc(100svh - var(--nav-height));
    overflow: hidden;
}
@supports not (height: 100svh) {
    .hero-section {
        height: calc(100vh - var(--nav-height));
        min-height: calc(100vh - var(--nav-height));
        max-height: calc(100vh - var(--nav-height));
    }
}
.hero-section .carousel,
.hero-section .carousel-track,
.hero-section .carousel-slide { height: 100%; }
.hero-section .carousel-slide { overflow: hidden; }
/* 2. v6 缘创圈页：标题自适应容器宽度，长词强制换行不溢出；logo 水平居中 */
.slide-yuanchuangquan-v6 .v6-layout { max-width: 100%; }
.slide-yuanchuangquan-v6 .v6-title,
.slide-yuanchuangquan-v6 .v6-subtitle,
.slide-yuanchuangquan-v6 .v6-desc {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}
.slide-yuanchuangquan-v6 .v6-title-line1,
.slide-yuanchuangquan-v6 .v6-title-line2 {
    display: block;
    max-width: 100%;
    white-space: normal;
    font-size: clamp(20px, 4.2vw, 44px);
    line-height: 1.35;
}
.slide-yuanchuangquan-v6 .v6-subtitle { font-size: clamp(13px, 1.8vw, 20px); }
.slide-yuanchuangquan-v6 .v6-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.slide-yuanchuangquan-v6 .v6-logo { margin-left: auto; margin-right: auto; }

/* ===== 素材库三层结构弹窗（2026-08-01 升级） ===== */
.ac-art-modal{position:fixed;inset:0;background:rgba(20,30,48,.55);display:flex;align-items:flex-start;justify-content:center;z-index:9999;padding:40px 12px;overflow:auto;}
.ac-art-modal-box{background:#fff;border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.28);max-width:980px;width:100%;max-height:92vh;display:flex;flex-direction:column;overflow:hidden;}
.ac-art-modal-hd{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #eef1f6;background:linear-gradient(180deg,#f7f9fc,#fff);}
.ac-art-modal-hd h4{margin:0;font-size:16px;color:#1F4E79;}
.ac-art-modal-src{display:block;font-size:11px;color:#7a8aa3;margin-top:3px;}
.ac-art-modal-close{border:none;background:#eef1f6;width:30px;height:30px;border-radius:8px;font-size:20px;line-height:1;cursor:pointer;color:#3D5170;}
.ac-art-modal-close:hover{background:#e2e8f2;}
.ac-art-modal-body{padding:16px 18px;overflow:auto;}

.ac-ml-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px;}
.ac-lib-sel{padding:7px 10px;border:1px solid #d4dcea;border-radius:8px;font-size:13px;background:#fff;}
.ac-lib-kw{flex:1;min-width:140px;padding:7px 10px;border:1px solid #d4dcea;border-radius:8px;font-size:13px;}
.ac-ml-bulkbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:#f4f7fc;border:1px solid #e3e9f3;border-radius:10px;padding:8px 10px;margin-bottom:12px;}
.ac-ml-sep{width:1px;height:20px;background:#d4dcea;margin:0 2px;}
.ac-ml-selinfo{margin-left:auto;font-size:12px;color:#3D5170;}

.ac-btn-sm{display:inline-block;padding:6px 12px;border:1px solid #cdd6e4;background:#fff;color:#2F3F58;border-radius:8px;font-size:12.5px;cursor:pointer;line-height:1.2;white-space:nowrap;}
.ac-btn-sm:hover{background:#eef3fb;}
.ac-btn-primary{background:#07C160;color:#fff;border-color:#07C160;}
.ac-btn-primary:hover{background:#06ad56;}
.ac-btn-ghost{background:#f3f6fb;color:#5a6b85;}
.ac-btn-danger{background:#fff;color:#e0483a;border-color:#f3c2bd;}
.ac-btn-danger:hover{background:#fdecea;}

.ac-ml-topic{border:1px solid #e6eaf2;border-radius:10px;margin-bottom:10px;overflow:hidden;}
.ac-ml-topic-hd{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f7f9fc;flex-wrap:wrap;}
.ac-ml-topic-name{font-weight:600;color:#1F4E79;font-size:14px;max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ac-ml-topic-cnt{font-size:12px;color:#5a6b85;}
.ac-ml-topic-hd .ac-btn-sm{margin-left:auto;}
.ac-ml-topic-hd .ac-btn-danger{margin-left:0;}

.ac-ml-items{list-style:none;margin:0;padding:6px 10px;}
.ac-ml-item{display:flex;align-items:center;gap:10px;padding:8px 6px;border-bottom:1px dashed #eef1f6;flex-wrap:wrap;}
.ac-ml-item:last-child{border-bottom:none;}
.ac-ml-seq{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11px;color:#8a6d3b;background:#fbf3e2;border:1px solid #f0e0c0;border-radius:5px;padding:1px 6px;min-width:54px;text-align:center;}
.ac-ml-seq-none{color:#9aa6b8;background:#f3f6fb;border-color:#e3e9f3;}
.ac-ml-title{flex:1;min-width:160px;font-size:13.5px;color:#2F3F58;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ac-ml-acts{display:flex;gap:4px;flex-wrap:wrap;}
.ac-ml-badge{font-size:11px;padding:2px 8px;border-radius:10px;white-space:nowrap;}
.ac-ml-badge.pending{background:#fff4e5;color:#b9770a;}
.ac-ml-badge.mid{background:#e7f0ff;color:#2B6DA6;}
.ac-ml-badge.done{background:#e6f7ee;color:#07a050;}
.ac-ml-badge.final{background:#fdeaec;color:#c0313f;}
.ac-ml-imgstat{display:inline-flex;gap:3px;font-size:10px;font-family:ui-monospace,Menlo,Consolas,monospace;}
.ac-ml-imgok{background:#e6f7ee;color:#07a050;border:1px solid #bfe9cf;border-radius:4px;padding:0 5px;line-height:16px;}
.ac-ml-imgno{background:#fdecec;color:#d2493f;border:1px solid #f3c9c6;border-radius:4px;padding:0 5px;line-height:16px;}
.ac-ml-backfill-list{list-style:none;margin:8px 0 0;padding:8px 10px;background:#fbfcfe;border:1px solid #eef1f6;border-radius:8px;max-height:260px;overflow:auto;font-size:12.5px;color:#3D5170;}
.ac-ml-backfill-list li{padding:3px 0;line-height:1.6;word-break:break-all;}
.ac-ml-backfill-list code,.ac-art-modal-body code{font-family:ui-monospace,Menlo,Consolas,monospace;background:#f3f6fb;border:1px solid #e3e9f3;border-radius:4px;padding:0 4px;color:#2B6DA6;}

.ac-ml-cap{width:100%;background:#fbfcfe;border:1px solid #eef1f6;border-radius:8px;padding:8px 10px;margin-top:4px;font-size:12px;color:#3D5170;}
.ac-ml-cap-row{padding:2px 0;}

.ac-ml-progress{margin-bottom:12px;}
.ac-ml-progress-bar{height:10px;background:#eef1f6;border-radius:6px;overflow:hidden;}
.ac-ml-progress-fill{height:100%;width:0;background:linear-gradient(90deg,#07C160,#1F8B4C);transition:width .2s;}
.ac-ml-progress-text{font-size:12px;color:#3D5170;margin-top:5px;}
.ac-empty{padding:24px;text-align:center;color:#8a98ad;font-size:13px;}
.ac-ml-loading{padding:10px;color:#8a98ad;font-size:12px;}
