/* ================= 基础样式 ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

/* 顶部固定区：sticky 固定，背景条横贯全屏宽度，滚动内容不会从两侧侵入 */
/* padding-bottom 15px = 搜索框下方的空白间隙，也纳入背景条内，
   滚动内容会消失在空白间隙的底边，不会侵入 */
.page {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    padding: 28px 0 15px;
    background-color: #f5f7fa;
}

/* 内容列：在全宽背景条内居中，左右留白 */
.page-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ================= 顶部文字区域 ================= */
/* 文字区域与下方搜索框同宽、一起居中，保证左右边缘对齐 */
:root {
    --content-width: 1320px;
}

/* 垂直居中：整行内容以"商展通"为中心线对齐 */
.top-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--content-width);
    margin: 0 auto;
}

/* 垂直居中：右侧黑色链接与大号"商展通"的中心对齐 */
.logo-area {
    display: flex;
    align-items: center;
}

/* logo 图形：位于"商展通"文字左侧，与文字垂直居中 */
.logo-img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-right: 12px;
    flex-shrink: 0;
}

/* 商展通 标题：大号粗体蓝色 */
.logo {
    font-size: 32px;
    font-weight: 700;
    color: #1677ff;
    letter-spacing: 2px;
    margin-right: 48px;
}

/* 文字链接 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #1677ff;
}

/* ===== 企业服务 悬停下拉框 ===== */
.nav-item-dropdown {
    position: relative;
}

/* 隐形桥接条：让鼠标穿过文字与下拉框之间的 2px 间隙时下拉框不消失 */
.nav-item-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
}

/* 下拉框：位于"企业服务"文字下方 2px，浮层可覆盖搜索框 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 2px;
    min-width: 150px;
    display: none;
    background-color: #fff;
    border: 1px solid #e3e9f2;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 34, 67, 0.12);
    padding: 8px 0;
    z-index: 10;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #f0f6ff;
    color: #1677ff;
}

/* ===== 获取App 二维码下拉框（右对齐）===== */
/* 与导航下拉框相反：下拉框右边缘与"App"最后一个字母 p 竖向对齐 */
.dropdown-right .dropdown-menu {
    left: auto;
    right: 0;
}

.app-qr-menu {
    padding: 16px 16px 14px;
    text-align: center;
}

.qr-code {
    display: block;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border: 1px solid #e3e9f2;
    border-radius: 4px;
}

.qr-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* ===== 登录/注册 下拉框：登录、注册两个按钮上下排列 ===== */
.auth-menu {
    width: 136px;
    padding: 10px;
}

/* 登录：蓝底白字主按钮 */
.auth-btn {
    display: block;
    width: 100%;
    height: 36px;
    border: none;
    border-radius: 6px;
    background-color: #1677ff;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.auth-btn:hover {
    background-color: #3c8dff;
}

.auth-btn:active {
    background-color: #0e5fd8;
}

/* 注册：白底蓝框描边的次要按钮 */
.auth-btn-outline {
    margin-top: 8px;
    background-color: #fff;
    border: 1px solid #1677ff;
    color: #1677ff;
}

.auth-btn-outline:hover {
    background-color: #f0f6ff;
    border-color: #3c8dff;
    color: #3c8dff;
}

.auth-btn-outline:active {
    background-color: #e6f0ff;
}

/* 右侧入口：获取App / 语言 / 登录（"登录"右边缘与搜索框右边缘对齐） */
.top-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.top-entry {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    white-space: nowrap;
    transition: color 0.2s;
}

.top-entry:hover {
    color: #1677ff;
}

/* ================= 搜索框区域 ================= */
/* 与上方文字区域的间距为 5px，与文字区域同宽并居中对齐 */
.search-area {
    margin-top: 5px;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

/* 整体蓝色边框的搜索框 */
.search-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    border: 2px solid #1677ff;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
}

/* 放大镜图标 */
.search-icon {
    flex-shrink: 0;
    margin: 0 10px 0 14px;
}

/* 输入框 */
/* min-width: 0 —— 覆盖 flex 子项默认的 min-width:auto，
   否则窄屏时输入框不缩小、把搜索按钮挤出 overflow:hidden 的裁剪范围而消失 */
.search-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    color: #333;
    background-color: transparent;
}

.search-input::placeholder {
    color: #b3bcc7;
}

/* 蓝色搜索按钮，白色文字 */
.search-btn {
    flex-shrink: 0;
    width: 96px;
    height: 100%;
    border: none;
    background-color: #1677ff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background-color: #3c8dff;
}

.search-btn:active {
    background-color: #0e5fd8;
}

