/* ══════════════════════════════════════════
   全局变量 & 基础重置
══════════════════════════════════════════ */
: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;}

.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;
}

.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-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;
}

.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-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;
    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);
}

.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;
}

.tag-list {
    display: flex;
}
.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-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;
    }

    .segment-item {
        flex: 1;
        text-align: center;
    }
    .segment-trigger {
        width: 100%;
        padding: 6px 0;
    }

    .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;
    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;
    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;
}

/* ══════════════════════════════════════════
   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;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    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;
    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;
    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;
}
.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);
}

/* 公告标签前缀 */
.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;
    margin-left: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
}

/* 圆形线框文字图标 */
.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 {
        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;
    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;
    transition: all .18s;
}
.section-more:hover {
}

/* ── Tabs ── */
.tabs {
    display: flex;
    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: 16/10;
    overflow: hidden;
    background: var(--surface);
}
.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;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background: rgba(15, 17, 23, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    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;
}
.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;
}
.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 {
 
    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;
    color: var(--vip);
    font-weight: 600;
}

/* ══════════════════════════════════════════
   知识中心
══════════════════════════════════════════ */
.know-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.know-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
    min-width: 0;
}
.know-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border);
}
.know-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.know-icon.blue {
    background: rgba(26, 110, 245, .1);
}
.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);
    font-weight: 700;
    color: var(--ink);
}
.know-list {
    list-style: none;
}
.know-list li {
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
}
.know-list li:last-child {
    border-bottom: none;
    padding-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;
    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;
}
.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;
    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);
}

/* === 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);
    }

    .hero {
        grid-template-columns: 1fr 300px;
    }

}

/* ══════════════════════════════════════════
   响应式 —— Mobile ≤ 768px
══════════════════════════════════════════ */
@media (max-width:768px) {

    .icon-btn {
        display: none;
    }

    .btn-vip2 {display: none;}

    .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;
    }

    .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) {

    .hero-side {
        flex-direction: column;
    }
    .hero-main {
        padding: 24px 18px;
    }
    .hero-main h1 {
        font-size: var(--fs-lg);
    }
    .svc-grid {
        grid-template-columns: 1fr;
    }

    .know-card {
        padding: 15px;
    }
    .tpl-grid {
        /*grid-template-columns: repeat(1, 1fr);*/
    }
}

@keyframes fadeInForm {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.form-group {
    display: flex;
    flex-direction: column;
}
.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);
}
.email-domain-tip {
    display: none;
    margin-top: 6px;
    color: #d97706;
    font-size: 12px;
    line-height: 1.5;
}
.email-domain-tip.show {
    display: block;
}
.email-domain-tip strong {
    color: #b45309;
    font-weight: 600;
}
.email-domain-apply {
    -webkit-appearance: none;
    appearance: none;
    margin: 0 0 0 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

/* 表单小选项 */
.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;
}
.forget-pwd {
    color: #2563eb;
    text-decoration: none;
}
.forget-pwd:hover {
    text-decoration: underline;
}

/*自己补充*/
.yzm-grid {
    display: flex;
    justify-content: space-between;
}

.email-domain-tip {
    min-height: 18px;
}
.email-domain-tip strong {
    font-weight: 700;
}

