/* ══════════════════════════════════════════
   全局变量 & 基础重置
══════════════════════════════════════════ */
:root {
    --ink: #0f1117;
    --ink-soft: #4a4f5e;
    --ink-mute: #9299a8;
    --surface: #f5f6f8;
    --white: #ffffff;
    --accent: #1a6ef5;
    --accent-2: #0d4fc2;
    --vip: #f59e0b;
    --free: #10b981;
    --paid: #ef4444;
    --border: #e8eaef;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 2px 12px rgba(15, 17, 23, .07);
    --shadow-lg: 0 8px 32px rgba(15, 17, 23, .13);
    --font-sans: 'Noto Sans SC', sans-serif;
    --font-mono: 'Space Mono', monospace;
    /* 字体尺寸基准上调 */
    --fs-xs: 13px;
    --fs-sm: 15px;
    --fs-base: 14px;
    --fs-md: 18px;
    --fs-lg: 20px;
    --fs-xl: 24px;
    --fs-2xl: 32px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    /*font-family: Helvetica Neue, Helvetica, PingFang SC, \5FAE\8F6F\96C5\9ED1, Tahoma, Arial, sans-serif;*/
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Roboto, sans-serif;
    /*font-family: 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;*/
    background: var(--surface);
    color: var(--ink);
    font-size: var(--fs-base);
    line-height: 1.65;
    /* 抗锯齿，1080P屏幕小字不发灰 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    /*transition: color .15s;*/
}

a:hover {
    /*color: var(--accent);*/
}

img {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
}

pre {
    margin: 0;
    padding: 1.25rem;
    background: #f6f8fa;
    color: #24292e;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre;
}

/* 数字、价格、代码区域用等宽字体 Space Mono */
.price,
.code,
.num-text {
    font-family: "Space Mono", monospace;
}

/*修复layui*/
.layui-layer-btn a {
    box-sizing: content-box;
}

/* ══════════════════════════════════════════
   导航栏 —— 一级
══════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(15, 17, 23, .06);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 28px;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Space Mono', monospace;
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
}

.logo-img {
    height: 34px;
}

.logo-text {
    display: none;
}

/* ── 一级导航 ── */
.main-nav {
    display: flex;
    align-items: stretch;
    gap: 32px;
    margin-left: 120px;
    flex: 1;
    height: 64px;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item>a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 15px;
    height: 100%;
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    border-radius: 0;
    white-space: nowrap;
    transition: color .18s;
    position: relative;
    font-weight: bold;
}

.nav-item>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--accent);
    transition: left .2s, right .2s;
    border-radius: 2px 2px 0 0;
}

.nav-item:hover>a,
.nav-item.active>a {
    color: var(--accent);
}

.nav-item:hover>a::after,
.nav-item.active>a::after {
    left: 12px;
    right: 12px;
}

.nav-arrow {
    width: 12px;
    height: 12px;
    margin-left: 1px;
    transition: transform .2s;
    flex-shrink: 0;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

.badge-new {
    background: var(--paid);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    font-family: 'Space Mono', monospace;
    margin-left: 2px;
}

/* ── 二级下拉菜单 ── */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 300;
}

/* 宽下拉（多列） */
.dropdown.wide {
    min-width: 480px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 16px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-group {
    margin-bottom: 4px;
}

.dropdown-group-title {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 14px 4px;
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 9px 14px;
    color: var(--ink-soft);
    border-radius: 7px;
    transition: background .15s, color .15s;
}

.dropdown a:hover {
    background: rgba(26, 110, 245, .08);
    color: var(--accent);
}

.dropdown a .dd-icon {
    font-size: 17px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.dropdown.wide .dropdown-col {
    padding: 0 6px;
}

.dropdown.wide .dropdown-col:not(:last-child) {
    border-right: 1px solid var(--border);
    margin-right: 6px;
    padding-right: 12px;
}

/* 普通单列下拉 */
.dropdown:not(.wide) a {
    padding: 10px 18px;
}

/* ── Header 右侧操作区 ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    flex-shrink: 0;
}

.btn-vip {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    cursor: pointer;
    transition: opacity .18s;
    font-family: 'Noto Sans SC', sans-serif;
    white-space: nowrap;
}

.btn-vip:hover {
    opacity: .88;
    color: #fff;
}

.icon-btn {
    /* width: 35px; height: 35px; border-radius: 6px; border: 1px solid var(--border); background: var(--white);*/
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .18s;
    color: var(--ink-soft);
}

.icon-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ==========================================================================
   💎 极致美化：导航下拉轻量级搜索框 (高端白商务风)
   ========================================================================== */
.pb-search-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    /* 双层高档弥散阴影，比单层阴影更柔和逼真 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 20px 40px -5px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    /* 采用流畅的缓动曲线 */
}

/* 展开状态 */
.pb-search-dropdown-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pb-search-dropdown-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

/* 搜索组外壳：采用超软的圆角与浅灰底色 */
.pb-dropdown-input-group {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px 6px 6px 18px;
    transition: all 0.3s ease;
}

.search-icon-box {
    color: #94a3b8;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.pb-dropdown-input-group input {
    flex: 1;
    border: none;
    background: none;
    padding: 12px 14px;
    font-size: 15px;
    color: #1e293b;
    outline: none;
    width: 100%;
    font-weight: 400;
}

.pb-dropdown-input-group input::placeholder {
    color: #94a3b8;
}

/* 💡 核心动效：聚焦时整体焕白，并扩散出高雅的黑灰色外边框微光 */
.pb-dropdown-input-group:focus-within {
    background: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.04);
}

.pb-dropdown-input-group:focus-within .search-icon-box {
    color: #0f172a;
}

/* 按钮美化：加入图标与平滑过渡 */
.pb-dropdown-submit-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.pb-dropdown-submit-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.pb-dropdown-submit-btn:hover {
    background: #1e293b;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* 悬停时箭头轻轻右移，拉满精致感 */
.pb-dropdown-submit-btn:hover i {
    transform: translateX(2px);
}

/* ==========================================================================
   🎛️ 附加栏高级重构（单选和标签）
   ========================================================================== */
.pb-search-dropdown-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding: 0 4px;
}

/* 胶囊分段选择器：彻底隐藏原生单选框 */
.pb-search-segments {
    display: flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
}

.segment-item {
    cursor: pointer;
}

.segment-item input[type="radio"] {
    display: none;
    /* 隐藏丑陋的圆圈 */
}