/* ================= 视频区域 ================= */
/* 15px 上方间隙由 .page 的 padding-bottom 提供（背景条内），此处不再加 margin */
.video-area {
    position: relative;
    margin-left: 5px;
    margin-right: 5px;
    overflow: hidden;
}

.top-video {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== 视频覆盖文字 ===== */
/* 覆盖层铺满整个视频区域 */
.video-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* 文字容器与搜索框同宽居中：首字左边缘与搜索框左边缘竖向对齐 */
.video-text {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding-top: 48px;
    text-align: left;
}

/* 第一行：不太大的字体 */
.text-line.small {
    font-size: 22px;
    color: #fff;
    margin-bottom: 14px;
}

/* 第二、三行：较大的字体 */
.text-line.big {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* ================= 数据卡片区域 ================= */
/* 视频下方 10px，与搜索框同宽居中（左右对齐） */
.stats-area {
    display: flex;
    gap: 20px;
    max-width: var(--content-width);
    margin: 10px auto 0;
}

/* 单个圆角卡片 */
.stat-card {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15, 34, 67, 0.06);
    padding: 22px 10px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 34, 67, 0.12);
}

/* 上边：标签 */
.stat-label {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
}

/* 下边：数字 */
.stat-value {
    font-size: 30px;
    font-weight: 700;
    color: #1677ff;
}

/* ================= 优质展品区域 ================= */
/* 左图片 + 右列表卡片，各占一半，与搜索框左右对齐 */
/* 距上方数据卡片 10px 间隙 */
.feature-area {
    display: flex;
    gap: 24px;
    max-width: var(--content-width);
    margin: 10px auto 0;
    align-items: stretch;
}

/* 左半：图片（占一半） */
.feature-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右半：圆角卡片（占一半） */
.feature-card {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15, 34, 67, 0.06);
    padding: 32px 40px;
}

.feature-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    font-size: 17px;
    color: #333;
    padding: 10px 0;
}

/* 蓝色圆圈 + 白色数字，与文字间距 10px */
.num-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #1677ff;
    color: #fff;
    font-size: 15px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* ===== 洽谈转化文字：蓝色稍大字体 ===== */
/* 距上方优质展品区域 20px，距下方图片 20px，居中显示 */
.cooperation-text {
    margin: 20px 0;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #1677ff;
}

/* ===== 三张图片：等比缩小并排，与搜索框左右对齐 ===== */
/* 图与图之间 2px 空隙 */
.triple-images {
    display: flex;
    gap: 2px;
    max-width: var(--content-width);
    margin: 0 auto;
}

.triple-images img {
    flex: 1;
    min-width: 0;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}

/* ================= 三个圆角信息卡片 ================= */
/* 均匀并排，大小相同，与搜索框左右对齐 */
.info-cards {
    display: flex;
    gap: 24px;
    max-width: var(--content-width);
    margin: 20px auto 0;
}

/* 单个圆角卡片 */
.info-card {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15, 34, 67, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 上部：标题区，文字居中显示 */
/* relative 供右侧"更多>>"绝对定位，标题保持视觉居中不受影响 */
.info-card-body {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px 16px;
}

/* 标题行最右侧的"更多>>"入口：绝对定位贴右边，垂直与标题对齐 */
.card-more-link {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #1677ff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.card-more-link:hover {
    color: #3c8dff;
}

/* 标题：居中显示 */
.info-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    text-align: center;
}

/* 标题下方：预留图片空位（图片之后填充），浅灰占位区 */
/* flex 1 1 auto：高度基准取自身 height，三张卡片等高时占位区自动撑满剩余空间 */
.info-card-image {
    width: 100%;
    height: 220px;
    background-color: #eef2f8;
    flex: 1 1 auto;
}

/* 占位文案：内容待实现，灰色小字居中 */
.info-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #9aa4b2;
}

/* ===== 优质展品：多组 2x2 图片循环左滑 ===== */
/* overflow: hidden 必须放在这个静止的外层视口上：
   裁剪窗口不动，轨道在里面平移，第二组图片才能滑入可见区 */
/* 白底：图片用 contain 完整显示时，比例差留出的空隙与卡片底色融合 */
.printer-slider {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 450px;
    overflow: hidden;
    background-color: #fff;
}

/* 顶部指示横线：到哪组显示哪条 */
.slider-indicator {
    display: flex;
    gap: 4px;
    padding: 4px 4px 0;
    background-color: #fff;
}

.slider-indicator-bar {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background-color: #e3e9f2;
    transition: background-color 0.3s;
}

.slider-indicator-bar.active {
    background-color: #1677ff;
}