.modal-qq-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
    border: 1px solid #d6e0ee;
    border-radius: 8px;
    background: #f8fbff;
    color: #1677d2;
    font-size: 14px;
    font-weight: 600;
}
.modal-qq-login:hover,
.modal-qq-login:focus-visible {
    border-color: #8fc5f4;
    background: #eef7ff;
    color: #095fae;
    outline: none;
}
.modal-qq-login .qq-login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1677d2;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.yzm-grid {
    align-items: center;
}
.yzm-grid > * + * {
    margin-left: 10px;
}
.yzm-grid input {
    flex: 1 1 auto;
    min-width: 0;
}
.btn-send-code,
.captcha-img-wrap {
    flex: 0 0 auto;
    height: 34px;
    border-radius: 6px;
}
.btn-send-code {
    min-width: 104px;
    padding: 0 12px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #475467;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.btn-send-code:hover,
.btn-send-code:focus-visible {
    border-color: rgba(37, 99, 235, 0.45);
    color: #2563eb;
    outline: none;
}
.btn-send-code:disabled {
    border-color: #e5e7eb;
    background: #f3f4f6;
    color: #98a2b3;
    cursor: not-allowed;
}
.captcha-img-wrap {
    width: 106px;
    min-width: 106px;
    border: 1px solid #d8e0eb;
    background: #e8edf5;
    object-fit: cover;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0;
}

@media (max-width: 480px) {

    .captcha-img-wrap,
    .btn-send-code {
        min-width: 92px;
        width: 92px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* 会员中心专属隔离样式 */
.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: 1420px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
}

/* 左侧侧边栏 */
.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;
}
.pb-menu-item {
    display: flex;
    align-items: center;
    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;
}
.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;
}
.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;
    }

}

/* 微调卡片值的文本大小（针对日期、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: -15px;
    background: #e11d48;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 30px;
    transform: rotate(45deg);
    gap: 5px;
}
.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;
}
.pb-vip-card ul li {
    font-size: 14px;
    color: #475569;
    display: flex;
    align-items: center;
}
.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;
    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: 12px;
}
.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;
    margin-bottom: 24px;
}
.method-label {
    font-size: 14px;
    color: #64748b;
}
.pb-pay-method-item {
    display: flex;
    align-items: center;
    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;
    }
}

/* ══════════════════════════════════════════
 内容页特有公共核心样式（请追加至公共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;
}
.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;
    box-shadow: var(--shadow);
}
.filter-row {
    display: flex;
    align-items: baseline;
}
.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;
    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;
    min-width: 0;
}
.layout-side {
    display: flex;
    flex-direction: column;
}
.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;
    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);
    }
    .filter-row {
    }
    .filter-title {
        width: auto;
    }
    .layout-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .detail-card {
        padding: 16px;
    }
}

/* ── WRAPPER & BREADCRUMB ── */
.container {
    max-width: 1440px;
    margin: 24px auto 40px;
    padding: 0 28px;
}
.breadcrumb {
    font-size: 13px;
    color: var(--ink-mute);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.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;
}
.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;
    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;
}
.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;
    }
    .filter-row {
        flex-direction: column;
    }
    .filter-label {
        width: auto;
        padding-top: 0;
    }
    .filter-tags {
    }
    .filter-tag {
        padding: 3px 10px;
        font-size: 13px;
    }
    .controls-bar {
        flex-direction: column;
        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;
    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;
}
.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 {
    margin: 0 0 16px;
    padding-left: 1.7em;
}
.article-content ul {list-style: disc outside;}
.article-content ol {list-style: decimal outside;}
.article-content ul ul,
.article-content ol ul {
    margin: 6px 0 0;
    list-style-type: circle;
}
.article-content ul ol,
.article-content ol ol {
    margin: 6px 0 0;
    list-style-type: lower-alpha;
}
.article-content li {
    margin: 6px 0;
    padding-left: 2px;
    line-height: 1.8;
}
.article-content li > p {margin: 6px 0;}
.article-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-content a:hover {color: var(--accent);}
.article-content h1,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin: 20px 0 10px;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.45;
}
.article-content h1 {font-size: 22px;}
.article-content h4 {font-size: 17px;}
.article-content h5 {font-size: 15px;}
.article-content h6 {font-size: 14px;}
.article-content h2,
.article-content h3 {
    font-size: var(--fs-md);
    margin: 20px 0 10px;
    padding-left: 13px;
    position: relative;
    line-height: 1.45;
}
.article-content h2::before, .article-content h3::before {
    content: '';
    position: absolute;
    top: .18em;
    bottom: .18em;
    left: 0;
    width: 3px;
    border-radius: 99px;
    background: var(--accent);
}
.article-content p {
    color: var(--ink-soft);
    font-size: var(--fs-sm);
    margin-bottom: 14px;
}
.article-content blockquote {
    margin: 18px 0;
    padding: 12px 16px;
    border-left: 4px solid #5a9bf8;
    background: #f4f8fe;
    color: var(--ink-soft);
}
.article-content hr {
    height: 1px;
    margin: 24px 0;
    border: 0;
    background: var(--border);
}
.article-content strong,
.article-content b {font-weight: 700;}
.article-content img {
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid var(--border);
    max-width: 100%;
    width: auto;
}
.article-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 18px 0;
    overflow-x: auto;
    border: 1px solid #d9e1ec;
    border: none;
    border-collapse: collapse;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}
