/* ================================================================
   vuzcloud 中文站 — 移动端专项优化 v2.2
   ⚠️  可影响桌面视觉的规则仅出现在 max-width 媒体查询内；
       组件默认 display:none 的吸底栏等在桌面不生效
   ================================================================ */

/* ──────────────────────────────────────────
   全局：触控优化 & iOS 修复 + 窄屏设计 token（不改变 ≥769px）
   ────────────────────────────────────────── */

@media (max-width: 768px) {
    :root {
        --mob-shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
        --mob-shadow-md: 0 12px 40px -8px rgba(15, 23, 42, 0.1);
        --mob-shadow-float: 0 -8px 32px rgba(15, 23, 42, 0.08), 0 -1px 0 rgba(255, 255, 255, 0.85) inset;
        --mob-ring: 0 0 0 1px rgba(18, 21, 31, 0.06);
        --mob-radius-sheet: 20px;
    }

    a, button, [role="button"],
    .opt-card, .addon-card, .device-tab,
    .hp-period-btn, .period-btn, .faq-q,
    .mob-tab, .mob-buy-btn, .mobile-cat-chip,
    .page-btn, .masonry-card, .blog-featured,
    .pm-mobile-nav-link, .pm-hamburger-btn {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    input, select, textarea {
        font-size: 16px !important;
    }

    /* 刘海屏左右安全区（桌面 env() 为 0） */
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    /* 汉堡：更易点的触控尺寸（≤768 且侧栏已收合为汉堡时） */
    .pm-hamburger-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 14px;
    }

    .pm-mobile-menu {
        border-radius: 18px;
        box-shadow: var(--mob-shadow-md), var(--mob-ring);
        padding: 12px 12px 14px;
    }

    .pm-mobile-nav-link {
        border-radius: 14px;
        padding: 15px 16px;
        font-size: 15px;
    }

    .pm-mobile-nav-link:active {
        background: rgba(61, 82, 181, 0.08);
        transform: scale(0.992);
    }

    .pm-mobile-nav-link.active {
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    }
}

/* ──────────────────────────────────────────
   移动端新增组件：控制台底部导航栏
   （仅移动端 ≤800px 显示）
   ────────────────────────────────────────── */

.mob-tab-bar {
    display: none; /* 桌面端隐藏 */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(28px) saturate(1.75);
    -webkit-backdrop-filter: blur(28px) saturate(1.75);
    border-top: 1px solid rgba(18, 21, 31, 0.07);
    border-radius: var(--mob-radius-sheet, 20px) var(--mob-radius-sheet, 20px) 0 0;
    box-shadow: var(--mob-shadow-float, 0 -8px 32px rgba(15, 23, 42, 0.08));
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    /* 适配 iPhone 底部 Home Indicator */
    padding-bottom: env(safe-area-inset-bottom);
}

.mob-tab-bar-inner {
    display: flex;
    align-items: center;
    justify-content: stretch;
    min-height: 56px;
    height: auto;
}

.mob-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main, -apple-system, sans-serif);
    color: #8b919f;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 14px;
    margin: 4px 2px;
    min-width: 0;
}

.mob-tab i {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.mob-tab span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    display: block;
}