.segment-trigger {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* 选中后的高级白卡片视觉 */
.segment-item input[type="radio"]:checked+.segment-trigger {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

/* 极简热搜标签组 */
.pb-search-quick-tags {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pb-search-quick-tags .tag-title {
    color: #64748b;
    font-weight: 500;
}

.tag-list {
    display: flex;
    gap: 6px;
}

.tag-list a {
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.18s ease;
}

.tag-list a:hover {
    background: #ffffff;
    border-color: #0f172a;
    color: #0f172a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   📱 移动端精细打磨
   ========================================================================== */
@media (max-width:768px) {
    .pb-search-dropdown-wrapper {
        padding: 16px 14px;
    }

    .pb-dropdown-input-group {
        padding: 4px 4px 4px 12px;
        border-radius: 10px;
    }

    .pb-dropdown-input-group input {
        font-size: 14px;
        padding: 8px 6px;
    }

    .pb-dropdown-submit-btn {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 6px;
    }

    .pb-search-dropdown-meta {
        flex-direction: column;
        align-items: stretch;
        /* 撑满 */
        gap: 14px;
        margin-top: 14px;
    }

    .pb-search-segments {
        width: 100%;
        justify-content: space-between;
    }

    .segment-item {
        flex: 1;
        text-align: center;
    }

    .segment-trigger {
        width: 100%;
        padding: 6px 0;
    }

    .pb-search-quick-tags {
        flex-direction: row;
        align-items: center;
    }

    .tag-list {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   👑 导航栏用户登录态下拉卡片优化样式
   ========================================================================== */

/* 2. 下拉气泡卡片定位核心 */
.pb-user-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

/* 3. 下拉菜单本体 (默认隐藏) */
.pb-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

/* 4. 触发 Hover 机制（按钮到菜单之间有不可见的桥接保护，防止滑出鼠标断掉） */
.pb-user-dropdown-wrapper::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 15px;
}

.pb-user-dropdown-wrapper:hover .pb-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/*.pb-user-dropdown-wrapper:hover .btn-login .icon-arrow { transform: rotate(180deg); }*/

/* 5. 下拉菜单头部细节 */
.pb-dropdown-header {
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(249, 250, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.pb-user-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.pb-user-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}

/* 会员等级标签样式 */
.pb-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
}

/* 普通会员标签 */
.pb-vip-badge.badge-normal {
    background-color: #f3f4f6;
    color: #6b7280;
}

/* VIP 会员标签 (金黄高级质感) */
.pb-vip-badge.badge-vip {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    box-shadow: 0 1px 2px rgba(217, 119, 6, 0.1);
}

.pb-vip-expiry {
    font-size: 12px;
}

.pb-vip-expiry .text-muted {
    color: #9ca3af;
}

.pb-vip-expiry .expiry-label {
    color: #6b7280;
}

.pb-vip-expiry .expiry-date {
    color: #ef4444;
    font-weight: 500;
}

/* 分割线 */
.pb-dropdown-divider {
    height: 1px;
    background-color: #f3f4f6;
    margin: 0;
}

/* 6. 功能链接区域 */
.pb-dropdown-links {
    padding: 8px;
}

.pb-dropdown-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #4b5563;
    font-size: 13px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.pb-dropdown-links a i {
    width: 14px;
    font-size: 14px;
    color: #9ca3af;
    text-align: center;
}

.pb-dropdown-links a:hover {
    background-color: #f9fafb;
    color: #111827;
}

.pb-dropdown-links a:hover i {
    color: #4b5563;
}

/* 升级按钮特调高亮 */
.pb-dropdown-links a.highlight-link {
    color: #b45309;
    font-weight: 500;
}

.pb-dropdown-links a.highlight-link i {
    color: #d97706;
}

.pb-dropdown-links a.highlight-link:hover {
    background-color: #fffbeb;
}

/* 7. 下拉底部退出登录 */
.pb-dropdown-footer {
    padding: 6px 8px;
    background-color: #fafafa;
}

.pb-btn-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #9ca3af;
    font-size: 13px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.pb-btn-logout:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

/* ══════════════════════════════════════════
   移动端汉堡按钮 & 抽屉
══════════════════════════════════════════ */
.mobile-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 9px;
}

.mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink-soft);
    border-radius: 2px;
    transition: all .25s;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
    position: fixed;
    inset: 64px 0 0 0;
    z-index: 199;
    background: var(--white);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    border-top: 1px solid var(--border);
    display: none;
}

.mobile-drawer.open {
    transform: translateX(0);
    display: block;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 64px 0 0 0;
    z-index: 198;
    background: rgba(15, 17, 23, .4);
}

.mobile-overlay.open {
    display: block;
}

/* 移动抽屉内导航 */
.m-nav {
    list-style: none;
}

.m-nav-item {}

.m-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: var(--fs-sm);
    color: var(--ink);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-weight: 500;
}

.m-nav-top.active {
    color: var(--accent);
}

.m-nav-top .m-arrow {
    width: 14px;
    height: 14px;
    color: var(--ink-mute);
    transition: transform .22s;
}

.m-nav-item.open .m-arrow {
    transform: rotate(90deg);
}

.m-sub {
    display: none;
    background: var(--surface);
    padding: 6px 0;
}

.m-sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 28px;
    /*font-size: var(--fs-sm);*/
    color: var(--ink-soft);
    border-bottom: 1px solid rgba(232, 234, 239, .6);
}

.m-sub a:last-child {
    border-bottom: none;
}

.m-sub a:hover {
    color: var(--accent);
    background: rgba(26, 110, 245, .05);
}

.m-sub a .dd-icon {
    font-size: 16px;
    width: 24px;
    text-align: center;
}

.m-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.m-drawer-footer .btn-vip {
    width: 100%;
    display: block;
    text-align: center;
    padding: 13px;
    font-size: var(--fs-md);
    border-radius: 10px;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
    max-width: 1400px;
    margin: 28px auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 16px;
}

.hero-main {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-height: 210px;
}

.hero-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(26, 110, 245, .25) 0%, transparent 70%);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(26, 110, 245, .2);
    border: 1px solid rgba(26, 110, 245, .4);
    color: #7eb8ff;
    font-size: var(--fs-sm);
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
    position: relative;
}

.hero-main h1 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: white;
    line-height: 1.25;
    margin-bottom: 12px;
    position: relative;
}

.hero-main p {
    color: rgba(255, 255, 255, .65);
    font-size: var(--fs-sm);
    margin-bottom: 24px;
    position: relative;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--accent);
    color: white;
    border-radius: 9px;
    padding: 11px 24px;
    font-size: var(--fs-sm);
    font-weight: 600;
    transition: all .2s;
    width: fit-content;
    position: relative;
}

.btn-primary:hover {
    /*background: var(--accent-2);*/
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 110, 245, .35);
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-card {
    border-radius: 13px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-card.accent-card {
    background: linear-gradient(135deg, #1a6ef5, #0d4fc2);
    border: none;
    color: white;
}

.hero-card h3 {
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: 7px;
}

.hero-card p {
    opacity: .75;
}

/* ══════════════════════════════════════════
   公告栏
══════════════════════════════════════════ */
/* 外层大容器，左右布局 */
.home-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f4f6f9;
    /* 匹配参考图的浅灰背景色 */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 28px;
    padding: 0 28px;
}

/* 左侧胶囊状公告栏 */
.notice-bar {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    /* 胶囊圆角 */
    padding: 12px 20px;
    flex: 1;
    /* 占据左侧剩余空间 */
    max-width: 65%;
    /* 限制最大宽度，给右侧留空间 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    gap: 14px;
}

/* 公告标签前缀 */
.notice-label {
    background: var(--accent);
    color: white;
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 5px;
    white-space: nowrap;
}

.notice-icon {
    margin-right: 6px;
    font-size: 16px;
}

.notice-divider {
    color: #e2e2e2;
    margin: 0 15px;
    font-size: 14px;
}

/* 垂直滚动外层视口 */
.notice-scroll-vertical {
    flex: 1;
    height: 24px;
    /* 必须固定高度 */
    overflow: hidden;
    /* 隐藏超出部分 */
    position: relative;
}

/* 滚动列表动画 */
.scroll-list {
    margin: 0;
    padding: 0;
    list-style: none;
    /* 假设展示 3 条数据 + 1 条首尾相接数据，动画分为 3 步 */
    animation: scrollVertical 9s infinite cubic-bezier(0.2, 0, 0.2, 1);
}

.scroll-list li {
    height: 24px;
    line-height: 24px;
    color: #555555;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 文字超长显示省略号 */
    display: flex;
    justify-content: space-between;
}

.scroll-list li span {
    color: #999999;
    font-size: 14px;
}

/* 日期文本 */
.notice-date {
    color: #999999;
    font-size: 14px;
    margin-left: 20px;
    white-space: nowrap;
}

/* 右侧特色标语容器 */
.ad-features {
    display: flex;
    align-items: center;
    gap: 30px;
    /* 调整间距以匹配图片 */
    margin-left: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 圆形线框文字图标 */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid #777;
    border-radius: 50%;
    color: #777;
    font-size: 12px;
}

.feature-text {
    color: #666;
    font-size: 15px;
}

/* 垂直滚动关键帧动画 (基于 24px 行高) */
@keyframes scrollVertical {

    0%,
    25% {
        transform: translateY(0);
    }

    /* 停留在第1条 */
    33%,
    58% {
        transform: translateY(-24px);
    }

    /* 停留在第2条 */
    66%,
    91% {
        transform: translateY(-48px);
    }

    /* 停留在第3条 */
    100% {
        transform: translateY(-72px);
    }

    /* 滑动到第4条(即第1条的复制)，准备重置 */
}

@media (max-width:640px) {
    .home-notice {
        padding: 10px 16px;
        margin-bottom: 20px;
        max-width: 100%;
        display: none;
    }

    .notice-inner {
        gap: 10px;
        padding: 8px 12px;
    }

    .notice-list {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .notice-label {
        font-size: var(--fs-xs);
    }
}



/* ══════════════════════════════════════════
   通用 Section
══════════════════════════════════════════ */
.section {
    max-width: 1400px;
    margin: 0 auto 44px;
    padding: 0 28px;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--ink);
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 22px;
    background: var(--accent);
    border-radius: 2px;
}

.section-sub {
    font-size: var(--fs-sm);
    color: var(--ink-mute);
    font-weight: 400;
    margin-left: 6px;
}

.section-more {
    font-size: var(--fs-sm);
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap .18s;
}

.section-more:hover {
    gap: 8px;
}

/* ── Tabs ── */
.tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.tab {
    padding: 7px 18px;
    border-radius: 7px;
    border: 1px solid var(--border);
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    cursor: pointer;
    background: var(--white);
    transition: all .15s;
}

.tab.active,
.tab:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ══════════════════════════════════════════
   模板卡片
══════════════════════════════════════════ */
.tpl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tpl-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all .22s;
}

.tpl-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 110, 245, .3);
}

.tpl-thumb {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--surface);
}

.tpl-thumb .thumb-placeholder {
    padding: 0;
    border-radius: 8px 8px 0 0;
}

.tpl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
    /* border-top-left-radius: var(--radius);border-top-right-radius: var(--radius);*/
}

/*.tpl-card:hover .tpl-thumb img { transform: scale(1.04); }*/
.tpl-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 23, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity .22s;
}

