/* ============================================================
 * 号卡 + 靓号分销平台 —— 毛玻璃主题（Glassmorphism）
 * 规格：
 *   - 卡片圆角 20px / 按钮 12px / 输入框 12px
 *   - 主色 #2563EB  辅助 #06B6D4  强调 #F59E0B
 *   - 背景：渐变光斑 + 动态模糊色块（浅色 / 深色双主题）
 *   - 断点：<=768px 为 H5（底部固定 Tab 导航）
 *   - 触摸目标 >= 44px
 * ============================================================ */

/* ---------- 1. 设计变量：浅色主题（默认） ---------- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: rgba(37, 99, 235, .12);
    --cyan: #06b6d4;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    --text: #0f172a;
    --text-2: #334155;
    --muted: #64748b;
    --line: rgba(15, 23, 42, .1);

    --bg-1: #e0f2fe;
    --bg-2: #ede9fe;
    --bg-3: #fce7f3;

    --glass-bg: rgba(255, 255, 255, .55);
    --glass-bg-strong: rgba(255, 255, 255, .75);
    --glass-border: rgba(255, 255, 255, .65);
    --glass-blur: blur(20px) saturate(180%);
    --shadow-sm: 0 2px 8px rgba(31, 38, 135, .06);
    --shadow: 0 8px 32px rgba(31, 38, 135, .12);
    --shadow-lg: 0 16px 48px rgba(31, 38, 135, .18);

    --radius-card: 20px;
    --radius-btn: 12px;
    --radius-input: 12px;
    --radius-pill: 999px;

    --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --fs-body: 15px;
    --fs-sm: 13px;
    --fs-lg: 17px;
    --fs-h3: 20px;
    --fs-h2: 26px;
    --fs-h1: 32px;

    --header-h: 64px;
}

/* ---------- 2. 深色主题 ---------- */
[data-theme="dark"] {
    --text: #e2e8f0;
    --text-2: #cbd5e1;
    --muted: #94a3b8;
    --line: rgba(255, 255, 255, .12);

    --bg-1: #0b1220;
    --bg-2: #131a2e;
    --bg-3: #1e1b3a;

    --glass-bg: rgba(30, 41, 59, .55);
    --glass-bg-strong: rgba(30, 41, 59, .78);
    --glass-border: rgba(255, 255, 255, .14);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
    --shadow: 0 8px 32px rgba(0, 0, 0, .38);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, .5);
}

/* ---------- 3. 基础重置 ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--text);
    background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 12px; font-weight: 700; line-height: 1.3; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }

/* ---------- 4. 背景光斑（动态模糊色块） ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
    animation: float 18s ease-in-out infinite;
}
.blob.b1 { width: 460px; height: 460px; background: #60a5fa; top: -140px; left: -120px; }
.blob.b2 { width: 400px; height: 400px; background: #22d3ee; bottom: -160px; right: -100px; animation-delay: -6s; }
.blob.b3 { width: 340px; height: 340px; background: #fbbf24; top: 38%; left: 52%; opacity: .32; animation-delay: -12s; }
[data-theme="dark"] .blob { opacity: .28; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.08); }
    66%      { transform: translate(-30px, 40px) scale(.95); }
}

/* ---------- 5. 毛玻璃基类 ---------- */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow);
}

.card {
    border-radius: var(--radius-card);
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-flat:hover { transform: none; }

/* ---------- 6. 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #fff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37, 99, 235, .36); }
.btn-accent { background: linear-gradient(135deg, var(--accent), #f97316); color: #fff; }
.btn-outline {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text);
}
.btn-outline:hover { background: var(--glass-bg-strong); }
.btn-ghost { background: transparent; color: var(--muted); min-height: 36px; padding: 0 12px; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- 7. 表单 ---------- */
.input, .select, .textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: var(--radius-input);
    border: 1px solid var(--line);
    background: var(--glass-bg-strong);
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    transition: all .2s;
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}
.field { margin-bottom: 14px; }
.field-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.field-hint { margin-top: 4px; font-size: 12px; color: var(--muted); }
.field-error { margin-top: 4px; font-size: 12px; color: var(--danger); }

/* 复选框与单选（触摸友好） */
.check-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-input);
    background: var(--glass-bg);
    border: 1px solid var(--line);
    cursor: pointer;
    font-size: 14px;
}
.check-item input { width: 18px; height: 18px; accent-color: var(--primary); }
.check-item.is-active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); font-weight: 600; }

/* ---------- 8. 顶部导航 ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .3px;
    white-space: nowrap;
}
.logo img { height: 32px; width: auto; }
/* 站点副标题（后台「站点设置 → 站点副标题」控制） */
.site-slogan {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2px;
    color: var(--muted);
    padding-left: 10px;
    margin-left: 4px;
    border-left: 1px solid var(--line);
    line-height: 1.2;
}
.logo .grad {
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 4px; flex: 1; }
.nav a {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: all .2s;
}
.nav a:hover { background: var(--primary-soft); color: var(--primary); }
.nav a.active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* 主题切换按钮 */
.theme-toggle {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: var(--radius-btn);
    border: 1px solid var(--line);
    background: var(--glass-bg);
    cursor: pointer;
    font-size: 18px;
}

