/* ===== 号卡分销聚合网站 前台样式（电脑+手机自适应） ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #f5f7fa;
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }
img { max-width: 100%; vertical-align: middle; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== 顶部导航 ===== */
.site-header {
  background: var(--c-header-bg, #fff);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo a { display: flex; align-items: center; }
.logo img { height: 36px; max-height: 36px; width: auto; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--c-primary); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: transparent;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #333; border-radius: 2px; transition: all 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav ul { display: flex; list-style: none; gap: 6px; }
.site-nav li a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  color: #333;
  font-size: 15px;
}
.site-nav li a:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.site-nav li.active a { background: var(--c-primary); color: #fff; }

/* ===== 主体 ===== */
.main { padding: 20px 0 40px; }
.section { margin-bottom: 32px; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 21px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.5px;
}
.section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--c-grad-a), var(--c-grad-b));
  border-radius: 2px;
  margin-right: 10px;
}
.section-title .more { font-size: 13px; font-weight: 400; color: #999; }

/* ===== 轮播 ===== */
.banner {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #e6ebf2;
  margin-bottom: 28px;
}
.banner-track { display: flex; transition: transform 0.5s ease; }
.banner-slide { flex: 0 0 100%; position: relative; }
.banner-slide img { width: 100%; height: 320px; object-fit: cover; display: block; }
.banner-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
}
.banner-dots {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}
.banner-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.banner-dots button.active { background: #fff; }

/* ===== 卡片网格（号卡/WiFi 平台） ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.06);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.12);
  transform: translateY(-3px);
}
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.card-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  background: var(--c-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--c-primary);
  font-weight: 700;
}
.card-name { font-size: 17px; font-weight: 700; color: #222; }
a.card-name { text-decoration: none; transition: color 0.2s; }
a.card-name:hover { color: var(--c-primary); }
.card-intro {
  flex: 1;
  font-size: 14px;
  color: #888;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 推荐码（醒目展示） */
.card-recommend {
  margin-bottom: 12px;
  padding: 7px 10px;
  border: 1px dashed var(--c-primary-light);
  border-radius: 8px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 13px;
  text-align: center;
}
.card-recommend b { font-size: 16px; letter-spacing: 0.5px; }
/* 四按钮组：注册/登录/APP下载/店铺 */
.card-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.card-actions:empty { display: none; margin-bottom: 0; }
.card-action-btn {
  display: block;
  padding: 7px 6px;
  border: 1px solid var(--c-primary-light);
  border-radius: 8px;
  background: #fff;
  color: var(--c-primary);
  font-size: 13px;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.card-action-btn:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.btn {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-outline { background: #fff; border: 1px solid var(--c-primary); color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary-soft); color: var(--c-primary); }
/* 卡片底部双按钮：查看详情 + 立即前往/跳转店铺 */
.card-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.card-foot .btn { padding: 8px 10px; }
/* ===== 平台详情页 ===== */
.detail-page { max-width: 820px; margin: 0 auto; }
.detail-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  padding: 28px;
}
.detail-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.detail-logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.detail-logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 30px;
  font-weight: 700;
}
.detail-title-wrap { flex: 1; }
.detail-title { font-size: 24px; font-weight: 700; color: #222; margin: 0 0 6px; }
.detail-type {
  display: inline-block;
  font-size: 12px;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.detail-sub { font-size: 14px; color: #888; margin: 0; }
/* 推荐码（醒目高亮） */
.detail-recommend {
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px dashed #ffb84d;
  border-radius: 10px;
  background: #fff8ec;
  color: #d48806;
  font-size: 15px;
  text-align: center;
}
.detail-recommend b {
  font-size: 18px;
  letter-spacing: 1px;
  color: #d48806;
}
/* 操作按钮组 */
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.detail-actions .btn { padding: 9px 22px; }
.detail-actions .btn-go { background: #ff8f1f; color: #fff; }
.detail-actions .btn-go:hover { background: #e67e0e; color: #fff; }
/* 详细介绍正文 */
.detail-content {
  font-size: 15px;
  line-height: 1.85;
  color: #333;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}
.detail-content p { margin: 0 0 14px; }
.detail-content h2, .detail-content h3, .detail-content h4 { margin: 22px 0 10px; color: #222; }
.detail-content ul, .detail-content ol { margin: 0 0 14px; padding-left: 22px; }
.detail-content img { max-width: 100%; border-radius: 8px; }
.detail-content a { color: var(--c-primary); }
.detail-back { margin-top: 24px; }
.back-link { color: var(--c-primary); font-size: 14px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
/* 404/空状态 */
.detail-empty { text-align: center; padding: 60px 28px; }
.detail-empty .detail-title { font-size: 20px; }
.detail-empty .detail-sub { margin: 12px 0 24px; }

/* ===== 资讯推荐 ===== */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: block;
  transition: box-shadow 0.2s;
}
.news-item:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1); }
.news-cover { width: 100%; height: 150px; object-fit: cover; background: #eef1f5; display: block; }
.news-body { padding: 12px 14px; }
.news-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.news-time { font-size: 13px; color: #999; }

/* ===== 页脚（柔和深蓝灰渐变 + 圆形联系图标） ===== */
.site-footer {
  background: linear-gradient(135deg, #2b3a52 0%, #3a4d68 55%, #42566f 100%);
  color: #c3ccd9;
  padding: 32px 0 24px;
  margin-top: 28px;
  font-size: 13px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand { min-width: 200px; }
.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.footer-slogan { color: #9fb0c6; line-height: 1.7; }
.footer-contact { text-align: right; }
.footer-contact-title {
  display: block;
  font-size: 13px;
  color: #9fb0c6;
  margin-bottom: 10px;
}
.footer-contact-icons { display: flex; gap: 12px; justify-content: flex-end; }
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.contact-icon:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-contact-tip { color: #7f91aa; font-size: 11px; margin-top: 8px; }
.footer-links { margin-bottom: 12px; }
.footer-links-title { color: #9fb0c6; margin-right: 6px; }
.footer-links a { color: #c3ccd9; margin: 0 8px 6px 0; display: inline-block; }
.footer-links a:hover { color: #fff; }
/* ===== 页脚 APP下载 / 访问区块 ===== */
.footer-block { margin-bottom: 14px; }
.footer-block-title { font-size: 14px; color: #fff; font-weight: 600; margin-bottom: 10px; }
.footer-app-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-app-item {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px; padding: 7px 12px;
}
.footer-app-cat { font-size: 11px; color: #9fb0c6; background: rgba(255, 255, 255, 0.10); padding: 2px 6px; border-radius: 8px; }
.footer-app-name { color: #fff; }
.footer-app-btn { background: var(--c-primary); color: #fff; padding: 3px 10px; border-radius: 4px; font-size: 12px; }
.footer-app-btn:hover { background: #4096ff; }
.footer-visit-links a { display: inline-block; color: #c3ccd9; margin: 0 10px 8px 0; }
.footer-visit-links a:hover { color: #fff; }
.footer-disclaimer { color: #9fb0c6; margin-bottom: 10px; line-height: 1.8; }
.footer-copyright { color: #9fb0c6; }
.footer-copyright a { color: #9fb0c6; }
.footer-copyright a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-top { flex-direction: column; }
  .footer-contact { text-align: left; }
  .footer-contact-icons { justify-content: flex-start; }
}

/* ===== 移动端底部菜单栏（≤768px 显示） ===== */
.mobile-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: #ffffff;
  border-top: 1px solid #ececf0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 0;
  color: #8a94a6;
  font-size: 11px;
  line-height: 1.3;
}
.tab-item .tab-icon { display: flex; align-items: center; justify-content: center; }
.tab-item.active { color: var(--c-primary); font-weight: 600; }

/* ===== 响应式：平板 ===== */
@media (max-width: 992px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .news-list { grid-template-columns: repeat(2, 1fr); }
  .banner-slide img { height: 240px; }
}

/* ===== 内页页头 ===== */
.page-head { margin: 8px 0 20px; }
.page-title { font-size: 24px; font-weight: 700; color: #222; margin-bottom: 6px; }
.page-desc { font-size: 13px; color: #999; }
.empty-tip {
  padding: 40px 20px;
  text-align: center;
  color: #999;
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
}

/* ===== 资讯中心：左右布局 ===== */
.news-layout { display: flex; gap: 20px; align-items: flex-start; }
.news-side { flex: 0 0 220px; }
.side-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 16px;
  position: sticky;
  top: 76px;
}
.side-title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
}
.cat-list { list-style: none; }
.cat-list li a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: #555;
  font-size: 14px;
}
.cat-list li a:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.cat-list li.active a { background: var(--c-primary); color: #fff; }
.news-main { flex: 1; min-width: 0; }

/* ===== 文章列表行 ===== */
.article-list { list-style: none; }
.article-row {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 14px;
  margin-bottom: 12px;
  align-items: center;
}
.article-thumb {
  flex: 0 0 150px;
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef1f5;
  display: block;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-info { flex: 1; min-width: 0; }
.article-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-title:hover { color: var(--c-primary); }
.article-meta { display: flex; align-items: center; gap: 10px; }
.article-meta .tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 12px;
}
.article-meta .time { font-size: 12px; color: #999; }

/* ===== 分页 ===== */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 20px 0 10px; max-width: 100%; }
.pagination li a,
.pagination li span {
  display: block;
  min-width: 34px;
  padding: 6px 10px;
  text-align: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  color: #555;
  font-size: 13px;
}
.pagination li.active span { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination li a:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ===== 响应式：平板 ===== */
@media (max-width: 992px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .news-list { grid-template-columns: repeat(2, 1fr); }
  .banner-slide img { height: 240px; }
  .article-thumb { flex: 0 0 120px; height: 80px; }
}

/* ===== 响应式：手机 ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    display: none;
    border-top: 1px solid #f0f0f0;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .site-nav li a { padding: 12px 20px; border-radius: 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list { grid-template-columns: 1fr; }
  .banner-slide img { height: 180px; }
  .container { padding: 0 12px; }
  .news-layout { flex-direction: column; align-items: stretch; }
  .news-main { width: 100%; max-width: 100%; }
  .news-side { flex: 1 1 auto; width: 100%; }
  .side-box { position: static; }
  .cat-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .cat-list li a { padding: 6px 12px; }
  .article-row { flex-direction: column; align-items: flex-start; }
  .article-thumb { flex: 1 1 auto; width: 100%; height: 150px; }
  .article-title { white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -webkit-box; }
}

/* ===== 文章详情页 ===== */
.detail-wrap { max-width: 860px; margin: 0 auto; }
.detail-box {
  background: #fff;
  border-radius: 10px;
  padding: 28px 32px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.detail-title { font-size: 24px; font-weight: 700; color: #222; line-height: 1.4; }
.detail-meta { display: flex; align-items: center; gap: 12px; margin: 14px 0 20px; color: #999; font-size: 13px; flex-wrap: wrap; }
.detail-meta .tag {
  background: var(--c-primary-soft); color: var(--c-primary); padding: 2px 10px; border-radius: 10px; font-size: 13px;
}
.detail-body { border-top: 1px solid #f0f0f0; padding-top: 18px; font-size: 15px; line-height: 1.9; color: #333; }
.detail-body p { margin-bottom: 14px; }
.detail-body h2.detail-h { font-size: 18px; margin: 22px 0 12px; color: #222; }
.detail-body h2.detail-h::before { content: ""; display: inline-block; width: 4px; height: 18px; background: var(--c-primary); border-radius: 2px; margin-right: 8px; vertical-align: -2px; }
.detail-nav { display: flex; gap: 12px; margin-top: 16px; }
.detail-nav .pn-item {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  min-width: 0;
}
.pn-label { display: block; font-size: 12px; color: #999; margin-bottom: 4px; }
.pn-link { font-size: 14px; color: var(--c-primary); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-empty { font-size: 14px; color: #bbb; }

/* ===== APP下载页 ===== */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.app-head { display: flex; gap: 12px; align-items: flex-start; }
.app-icon { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; object-fit: cover; background: var(--c-primary-soft); }
.app-icon-fallback { display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: var(--c-primary); }
.app-info { min-width: 0; }
.app-name { font-size: 16px; font-weight: 600; color: #222; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-intro { font-size: 13px; color: #888; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-download {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 8px 0;
  background: var(--c-primary);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
}
.app-download:hover { background: var(--c-primary-dark); color: #fff; }

/* ===== FAQ常见问题页 ===== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.faq-item[open] { border: 1px solid #e6f0ff; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: #222;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q-icon { position: relative; width: 12px; height: 12px; flex-shrink: 0; transition: transform 0.2s; }
.faq-q-icon::before,
.faq-q-icon::after { content: ""; position: absolute; background: var(--c-primary); border-radius: 1px; }
.faq-q-icon::before { left: 0; top: 5px; width: 12px; height: 2px; }
.faq-q-icon::after { left: 5px; top: 0; width: 2px; height: 12px; }
.faq-item[open] .faq-q-icon { transform: rotate(45deg); }
.faq-a { margin: 0 18px; padding: 14px 0 16px; color: #555; font-size: 14px; line-height: 1.9; border-top: 1px dashed #f0f0f0; }

@media (max-width: 768px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-box { padding: 20px 16px 16px; }
  .detail-nav { flex-direction: column; }
}
@media (max-width: 480px) {
  .app-grid { grid-template-columns: 1fr; }
}

/* ===== 平台对比页 ===== */
.compare-wrap { max-width: 960px; margin: 0 auto; }
.compare-tabs { display: flex; gap: 10px; margin-bottom: 14px; }
.tab-btn {
  padding: 8px 22px;
  border: 1px solid #d9d9d9;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
}
.tab-btn.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.compare-panel { display: none; }
.compare-panel.active { display: block; }
.table-wrap {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #f0f0f0; vertical-align: top; }
.compare-table thead th { background: #f7f9fc; color: #333; font-weight: 600; white-space: nowrap; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: #fafcff; }
.compare-table .c-name { font-weight: 600; color: var(--c-primary); white-space: nowrap; }

/* ===== 登录/注册表单 ===== */
.auth-wrap { display: flex; justify-content: center; padding: 20px 0; }
.auth-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 10px;
  padding: 28px 30px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.auth-title { font-size: 22px; font-weight: 700; color: #222; text-align: center; }
.auth-desc { text-align: center; color: #999; font-size: 13px; margin: 6px 0 18px; }
.form-item { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 6px; font-size: 14px; color: #333; }
.form-label em { color: #e33; font-style: normal; }
.form-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--c-primary); }
.form-hint { margin-top: 4px; font-size: 12px; color: #999; }
.error-tip {
  background: #fff1f0;
  border: 1px solid #ffccc7;
  color: #cf1322;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 14px;
}
.btn {
  display: inline-block;
  padding: 9px 22px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-danger { background: #ff4d4f; color: #fff; }
.btn-danger:hover { background: #cf1322; color: #fff; }
.btn-block { display: block; width: 100%; }
.auth-links { margin-top: 16px; text-align: center; font-size: 13px; color: #999; }

/* ===== 会员中心 ===== */
.uc-wrap { display: flex; justify-content: center; padding: 20px 0; }
.uc-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 10px;
  padding: 26px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.uc-title { font-size: 22px; font-weight: 700; color: #222; margin-bottom: 18px; }
.uc-info { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #f0f0f0; }
.uc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.uc-nickname { font-size: 18px; font-weight: 600; color: #222; }
.uc-username { font-size: 13px; color: #999; }
.uc-list { list-style: none; padding: 14px 0; }
.uc-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed #f0f0f0; font-size: 14px; }
.uc-list li span { color: #999; }
.uc-list li b { color: #333; font-weight: 500; text-align: right; word-break: break-all; }
.uc-logout { margin-top: 14px; text-align: right; }

/* ===== 推荐码醒目徽章（红色高亮） ===== */
.recommend-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid #ff4d4f;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff1f0 0%, #fff7f0 100%);
  font-size: 13px;
  text-align: center;
}
.recommend-badge .recommend-label {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 4px;
  background: #ff4d4f;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.recommend-badge .recommend-code {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #d4380d;
  word-break: break-all;
}
.recommend-badge-lg {
  padding: 12px 16px;
  border-width: 2px;
  border-radius: 10px;
}
.recommend-badge-lg .recommend-label { font-size: 13px; }
.recommend-badge-lg .recommend-code { font-size: 20px; }

/* ===== 详情页温馨提示 ===== */
.detail-notice {
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid #ffe7ba;
  border-radius: 10px;
  background: #fffbe6;
  font-size: 13px;
  color: #874d00;
}
.detail-notice-title {
  font-weight: 700;
  color: #ad6800;
  margin-bottom: 8px;
}
.detail-notice-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.9;
}
.detail-notice-list li { margin-bottom: 2px; }

/* ===== 页脚真实联系方式 ===== */
.footer-contact-items { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 8px 14px;
}
.footer-contact-label {
  flex-shrink: 0;
  font-size: 12px;
  color: #9fb0c6;
}
.footer-contact-value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}
a.footer-contact-value:hover { color: #66b1ff; }
.footer-icp { margin-left: 12px; }
.footer-copyright .footer-icp a { color: #9fb0c6; }
.footer-copyright .footer-icp a:hover { color: #fff; }

/* ===== 新手推广指南引导区 ===== */
.guide-section {
  position: relative;
  margin-bottom: 28px;
  padding: 26px 26px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eef6ff 0%, #f3efff 60%, #fff3f6 100%);
  border: 1px solid rgba(22, 119, 255, 0.12);
  overflow: hidden;
}
.guide-section::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.14) 0%, rgba(22, 119, 255, 0) 70%);
  pointer-events: none;
}
.guide-section::after {
  content: "";
  position: absolute;
  bottom: -70px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 69, 0.12) 0%, rgba(255, 122, 69, 0) 70%);
  pointer-events: none;
}
.guide-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.guide-head .section-title {
  margin-bottom: 6px;
}
.guide-sub {
  margin: 0;
  font-size: 14px;
  color: #7a8ba6;
}
.guide-more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-grad-a), var(--c-grad-b));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.guide-more:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.36);
}
.guide-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.guide-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(22, 119, 255, 0.08);
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.06);
  padding: 18px 16px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.guide-step:hover {
  box-shadow: 0 14px 30px rgba(22, 119, 255, 0.14);
  transform: translateY(-4px);
  border-color: rgba(22, 119, 255, 0.22);
}
.guide-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  color: #eef2f9;
  user-select: none;
  transition: color 0.25s;
}
.guide-step:hover .guide-num {
  color: #e3ecfb;
}
.guide-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.gi-1 { background: linear-gradient(135deg, var(--c-grad-a), var(--c-grad-b)); box-shadow: 0 6px 14px var(--c-primary-soft); }
.gi-2 { background: linear-gradient(135deg, #00b96b, #5cdbd3); box-shadow: 0 6px 14px rgba(0, 185, 107, 0.32); }
.gi-3 { background: linear-gradient(135deg, #fa8c16, #ffc069); box-shadow: 0 6px 14px rgba(250, 140, 22, 0.32); }
.gi-4 { background: linear-gradient(135deg, #722ed1, #b37feb); box-shadow: 0 6px 14px rgba(114, 46, 209, 0.32); }
.guide-body { min-width: 0; padding-right: 22px; }
.guide-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}
.guide-desc {
  font-size: 14px;
  color: #8892a6;
  line-height: 1.7;
  margin: 0;
}
.guide-tip {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(22, 119, 255, 0.12);
  color: #5a7aa8;
  font-size: 13px;
  line-height: 1.6;
}
.guide-tip svg {
  flex-shrink: 0;
  color: var(--c-primary);
}

/* ===== 移动端布局（≤768px）：号卡/WiFi 竖排、资讯横滑、指南横滑、底部菜单栏 ===== */
@media (max-width: 768px) {
  body { padding-bottom: 64px; }
  .mobile-tabbar { display: flex; }

  /* 号卡平台 / 随身WiFi：竖排单列，卡片更清晰 */
  .card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card-grid .card {
    flex: none;
    width: auto;
    padding: 16px;
  }

  /* 最新资讯：保持横滑 */
  .news-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .news-list::-webkit-scrollbar { height: 4px; }
  .news-list .news-item {
    flex: 0 0 80%;
    min-width: 230px;
    scroll-snap-align: start;
  }

  /* 新手推广指南：横向滑动布局 */
  .guide-steps {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .guide-steps::-webkit-scrollbar { height: 4px; }
  .guide-step {
    flex: 0 0 78%;
    min-width: 250px;
    scroll-snap-align: start;
  }
  .guide-section {
    padding: 20px 16px 18px;
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 0;
  }
  .guide-head {
    align-items: center;
    margin-bottom: 14px;
  }
  .guide-sub { font-size: 13px; }
  .guide-more { padding: 7px 13px; font-size: 13px; }
  .guide-step { padding: 16px 14px; }
  .guide-icon { width: 42px; height: 42px; border-radius: 12px; }
  .guide-num { font-size: 22px; }
  .card-action-btn { font-size: 13px; padding: 7px 4px; }
  .news-cover { height: 140px; }
  .banner-caption { font-size: 13px; }
}

/* ===== 用户中心（第三轮新增） ===== */
.uc-wrap{max-width:960px;margin:0 auto;padding:20px 0}
.uc-head{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border-radius:10px;padding:18px 20px;margin-bottom:16px;box-shadow:0 1px 4px rgba(0,0,0,.06);flex-wrap:wrap}
.uc-user{display:flex;align-items:center;gap:12px;min-width:0}
.uc-avatar{width:52px;height:52px;border-radius:50%;background:#409eff;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;flex-shrink:0}
.uc-meta{min-width:0}
.uc-name{font-size:18px;font-weight:700;color:#222;margin:0}
.uc-sub{font-size:13px;color:#888;margin-top:4px;word-break:break-all}
.uc-points{text-align:center;background:#fff7e6;border:1px solid #ffe7ba;border-radius:10px;padding:8px 18px}
.uc-points-num{display:block;font-size:26px;font-weight:800;color:#fa8c16;line-height:1.2}
.uc-points-label{font-size:12px;color:#b8860b}
.btn-outline{background:#fff;border:1px solid #dcdfe6;color:#606266;border-radius:6px;padding:8px 16px;font-size:13px;cursor:pointer;display:inline-block}
.btn-outline:hover{border-color:#409eff;color:#409eff}
.uc-msg{background:#f0f9eb;color:#67c23a;border:1px solid #e1f3d8;padding:10px 14px;border-radius:6px;margin-bottom:14px;font-size:14px}
.uc-msg-err{background:#fef0f0;color:#f56c6c;border-color:#fde2e2}
.uc-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.uc-card{background:#fff;border-radius:10px;padding:18px 20px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.uc-card-wide{grid-column:1 / -1}
.uc-card-title{font-size:16px;font-weight:700;color:#222;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #f0f0f0}
.uc-desc{font-size:13px;color:#666;line-height:1.8;margin-bottom:12px}
.uc-desc b{color:#fa8c16}
.uc-signin-info{font-size:13px;color:#888;margin-bottom:12px}
.uc-signin-info b{color:#409eff}
.uc-empty{color:#999;font-size:14px;padding:16px 0;text-align:center}
.uc-table-wrap{overflow-x:auto}
.uc-table{width:100%;border-collapse:collapse;font-size:13px;min-width:560px}
.uc-table th,.uc-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #f0f0f0}
.uc-table th{background:#f7f8fa;color:#606266;font-weight:600}
.uc-level-row td{background:#fafcff;color:#666}
.uc-level-tag{display:inline-block;background:#e6f7ff;color:#1890ff;border:1px solid #91d5ff;border-radius:12px;padding:2px 10px;font-size:12px;margin-right:8px}
.uc-level-next{color:#fa8c16;font-size:12px;margin-right:8px}
.uc-level-rules{color:#aaa;font-size:12px}
.uc-tip{color:#aaa;font-size:12px;margin-top:10px}
@media (max-width:768px){
.uc-grid{grid-template-columns:1fr}
.uc-head{gap:10px}
.uc-points{padding:6px 12px}
}


/* ===== 多模板主题变量 ===== */
:root {
  --c-primary: #1677ff;
  --c-primary-dark: #0958d9;
  --c-primary-light: #cfe2ff;
  --c-primary-soft: #f0f5ff;
  --c-grad-a: #1677ff;
  --c-grad-b: #69b1ff;
  --c-header-bg: #fff;
}
[data-theme="gc-a"] {
  --c-primary: #0ea5e9;
  --c-primary-dark: #0369a1;
  --c-primary-light: #bae6fd;
  --c-primary-soft: #e0f2fe;
  --c-grad-a: #0ea5e9;
  --c-grad-b: #22d3ee;
  --c-header-bg: #ffffff;
}
[data-theme="gc-b"] {
  --c-primary: #10b981;
  --c-primary-dark: #047857;
  --c-primary-light: #a7f3d0;
  --c-primary-soft: #d1fae5;
  --c-grad-a: #10b981;
  --c-grad-b: #34d399;
  --c-header-bg: #ffffff;
}
[data-theme="fl-c"] {
  --c-primary: #ff6a00;
  --c-primary-dark: #d94f00;
  --c-primary-light: #ffd0a8;
  --c-primary-soft: #fff1e5;
  --c-grad-a: #ff6a00;
  --c-grad-b: #ff9a3d;
  --c-header-bg: #ffffff;
}
[data-theme="fl-d"] {
  --c-primary: #e93d3d;
  --c-primary-dark: #b91c1c;
  --c-primary-light: #fecaca;
  --c-primary-soft: #fee2e2;
  --c-grad-a: #e93d3d;
  --c-grad-b: #f87171;
  --c-header-bg: #ffffff;
}
[data-theme="fl-e"] {
  --c-primary: #f59e0b;
  --c-primary-dark: #b45309;
  --c-primary-light: #fde68a;
  --c-primary-soft: #fef3c7;
  --c-grad-a: #f59e0b;
  --c-grad-b: #fbbf24;
  --c-header-bg: #ffffff;
}

/* ===== 首页双卡片横向布局：飞利猫随身WiFi + 172号卡（等高 · 紧凑 · 无外框） ===== */
.card-grid.card-dual {
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
  gap: 20px;
}
.card-grid.card-dual > .card {
  height: 100%;
  padding: 16px;
  border: 1px solid #eef2f8;
  box-shadow: 0 2px 10px rgba(22, 119, 255, 0.05);
}
/* 简介固定 2 行，两卡文字块等高 */
.card-grid.card-dual > .card > .card-intro {
  flex: 0 0 auto;
  min-height: 40px;
  line-height: 20px;
  margin-bottom: 10px;
}
.card-grid.card-dual > .card > .recommend-badge { margin-bottom: 10px; padding: 6px 10px; }
/* 注册/登录/APP下载/店铺：四个按钮排成一行 */
.card-grid.card-dual > .card > .card-actions {
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.card-grid.card-dual > .card > .card-actions > .card-action-btn {
  padding: 7px 2px;
  font-size: 13px;
  white-space: nowrap;
}
/* 「立即前往」贴底，两张卡片主按钮对齐 */
.card-grid.card-dual > .card > .btn-block { margin-top: auto; }
@media (max-width: 992px) {
  .card-grid.card-dual > .card > .card-actions > .card-action-btn { font-size: 12px; padding: 7px 0; }
}
@media (max-width: 768px) {
  .card-grid.card-dual { grid-template-columns: 1fr; gap: 16px; }
  /* 单列时简介放开到 3 行，避免小屏出现省略号 */
  .card-grid.card-dual > .card > .card-intro { -webkit-line-clamp: 3; min-height: 0; }
}
@media (max-width: 480px) {
  .card-grid.card-dual > .card > .card-actions { grid-template-columns: repeat(2, 1fr); }
  .card-grid.card-dual > .card > .card-actions > .card-action-btn { font-size: 13px; }
}

/* LOGO 图片：等比完整显示，不被 cover 裁切 */
img.card-logo { object-fit: contain; background: #fff; padding: 3px; box-sizing: border-box; }

/* ===== 全站「全国办理城市」入口板块（多城市分站）v2 ===== */
.city-enter-tip{color:#6a7688;font-size:13.5px;line-height:1.75;margin:0 0 14px}
.city-enter-hot{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 14px;background:linear-gradient(135deg,var(--c-primary-soft,#f2f7ff),rgba(255,255,255,.35));border:1px solid var(--c-primary-light,#cfe3ff);border-radius:12px;margin-bottom:14px}
.city-enter-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;border-bottom:1px dashed #eef1f6}
.city-enter-row:last-of-type{border-bottom:0}
.city-enter-label{flex:0 0 auto;font-size:13px;font-weight:600;color:#5c6b80;min-width:62px}
.city-enter-label a{color:var(--c-primary,#1677ff);text-decoration:none}
.city-enter-hot .city-enter-label{color:var(--c-primary,#1677ff)}
.city-enter a{display:inline-block;font-size:13.5px;color:#3d4757;text-decoration:none;padding:3px 11px;border:1px solid #e6eaf1;border-radius:999px;background:#fff;white-space:nowrap;transition:color .15s ease,border-color .15s ease,background .15s ease}
.city-enter a:hover{color:var(--c-primary,#1677ff);border-color:var(--c-primary-light,#cfe3ff);background:var(--c-primary-soft,#f2f7ff)}
.city-enter-hot a{color:var(--c-primary,#1677ff);background:#fff;border-color:var(--c-primary-light,#cfe3ff);font-weight:600}
.city-enter-hot a:hover{color:#fff;background:var(--c-primary,#1677ff);border-color:var(--c-primary,#1677ff)}
.city-enter-foot{margin-top:16px;text-align:center}
.city-enter-more{display:inline-block;font-size:14px;font-weight:600;color:#fff;background:linear-gradient(135deg,var(--c-grad-a,#1677ff),var(--c-grad-b,#69b1ff));padding:9px 24px;border-radius:999px;text-decoration:none;transition:opacity .15s ease,transform .15s ease}
.city-enter-more:hover{color:#fff;opacity:.92;transform:translateY(-1px)}
@media(max-width:768px){
  .city-enter-hot{padding:10px 11px;border-radius:10px}
  .city-enter-label{min-width:auto;flex:0 0 100%;margin-bottom:2px}
  .city-enter a{font-size:13px;padding:3px 9px}
}
/* === FLM-V2 2026-10-05 多域名独立布局 === */

/* ===== 代理升级等级 / 招募代理页 / 底部栏目导航 组件 ===== */
.level-wrap{display:flex;flex-wrap:wrap;gap:18px}
.level-group{flex:1 1 320px;background:#fff;border:1px solid #eef1f5;border-radius:10px;padding:14px 16px}
.level-pname{font-weight:700;color:#222;margin-bottom:8px;font-size:15px}
.level-table{width:100%;border-collapse:collapse;font-size:13.5px}
.level-table th,.level-table td{text-align:left;padding:7px 8px;border-bottom:1px solid #f0f2f5}
.level-table th{color:#888;font-weight:500}
.level-table tr:last-child td{border-bottom:0}
.footer-navbar .footer-visit-links a{font-weight:600}
.agent-hero{background:linear-gradient(135deg,var(--c-grad-a),var(--c-grad-b));color:#fff;border-radius:14px;padding:36px 28px;margin:18px 0}
.agent-h1{font-size:30px;margin:0 0 10px;color:#fff}
.agent-sub{font-size:15px;opacity:.95;line-height:1.8;max-width:820px}
.agent-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.btn-ghost{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.6)}
.btn-ghost:hover{background:rgba(255,255,255,.28);color:#fff}
.agent-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.agent-step{background:#fff;border:1px solid #eef1f5;border-radius:10px;padding:16px}
.agent-step .n{display:inline-flex;width:28px;height:28px;border-radius:50%;background:var(--c-primary);color:#fff;align-items:center;justify-content:center;font-weight:700;margin-bottom:8px}
.agent-step h3{font-size:16px;margin:0 0 6px}
.agent-step p{font-size:13.5px;color:#667;line-height:1.7;margin:0}
.agent-faq{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.faq-item{background:#fff;border:1px solid #eef1f5;border-radius:10px;padding:14px 16px}
.faq-item h3{font-size:15px;margin:0 0 6px}
.faq-item p{font-size:13.5px;color:#667;line-height:1.7;margin:0}
@media(max-width:860px){.agent-steps{grid-template-columns:1fr 1fr}.agent-faq{grid-template-columns:1fr}}
/* --- 每域名独立布局 --- */
body[data-theme="flm01"]{}
body[data-theme="flm02"];.site-header{background:#0f172a}.site-header .logo-text{color:#fff}.site-nav li a{color:#cbd5e1}.site-nav li a:hover{background:rgba(255,255,255,.12);color:#fff}.site-nav li.active a{background:var(--c-primary);color:#fff};.banner-slide img{height:220px};.card-grid.card-dual{grid-template-columns:1fr};.section-title{border-left:0;padding-left:0;text-align:center}.section-title::before{display:none};.footer-top{flex-direction:column;text-align:center}.footer-contact{text-align:center}{}
body[data-theme="flm03"];.header-inner{flex-direction:column;gap:8px;padding:12px 0}.site-nav ul{justify-content:center};.banner{border-radius:16px;overflow:hidden}.banner-slide img{height:380px};.card{border-left:4px solid var(--c-primary);border-radius:0}.card-grid.card-dual{grid-template-columns:repeat(2,1fr)};.section-title{color:var(--c-primary);border-left-width:6px};.site-footer{background:#0b1220}{}
body[data-theme="flm04"];.site-header{border-bottom:3px solid var(--c-primary)};.banner-slide img{height:160px}.banner{border-radius:0};.section-title{background:var(--c-primary-soft);padding:6px 12px;border-radius:8px}.section-title::before{display:none};.footer-city{display:none}.footer-visit{display:none}{}
body[data-theme="flm05"];.banner-slide img{height:220px};.card-grid.card-dual{grid-template-columns:1fr};.section-title{color:var(--c-primary);border-left-width:6px};.footer-top{flex-direction:column;text-align:center}.footer-contact{text-align:center}{}
body[data-theme="flm06"];.site-header{background:#0f172a}.site-header .logo-text{color:#fff}.site-nav li a{color:#cbd5e1}.site-nav li a:hover{background:rgba(255,255,255,.12);color:#fff}.site-nav li.active a{background:var(--c-primary);color:#fff};.banner{border-radius:16px;overflow:hidden}.banner-slide img{height:380px};.card{border-left:4px solid var(--c-primary);border-radius:0}.card-grid.card-dual{grid-template-columns:repeat(2,1fr)};.site-footer{background:#0b1220}{}
body[data-theme="flm07"];.header-inner{flex-direction:column;gap:8px;padding:12px 0}.site-nav ul{justify-content:center};.banner-slide img{height:160px}.banner{border-radius:0};.card{background:var(--c-primary-soft);border:0;box-shadow:none};.section-title{border-left:0;padding-left:0;text-align:center}.section-title::before{display:none}{}
body[data-theme="flm08"];.site-header{border-bottom:3px solid var(--c-primary)};.card-grid.card-dual{grid-template-columns:1fr};.section-title{color:var(--c-primary);border-left-width:6px};.footer-top{flex-direction:column;text-align:center}.footer-contact{text-align:center}{}
body[data-theme="flm09"];.banner{border-radius:16px;overflow:hidden}.banner-slide img{height:380px};.card{border-left:4px solid var(--c-primary);border-radius:0}.card-grid.card-dual{grid-template-columns:repeat(2,1fr)};.section-title{background:var(--c-primary-soft);padding:6px 12px;border-radius:8px}.section-title::before{display:none};.site-footer{background:#0b1220}{}
body[data-theme="flm10"];.site-header{background:#0f172a}.site-header .logo-text{color:#fff}.site-nav li a{color:#cbd5e1}.site-nav li a:hover{background:rgba(255,255,255,.12);color:#fff}.site-nav li.active a{background:var(--c-primary);color:#fff};.banner-slide img{height:160px}.banner{border-radius:0};.footer-city{display:none}.footer-visit{display:none}{}
body[data-theme="flm11"];.header-inner{flex-direction:column;gap:8px;padding:12px 0}.site-nav ul{justify-content:center};.card{background:var(--c-primary-soft);border:0;box-shadow:none};.section-title{border-left:0;padding-left:0;text-align:center}.section-title::before{display:none}{}

/* ===== v3 美化层 DIFF20261005b ===== */
.section-title { position: relative; padding-left: 13px; font-size: 22px; letter-spacing: .2px; }
.section-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--c-primary, #2563eb), var(--c-primary-dark, var(--c-primary, #2563eb))); }
.more { font-weight: 500; }
.card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0, 0, 0, .12); border-color: var(--c-primary, #2563eb); }
.card-action-btn { transition: background .15s ease, color .15s ease, border-color .15s ease; }
.card-action-btn:hover { border-color: var(--c-primary, #2563eb); color: var(--c-primary, #2563eb); }
.news-item { transition: transform .18s ease, box-shadow .18s ease; }
.news-item:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .10); }
.guide-step { transition: transform .18s ease, box-shadow .18s ease; }
.guide-step:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .10); }
.btn-primary { transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 6px 14px rgba(0, 0, 0, .12); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .16); }
/* 快捷入口 */
.quick-head { margin-bottom: 14px; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.quick-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 18px 8px 14px; color: #333; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease; }
.quick-item .qi { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--c-primary, #2563eb) 10%, #fff); color: var(--c-primary, #2563eb); display: flex; align-items: center; justify-content: center; transition: background .18s ease, color .18s ease; }
.quick-item .qi svg { width: 25px; height: 25px; }
.quick-item b { font-size: 14.5px; font-weight: 700; }
.quick-item .qd { font-size: 12px; color: #8a94a0; line-height: 1.5; }
.quick-item:hover { transform: translateY(-4px); border-color: var(--c-primary, #2563eb); box-shadow: 0 14px 28px rgba(0, 0, 0, .11); color: var(--c-primary, #2563eb); }
.quick-item:hover .qi { background: var(--c-primary, #2563eb); color: #fff; }
@media (max-width: 900px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==== 追加：首页主入口突出（2026-10-16）==== */
/* ============================================================
   2026-10-16 首页主入口突出：店铺 / 招募代理
   导航高亮按钮 + 首页双入口大卡片
   ============================================================ */

/* ---------- 导航：主入口高亮按钮 ---------- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav ul {
  display: flex;
  list-style: none;
}
.site-nav .nav-main {
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-nav .nav-sub {
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

/* 关键：li 不得被 flex 压缩导致文字竖排 */
.site-nav .nav-key,
.site-nav .nav-sub li {
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-nav .nav-key {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav .nav-key-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.site-nav .nav-key-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  filter: brightness(1.05);
}
.site-nav .nav-key-btn:active {
  transform: translateY(0);
}
.site-nav .nav-key-ico {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex-shrink: 0;
}

/* 店铺：橙黄渐变（电商感） */
.site-nav .nav-key-shop-btn {
  background: linear-gradient(135deg, #ff8a00 0%, #ff5e2b 100%) !important;
  color: #fff !important;
}
/* 代理：蓝紫渐变（招募感） */
.site-nav .nav-key-agent-btn {
  background: linear-gradient(135deg, #3b6ef6 0%, #7a4df0 100%) !important;
  color: #fff !important;
}

/* 次店铺入口（172套餐店铺）做成小徽标 */
.site-nav .nav-key-sub {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  line-height: 1.3;
  color: #b45309 !important;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  white-space: nowrap;
}
.site-nav .nav-key-sub:hover {
  background: #ffedd5;
  color: #c2410c !important;
}

/* ---------- 首页：双入口大卡片 ---------- */
.hero-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0 0;
}
.hero-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 16px;
  color: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-card::after {
  /* 右上角装饰光晕 */
  content: "";
  position: absolute;
  right: -30px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  pointer-events: none;
}
.hero-card:hover {
  transform: translateY(-3px);
}
.hero-card-shop {
  background: linear-gradient(135deg, #ff8a00 0%, #ff5e2b 100%);
  box-shadow: 0 8px 22px rgba(255, 106, 0, .28);
}
.hero-card-shop:hover { box-shadow: 0 12px 28px rgba(255, 106, 0, .38); }
.hero-card-agent {
  background: linear-gradient(135deg, #3b6ef6 0%, #7a4df0 100%);
  box-shadow: 0 8px 22px rgba(74, 88, 240, .28);
}
.hero-card-agent:hover { box-shadow: 0 12px 28px rgba(74, 88, 240, .38); }

.hero-ico {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ico svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
.hero-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.hero-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1.2;
}
.hero-desc {
  font-size: 13.5px;
  opacity: .92;
  line-height: 1.4;
}
.hero-go {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #b45309;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
.hero-card-agent .hero-go { color: #4338ca; }
.hero-card:hover .hero-go {
  background: #fff;
}

/* ---------- 次要入口徽标 ---------- */
.hero-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 4px;
  justify-content: center;
}
.hero-chip {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
  transition: all .18s ease;
}
.hero-chip:hover {
  color: #b45309;
  border-color: #fdba74;
  background: #fff7ed;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .site-nav {
    display: block;
    padding-bottom: 10px;
  }
  .site-nav .nav-main {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px 6px;
  }
  .site-nav .nav-key {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .site-nav .nav-key-btn {
    justify-content: center;
    padding: 12px 18px !important;
    font-size: 16px;
  }
  .site-nav .nav-key-sub {
    text-align: center;
  }
  .site-nav .nav-sub {
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
  }
  .site-nav .nav-sub li a {
    padding: 12px 20px;
  }

  .hero-entry {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }
  .hero-card {
    padding: 18px 18px;
    gap: 13px;
  }
  .hero-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .hero-ico svg { width: 24px; height: 24px; }
  .hero-title { font-size: 18.5px; }
  .hero-desc { font-size: 12.5px; }
  .hero-go { padding: 7px 13px; font-size: 12.5px; }
  .hero-extra { gap: 8px; }
  .hero-chip { padding: 7px 14px; font-size: 13px; }
}

@media (max-width: 380px) {
  .hero-go { display: none; }
}

/* ==== 追加：Logo 与城市板块修复（2026-10-16）==== */
/* ============================================================
   2026-10-16 修复：Logo 不可见 + 首页城市板块隐藏
   1) Logo：原 CSS 里 `body[data-theme="xx"];.site-header .logo-text{color:#fff}`
      分号隔断了选择器，color:#fff 泄漏成全局规则，
      浅色主题下白底白字 → Logo 看不见。此处按主题重新兜底。
   2) 城市板块：隐藏 .city-block / front_city_block() 输出区域
   ============================================================ */

/* ---------- 1. Logo 可见性修复 ---------- */
/* 浅色底（默认/flm01/flm03/flm04/flm05/flm07/flm08/flm11 等）用主色深字 */
body:not([data-theme="flm02"]):not([data-theme="flm06"]):not([data-theme="flm10"]) .site-header .logo-text,
.site-header .logo-text {
  color: var(--c-primary, #1677ff) !important;
}
/* 深色底主题保持白字 */
body[data-theme="flm02"] .site-header .logo-text,
body[data-theme="flm06"] .site-header .logo-text,
body[data-theme="flm10"] .site-header .logo-text {
  color: var(--c-primary, #1677ff) !important;
}
/* Logo 图片本身也补一层可见性保障 */
.site-header .logo img {
  height: 36px;
  max-height: 36px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
/* 文字 Logo 加一点视觉重量，避免"空着"的感觉 */
.site-header .logo a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header .logo-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1.2;
  white-space: nowrap;
}

/* ---------- 2. 隐藏首页城市板块 ---------- */
/* front_city_block() 输出的是 <section class="section city-enter"> */
.city-enter,
section.city-enter {
  display: none !important;
}

/* ==== 追加：性能与界面优化（2026-10-16）==== */
/* ============================================================
   2026-10-16 性能 + 界面优化（第二轮）
   1) 首屏信息密度：hero-lead 引导句 + 区块间距
   2) 卡片层级区分：主入口标识 hero-flag
   3) 移动端导航：紧凑化，避免展开后页面过长
   ============================================================ */

/* ---------- 1. 首屏信息密度 ---------- */
/* hero-lead 位于 .hero-entry 网格内部，必须横跨两列，否则会挤占第一个卡片格 */
.hero-lead {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  text-align: center;
  font-size: 13.5px;
  letter-spacing: 3px;
  color: var(--c-primary, #1677ff);
  opacity: .9;
}
.hero-lead::before,
.hero-lead::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  vertical-align: middle;
  margin: 0 12px;
  background: currentColor;
  opacity: .45;
}

/* 主入口区块与下方内容拉开距离 */
.hero-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 0;
}
.hero-extra {
  margin-top: 16px;
  margin-bottom: 8px;
}

/* 2. 卡片层级：主入口标识 */
.hero-flag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .5px;
  vertical-align: 2px;
  background: rgba(255, 255, 255, .26);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
}
/* 与下方号卡卡片区分：主入口加左侧高亮描边 */
.hero-card {
  border: 1px solid rgba(255, 255, 255, .28);
}

/* 让下方普通平台卡片视觉权重降一级 */
.section .card-grid .card {
  opacity: .96;
}

/* ---------- 3. 移动端导航紧凑化 ---------- */
@media (max-width: 768px) {
  /* 主入口按钮不再撑满，减少滚动 */
  .site-nav .nav-main {
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    padding: 12px 14px 8px;
  }
  /* 两列均分，且允许收缩，避免横向溢出 */
  .site-nav .nav-main .nav-key {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .site-nav .nav-key-btn {
    justify-content: center;
    padding: 10px 8px !important;
    font-size: 15px;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
  }
  .site-nav .nav-key-ico {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }
  /* 次店铺徽标不再独占一行 */
  .site-nav .nav-key-sub {
    text-align: center;
    font-size: 11.5px;
    padding: 4px 6px;
  }
  /* 次级菜单两列排布，进一步压缩高度 */
  .site-nav .nav-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 6px 14px 10px;
  }
  .site-nav .nav-sub li a {
    padding: 9px 8px;
    text-align: center;
    font-size: 14px;
    border-radius: 6px;
  }

  /* 首屏密度：引导句与卡片间距收紧 */
  .hero-lead {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }
  .hero-entry {
    margin-top: 18px;
  }
  .hero-extra {
    margin-top: 12px;
  }
  .hero-flag {
    font-size: 10.5px;
    padding: 1px 6px;
    margin-left: 5px;
  }

  /* hero 卡片：标题与按钮同行时空间不足，改为按钮独占一行并靠右 */
  .hero-card {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-body {
    flex: 1 1 auto;
    min-width: 0;
  }
  .hero-go {
    flex: 0 0 auto;
    max-width: 100%;
  }
  /* 窄屏隐藏按钮文字只留箭头感，省空间又不丢信息（描述已在卡内） */
  .hero-card .hero-go {
    order: 3;
    margin-left: auto;
  }
}

/* 小屏 hero 卡片竖排时，按钮另起一行居中 */
@media (max-width: 480px) {
  .hero-card {
    padding: 16px 14px;
  }
  .hero-card .hero-body {
    flex: 1 1 100%;
  }
  .hero-card .hero-go {
    flex: 0 0 auto;
    margin-left: 0;
  }
}

@media (max-width: 380px) {
  .site-nav .nav-sub {
    grid-template-columns: 1fr;
  }
  .hero-lead::before,
  .hero-lead::after { width: 16px; margin: 0 8px; }
}

/* ============================================================
   2026-10-21 导航重构：顶部菜单统一为「行式下拉」
   桌面：品牌色实心 CTA + 描边次入口 + 文本链接
   手机：白色圆角下拉面板，统一行距 / 图标 / 外链箭头
   ============================================================ */
.site-nav { display: flex; align-items: center; }
.site-nav .nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav .nav-item { position: relative; }
.site-nav .nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 10px;
  color: #334155; font-size: 15px; font-weight: 500; line-height: 1.2;
  white-space: nowrap; text-decoration: none;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.site-nav .nav-link:hover { background: var(--c-primary-soft, #eff5ff); color: var(--c-primary, #1677ff); }
.site-nav .nav-ico { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.site-nav .nav-arrow { display: none; width: 13px; height: 13px; flex-shrink: 0; opacity: .5; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.site-nav .nav-item.active > .nav-link { background: var(--c-primary-soft, #eff5ff); color: var(--c-primary, #1677ff); font-weight: 600; }
/* CTA 主入口（店铺 / 招募代理）：品牌色实心 */
.site-nav .nav-cta > .nav-link { background: var(--c-primary, #1677ff); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(20, 90, 200, .22); }
.site-nav .nav-cta > .nav-link:hover { background: var(--c-primary, #1677ff); color: #fff; filter: brightness(1.07); }
.site-nav .nav-cta > .nav-link .nav-ico { opacity: .96; }
/* 次店铺入口（如 172套餐店铺）：品牌色描边 */
.site-nav .nav-cta-sub > .nav-link { border: 1.5px solid var(--c-primary, #1677ff); color: var(--c-primary, #1677ff); background: #fff; }
.site-nav .nav-cta-sub > .nav-link:hover { background: var(--c-primary-soft, #eff5ff); }
/* ---- 手机：汉堡下拉面板 ---- */
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; background: #fff;
    border-top: 1px solid #eef2f7;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .14);
    padding: 10px 12px 14px;
    max-height: calc(100vh - 72px);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .site-nav.open { display: block; }
  .site-nav .nav-list { flex-direction: column; align-items: stretch; gap: 3px; }
  .site-nav .nav-link { width: 100%; justify-content: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 15.5px; border: 0; }
  .site-nav .nav-link:hover, .site-nav .nav-item.active > .nav-link { background: var(--c-primary-soft, #eff5ff); color: var(--c-primary, #1677ff); }
  .site-nav .nav-ico { width: 20px; height: 20px; }
  .site-nav .nav-arrow { display: block; margin-left: auto; }
  .site-nav .nav-cta > .nav-link { background: var(--c-primary-soft, #eff5ff); color: var(--c-primary, #1677ff); box-shadow: none; }
  .site-nav .nav-cta > .nav-link:hover { background: var(--c-primary-light, #d5e7ff); color: var(--c-primary, #1677ff); filter: none; }
  .site-nav .nav-cta-sub > .nav-link { border: 0; background: transparent; color: #334155; }
  .site-nav .nav-cta-sub > .nav-link .nav-ico { color: var(--c-primary, #1677ff); }
  .site-nav .nav-cta-sub > .nav-link:hover { background: var(--c-primary-soft, #eff5ff); color: var(--c-primary, #1677ff); }
  .site-nav .nav-item.nav-sep { margin-top: 9px; padding-top: 9px; border-top: 1px solid #eef2f7; }
}
/* ================= 导航重构 END ================= */

/* ==== 追加：Logo 品牌标 + 全主题可见性（2026-10-21）==== */
/* 背景实际都是白底（--c-header-bg:#ffffff），Logo 文字一律用主色，杜绝白字白底 */
.site-header .logo-text {
  color: var(--c-primary, #1677ff) !important;
}
/* 品牌标：主色浅底圆角块 + 主色 WiFi 图形，全主题通用、对比度稳定 */
.site-header .logo-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: var(--c-primary-soft, #eef4ff);
  border: 1px solid var(--c-primary-light, #bcd6ff);
  color: var(--c-primary, #1677ff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .10);
}
.site-header .logo-mark svg {
  width: 20px;
  height: 20px;
  display: block;
}
@media (max-width: 480px) {
  .site-header .logo-mark { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
  .site-header .logo-mark svg { width: 18px; height: 18px; }
}
@media (max-width: 400px) {
  .site-header .logo-text { font-size: 18px; letter-spacing: 0; }
}

/* ==== 追加：客户下单优先 · 代理次级（2026-10-21）==== */

/* ---------- Hero：店铺卡为主（渐变放大），招募代理降级为白底描边 ---------- */
.hero-entry { grid-template-columns: 1.5fr 1fr; }
.hero-card-shop { padding: 24px 26px; }
.hero-card-shop .hero-title { font-size: 23px; }
.hero-card-agent {
  background: #fff;
  border: 1.5px solid var(--c-primary-light, #bcd6ff);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .07);
  color: var(--c-primary, #1677ff);
}
.hero-card-agent::after { display: none; }
.hero-card-agent .hero-title { color: var(--c-primary, #1677ff); font-size: 19px; }
.hero-card-agent .hero-desc { color: #64748b; opacity: 1; }
.hero-card-agent .hero-ico { background: var(--c-primary-soft, #eef4ff); }
.hero-card-agent .hero-ico svg { fill: var(--c-primary, #1677ff); }
.hero-card-agent .hero-flag {
  background: var(--c-primary-soft, #eef4ff);
  color: var(--c-primary, #1677ff);
  border-color: var(--c-primary-light, #bcd6ff);
}
.hero-card-agent .hero-go { background: var(--c-primary, #1677ff); color: #fff; }
.hero-card-agent:hover { box-shadow: 0 10px 24px rgba(15, 23, 42, .12); }

/* ---------- 平台卡：主 CTA（客户下单）+ 次级代理行 ---------- */
.card-grid.card-dual > .card > .card-actions {
  display: block;
  grid-template-columns: none;
  margin-bottom: 0;
}
.card-cta { margin: 4px 0 12px; }
.cta-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--c-primary, #1677ff);
  background: var(--c-primary-soft, #eef4ff);
  border: 1px solid var(--c-primary-light, #bcd6ff);
}
.card-cta-btn {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(22, 119, 255, .22);
}
.actions-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: .5px;
}
.actions-row { display: flex; flex-wrap: wrap; gap: 8px; }
.actions-row .card-action-btn {
  flex: 1 1 0;
  min-width: 76px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #64748b;
}
.actions-row .card-action-btn:hover {
  border-color: var(--c-primary, #1677ff);
  background: #fff;
  color: var(--c-primary, #1677ff);
}
@media (max-width: 768px) {
  .hero-entry { grid-template-columns: 1fr; }
  .hero-card-shop { padding: 20px 22px; }
}
@media (max-width: 480px) {
  .actions-row .card-action-btn { min-width: 0; flex: 1 1 30%; }
}


/* ==== 追加：项目展示 · 店铺直达（2026-10-21）==== */
.project-eyebrow-row { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 12px; margin-bottom:14px; }
.project-eyebrow-row .section-title { margin:0; }
.project-eyebrow-row .pe-sub { font-size:13px; color:#8a94a0; }
.project-list { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.project-card { position:relative; display:flex; flex-direction:column; background:#fff; border:1px solid #e8ecf1; border-radius:16px; padding:22px 22px 20px; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.project-card:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(15,23,42,.10); border-color:var(--c-primary,#1677ff); }
.project-card.is-hot { border-color:#ff6a00; box-shadow:0 8px 22px rgba(255,106,0,.16); }
.project-ribbon { position:absolute; top:16px; right:-1px; background:linear-gradient(90deg,#ff9a3d,#ff5a00); color:#fff; font-size:12px; font-weight:800; letter-spacing:.5px; padding:4px 13px 4px 15px; border-radius:13px 0 0 13px; }
.project-top { display:flex; align-items:center; gap:13px; }
.project-logo { width:48px; height:48px; border-radius:13px; flex:0 0 auto; background:var(--c-primary-soft,#eef4ff); color:var(--c-primary,#1677ff); display:flex; align-items:center; justify-content:center; font-weight:900; font-size:19px; overflow:hidden; }
.project-logo img { width:34px; height:34px; object-fit:contain; }
.project-name { font-size:18.5px; font-weight:800; color:#1f2733; line-height:1.2; }
.project-eyebrow { font-size:12px; color:#ff6a00; font-weight:800; letter-spacing:.6px; margin-top:2px; }
.project-intro { margin:13px 0 14px; color:#5b6675; font-size:14px; line-height:1.7; }
.project-shop { font-size:12.5px; color:#9aa4b1; margin-bottom:11px; }
.project-shop b { color:#52606e; font-weight:600; }
.project-cta { display:flex; align-items:center; justify-content:center; gap:8px; background:linear-gradient(90deg,#ff8a3d,#ff5a00); color:#fff; font-weight:800; font-size:16px; padding:14px; border-radius:12px; text-decoration:none; box-shadow:0 8px 18px rgba(255,106,0,.30); transition:filter .15s ease, box-shadow .15s ease; }
.project-cta svg { width:18px; height:18px; }
.project-cta:hover { filter:brightness(1.05); box-shadow:0 12px 26px rgba(255,106,0,.42); }
.project-actions { display:flex; gap:8px; margin-top:10px; }
.project-actions a { flex:1 1 0; min-width:0; text-align:center; font-size:13px; padding:9px 0; color:#475569; text-decoration:none; border:1px solid #e6ebf1; border-radius:9px; transition:border-color .15s, color .15s; }
.project-actions a:hover { border-color:var(--c-primary,#1677ff); color:var(--c-primary,#1677ff); }
@media (max-width:768px){
  .project-list { grid-template-columns:1fr; }
}
/* 移动端横向溢出修复：hero-lead 装饰线把 .hero-entry 网格 min-content 撑到 ~440px */
@media (max-width:768px){
  .hero-lead::before, .hero-lead::after { display:none; }
  .hero-lead { letter-spacing:1px; }
  .hero-entry > .hero-card { min-width:0; }
}

/* 2026-10-21 轮播：图已裁为 1600x580（去上下留白，文字带完整），
   覆盖 flm03/06/09 等全局 380px 主题覆盖；object-position 顶部对齐保证文字完整显示 */
.banner-slide img { height: 240px; object-fit: cover; object-position: center top; }
@media (max-width: 900px) { .banner-slide img { height: 180px; } }
@media (max-width: 600px) { .banner-slide img { height: 150px; } }
@media (max-width: 400px) { .banner-slide img { height: 130px; } }

/* 2026-10-21 hero 三卡：飞利猫店铺 / 172号卡店铺 / 招募代理 */
.hero-entry { grid-template-columns: 1.1fr 1.1fr 1fr; }
.hero-card-shop2 { padding: 24px 26px; background: linear-gradient(135deg,#2f6fed,#1d4ed8); color:#fff; }
.hero-card-shop2::after { display:none; }
.hero-card-shop2 .hero-title { font-size:21px; color:#fff; }
.hero-card-shop2 .hero-desc { color:rgba(255,255,255,.88); opacity:1; }
.hero-card-shop2 .hero-ico { background:rgba(255,255,255,.18); }
.hero-card-shop2 .hero-ico svg { fill:#fff; }
.hero-card-shop2 .hero-flag { background:rgba(255,255,255,.2); color:#fff; border-color:rgba(255,255,255,.35); }
.hero-card-shop2 .hero-go { background:#fff; color:#1d4ed8; }
.hero-card-shop2:hover { box-shadow:0 10px 24px rgba(29,78,216,.28); }
@media (max-width: 1024px) {
  .hero-entry { grid-template-columns:1fr 1fr; }
  .hero-entry .hero-card-agent { grid-column:1 / -1; }
}
@media (max-width: 768px) {
  .hero-card-shop2 { padding:20px 22px; }
}

/* 2026-10-21 页脚企业微信二维码 */
.footer-contact-qr { display:flex; flex-direction:column; gap:6px; }
.footer-qr { width:88px; height:88px; border-radius:10px; display:block; background:#fff; padding:3px; box-shadow:0 4px 12px rgba(0,0,0,.18); }


/* 2026-10-21 hero 三卡小屏兜底：<480px 恢复单列，避免 320px 级别手机文字挤压 */
@media (max-width: 480px) {
  .hero-entry { grid-template-columns: 1fr; }
}