.article-content th,
.article-content td {
    min-width: 96px;
    padding: 9px 12px;
    border: 1px solid #d9e1ec;
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}
.article-content th {
    background: #f3f7fc;
    color: #263a56;
    font-weight: 700;
}
.article-content tr:nth-child(even) td {background: #fafcff;}
.article-content pre {
    max-width: 100%;
    margin: 18px 0;
    padding: 14px 16px;
    overflow-x: auto;
    border: 1px solid #d9e1ec;
    border-radius: 6px;
    background: #f6f8fa;
}
.article-content code {
    padding: 2px 5px;
    border-radius: 3px;
    background: #f1f4f8;
    color: #c0445b;
    font-family: Consolas, Monaco, monospace;
}
.article-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

/*核心卖点与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;
    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;
    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;
    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;
    align-self: flex-start;
    display: flex;
    align-items: center;
}
.art-cover > a {
    display: block;
    width: 100%;
    height: 100%;
}
.art-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.art-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.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;
}
.art-meta em {
    font-style: normal;
}
.art-meta a:last-child em {
    display: none;
}
@media (max-width:576px) {
    .art-item {
        flex-direction: column;
        width: 100%;
        min-width: 0;
    }
    .art-cover {
        width: 100%;
    }
     
    .art-info {
        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;
    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;
    }
    .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;
    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;
    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;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

/* Keep modal text readable when backdrop-filter is unavailable (Chrome 72). */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {

    .reward-modal-backdrop { background-color: rgba(29, 33, 41, .78); }
}
.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;
}
.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.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;
}
.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;
    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;
    }
    .weixin-share-pop {
        left: 0;
        transform: none;
        bottom: 26px;
    }
}

/* ==================== Tags 标签按钮样式 ==================== */
.article-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    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;
}
.tag-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(22, 97, 255, 0.15);
}

/* ==================== 文章版权信息块样式 ==================== */
.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;
    }
}