.mob-tab:hover,
.mob-tab--active {
    color: var(--color-accent, #3d52b5);
}

.mob-tab--active {
    background: rgba(61, 82, 181, 0.09);
    box-shadow: 0 0 0 1px rgba(61, 82, 181, 0.12);
}

.mob-tab:active {
    transform: scale(0.96);
}

.mob-tab--active i {
    transform: translateY(-1px);
}

/* ──────────────────────────────────────────
   移动端新增组件：购买页底部结算吸底栏
   （仅移动端 ≤768px 显示）
   ────────────────────────────────────────── */

.mob-buy-bar {
    display: none; /* 桌面端隐藏 */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(28px) saturate(1.65);
    -webkit-backdrop-filter: blur(28px) saturate(1.65);
    border-top: 1px solid rgba(18, 21, 31, 0.07);
    border-radius: var(--mob-radius-sheet, 20px) var(--mob-radius-sheet, 20px) 0 0;
    box-shadow: var(--mob-shadow-float, 0 -8px 32px rgba(15, 23, 42, 0.1));
    padding-top: 14px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
    align-items: center;
    gap: 14px;
}

.mob-buy-bar-info {
    flex: 1;
    min-width: 0;
}

.mob-buy-bar-price {
    font-size: 22px;
    font-weight: 800;
    color: #12151f;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.mob-buy-bar-price::before {
    content: '$';
    font-size: 13px;
    font-weight: 700;
    vertical-align: top;
    margin-top: 3px;
    display: inline-block;
    margin-right: 1px;
    letter-spacing: 0;
}

.mob-buy-bar-label {
    font-size: 11px;
    color: #8b919f;
    font-weight: 500;
    margin-top: 2px;
}

.mob-buy-btn {
    flex-shrink: 0;
    padding: 14px 24px;
    min-height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4f7ef8 0%, #6366f1 55%, #5b5cf0 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    font-family: var(--font-main, -apple-system, sans-serif);
    letter-spacing: 0.02em;
    box-shadow: 0 6px 20px rgba(79, 126, 248, 0.35), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
    transition: opacity 0.2s, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s;
    white-space: nowrap;
}

.mob-buy-btn:active {
    opacity: 0.88;
    transform: scale(0.97);
}

/* ──────────────────────────────────────────
   全局容器内边距修正
   ────────────────────────────────────────── */

@media (max-width: 768px) {
    /* site-redesign.css 覆盖了 common.css 的移动端内边距，在此修正 */
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* ══════════════════════════════════════════
   首页 · index.html
   ══════════════════════════════════════════ */

@media (max-width: 768px) {
    /* 顶部间距（配合浮动 header + 刘海） */
    .hp {
        padding-top: max(52px, calc(40px + env(safe-area-inset-top)));
    }

    /* 容器内边距 */
    .hp-container {
        padding-left: clamp(16px, 5vw, 28px);
        padding-right: clamp(16px, 5vw, 28px);
    }

    /* ── Hero ── */
    .hp-hero {
        min-height: auto;
        padding: clamp(72px, 12vw, 96px) 0 clamp(36px, 8vw, 52px);
    }

    .hp-title {
        font-size: clamp(1.875rem, 9vw, 2.5rem);
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        line-height: 1.1;
    }

    .hp-lead {
        font-size: clamp(14px, 3.8vw, 16px);
        line-height: 1.75;
        max-width: 100%;
    }

    .hp-kicker {
        font-size: 11px;
        letter-spacing: 0.18em;
        margin-bottom: 18px;
    }

    .hp-pills {
        gap: 7px;
        margin-bottom: clamp(16px, 4vw, 24px);
    }

    .hp-pill {
        font-size: 12px;
        padding: 8px 16px;
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06));
    }

    /* ── CTA 按钮：竖排 + 撑满 ── */
    .hp-cta-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: clamp(22px, 5vw, 32px);
    }

    .hp-cta-row .apple-btn-primary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        text-align: center;
        padding: 15px 24px;
        font-size: 15px;
        border-radius: 100px;
    }

    .hp-cta-row .apple-btn-link {
        font-size: 14px;
        padding: 8px 8px;
    }

    /* ── 信任条 ── */
    .hp-trust-line {
        justify-content: flex-start;
        gap: 8px 16px;
        font-size: 13px;
        line-height: 1.6;
    }

    /* ── 定价区标题 ── */
    .hp-pricing-section {
        padding: 36px 0 44px;
    }

    .hp-pricing-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 16px;
    }

    .hp-pricing-head h2 {
        font-size: clamp(1.15rem, 5.5vw, 1.5rem);
    }

    /* 订阅周期切换器 */
    .hp-period-switcher {
        width: 100%;
        padding: 4px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.55);
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06)), 0 0 0 1px rgba(18, 21, 31, 0.05);
    }

    .hp-period-btn {
        padding: 9px 10px;
        font-size: 12px;
        flex: 1;
        text-align: center;
        border-radius: 10px;
        transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    }

    .hp-period-btn:active {
        transform: scale(0.98);
    }

    .hp-period-btn .hp-period-save {
        font-size: 8px;
        top: -7px;
        right: -2px;
    }

    /* 定价卡片 */
    .hp-price-card {
        padding: 24px 18px 20px;
        border-radius: 16px;
        box-shadow: var(--mob-shadow-md, 0 12px 40px -8px rgba(15, 23, 42, 0.1));
        border: 1px solid rgba(255, 255, 255, 0.88);
    }

    .hp-price-card .hp-pc-price {
        font-size: 2rem;
    }

    .hp-price-card .hp-pc-img {
        max-width: 180px;
        height: 130px;
    }

    .hp-price-card li {
        font-size: 12.5px;
        padding: 4px 0;
    }

    .hp-price-card .hp-pc-btn-primary {
        font-size: 14px;
        padding: 12px 16px;
        margin-bottom: 20px;
    }

    /* ── 数字条 ── */
    .hp-strip {
        padding: clamp(32px, 7vw, 52px) calc(50vw - 50%);
    }

    .hp-strip-item strong {
        font-size: clamp(1.375rem, 5.5vw, 1.875rem);
    }

    .hp-strip-item span {
        font-size: 13px;
        max-width: 100%;
    }

    /* ── Section 通用 ── */
    .hp-section {
        padding: clamp(44px, 8vw, 68px) 0;
    }

    .hp-section-head {
        margin-bottom: clamp(24px, 5vw, 40px);
    }

    .hp-section-head h2 {
        font-size: clamp(1.35rem, 5.5vw, 1.85rem);
        line-height: 1.18;
    }

    .hp-section-head p {
        font-size: 14px;
        line-height: 1.72;
    }

    /* ── 对比区 ── */
    .hp-compare-col {
        padding: 22px 18px;
        border-radius: 16px;
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06));
        border: 1px solid rgba(255, 255, 255, 0.72);
    }

    .hp-compare-col h3 {
        font-size: 13.5px;
        gap: 8px;
        margin-bottom: 16px;
    }

    .hp-compare-col li {
        font-size: 13.5px;
        padding: 10px 0;
        gap: 10px;
        line-height: 1.5;
    }

    /* ── Bento ── */
    .hp-bento-item {
        padding: 24px 18px;
        border-radius: 18px;
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06));
        border: 1px solid rgba(255, 255, 255, 0.75);
    }

    .hp-bento-item h3 {
        font-size: 0.975rem;
        margin-bottom: 8px;
    }

    .hp-bento-item p {
        font-size: 13.5px;
        line-height: 1.68;
    }

    .hp-bento-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.05rem;
        margin-bottom: 16px;
    }

    /* ── 场景卡 ── */
    .hp-scene {
        padding: 20px 16px;
        border-radius: 16px;
        min-height: 150px;
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06));
        border: 1px solid rgba(255, 255, 255, 0.8);
    }

    .hp-scene i {
        font-size: 1.45rem;
        margin-bottom: 12px;
    }

    .hp-scene strong {
        font-size: 14px;
        margin-bottom: 7px;
    }

    .hp-scene span {
        font-size: 12.5px;
    }

    /* ── 规格表 ── */
    .hp-spec-list {
        border-radius: 16px;
    }

    .hp-spec-row {
        padding: 13px 16px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .hp-spec-row span:first-child {
        font-size: 12px;
        color: #7a8299;
        min-width: 60px;
    }

    .hp-spec-row span:last-child {
        font-size: 13px;
        text-align: left;
        font-weight: 600;
    }

    /* ── 地域卡 ── */
    .hp-region-card {
        padding: 14px 8px;
        border-radius: 12px;
        font-size: 12.5px;
    }

    .hp-region-card em {
        font-size: 9px;
        margin-top: 6px;
    }

    /* ── 底部 CTA ── */
    .hp-final-wrap {
        padding: 24px 0 52px;
    }

    .hp-final {
        padding: 32px 18px;
        border-radius: 20px;
        box-shadow: var(--mob-shadow-md, 0 12px 40px -8px rgba(15, 23, 42, 0.1));
        border: 1px solid rgba(255, 255, 255, 0.85);
    }

    .hp-final h2 {
        font-size: clamp(1.35rem, 5.5vw, 1.85rem);
        line-height: 1.18;
        max-width: 100%;
    }

    .hp-final p {
        font-size: 13.5px;
        line-height: 1.68;
        margin-bottom: clamp(24px, 4vw, 32px);
    }

    .hp-final-btns {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hp-final-btns .apple-btn-primary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        text-align: center;
        padding: 15px 24px;
        font-size: 15px;
        border-radius: 100px;
    }

    /* ── 防止全宽区块横向溢出 ── */
    .hp-section--tint {
        overflow-x: hidden;
    }
}

