/* ==========================================================================
   Aurora Theme — Mobile / Tablet Adaptation Layer
   --------------------------------------------------------------------------
   本文件必须在所有主题 CSS 之后加载（各页面 </head> 前引入），
   用于修复原主题在移动端的以下问题：
     1. 导航在 <=768px 被直接隐藏，移动端无任何导航入口
     2. .section-content 固定 80px 内边距，小屏空间浪费严重
     3. 大量固定宽度（335/400/453/600/940px 等）导致横向溢出
     4. 页脚 5 列 flex 布局在手机上被挤压成竖条
     5. 右侧悬浮工具条遮挡正文内容
     6. 缺少触屏点击热区、横向溢出保护、表格滚动容器
   断点：1024px（平板）/ 768px（手机）/ 480px（小屏手机）
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 全局基础与溢出保护
   -------------------------------------------------------------------------- */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  max-width: 100%;
  overflow-x: clip;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

/* 长英文/URL 不撑破容器 */
a,
p,
span,
div,
h1,
h2,
h3,
h4,
h5,
h6,
li,
td,
th {
  overflow-wrap: break-word;
}

/* 流式字号：以 16px 视口为基准，随屏幕线性伸缩 */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  h2 {
    font-size: clamp(21px, 6vw, 28px);
  }

  h3 {
    font-size: clamp(18px, 5vw, 22px);
  }

  h4 {
    font-size: clamp(17px, 4.6vw, 20px);
  }

  h5 {
    font-size: clamp(16px, 4.2vw, 18px);
  }
}

/* 表格与富文本内容横向滚动，避免撑破页面 */
.overview table,
.document-view table,
.document-details table,
.document-view-cont table,
.tab-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 可访问性：键盘焦点可见 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-item:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   0.1 Swiper 轮播容器兼容
   --------------------------------------------------------------------------
   Swiper 8 只定义了 .swiper{overflow:hidden}，而本主题沿用 Swiper 6 时代的
   类名 .swiper-container，因此容器不会裁剪自身内容，slide 会溢出到页面外。
   主题中所有 .gallery-top 都已被手动补上行内 overflow:hidden，唯独
   .gallery-thumbs 漏掉，这里统一补齐，与 Swiper 的预期行为保持一致。 */
.gallery-thumbs {
  overflow: hidden;
}

/* 窄屏下 tab 条内容宽于容器，而 .jr-tabs 带 justify-content:center，
   会把第一个 tab 挤到视口左侧之外；又因 Swiper 的 minTranslate 为 0，
   无法正向位移，导致首个 tab 永远不可见、也无法滑回来。
   改为左对齐，保证第一个 tab 可见、其余 tab 可通过滑动浏览。 */