.tpl-card:hover .tpl-thumb-overlay {
    opacity: 1;
}

.overlay-btn {
    background: rgba(255, 255, 255, .95);
    color: var(--ink) !important;
    border-radius: 7px;
    padding: 7px 16px;
    font-size: var(--fs-sm);
    font-weight: 600;
    transition: all .2s;
}

.btn-yanshi {
    background: var(--accent);
    color: white !important;
}

.overlay-btn:hover {
    transform: translateY(-3px);
}

.tpl-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 5px;
    line-height: 1.5;
}

.badge-free {
    background: var(--free);
    color: white;
}

.badge-vip {
    background: var(--vip);
    color: white;
}

.badge-price {
    background: var(--paid);
    color: white;
}

.tpl-meta {
    display: block;
    padding: 13px 15px 15px;
}

.tpl-type {
    font-size: var(--fs-xs);
    color: var(--ink-mute);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tpl-type::before {
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ink-mute);
}

.tpl-name {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tpl-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--fs-xs);
    color: var(--ink-mute);
}

.tpl-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tpl-views svg {
    width: 14px;
    height: 14px;
}

/* ══════════════════════════════════════════
   服务市场卡片
══════════════════════════════════════════ */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.svc-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all .22s;
    cursor: pointer;
}

.svc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.svc-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--surface);
}

.svc-thumb .thumb-placeholder {
    width: 100%;
    height: 100%;
}

.svc-body {
    padding: 15px;
}

.svc-price {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--paid);
    margin-bottom: 7px;
}

.svc-price span {
    font-size: var(--fs-sm);
    font-weight: 400;
    color: var(--ink-mute);
    margin-left: 2px;
}

.svc-title {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 7px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-desc {
    font-size: var(--fs-xs);
    color: var(--ink-mute);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 11px;
}

.svc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--fs-xs);
    color: var(--ink-mute);
}

.svc-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--vip);
    font-weight: 600;
}

/* ══════════════════════════════════════════
   知识中心
══════════════════════════════════════════ */
.know-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.know-card {
    border-radius: var(--radius);
    min-width: 0;
}

.know-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.know-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.know-icon.purple {
    background: rgba(139, 92, 246, .1);
}

.know-icon.green {
    background: rgba(16, 185, 129, .1);
}

.know-icon.orange {
    background: rgba(245, 158, 11, .1);
}

.know-title {
    font-size: var(--fs-md);
    color: var(--ink);
}

.know-list {
    list-style: none;
}

.know-list li {
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 6px;
}

/* 模块1 - 蓝色主题 */
.know-card:nth-child(1) .know-list li {
    background-image: linear-gradient(90deg, rgba(32, 89, 245, 0.1) 0%, rgba(76, 86, 240, 0) 100%);
}

/* 模块2 - 绿色主题 */
.know-card:nth-child(2) .know-list li {
    background-image: linear-gradient(90deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0) 100%);
}

/* 模块3 - 琥珀色主题 */
.know-card:nth-child(3) .know-list li {
    background-image: linear-gradient(90deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0) 100%);
}

/* 模块4 - 紫色主题 */
.know-card:nth-child(4) .know-list li {
    background-image: linear-gradient(90deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0) 100%);
}

.know-list li:last-child {
    border-bottom: none;
    padding-bottom: 8px;
    margin-bottom: 0;
}

.know-list a {
    color: var(--ink-soft);
    display: block;
    transition: color .15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    /* 依赖父容器宽度，确保 know-card 有 min-width: 0 */
}

.know-list a:hover {
    color: var(--accent);
}

/* ══════════════════════════════════════════
   占位缩略图
══════════════════════════════════════════ */
.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--ink-mute);
    font-size: var(--fs-xs);
    padding: 10px;
    background: #fff;
}

.fake-browser {
    width: 78%;
    border-radius: 5px;
    border: 1.5px solid var(--border);
    background: var(--white);
    padding: 5px;
}