/* 横屏手机：压缩首页 Hero 首屏高度 */
@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
    .hp-hero {
        min-height: 0;
        padding-top: clamp(48px, 10vh, 72px);
        padding-bottom: clamp(20px, 5vh, 36px);
    }
}

/* 超小屏 ≤390px */
@media (max-width: 390px) {
    .hp-period-btn {
        padding: 6px 6px;
        font-size: 11px;
    }

    .hp-price-card {
        padding: 20px 14px 16px;
    }

    .hp-hero {
        padding-top: clamp(62px, 11vw, 80px);
    }
}

/* ══════════════════════════════════════════
   定价页 · jiage.html
   ══════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Hero */
    .pricing-hero {
        padding: 96px 0 36px;
    }

    .pricing-title {
        font-size: clamp(22px, 7vw, 36px) !important;
        line-height: 1.15;
    }

    /* 周期切换器 */
    .period-switcher {
        width: 100%;
        padding: 4px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.55);
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06)), 0 0 0 1px rgba(18, 21, 31, 0.05);
    }

    .period-btn {
        padding: 9px 10px;
        font-size: 12px;
        flex: 1;
        text-align: center;
        border-radius: 10px;
        transition: background 0.2s, transform 0.2s;
    }

    .period-btn:active {
        transform: scale(0.98);
    }

    .period-btn .period-save {
        font-size: 8px;
        padding: 1px 3px;
    }

    /* 规格卡片 */
    .spec-container {
        padding: 32px 0 48px;
    }

    .spec-tier-card {
        padding: 28px 20px;
        border-radius: 18px;
        box-shadow: var(--mob-shadow-md, 0 12px 40px -8px rgba(15, 23, 42, 0.1));
        border: 1px solid rgba(255, 255, 255, 0.88);
    }

    .tier-name {
        font-size: 17px;
    }

    .tier-price {
        font-size: 38px !important;
        letter-spacing: -0.04em;
    }

    .tier-price span {
        font-size: 15px !important;
    }

    .tier-mac-img {
        max-width: 160px;
        height: 120px;
    }

    .spec-item {
        font-size: 14px;
    }

    .btn-m4 {
        margin-top: 24px !important;
        padding: 14px 24px;
        font-size: 14px;
        min-height: 50px;
    }

    /* 对照表：整体横向滚动 */
    .comparison-wrap {
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 40px 0 64px !important;
    }

    .comparison-wrap .container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .comparison-table {
        min-width: 460px;
        font-size: 12.5px;
    }

    .comparison-table th {
        padding: 14px 10px;
        font-size: 10px;
    }

    .comparison-table td {
        padding: 14px 10px;
    }

    .row-label {
        min-width: 100px;
        font-size: 13px;
    }

    /* 页面整体文字 */
    .spec-container > .container > p {
        font-size: 15px !important;
    }
}