/* ---------- 9. 主容器与栅格 ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.main { padding: 28px 0 60px; min-height: 60vh; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section { margin-bottom: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-title { font-size: 22px; font-weight: 800; }
.section-more { font-size: 13px; color: var(--muted); }

/* ---------- 10. 首页 Banner ---------- */
.hero {
    position: relative;
    padding: 56px 40px;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: linear-gradient(120deg, rgba(37, 99, 235, .85), rgba(6, 182, 212, .8));
    color: #fff;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .35), transparent 60%);
    pointer-events: none;
}
.hero h1 { font-size: 34px; margin-bottom: 12px; }
.hero p { font-size: 16px; opacity: .95; margin-bottom: 24px; max-width: 620px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-outline { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .45); color: #fff; }

/* ---------- 11. 产品卡片 ---------- */
.product-card {
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-media {
    height: 132px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    position: relative;
}
.product-media .tag-hot {
    position: absolute;
    top: 10px; right: 10px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    font-size: 11px;
    font-weight: 700;
}
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.product-desc { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    background: var(--primary-soft);
    color: var(--primary);
}
.tag-gray { background: rgba(100, 116, 139, .14); color: var(--muted); }
.tag-green { background: rgba(16, 185, 129, .15); color: #047857; }
.tag-orange { background: rgba(245, 158, 11, .16); color: #b45309; }

/* 表单校验失败就地标红（v18.9.10） */
.input-error, .input.input-error, .select.input-error {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .13);
}
.field-error { margin-top: 5px; font-size: 12px; color: var(--danger); }

/* 运营商标签配色（v18.9.9）：五家运营商一眼可辨 */
.tag-op { font-weight: 600; }
.tag-op-mobile   { background: rgba(37, 99, 235, .12);  color: #1d4ed8; }
.tag-op-unicom   { background: rgba(239, 68, 68, .12);  color: #dc2626; }
.tag-op-telecom  { background: rgba(6, 182, 212, .15);  color: #0e7490; }
.tag-op-broadnet { background: rgba(16, 185, 129, .15); color: #047857; }
.tag-op-yinsheng { background: rgba(139, 92, 246, .14); color: #7c3aed; }
[data-theme="dark"] .tag-op-mobile   { background: rgba(96, 165, 250, .18);  color: #93c5fd; }
[data-theme="dark"] .tag-op-unicom   { background: rgba(248, 113, 113, .18); color: #fca5a5; }
[data-theme="dark"] .tag-op-telecom  { background: rgba(34, 211, 238, .18);  color: #67e8f9; }
[data-theme="dark"] .tag-op-broadnet { background: rgba(52, 211, 153, .18);  color: #6ee7b7; }
[data-theme="dark"] .tag-op-yinsheng { background: rgba(167, 139, 250, .18); color: #c4b5fd; }
.product-price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; }
.price { font-size: 22px; font-weight: 800; color: var(--danger); }
.price-unit { font-size: 12px; color: var(--muted); }
.price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }

/* ---------- 12. 靓号卡片 ---------- */
.number-card {
    border-radius: var(--radius-card);
    padding: 18px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}
.number-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.number-value {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    margin-bottom: 8px;
}
.number-value .hl { color: var(--danger); }
.number-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.number-price { font-size: 19px; font-weight: 800; color: var(--danger); margin-bottom: 12px; }

/* ---------- 13. 筛选栏 ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-card);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    margin-bottom: 20px;
    align-items: center;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font-size: 13px; color: var(--muted); margin-right: 2px; }
.filter-search { display: flex; gap: 8px; flex: 1; min-width: 220px; }
.filter-search .input { flex: 1; }

/* ---------- 14. 分页 ---------- */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 28px 0 0;
}
.page-num, .page-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-btn);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 14px;
    transition: all .2s;
}
.page-num:hover, .page-btn:hover { background: var(--primary-soft); color: var(--primary); }
.page-num.is-active {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #fff;
    font-weight: 700;
    border-color: transparent;
}
.page-total { font-size: 13px; color: var(--muted); margin-left: 6px; }

/* ---------- 15. 数据展示 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-card {
    padding: 18px;
    border-radius: var(--radius-card);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-sm);
}
.stat-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.stat-value { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.stat-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- 16. 表格 ---------- */
.table-wrap {
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    overflow-x: auto;
}
table.table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.table th, table.table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
table.table th { background: rgba(148, 163, 184, .1); font-weight: 600; color: var(--text-2); }
table.table tbody tr:hover { background: rgba(148, 163, 184, .07); }
table.table td.wrap { white-space: normal; }

/* ---------- 17. 弹窗 / 抽屉 / Toast（毛玻璃） ---------- */
.modal-mask {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.modal-mask.show { display: flex; }
.modal {
    width: 100%;
    max-width: 460px;
    max-height: 86vh;
    overflow-y: auto;
    padding: 24px;
    border-radius: var(--radius-card);
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-lg);
    animation: pop .22s ease;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.modal-title { font-size: 18px; font-weight: 700; }
.modal-close {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: none;
    background: rgba(148, 163, 184, .18);
    cursor: pointer;
    font-size: 18px;
    color: var(--muted);
}
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }

.drawer-mask {
    position: fixed; inset: 0; z-index: 900;
    display: none;
    background: rgba(15, 23, 42, .4);
    backdrop-filter: blur(6px);
}
.drawer-mask.show { display: block; }
.drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 92vw);
    z-index: 901;
    padding: 22px;
    overflow-y: auto;
    background: var(--glass-bg-strong);
    border-left: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .28s ease;
}
.drawer-mask.show .drawer { transform: translateX(0); }

.toast-wrap {
    position: fixed;
    top: 84px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    padding: 12px 20px;
    border-radius: var(--radius-btn);
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow);
    font-size: 14px;
    animation: toastIn .25s ease;
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--primary); }
@keyframes toastIn { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 18. 页脚与认证标识 ---------- */
.footer {
    margin-top: 50px;
    padding: 40px 0 28px;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; }
.footer-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--primary); }

.cert-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}
.cert-item { display: flex; align-items: center; gap: 6px; }
.cert-item img { height: 34px; width: auto; border-radius: 6px; background: #fff; padding: 2px; }
.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(148, 163, 184, .14);
    font-size: 12px;
}

/* ---------- 19. H5 底部 Tab 导航 ---------- */
.tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    display: none;
    height: 58px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--glass-bg-strong);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.tabbar-inner { display: flex; height: 58px; }
.tabbar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 11px;
    color: var(--muted);
    min-height: 50px;
}
.tabbar a .ic { font-size: 20px; line-height: 1; }
.tabbar a.active { color: var(--primary); font-weight: 700; }

/* ---------- 20. 文章 ---------- */
.article-content { font-size: 15px; line-height: 1.9; color: var(--text-2); }
.article-content h2 { font-size: 20px; margin-top: 26px; }
.article-content h3 { font-size: 17px; margin-top: 20px; }
.article-content p { margin-bottom: 14px; }
.article-content img { border-radius: 12px; margin: 14px 0; }
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content blockquote {
    margin: 14px 0;
    padding: 12px 16px;
    border-left: 3px solid var(--primary);
    background: var(--primary-soft);
    border-radius: 0 10px 10px 0;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- 21. 空状态 ---------- */
.empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--muted);
}
.empty .ic { font-size: 48px; margin-bottom: 12px; opacity: .5; }