/* 滑动轨道：两组并排，整体左移实现滑动 */
/* 注意不能在此元素上加 overflow: hidden：transform 会连带裁剪窗口一起平移，
   导致第二组图片永远在裁剪窗口外不可见 */
.slider-track {
    flex: 1;
    display: flex;
    transition: transform 0.6s ease;
}

.slider-group {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.slider-group img {
    width: 100%;
    height: 100%;
    /* contain：三种来源图片比例不一（约 1.22:1 与 1.5:1），
       完整显示不裁切，比例差由格子留白消化 */
    object-fit: contain;
    display: block;
}

/* ===== 商家咨询：公司垂直滚动展示 ===== */
/* 视口：一次最多显示 3 家公司，向上滚动轮播 */
.company-viewport {
    height: 450px;
    overflow: hidden;
    position: relative;
}

/* 滚动列表：整体向上平移实现滚动 */
.company-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.6s ease;
}

/* 单条公司信息：高度 150px（border-box，已含 1px 下边框），450 / 150 一次正好显示 3 家 */
.company-item {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    border-bottom: 1px solid #eef2f8;
}

.company-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* 蓝色详情按钮：白色文字，右对齐，距卡片右边留空隙 */
.company-detail-btn {
    flex-shrink: 0;
    padding: 5px 14px;
    border: none;
    border-radius: 5px;
    background-color: #1677ff;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.company-detail-btn:hover {
    background-color: #3c8dff;
}

.company-detail-btn:active {
    background-color: #0e5fd8;
}

.company-biz {
    font-size: 14px;
    color: #666;
}

/* ================= B2B 商务支持卡片 ================= */
/* 与搜索框左右对齐（同 1320px 内容宽），距上方信息卡片 20px */
.support-card {
    max-width: var(--content-width);
    margin: 20px auto 0;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15, 34, 67, 0.06);
    padding: 26px 32px 32px;
}

/* 标题行：标题靠左，"更多商务支持>>"贴最右 */
.support-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.support-title {
    font-size: 24px;
    font-weight: 700;
    color: #0b3d91; /* 深蓝 */
}

/* 右上角"更多商务支持>>"入口 */
.support-more {
    flex-shrink: 0;
    margin-left: 24px;
    font-size: 14px;
    color: #1677ff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.support-more:hover {
    color: #3c8dff;
}

/* 内容区：居中分左右两半，左文右图 */
.support-content {
    display: flex;
    gap: 36px;
    align-items: stretch;
}

/* 左半：文字，与右侧图片垂直居中对齐 */
.support-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

/* 大字标题：蓝色 */
.support-text-title {
    font-size: 30px;
    font-weight: 700;
    color: #1677ff;
    margin-bottom: 18px;
}

/* 文案段落：蓝色 */
.support-text-desc {
    font-size: 16px;
    color: #1677ff;
    line-height: 1.9;
}

.support-text-desc + .support-text-desc {
    margin-top: 10px;
}

/* 右半：图片，等高铺满 */
.support-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.support-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= 底部栏 ================= */
/* B2B 卡片下方 15px 间隙，紫色圆角卡片，与搜索框左右对齐 */
.footer-card {
    display: flex;
    gap: 24px;
    max-width: var(--content-width);
    margin: 15px auto 30px;
    background-color: #5e35b1;
    border-radius: 10px;
    padding: 30px 32px;
}

/* 品牌列：比普通列更宽（1.6 倍），logo 与"商展通"横向排列 */
/* align-self: flex-start —— 整列贴顶，与"国内展会"那一行的顶部对齐（不再垂直居中） */
.footer-brand {
    flex: 1.6;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

/* 品牌名：大号白色粗体 */
.footer-brand-name {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

/* 六列等宽，从上到下列表显示 */
.footer-col {
    flex: 1;
    list-style: none;
}

.footer-col li {
    margin-bottom: 16px;
}

.footer-col li:last-child {
    margin-bottom: 0;
}

/* 白色文字 */
.footer-col a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    transition: opacity 0.2s;
}

.footer-col a:hover {
    opacity: 0.72;
}

/* ================= 敬请期待 模态框 ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s;
    z-index: 999;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 320px;
    padding: 32px 24px 24px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(-12px);
    transition: transform 0.25s;
}

.modal-overlay.show .modal {
    transform: translateY(0);
}

.modal-text {
    margin-bottom: 24px;
    font-size: 18px;
    color: #333;
}

/* 模态框确定按钮 */
.modal-btn {
    width: 120px;
    height: 38px;
    border: none;
    border-radius: 6px;
    background-color: #1677ff;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-btn:hover {
    background-color: #3c8dff;
}

.modal-btn:active {
    background-color: #0e5fd8;
}

/* ================= 手机端导航（汉堡菜单） ================= */
/* 汉堡按钮：仅 ≤768px 显示（display 在下方媒体查询里切换） */
.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #333;
}