/* 定价页横屏：放在通用 ≤768 规则之后，保证覆盖 padding */
@media (max-width: 768px) and (max-height: 520px) and (orientation: landscape) {
    .pricing-hero {
        padding-top: 72px !important;
        padding-bottom: 24px !important;
    }
}

/* ══════════════════════════════════════════
   购买页 · goumai.html + goumai-*.html
   ══════════════════════════════════════════ */

/* 移动端显示底部结算栏 */
@media (max-width: 768px) {
    .mob-buy-bar {
        display: flex !important;
    }

    /* 页面底部增加空间，避免被吸底栏遮挡 */
    .purchase-page {
        padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
    }

    /* 摘要框：在底部栏之上不需要那么大 */
    .summary-box {
        margin-bottom: 8px;
        border-radius: 16px;
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06));
        border: 1px solid rgba(255, 255, 255, 0.85);
    }

    /* 桌面版摘要框中的结算按钮在移动端弱化（已有底部栏） */
    .btn-checkout {
        background: rgba(79, 126, 248, 0.12);
        color: #3d52b5;
        box-shadow: none;
        font-size: 13px;
        padding: 14px;
        border: 1px solid rgba(79, 126, 248, 0.25);
    }

    .btn-checkout:hover {
        opacity: 0.9;
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 640px) {
    .opt-card,
    .addon-card {
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06));
        border: 1px solid rgba(255, 255, 255, 0.82);
        transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s;
    }

    .opt-card:active,
    .addon-card:active {
        transform: scale(0.99);
    }

    /* 步骤标题 */
    .step-header {
        gap: 10px;
        padding-bottom: 14px;
        margin-bottom: 16px;
    }

    .step-name {
        font-size: 15px;
    }

    .step-sub {
        font-size: 11px;
    }

    .step-block {
        margin-bottom: 36px;
    }

    /* 选项卡 */
    .option-grid {
        gap: 8px;
    }

    .opt-card {
        padding: 14px 12px;
        min-height: 76px;
        border-radius: 10px;
    }

    .opt-title {
        font-size: 13px;
    }

    .opt-desc {
        font-size: 10.5px;
    }

    .opt-price {
        font-size: 13px;
    }

    /* Addon 卡 */
    .addon-card {
        padding: 14px 16px;
        border-radius: 10px;
    }

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

    .addon-sub {
        font-size: 10.5px;
    }

    /* 摘要框 */
    .summary-header {
        padding: 13px 16px;
    }

    .summary-body {
        padding: 12px 16px 0;
    }

    .sum-key {
        font-size: 10.5px;
    }

    .sum-val {
        font-size: 11.5px;
    }

    .summary-breakdown {
        margin: 0 16px;
    }

    .bd-key {
        font-size: 10.5px;
    }

    .bd-val {
        font-size: 12px;
    }

    .total-amount {
        font-size: 32px;
        letter-spacing: -0.04em;
    }

    .total-amount .currency {
        font-size: 14px;
        margin-top: 4px;
    }

    .summary-total {
        padding: 14px 16px 16px;
    }

    .checkout-note {
        font-size: 10.5px;
        line-height: 1.6;
        margin-top: 12px;
    }
}

/* ══════════════════════════════════════════
   帮助中心 · bangzhu.html
   ══════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Hero */
    .help-hero {
        padding: 90px 0 32px;
    }

    /* Hero 标题 */
    .help-hero h1 {
        font-size: clamp(28px, 7vw, 42px) !important;
        line-height: 1.12;
    }

    .help-hero p {
        font-size: 14px !important;
        line-height: 1.7;
        margin-top: 10px !important;
    }

    /* 搜索框 */
    .search-wrap {
        max-width: 100%;
        margin-top: 20px;
    }

    .search-input {
        padding: 13px 16px 13px 46px;
        border-radius: 14px;
        font-size: 15px !important;
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06)), 0 0 0 1px rgba(18, 21, 31, 0.04);
    }

    .search-ico {
        font-size: 13px;
        left: 16px;
    }
}

