/* ===== 号卡分销聚合网站 前台样式（电脑+手机自适应） ===== */
* { 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: #1677ff; text-decoration: none; }
a:hover { color: #0958d9; }
img { max-width: 100%; vertical-align: middle; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== 顶部导航 ===== */
.site-header {
  background: #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: #1677ff; }
.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: #f0f5ff; color: #1677ff; }
.site-nav li.active a { background: #1677ff; 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, #1677ff, #69b1ff);
  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: #f0f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1677ff;
  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: #1677ff; }
.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 #b7d3ff;
  border-radius: 8px;
  background: #f0f7ff;
  color: #1677ff;
  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 #cfe2ff;
  border-radius: 8px;
  background: #fff;
  color: #1677ff;
  font-size: 13px;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.card-action-btn:hover {
  background: #1677ff;
  border-color: #1677ff;
  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: #1677ff; color: #fff; }
.btn-primary:hover { background: #0958d9; color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-outline { background: #fff; border: 1px solid #1677ff; color: #1677ff; }
.btn-outline:hover { background: #e8f1ff; color: #1677ff; }
/* 卡片底部双按钮：查看详情 + 立即前往/跳转店铺 */
.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: #e8f1ff;
  color: #1677ff;
  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: #1677ff;
  background: #e8f1ff;
  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: #1677ff; }
.detail-back { margin-top: 24px; }
.back-link { color: #1677ff; 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: #1677ff;
  border-color: #1677ff;
  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: #1677ff; 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: #1677ff; 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: #f0f5ff; color: #1677ff; }
.cat-list li.active a { background: #1677ff; 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: #1677ff; }
.article-meta { display: flex; align-items: center; gap: 10px; }
.article-meta .tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  background: #f0f5ff;
  color: #1677ff;
  font-size: 12px;
}
.article-meta .time { font-size: 12px; color: #999; }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 20px 0 10px; }
.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: #1677ff; border-color: #1677ff; color: #fff; }
.pagination li a:hover { border-color: #1677ff; color: #1677ff; }

/* ===== 响应式：平板 ===== */
@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; }
  .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: #f0f5ff; color: #1677ff; 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: #1677ff; 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: #1677ff; 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: #f0f5ff; }
.app-icon-fallback { display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: #1677ff; }
.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: #1677ff;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
}
.app-download:hover { background: #0958d9; 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: #1677ff; 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: #1677ff; border-color: #1677ff; 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: #1677ff; 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: #1677ff; }
.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: #1677ff; color: #fff; }
.btn-primary:hover { background: #0958d9; 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: #f0f5ff;
  color: #1677ff;
  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, #1677ff, #4f8ef7);
  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, #1677ff, #69b1ff); box-shadow: 0 6px 14px rgba(22, 119, 255, 0.32); }
.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: #1677ff;
}

/* ===== 移动端布局（≤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}
}