/* ---------- 22. 响应式：H5 ---------- */
@media (max-width: 768px) {
    :root { --fs-h1: 24px; --fs-h2: 20px; --fs-h3: 17px; --header-h: 56px; }

    .container { padding: 0 14px; }
    .main { padding: 16px 0 76px; }            /* 留出 Tabbar 高度（移动端略收紧） */
    .tabbar { display: block; height: 56px; }   /* H5 显示底部导航 */
    .tabbar a { font-size: 11px; }
    .tabbar .ic { font-size: 20px; }
    .nav { display: none; }                     /* H5 隐藏顶部菜单 */
    .site-slogan { display: none; }             /* H5 头部空间有限，副标题保留在 Banner 与页脚 */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { padding: 28px 18px; }
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 14px; }

    .card { padding: 15px; border-radius: 16px; }
    .filter-bar { padding: 12px; }
    .section-title { font-size: 18px; }
    .price { font-size: 24px; }
    .btn { padding: 0 14px; font-size: 14px; min-height: 40px; }
    .input, .select, .textarea { font-size: 15px; padding: 10px 12px; }

    /* 移动端下单/详情页：双列改为单列纵向，订单信息置顶、表单在下 */
    .grid.order-grid { grid-template-columns: 1fr !important; }
    .grid.order-grid > .order-info { order: -1; }
    .grid.order-grid [style*="position:sticky"] { position: static !important; }

    /* H5 产品卡片改为横向紧凑布局 */
    .product-media { height: 104px; font-size: 18px; }
    .modal { max-width: 100%; border-radius: 16px 16px 0 0; margin-top: auto; }
    .modal-mask { align-items: flex-end; padding: 0; }
}

@media (max-width: 420px) {
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-value { font-size: 20px; }
    .card { padding: 13px; border-radius: 14px; }
    .btn { min-height: 38px; }
    .input, .select, .textarea { font-size: 14px; padding: 9px 11px; }
    .section-title { font-size: 16px; }
    .tabbar { height: 52px; }
    .main { padding: 14px 0 70px; }
}

/* ---------- 22b. 移动端安全兜底 ---------- */
/* 防止出现横向滚动条 / 内容超出屏幕 */
html, body { overflow-x: hidden; }
img, video, canvas { max-width: 100%; height: auto; }

@media (max-width: 768px) {
    /* 表格在窄屏改为可横向滑动，避免撑破页面 */
    table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    pre, code { overflow-x: auto; }

    /* 适配 iPhone 底部安全区（Home 指示条），避免 Tabbar 被遮挡 */
    .tabbar { padding-bottom: env(safe-area-inset-bottom, 0); }
    .tabbar-inner { height: 56px; }

    /* 长文本/长串（手机号、订单号）自动换行，防止溢出 */
    .card, .product-card, .number-card { word-break: break-word; }
    .container { max-width: 100%; }
}

/* ---------- 23. 打印与可访问性 ---------- */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================
 * v2 视觉升级层 —— 高端科技感 / 动态毛玻璃
 * 说明：本段统一追加在文件末尾，保持原有类名不变，
 *       仅做「外观增强 + 移动端重构」，不改动任何结构类名。
 * ============================================================ */

/* ---------- V1. 动态背景：极光光斑 + 网格 + 顶部高光 ---------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(900px 520px at 10% -10%, rgba(37, 99, 235, .22), transparent 62%),
        radial-gradient(780px 480px at 92% 2%, rgba(6, 182, 212, .20), transparent 60%),
        radial-gradient(720px 440px at 50% 110%, rgba(245, 158, 11, .14), transparent 62%);
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .55;
    background-image:
        linear-gradient(rgba(148, 163, 184, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .16) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(circle at 50% 24%, rgba(0, 0, 0, .9), transparent 72%);
    mask-image: radial-gradient(circle at 50% 24%, rgba(0, 0, 0, .9), transparent 72%);
}
[data-theme="dark"] body::after { opacity: .3; }

/* ---------- V2. 玻璃卡：渐变描边 + 内高光 + 悬浮光晕 ---------- */
.card, .product-card, .number-card, .stat-card, .filter-bar, .table-wrap, .modal {
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.card, .product-card, .number-card, .stat-card {
    position: relative;
    isolation: isolate;
}
.card::before, .product-card::before, .number-card::before, .stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .08) 42%, rgba(37, 99, 235, .45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: .75;
    transition: opacity .3s ease;
}
.card:hover::before, .product-card:hover::before, .number-card:hover::before, .stat-card:hover::before {
    opacity: 1;
}
/* 卡片悬浮时的一层柔光 */
.product-card::after, .card-flat::after { content: ''; }

.product-card, .number-card { transform: translateZ(0); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(31, 38, 135, .22); }
.number-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(31, 38, 135, .22); }

/* ---------- V3. 产品图：动态渐变 + 扫光 ---------- */
.product-media {
    position: relative;
    overflow: hidden;
    height: 118px;
    letter-spacing: .5px;
}
.product-media::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 210deg, rgba(255, 255, 255, .28), transparent 30%, rgba(255, 255, 255, .22) 55%, transparent 78%);
    animation: spinSlow 14s linear infinite;
}
.product-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .5) 50%, transparent 68%);
    transform: translateX(-130%);
    transition: transform .8s ease;
}
.product-card:hover .product-media::after { transform: translateX(130%); }
.product-media > * { position: relative; z-index: 1; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- V4. 角标：火爆 / 推荐 / 新品 ---------- */
/* 角标容器：挂在 .product-card / .number-card 上（不再放进 .product-media），
   避免被媒体区的 overflow:hidden 裁切或被 grid 的 place-items 影响定位。 */
.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 20px);
    pointer-events: none;
}
/* 号码卡的角标一律走文档流（不再绝对定位）：
   绝对定位时多枚角标换行会压住号码正文，且不同卡片宽度无法预知留白高度。 */