@media (max-width: 640px) {
    /* FAQ 条目 */
    .faq-q {
        font-size: 13.5px;
        padding: 13px 14px;
        line-height: 1.5;
        gap: 10px;
    }

    .faq-toggle {
        width: 22px;
        height: 22px;
        font-size: 9px;
        flex-shrink: 0;
    }

    .faq-a-inner {
        padding: 4px 14px 16px;
        font-size: 13px;
        line-height: 1.72;
    }

    .faq-a-inner code {
        font-size: 12px;
    }

    .faq-item {
        border-radius: 14px;
        margin-bottom: 8px;
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06));
        border: 1px solid rgba(255, 255, 255, 0.78);
        overflow: hidden;
    }

    .faq-q:active {
        background: rgba(61, 82, 181, 0.04);
    }

    .faq-group {
        margin-bottom: 44px;
    }

    /* 分组标题 */
    .group-header {
        gap: 10px;
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

    .group-title {
        font-size: 15.5px;
        letter-spacing: -0.02em;
    }

    .group-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 12px;
    }

    /* 支持 CTA */
    .support-cta {
        padding: 28px 18px;
        border-radius: 16px;
    }

    .support-cta h3 {
        font-size: 17px;
    }

    .support-cta p {
        font-size: 13.5px;
        max-width: 100%;
        margin-bottom: 24px !important;
    }

    /* 按钮 */
    .support-cta .apple-btn,
    .support-cta .btn-m4 {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* ══════════════════════════════════════════
   控制台 · kongzhi.html
   ══════════════════════════════════════════ */

@media (max-width: 800px) {
    /* 显示底部导航栏 */
    .mob-tab-bar {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-around;
        min-height: calc(56px + env(safe-area-inset-bottom));
        height: auto;
        padding-bottom: env(safe-area-inset-bottom);
    }

    /* body 解除 overflow:hidden 允许滚动 */
    body {
        overflow-y: auto !important;
        overflow-x: hidden;
    }

    /* 主布局：单列，高度自适应 */
    .command-shell {
        grid-template-columns: 1fr !important;
        height: auto !important;
        min-height: calc(100vh - 56px - env(safe-area-inset-bottom));
        padding: calc(var(--top-bar-height, 80px) + 8px) 10px 12px !important;
        gap: 10px;
    }

    /* 侧边栏完全隐藏（由底部导航栏代替） */
    .sidebar-glass {
        display: none !important;
    }

    /* 主内容区 */
    .center-main {
        padding: 18px 14px 28px !important;
        border-radius: 16px !important;
        overflow-y: visible !important;
        /* 底部留出 tab bar 空间 */
        padding-bottom: calc(28px + 56px + env(safe-area-inset-bottom)) !important;
    }

    /* 实例标题栏 */
    .node-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 18px;
    }

    .node-title-wrap h2 {
        font-size: 20px !important;
    }

    /* 截止日期放在标题下方 */
    .node-header > div:last-child {
        text-align: left !important;
    }

    /* 仪表板：单列 */
    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    /* 资源规格网格：4列→2列 */
    .specs-mini-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .spec-mini-item {
        padding: 14px 10px;
        border-radius: 14px;
    }

    .spec-mini-val {
        font-size: 13px;
    }

    /* Glass 卡片内边距 */
    .glass-card {
        border-radius: 16px !important;
    }

    /* 连接信息中的 2列网格在小屏全展 */
    .cred-box {
        border-radius: 10px;
    }

    .cred-value {
        font-size: 12px;
        word-break: break-all;
    }

    /* 控制按钮 */
    .control-grid {
        gap: 8px;
        margin-top: 14px;
    }

    .control-btn-unit {
        padding: 14px 8px;
        border-radius: 12px;
    }

    .control-btn-unit i {
        font-size: 16px;
    }

    .control-btn-unit span {
        font-size: 11px;
    }

    /* 订阅管理盒子 */
    .stripe-portal-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 18px;
    }

    /* 页面标题 */
    .view-page-title {
        font-size: 20px !important;
    }

    .view-page-subtitle {
        font-size: 12px !important;
        margin-bottom: 20px !important;
    }

    /* 订单列表 */
    .orders-split-layout {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .orders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-card {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .order-card-title {
        font-size: 13px;
    }

    .order-card-meta {
        font-size: 10.5px;
    }

    .order-card-price {
        font-size: 13px;
    }

    .order-detail-panel-aside {
        position: static !important;
        border-radius: 16px;
    }

    .order-detail-content {
        padding: 20px;
    }

    .detail-fields {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .detail-field {
        padding: 10px 12px;
        border-radius: 10px;
    }

    /* 工单列表 */
    .ticket-list-item {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .ticket-list-name {
        font-size: 13px;
    }

    .ticket-list-meta {
        font-size: 10.5px;
    }

    .tickets-view-header {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* 超小屏控制台 ≤480px */
@media (max-width: 480px) {
    .command-shell {
        padding: calc(var(--top-bar-height, 80px) + 6px) 8px 10px !important;
    }

    .center-main {
        padding: 14px 12px 24px !important;
        padding-bottom: calc(24px + 56px + env(safe-area-inset-bottom)) !important;
        border-radius: 12px !important;
    }

    .specs-mini-grid {
        gap: 8px;
    }

    .spec-mini-item {
        padding: 12px 8px;
    }

    .detail-fields {
        grid-template-columns: 1fr;
    }

    .control-btn-unit span {
        font-size: 10px;
    }
}

/* ══════════════════════════════════════════
   site-redesign.css 共用组件
   ══════════════════════════════════════════ */

@media (max-width: 768px) {
    /* eyebrow 标签 */
    .eyebrow {
        font-size: 10px;
        padding: 5px 11px;
        margin-bottom: 12px;
    }

    /* 超大标题 */
    .super-title {
        font-size: clamp(30px, 8vw, 50px);
        line-height: 1.08;
    }

    /* 副标题 */
    .sub-title {
        font-size: clamp(14px, 4vw, 17px);
        max-width: 100%;
        line-height: 1.6;
    }

    /* 苹果风格按钮 */
    .apple-btn {
        padding: 13px 22px;
        font-size: 15px;
        min-height: 48px;
    }

    /* M4 按钮 */
    .btn-m4 {
        padding: 13px 20px;
        font-size: 14px;
        min-height: 48px;
    }

    /* 特性行 */
    .feature-row {
        margin: 36px 0;
        gap: 18px;
    }

    .feature-card {
        padding: 28px 20px;
        border-radius: 18px;
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06));
        border: 1px solid rgba(255, 255, 255, 0.78);
    }

    .feature-icon {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .feature-card h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 13.5px;
    }
}

/* ══════════════════════════════════════════
   common.css 共用组件
   ══════════════════════════════════════════ */

@media (max-width: 640px) {
    /* 弹窗：底部弹出式（Sheet 模式） */
    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .modal-box {
        position: relative;
        border-radius: 24px 24px 0 0;
        padding: 32px 20px 36px;
        padding-top: 28px;
        padding-bottom: calc(36px + env(safe-area-inset-bottom));
        max-width: 100%;
        width: 100%;
        animation: modalSlideUp 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        box-shadow: 0 -24px 60px rgba(15, 23, 42, 0.12);
    }

    /* Sheet 顶部拖拽暗示条 */
    .modal-box::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        border-radius: 100px;
        background: rgba(18, 21, 31, 0.12);
    }

    @keyframes modalSlideUp {
        from { opacity: 0; transform: translateY(40px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .modal-title {
        font-size: 19px;
    }

    .modal-subtitle {
        font-size: 13px;
        margin-bottom: 22px;
    }

    /* 登录、个人中心、退出确认弹窗同样 Sheet 化 */
    #lm-card, #pm-card, #cl-card, #cia-card {
        border-radius: 24px 24px 0 0 !important;
        padding: 28px 18px !important;
        padding-bottom: calc(28px + env(safe-area-inset-bottom)) !important;
        max-width: 100%;
        width: 100%;
    }

    /* 表单输入 */
    .form-input {
        padding: 13px 14px;
        font-size: 16px !important;
        border-radius: 10px;
    }

    /* 按钮 */
    .btn {
        padding: 13px 20px;
        font-size: 14px;
        min-height: 48px;
    }
}

/* Toast 通知 */
@media (max-width: 480px) {
    .toast-container {
        bottom: max(16px, env(safe-area-inset-bottom));
        right: max(12px, env(safe-area-inset-right));
        left: max(12px, env(safe-area-inset-left));
        align-items: center;
    }

    .toast {
        max-width: 100%;
        width: 100%;
        font-size: 13px;
        padding: 14px 16px;
        border-radius: 14px;
        box-shadow: var(--mob-shadow-md, 0 12px 40px -8px rgba(15, 23, 42, 0.1));
        border: 1px solid rgba(255, 255, 255, 0.75);
    }
}

/* ══════════════════════════════════════════
   Header 移动端补强
   ══════════════════════════════════════════ */

@media (max-width: 480px) {
    /* 浮动导航栏更贴边 + 顶部安全区 */
    .pm-header {
        top: max(8px, env(safe-area-inset-top)) !important;
        width: calc(100% - 20px - env(safe-area-inset-left) - env(safe-area-inset-right)) !important;
        max-width: calc(100vw - 20px - env(safe-area-inset-left) - env(safe-area-inset-right)) !important;
        height: 48px !important;
        border-radius: 13px !important;
    }

    .pm-header-inner {
        padding: 0 14px !important;
    }

    .pm-header-actions {
        gap: 8px !important;
    }

    .pm-logo {
        width: 142px !important;
        height: 30px !important;
    }

    /* 移动端菜单 */
    .pm-mobile-menu {
        top: calc(56px + env(safe-area-inset-top) + 8px);
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
    }
}

/* 窄屏但未至 480：操作区略收紧，避免与汉堡按钮拥挤 */
@media (max-width: 768px) and (min-width: 481px) {
    .pm-header-actions {
        gap: 10px !important;
    }
}

/* ══════════════════════════════════════════
   博客 · index + articles（依赖页面引入 mobile.css）
   ══════════════════════════════════════════ */

@media (max-width: 768px) {
    .blog-hero {
        padding-top: max(88px, calc(72px + env(safe-area-inset-top)));
    }

    .blog-filter-bar {
        top: max(56px, calc(48px + env(safe-area-inset-top)));
    }

    .blog-hero-inner {
        gap: 20px;
    }

    .blog-stats {
        width: 100%;
        justify-content: stretch;
    }

    .blog-stat-item {
        flex: 1;
        min-width: 0;
    }

    .pagination-wrap {
        gap: 6px;
        padding-top: 28px;
    }

    .page-btn {
        min-width: 34px;
        height: 34px;
        font-size: 12px;
    }

    /* 文章页：宽表格横向滚动 */
    .article-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overflow-y: visible;
    }

    .article-table {
        min-width: 480px;
    }

    .article-content img,
    .article-content video {
        max-width: 100%;
        height: auto;
    }

    .purchase-bar-wrap {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

    .masonry-card {
        border-radius: 18px !important;
        box-shadow: var(--mob-shadow-sm, 0 4px 20px rgba(15, 23, 42, 0.06)) !important;
        border: 1px solid rgba(255, 255, 255, 0.82) !important;
        transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s !important;
    }

    .masonry-card:active {
        transform: scale(0.992);
    }

    .blog-featured {
        border-radius: 20px !important;
        box-shadow: var(--mob-shadow-md, 0 12px 40px -8px rgba(15, 23, 42, 0.1)) !important;
        border: 1px solid rgba(255, 255, 255, 0.88) !important;
    }

    .bfilter-btn {
        min-height: 40px;
        padding: 8px 16px;
        border-radius: 100px;
    }

    .bfilter-btn:active {
        transform: scale(0.97);
    }

    .blog-filter-inner {
        padding-left: 4px;
        padding-right: 4px;
        scroll-padding-inline: 12px;
    }
}

@media (max-width: 480px) {
    .article-layout {
        padding-left: max(16px, env(safe-area-inset-left)) !important;
        padding-right: max(16px, env(safe-area-inset-right)) !important;
    }

    .article-hero-inner {
        padding-left: max(16px, env(safe-area-inset-left)) !important;
        padding-right: max(16px, env(safe-area-inset-right)) !important;
    }
}

/* ══════════════════════════════════════════
   Footer 移动端补强
   ══════════════════════════════════════════ */

@media (max-width: 640px) {
    .pm-footer {
        padding: 36px 0 0;
    }

    .pm-footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 28px;
    }

    .pm-footer-brand {
        grid-column: auto;
        max-width: 100%;
    }

    .pm-footer-desc {
        font-size: 12px;
        line-height: 1.8;
        margin: 14px 0 12px;
    }

    .pm-footer-heading {
        font-size: 9.5px;
        margin-bottom: 14px;
    }

    .pm-footer-link {
        font-size: 12.5px;
        margin-bottom: 9px;
    }

    .pm-footer-link:hover {
        transform: none;
    }

    .pm-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 0 20px;
        font-size: 10px;
    }

    .pm-footer-status {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   中文 Swiss 站（body.theme-swiss）移动端专项
   仅 max-width 媒体查询 — 桌面端（≥769px）视觉不变
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    body.theme-swiss {
        overflow-x: clip;
    }

    body.theme-swiss main.pg,
    body.theme-swiss .pg {
        min-width: 0;
        max-width: 100%;
    }

    body.theme-swiss main.pg .pg-wrap {
        min-width: 0;
        padding-left: max(14px, env(safe-area-inset-left)) !important;
        padding-right: max(14px, env(safe-area-inset-right)) !important;
    }

    body.theme-swiss .super-title,
    body.theme-swiss .section-h2,
    body.theme-swiss .sub-title,
    body.theme-swiss .site-compare-cell p,
    body.theme-swiss .faq-q,
    body.theme-swiss .faq-a,
    body.theme-swiss .help-hero-title,
    body.theme-swiss .help-hero-lead {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.theme-swiss .apple-btn,
    body.theme-swiss .apple-btn-primary,
    body.theme-swiss .apple-btn-secondary,
    body.theme-swiss .btn-m4 {
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    body.theme-swiss .period-sw {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    body.theme-swiss .site-features-stats li {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    body.theme-swiss .site-fs-label {
        text-align: left;
        max-width: 100%;
    }

    body.theme-swiss .site-specs-terminal.spec-terminal,
    body.theme-swiss .site-compare-matrix {
        max-width: 100%;
        box-sizing: border-box;
    }

    body.theme-swiss main img,
    body.theme-swiss main video,
    body.theme-swiss main svg {
        max-width: 100%;
        height: auto;
    }

    body.theme-swiss main pre,
    body.theme-swiss main code {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.theme-swiss .help-search {
        max-width: 100%;
    }

    /* 购买页：无 .purchase-page 包裹时仍预留吸底栏高度，避免尾区与页脚被挡住 */
    body.theme-swiss:has(#mob-buy-bar) {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    /* 吸底栏与 Swiss 黑白线框一致（仅 ≤768px 显示栏时生效） */
    body.theme-swiss .mob-buy-bar {
        border-radius: 0;
        border-top: 2px solid #000;
        background: #fff;
        box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.12);
        gap: 12px;
    }

    body.theme-swiss .mob-buy-btn {
        background: var(--swiss-brand, #ff4f00);
        border: 2px solid #000;
        border-radius: 0;
        box-shadow: 4px 4px 0 #000;
        font-weight: 800;
    }

    body.theme-swiss .mob-buy-btn:active {
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0 #000;
    }

    body.theme-swiss .mob-buy-bar-price {
        color: #000;
    }

    body.theme-swiss .mob-buy-bar-label {
        color: var(--swiss-muted, #888);
    }

    /* 购买流程文案 */
    body.theme-swiss .pc-hero-h1,
    body.theme-swiss .pc-hero-p,
    body.theme-swiss .pc-step-h2,
    body.theme-swiss .pc-step-sub,
    body.theme-swiss .pc-bd-row,
    body.theme-swiss .opt-title,
    body.theme-swiss .opt-desc {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.theme-swiss .region-grid,
    body.theme-swiss .model-grid,
    body.theme-swiss .duration-grid,
    body.theme-swiss .region-card,
    body.theme-swiss .model-card,
    body.theme-swiss .dur-card,
    body.theme-swiss .opt-card {
        min-width: 0;
    }

    /* 定价页 hero / 对照表 */
    body.theme-swiss .jiage-h1,
    body.theme-swiss .jiage-subtitle,
    body.theme-swiss .comp-h2,
    body.theme-swiss .comp-lead,
    body.theme-swiss .comp-row-label,
    body.theme-swiss .comp-cell {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.theme-swiss .site-comp-section .comp-panels,
    body.theme-swiss .comp-section .comp-panels {
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    body.theme-swiss .jiage-hero-btns .jiage-hero-btn-primary,
    body.theme-swiss .jiage-hero-btns .jiage-hero-btn-ghost {
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    /* 对比矩阵：窄屏字号与内边距 */
    body.theme-swiss .site-compare-matrix-label {
        font-size: clamp(10px, 2.8vw, 12px);
        padding: clamp(10px, 2.2vw, 14px) clamp(8px, 2vw, 14px);
        line-height: 1.35;
    }

    body.theme-swiss .site-compare-cell {
        padding: clamp(12px, 3vw, 18px) clamp(12px, 3vw, 18px);
        font-size: 13px;
    }

    body.theme-swiss .hero--m4 .hero-product-lockup-name,
    body.theme-swiss .hero--m4 .hero-stage-title {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.theme-swiss .cat-card,
    body.theme-swiss .cat-card .cat-title {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.theme-swiss .usecase-card,
    body.theme-swiss .site-usecase-card {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    body.theme-swiss main.pg .pg-wrap {
        padding-left: max(12px, env(safe-area-inset-left)) !important;
        padding-right: max(12px, env(safe-area-inset-right)) !important;
    }

    body.theme-swiss .price-card {
        padding: 28px 16px 24px !important;
    }

    body.theme-swiss .site-features-cta,
    body.theme-swiss a.site-specs-cta.specs-link {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    body.theme-swiss .site-final-btns.final-btns,
    body.theme-swiss .final-btns {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    body.theme-swiss .site-final-btns .final-btn-primary,
    body.theme-swiss .site-final-btns .final-btn-ghost,
    body.theme-swiss .final-btns .final-btn-primary,
    body.theme-swiss .final-btns .final-btn-ghost {
        width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    body.theme-swiss .site-specs-terminal.spec-terminal {
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1) !important;
    }

    /* 极窄屏：吸底栏纵向堆叠，价签与按钮更易读 */
    body.theme-swiss .mob-buy-bar {
        flex-direction: column;
        align-items: stretch;
        padding-top: 12px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    body.theme-swiss .mob-buy-bar-info {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }

    body.theme-swiss .mob-buy-btn {
        width: 100%;
        justify-content: center;
    }

    body.theme-swiss .pc-hero {
        padding-top: max(64px, calc(52px + env(safe-area-inset-top)));
        padding-left: 0;
        padding-right: 0;
    }

    body.theme-swiss .jiage-hero {
        padding-left: 0;
        padding-right: 0;
    }

    /* 吸底栏改为纵向后更高，多留底栏避让 */
    body.theme-swiss:has(#mob-buy-bar) {
        padding-bottom: calc(128px + env(safe-area-inset-bottom));
    }
}

/* ═══════════════════════════════════════════════════════════════
   中文 Swiss 全站（body.theme-swiss）移动端补强 v1
   仅 max-width 媒体查询 — 桌面 ≥769px 不受影响
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Hero：主按钮区竖排撑满，避免长文案挤出视口 */
    body.theme-swiss .hero-ctas {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
        max-width: 100%;
        gap: 10px !important;
    }

    body.theme-swiss .hero-btn-primary,
    body.theme-swiss .hero-btn-secondary {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: center !important;
        text-align: center;
        min-height: 48px;
    }

    body.theme-swiss .hero-desc {
        max-width: 100% !important;
    }

    /* 右侧产品舞台：收窄过高 min-height，减少小屏空白 */
    body.theme-swiss .hero--m4 .hero-visual-shell {
        min-height: min(46vw, 360px) !important;
    }

    body.theme-swiss .hero-visual {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 数据条：安全区内边距 */
    body.theme-swiss .stats-inner {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    body.theme-swiss .stats-label {
        font-size: 12.5px;
        line-height: 1.55;
    }

    /* 定价区：周期切换触控尺寸 */
    body.theme-swiss .period-sw .period-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.theme-swiss .pc-cta {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    body.theme-swiss .section-lead,
    body.theme-swiss .pricing-foot {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* 节点 pill：更易点按 */
    body.theme-swiss .region-pill {
        min-height: 48px;
        box-sizing: border-box;
        justify-content: center;
    }

    /* 底栏 CTA 区：深色背景上的内边距 */
    body.theme-swiss .final-section .pg-wrap {
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
    }

    /* 帮助页分类卡网格已在页面内联；此处统一触控反馈与安全区 */
    body.theme-swiss .cats-grid {
        gap: 10px;
    }

    body.theme-swiss .cat-card {
        min-width: 0;
    }

    /* 博客列表容器：防止子项撑出横向滚动 */
    body.theme-swiss #blog-list-container {
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    body.theme-swiss .hero-h1-display {
        font-size: clamp(2rem, 11vw, 2.65rem) !important;
    }

    body.theme-swiss .hero-h1-subline {
        font-size: clamp(0.9rem, 3.8vw, 1.05rem) !important;
    }

    body.theme-swiss .hero-desc {
        font-size: 14px !important;
        line-height: 1.72 !important;
    }

    body.theme-swiss .stats-num {
        font-size: clamp(1.25rem, 6vw, 1.65rem);
    }

    body.theme-swiss .final-section {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    body.theme-swiss .final-h2 {
        font-size: clamp(1.35rem, 6.5vw, 1.85rem);
    }

    body.theme-swiss .final-p {
        font-size: 13.5px;
        max-width: 100%;
    }
}