@media (max-width: 768px) {
  .gallery-thumbs .jr-tabs {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   1. 顶部导航 — 移动端汉堡菜单与抽屉
   -------------------------------------------------------------------------- */
.mobile-nav-toggle,
.mobile-nav,
.mobile-nav-mask {
  display: none;
}

.mobile-nav-toggle {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin-left: 8px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-toggle .mn-bar {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: #1e293b;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.mobile-nav-toggle .mn-bar:nth-child(1) {
  top: 14px;
}

.mobile-nav-toggle .mn-bar:nth-child(2) {
  top: 21px;
}

.mobile-nav-toggle .mn-bar:nth-child(3) {
  top: 28px;
}

.mobile-nav-toggle.is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.mobile-nav-toggle.is-active .mn-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-active .mn-bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-active .mn-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 抽屉本体 */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2100;
  flex-direction: column;
  width: min(86vw, 360px);
  max-width: 100vw;
  background: #ffffff;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.16);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.34s linear;
  will-change: transform;
  padding-bottom: env(safe-area-inset-bottom, 0);
  overscroll-behavior: contain;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-mask {
  position: fixed;
  inset: 0;
  z-index: 2050;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s linear;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-mask.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  height: 56px;
  padding: 0 8px 0 20px;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.mobile-nav-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-close:active {
  background: #f1f5f9;
}

.mobile-nav-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0 12px;
}

.mobile-nav-item {
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link:active {
  background: #f8fafc;
}

.mobile-nav-link.is-current {
  color: #2563eb;
}

.mobile-nav-caret {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item.is-expanded > .mobile-nav-link .mobile-nav-caret {
  transform: rotate(180deg);
  color: #2563eb;
}

.mobile-nav-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item.is-expanded > .mobile-nav-sub {
  grid-template-rows: 1fr;
}

.mobile-nav-sub-inner {
  overflow: hidden;
}

.mobile-nav-sub-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 20px 11px 32px;
  border-left: 2px solid #e2e8f0;
  margin-left: 20px;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-sub-link:active {
  background: #f8fafc;
}

.mobile-nav-sub-link .t {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.mobile-nav-sub-link .d {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

.mobile-nav-foot {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eef2f7;
  background: #fbfdff;
}

.mobile-nav-foot a {
  flex: 1 1 calc(50% - 5px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  text-align: center;
}

.mobile-nav-foot a.mnf-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 60%, #1e40af 100%);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
}

.mobile-nav-foot a.mnf-wide {
  flex: 1 1 100%;
}

body.mobile-nav-locked {
  overflow: hidden;
  touch-action: none;
}

/* --------------------------------------------------------------------------
   2. 平板断点 1024px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* 顶部导航：收起桌面菜单，露出汉堡 */
  .nav-menu,
  .nav-cont {
    display: none !important;
  }

  .nav-header {
    height: 64px !important;
    padding: 0 16px !important;
  }

  .nav-header .nav-left {
    flex-wrap: nowrap !important;
    min-width: 0;
  }

  .nav-header .nav-left .nav-icon {
    margin-right: 0 !important;
    min-width: 0;
  }

  .nav-header .nav-left .nav-icon img,
  .nav-header .nav-left .nav-icon #logo {
    height: auto !important;
    max-height: 38px !important;
    max-width: 46vw !important;
    margin-right: 0 !important;
  }

  .mobile-nav-toggle {
    display: block;
  }

  /* 登录/注册按钮移到抽屉底部，避免把汉堡按钮挤出屏幕
     注意：登录状态由 JS 写入行内 style，必须用 !important 覆盖 */
  .nav-right .no-login {
    display: none !important;
  }

  .nav-right .console-link .nav-btn-item,
  .mobile-nav-toggle {
    flex-shrink: 0;
  }

  .mobile-nav {
    display: flex;
  }

  .mobile-nav-mask {
    display: block;
  }

  .nav-right {
    gap: 8px !important;
    min-width: 0;
  }

  .nav-btn-item {
    padding: 7px 12px !important;
    font-size: 13px !important;
  }

  /* 内容容器 */
  .section-content {
    padding: 56px 20px;
  }

  /* 首页 */
  .aurora-wrap {
    padding: 0 20px;
  }

  .aurora-hero {
    padding: 56px 0 52px;
  }

  .aurora-hero-grid {
    gap: 36px;
  }

  .hero-title {
    font-size: clamp(28px, 4.6vw, 38px);
  }

  .aurora-stats-bar {
    transform: translateY(-24px);
    margin-bottom: 0;
  }

  .stat-info strong {
    font-size: 22px;
  }

  .stat-info strong.stat-title-text {
    font-size: 15px;
  }

  .aurora-section {
    padding: 60px 0;
  }

  .cta-inner-box {
    padding: 48px 32px;
  }

  /* 产品页：两列卡片
     注意 .hot-item / .product-item 原样式带 !important，此处必须同步 */
  .product-hot .hot-item,
  .product-item {
    width: calc(50% - 20px) !important;
  }

  /* 父容器 margin:-10px、子项 margin:10px 的网格卡片 */
  .price .price-item,
  .help-box,
  .standards-box,
  .about-reason .reason-box,
  .about-box .box-list .box-item,
  .docement-list .document-box {
    width: calc(50% - 20px);
    height: auto;
    min-height: 0;
  }

  /* 无外边距的卡片，直接占满 */
  .about-together .reason-box,
  .about-example .box-list .box-item {
    width: 100%;
    height: auto;
  }

  .product-price .price .more a {
    width: 100%;
    height: auto;
    line-height: 1.6;
    padding: 40px 0;
  }

  /* 活动页横向列表改为可换行 */
  .activities-page .active-box .active-list,
  .activities-page .active-box .active-type .seckill-goods,
  .activities-page .active-box .more-acticve .more-box {
    flex-wrap: wrap;
    gap: 16px;
  }

  .activities-page .active-box .active-list .active-item,
  .activities-page .active-box .active-type .seckill-goods .seckill-item,
  .activities-page .active-box .more-acticve .more-box .more-item {
    width: calc(50% - 8px);
    margin-left: 0;
  }

  .activities .activities-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .activities .activities-item,
  .activities .activities-item:first-child {
    height: auto;
    min-height: 168px;
    grid-row: auto;
  }

  .activities .activities-item:hover {
    margin-top: 0;
  }

  /* 通用安全网：工具类弹性行容器在窄屏允许换行 */
  .fboxRow {
    flex-wrap: wrap;
  }

  /* 两栏内容区 -> 单栏（父级转纵向，子项自动拉伸并正确保留自身外边距） */
  .apply,
  .shop-content,
  .about-details,
  .contact-support .support,
  .product-phonation .phonation,
  .efficient,
  .tab-box,
  .product-performance .performance,
  .product-flow .flow,
  .product-cloud .cloud,
  .agent-advantage .advantage,
  .agent-flow .flow,
  .solution-scene .scene-box,
  .feedback-form .form-horizontal .form-group {
    flex-direction: column;
    align-items: stretch;
  }

  .apply > *,
  .shop-content > *,
  .about-details > *,
  .contact-support .support > *,
  .product-phonation .phonation > *,
  .efficient > *,
  .tab-box > *,
  .product-performance .performance > *,
  .product-flow .flow > *,
  .product-cloud .cloud > *,
  .agent-advantage .advantage > *,
  .agent-flow .flow > *,
  .solution-scene .scene-box > * {
    flex: none;
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  /* 没有独立容器类的两栏区（父级只是 .fboxRow 工具类） */
  .announce-new-left,
  .announce-new-right,
  .recuit,
  .recuit-right {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .apply {
    padding: 28px 20px;
  }

  .apply .apply-right {
    margin-left: 0;
    margin-top: 24px;
  }

  .apply .apply-right .money {
    margin-right: 0;
  }

  .shop-content .shop-right {
    width: 100%;
    margin-top: 16px;
  }

  .about-details .about-details-right {
    max-width: 100%;
    margin-top: 24px;
  }

  .about-details .about-details-left p {
    max-width: 100%;
  }

  .recuit-right {
    width: 100%;
    margin-top: 20px;
  }

  .product-phonation .phonation .phonation-left {
    width: 100%;
    height: auto;
    margin-right: 0;
  }

  /* 高效上云 tab 布局 */
  .efficient {
    padding-top: 32px;
  }

  .efficient .nav-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-radius: 3px 3px 0 0;
    -webkit-overflow-scrolling: touch;
  }

  .efficient .nav-tabs li {
    flex: 0 0 auto;
  }

  .efficient .nav-tabs a {
    width: auto;
    min-width: 120px;
    padding: 14px 16px;
    border-bottom: none;
    border-right: 1px solid #e6eaed;
    font-size: 15px;
  }

  .efficient .tab-content {
    min-width: 0;
    border-radius: 0 0 3px 3px;
  }

  .tabs-efficient {
    padding: 28px 20px;
  }

  .tab-box .tabs-content {
    padding-right: 0;
  }

  .tabs-efficient .tabs-img {
    width: 100%;
    margin-top: 24px;
  }

  /* 性能模块 */
  .product-performance .performance .performance-left img,
  .product-performance .performance .performance-left2 img,
  .product-performance .performance .performance-left3 img {
    min-width: 0;
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0 0 24px;
  }

  .product-performance .performance-item {
    min-width: 0;
    width: 100%;
    height: auto;
    min-height: 85px;
    padding: 16px;
  }

  /* 流程条：纵向排列，去掉横向连接箭头 */
  .product-flow .flow,
  .product-icp .flow,
  .product-rent .flow,
  .product-trusteeship .flow {
    gap: 0;
    justify-content: flex-start;
  }

  .product-flow .flow .flow-box,
  .product-icp .flow .flow-box,
  .product-rent .flow .flow-box,
  .product-trusteeship .flow .flow-box,
  .agent-flow .flow-box {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .product-flow .flow .flow-box::before,
  .product-flow .flow .flow-icon::before,
  .product-rent .flow .flow-box::before {
    display: none;
  }

  .trademark-flow {
    height: auto;
  }

  .agent-flow .flow-box img {
    width: 88px;
    height: 88px;
  }

  /* 资讯 / 公告 */
  .news-advert,
  .news-index-banner,
  .news-index-banner .news-banner-cont,
  .news-index-banner .news-banner-filter {
    width: 100%;
    height: auto;
  }

  .announce-new-right,
  .news-box {
    width: 100%;
    margin-top: 20px;
  }

  /* 文档中心 */
  .page .nav-left {
    width: 100%;
    margin-bottom: 16px;
  }

  .docement-list .document-box {
    width: calc(50% - 20px);
    min-height: 0;
  }

  .overview {
    max-width: 100%;
  }

  .document-details .document-view-item .document-view-cont a {
    width: 100%;
  }

  /* 活动 */
  .activities-page .active-box .active-list .active-item,
  .activities-page .active-box .active-type .seckill-goods .seckill-item,
  .activities-page .active-box .more-acticve .more-box .more-item {
    width: calc(50% - 20px);
  }

  .activities-page .active-box .active-type .cloud-goods .cloud-item {
    flex-direction: column;
    height: auto;
    padding: 16px;
  }

  .activities-page .active-box .active-type .cloud-goods .cloud-item .cloud-left,
  .activities-page .active-box .active-type .cloud-goods .cloud-item .cloud-mid .cloud-config-item,
  .activities-page .active-box .active-type .cloud-goods .cloud-item .cloud-right .cloud-price-box,
  .activities-page .active-box .active-type .cloud-goods .cloud-item .cloud-buy-btn {
    width: 100%;
  }

  .activities-page .active-box .active-type .cloud-tab .tab-left .tab-item {
    width: auto;
    min-width: 110px;
  }

  .activities-page .active-box .active-type .tab-right .right-btn {
    width: auto;
    padding: 0 18px;
  }

  /* 方案页 */
  .solution-scene .scene-box {
    padding: 32px 20px;
    gap: 24px;
  }

  .solution-scene .scene-box img,
  .solution-advantage .advantage-box {
    width: 100%;
    height: auto;
  }

  .solution-advantage .advantage {
    height: auto;
    padding-bottom: 8px;
  }

  /* 绝对定位的装饰节点在窄屏会溢出，直接隐藏 */
  .solution-advantage .advantage-list,
  .solution-advantage .line {
    display: none;
  }

  .solution-advantage .advantage-box {
    left: 0 !important;
    bottom: 0 !important;
    position: relative;
  }

  .trend-box {
    height: auto;
  }

  .trend .trend-box img {
    height: auto;
  }

  .agent-advantage .advantage {
    min-width: 0;
  }

  .agent-advantage .advantage-right .advantage-box {
    height: auto;
  }

  .product-sms .standards-box .stand-cont {
    width: 100%;
  }

  /* 关于我们 */
  .about-box .box-list .box-item img,
  .about-example .box-list .box-item img {
    width: 100%;
    height: auto;
  }

  .about .section-content::after {
    width: 100%;
  }

  /* 侧边悬浮工具：缩小并贴底，避免遮挡正文 */
  .aside-tools {
    top: auto;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .aside-tools .tools-list {
    width: 36px;
  }

  .aside-tools .tools-list .tools-item img {
    margin: 7px;
    width: 22px;
    height: 22px;
  }

  .aside-tools .tools-list .tools-item::before {
    right: 8px;
    width: 20px;
  }

  /* 页脚 */
  .promise {
    padding: 12px 20px;
  }

  .promise-box {
    min-width: 0;
    flex: 1 1 50%;
    padding: 10px 0;
    font-size: 14px;
  }

  .promise-box img {
    height: 24px;
    width: 24px;
  }

  .footer-content .footer-nav {
    flex-direction: column;
    gap: 24px !important;
  }

  .footer-content .footer-nav .footer-nav-left {
    flex-wrap: wrap;
    gap: 24px !important;
    margin-right: 0 !important;
  }

  .footer-nav-box {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 140px;
  }

  .footer-content .footer-nav .footer-nav-right {
    width: 100%;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #edf2f7;
    padding-top: 24px;
  }

  .footer .footer-record {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.7;
    padding: 18px 0 12px;
  }
}

/* --------------------------------------------------------------------------
   3. 手机断点 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .section-content {
    padding: 44px 16px;
  }

  .section-title .section-desc {
    font-size: 14px;
    margin-top: 12px;
  }

  /* 导航 */
  .nav-header {
    height: 58px !important;
    padding: 0 12px !important;
  }

  .nav-header .nav-left .nav-icon img,
  .nav-header .nav-left .nav-icon #logo {
    height: auto !important;
    max-height: 32px !important;
    max-width: 38vw !important;
  }

  .nav-right .nav-btn-item span {
    display: none;
  }

  .nav-btn-item {
    padding: 9px 11px !important;
  }

  .nav-header .login-in {
    height: 58px !important;
    padding: 0 4px !important;
  }

  .nav-header .login-in::after {
    display: none;
  }

  .nav-header .login-in .name {
    display: none;
  }

  /* 首页 */
  .aurora-wrap {
    padding: 0 16px;
  }

  .aurora-hero {
    padding: 40px 0 36px;
  }

  .aurora-hero-grid {
    gap: 28px;
  }

  .hero-tag {
    margin-bottom: 16px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .hero-title {
    font-size: clamp(26px, 7.4vw, 34px);
    margin-bottom: 14px;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 26px;
    flex-wrap: wrap;
  }

  .btn-tech {
    padding: 12px 22px;
    font-size: 14px;
  }

  .hero-highlights {
    gap: 10px 16px;
  }

  .hl-item {
    font-size: 12.5px;
  }

  /* 终端卡片 */
  .terminal-card-preview {
    border-radius: 14px;
  }

  .terminal-card-preview:hover {
    transform: none;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  }

  .terminal-header {
    padding: 10px 14px;
    gap: 8px;
  }

  .terminal-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
  }

  .terminal-body {
    padding: 16px 16px 18px;
    font-size: 12px;
    line-height: 1.75;
  }

  .code-line {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .code-line.price-out {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .term-btn-action {
    text-align: center;
    padding: 10px 18px;
  }

  .hero-bg-glow {
    filter: blur(60px);
  }

  .glow-1 {
    width: 300px;
    height: 300px;
    right: -60px;
  }

  .glow-2 {
    width: 260px;
    height: 260px;
  }

  .glow-3 {
    width: 220px;
    height: 220px;
    right: 10%;
  }

  /* 数据条 */
  .aurora-stats-bar {
    transform: none;
    margin-bottom: 0;
    margin-top: 8px;
    padding: 16px 14px;
    gap: 0;
  }

  .stat-card {
    padding: 12px 8px;
    gap: 12px;
    border-radius: 0;
  }

  .stat-card:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .stat-info strong.stat-title-text {
    font-size: 15px;
  }

  .stat-info span {
    font-size: 12px;
  }

  /* 区块 */
  .aurora-section {
    padding: 44px 0;
  }

  .aurora-title {
    margin-bottom: 32px;
  }

  .aurora-title h2 {
    font-size: clamp(20px, 6vw, 26px);
  }

  .section-desc {
    font-size: 13.5px;
  }

  .ps-grid,
  .cases-grid,
  .why-grid,
  .news-grid {
    gap: 14px;
  }

  .ps-card {
    padding: 22px 20px 24px;
  }

  .ps-card:hover {
    transform: none;
  }

  .ps-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .ps-head-text h3 {
    font-size: 17.5px;
  }

  .case-card {
    padding: 18px 16px;
  }

  .case-card:hover {
    transform: none;
  }

  /* CTA */
  .aurora-cta-section {
    padding: 24px 0 52px;
  }

  .cta-inner-box {
    padding: 36px 20px;
    border-radius: 16px;
  }

  .cta-content h2 {
    font-size: clamp(21px, 6.4vw, 28px);
  }

  .cta-content p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .cta-btns {
    flex-direction: column;
    gap: 12px;
  }

  .cta-btns .btn-tech {
    width: 100%;
  }

  .glow-a {
    width: 240px;
    height: 240px;
  }

  .glow-b {
    width: 200px;
    height: 200px;
  }

  /* 产品页 — 单列卡片 */
  .product-banner {
    height: auto;
    min-height: 180px;
    padding: 40px 0;
    background-size: cover;
    background-position: center;
  }

  /* 父容器 margin:-10px、子项 margin:10px 的网格卡片 -> 单列 */
  .price .price-item,
  .help-box,
  .standards-box,
  .about-reason .reason-box,
  .about-box .box-list .box-item,
  .docement-list .document-box {
    width: calc(100% - 20px);
  }

  /* 原样式带 !important 的卡片，同步提高优先级 */
  .product-hot .hot-item,
  .product-item {
    width: calc(100% - 20px) !important;
  }

  /* 无外边距的卡片 */
  .about-together .reason-box,
  .about-example .box-list .box-item {
    width: 100%;
    margin-bottom: 16px;
  }

  /* 活动页列表 -> 单列 */
  .activities-page .active-box .active-list .active-item,
  .activities-page .active-box .active-type .seckill-goods .seckill-item,
  .activities-page .active-box .more-acticve .more-box .more-item {
    width: 100%;
    margin-left: 0;
  }

  .product-hot .hot-item,
  .product-item {
    padding: 22px 18px;
  }

  .product-item .product-item-top h4 {
    font-size: 19px;
  }

  .product-item .product-item-bottom .product-config {
    min-height: 0;
  }

  .product-item .product-item-bottom .product-config > p {
    margin-bottom: 12px;
  }

  .product-item .product-item-bottom .product-config > p .config-lable {
    width: 76px;
    flex: 0 0 76px;
    font-size: 13px;
  }

  .product-item .product-item-bottom .product-config > p .config-value,
  .product-item .product-item-bottom .product-price-box .price-left .price {
    font-size: 13.5px;
  }

  .product-item .product-item-bottom .product-config > p .config-time {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }

  .product-item .product-item-bottom .product-config > p .config-time > span {
    width: auto;
    min-width: 58px;
    padding: 0 12px;
    margin-left: 0;
  }

  .product-item .product-item-bottom .product-price-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .product-item .product-item-bottom .product-price-box .price-right a {
    display: block;
  }

  .product-item .product-item-bottom .product-price-box .price-right .product-btn {
    width: 100%;
    min-width: 120px;
    padding: 10px 18px;
  }

  .product-country {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-country::-webkit-scrollbar {
    display: none;
  }

  .product-country .country-item {
    flex: 0 0 auto;
    padding: 0 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  .product-des {
    font-size: 14px;
  }

  .product-des .link-rule {
    display: inline-block;
  }

  /* 域名相关 */
  .domain-register {
    padding: 20px 16px;
  }

  .domain-register .domain-register-box,
  .domain-register .register-box {
    padding-bottom: 24px;
  }

  .domain-register .domain-register-box {
    margin-bottom: 24px;
  }

  .domain-register .domain-register-box .register-box-item {
    flex-direction: column;
    margin: 18px 0;
    gap: 4px;
  }

  .domain-register .register-box-item .register-box-left {
    width: 100%;
  }

  .domain-info .domain-desc-box {
    min-width: 0;
    padding: 24px 16px 28px;
  }

  .domain-shop .shop-head {
    padding: 20px 16px;
  }

  .domain-shop .shop-head .search-btn {
    width: 100px;
  }

  .input-search input {
    width: 100%;
    font-size: 16px;
    height: 48px;
    margin-top: 16px;
    margin-bottom: 0;
  }

  .input-search .search-btn {
    margin-top: 16px;
    margin-bottom: 0;
    padding: 14px 20px;
    white-space: nowrap;
  }

  .input-search .input-search-select,
  .input-search .input-search-s,
  .input-search .input-search-r {
    width: 108px;
    height: 48px;
    line-height: 48px;
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 13px;
  }

  .input-search .input-search-select .select-box {
    top: 64px;
    width: 100%;
  }

  .shop-content .shop-left,
  .shop-content .shop-right .shop-car {
    padding: 18px 16px;
  }

  .shop-content .shop-left .shop-list .shop-item {
    height: auto;
    min-height: 60px;
    padding: 12px 14px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .shop-left .shop-item-right .item-right {
    width: auto;
    margin-left: 12px;
  }

  /* 域名购买抽屉 */
  .domain-buy .creat-template-box .form-info {
    width: 100%;
  }

  .domain-buy .creat-template-box .form-content {
    padding: 0 16px;
  }

  .domain-buy .creat-template-box .form-content .form-box {
    flex-direction: column;
  }

  .domain-buy .creat-template-box .form-info .form-item {
    flex-direction: column;
    gap: 6px;
  }

  .domain-buy .creat-template-box .form-info .form-item .form-label {
    width: 100%;
  }

  .domain-buy .creat-template-box .form-info .form-item .form-value input,
  .domain-buy .creat-template-box .form-info .form-item .form-value select {
    width: 100%;
  }

  .domain-buy .select-tem .select-content .btn-box .ok-btn,
  .domain-buy .select-tem .select-content .btn-box .back-btn {
    width: auto;
    flex: 1;
    padding: 0 16px;
  }

  /* 活动页 */
  .activities-page .active-box .active-type .seckill-goods .seckill-item .seckill-bottom .seckill-info {
    height: auto;
  }

  .activities-page .active-box .more-acticve .more-box .more-item {
    height: auto;
    padding: 18px 16px;
  }

  .activities-page .dialog-box .authentication-content,
  .activities-page .dialog-box .buyCloud-content {
    width: min(92vw, 520px);
  }

  .activities-page .dialog-box .buy-form select {
    width: 100%;
  }

  .activities-page .dialog-box .buy-form label {
    width: 84px;
  }

  /* 资讯 / 公告 */
  .news-advert {
    height: auto;
    padding: 12px 0;
  }

  .news-index-banner {
    height: auto;
    min-height: 200px;
  }

  .news-index-banner .news-banner-cont,
  .news-index-banner .news-banner-filter {
    height: auto;
  }

  .document-announce .announce-list .announce-item {
    flex-wrap: wrap;
    gap: 6px;
  }

  .document-announce .announce-list .announce-item .announce-item-time {
    min-width: 0;
    width: 100%;
  }

  /* 文档中心 */
  .page .nav-left .nav-head {
    height: auto;
    padding: 20px;
  }

  .page .guide-box {
    width: 100%;
  }

  .document-details .document-view-item .document-view-cont a {
    width: 100%;
  }

  /* 方案页 */
  .solution-trend .trend-box img {
    height: auto;
  }

  .solution-advantage .advantage-box {
    width: 100%;
    height: auto;
  }

  .solution-advantage .advantage {
    height: auto;
  }

  .solution-future .solution-contact .form-group textarea {
    width: 100% !important;
    height: 160px !important;
  }

  /* 关于我们 / 招聘 */
  .about {
    height: auto;
    min-height: 220px;
    padding: 40px 0;
  }

  .about-time {
    padding: 20px 0;
  }

  .time-box,
  .parHd ul {
    height: auto;
    width: 100%;
  }

  .feedback-form .form-horizontal .radio label {
    width: 100%;
  }

  .feedback-form .form-horizontal .form-group .form-file {
    width: 100%;
  }

  /* 代理商 */
  .agent-advantage .advantage {
    min-width: 0;
    width: 100%;
  }

  .agent-flow .flow-box {
    width: 100%;
    height: auto;
    padding: 24px 20px;
  }

  .agent-support .support-box {
    width: 100%;
  }

  /* 页脚 */
  .promise-box {
    flex: 1 1 50%;
    font-size: 13px;
    gap: 8px;
  }

  .footer-content {
    padding: 32px 16px 16px !important;
  }

  .footer-content .footer-nav .footer-nav-left {
    gap: 20px 16px !important;
  }

  .footer-nav-box {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .footer-nav-box .footer-nav-head {
    font-size: 14px !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
  }

  .footer .link-hover,
  .footer-nav-item a {
    font-size: 13px;
  }

  .footer-nav-right .qr-code img {
    width: auto;
    height: auto;
    max-width: 124px;
    max-height: 84px;
  }

  .footer .footer-record {
    font-size: 12px;
  }

  .footer .footer-record a {
    margin-right: 10px;
  }

  #footerRecord .left-info a {
    margin-right: 8px;
  }
}

/* --------------------------------------------------------------------------
   4. 小屏手机断点 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .section-content {
    padding: 36px 14px;
  }

  /* 极窄屏：顶栏只保留 Logo + 汉堡，其余入口全部进抽屉 */
  .nav-right .login-in {
    display: none !important;
  }

  .nav-header .nav-left .nav-icon img,
  .nav-header .nav-left .nav-icon #logo {
    height: auto !important;
    max-height: 28px !important;
    max-width: 44vw !important;
  }

  .nav-right .console-link {
    display: none;
  }

  .nav-right .nav-btn-item {
    padding: 9px 10px !important;
  }

  /* 首页 */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-tech {
    width: 100%;
  }

  .hero-highlights {
    flex-direction: column;
    gap: 8px;
  }

  .aurora-stats-bar {
    padding: 12px 10px;
  }

  .stat-card {
    padding: 10px 4px;
    gap: 10px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
  }

  .ps-grid,
  .cases-grid,
  .why-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .ps-card,
  .case-card {
    padding: 18px 16px;
  }

  .terminal-body {
    font-size: 11.5px;
    padding: 14px 14px 16px;
  }

  .term-price-label {
    font-size: 14px;
  }

  .cta-inner-box {
    padding: 30px 16px;
  }

  /* 卡片内边距收紧（保持 10px 外边距与父容器 -10px 对齐） */
  .price .price-item,
  .help-box,
  .standards-box,
  .docement-list .document-box {
    padding: 18px 14px;
  }

  .product-hot .hot-item,
  .product-item {
    padding: 18px 14px;
  }

  .product-item .product-item-top {
    padding: 16px 14px;
  }

  .product-item .product-item-bottom {
    padding: 16px 14px;
  }

  .product-item .product-item-bottom .product-config > p {
    flex-direction: column;
    gap: 4px;
  }

  .product-item .product-item-bottom .product-config > p .config-lable {
    width: 100%;
    flex: none;
  }

  .product-item .product-item-bottom .product-price-box {
    flex-direction: column;
    align-items: stretch;
  }

  .product-item .product-item-bottom .product-price-box .price-right .product-btn {
    width: 100%;
  }

  .product-country .country-item {
    padding: 0 12px;
    font-size: 13.5px;
  }

  /* 页脚：单列 */
  .footer-nav-box {
    flex: 1 1 100%;
  }

  .promise-box {
    flex: 1 1 100%;
    justify-content: flex-start;
    padding-left: 4px;
  }

  /* 侧边工具条更紧凑 */
  .aside-tools .tools-list {
    width: 32px;
  }

  .aside-tools .tools-list .tools-item img {
    margin: 6px;
    width: 20px;
    height: 20px;
  }

  .aside-tools .tools-list .tools-item .tools-box {
    left: auto;
    right: 40px;
    padding-right: 0;
    padding-left: 0;
  }

  .aside-tools .tools-list .tools-item .tools-box-s {
    width: 176px;
    padding: 16px;
  }
}

/* --------------------------------------------------------------------------
   5. 触屏设备：取消仅 hover 才可见/生效的交互
   -------------------------------------------------------------------------- */
@media (hover: none) {
  .ps-card:hover,
  .case-card:hover,
  .news-card:hover,
  .why-card:hover,
  .product-item:hover,
  .product-hot .hot-item:hover,
  .activities .activities-item:hover,
  .product-item:hover h4 {
    transform: none;
  }

  .product-item:hover {
    box-shadow: none;
  }

  /* 侧边工具：点击展开（由 common.js 切换 .is-tap-open） */
  .aside-tools .tools-list .tools-item.is-tap-open .tools-box {
    display: block;
  }

  /* 触屏上放大可点击元素热区 */
  .nav-item,
  .country-item,
  .shop-item,
  .login-menu-item {
    min-height: 44px;
  }
}

/* --------------------------------------------------------------------------
   6. 无障碍：尊重系统减弱动效偏好
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav-mask,
  .mobile-nav-caret,
  .mobile-nav-sub,
  .mobile-nav-toggle .mn-bar {
    transition: none !important;
  }
}
