/* ==========================================================================
   华尔街全球顶尖EA俱乐部 — 复刻站点样式
   设计令牌取自源站 https://www.cmyx.top 打包产物：
     index-ClQEs_dB.css（首页） / TopNav-6ogcog95.css / detail-BrNjNptz.css
     AuthForm-C2-5oVwv.css
   主色 #b42822（俱乐部红） · 底色 #f4f5f7 · 墨色 #1a1a2e
   ========================================================================== */

:root {
  --red: #b42822;
  --red-hover: #c07020;
  --red-bright: #e1312b;
  --ink: #1a1a2e;
  --ink-soft: #222222;
  --bg: #f4f5f7;
  --line: #ebebeb;
  --line-soft: #f0f0f0;
  --muted: #888888;
  --muted-2: #999999;
  --text: #333333;
  --green: #388e3c;
  --green-deep: #2e7d32;
  --gold: #c07020;
  --gold-line: #f0c060;
  --mt4: #1976d2;
  --mt5: #00897b;
  --nav-h: 60px;
  --filter-h: 48px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --glass: rgba(255, 255, 255, 0.78);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.page { min-height: 100vh; padding-bottom: 0; }
.container { max-width: 1200px; margin: 0 auto; }
.wide { max-width: 1440px; margin: 0 auto; padding: 0 40px; }

/* ============================ 顶栏 ============================ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-right: 48px;
  flex-shrink: 0;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--ink);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.5px;
}
.logo-text { font-size: 17px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  padding: 6px 18px;
  font-size: 15px;
  color: #555;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); }
.nav-link-active { color: var(--ink); font-weight: 600; }
.nav-right { display: flex; align-items: center; flex-shrink: 0; gap: 8px; }
.login-btn {
  padding: 8px 20px;
  background: var(--red);
  border-radius: 20px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.login-btn:hover { background: var(--red-hover); }
.user-area {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.user-area:hover { background: #f5f5f5; }
.user-avatar-ph {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.user-name {
  font-size: 14px;
  color: #333;
  max-width: 80px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-col { display: flex; flex-direction: column; align-items: flex-start; }
.member-badge {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  margin-top: 1px;
}
.member-badge-normal { background: #f0f0f0; color: #666; }
.member-badge-vip { background: linear-gradient(90deg, #b8860b, #daa520); color: #fff; }

/* ============================ 筛选栏 ============================ */
.filter-bar-wrap {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(235, 235, 235, 0.6);
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  margin-bottom: 20px;
}
.filter-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--filter-h);
  display: flex;
  align-items: center;
  gap: 2px;
}
.f-scroll {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.f-scroll::-webkit-scrollbar { display: none; }
.f-right { display: flex; align-items: center; gap: 2px; flex-shrink: 0; padding-left: 16px; }
.f-tab {
  padding: 6px 16px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.f-tab:hover { color: var(--red); }
.f-tab-active { color: var(--red); font-weight: 600; }
.f-tab-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.f-sep { color: #ddd; margin: 0 8px; font-size: 16px; }
.f-spacer { flex: 1; }
.f-sort {
  padding: 6px 14px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.f-sort:hover { color: var(--ink); }
.f-sort-active { color: var(--ink); font-weight: 600; background: rgba(240, 240, 240, 0.7); }
.f-plat {
  padding: 4px 12px;
  font-size: 13px;
  color: #666;
  border: 1px solid #e2e2e2;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.f-plat:hover { border-color: var(--red); color: var(--red); }
.f-plat-active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

/* ============================ 主区 ============================ */
.main-content { max-width: 1200px; margin: 20px auto; padding: 0 20px; }
.loading-tip, .empty-tip { text-align: center; padding: 80px 0; font-size: 15px; color: var(--muted-2); }

/* ============================ 横幅 ============================ */
.banner-wrap { margin-bottom: 20px; overflow: hidden; position: relative; }
.banner-swiper { height: 360px; width: 100%; position: relative; overflow: hidden; }
.banner-item { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; cursor: pointer; }
.banner-item.is-active { opacity: 1; }
.banner-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 32px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}
.banner-caption-title { display: block; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.banner-caption-sub { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.banner-dots {
  position: absolute;
  right: 24px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.banner-dots i {
  width: 22px; height: 3px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s;
}
.banner-dots i.on { background: #fff; }

/* ============================ 数据看板 ============================ */
.stats-board {
  display: flex;
  align-items: center;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px 0;
  margin-bottom: 20px;
}
.stats-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stats-val { font-size: 28px; font-weight: 800; letter-spacing: 1px; color: var(--red); }
.stats-lbl { font-size: 13px; color: #666; }
.stats-divider { width: 1px; height: 40px; background: #e6e6e6; flex-shrink: 0; }

/* ============================ 商品卡片 ============================ */
.sw-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
.sw-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.sw-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.card-img-wrap { position: relative; width: 200px; min-width: 200px; background: var(--ink); flex-shrink: 0; }
.card-img-ph {
  width: 100%; height: 100%; min-height: 140px;
  background: linear-gradient(135deg, #1a1a2e, #2d4a7a);
  display: flex; align-items: center; justify-content: center;
}
.card-img-ph-text { font-size: 32px; font-weight: 700; color: rgba(255, 255, 255, 0.4); }
/* 后台传了真实图就用图，没传才用首二字占位（同一位置，尺寸一致，不会跳版） */
.card-img { width: 100%; height: 100%; min-height: 140px; object-fit: cover; display: block; }
.badge-platform {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  z-index: 1;
}
.badge-mt4 { background: var(--mt4); }
.badge-mt5 { background: var(--mt5); }
.card-body { padding: 18px 20px 16px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.card-title {
  font-size: 15px; font-weight: 700; color: var(--ink-soft); line-height: 1.4;
  flex: 1; min-width: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-desc {
  font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.card-slogan {
  display: inline-block;
  font-size: 11px; font-weight: 600; color: #b07010;
  background: linear-gradient(90deg, #fff8e1, #fffde7);
  border: 1px solid rgba(240, 192, 96, 0.7);
  padding: 2px 8px; margin-bottom: 8px; border-radius: 2px; letter-spacing: 1px;
  align-self: flex-start;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tag-free { padding: 2px 8px; background: #e8f5e9; color: var(--green); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag-vip { padding: 2px 8px; background: #fff8e1; color: var(--gold); border: 1px solid var(--gold-line); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag-locked { padding: 2px 8px; background: #fce4ec; color: #c62828; border: 1px solid #f5a0a0; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag-lock-icon { font-size: 11px; }
.card-meta-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.win-inline { display: flex; align-items: center; gap: 3px; }
.chart-icon { font-size: 13px; }
.win-pct { font-size: 13px; color: #555; }
.card-divider { height: 1px; background: #f2f2f2; margin-bottom: 10px; }
.card-stats { display: flex; }
.stat-col { flex: 1; text-align: center; }
.stat-col-mid { border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); }
.stat-val { display: block; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.stat-green { color: var(--green); }
.stat-dark { color: #333; }
.stat-lbl { font-size: 11px; color: var(--muted-2); }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; align-items: center; }
.action-btn { padding: 7px 18px; font-size: 13px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; }
.action-btn:hover { opacity: 0.85; }
.action-price { font-size: 15px; font-weight: 700; color: var(--red); line-height: 32px; margin-right: 2px; }
.action-price-free { color: var(--green); }
.action-buy { background: var(--red); color: #fff; flex: 1; text-align: center; }
.action-share { background: #f0f0f0; color: #555; }
.action-dl { background: var(--ink); color: #fff; }

/* ============================ 平台 / 顶返 ============================ */
.section-head { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 16px; }
.section-head h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0; }
.section-head span { font-size: 13px; color: var(--muted-2); }
.broker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
.broker-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(180, 40, 34, 0.12);
}
.broker-img-wrap {
  width: 190px; min-width: 190px; flex-shrink: 0;
  border-right: 1px solid rgba(180, 40, 34, 0.12);
  background: #fff; display: flex; align-items: center; justify-content: center;
}
.broker-img-ph {
  width: 100%; height: 190px;
  background: linear-gradient(135deg, #1a1a2e, #2d4a7a);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: rgba(255, 255, 255, 0.4);
}
.broker-body { padding: 16px 18px 14px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.broker-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.broker-name { font-size: 15px; font-weight: 700; color: var(--ink-soft); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.broker-top-return-tag { background: rgba(180, 40, 34, 0.08); color: var(--red); font-size: 12px; font-weight: 600; padding: 2px 8px; white-space: nowrap; }
.broker-desc { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 8px; overflow: hidden; }
.broker-stats { display: flex; margin-bottom: 12px; }
.broker-stat-col { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.broker-stat-col-mid { border-left: 1px solid var(--line-soft); }
.broker-stat-val { display: block; font-size: 16px; font-weight: 700; color: var(--red); margin-bottom: 2px; }
.broker-stat-lbl { font-size: 11px; color: var(--muted-2); }
.broker-actions { display: flex; gap: 10px; margin-top: auto; }
.broker-btn {
  flex: 1; padding: 7px 0; font-size: 13px; font-weight: 600; text-align: center;
  cursor: pointer; transition: opacity 0.2s;
  border: 1px solid var(--red); color: var(--red); background: #fff;
}
.broker-btn:hover { opacity: 0.8; }
.broker-btn-register { background: var(--red); color: #fff; }

/* ============================ 行动号召 ============================ */
.cta-banner {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(253, 243, 224, 0.85), rgba(251, 232, 192, 0.85));
  backdrop-filter: blur(10px);
  padding: 48px 40px;
  text-align: center;
  margin-bottom: 40px;
}
.cta-title { display: block; font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.cta-sub { display: block; font-size: 14px; color: #666; margin-bottom: 28px; }
.cta-btn {
  display: inline-block; padding: 14px 48px; background: var(--red);
  font-size: 16px; font-weight: 700; color: #fff; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover { background: var(--red-hover); transform: translateY(-2px); }

/* ============================ 页脚 ============================ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.62); padding: 48px 0 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; gap: 56px; flex-wrap: wrap; }
.footer-brand { flex: 1; min-width: 260px; }
.footer-brand .nav-logo { margin: 0 0 16px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 13px; line-height: 1.9; margin: 0 0 14px; max-width: 380px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 14px; color: #fff; margin: 0 0 14px; font-weight: 600; }
.footer-col a { display: block; font-size: 13px; line-height: 2.1; color: rgba(255, 255, 255, 0.6); cursor: pointer; }
.footer-col a:hover { color: #fff; }
.qr-row { display: flex; gap: 26px; }
.qr-item { text-align: center; }
.qr-item img { width: 92px; height: 92px; background: #fff; padding: 5px; border-radius: 4px; }
.qr-item span { display: block; font-size: 12px; margin-top: 8px; color: rgba(255, 255, 255, 0.7); white-space: nowrap; }
.footer-bottom {
  max-width: 1200px; margin: 36px auto 0; padding: 18px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px; color: rgba(255, 255, 255, 0.42);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

/* ============================ 弹窗 ============================ */
.modal-mask {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0, 0, 0, 0.45);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-wrap {
  width: 460px; max-width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line-soft); }
.modal-title { font-size: 16px; font-weight: 700; color: var(--ink-soft); }
.modal-close { font-size: 22px; color: #bbb; cursor: pointer; line-height: 1; }
.modal-close:hover { color: #666; }
.modal-body { padding: 20px 24px 24px; }
.share-url-box { background: rgba(245, 245, 245, 0.7); padding: 14px 16px; margin-bottom: 16px; word-break: break-all; }
.share-url-txt { font-size: 13px; color: #555; }
.btn-block {
  width: 100%; padding: 13px 0; background: var(--red); text-align: center;
  font-size: 15px; font-weight: 600; color: #fff; cursor: pointer;
  transition: background 0.2s;
}
.btn-block:hover { background: var(--red-bright); }
.btn-ghost { width: 100%; padding: 12px 0; background: #f0f0f0; color: #555; text-align: center; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 10px; }
.share-stats-row { display: flex; background: #f8f8f8; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.share-stat { flex: 1; text-align: center; }
.share-stat + .share-stat { border-left: 1px solid #e8e8e8; }
.share-stat-val { display: block; font-size: 18px; font-weight: 700; margin-bottom: 3px; }
.share-stat-lbl { font-size: 12px; color: var(--muted-2); }
.purchase-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #f5f5f5; font-size: 14px; }
.purchase-item:last-of-type { border-bottom: none; }
.purchase-item .k { color: var(--muted); }
.purchase-item .v { color: var(--ink-soft); font-weight: 600; }
.purchase-item .v.red { color: var(--red); }

/* 悬浮投诉 / 咨询 */
.fab-stack { position: fixed; right: 22px; bottom: 104px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.fab {
  width: 54px; height: 54px; border-radius: 50%;
  background: #fff; color: var(--ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; cursor: pointer; gap: 1px;
  transition: transform 0.2s;
}
.fab:hover { transform: translateY(-2px); }
.fab-red { background: var(--red); color: #fff; }
.fab .ico { font-size: 17px; line-height: 1; }

.consult-tabs { display: flex; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px; }
.consult-tab { flex: 1; text-align: center; padding: 13px; font-size: 14px; color: var(--muted-2); cursor: pointer; }
.ctab-active { color: var(--ink); font-weight: 600; border-bottom: 3px solid var(--ink); }
.consult-textarea {
  width: 100%; height: 120px; background: rgba(248, 248, 248, 0.7);
  padding: 12px; font-size: 14px; color: #333; border: none; resize: none;
  font-family: inherit; margin-bottom: 12px;
}
.consult-input {
  width: 100%; background: rgba(248, 248, 248, 0.7); padding: 12px 14px;
  font-size: 14px; color: #333; border: none; font-family: inherit; margin-bottom: 16px;
}

/* ============================ 详情页 ============================ */
.detail-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px 40px; }
.crumb { font-size: 13px; color: var(--muted-2); margin-bottom: 16px; display: flex; gap: 8px; align-items: center; }
.crumb a { cursor: pointer; }
.crumb a:hover { color: var(--red); }
.hero-section { display: flex; gap: 32px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07); margin-bottom: 24px; }
.hero-img-wrap { position: relative; width: 320px; min-width: 320px; min-height: 220px; background: var(--ink); flex-shrink: 0; }
.hero-img-ph {
  width: 100%; height: 100%; min-height: 220px;
  background: linear-gradient(135deg, #1a1a2e, #2d4a7a);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; font-weight: 700; color: rgba(255, 255, 255, 0.3);
}
.hero-img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.hero-info { flex: 1; padding: 28px 28px 28px 0; display: flex; flex-direction: column; min-width: 0; }
.hero-title-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.hero-title { font-size: 22px; font-weight: 700; color: var(--ink); flex: 1; min-width: 0; line-height: 1.4; margin: 0; }
.hero-desc { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 20px; }
.stats-row { display: flex; margin-bottom: 24px; background: #f8f9fa; border-radius: 10px; overflow: hidden; }
.stat-card { flex: 1; text-align: center; padding: 14px 0; border-right: 1px solid var(--line); }
.stat-card:last-child { border-right: none; }
.stat-card .stat-val { font-size: 18px; margin-bottom: 4px; }
.action-row { display: flex; align-items: center; gap: 16px; margin-top: auto; flex-wrap: wrap; }
.price-text { font-size: 24px; font-weight: 700; color: var(--red); }
.price-free { color: var(--green); }
.action-btns { display: flex; gap: 10px; flex: 1; justify-content: flex-end; }
.btn-share, .btn-download, .btn-buy {
  padding: 10px 24px; border-radius: 22px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s;
}
.btn-share:hover, .btn-download:hover, .btn-buy:hover { opacity: 0.85; }
.btn-share { background: #f0f0f0; color: #555; }
.btn-download { background: var(--ink); color: #fff; }
.btn-buy { background: var(--red); color: #fff; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.info-card, .desc-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.info-card-title { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.info-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f8f8f8; font-size: 14px; }
.info-item:last-child { border-bottom: none; }
.info-key { color: var(--muted); }
.info-val { color: var(--ink-soft); font-weight: 500; }
.info-val-red { color: var(--red); font-weight: 600; }
.info-val-green { color: var(--green); font-weight: 600; }
.yield-chart { padding-top: 4px; }
.yield-bar-wrap { height: 10px; background: #f0f0f0; border-radius: 5px; overflow: hidden; margin-bottom: 8px; }
.yield-bar { height: 100%; border-radius: 5px; transition: width 0.6s ease; }
.yield-bar-green { background: linear-gradient(90deg, #43a047, #66bb6a); }
.yield-bar-blue { background: linear-gradient(90deg, #1976d2, #42a5f5); }
.yield-label-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 14px; }
.yield-label { color: var(--muted); }
.yield-value { font-weight: 700; }
.desc-card { margin-bottom: 20px; }
.desc-content { font-size: 14px; color: #444; line-height: 1.9; white-space: pre-wrap; }
.desc-content h3 { font-size: 15px; color: var(--ink); margin: 18px 0 8px; }
.desc-content ul { list-style: disc; padding-left: 20px; }
.desc-content li { margin: 4px 0; }

/* ---- 图集：主图可点开大图，下方缩略条切图 ---- */
.hero-img { cursor: zoom-in; }
.hero-thumbs {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 6px; padding: 10px 8px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0));
  overflow-x: auto; scrollbar-width: none;
}
.hero-thumbs::-webkit-scrollbar { display: none; }
.hero-thumb {
  flex: 0 0 auto; width: 44px; height: 44px; padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 7px;
  background: #000; overflow: hidden; cursor: pointer; opacity: 0.7;
  transition: opacity 0.15s, border-color 0.15s;
}
.hero-thumb:hover { opacity: 1; }
.hero-thumb.is-on { border-color: #fff; opacity: 1; }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.img-viewer {
  position: fixed; inset: 0; z-index: 9998; background: rgba(10, 12, 18, 0.92);
  display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.img-viewer img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.img-viewer-x {
  position: absolute; top: 12px; right: 24px; color: #fff;
  font-size: 34px; line-height: 1; opacity: 0.8; cursor: pointer;
}
.img-viewer-x:hover { opacity: 1; }

/* ---- 详情正文（后台用 Markdown 写）---- */
.md-body { white-space: normal; }
.md-body h2 { font-size: 17px; color: var(--ink); margin: 22px 0 9px; }
.md-body h3 { font-size: 15px; color: var(--ink); margin: 18px 0 8px; }
.md-body h4 { font-size: 14px; color: var(--ink); margin: 14px 0 6px; }
.md-body p { margin: 8px 0; }
.md-body ol { list-style: decimal; padding-left: 22px; }
.md-body ul { list-style: disc; padding-left: 20px; }
.md-body li { margin: 4px 0; }
.md-body code {
  font-family: ui-monospace, Consolas, monospace; font-size: 12.5px;
  background: #f3f5f8; border: 1px solid #e6e9ef; border-radius: 4px; padding: 1px 5px;
}
.md-body a { color: #1976d2; }
.md-body .md-quote {
  margin: 10px 0; padding: 8px 14px; color: #5b6270;
  background: #f7f9fc; border-left: 3px solid #cbd4e1; border-radius: 0 6px 6px 0;
}
.md-body .md-hr { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
.md-body .md-fig { margin: 14px 0; }
.md-body .md-img {
  display: block; max-width: 100%; height: auto; border-radius: 10px;
  border: 1px solid var(--line); cursor: zoom-in;
}
.bottom-cta {
  background: #fff; border-top: 1px solid var(--line);
  padding: 16px 24px; display: flex; align-items: center; justify-content: flex-end;
  gap: 16px; border-radius: 16px; margin-top: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}
.cta-price { font-size: 22px; font-weight: 700; color: var(--red); }
.cta-price-free { color: var(--green); }
.cta-btn { padding: 12px 36px; border-radius: 24px; font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; background: var(--red); color: #fff; }
.cta-btn:hover { opacity: 0.85; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rel-card { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); cursor: pointer; transition: transform 0.2s; }
.rel-card:hover { transform: translateY(-2px); }
.rel-card .rel-name { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.4; height: 36px; overflow: hidden; }
.rel-card .rel-meta { font-size: 12px; color: var(--muted-2); margin-top: 8px; display: flex; justify-content: space-between; }
.rel-card .rel-price { color: var(--red); font-weight: 700; }

/* ============================ 登录 / 注册 ============================ */
.auth-page {
  min-height: calc(100vh - var(--nav-h));
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(180, 40, 34, 0.08), transparent 60%),
    radial-gradient(700px 500px at 90% 100%, rgba(45, 74, 122, 0.16), transparent 60%),
    #f4f5f7;
  display: flex; align-items: center; justify-content: center; padding: 48px 20px;
}
.auth-card { width: 440px; max-width: 92vw; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18); }
.auth-header { display: flex; align-items: center; padding: 20px 24px 0; justify-content: space-between; }
.auth-tabs { display: flex; background: #f5f5f5; border-radius: 10px; padding: 3px; }
.auth-tab { padding: 8px 24px; font-size: 14px; color: var(--muted); border-radius: 8px; cursor: pointer; transition: all 0.2s; user-select: none; }
.auth-tab-active { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); }
.auth-body { padding: 20px 28px 28px; }
.auth-logo-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; }
.auth-logo-icon { width: 40px; height: 40px; background: var(--ink); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--red); }
.auth-logo-txt { font-size: 18px; font-weight: 700; color: var(--ink); }
.form-item { margin-bottom: 14px; }
.form-label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; font-weight: 500; }
.form-input {
  width: 100%; height: 44px; background: #f8f8f8; border-radius: 10px;
  padding: 0 14px; font-size: 14px; color: #333;
  border: 1.5px solid transparent; outline: none; transition: border-color 0.2s;
  font-family: inherit;
}
.form-input:focus { border-color: var(--red); background: #fff; }
.code-row { display: flex; align-items: center; gap: 10px; }
.code-row .form-input { flex: 1; min-width: 0; }
.code-btn {
  flex-shrink: 0; height: 44px; padding: 0 16px; background: var(--ink); color: #fff;
  border-radius: 10px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; cursor: pointer; white-space: nowrap;
}
.code-btn:hover { opacity: 0.9; }
.code-btn-disabled { background: #e2e2e8; color: #999; cursor: not-allowed; pointer-events: none; }
.login-type-switch { display: flex; justify-content: flex-end; margin-top: -4px; margin-bottom: 8px; }
.type-switch-txt { font-size: 12px; color: var(--red); cursor: pointer; user-select: none; }
.type-switch-txt:hover { text-decoration: underline; }
.auth-btn {
  width: 100%; height: 48px; background: linear-gradient(90deg, #b42822, #c07020);
  border-radius: 24px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff; cursor: pointer;
  transition: opacity 0.2s; margin-top: 20px; margin-bottom: 14px;
}
.auth-btn:hover { opacity: 0.9; }
.auth-switch { text-align: center; font-size: 13px; color: var(--muted-2); }
.auth-link { color: var(--red); font-weight: 600; cursor: pointer; }
.form-err { font-size: 12px; color: #c62828; margin-top: 6px; display: none; }
.form-err.show { display: block; }
.auth-tip { font-size: 12px; color: var(--muted-2); text-align: center; margin-top: 16px; line-height: 1.7; }

/* ============================ 俱乐部 / 代理 ============================ */
.sub-hero {
  background: linear-gradient(135deg, #1a1a2e, #2d4a7a);
  color: #fff; padding: 64px 20px; text-align: center;
}
.sub-hero h1 { font-size: 30px; margin: 0 0 12px; font-weight: 800; letter-spacing: 1px; }
.sub-hero p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.sub-body { max-width: 1100px; margin: 0 auto; padding: 40px 20px 60px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.plan {
  background: #fff; border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); border: 1px solid transparent;
  display: flex; flex-direction: column;
}
.plan-hot { border-color: var(--red); box-shadow: 0 10px 30px rgba(180, 40, 34, 0.14); position: relative; }
.plan-hot::after {
  content: attr(data-badge); position: absolute; top: -1px; right: 18px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px;
}
.plan h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.plan .plan-price { font-size: 30px; font-weight: 800; color: var(--red); margin: 10px 0 2px; }
.plan .plan-price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 18px 0 24px; flex: 1; }
.plan li { font-size: 13px; color: #555; line-height: 2; display: flex; gap: 8px; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 700; }
.plan .plan-btn { padding: 12px 0; background: var(--red); color: #fff; text-align: center; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 22px; }
.plan .plan-btn-ghost { background: #f0f0f0; color: #333; }
.agent-form { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); max-width: 620px; }
.agent-form h3 { margin: 0 0 22px; font-size: 18px; color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rate-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); margin-bottom: 32px; }
.rate-table th, .rate-table td { padding: 14px 18px; font-size: 14px; text-align: left; border-bottom: 1px solid #f4f4f4; }
.rate-table th { background: #fafafa; color: #666; font-weight: 600; font-size: 13px; }
.rate-table td { color: #333; }
.rate-table .hi { color: var(--red); font-weight: 700; }

/* ============================ 列表头 / 加载更多 ============================ */
.list-head { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 16px; flex-wrap: wrap; }
.list-head h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0; }
.list-sub { font-size: 13px; color: var(--muted-2); }
.list-note { color: #a8a8a8; }
.load-more { display: flex; justify-content: center; margin: -12px 0 40px; }
.load-more-btn {
  padding: 12px 56px; border: 1px solid #ddd; background: rgba(255, 255, 255, 0.9);
  font-size: 14px; color: #555; cursor: pointer; transition: all 0.2s;
}
.load-more-btn:hover { border-color: var(--red); color: var(--red); }

/* ============================ 导航下拉 ============================ */
.nav-more { position: relative; }
.nav-menu {
  position: absolute; top: 100%; left: 0; min-width: 148px;
  background: #fff; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  border-radius: 8px; padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(4px); transition: all 0.18s; z-index: 120;
}
.nav-more:hover .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a {
  display: block; padding: 9px 12px; font-size: 13px; color: #555; border-radius: 6px;
}
.nav-menu a:hover { background: #f7f7f7; color: var(--red); }

/* 俱乐部权益 */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.benefit { background: #fff; border-radius: 14px; padding: 24px 20px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.benefit .ico { font-size: 22px; }
.benefit h4 { font-size: 15px; color: var(--ink); margin: 10px 0 8px; }
.benefit p { font-size: 13px; color: #777; line-height: 1.8; margin: 0; }
.sec-title { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; }
.sec-title h2 { font-size: 19px; color: var(--ink); margin: 0; }
.sec-title span { font-size: 13px; color: var(--muted-2); }
.form-row { margin-bottom: 14px; }
.form-row textarea {
  width: 100%; height: 110px; background: #f8f8f8; border: 1.5px solid transparent;
  border-radius: 10px; padding: 12px 14px; font-size: 14px; color: #333;
  font-family: inherit; outline: none; resize: none;
}
.form-row textarea:focus { border-color: var(--red); background: #fff; }
.form-ok { font-size: 13px; color: var(--green); margin-top: 10px; display: none; }
.form-ok.show { display: block; }

/* ==================== 后端接入新增：支付 / 权限提示 / 我的中心 ==================== */

/* 支付方式选择 */
.pay-row { display: flex; gap: 10px; margin-top: 16px; }
.pay-opt {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 13px; color: #555; cursor: pointer; transition: all 0.18s;
}
.pay-opt i { font-style: normal; font-size: 15px; }
.pay-opt:hover { border-color: #d9b7b5; }
.pay-opt-on {
  border-color: var(--red); background: rgba(180, 40, 34, 0.05);
  color: var(--red); font-weight: 600;
}
.pay-note { font-size: 12px; color: #999; margin: 12px 0 16px; line-height: 1.7; }

/* 扫码支付面板（个人收款码 + 人工确认） */
.qr-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 18px 0 10px; padding: 16px; background: #fafafa;
  border: 1px solid var(--line); border-radius: 12px;
}
.qr-img {
  width: 190px; height: 190px; object-fit: contain; background: #fff;
  border-radius: 8px; padding: 6px;
}
.qr-tip { font-size: 12px; color: var(--muted); }
.qr-empty {
  margin: 18px 0 10px; padding: 18px 16px; font-size: 13px; line-height: 1.9;
  color: #8a5a04; background: #fff8e6; border: 1px dashed #e8c877; border-radius: 10px;
}
.pf-note { font-size: 12px; color: #888; line-height: 1.9; margin: 4px 0 16px; }
.pf-note b { color: var(--red); font-size: 13px; letter-spacing: .5px; }
.pf-loading { font-size: 13px; color: var(--muted); text-align: center; padding: 26px 0; }
.pf-wait { text-align: center; padding: 22px 6px 18px; }
.pf-wait p { font-size: 13px; color: #666; line-height: 1.9; margin: 10px 0 0; }
.pf-wait b { color: var(--ink); font-size: 14px; }
.pf-spin {
  display: inline-block; width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid rgba(180, 40, 34, .18); border-top-color: var(--red);
  animation: pf-spin 0.9s linear infinite;
}
@keyframes pf-spin { to { transform: rotate(360deg); } }

/* 详情页下载权限提示 */
.access-tip {
  display: flex; align-items: center; gap: 8px; margin: 14px 0 2px;
  padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.6;
}
.access-ico { flex: none; }
.access-owned { background: #e8f5e9; color: #2e7d32; }
.access-free { background: #fff8e1; color: #a16900; }
.access-vip { background: #f3e8ff; color: #6b21a8; }
.access-need_vip { background: #fdf2f2; color: var(--red); }
.access-paid { background: #eef4ff; color: #1d4ed8; }
.access-link { margin-left: auto; color: inherit; font-weight: 600; text-decoration: underline; white-space: nowrap; }

/* 加载 / 离线提示 */
.detail-loading { padding: 70px 0; text-align: center; color: #999; font-size: 14px; }
.auth-offline {
  margin-top: 14px; padding: 9px 12px; background: #fff8e1; color: #a16900;
  border-radius: 8px; font-size: 12px; line-height: 1.6; text-align: center;
}

/* 我的中心 */
.acct-wrap { max-width: 1180px; margin: 0 auto; padding: 26px 40px 64px; }
.acct-card {
  background: #fff; border-radius: 16px; padding: 24px 28px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.acct-id { display: flex; align-items: center; gap: 14px; min-width: 240px; }
.acct-avatar {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #b42822, #7a1a16); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.acct-name {
  font-size: 17px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.acct-sub { font-size: 12px; color: var(--muted-2); margin-top: 5px; }
.acct-nums { display: flex; gap: 34px; margin-left: auto; }
.acct-num { display: flex; flex-direction: column; align-items: center; }
.acct-num-val { font-size: 22px; font-weight: 700; color: var(--ink); }
.acct-num-lbl { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.acct-actions {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  width: 100%; padding-top: 18px; border-top: 1px solid var(--line);
}

/* 待确认会员申请提示条 */
.acct-pending-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 12px; padding: 13px 20px; border-radius: 12px;
  background: #fff8e6; border: 1px solid #f0dcae;
  font-size: 13px; color: #8a5a04; line-height: 1.7;
}
.acct-pending-bar b { color: #b42822; font-size: 15px; }
.acct-pending-bar .btn-mini { margin-left: auto; }

.btn-mini {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 14px; border-radius: 8px; font-size: 12.5px;
  cursor: pointer; border: 1px solid var(--line); color: #555; background: #fff;
  transition: all 0.16s; text-decoration: none; white-space: nowrap;
}
.btn-mini:hover { border-color: #ccc; background: #fafafa; }
.btn-mini-primary { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }
.btn-mini-primary:hover { background: #a02119; border-color: #a02119; color: #fff; }
.btn-mini-ghost { color: var(--muted-2); }

.acct-tabs { display: flex; gap: 4px; margin: 22px 0 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.acct-tab {
  padding: 12px 18px; font-size: 14px; color: #666; cursor: pointer;
  position: relative; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.acct-tab:hover { color: var(--ink); }
.acct-tab-on { color: var(--red); font-weight: 700; border-bottom-color: var(--red); }
.acct-tab-n {
  font-style: normal; margin-left: 5px; font-size: 11px; background: #f1f1f1;
  color: #777; border-radius: 9px; padding: 1px 6px;
}

.acct-section { margin-top: 20px; }
.acct-section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.acct-section-head h3 { font-size: 15px; margin: 0; color: var(--ink); }
.acct-section-sub { font-size: 12px; color: var(--muted-2); }

.acct-row {
  background: #fff; border-radius: 12px; padding: 16px 20px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.acct-row-col { flex-direction: column; align-items: flex-start; gap: 6px; }
.acct-row-main { flex: 1; min-width: 180px; }
.acct-row-title { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.acct-row-meta { font-size: 12px; color: var(--muted-2); margin-top: 5px; line-height: 1.6; }
.acct-row-amt { font-size: 15px; font-weight: 700; color: var(--red); }
.acct-row-st { font-size: 12px; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.ost-paid { background: #e8f5e9; color: #2e7d32; }
.ost-pending { background: #fff8e1; color: #a16900; }
.ost-closed { background: #f3f4f6; color: #888; }
.acct-row-ops { display: flex; gap: 8px; flex-wrap: wrap; }
.acct-kind {
  font-size: 11px; background: rgba(180, 40, 34, 0.08); color: var(--red);
  padding: 2px 8px; border-radius: 6px; font-weight: 500;
}

.acct-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.acct-metric {
  background: #fff; border-radius: 12px; padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.acct-metric-val { font-size: 21px; font-weight: 700; color: var(--ink); }
.acct-metric-lbl { font-size: 12px; color: var(--muted-2); }

.acct-refbox {
  background: #fff; border-radius: 12px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.acct-refbox-lbl { font-size: 13px; color: #666; }
.acct-refbox-code {
  font-family: Consolas, "Courier New", monospace; font-size: 16px; font-weight: 700;
  color: var(--red); letter-spacing: 1px; background: rgba(180, 40, 34, 0.06);
  padding: 5px 12px; border-radius: 8px;
}
.acct-refbox-hint { font-size: 12px; color: var(--muted-2); }
.acct-apply {
  margin-top: 12px; background: #fff; border-radius: 12px; padding: 14px 20px;
  font-size: 13px; color: #666; box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.acct-empty {
  background: #fff; border-radius: 16px; padding: 60px 30px; text-align: center;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
}
.acct-empty-ico { font-size: 40px; margin-bottom: 14px; }
.acct-empty h3 { font-size: 16px; color: var(--ink); margin: 0 0 10px; }
.acct-empty p { font-size: 13px; color: var(--muted-2); line-height: 1.8; margin: 0 0 22px; }
.acct-empty-btn { max-width: 220px; margin: 0 auto; display: block; }
.acct-empty code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: 12px; }

/* 表单辅助说明（邀请码提示等） */
.form-hint {
  font-size: 11.5px;
  color: #a0a4ad;
  line-height: 1.6;
  margin-top: 6px;
}

/* ============================ 响应式 ============================ */
@media (max-width: 1080px) {
  .sw-grid, .broker-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-inner { padding: 0 14px; }
  .nav-logo { margin-right: 16px; }
  .nav-links { gap: 0; overflow-x: auto; min-width: 0; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-more .nav-menu { display: none; }
  .nav-link { padding: 6px 10px; font-size: 14px; }
  .logo-text { font-size: 15px; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
  .wide { padding: 0 16px; }
  .filter-bar { flex-direction: column; align-items: stretch; height: auto; padding: 6px 14px; gap: 2px; }
  .f-scroll { padding-bottom: 2px; }
  .f-right { padding-left: 0; border-top: 1px solid rgba(0, 0, 0, 0.05); margin-top: 2px; overflow-x: auto; scrollbar-width: none; }
  .f-right::-webkit-scrollbar { display: none; }
  .user-col { display: none; }
  .user-area { padding: 4px 6px; }
  .main-content { padding: 0 14px; }
  .banner-swiper { height: 240px; }
  .banner-caption { padding: 24px 16px 16px; }
  .banner-caption-title { font-size: 16px; }
  .banner-caption-sub { font-size: 12px; line-height: 1.6; padding-right: 82px; }
  .banner-dots { right: 14px; bottom: 16px; }
  .banner-dots i { width: 16px; }
  .f-scroll { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
  .nav-links { padding-right: 6px; }
  .stats-val { font-size: 21px; }
  .stats-lbl { font-size: 11px; }
  .sw-card { flex-direction: column; }
  .card-img-wrap { width: 100%; min-width: 0; height: 150px; }
  .broker-card { flex-direction: column; }
  .broker-img-wrap { width: 100%; min-width: 0; height: 140px; border-right: none; border-bottom: 1px solid rgba(180, 40, 34, 0.12); }
  .cta-banner { padding: 32px 20px; }
  .cta-title { font-size: 19px; }
  .hero-section { flex-direction: column; gap: 0; }
  .hero-img-wrap { width: 100%; min-width: 0; }
  .hero-info { padding: 20px; }
  .info-grid { grid-template-columns: 1fr; }
  .detail-wrap { padding: 20px 14px 30px; }
  .footer-inner { gap: 32px; }
  .footer-cols { gap: 24px; flex: 1 1 100%; }
  .footer-brand { min-width: 0; flex: 1 1 100%; }
  .qr-row { gap: 14px; flex-wrap: wrap; }
  .qr-item img { width: 76px; height: 76px; }
  .rel-grid { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .fab-stack { right: 12px; bottom: 84px; }
  .fab { width: 46px; height: 46px; font-size: 10px; }

  /* 我的中心 */
  .acct-wrap { padding: 16px 14px 48px; }
  .acct-card { padding: 18px; gap: 16px; }
  .acct-nums { margin-left: 0; width: 100%; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
  .acct-num-val { font-size: 19px; }
  .acct-actions { padding-top: 14px; }
  .acct-tab { padding: 11px 14px; font-size: 13px; }
  .acct-row { padding: 14px 16px; gap: 12px; }
  .acct-row-main { flex: 1 1 100%; min-width: 0; }
  .acct-row-ops { width: 100%; }
  .acct-metrics { grid-template-columns: repeat(2, 1fr); }
  .acct-metric { padding: 14px; }
  .acct-metric-val { font-size: 18px; }
  .pay-opt { height: 40px; font-size: 12px; }
  .access-tip { font-size: 12px; align-items: flex-start; }
  .access-link { margin-left: 0; }
}

/* 管理员在详情页的快捷入口（普通用户不渲染） */
.detail-edit-fab {
  position: fixed; right: 22px; bottom: 26px; z-index: 9000;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 22px;
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 600; text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  transition: background 0.18s, transform 0.18s;
}
.detail-edit-fab span { font-size: 15px; line-height: 1; }
.detail-edit-fab:hover { background: var(--red); transform: translateY(-1px); }
@media (max-width: 640px) {
  .detail-edit-fab { right: 14px; bottom: 16px; padding: 9px 14px; font-size: 12.5px; }
}

/* 页脚备案号（由 /api/meta 的 icp / police 字段驱动，未配置时不渲染） */
.footer-beian {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.footer-beian a {
  color: rgba(255, 255, 255, 0.5); text-decoration: none;
  transition: color 0.16s;
}
.footer-beian a:hover { color: rgba(255, 255, 255, 0.82); text-decoration: underline; }
.footer-beian .footer-dot {
  display: inline-block; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.26); font-style: normal;
}
.footer-beian .footer-risk { color: rgba(255, 255, 255, 0.34); }