.number-card .card-badges {
    position: static;
    margin: 0 0 8px;
    max-width: 100%;
    justify-content: center;
}
.number-card.has-badges { padding-top: 14px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
    color: #fff;
    line-height: 1.7;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .25);
    white-space: nowrap;
}
.badge-hot  { background: linear-gradient(135deg, #fb923c, #ef4444); animation: badgePulse 2.4s ease-in-out infinite; }
.badge-rec  { background: linear-gradient(135deg, #8b5cf6, #2563eb); }
.badge-new  { background: linear-gradient(135deg, #06b6d4, #10b981); }
.badge-sale { background: linear-gradient(135deg, #f59e0b, #f97316); }
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(239, 68, 68, .3); }
    50%      { box-shadow: 0 4px 18px rgba(239, 68, 68, .7); }
}
/* 右上角「热销」保留原 tag-hot，这里统一外观 */
.tag-hot { font-weight: 800; letter-spacing: .3px; box-shadow: 0 4px 12px rgba(15, 23, 42, .25); }

/* ---------- V5. 首页：认证标识条 ---------- */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: -18px 0 32px;
    padding: 14px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-sm);
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    background: var(--glass-bg-strong);
    border: 1px solid var(--line);
    white-space: nowrap;
}
/* 认证标识图标 */
.trust-ico {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    flex: 0 0 auto;
}
.trust-ico.green  { background: linear-gradient(135deg, #10b981, #059669); }
.trust-ico.amber  { background: linear-gradient(135deg, #f59e0b, #f97316); }
.trust-ico.violet { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
/* 认证状态呼吸点（会闪烁） */
.trust-item .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .7);
    animation: dotPulse 1.6s ease-out infinite;
    flex: 0 0 auto;
}
@keyframes dotPulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, .75); opacity: 1; }
    70%  { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); opacity: .75; }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); opacity: 1; }
}
[data-theme="dark"] .trust-item { background: rgba(255, 255, 255, .06); }

/* ---------- V6. 区块标题：科技感前缀条 ---------- */
.section-head { align-items: center; }
.section-title {
    position: relative;
    padding-left: 14px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .2px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 4px; height: 20px;
    transform: translateY(-50%);
    border-radius: 3px;
    background: linear-gradient(180deg, var(--primary), var(--cyan));
    box-shadow: 0 0 12px rgba(37, 99, 235, .55);
}
.section-more { font-size: 13px; color: var(--muted); }

/* ---------- V7. Banner 增强 ---------- */
.hero {
    padding: 60px 44px;
    border-radius: 26px;
    background:
        radial-gradient(1000px 320px at 88% 8%, rgba(255, 255, 255, .28), transparent 60%),
        linear-gradient(120deg, #1d4ed8 0%, #2563eb 42%, #06b6d4 100%);
    box-shadow: 0 26px 60px rgba(13, 45, 120, .35);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(circle at 80% 0%, #000, transparent 70%);
    mask-image: radial-gradient(circle at 80% 0%, #000, transparent 70%);
    pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: 36px; font-weight: 800; letter-spacing: .5px; text-shadow: 0 4px 24px rgba(0, 0, 0, .18); }
.hero p { font-size: 15px; opacity: .92; }
.hero-actions .btn { min-height: 48px; padding: 0 24px; font-size: 15px; }

/* ---------- V8. 滚动入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .62s ease, transform .62s cubic-bezier(.22, .68, .24, 1);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .product-media::before { animation: none; }
    .badge-hot { animation: none; }
}

/* ---------- V9. 移动端底部操作条（详情页「立即办理」） ---------- */
.action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 210;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--glass-bg-strong);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, .16);
}
.action-bar .ab-price { font-size: 20px; font-weight: 800; color: var(--danger); line-height: 1.1; }
.action-bar .ab-sub { font-size: 11px; color: var(--muted); }
.action-bar .btn { flex: 1; min-height: 46px; font-size: 15px; }

/* ---------- V10. 移动端整体瘦身与重排 ---------- */
@media (max-width: 768px) {
    /* 底部 Tab：由 56px 压到 48px，并跟随 iPhone 安全区 */
    .tabbar { height: 48px; padding-bottom: env(safe-area-inset-bottom, 0px); }
    .tabbar-inner { height: 48px; }
    .tabbar a { min-height: 44px; gap: 1px; font-size: 10px; }
    .tabbar a .ic { font-size: 18px; }
    .main { padding: 14px 0 62px; }

    /* 有底部操作条的页面（详情页）：隐藏 Tabbar，避免两层底栏叠加过高 */
    body.has-actionbar .tabbar { display: none !important; }
    body.has-actionbar .action-bar { display: flex; }
    body.has-actionbar .main { padding-bottom: 76px; }

    /* 号卡列表：竖版大图卡 → 横向紧凑卡（图左信息右） */
    .product-card { flex-direction: row; align-items: stretch; border-radius: 16px; }
    .product-media {
        width: 104px;
        min-width: 104px;
        height: auto;
        font-size: 12px;
        padding: 0 6px;
        text-align: center;
        line-height: 1.5;
        writing-mode: horizontal-tb;
    }
    .product-card:hover { transform: none; }
    .product-body { padding: 12px 12px 12px 14px; }
    .product-title { font-size: 15px; margin-bottom: 4px; }
    .product-desc {
        font-size: 12px;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-tags { margin-bottom: 6px; }
    .price { font-size: 19px; }

    /* 首页 / 列表：单列但去掉多余间距 */
    .grid { gap: 12px; }
    .grid-4, .grid-3 { gap: 12px; }
    .section { margin-bottom: 26px; }

    /* 靓号：默认 2 列，信息更紧凑 */
    .num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .number-card { padding: 12px 10px; border-radius: 16px; }
    .number-value { font-size: 17px; letter-spacing: .8px; margin-bottom: 6px; }
    .number-meta { font-size: 11px; margin-bottom: 8px; }
    .number-price { font-size: 16px; margin-bottom: 8px; }
    .pattern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

    /* Banner */
    .hero { padding: 26px 18px; border-radius: 20px; margin-bottom: 18px; }
    .hero h1 { font-size: 23px; }
    .hero p { font-size: 13px; margin-bottom: 16px; }
    .hero-actions .btn { flex: 1; min-height: 44px; padding: 0 12px; font-size: 14px; }

    /* 认证标识条：手机端改两列网格，完整展示不横向滚动 */
    .trust-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 0 0 16px;
        padding: 12px;
        border-radius: 16px;
    }
    .trust-item {
        justify-content: flex-start;
        padding: 8px 10px;
        font-size: 11px;
        white-space: normal;
        line-height: 1.4;
        border-radius: 12px;
    }
    .trust-item .dot { width: 6px; height: 6px; }

    /* 筛选栏：横向滚动 chip */
    .filter-bar { padding: 12px; gap: 8px; border-radius: 16px; }
    .filter-group { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .filter-group::-webkit-scrollbar { display: none; }
    .check-item { min-height: 36px; padding: 0 12px; font-size: 13px; white-space: nowrap; }
    .filter-search { min-width: 100%; }

    /* 详情页：购买卡不再吸侧，紧跟头图 */
    .detail-grid { display: block; }
    .detail-buy { margin-bottom: 14px; }
    .detail-hero { padding: 20px 16px; border-radius: 18px; margin-bottom: 14px; }
    .detail-hero h1 { font-size: 21px; }
    .spec-list { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
    .spec-item { padding: 10px 12px; border-radius: 10px; }
    .spec-item .v { font-size: 16px; }

    /* 页脚也做瘦身 */
    .footer { padding-bottom: 6px; }
    .footer-grid { gap: 16px; }
}

@media (max-width: 420px) {
    .tabbar { height: 46px; }
    .tabbar-inner { height: 46px; }
    .main { padding-bottom: 58px; }
    .product-media { width: 92px; min-width: 92px; font-size: 11px; }
    .num-grid, .pattern-grid { gap: 8px; }
}

/* ---------- V11. 移动端通用兜底（防止任何页面横向溢出 / 元素超宽） ---------- */
@media (max-width: 768px) {
    html { -webkit-tap-highlight-color: transparent; }
    .container { padding: 0 12px; }
    .main { overflow-x: hidden; }

    /* 标题与描述强制换行，杜绝单词/长串撑破容器 */
    h1, h2, h3, .product-title, .number-value, .stat-value { word-break: break-word; }

    /* 区块头：标题与"更多"分两行也不重叠 */
    .section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
    .section-title { font-size: 18px; padding-left: 12px; }
    .section-title::before { height: 17px; }

    /* 统计 2 列 */
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .stat-value { font-size: 21px; }

    /* 分页：按钮缩小，允许换行 */
    .pagination { gap: 6px; }
    .page-num, .page-btn { min-width: 38px; min-height: 38px; padding: 0 8px; font-size: 13px; }

    /* 空状态 */
    .empty { padding: 40px 16px; }

    /* 表单行：手机上不并排，避免输入框被挤成一条缝 */
    .field { margin-bottom: 12px; }
    .input, .select, .textarea { font-size: 16px; }   /* 16px 可避免 iOS 自动缩放页面 */

    /* 表格容器 */
    .table-wrap { border-radius: 14px; }

    /* 底部操作条安全区 */
    .action-bar { padding-left: 10px; padding-right: 10px; }
    .action-bar .ab-price { font-size: 18px; }
    .action-bar .ab-sub { font-size: 10px; }
}

/* ---------- V12. 套餐/靓号详情移动端修复 + 富文本内容自适应 ---------- */
/* 富文本（套餐详情、申请流程、常见问题、文章正文）里的图片 / 表格 / 代码块
   一律不许撑破容器：图片等比缩放，表格块内横向滚动 */
.article-content img,
.article-content video { max-width: 100%; height: auto; }
.article-content table {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.article-content pre { white-space: pre-wrap; word-break: break-word; }
.article-content iframe { max-width: 100%; }

@media (max-width: 768px) {
    /* 底部操作条不再依赖 JS 加 body 类：只要页面有 .action-bar 就显示，
       避免 JS 加载失败时按钮消失、页面底部又留出一截空白 */
    .action-bar { display: flex; }
    body.has-actionbar .tabbar,
    body:has(.action-bar) .tabbar { display: none !important; }
    body.has-actionbar .main,
    body:has(.action-bar) .main { padding-bottom: 80px; }

    /* 详情页通用兜底：任何框架下 flex/grid 子项都不允许收缩成半列 */
    .detail-grid, .order-grid { align-items: stretch !important; }
    .detail-grid > *, .order-grid > * { max-width: 100%; min-width: 0; }

    /* 购买卡里的价格行，防止小屏溢出 */
    .buy-meta li { font-size: 13px; }
}

/* ---------- V13. 手机端页脚精简 + 认证区横向紧凑 ---------- */
/* 默认只显示完整文案，短文案仅手机端启用（注意：必须写在 @media 之前，
   否则同权重的后者会被覆盖） */
.t-mini { display: none; }
@media (max-width: 768px) {
    /* 页脚整体瘦身：单列、链接改成一行内紧凑排布、去掉长段落 */
    .footer { margin-top: 26px; padding: 18px 0 12px; }
    .footer-grid { grid-template-columns: 1fr; gap: 10px; }
    .footer-title { font-size: 13px; margin-bottom: 6px; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 6px 12px; }
    .footer-links li { margin-bottom: 0; font-size: 12px; line-height: 1.5; }
    .footer .logo { margin-bottom: 2px !important; }
    .footer-grid > div > p { font-size: 12px; margin: 0; }
    .footer-grid > div:nth-child(4) > p { display: none; }
    .footer-grid > div:nth-child(4) .btn { min-height: 32px; padding: 0 12px; font-size: 12px; }
    .footer-copy { margin-top: 10px !important; font-size: 11px; }

    /* 认证标识区：横向一行紧凑展示（超宽可左右滑动，隐藏滚动条） */
    .cert-row,
    .trust-strip {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        align-items: center;
        gap: 6px;
        margin-top: 12px;
        padding-top: 10px;
    }
    .cert-row::-webkit-scrollbar,
    .trust-strip::-webkit-scrollbar { display: none; }
    .cert-item, .trust-item { flex: 0 0 auto; white-space: nowrap; }
    .cert-badge { padding: 2px 8px; font-size: 11px; gap: 4px; }
    .cert-item img { height: 26px; }

    /* 首页认证条：压缩成横向胶囊带，一行放不下自动换行（保证全部可见） */
    .trust-strip {
        flex-wrap: wrap;
        overflow: visible;
        margin: 0 0 14px !important;
        padding: 8px 10px !important;
        border-radius: 14px;
    }
    .trust-item { padding: 5px 9px; font-size: 11px; gap: 5px; border-radius: 10px; }
    .trust-ico { width: 15px; height: 15px; font-size: 9px; }
    .trust-item .dot { width: 5px; height: 5px; }
    /* 手机端显示短文案 */
    .t-full { display: none; }
    .t-mini { display: inline; }
}

/* ---------- V14. 内容页栏式栅格 + 手机端强制单列兜底 ---------- */
/* 资讯列表 / 详情 / 工单等「正文 + 侧栏」版式。
   以前直接写在元素的 style 里，手机端没有规则能覆盖 → 390px 宽硬塞两栏，
   正文被挤成一条缝。统一用类控制，宽度不够就自动单栏。 */
.content-grid,
.content-grid-2 { display: grid; gap: 20px; }
.content-grid   { grid-template-columns: minmax(0, 1fr) 280px; }
.content-grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.form-grid-3    { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.similar-grid   { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }

@media (max-width: 1024px) {
    .content-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
    .content-grid,
    .content-grid-2,
    .form-grid-3 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .similar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

    /* 兜底：任何还用内联 style 写多列栅格的元素，手机端一律单列。
       防止以后新增页面再犯同样的错（style 属性里的列数 CSS 覆盖不到）。 */
    [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
    /* 例外：明确只需要两列的密集卡片（靓号数字 grid 等），用类标记可豁免 */
    .keep-2-cols[style*="grid-template-columns"],
    .similar-grid[style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

    /* 资讯列表卡：手机端缩成紧凑横卡 */
    .news-item { gap: 12px !important; }
    .news-thumb { width: 96px !important; height: 64px !important; min-width: 96px !important; border-radius: 10px !important; }
    .news-meta { font-size: 11px; }
    /* 详情标题与封面 */
    .article-title { font-size: 20px !important; line-height: 1.35; }
    .article-cover { border-radius: 12px; margin-bottom: 14px; }
    /* 上一篇 / 下一篇按钮：手机上纵向排列，避免两个按钮挤成半宽 */
    .article-nav { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .article-nav .btn { text-align: left !important; }
}

/* ===== V15: region sub-stations (province / city / district SEO pages) ===== */
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chip {
    display: inline-block; padding: 6px 12px; border-radius: 99px; font-size: 13px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    color: var(--text-2); transition: all .18s;
}
.area-chip:hover { color: var(--primary); border-color: var(--primary); }
.area-chip.is-on {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #fff; border-color: transparent;
}
.area-prov { padding: 14px 16px; border-radius: var(--radius); background: var(--glass-bg); border: 1px solid var(--glass-border); margin-bottom: 12px; }
.area-prov h3 { margin: 0 0 10px; font-size: 15px; }
.area-prov h3 a { color: var(--text-1); }
.area-prov h3 a:hover { color: var(--primary); }
.num-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.seo-article { font-size: 14px; line-height: 1.9; color: var(--text-2); }
.seo-article h2 { font-size: 17px; margin: 20px 0 8px; color: var(--text-1); }
.seo-article p { margin: 0 0 10px; }
.seo-article strong { color: var(--text-1); }
.crumb-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.crumb-bar a { color: var(--muted); }
.crumb-bar a:hover { color: var(--primary); }
@media (max-width: 768px) {
    .area-chips { gap: 6px; }
    .area-chip { padding: 5px 10px; font-size: 12px; }
    .num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .seo-article { font-size: 13px; line-height: 1.8; }
    .seo-article h2 { font-size: 15px; }
}
/* ===== V16: 醒目的订单查询入口 + 号卡地区分站 ===== */
.nav a.nav-hot {
    position: relative;
    padding: 6px 14px;
    border-radius: 99px;
    color: #fff !important;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    box-shadow: 0 6px 18px rgba(37, 99, 235, .35);
    animation: navHotPulse 2.6s ease-in-out infinite;
}
.nav a.nav-hot:hover { filter: brightness(1.08); transform: translateY(-1px); }
@keyframes navHotPulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(37, 99, 235, .35); }
    50%      { box-shadow: 0 6px 26px rgba(37, 99, 235, .62); }
}
.tabbar a.tab-hot { color: var(--primary); font-weight: 700; }
.tabbar a.tab-hot .ic { filter: drop-shadow(0 2px 6px rgba(37, 99, 235, .45)); }
@media (max-width: 768px) {
    .nav a.nav-hot { padding: 5px 12px; font-size: 13px; }
    .area-tabs a { padding: 6px 14px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .nav a.nav-hot { animation: none; }
}
/* ===== V17: 后台余额调整弹窗 ===== */
/* ⚠️ 千万不要在这里写死 .modal-mask 的 display！
   框架约定：.modal-mask { display:none } + .modal-mask.show { display:flex }，
   JS 的 openModal/closeModal 只切 .show 类。
   之前在这里写了 display:flex，导致所有弹窗一进页面就常驻、点关闭也无效
   （后台「靓号库 → 批量导入」「绑定域名 → SSL 配置」都中招）。 */
.modal-mask {
    z-index: 9999;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
/* 只补 display，不要覆盖 align-items / justify-content：手机端有底部抽屉式的变体 */
.modal-mask.show { display: flex; }
.modal-box {
    width: 100%; max-width: 440px; max-height: 90vh; overflow: auto;
    padding: 20px 22px; border-radius: var(--radius, 16px);
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border, rgba(255,255,255,.6));
    box-shadow: 0 24px 60px rgba(15, 23, 42, .35);
}
.modal-head {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 16px; margin-bottom: 14px;
}
.modal-close {
    border: 0; background: transparent; cursor: pointer;
    font-size: 18px; color: var(--muted); line-height: 1;
}
.bal-link { color: var(--danger); font-weight: 700; cursor: pointer; border-bottom: 1px dashed currentColor; }
.bal-link:hover { opacity: .8; }

/* ===== V18: 通信企业风 Banner / 文章页引导卡 / 内置浏览器提示 ===== */

/* --- 首页 Banner（深空蓝通信风） --- */
/* v15：整体压缩高度（padding 56→34、标题 42→32、去掉底部运营商条），
   三项认证改为内嵌的 .hero-tc-auth，Banner 占屏比例明显下降 */
.hero-telecom {
    position: relative;
    overflow: hidden;
    padding: 34px 28px 28px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    background:
        radial-gradient(120% 120% at 12% 0%, #123a7a 0%, rgba(18, 58, 122, 0) 60%),
        radial-gradient(100% 120% at 100% 10%, #0b6ea8 0%, rgba(11, 110, 168, 0) 55%),
        linear-gradient(135deg, #071634 0%, #0a2551 45%, #062033 100%);
    color: #eaf2ff;
    box-shadow: 0 24px 60px rgba(8, 32, 74, .32);
}
.hero-telecom::before { display: none; }   /* 自带 .tc-grid，去掉原 hero 的网格避免叠加 */
.hero-tc-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 22px; }
.hero-tc-bg .tc-grid {
    position: absolute; inset: -2px;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 100%);
}
.hero-tc-bg .tc-glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero-tc-bg .g1 { width: 320px; height: 320px; left: -80px; top: -120px; background: #1d7fd6; }
.hero-tc-bg .g2 { width: 280px; height: 280px; right: -60px; bottom: -120px; background: #12b3a8; }
.hero-tc-bg .tc-wave {
    position: absolute; left: 50%; top: 50%;
    width: 340px; height: 340px; margin: -170px 0 0 -170px;
    border: 1px solid rgba(120, 200, 255, .35); border-radius: 50%;
    animation: tcWave 4.5s ease-out infinite;
}
.hero-tc-bg .w2 { animation-delay: 1.5s; }
.hero-tc-bg .w3 { animation-delay: 3s; }
@keyframes tcWave {
    0%   { transform: scale(.35); opacity: .9; }
    100% { transform: scale(1.6); opacity: 0; }
}
.hero-tc-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
.hero-tc-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 99px; font-size: 13px;
    color: #cfe6ff; background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-tc-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, .22);
    animation: tcDot 1.8s ease-in-out infinite;
}
@keyframes tcDot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero-telecom h1.hero-tc-title {
    font-size: 32px; line-height: 1.28; font-weight: 800; letter-spacing: .8px;
    margin: 14px 0 10px;
}
/* 渐变文字必须有兜底：浏览器不支持 background-clip:text 时
   -webkit-text-fill-color:transparent 会让标题整行消失（Banner 看起来是空的）。 */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero-telecom h1.hero-tc-title {
        background: linear-gradient(100deg, #ffffff 10%, #8fd0ff 55%, #6ee7d5 100%);
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent; color: transparent;
    }
}
.hero-telecom p.hero-tc-desc { font-size: 15px; line-height: 1.9; color: rgba(226, 240, 255, .82); margin: 0 auto; max-width: 680px; }
.hero-tc-actions { justify-content: center; margin-top: 18px; }

/* 三项认证内嵌条：可信网站认证 / 工信部实名认证 / 隐私信息加密 */
.hero-tc-auth {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px; margin-top: 16px;
}
.tc-auth {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600;
    color: rgba(233, 243, 255, .92);
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
/* v16：四项认证统一「绿色呼吸光效」（沿用原「四大运营商官方渠道」绿点的观感） */
.tc-auth-ico {
    font-size: 13px; line-height: 1;
    animation: tcAuthGlow 1.8s ease-in-out infinite;
}
@keyframes tcAuthGlow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(52, 211, 153, .45)); opacity: .82; }
    50%      { filter: drop-shadow(0 0 9px rgba(52, 211, 153, 1)); opacity: 1; }
}
.tc-auth-ico.green  { filter: drop-shadow(0 0 5px rgba(52, 211, 153, .7)); }
.tc-auth-ico.violet { filter: drop-shadow(0 0 5px rgba(167, 139, 250, .7)); }
.hero-telecom .btn-outline { color: #eaf2ff; border-color: rgba(255, 255, 255, .38); }
.hero-telecom .btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.hero-tc-metrics {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px; margin: 20px auto 0; max-width: 700px;
}
.tc-metric {
    padding: 12px 8px; border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tc-metric-val { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.tc-metric-val .tc-unit { font-size: 13px; font-weight: 600; opacity: .8; }
.tc-metric-lab { font-size: 12px; color: rgba(214, 234, 255, .72); margin-top: 2px; }
.hero-tc-ops { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.tc-op {
    padding: 5px 14px; border-radius: 8px; font-size: 12px; letter-spacing: .5px;
    color: rgba(226, 240, 255, .78);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
}
/* ---------- V19: 角标多枚同显 + 号卡卡片信息层级 ---------- */
/* 「火爆 + 推荐 + 仅剩N张」三枚同开时：
   ① 绝对定位的角标换行会盖住卡片正文（原 .number-card 只留了 40px padding-top，
      两行角标就压到号码上）→ 移动端改为文档流，永远不重叠
   ② 角标整体缩小，窄卡片上也能一行放下 */
@media (max-width: 768px) {
    .card-badges {
        top: 8px; left: 8px; gap: 4px;
        max-width: calc(100% - 16px);
    }
    .badge { padding: 2px 7px; font-size: 10px; letter-spacing: 0; }
    .number-card .card-badges {
        position: static;
        margin: 0 0 8px;
        justify-content: flex-start;
        max-width: 100%;
    }
    .number-card.has-badges { padding-top: 14px; }
    /* 号卡卡片：手机端「火爆 + 推荐 + 仅剩N张」三枚同开时，
       绝对定位的角标换行会盖住突出位的套餐名 → 一并改为文档流。 */
    .product-card .card-badges {
        position: static;
        margin: 0;
        padding: 8px 8px 0;
        max-width: 100%;
    }
}

/* 号卡卡片：突出位（顶部色块）显示套餐名称，月租 / 流量不再塞进名称栏 */
.product-media .pm-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 19px; font-weight: 800; line-height: 1.35;
    padding: 0 14px; text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.product-media .pm-sub {
    display: block; margin-top: 4px;
    font-size: 11.5px; font-weight: 500; opacity: .9;
}
@media (max-width: 768px) {
    .product-media .pm-name { font-size: 16px; padding: 0 10px; }
}

@media (max-width: 768px) {
    /* 手机端 Banner bug 修复要点：
       ① 波纹/光晕在小屏上会溢出并被裁成怪形状 → 直接隐藏
       ② 标题 26→22px，副标题只显示 2 行，避免把 Banner 顶得很高
       ③ 认证条与指标条都收紧，整块高度控制在半屏内 */
    .hero-telecom { padding: 22px 16px 20px; border-radius: 16px; }
    .hero-tc-bg .tc-wave, .hero-tc-bg .tc-glow { display: none; }
    .hero-telecom h1.hero-tc-title { font-size: 22px; margin: 10px 0 8px; letter-spacing: .4px; }
    .hero-telecom p.hero-tc-desc {
        font-size: 12.5px; line-height: 1.7;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-tc-badge { font-size: 11.5px; padding: 5px 12px; }
    .hero-tc-actions { margin-top: 14px; gap: 8px; }
    .hero-tc-actions .btn { flex: 1; min-height: 40px; padding: 0 10px; font-size: 13px; }
    .hero-tc-auth { margin-top: 12px; gap: 6px; }
    .tc-auth { padding: 4px 9px; font-size: 11px; }
    .hero-tc-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
    .tc-metric { padding: 9px 6px; border-radius: 10px; }
    .tc-metric-val { font-size: 17px; }
    .tc-metric-lab { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-tc-bg .tc-wave, .hero-tc-dot, .tc-auth-ico { animation: none; }
}

/* --- 文章页办卡引导卡 --- */
.cta-card {
    padding: 18px 18px 20px; border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(37, 99, 235, .08), rgba(16, 185, 129, .07));
    border: 1px solid rgba(37, 99, 235, .22);
}
.cta-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cta-ico {
    width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; font-size: 17px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff;
}
.cta-title { font-size: 15px; font-weight: 700; color: var(--text-1); }
.cta-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cta-list { display: grid; gap: 8px; margin-bottom: 12px; }
.cta-item {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 9px 12px; border-radius: 10px; font-size: 13px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    color: var(--text-1); transition: all .18s;
}
.cta-item:hover { border-color: var(--primary); transform: translateX(2px); }
.cta-item-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cta-item-tag { flex: 0 0 auto; font-size: 12px; color: var(--primary); font-weight: 600; }
.cta-split { height: 1px; background: var(--line); margin: 18px 0 16px; }
.cta-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.cta-num {
    padding: 10px 8px; border-radius: 10px; text-align: center;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    transition: all .18s;
}
.cta-num:hover { border-color: var(--primary); }
.cta-num-val { display: block; font-size: 14px; font-weight: 700; color: var(--text-1); letter-spacing: .5px; }
.cta-num-price { display: block; font-size: 12px; color: var(--danger); margin-top: 3px; }
@media (max-width: 768px) {
    .cta-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- 微信 / QQ 内置浏览器提示 --- */
.inapp-mask {
    position: fixed; inset: 0; z-index: 10000; padding: 22px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(7, 22, 52, .78);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.inapp-box {
    width: 100%; max-width: 380px; padding: 26px 22px 22px;
    border-radius: 18px; text-align: center;
    background: #fff; color: #0f172a;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.inapp-ico { font-size: 40px; line-height: 1; margin-bottom: 10px; }
.inapp-title { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.inapp-desc { margin: 0 0 14px; font-size: 13px; line-height: 1.8; color: #475569; }
.inapp-url {
    padding: 10px 12px; margin-bottom: 14px; border-radius: 10px;
    font-size: 12px; color: #2563eb; word-break: break-all; line-height: 1.6;
    background: #eff6ff; border: 1px dashed #93c5fd;
    -webkit-user-select: all; user-select: all;
}
.inapp-hint { margin: 12px 0 0; font-size: 11px; line-height: 1.7; color: #94a3b8; }

/* ===== V20: 手机端首页修复（角标锚点 / Banner 标题颜色 / 认证横排） ===== */

/* 角标绝对定位必须有定位祖先：.product-card 原本没有 position，
   悬停时 transform 又会临时变成包含块，角标会跳位 */
.product-card { position: relative; }

@media (max-width: 768px) {
    /* ① 号卡卡片：手机端改为「正方形竖向卡」（色块在上、信息在下）。
       不再依赖横向 flex 布局，角标回到绝对定位叠在正方形左上角：
       火爆 + 推荐 + 仅剩N张 三枚同开约 140px，177px 宽的方块放得下；
       套餐名垂直居中在方块中部，与角标（顶部 6px）永不重叠。
       相比之前的通栏条，竖向卡在各种内核下表现一致、兼容性更好。 */
    .grid.card-square { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .grid.card-square .product-card { flex-direction: column; flex-wrap: nowrap; }
    .grid.card-square .product-media {
        width: 100%; min-width: 0; height: auto;
        aspect-ratio: 1 / 1; min-height: 148px;
        padding: 0 12px;
    }
    .grid.card-square .product-media .pm-name { font-size: 15px; }
    .grid.card-square .product-card .card-badges {
        position: absolute;
        top: 6px; left: 6px;
        padding: 0; flex: 0 0 auto;
        gap: 4px; max-width: calc(100% - 12px);
    }
    .grid.card-square .product-card .badge { font-size: 9px; padding: 1px 6px; line-height: 1.6; }
    .grid.card-square .product-body { padding: 10px 11px 12px; }
    .grid.card-square .product-tags { gap: 4px; }

    /* 未加 card-square 的旧列表（如号卡频道页）保持通栏条兜底，
       避免两种布局混用时角标把色块挤窄 */
    .product-card { flex-wrap: wrap; }
    .product-card .card-badges { position: static; flex: 1 1 100%; padding: 7px 9px 0; gap: 4px; }
    .product-card .product-body { flex: 1 1 0; min-width: 0; }

    /* ② Banner 大标题「颜色 bug」：
       桌面端渐变文字（background-clip:text + text-fill-color:transparent）
       会叠加 .hero h1 的 text-shadow，在部分手机内核（微信 X5 / 旧 WebView）
       下渲染成灰黑色光晕，看起来像字体脏掉。
       手机端直接改纯白 + 轻投影，稳定且更醒目。 */
    .hero-telecom h1.hero-tc-title {
        background: none;
        -webkit-background-clip: border-box; background-clip: border-box;
        -webkit-text-fill-color: #fff; color: #fff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
        font-size: 20px;
        letter-spacing: .3px;
        overflow-wrap: anywhere;
    }
    .hero-telecom p.hero-tc-desc { margin-bottom: 0; }

    /* ③ 认证区：手机端改 2×2 网格 + 完整文案。
       一行塞四项完整文案需要缩到 9.5px 才勉强放得下，字太小看不清；
       之前的短文案（授权 / 可信 / 实名 / 加密）又像被截断，
       所以改为两行两列完整展示：图标 + 全称，直观不歧义。 */
    .hero-tc-auth {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 10px;
    }
    .hero-tc-auth .tc-auth {
        justify-content: center;
        padding: 5px 6px; font-size: 11px;
        white-space: nowrap; min-width: 0;
    }
    /* 网格布局下不需要长短文案切换，强制显示完整名称 */
    .hero-tc-auth .t-full { display: inline !important; }
    .hero-tc-auth .t-mini { display: none !important; }

    /* ④ Banner 整体再收一档 */
    .hero-telecom { padding: 18px 14px 16px; }
    .hero-tc-badge { display: none; }
    .hero-tc-actions { margin-top: 12px; gap: 6px; }
    .hero-tc-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 6px; font-size: 12.5px; }
    .hero-tc-metrics { margin-top: 12px; }
}