/* Chrome 72: preserve media ratios without runtime layout mutation. */
@supports not (aspect-ratio: 1 / 1) {
    .tpl-thumb,
    .svc-thumb {
        position: relative;
        height: 0;
    }
    .tpl-thumb { padding-top: 62.5%; }
    .svc-thumb { padding-top: 75%; }
    .tpl-thumb > .thumb-placeholder,
    .svc-thumb > .thumb-placeholder {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .art-cover { height: 112.5px; }
    .preview-body { min-height: 420px; }
    .preview-body.mobile { min-height: 667px; }
}

@media (max-width:576px) {
    @supports not (aspect-ratio: 1 / 1) {
        .art-cover { height: calc(62.5vw - 43.75px); }
    }
}

.pb-dropdown-submit-btn > * + * { margin-left: 8px; }

.tag-list > * + * { margin-left: 6px; }
.pb-vip-badge > * + * { margin-left: 4px; }
.pb-dropdown-links a > * + * { margin-left: 10px; }

.hero-tag > * + * { margin-left: 6px; }
.btn-primary > * + * { margin-left: 7px; }
.notice-bar > * + * { margin-left: 14px; }
.ad-features > * + * { margin-left: 30px; }
.feature-item > * + * { margin-left: 8px; }
.section-title::before { margin-right: 10px; }
.section-more > * + * { margin-left: 5px; transition: margin-left .18s; }
.section-more:hover > * + * { margin-left: 8px; }
.tabs > * + * { margin-left: 6px; }
.tpl-thumb-overlay > * + * { margin-left: 10px; }
.tpl-type > * + * { margin-left: 6px; }
.tpl-views > * + * { margin-left: 4px; }
.svc-rating > * + * { margin-left: 4px; }
.know-header > * + * { margin-left: 11px; }
.btn-cta > * + * { margin-left: 9px; }

.remember-me > * + * { margin-left: 6px; }
.pb-member-wrapper > * + * { margin-left: 24px; }
.pb-menu-item > * + * { margin-left: 12px; }
.email-code-group > * + * { margin-left: 10px; }
.avatar-uploader > * + * { margin-left: 16px; }
.pb-vip-card ul li > * + * { margin-left: 8px; }
.pb-card-activation form > * + * { margin-left: 10px; }
.pb-pay-methods > * + * { margin-left: 15px; }
.pb-pay-method-item > * + * { margin-left: 8px; }
.breadcrumb-inner > * + *,
.breadcrumb > * + *,
.pagination > * + * { margin-left: 6px; }
.filter-row > * + * { margin-left: 16px; }
.sort-group > * + *,
.device-switch > * + * { margin-left: 4px; }
.plugin-hero > * + * { margin-left: 20px; }
.status-indicator > * + * { margin-left: 5px; }
.art-item > * + * { margin-left: 18px; }
.art-meta > * + * { margin-left: 14px; }
.pricing-section .pricing-grid > * + * { margin-left: 20px; }
.card-head-flex > * + * { margin-left: 16px; }
.article-action-bar > * + *,
.qr-code-flex > * + * { margin-left: 20px; }
.share-links > * + * { margin-left: 14px; }
.related-meta > * + * { margin-left: 15px; }
.inline-meta-spacing > * + * { margin-left: 16px; }

.hero-side > * + * { margin-top: 14px; }
.thumb-placeholder > * + * { margin-top: 7px; }

.form-group > * + * { margin-top: 6px; }
.pb-member-menu > * + * { margin-top: 4px; }
.pb-vip-card ul > * + * { margin-top: 10px; }
.filter-box > * + * { margin-top: 14px; }
.layout-main > * + *,
.layout-side > * + * { margin-top: 20px; }
.filter-panel > * + * { margin-top: 16px; }
.qr-item > * + * { margin-top: 10px; }
.inline-stack-spacing > * + * { margin-top: 6px; }
.product-stack-spacing > * + * { margin-top: 8px; }

.filter-list {
    margin-right: -6px;
    margin-bottom: -6px;
}
.filter-list > * {
    margin-right: 6px;
    margin-bottom: 6px;
}
.filter-tags {
    margin-right: -5px;
    margin-bottom: -5px;
}
.filter-tags > * {
    margin-right: 5px;
    margin-bottom: 5px;
}
.meta-price-box { margin-bottom: 14px; }
.meta-price-box > * { margin-bottom: 10px; }
.article-tags-wrap { margin-right: -10px; margin-bottom: 10px; }
.article-tags-wrap > * { margin-right: 10px; margin-bottom: 10px; }

@media (max-width:992px) {
    .pricing-section .pricing-grid > * + * {
        margin-left: 0;
        margin-top: 30px;
    }
}

@media (max-width:768px) {

    .hero-side > * + * { margin-top: 10px; }
    .filter-box > * + * { margin-top: 10px; }
    .filter-row > * + * { margin-left: 0; margin-top: 8px; }
    .filter-panel > * + * { margin-top: 12px; }
    .filter-tags { margin-right: -4px; margin-bottom: -4px; }
    .filter-tags > * { margin-right: 4px; margin-bottom: 4px; }
    .controls-bar > * + * { margin-top: 10px; }
    .article-share-container > * + * { margin-top: 10px; }
}

@media (max-width:640px) {
    .pb-pay-methods > * + * { margin-left: 0; margin-top: 10px; }
}

.pb-dropdown-menu {
    width: 286px;
    border: 1px solid #dce6f2;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(20, 45, 85, .18);
}

.pb-dropdown-header {
    padding: 18px 18px 16px;
    border-bottom: 1px solid #eef3f8;
    background: linear-gradient(135deg, #f8fbff 0%, #fffdf7 100%);
}

.pb-user-meta {
    gap: 10px;
    margin-bottom: 8px;
}

.pb-user-name {
    max-width: 150px;
    color: #17233a;
    font-size: 16px;
    font-weight: 750;
}

.pb-vip-badge {
    min-height: 24px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    white-space: nowrap;
}

.pb-vip-badge.badge-normal {
    border-color: #dce5ef;
    background: #f6f8fb;
    color: #66758b;
}

.pb-vip-badge.badge-vip {
    border-color: #f3d58c;
    background: linear-gradient(135deg, #fff9e8, #fff0bd);
    color: #a96700;
}

.pb-vip-expiry {
    color: #8491a5;
}

.pb-vip-expiry .expiry-date {
    color: #c2410c;
    font-weight: 700;
}

.pb-dropdown-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
}

.pb-dropdown-links a {
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #526078;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
}

.pb-dropdown-links a i {
    display: inline-flex;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f4f7fb;
    color: #8090a6;
    font-size: 13px;
}

.pb-dropdown-links a:hover {
    border-color: #dce9fb;
    background: #f7faff;
    color: #1556bb;
}

.pb-dropdown-links a:hover i {
    background: #eaf2ff;
    color: #0b63f6;
}

.pb-dropdown-links a.highlight-link {
    margin-top: 4px;
    border-color: #f3d58c;
    background: #fffaf0;
    color: #a96700;
}

.pb-dropdown-links a.highlight-link i {
    background: #fff0c2;
    color: #c27a00;
}

.pb-dropdown-links a.highlight-link:hover {
    border-color: #e8bd5d;
    background: #fff5d9;
    color: #8c5700;
}

.pb-dropdown-footer {
    padding: 10px;
    background: #fbfcfe;
}

.pb-btn-logout > * + *,
.pb-dropdown-links a > * + * {
    margin-left: 0;
}

.pb-member-container {
    padding: 46px 0 64px;
    background: #f4f7fb;
}

.pb-member-wrapper {
    align-items: flex-start;
    gap: 22px;
    padding: 0 24px;
}

.pb-member-wrapper > * + * {
    margin-left: 0;
}

.pb-member-sidebar {
    position: sticky;
    top: 118px;
    flex: 0 0 248px;
    width: 248px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.pb-user-info {
    padding: 8px 4px 20px;
    border-bottom-color: #edf2f7;
}

.pb-avatar {
    width: 72px;
    height: 72px;
    margin-bottom: 10px;
    border: 4px solid #f7fbff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .12);
    text-transform: uppercase;
}

.pb-username {
    color: #17233a;
    font-size: 17px;
}

.pb-group-name {
    margin-top: 8px;
    border-color: #cfe1fb;
    background: #f0f6ff;
    color: #1e63c5;
    font-weight: 650;
}

.pb-member-menu {
    gap: 3px;
    margin-top: 16px;
}

.pb-menu-item {
    position: relative;
    min-height: 44px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #526078;
    font-weight: 600;
    gap: 8px;
}

.pb-menu-item i {
    display: inline-flex;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f4f7fb;
    color: #8290a7;
    font-size: 13px;
}

.pb-menu-item:hover {
    border-color: #dce9fb;
    background: #f7faff;
    color: #1556bb;
}

.pb-menu-item:hover i {
    background: #eaf2ff;
    color: #0b63f6;
}

.pb-menu-item.active {
    border-color: #cfe1fb;
    background: linear-gradient(135deg, #eef6ff, #f7fbff);
    color: #0b63f6;
    box-shadow: 0 6px 16px rgba(37, 99, 235, .08);
}

.pb-menu-item.active::before {
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: -1px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #0b63f6;
    content: "";
}

.pb-menu-item.active i {
    background: #fff;
    color: #0b63f6;
}

.pb-menu-item > * + * {
    margin-left: 0;
}

.pb-member-main {
    min-width: 0;
}

.pb-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pb-stat-card {
    min-height: 116px;
    gap: 14px;
    padding: 19px 18px;
    border: 1px solid #e3eaf3;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.pb-stat-link:hover {
    border-color: #d4e1f2;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .07);
}

.pb-card-label {
    color: #7a879a;
    font-size: 13px;
}

.pb-card-value {
    max-width: 100%;
    color: #17233a;
    font-size: 21px;
    line-height: 1.35;
}

.pb-card-value.value-text {
    font-size: 14px;
}

.pb-card-value .text-gray-400 {
    color: #7a879a;
    font-size: 13px;
    font-weight: 650;
}

.pb-member-sidebar .text-amber-500 {
    color: #c27a00;
}

.pb-card-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 18px;
}

.pb-notice-board,
#pb-tab-profile,
#pb-tab-password {
    padding: 22px;
    border: 1px solid #e3eaf3;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.pb-block-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom-color: #edf2f7;
    color: #17233a;
    font-size: 17px;
}

.pb-block-title i {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    border-radius: 9px;
    background: #eef6ff;
    color: #0b63f6;
    font-size: 13px;
}

.pb-notice-content {
    padding: 15px 16px;
    border-color: #d6ebf7;
    border-radius: 10px;
    background: #f5fbff;
    color: #28617f;
}

.pb-vip-plans-new {
    gap: 14px;
}

.pb-vip-card-new {
    min-height: 170px;
    padding: 22px;
    border: 1px solid #e1e8f1;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.pb-vip-card-new:hover {
    border-color: #bfd6f5;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .09);
    transform: translateY(-3px);
}

.pb-vip-card-new.active {
    border-color: #8bb7f2;
    background: linear-gradient(135deg, #f2f8ff, #fff);
    box-shadow: 0 14px 30px rgba(37, 99, 235, .11);
}

.pb-vip-badge-new {
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    border: 1px solid #f3d58c;
    border-radius: 999px;
    background: #fff5d9;
    color: #a96700;
}

.pb-vip-title {
    font-size: 17px;
}

.pb-vip-price-new span {
    color: #0b63f6;
}

.pb-pay-section {
    padding: 22px;
    border: 1px solid #e3eaf3;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.pb-pay-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pb-summary-item {
    margin-bottom: 0;
    padding: 12px 14px;
    border: 1px solid #e7edf5;
    border-radius: 10px;
    background: #f8fbff;
}

.pb-btn-pay-now {
    min-height: 46px;
    padding: 0 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2784ff, #0b63f6);
    box-shadow: 0 10px 22px rgba(11, 99, 246, .18);
}

.pb-btn-pay-now:hover {
    background: linear-gradient(135deg, #1c72ea, #0752d1);
    box-shadow: 0 14px 26px rgba(11, 99, 246, .24);
}

.pb-table-responsive {
    overflow-x: auto;
    border: 1px solid #e3eaf3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.pb-order-table {
    margin-top: 0;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
}

.pb-order-table th {
    padding: 14px 16px;
    border-bottom-color: #e7edf5;
    background: #f7f9fc;
    color: #66758b;
    font-size: 12px;
}

.pb-order-table td {
    padding: 15px 16px;
    color: #526078;
    font-size: 13px;
}

.status-badge {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.table-btn {
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 8px;
    font-weight: 700;
}

@media (max-width: 1100px) and (min-width: 769px) {
    .pb-member-sidebar {
        flex-basis: 220px;
        width: 220px;
    }

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

@media (max-width: 768px) {
    .pb-member-container {
        padding: 28px 0 52px;
    }

    .pb-member-wrapper {
        gap: 16px;
        padding: 0 16px;
    }

    .pb-member-sidebar {
        position: static;
        width: 100%;
    }

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

    .pb-notice-board,
    #pb-tab-profile,
    #pb-tab-password,
    .pb-pay-section {
        padding: 18px;
    }

    .pb-pay-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .pb-dropdown-menu {
        right: -8px;
        width: min(286px, calc(100vw - 24px));
    }

    .pb-card-grid {
        grid-template-columns: 1fr;
    }
}