.fake-browser::before {
    content: '● ● ●';
    display: block;
    font-size: 8px;
    color: var(--border);
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.fake-line {
    height: 5px;
    background: var(--border);
    border-radius: 2px;
    margin-bottom: 3px;
}

.fake-line.short {
    width: 60%;
}

.bg-1 {
    background: linear-gradient(135deg, #e0eaff, #cfe0ff);
}

.bg-2 {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.bg-3 {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.bg-4 {
    background: linear-gradient(135deg, #fee2e2, #fca5a5);
}

.bg-5 {
    background: linear-gradient(135deg, #ede9fe, #c4b5fd);
}

.bg-6 {
    background: linear-gradient(135deg, #f0f9ff, #bae6fd);
}

.bg-7 {
    background: linear-gradient(135deg, #fdf2f8, #fbcfe8);
}

.bg-8 {
    background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
}

/* ══════════════════════════════════════════
   更多按钮
══════════════════════════════════════════ */
.btn-more {
    display: table;
    /*align-items: center;
    justify-content: center;*/
    margin: 24px auto 0;
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--ink-soft);
    border-radius: 9px;
    padding: 11px 36px;
    font-size: var(--fs-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    gap: 6px;
}

.btn-more:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ══════════════════════════════════════════
   CTA 横幅
══════════════════════════════════════════ */
.cta-band {
    background: linear-gradient(135deg, #1a6ef5 0%, #0d4fc2 100%);
    padding: 60px 28px;
    text-align: center;
}

.cta-band h2 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.cta-band p {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, .72);
    margin-bottom: 26px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: white;
    color: var(--accent);
    border-radius: 9px;
    padding: 13px 30px;
    font-size: var(--fs-md);
    font-weight: 700;
    transition: all .2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
}

/* ══════════════════════════════════════════
   Footer
══════════════════════════════════════════ */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .5);
}

.site-footer .container {
    margin: 0 auto;
}

.footer-top {
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 36px;
}

.footer-brand .logo {
    font-family: emoji;
    color: white;
    margin-bottom: 13px;
}

.footer-brand p {
    font-size: var(--fs-sm);
    line-height: 1.75;
    max-width: 230px;
}

.footer-col h4 {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: white;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 9px;
}

.footer-col a {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, .45);
    transition: color .15s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ══════════════════════════════════════════
   悬浮侧边栏
══════════════════════════════════════════ */
/* 侧边栏基础定位 */
.float-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

/* 基础按钮样式 */
.float-btn {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    /* 关键：用于定位内部的提示框 */
}

.float-btn:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

/* === 悬浮提示框核心样式 === */
.float-tip {
    position: absolute;
    right: 60px;
    /* 出现在按钮左侧 */
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    /* 初始状态稍微向右偏移 */
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    white-space: nowrap;

    /* 隐藏与动画控制 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* 隐藏时不阻挡鼠标事件 */
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: -1;
}

/* 鼠标悬停在按钮上时显示 */
.float-btn.has-tip:hover .float-tip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* 显示时允许鼠标交互（如点击QQ咨询按钮） */
    transform: translateY(-50%) translateX(0);
    /* 归位 */
    z-index: 10;
}

/* 提示框右侧的小三角（可选装饰） */
.float-tip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

/* === 微信二维码样式 === */
.wechat-tip {
    width: 140px;
}

.wechat-tip .tip-title {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
    text-align: center;
    font-weight: bold;
}

.wechat-tip img {
    width: 140px;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* === QQ信息面板样式 === */
.qq-tip {
    white-space: normal;
    /* 允许内容换行 */
    width: 180px;
    text-align: center;
}

.qq-tip .tip-title {
    margin: 0 0 8px;
    font-size: 15px;
    color: #12b7f5;
    font-weight: bold;
}

.qq-tip .tip-time {
    margin: 0 0 5px;
    font-size: 12px;
    color: #888;
}

.qq-tip .tip-btn {
    display: block;
    background: #12b7f5;
    color: #fff;
    padding: 8px 0;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.qq-tip .tip-btn:hover {
    background: #0d9fd6;
}

/* ══════════════════════════════════════════
   动画
══════════════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeUp .45s ease both;
}

.delay-1 {
    animation-delay: .08s;
}

.delay-2 {
    animation-delay: .16s;
}

.delay-3 {
    animation-delay: .24s;
}

/* ══════════════════════════════════════════
   响应式 —— Tablet ≤ 1100px
══════════════════════════════════════════ */
@media (max-width:1100px) {
    .tpl-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .know-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .hero {
        grid-template-columns: 1fr 300px;
    }

    .dropdown.wide {
        min-width: 380px;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ══════════════════════════════════════════
   响应式 —— Mobile ≤ 768px
══════════════════════════════════════════ */
@media (max-width:768px) {
    .main-nav {
        display: none;
    }

    .icon-btn {
        display: none;
    }

    .btn-vip2 {
        display: none;
    }

    .header-actions {
        gap: 10px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-inner {
        padding: 0 16px;
        gap: 12px;
        height: 60px;
    }

    .mobile-drawer {
        inset: 60px 0 0 0;
    }

    .mobile-overlay {
        inset: 60px 0 0 0;
    }

    .hero {
        grid-template-columns: 1fr;
        margin: 16px auto;
        padding: 0 16px;
        gap: 12px;
    }

    .hero-main {
        padding: 30px 26px;
        min-height: 190px;
    }

    .hero-main h1 {
        font-size: var(--fs-xl);
    }

    .hero-side {
        flex-direction: row;
    }

    .hero-card {
        padding: 16px 18px;
    }

    .hero-card h3 {
        font-size: var(--fs-sm);
    }

    .section {
        padding: 0 16px;
        margin-bottom: 30px;
    }

    .tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .tpl-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .know-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .float-sidebar {
        display: none;
    }

    .footer-top {
        padding: 28px 16px;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
        text-align: center;
        padding: 16px;
    }

    .cta-band {
        padding: 44px 20px;
    }

    .cta-band h2 {
        font-size: var(--fs-lg);
    }

    .btn-more {
        width: 100%;
    }

    /* 移动端卡片常驻操作层 */
    .tpl-thumb-overlay {
        /*opacity: 1;*/
        /*background: rgba(15, 17, 23, .28);*/
    }

    .overlay-btn {
        padding: 6px 12px;
        font-size: var(--fs-xs);
    }
}

/* ══════════════════════════════════════════
   响应式 —— Small Mobile ≤ 480px
══════════════════════════════════════════ */
@media (max-width:480px) {
    .logo-text {
        display: none;
    }

    .hero-side {
        flex-direction: column;
        gap: 10px;
    }

    .hero-main {
        padding: 24px 18px;
    }

    .hero-main h1 {
        font-size: var(--fs-lg);
    }

    .svc-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand p {
        display: none;
    }

    .know-card {
        padding: 15px;
    }

    .tpl-grid {
        /*grid-template-columns: repeat(1, 1fr);*/
    }
}

.footer-notice {
    padding: 15px 0;
    font-size: var(--fs-xs);
}

.footer-links {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: var(--fs-xs);
}

.footer-links a {
    margin-right: 10px;
}

.footer-links a:hover {
    color: #fff;
}

/* --- Header中的登录按钮 --- */
.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 5px 10px;
    border-radius: 6px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    color: #2d3748;
}

.btn-login .icon-user {
    color: #718096;
}

/* --- 弹窗遮罩与外层 --- */
.auth-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.auth-modal-wrapper.show {
    opacity: 1;
    pointer-events: auto;
}

.auth-modal-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    /* 磨砂玻璃背景 */
}

/* --- 弹窗主容器 --- */
.auth-modal-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 32px;
    box-sizing: border-box;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2001;
}

.auth-modal-wrapper.show .auth-modal-container {
    transform: scale(1);
}

/* 关闭按钮 */
.auth-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s;
}

.auth-close-btn:hover {
    background: #f1f5f9;
    color: #334155;
}

/* --- 选项卡切换 --- */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab:hover {
    color: #0f172a;
}

.auth-tab.active {
    color: #2563eb;
    /* 激活颜色，可根据网站主题色修改 */
    border-bottom: 2px solid #2563eb;
    margin-bottom: -2px;
}

/* --- 表单内容 --- */
.auth-form-content {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.auth-form-content.active {
    display: flex;
    animation: fadeInForm 0.3s ease;
}

@keyframes fadeInForm {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

.form-group input {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.form-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* 表单小选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.remember-me {
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.forget-pwd {
    color: #2563eb;
    text-decoration: none;
}

.forget-pwd:hover {
    text-decoration: underline;
}

/* 提交按钮 */
.auth-submit-btn {
    margin-top: 8px;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-submit-btn:hover {
    background: #1d4ed8;
}

/*自己补充*/
.yzm-grid {
    display: flex;
    justify-content: space-between;
}

/* 会员中心专属隔离样式 */
.pb-member-container {
    width: 100%;
    background-color: #f8fafc;
    padding: 40px 0;
    /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;*/
    box-sizing: border-box;
}

.pb-member-container *,
.pb-member-container::after,
.pb-member-container::before {
    box-sizing: border-box;
}

.pb-member-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    gap: 24px;
}

/* 左侧侧边栏 */
.pb-member-sidebar {
    width: 280px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.pb-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.pb-avatar {
    width: 80px;
    height: 80px;
    background-color: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    overflow: hidden;
}

.pb-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-username {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.pb-group-name {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 12px;
    background-color: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    border-radius: 9999px;
    border: 1px solid #dbeafe;
}

/* 导航菜单 */
.pb-member-menu {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pb-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pb-menu-item i {
    width: 18px;
    text-align: center;
}

.pb-menu-item:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

.pb-menu-item.active {
    background-color: #eff6ff;
    color: #2563eb;
}

/* 右侧主内容 */
.pb-member-main {
    flex: 1;
}

.pb-tab-content {
    display: none;
}

.pb-tab-content.active {
    display: block;
}

/* 数据卡片 */
.pb-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.pb-stat-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pb-card-label {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    font-weight: 500;
}

.pb-card-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 4px 0 0 0;
}

.pb-card-value.value-date {
    font-size: 16px;
    margin-top: 8px;
}

.pb-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.icon-amber {
    background-color: #fffbeb;
    color: #d97706;
}

.icon-green {
    background-color: #f0fdf4;
    color: #16a34a;
}

.icon-purple {
    background-color: #faf5ff;
    color: #9333ea;
}

/* 提示看板 & 公共区块 */
.pb-notice-board,
#pb-tab-profile,
#pb-tab-password {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    padding: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.pb-block-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f8fafc;
}

.pb-block-title i {
    color: #2563eb;
    margin-right: 6px;
}

.pb-notice-content {
    background-color: #f0f9ff;
    border: 1px solid #e0f2fe;
    color: #0369a1;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}

/* 表单样式 */
.pb-member-form {
    max-width: 500px;
}

.pb-form-group {
    margin-bottom: 15px;
}

.pb-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 6px;
}

.pb-form-group input,
.pb-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    outline: none;
    transition: border-color 0.2s ease;
}

.pb-form-group input:focus,
.pb-form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.pb-btn-submit {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pb-btn-submit:hover {
    background-color: #1d4ed8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 15px;
}

@media (min-width: 576px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-control:disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.pb-form-group textarea {
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
    vertical-align: middle;
}

/* 邮箱验证组样式 */
.email-code-group {
    display: flex;
    gap: 10px;
}

.btn-send-code {
    padding: 0 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-send-code:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.btn-send-code:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* 头像上传特定样式 */
.avatar-uploader {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-preview-small {
    width: 56px;
    height: 56px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.avatar-preview-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-btn {
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.upload-btn:hover {
    background: #f9fafb;
}

/* 响应式适配 */
@media (max-width:768px) {
    .pb-member-wrapper {
        flex-direction: column;
    }

    .pb-member-sidebar {
        width: 100%;
    }

    .pb-card-grid {
        grid-template-columns: 1fr;
    }

    .btn-login {
        font-size: 0;
        border: none;
        gap: 0;
    }

    .btn-login .icon-user {
        width: 20px;
        height: 20px;
    }
}

/* 微调卡片值的文本大小（针对日期、IP等长文本，防止溢出或换行） */
.pb-card-value.value-text {
    font-size: 16px;
    margin-top: 8px;
    word-break: break-all;
    /* 防止长IP或特殊字符溢出 */
}

/* 新增卡片的图标背景色及图标颜色 */
.icon-red {
    background-color: #fef2f2;
    color: #dc2626;
}

.icon-blue {
    background-color: #f0f9ff;
    color: #0284c7;
}

.icon-dark {
    background-color: #f8fafc;
    color: #475569;
}

/* 响应式媒体查询微调 */
@media (max-width:1024px) and (min-width:769px) {

    /* 平板端将卡片改为两列，防止3列排不下 */
    .pb-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* VIP 套餐视窗 */
.pb-vip-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.pb-vip-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pb-vip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.pb-vip-card.featured {
    border: 2px solid #2563eb;
    background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
}

.pb-vip-badge {
    position: absolute;
    top: 12px;
    right: -30px;
    background: #e11d48;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 30px;
    transform: rotate(45deg);
}

.pb-vip-card.featured .pb-vip-badge {
    background: #2563eb;
}

.pb-vip-card h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #1e293b;
}

.pb-vip-price {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.pb-vip-price span {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
}

.pb-vip-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pb-vip-card ul li {
    font-size: 14px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pb-vip-card ul li i {
    color: #10b981;
}

.pb-btn-vip {
    display: block;
    text-align: center;
    background: #f1f5f9;
    color: #334155;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.pb-btn-vip:hover {
    background: #e2e8f0;
}

.pb-vip-card.featured .pb-btn-vip {
    background: #2563eb;
    color: #fff;
}

.pb-vip-card.featured .pb-btn-vip:hover {
    background: #1d4ed8;
}

/* 卡密兑换表单 */
.pb-card-activation {
    border-top: 1px dashed #e2e8f0;
    padding-top: 24px;
}

.pb-card-activation h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #334155;
}

.pb-card-activation form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.pb-card-activation input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.pb-card-activation button {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

/* 订单管理表格 */
.pb-table-responsive {
    width: 100%;
    overflow-x: auto;
}

/* ==========================================================================
   PB建站工作室 - 会员中心订单表高端白美化
   ========================================================================== */

/* 1. 表格容器与基础微调 */
.pb-order-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eef2f5;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

/* 2. 表头美化（加入微弱渐变与更商务的深灰色） */
.pb-order-table thead tr {
    background: linear-gradient(to bottom, #fafbfe, #f5f7fa);
}

.pb-order-table th {
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-align: left;
    border-bottom: 1px solid #eef2f5;
    letter-spacing: 0.5px;
}

/* 3. 单元格与行样式优化 */
.pb-order-table tbody tr {
    transition: all 0.2s ease;
}

/* 悬浮时整行亮起，并有极其微弱的向外扩散阴影，营造“纸质卡片”浮起感 */
.pb-order-table tbody tr:hover {
    background-color: #f8fafc !important;
}

.pb-order-table td {
    padding: 18px 20px;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

/* 让最后一行的边框完美收官，不破坏圆角 */
.pb-order-table tbody tr:last-child td {
    border-bottom: none;
}

/* 4. 商品标题与链接细化 */
.pb-order-table td a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pb-order-table td a:hover {
    color: #2563eb;
    /* 经典商务蓝 */
}

/* 5. 专属字段美化 */
/* 订单号使用等宽字体，看起来更严谨，神似大厂账单 */
.pb-order-table .font-mono {
    font-family: "SF Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 13px;
    color: #64748b;
}

/* 价格加粗加大 */
.pb-order-table .text-price {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

/* 6. 状态标签细化（增强呼吸感） */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

/* 已完成：高级低饱和度绿 */
.status-badge.badge-green {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* 待付款：高级低饱和度琥珀黄 */
.status-badge.badge-amber {
    background-color: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

/* 7. 操作按钮全面重塑 */
.table-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

/* “立即下载”按钮：从原本暗淡的灰色，升级为清爽精致的白底绿边，更符合高级质感 */
.table-btn.btn-view {
    background-color: #ffffff;
    border-color: #22c55e;
    color: #22c55e;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.05);
}

.table-btn.btn-view:hover {
    background-color: #22c55e;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

/* “去支付”按钮：保持醒目，但收敛高光，改用高级的渐变商务蓝 */
.table-btn.btn-pay {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff !important;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.table-btn.btn-pay:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

/* 订单状态/操作标签 */
.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.badge-green {
    background: #dcfce7;
    color: #15803d;
}

.badge-amber {
    background: #fef3c7;
    color: #b45309;
}

.table-btn {
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

.btn-pay {
    background: #2563eb;
    color: #fff;
}

.btn-pay:hover {
    background: #1d4ed8;
}

.btn-view {
    background: #f1f5f9;
    color: #475569;
}

/* 移动端适配 */
@media (max-width:640px) {
    .pb-vip-plans {
        grid-template-columns: 1fr;
    }
}

/* 新版 VIP 卡片网格 */
.pb-vip-plans-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.pb-vip-card-new {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pb-vip-card-new:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* 激活选中状态 */
.pb-vip-card-new.active {
    border-color: #2563eb;
    background: #f8fafc;
}

.pb-vip-badge-new {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.pb-card-select-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 18px;
    color: #cbd5e1;
    display: none;
    /* 默认隐藏，选中时显示 */
}

.pb-vip-card-new.active .pb-card-select-icon {
    display: block;
    color: #2563eb;
}

.pb-vip-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.pb-vip-price-new {
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
}

.pb-vip-price-new span {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.pb-vip-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 支付区块样式 */
.pb-pay-section {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.pb-pay-title {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    border-bottom: 1px solid #f8fafc;
    padding-bottom: 10px;
}

.pb-pay-summary {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.pb-summary-item {
    margin-bottom: 8px;
    font-size: 14px;
}

.pb-summary-item:last-child {
    margin-bottom: 0;
}

.pb-summary-item .label {
    color: #64748b;
}

.pb-summary-item .value {
    color: #1e293b;
}

.pb-summary-item .text-danger {
    color: #dc2626;
    font-size: 18px;
}

.pb-summary-item .font-bold {
    font-weight: 700;
}

/* 支付方式布局 */
.pb-pay-methods {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.method-label {
    font-size: 14px;
    color: #64748b;
}

.pb-pay-method-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cbd5e1;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    user-select: none;
}

.alipay-icon {
    font-size: 18px;
    color: #02a9f1;
}

.pb-pay-method-item.active {
    border-color: #02a9f1;
    background: #f0f9ff;
    color: #02a9f1;
}

.method-check-mark {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background: #02a9f1;
    color: #fff;
    font-size: 9px;
    width: 14px;
    height: 14px;
    border-radius: 4px 0 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 购买按钮 */
.pb-btn-pay-now {
    background: #02a9f1;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.pb-btn-pay-now:hover {
    background: #0196d6;
}

/* 响应式 */
@media (max-width:640px) {
    .pb-vip-plans-new {
        grid-template-columns: 1fr;
    }

    .pb-pay-methods {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

/* ══════════════════════════════════════════
 内容页特有公共核心样式（请追加至公共CSS）
══════════════════════════════════════════ */

/* 面包屑导航 */
.breadcrumb-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    font-size: var(--fs-xs);
    color: var(--ink-soft);
}

.breadcrumb-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-inner a:hover {
    color: var(--accent);
}

.breadcrumb-inner span {
    color: var(--ink-mute);
}

/* 筛选联动区块 */
.filter-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 24px;
    margin: 24px auto;
    max-width: 1280px;
    width: calc(100% - 56px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow);
}

.filter-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.filter-title {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--ink-mute);
    white-space: nowrap;
    width: 64px;
}

.filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
}

.filter-item a {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    transition: all .15s;
}

.filter-item.active a,
.filter-item a:hover {
    background: rgba(26, 110, 245, .08);
    color: var(--accent);
    font-weight: 500;
}

/* 基础分栏布局 (详情页/侧边栏布局通用) */
.layout-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

.layout-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.layout-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.detail-card>h3 {
    font-size: var(--fs-sm);
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.detail-card .pic {
    margin-bottom: 20px;
}

.detail-card .title {
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: 10px;
}

.detail-card .price {
    font-size: var(--fs-2xl);
    color: var(--paid);
    font-weight: 700;
}

/* 通用高端分页组件 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 36px 0;
}

.pagination a {
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    transition: all .2s;
    cursor: pointer;
}

.pagination a:hover,
.page-num.page-num-current {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(26, 110, 245, .03);
}

.page-num.page-num-current {
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
}

/* 移动端对新增公共组件的适配 */
@media (max-width:768px) {
    .breadcrumb-inner {
        padding: 0 16px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .filter-box {
        padding: 14px;
        margin: 16px auto;
        width: calc(100% - 32px);
        gap: 10px;
    }

    .filter-row {
        gap: 8px;
    }

    .filter-title {
        width: auto;
    }

    .layout-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .detail-card {
        padding: 16px;
    }
}

/* ── WRAPPER & BREADCRUMB ── */
.container {
    max-width: 1400px;
    margin: 24px auto 40px;
    padding: 0 28px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--ink-mute);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb span {
    color: var(--ink-soft);
}

.breadcrumb a:hover {
    color: var(--accent);
}

/* ── ADVANCED FILTER PANEL ── */
.filter-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-row {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}

.filter-label {
    color: var(--ink-mute);
    font-weight: 500;
    width: 70px;
    padding-top: 5px;
    white-space: nowrap;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex: 1;
}

.filter-tag {
    padding: 2px 8px;
    border-radius: 6px;
    color: var(--ink-soft);
    transition: all .15s;
    cursor: pointer;
}

.filter-tag:hover {
    color: var(--accent);
    background: rgba(26, 110, 245, .04);
}

.filter-tag.active {
    background: var(--accent);
    color: white;
    font-weight: 500;
}

/* ── CONTROLSBAR (SORT) ── */
.controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sort-item {
    font-size: 13.5px;
    color: var(--ink-soft);
    padding: 4px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all .15s;
}

.sort-item:hover,
.sort-item.active {
    color: var(--accent);
    background: rgba(26, 110, 245, .05);
    font-weight: 500;
}

.total-count {
    font-size: 13.5px;
    color: var(--ink-mute);
}

/* ── 移动端适配 ── */
@media screen and (max-width:768px) {
    .container {
        padding: 0 16px;
        margin: 16px auto 32px;
    }

    .filter-panel {
        padding: 14px;
        gap: 12px;
    }

    .filter-row {
        flex-direction: column;
        gap: 8px;
    }

    .filter-label {
        width: auto;
        padding-top: 0;
    }

    .filter-tags {
        gap: 4px;
    }

    .filter-tag {
        padding: 3px 10px;
        font-size: 13px;
    }

    .controls-bar {
        flex-direction: column;
        gap: 10px;
        padding: 10px 14px;
    }

    .sort-group {
        flex-wrap: wrap;
    }

    .sort-item {
        font-size: 13px;
        padding: 3px 10px;
    }

    .breadcrumb {
        font-size: 12.5px;
    }

    .pagination {
        margin: 28px 0 10px;
    }

    .page-item {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* 模板详情页专有样式 */
.preview-stage {
    background: var(--ink);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.preview-header {
    background: #1e222b;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.preview-title {
    color: white;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.device-switch {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, .2);
    padding: 3px;
    border-radius: 6px;
}

.dev-btn {
    color: var(--ink-mute);
    border: none;
    background: transparent;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s;
}

.dev-btn.active,
.dev-btn:hover {
    background: var(--accent);
    color: white;
}

.preview-body {
    aspect-ratio: 16/10;
    background: #2d323f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .3);
    transition: all .3s;
}

.preview-body.mobile {
    max-width: 375px;
    aspect-ratio: 9/16;
    margin: 20px auto;
    border-radius: 20px;
    border: 10px solid #1e222b;
}

.meta-price-box {
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.price-current {
    /*font-family: var(--font-mono);*/
    font-size: 28px;
    font-weight: 700;
    color: var(--paid);
}

.price-current span {
    font-size: 16px;
    margin-right: 2px;
}

.meta-price-box .tip-vip {
    font-size: 12px;
    font-weight: 600;
    background: #fef3c7;
    color: #f59e0b;
    padding: 4px 10px;
    border-radius: 20px;
}

.meta-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
    font-size: var(--fs-xs);
}

.spec-item {
    color: var(--ink-soft);
}

.spec-item span {
    color: var(--ink-mute);
    margin-right: 4px;
}

.tech-tag {
    display: inline-block;
    background: var(--surface);
    color: var(--ink-soft);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 0 4px 4px 0;
}

.action-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 18px;
}

.btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.btn-half {
    width: 48%;
}

.btn-block.btn-primary:hover {
    color: #fff;
}

.vip-btn {
    background-color: #f59f54;
}

/* 详情编辑器内容 */
.article-content ul,
.article-content ol {
    padding-left: 20px;
}

.article-content a {
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--accent);
}

.article-content h2,
.article-content h3 {
    font-size: var(--fs-md);
    margin: 20px 0 10px;
    padding-left: 8px;
    border-left: 3px solid var(--accent);
}

.article-content p {
    color: var(--ink-soft);
    font-size: var(--fs-sm);
    margin-bottom: 14px;
}

.article-content img {
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid var(--border);
    max-width: 100%;
    width: auto;
}

/*核心卖点与VIP权益保障条*/

/* 保障条外层容器 */
.detail-guarantee-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 20px 15px;
}

/* 单个卖点项目 */
.guarantee-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 15px;
    /*border-right: 1px solid #ededed;*/
}

/* 去掉最后一个项目的右边框 */
.guarantee-item:last-child {
    border-right: none;
}

/* 图标外壳 */
.guarantee-item .icon-box {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* 蓝色主题图标（标准保障） */
.guarantee-item .icon-box.blue-theme {
    background-color: #eef4ff;
    color: var(--accent);
    /* 对应您网站的标志性蓝色 */
}

/* 金色主题图标（突出VIP转化） */
.guarantee-item .icon-box.gold-theme {
    background-color: #fff7e6;
    color: #ff9900;
    /* 对应右侧“一键升级”的醒目橙金 */
}

/* 文字区域 */
.guarantee-item .info-box h4 {
    font-size: 14px;
    color: #222222;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.guarantee-item .info-box p {
    font-size: 12px;
    color: #86909c;
    margin: 0;
    line-height: 1.4;
}

/* VIP特色高亮（可选：让VIP这一栏在鼠标悬停时更有吸引力） */
.guarantee-item.vip-highlight:hover {
    cursor: pointer;
}

.guarantee-item.vip-highlight h4 {
    color: #ff9900;
}

/* 插件详情页高阶样式 */
.plugin-hero {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    /*margin-bottom: 24px;*/
    box-shadow: var(--shadow);
}

.plugin-icon-big {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: rgba(26, 110, 245, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    flex-shrink: 0;
}

.code-zone {
    background: #1e222b;
    color: #a6accd;
    font-family: 'Space Mono', monospace;
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    position: relative;
    margin: 12px 0;
    overflow-x: auto;
}

.btn-copy {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, .1);
    border: none;
    color: white;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-copy:hover {
    background: var(--accent);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--free);
    font-weight: 600;
}

.status-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--free);
    border-radius: 50%;
}

@media(max-width:576px) {
    .plugin-hero {
        flex-direction: column;
        text-align: center;
    }
}

/* 购买须知提示框样式 */
.purchase-notice-box {
    margin-top: 15px;
    padding: 10px 12px;
    background-color: #fafafa;
    /* 或者用极淡的黄 #fffbe6，看个人喜好 */
    border: 1px solid #eeeeee;
    /* 如果用淡黄背景，边框可以用 #ffe58f */
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
}

/* 提示图标 */
.purchase-notice-box i {
    color: #999999;
    /* 如果用黄色系可以用 #faad14 */
    font-size: 13px;
    margin-right: 6px;
    margin-top: 2px;
    /* 调整对齐 */
    flex-shrink: 0;
}

/* 提示文字 */
.purchase-notice-box span {
    font-size: 12px;
    color: #666666;
    line-height: 1.5;
    text-align: left;
}

/*文章列表*/
.art-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px;
    display: flex;
    gap: 18px;
    transition: all .2s;
}

.art-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.art-cover {
    width: 180px;
    aspect-ratio: 16/10;
    border-radius: 6px;
    overflow: hidden;
    background: var(--surface);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.art-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.art-title {
    font-size: var(--fs-md);
    font-weight: 700;
    line-height: 1.4;
}

.art-title a {
    color: var(--ink);
}

.art-title a:hover {
    color: var(--accent);
}

.art-des {
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.art-meta {
    font-size: var(--fs-xs);
    color: var(--ink-mute);
    display: flex;
    gap: 14px;
}

.art-meta em {
    font-style: normal;
}

.art-meta a:last-child em {
    display: none;
}

@media (max-width:576px) {
    .art-item {
        flex-direction: column;
    }

    .art-cover {
        width: 100%;
    }
}

/* 分类卡片外壳 */

/*.sidebar-category-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f3f7;
}
*/

/* 栏目标题样式（与你的热门排行标题风格呼应） */
.sidebar-category-box .category-title {
    font-size: 15px;
    color: #222222;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

/* 标题图标（Font Awesome） */
.sidebar-category-box .category-title i {
    color: var(--accent);
    /* 网站主色调蓝 */
    margin-right: 8px;
    font-size: 14px;
}

/* 分类列表：采用 CSS Grid 实现优雅的两列平铺 */
.sidebar-category-box .category-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 平分两列 */
    gap: 10px;
    /* 按钮之间的间距 */
}

/* 单个分类按钮基础样式 */
.sidebar-category-box .category-item {
    display: block;
    text-align: center;
    background-color: #f5f7fa;
    /* 浅灰底色，极简干净 */
    color: #4e5969;
    font-size: 13px;
    padding: 8px 4px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* 鼠标悬停（Hover）状态 */
.sidebar-category-box .category-item:hover {
    background-color: #eef4ff;
    color: var(--accent);
    border-color: rgba(22, 97, 255, 0.2);
}

/* 当前激活/选中状态（Active） */
.sidebar-category-box .category-item.active {
    background-color: var(--accent);
    /* 激活时高亮为主题蓝 */
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(22, 97, 255, 0.2);
}

/*————————————————————————————————套餐页面————————————————————————————————*/
.service-container {
    padding: 20px 28px;
}

.section-header2 {
    text-align: center;
    margin-bottom: 40px;
}

.section-header2 h2 {
    font-size: 28px;
    color: #1d2129;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header2 p {
    font-size: 15px;
    color: #86909c;
}

/* 套餐卡片布局 */
.pricing-section .pricing-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
}

.pricing-section .pricing-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e5e6eb;
    border-radius: 12px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-section .pricing-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 8px 24px rgba(22, 97, 255, 0.08);
}

.pricing-section .pricing-card.featured .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
}

.pricing-section .card-header h3 {
    font-size: 18px;
    margin: 0 0 15px 0;
    color: #1d2129;
}

.pricing-section .card-header .price {
    font-size: 14px;
    color: #ff4d4f;
    margin-bottom: 25px;
}

.pricing-section .card-header .price span {
    font-size: 32px;
    font-weight: 700;
}

.pricing-section .features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.pricing-section .features-list li {
    font-size: 13.5px;
    color: #4e5969;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.pricing-section .features-list li i {
    margin-right: 8px;
    font-size: 12px;
}

.pricing-section .features-list li i.fa-check {
    color: #00b42a;
}

.pricing-section .features-list li i.fa-times {
    color: #c9cdd4;
}

.pricing-section .features-list li.disabled {
    color: #c9cdd4;
    text-decoration: line-through;
}

.pricing-section .buy-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.pricing-section .pricing-card.featured .buy-btn,
.pricing-section .buy-btn:hover {
    background: var(--accent);
    color: #ffffff;
}

/* 注意事项板块样式 */
.notice-section {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f3f7;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.notice-section .notice-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.notice-section .notice-title i {
    color: #ff9900;
    margin-right: 8px;
}

.notice-section .notice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.notice-section .notice-item h5 {
    font-size: 14px;
    color: #1d2129;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.notice-section .notice-item p {
    font-size: 13px;
    color: #86909c;
    line-height: 1.6;
    margin: 0;
}

/* 移动端适配 */
@media (max-width:992px) {
    .pricing-section .pricing-grid {
        flex-direction: column;
        gap: 30px;
    }

    .notice-section .notice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/*————————————————————————————————服务页面————————————————————————————————*/
.service-container {
    padding: 20px 28px;
}

/* 3列响应式网格群 */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ==================== 核心：美化版高端服务卡片 ==================== */
.premium-service-card {
    background-color: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 14px;
    /* 增大圆角，突显商务白质感 */
    padding: 28px;
    box-shadow: 0 4px 16px rgba(29, 33, 41, 0.03);
    /* 初始温和微阴影 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    top: 0;
}

/* 卡片悬停动效：上浮、阴影加深、边框高亮蓝色线 */
.premium-service-card:hover {
    top: -6px;
    box-shadow: 0 12px 32px rgba(22, 97, 255, 0.09);
}

/* 卡片头部弹性排版 */
.card-head-flex {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

/* 图标外裹球：注入专属微光背景层，不再单调 */
.service-icon-box {
    width: 46px;
    height: 46px;
    background-color: #eef3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-icon-box i {
    font-size: 18px;
    color: #1661ff;
    /* 标志性深邃科技蓝 */
}

.premium-service-card:hover .service-icon-box {
    background-color: #1661ff;
}

.premium-service-card:hover .service-icon-box i {
    color: #ffffff;
}

/* 标题与价格对齐 */
.service-title-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.service-title-price h3 {
    margin: 0;
    font-size: 17px;
    color: #1d2129;
    font-weight: 600;
}

.price-tag {
    font-size: 18px;
    font-weight: 700;
}

.price-tag small {
    font-size: 12px;
    color: #86909c;
    font-weight: normal;
}

/* 描述纯文本优化 */
.service-desc {
    font-size: 13.5px;
    color: #4e5969;
    line-height: 1.7;
    margin: 0 0 24px 0;
    text-align: justify;
    flex-grow: 1;
    /* 自动撑开确保卡片高度绝对对齐 */
}

/* ==================== 核心重构：加深且极具冲击力的订购按钮 ==================== */
.service-order-btn {
    display: block;
    width: 100%;
    height: 42px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    /* 默认状态深蓝字 */
    text-decoration: none;
    background-color: #f2f6ff;
    /* 默认状态富有呼吸感的浅蓝背景层 */
    border: 1px solid #f2f6ff;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 按钮悬停状态：彻底告别“浅色无力感”，变身科技感渐变实色按钮 */
.service-order-btn:hover {
    background: linear-gradient(135deg, #1661ff, #3473ff);
    border-color: #1661ff;
    color: #ffffff;
    /* 变纯白字 */
    box-shadow: 0 4px 12px rgba(22, 97, 255, 0.3);
    /* 按钮本身自带发光发亮感 */
}

/* ==================== 移动端极限自适应响应式 ==================== */
@media (max-width:992px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 平板显示双列 */
        gap: 20px;
    }
}

@media (max-width:650px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
        /* 智能手机垂直压扁为流畅单列长卡片 */
        gap: 16px;
    }

    .premium-service-card {
        padding: 22px;
    }
}

/* ==================== 1. 会员套餐网格布局 ==================== */
.vip-container {
    padding: 20px 28px;
}

.vip-container .pricing-section {
    margin-bottom: 70px;
}

.vip-container .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* 卡片骨架 */
.vip-container .pricing-card {
    background: #ffffff;
    border: 1px solid #e5e8ed;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vip-container .card-inner {
    padding: 35px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* 年度与终身特定彩色高亮 */
.vip-container .pricing-card.featured-blue {
    border: 2px solid var(--accent);
    box-shadow: 0 4px 20px rgba(22, 97, 255, 0.08);
}

.vip-container .pricing-card.featured-gold {
    border: 2px solid #d4af37;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.12);
}

.vip-container .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* 卡片顶部信息 */
.vip-container .card-header {
    text-align: center;
    margin-bottom: 24px;
}

.vip-container .card-header h3 {
    font-size: 18px;
    color: #1d2129;
    margin: 0 0 14px 0;
    font-weight: 700;
}

.vip-container .card-header .price {
    font-size: 16px;
    color: #1d2129;
    font-weight: 700;
    margin-bottom: 12px;
}

.vip-container .card-header .price span {
    font-size: 36px;
}

.vip-container .card-header .subtitle {
    font-size: 12.5px;
    color: #86909c;
    margin: 0;
}

/* 特权清单列表 */
.vip-container .features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
    /* 撑开让底部按钮平行对齐 */
}

.vip-container .features-list li {
    font-size: 13px;
    color: #4e5969;
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.vip-container .features-list li i {
    color: #00b42a;
    /* 默认绿色勾 */
    margin-right: 8px;
    font-size: 11px;
    margin-top: 5px;
    width: 14px;
    text-align: center;
}

.vip-container .features-list li i.fa-times {
    color: #c9cdd4;
    /* 灰色不可用叉 */
}

.vip-container .features-list li.disabled {
    color: #c9cdd4;
    text-decoration: line-through;
}

/* 终身VIP高亮橙金色文字项 */
.vip-container .features-list li.highlight {
    color: #ff9900;
    font-weight: 500;
}

.vip-container .features-list li.highlight i {
    color: #ff9900;
}

/* 会员跳转按钮 */
.vip-container .vip-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* 差异化按钮底色 */
.vip-container .card-user .vip-btn {
    background-color: #f2f3f5;
    color: #4e5969;
}

.vip-container .card-month .vip-btn {
    background-color: #f2f3f5;
    color: #4e5969;
}

.vip-container .card-year .vip-btn {
    background-color: var(--accent);
    color: #ffffff;
}

.vip-container .card-lifetime .vip-btn {
    background-color: #ff9900;
    color: #ffffff;
}

.vip-container .vip-btn:hover {
    opacity: 0.95;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 右上角斜体角标 */
.vip-container .ribbon {
    position: absolute;
    top: 14px;
    right: -34px;
    transform: rotate(45deg);
    width: 110px;
    text-align: center;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 0;
}

.vip-container .bg-blue {
    background-color: var(--accent);
}

.vip-container .bg-gold {
    background-color: #ff9900;
}

/* ==================== 2. FAQ 常见问题手风琴布局 ==================== */
.vip-container .faq-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* PC端两列排开 */
    gap: 20px;
}

.vip-container .faq-item {
    background: #ffffff;
    border: 1px solid #e5e8ed;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.vip-container .faq-item.open {
    border-color: var(--accent);
}

.vip-container .faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #ffffff;
    user-select: none;
}

.vip-container .faq-question h5 {
    font-size: 14.5px;
    color: #1d2129;
    margin: 0;
    font-weight: 600;
    padding-right: 15px;
    line-height: 1.5;
}

.vip-container .faq-icon {
    font-size: 13px;
    color: #86909c;
    transition: all 0.25s ease;
}

.vip-container .faq-item.open .vip-container .faq-icon {
    color: var(--accent);
}

.vip-container .faq-answer {
    display: none;
    /* 默认隐藏，通过JQ slideDown拉出 */
    padding: 0 24px 20px 24px;
    background: #ffffff;
    border-top: 1px solid #f2f3f5;
}

.vip-container .faq-answer p {
    font-size: 13.5px;
    color: #4e5969;
    line-height: 1.7;
    margin: 15px 0 0 0;
}

/* ==================== 3. 移动端自适应 Media 查询 ==================== */

/* 中等屏幕（平板及较窄PC：1024px以下）转换为双列套餐加单列FAQ */
@media (max-width:1024px) {
    .vip-container .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .vip-container .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* 窄小屏幕（手机端：768px以下）全部转换为紧凑的单列纵向排列 */
@media (max-width:768px) {
    .vip-container .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vip-container .faq-question {
        padding: 16px 20px;
    }

    .vip-container .faq-answer {
        padding: 0 20px 16px 20px;
    }
}

/* ==================== 1. 点赞与打赏样式 ==================== */
.article-action-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 30px 0;
    /*padding-bottom: 30px;*/
    /*border-bottom: 1px solid #e5e6eb;*/
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid #e5e6eb;
    background-color: #ffffff;
    color: #4e5969;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.action-btn i {
    margin-right: 6px;
    font-size: 15px;
}

/* 点赞激活与悬停 */
.btn-like:hover,
.btn-like.liked {
    border-color: var(--accent);
    color: var(--accent);
    background-color: #f2f6ff;
}

.btn-like.liked i {
    font-weight: 900;
    /* Font Awesome 变成实心手势 */
}

/* 打赏按钮特殊色 */
.btn-reward {
    background-color: #ff9900;
    border-color: #ff9900;
    color: #ffffff;
}

.btn-reward:hover {
    background-color: #e68a00;
    border-color: #e68a00;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.2);
}

/* 打赏模态弹窗 */
.reward-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(29, 33, 41, 0.5);
    z-index: 2000;
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.reward-modal-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    position: relative;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    animation: modalShow 0.25s ease;
}

.reward-modal-box h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #1d2129;
}

.reward-modal-box p {
    margin: 0 0 24px 0;
    font-size: 13px;
    color: #86909c;
}

.close-modal-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 16px;
    color: #86909c;
    cursor: pointer;
}

.close-modal-btn:hover {
    color: #1d2129;
}

.qr-code-flex {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-item img {
    width: 130px;
    height: 130px;
    border: 1px solid #e5e6eb;
    padding: 6px;
    border-radius: 6px;
}

.qr-item span {
    font-size: 13px;
    font-weight: 500;
    color: #4e5969;
}

@keyframes modalShow {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== 文章详情补充：分享条样式 ==================== */
.article-share-container {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #f7f8fa;
    border-radius: 6px;
    margin-bottom: 45px;
}

.share-title {
    font-size: 13.5px;
    color: #1d2129;
    font-weight: 600;
}

.share-links {
    display: flex;
    gap: 14px;
}

.share-item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #4e5969;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.share-item i {
    margin-right: 4px;
    font-size: 14px;
    color: #86909c;
}

.share-item:hover {
    color: var(--accent);
}

.share-item:hover i {
    color: var(--accent);
}

/* 微信悬浮二维码 */
.share-weixin {
    position: relative;
}

.weixin-share-pop {
    display: none;
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
    z-index: 10;
}

.weixin-share-pop #weixinQr img {
    width: 110px;
    height: 110px;
    display: block;
    margin-bottom: 6px;
}

.weixin-share-pop p {
    margin: 0;
    font-size: 11px;
    color: #86909c;
    white-space: nowrap;
}

.share-weixin:hover .weixin-share-pop {
    display: block;
}

/* ==================== 3. 相关阅读推荐样式 ==================== */
.related-section-title {
    font-size: 16px;
    color: #1d2129;
    font-weight: 700;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
}

.related-section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 15px;
    background-color: var(--accent);
    border-radius: 2px;
    margin-right: 8px;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #e5e8ed;
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(22, 97, 255, 0.04);
}

.related-thumb {
    width: 70px;
    height: 70px;
    background-color: #eef4ff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 14px;
}

.related-thumb i {
    font-size: 22px;
    color: var(--accent);
}

.related-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.related-info h4 {
    margin: 0;
    font-size: 14px;
    color: #1d2129;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #86909c;
    margin-top: 6px;
}

.related-meta i {
    margin-right: 3px;
}

/* ==================== 响应式移动端适配 ==================== */
@media (max-width:768px) {
    .related-articles-grid {
        grid-template-columns: 1fr;
        /* 移动端相关文章压扁为单列 */
        gap: 12px;
    }

    .article-share-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .weixin-share-pop {
        left: 0;
        transform: none;
        bottom: 26px;
    }
}

/* ==================== Tags 标签按钮样式 ==================== */
.article-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0 20px 0;
}

.tag-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    color: #4e5969;
    text-decoration: none;
    background-color: #f2f3f5;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    /* 带来原图轻微的立体沉淀感 */
    transition: all 0.2s ease;
}



/* ==================== 文章版权信息块样式 ==================== */
.article-copyright-box {
    background-color: #fafbfc;
    border: 1px dashed #d9dde4;
    /* 完美复刻原图的灰色虚线包裹 */
    border-radius: 6px;
    padding: 20px 24px;
    margin: 20px 0 35px 0;
    box-sizing: border-box;
}

.copyright-line {
    font-size: 13px;
    color: #4e5969;
    line-height: 1.8;
    margin-bottom: 8px;
    text-align: justify;
}

.copyright-line:last-child {
    margin-bottom: 0;
    /* 消除最后一行外边距 */
}

/* 前缀固定标签 */
.cp-label {
    color: #1d2129;
    font-weight: 500;
    white-space: nowrap;
}

/* 链接项基础样式 */
.cp-link,
.cp-inner-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed rgba(22, 97, 255, 0.4);
    /* 原图的下划虚线细节 */
    transition: color 0.2s;
}

.cp-link:hover,
.cp-inner-link:hover {
    color: var(--accent);
    border-bottom-style: solid;
}

/* 还原原图标志性的深蓝色文本和浅蓝色文字高亮背景 */
.text-blue {
    color: var(--accent);
    font-weight: 500;
    border-bottom: 1px dashed rgba(14, 82, 217, 0.4);
}

.time-mark {
    background-color: #e6f0ff;
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
}

.cp-action-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent);
    font-weight: 500;
}

.cp-action-link:hover {
    color: #ff9900;
    border-color: #ff9900;
}

/* ==================== 响应式移动端柔化适配 ==================== */
@media (max-width:768px) {
    .article-copyright-box {
        padding: 16px;
        margin: 15px 0 25px 0;
    }

    .copyright-line {
        font-size: 12px;
        /* 移动端字号略微内收，防止高频折行 */
        word-break: break-all;
        /* 防止长URL强行撑破边框 */
    }
}

/*标签中心*/
.tags-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 28px;
    box-sizing: border-box;
}

/* ==================== 顶部标题美化 ==================== */
.tags-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.tags-page-header h2 {
    font-size: 26px;
    color: #1d2129;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.tags-page-header h2 i {
    color: #1661ff;
    /* 品牌科技蓝 */
    margin-right: 8px;
}

.tags-page-header p {
    font-size: 14.5px;
    color: #86909c;
    margin: 0;
}

/* ==================== 极简流式卡片网格布局 ==================== */
.simple-tags-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* PC端一行标准 4 列 */
    gap: 16px;
}

/* ==================== 极简单体标签卡片样式 ==================== */
.minimal-tag-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background-color: #ffffff;
    /* 纯白无瑕底色 */
    border: 1px solid #edf1f7;
    border-radius: 8px;
    text-decoration: none;
    position: relative;
    top: 0;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(29, 33, 41, 0.02);
    /* 浅至隐形的微光阴影 */
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 标签文本 */
.tag-name {
    font-size: 14px;
    color: #1d2129;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 8px;
}

/* 数量气泡小徽章 */
.tag-count {
    font-size: 12px;
    color: #86909c;
    background-color: #f2f3f5;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

/* 悬停状态：平滑反白高亮，呈现强烈交互感 */
.minimal-tag-card:hover {
    border-color: #1661ff;
}

.minimal-tag-card:hover .tag-name {
    color: #1661ff;
}

.minimal-tag-card:hover .tag-count {
    background-color: #eef4ff;
    color: #1661ff;
}

/* ==================== 热门/推荐标签特调效果 ==================== */
.minimal-tag-card.hot-tag {
    border-color: #ffe4ba;
    background-color: #fffaf2;
    /* 柔和暖橙底色 */
}

.minimal-tag-card.hot-tag .tag-name {
    color: #ff9900;
    /* 呼应技术服务的标志性暖橙 */
}

.minimal-tag-card.hot-tag .tag-count {
    background-color: #fff1dc;
    color: #ff9900;
}

/* 悬停时热门标签保持自身的品牌色深邃 */
.minimal-tag-card.hot-tag:hover {
    border-color: #ff9900;
}

/* 小巧的浮动文字徽章 */
.hot-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    padding: 1px 5px;
    border-radius: 4px;
    transform: scale(0.85);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 77, 79, 0.15);
}

/* ==================== 响应式极速自适应适配 ==================== */
@media (max-width:992px) {
    .simple-tags-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 平板显示 3 列 */
        gap: 14px;
    }
}

@media (max-width:768px) {
    .tags-page-container {
        padding: 40px 16px;
    }

    .tags-page-header {
        margin-bottom: 30px;
    }

    .tags-page-header h2 {
        font-size: 22px;
    }

    .simple-tags-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 移动端平铺双列布局 */
        gap: 12px;
    }

    .minimal-tag-card {
        padding: 12px 14px;
    }

    .tag-name {
        font-size: 13px;
    }
}