.nav-toggle:active .nav-toggle-bar {
    background-color: #1677ff;
}

/* 手机导航面板：默认隐藏，.page 加 nav-open 后展开 */
.mobile-nav {
    display: none;
    margin-top: 12px;
    padding: 6px 0;
    background-color: #fff;
    border: 1px solid #e3e9f2;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 34, 67, 0.12);
}

.mobile-nav a {
    display: block;
    padding: 13px 18px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f4fa;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:active {
    color: #1677ff;
    background-color: #f0f6ff;
}

.page.nav-open .mobile-nav {
    display: block;
}

/* 触屏设备：下拉框改由点击展开（配合 main.js 的 open 类切换） */
.nav-item-dropdown.open .dropdown-menu {
    display: block;
}

/* ================= 响应式适配 ================= */
/* ≤1200px 窄屏：内容列收窄，左右留白减小 */
@media (max-width: 1200px) {
    :root {
        --content-width: calc(100% - 40px);
    }

    .page-inner {
        padding: 0 20px;
    }
}

/* ≤992px 平板：数据卡换行(3+2)，三信息卡竖排，页脚换行 */
@media (max-width: 992px) {
    .stats-area {
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1 1 calc((100% - 40px) / 3);
    }

    .info-cards {
        flex-direction: column;
    }

    .footer-card {
        flex-wrap: wrap;
    }

    /* 品牌列独占一行 */
    .footer-brand {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }

    .footer-col {
        flex: 1 1 calc(25% - 24px);
    }
}

/* ≤768px 手机：导航折叠成汉堡，左右分栏区块上下堆叠 */
@media (max-width: 768px) {
    .page {
        padding-top: 14px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    /* 获取App / 语言 入口收进汉堡面板，顶栏只留登录 */
    .entry-app-wrap,
    .entry-lang {
        display: none;
    }

    .logo {
        font-size: 26px;
        margin-right: 0;
    }

    .logo-img {
        width: 34px;
        height: 34px;
        margin-right: 8px;
    }

    .top-right {
        gap: 14px;
    }

    .top-entry {
        font-size: 14px;
    }

    /* 视频覆盖文字缩小 */
    .text-line.small {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .text-line.big {
        font-size: 26px;
    }

    .video-text {
        padding-top: 22px;
    }

    /* 优质展品：上下堆叠 */
    .feature-area {
        flex-direction: column;
    }

    .feature-image {
        flex: none;
        height: 220px;
    }

    .feature-card {
        padding: 22px 24px;
    }

    .feature-title {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .cooperation-text {
        font-size: 20px;
        margin: 16px 0;
    }

    .info-card-title {
        font-size: 18px;
    }

    /* B2B 支持卡：上下堆叠，图片固定高度 */
    .support-card {
        padding: 20px 18px 24px;
    }

    .support-header {
        margin-bottom: 14px;
    }

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

    .support-content {
        flex-direction: column;
        gap: 18px;
    }

    .support-text-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .support-text-desc {
        font-size: 15px;
        line-height: 1.8;
    }

    .support-image {
        flex: none;
        height: 200px;
    }

    /* 页脚 3 列 */
    .footer-card {
        gap: 14px;
        padding: 22px 18px;
    }

    .footer-col {
        flex: 1 1 calc(33.33% - 14px);
    }

    .footer-col li {
        margin-bottom: 12px;
    }

    .modal {
        width: auto;
        margin: 0 24px;
    }
}

/* ≤480px 小屏手机：数据卡 2 列，页脚 2 列，控件再缩小 */
@media (max-width: 480px) {
    :root {
        --content-width: calc(100% - 20px);
    }

    .page-inner {
        padding: 0 10px;
    }

    .search-box {
        height: 42px;
    }

    .search-btn {
        width: 72px;
        font-size: 15px;
    }

    .stats-area {
        gap: 12px;
    }

    .stat-card {
        flex: 1 1 calc((100% - 12px) / 2);
        padding: 16px 8px;
    }

    .stat-label {
        font-size: 13px;
    }

    .stat-value {
        font-size: 24px;
    }

    .footer-col {
        flex: 1 1 calc(50% - 14px);
    }

    .footer-col a {
        font-size: 14px;
    }

    .footer-brand-name {
        font-size: 22px;
    }

    .footer-logo {
        width: 32px;
        height: 32px;
    }
}
