/* ===== novahl3 首页专属样式 ===== */

/* ===== 活动轮播横幅 ===== */
.nh-promo-banner {
  margin: 0 20px 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nh-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.nh-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.nh-banner-link:hover .nh-banner-img {
  transform: scale(1.05);
}
.nh-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  padding: 20px 30px;
  color: #fff;
}
.nh-banner-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.nh-banner-desc {
  font-size: 14px;
  margin: 0;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Element UI 轮播指示器样式覆盖 */
.nh-promo-banner .el-carousel__indicators {
  bottom: -30px;
}
.nh-promo-banner .el-carousel__indicator--horizontal {
  padding: 8px 4px;
}
.nh-promo-banner .el-carousel__button {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: #ddd;
}
.nh-promo-banner .el-carousel__indicator.is-active .el-carousel__button {
  background: #1677ff;
}

/* 主布局 */
.nh-main {
  padding: 0 !important;
  background: #f0f2f5;
  min-height: 100vh;
}
.nh-wrapper {
  display: flex;
  gap: 16px;
  padding: 20px;
  box-sizing: border-box;
  align-items: flex-start;
}

/* 左侧主内容 */
.nh-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 右侧边栏 */
.nh-right {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 通用卡片 */
.nh-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
}
.nh-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0;
  flex-wrap: wrap;
  gap: 8px;
}
.nh-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
}
.nh-card-body {
  padding: 14px 16px 16px;
}
.nh-more-link {
  font-size: 12px;
  color: #1677ff;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.nh-more-link:hover { text-decoration: underline; }

.nh-qn-empty { font-size: 12px; color: #bbb; }

/* 行布局 */
.nh-row {
  display: flex;
  gap: 16px;
}
.nh-row > .nh-card {
  flex: 1;
  min-width: 0;
}

/* ===== 快捷导航 ===== */
.nh-quick-nav {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.nh-qn-label {
  font-size: 13px;
  color: #999;
  white-space: nowrap;
}
.nh-quick-nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nh-qn-link {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 4px;
  background: #f5f7fa;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nh-qn-link i { font-size: 13px; }
.nh-qn-link:hover {
  background: #e6f0ff;
  color: #1677ff;
}

/* ===== 产品列表 ===== */
.nh-product-link {
  color: #1677ff;
  text-decoration: none;
  font-size: 13px;
}
.nh-product-link:hover { text-decoration: underline; }
.nh-text-mono { font-family: monospace; font-size: 13px; color: #555; }
.nh-text-muted { color: #999; font-size: 13px; }
.nh-text-danger { color: #f56c6c; }

.nh-status-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
}
.nh-status-active, .nh-status-Active { background: #e6f7ee; color: #52c41a; }
.nh-status-pending, .nh-status-Pending { background: #fff7e6; color: #fa8c16; }
.nh-status-suspended, .nh-status-Suspended { background: #fff1f0; color: #f5222d; }
.nh-status-terminated, .nh-status-Terminated { background: #f5f5f5; color: #999; }
.nh-status-cancelled, .nh-status-Cancelled { background: #f5f5f5; color: #bbb; }
.nh-status-overdue, .nh-status-Overdue { background: #fff1f0; color: #f5222d; }
.nh-status-fraud, .nh-status-Fraud { background: #fff1f0; color: #f5222d; }

/* ===== 空状态 ===== */
.nh-empty {
  text-align: center;
  padding: 32px 16px;
  color: #999;
}
.nh-empty-icon {
  font-size: 48px;
  color: #c0c4cc;
  display: block;
  margin-bottom: 12px;
}
.nh-empty p { font-size: 13px; margin: 0 0 12px; }

/* ===== 资产安全 ===== */
.nh-security-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nh-score-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nh-score-circle {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}
.nh-score-bg {
  fill: none;
  stroke: #e8edf5;
  stroke-width: 8;
}
.nh-score-fg {
  fill: none;
  stroke: #1677ff;
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 45px 45px;
  transition: stroke-dasharray 0.6s ease;
}
.nh-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
}
.nh-score-info { flex: 1; }
.nh-score-level {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.nh-score-level.safe { color: #52c41a; }
.nh-score-level.medium { color: #fa8c16; }
.nh-score-level.danger { color: #f5222d; }
.nh-score-desc { font-size: 11px; color: #999; line-height: 1.5; }

.nh-security-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.nh-sec-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f8f9fc;
  border-radius: 6px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: all 0.2s;
}
.nh-sec-link:hover { background: #e6f0ff; color: #1677ff; }

/* ===== 工单 ===== */
.nh-ticket-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.15s;
}
.nh-ticket-item:last-child { border-bottom: none; }
.nh-ticket-item:hover { background: #f8f9fc; }
.nh-ticket-left {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.nh-ticket-status {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 3px;
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
}
.nh-ticket-num {
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nh-ticket-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  padding-left: 4px;
}

/* ===== 推介计划 ===== */
.nh-referral-url {
  display: flex;
  align-items: center;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}
.nh-referral-url-text {
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nh-referral-copy {
  padding: 8px 14px;
  background: #e6f0ff;
  color: #1677ff;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  border-left: 1px solid #e8e8e8;
}
.nh-referral-copy:hover { background: #1677ff; color: #fff; }
.nh-referral-stats {
  display: flex;
  gap: 12px;
}
.nh-referral-stat {
  flex: 1;
  background: #f8f9fc;
  border-radius: 6px;
  padding: 10px 12px;
}
.nh-referral-val { font-size: 18px; font-weight: 700; color: #1a1a2e; }
.nh-referral-lbl { font-size: 12px; color: #999; margin-top: 2px; }
.nh-referral-empty .nh-referral-tips p {
  font-size: 13px;
  color: #666;
  margin: 0 0 6px;
  padding-left: 12px;
  position: relative;
}
.nh-referral-empty .nh-referral-tips p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1677ff;
}

/* ===== 联系方式 ===== */
.nh-contact-desc { font-size: 13px; color: #666; margin: 0 0 6px; line-height: 1.6; }
.nh-contact-info { margin-bottom: 12px; }
.nh-contact-info .nh-contact-desc i { margin-right: 6px; color: #1677ff; }
.nh-contact-btns { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.nh-brand-logo { height: 28px; margin-bottom: 10px; }
.nh-contact-btn {
  display: block;
  text-align: center;
  padding: 9px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.nh-contact-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px;
  background: #f8f9fc;
  border-radius: 8px;
}
.nh-qrcode-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 4px;
}
.nh-btn-primary { background: #1677ff; color: #fff; }
.nh-btn-primary:hover { background: #3a8dff; }
.nh-contact-sub { font-size: 12px; color: #999; text-align: center; margin-top: 8px; }

/* 新版联系方式 */
.nh-contact-layout {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.nh-contact-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 110px;
}
.nh-contact-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px;
  background: linear-gradient(135deg, #f0f7ff 0%, #f5f0ff 100%);
  border-radius: 10px;
  width: 100%;
}
.nh-contact-qr-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(22,119,255,0.12);
}
.nh-contact-qr-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nh-contact-qr-placeholder i { font-size: 30px; color: #a0b8e8; }
.nh-contact-qr-label {
  font-size: 11px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.nh-contact-qr-label i { color: #1677ff; }
.nh-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.nh-contact-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #555;
  background: #f8f9fc;
  border-radius: 5px;
  padding: 5px 7px;
  word-break: break-all;
}
.nh-contact-meta-item i { color: #1677ff; font-size: 13px; flex-shrink: 0; }
.nh-contact-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.nh-contact-slogan {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin: 0;
  padding: 12px;
  background: #fafafa;
  border-left: 3px solid #1677ff;
  border-radius: 0 8px 8px 0;
  flex: 1;
}
.nh-contact-service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
  background: linear-gradient(90deg, #1677ff 0%, #4096ff 100%);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(22,119,255,0.25);
}
.nh-contact-service-btn:hover {
  opacity: 0.9;
  box-shadow: 0 4px 14px rgba(22,119,255,0.35);
  color: #fff;
}

/* ===== 右侧：用户信息 ===== */
.nh-user-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
}
.nh-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.nh-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.nh-user-info { flex: 1; min-width: 0; }
.nh-user-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nh-social-icon { width: 16px; height: 16px; }
.nh-user-meta { font-size: 12px; color: #999; margin-top: 2px; }
.nh-user-actions { display: flex; gap: 6px; }
.nh-icon-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #f5f7fa;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}
.nh-icon-btn:hover { background: #e6f0ff; color: #1677ff; }

.nh-user-detail {
  padding: 0 16px 14px;
  border-top: 1px solid #f5f5f5;
  margin-top: 4px;
  padding-top: 10px;
}
.nh-user-detail-item {
  display: flex;
  align-items: center;
  font-size: 12px;
  margin-bottom: 5px;
}
.nh-detail-label { color: #999; flex-shrink: 0; width: 52px; }
.nh-detail-val { color: #333; }

/* ===== 右侧：财务信息 ===== */
.nh-finance-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nh-ftab {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
}
.nh-ftab:hover { background: #e6f0ff; color: #1677ff; }

.nh-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.nh-balance-label { font-size: 12px; color: #999; }
.nh-balance-icons { display: flex; gap: 8px; color: #999; font-size: 14px; }
.nh-balance-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}
.nh-balance-prefix { font-size: 16px; color: #333; }
.nh-balance-num { font-size: 28px; font-weight: 700; color: #1a1a2e; }
.nh-recharge-btn {
  width: 100%;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 100%) !important;
  border-color: #56CCF2 !important;
}
.nh-recharge-btn:hover,
.nh-recharge-btn:focus {
  background: linear-gradient(135deg, #6DD5F7 0%, #4A90F5 100%) !important;
  border-color: #6DD5F7 !important;
}

.nh-finance-stats {
  display: flex;
  gap: 0;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}
.nh-fstat {
  flex: 1;
  padding: 10px 12px;
  font-size: 12px;
}
.nh-fstat-divider { width: 1px; background: #f0f0f0; }
.nh-fstat-label { color: #999; margin-bottom: 4px; }
.nh-fstat-val { font-size: 14px; font-weight: 600; color: #333; }
.nh-fstat-sub {
  display: flex;
  justify-content: space-between;
  color: #999;
  margin-bottom: 2px;
}
.nh-fstat-money { color: #333; font-weight: 500; }

.nh-product-stats { display: flex; flex-direction: column; gap: 6px; }
.nh-pstat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #f8f9fc;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.nh-pstat:hover { background: #e6f0ff; }
.nh-pstat-label { font-size: 13px; color: #555; }
.nh-pstat-link { font-size: 12px; color: #1677ff; }

/* ===== 右侧：新闻公告 ===== */
.nh-news-tabs {
  display: flex;
  gap: 4px;
}
.nh-ntab {
  font-size: 12px;
  color: #999;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}
.nh-ntab.active, .nh-ntab:hover {
  background: #e6f0ff;
  color: #1677ff;
}

.nh-news-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background 0.15s;
}
.nh-news-item:last-child { border-bottom: none; }
.nh-news-item:hover { background: #f8f9fc; }
.nh-news-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.nh-tag-announce { background: #e6f0ff; color: #1677ff; }
.nh-tag-news { background: #e6f7ee; color: #52c41a; }
.nh-news-title {
  flex: 1;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nh-news-date { font-size: 11px; color: #bbb; flex-shrink: 0; }

/* ===== 推介计划横幅（未开启状态） ===== */
.nh-referral-banner-wrap { width: 100%; }
.nh-referral-banner-card { width: 100%; }
.nh-referral-banner-body { padding: 20px 24px; }

/* 顶部标题横幅 */
.nh-rb-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #fff7e6 0%, #fff3d6 100%);
  border: 1px solid #ffd591;
  border-radius: 6px;
  padding: 7px 16px;
  margin-bottom: 16px;
}
.nh-rb-header-icon {
  color: #e6820a;
  font-size: 16px;
  display: flex;
  align-items: center;
}
.nh-rb-header-text {
  font-size: 14px;
  font-weight: 600;
  color: #e6820a;
}

/* 描述文字 */
.nh-rb-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin: 0 0 16px;
}

/* 按钮区 */
.nh-rb-actions { margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.nh-rb-status-tip {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #e6820a;
  background: #fff7e6;
  border: 1px solid #ffd591;
  border-radius: 6px;
  padding: 8px 14px;
}
.nh-rb-status-tip i { font-size: 15px; flex-shrink: 0; }
.nh-rb-status-disabled { color: #999; background: #f5f5f5; border-color: #e8e8e8; }
.nh-rb-status-disabled i { color: #bbb; }
.nh-rb-btn {
  border: 1px solid #1677ff !important;
  color: #1677ff !important;
  background: #fff !important;
  border-radius: 6px !important;
  padding: 7px 18px !important;
  font-size: 13px !important;
  align-self: flex-start;
}
.nh-rb-btn:hover {
  background: #f0f7ff !important;
}
.nh-rb-btn-open {
  border-color: #1677ff !important;
  background: #1677ff !important;
  color: #fff !important;
}
.nh-rb-btn-open:hover {
  background: #3a8dff !important;
}

/* 三列优势 */
.nh-rb-features {
  display: flex;
  gap: 16px;
}
.nh-rb-feature {
  flex: 1;
  min-width: 0;
}
.nh-rb-feature-inner {
  position: relative;
  background: #f8f9fc;
  border-radius: 8px;
  padding: 16px;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
  border-bottom: 2px solid #1677ff;
}
/* 右下角斜纹装饰 */
.nh-rb-feature-decor {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 80px;
  height: 80px;
  background: repeating-linear-gradient(
    45deg,
    rgba(22,119,255,0.07) 0px,
    rgba(22,119,255,0.07) 4px,
    transparent 4px,
    transparent 10px
  );
  border-radius: 4px;
  transform: rotate(0deg);
  pointer-events: none;
}

/* ===== 推介计划利润优势（旧，保留兼容） ===== */
.nh-referral-row { align-items: stretch; }
.nh-profit-card { flex: 1.4; }
.nh-profit-body {
  display: flex;
  gap: 0;
  height: 100%;
}
.nh-profit-item {
  flex: 1;
  padding: 4px 16px;
  position: relative;
}
.nh-profit-item:first-child { padding-left: 0; }
.nh-profit-item:last-child { padding-right: 0; }
.nh-profit-divider {
  width: 1px;
  background: #f0f0f0;
  flex-shrink: 0;
  margin: 4px 0;
}
.nh-profit-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.nh-profit-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}
.nh-profit-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}
.nh-badge-blue  { background: #e6f0ff; color: #1677ff; }
.nh-badge-green { background: #e6f9f0; color: #18a058; }
.nh-badge-orange{ background: #fff3e6; color: #e6820a; }
.nh-profit-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.75;
  margin: 0;
}

/* ===== 友情链接 ===== */
.nh-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nh-link-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  transition: all 0.15s;
  background: #fafafa;
}
.nh-link-item:hover {
  border-color: #1677ff;
  color: #1677ff;
  background: #f0f7ff;
}
.nh-link-item i {
  font-size: 14px;
  color: #1677ff;
}

/* ===== 版权信息 ===== */
.nh-copyright {
  padding: 20px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  margin-top: 16px;
}
.nh-copyright-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  color: #999;
  line-height: 1.8;
}

/* ===== 帮助文档 ===== */
.nh-help-intro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, #f0f7ff 0%, #f5f0ff 100%);
  border-radius: 8px;
  margin-bottom: 14px;
}
.nh-help-intro-icon {
  font-size: 24px;
  color: #1677ff;
  flex-shrink: 0;
  margin-top: 2px;
}
.nh-help-intro p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}
.nh-help-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nh-help-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.nh-help-link:hover { background: #f0f7ff; color: #1677ff; }
.nh-help-link:hover .nh-help-arrow { color: #1677ff; }
.nh-help-link > i:first-child { color: #1677ff; font-size: 15px; flex-shrink: 0; }
.nh-help-link > span { flex: 1; }
.nh-help-arrow { color: #ccc; font-size: 12px; }

/* 响应式 */
@media (max-width: 1100px) {
  .nh-right { flex: 0 0 260px; }
}
@media (max-width: 900px) {
  .nh-wrapper {
    flex-direction: column;
  }
  .nh-right {
    flex: none;
    width: 100%;
    order: -1; /* 右侧（账户信息）在移动端优先显示 */
  }
  .nh-left {
    width: 100%;
    order: 0;
  }
  .nh-row { flex-direction: column; }
}
@media (max-width: 600px) {
  .nh-wrapper { padding: 12px; gap: 12px; }

  /* 轮播横幅在小屏收窄 */
  .nh-promo-banner { margin: 0 12px 12px; }
  .nh-promo-banner .el-carousel { height: 140px !important; }
  .nh-banner-overlay { padding: 12px 16px; }
  .nh-banner-title { font-size: 16px; }
  .nh-banner-desc { font-size: 12px; }

  /* 卡片内边距收窄 */
  .nh-card-body { padding: 12px; }
  .nh-card-header { padding: 12px 12px 0; }

  /* 用户信息卡 */
  .nh-user-header { gap: 10px; }
  .nh-user-avatar { width: 40px; height: 40px; font-size: 16px; }

  /* 产品表格横向滚动 */
  .nh-product-card .el-table { font-size: 12px; }

  /* 快速访问换行 */
  .nh-quick-nav-links { gap: 8px; }
  .nh-qn-link { font-size: 12px; padding: 6px 10px; }

  /* 财务信息 */
  .nh-balance-amount { font-size: 24px; }
  .nh-finance-tabs { flex-wrap: wrap; gap: 4px; }
  .nh-ftab { font-size: 12px; }

  /* 联系方式左右布局在小屏改为上下 */
  .nh-contact-layout { flex-direction: column; }
  .nh-contact-left { width: 100%; flex-direction: row; align-items: flex-start; gap: 12px; }
  .nh-contact-qr-wrap { width: auto; flex-shrink: 0; }

  /* 利润优势在小屏改为纵向 */
  .nh-profit-body { flex-direction: column; gap: 12px; }
  .nh-profit-divider { width: 100%; height: 1px; margin: 0; }
  .nh-profit-item { padding: 0; }
  /* 推介计划横幅三列在小屏改为纵向 */
  .nh-rb-features { flex-direction: column; }
  .nh-referral-banner-body { padding: 16px; }

  /* 安全评分 */
  .nh-score-wrap { flex-direction: column; align-items: center; text-align: center; }

  /* 新闻列表 */
  .nh-news-item { flex-wrap: wrap; gap: 4px; }
  .nh-news-date { width: 100%; font-size: 11px; }
}

/* 实名认证状态 */
.nh-cert-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f5f5f5;
}
.nh-cert-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fc;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
}
.nh-cert-label { color: #666; }
.nh-cert-status { font-size: 12px; font-weight: 600; }
.nh-cert-ok { color: #52c41a; }
.nh-cert-go {
  color: #1677ff;
  cursor: pointer;
  text-decoration: none;
}
.nh-cert-go:hover { text-decoration: underline; }
.nh-cert-with-icon, .nh-cert-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nh-cert-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.nh-cert-icon-gray {
  filter: grayscale(100%) opacity(0.45);
}

/* 社交账户绑定 */
.nh-oauth-row {
  padding: 12px 16px 14px;
  border-top: 1px solid #f5f5f5;
}
.nh-oauth-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}
.nh-oauth-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nh-oauth-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.15s;
  position: relative;
}
.nh-oauth-bound {
  border-color: #b7d9ff;
  background: #f0f7ff;
  color: #1677ff;
}
.nh-oauth-unbound {
  border-color: #e8e8e8;
  background: #fafafa;
  color: #bbb;
}
.nh-oauth-item:hover {
  border-color: #1677ff;
  color: #1677ff;
}
.nh-oauth-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  object-fit: contain;
}
.nh-oauth-unbound .nh-oauth-icon {
  filter: grayscale(100%) opacity(0.5);
}
.nh-oauth-name { line-height: 1; }
.nh-oauth-check {
  font-size: 11px;
  color: #1677ff;
  font-weight: 700;
}

/* 实名认证提醒横幅 */
.nh-cert-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e6f0ff;
  border: 1px solid #b3d0ff;
  border-radius: 0;
  padding: 10px 20px;
  font-size: 13px;
  color: #1a3a6e;
  gap: 12px;
}
.nh-cert-banner-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.nh-cert-banner-icon {
  color: #1677ff;
  font-size: 16px;
  flex-shrink: 0;
}
.nh-cert-banner-btn {
  flex-shrink: 0;
  padding: 3px 14px;
  background: #1677ff;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.nh-cert-banner-btn:hover { background: #3a8dff; }
.nh-cert-banner-close {
  color: #999;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s;
}
.nh-cert-banner-close:hover { color: #333; }

/* 推介计划未开启图片 */
.nh-referral-img {
  width: 100%;
  max-width: 200px;
  display: block;
  margin: 0 auto 12px;
}

/* 推介计划已开启顶部区域 */
.nh-referral-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.nh-referral-top-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nh-referral-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nh-referral-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}
.nh-referral-reward-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(180deg, #f74c4b 0%, #ef7575 100%);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px 2px 4px;
  border-radius: 3px;
  cursor: pointer;
}
.nh-referral-reward-tag img { width: 20px; height: 20px; }
.nh-referral-sub {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}
.nh-referral-desc { font-size: 12px; color: #999; }
.nh-referral-card-img {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

/* 用户等级标签 */
.nh-user-level {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid currentColor;
  vertical-align: middle;
  margin-left: 4px;
  line-height: 1.6;
}


/* ===== 防拔站保护（可选） ===== */
/* 如需禁用文本选择，取消下面注释 */
/*
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
*/

/* ===== 文字横幅通知 ===== */
#text-banner-container {
  margin: 0 20px 16px;
  position: relative;
  /* 预留固定高度，避免切换时页面跳动 */
  min-height: 40px;
}

.nh-text-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
  /* 确保横幅在切换时保持在容器内 */
  width: 100%;
}

.nh-text-banner:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.nh-text-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.nh-text-banner-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.nh-text-banner-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nh-text-banner-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.nh-text-banner-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.nh-text-banner-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 4px;
  z-index: 10;
}

.nh-text-banner-close:hover {
  opacity: 1;
}

/* 文字横幅动画效果 - 优化版（避免页面跳动） */
.nh-banner-slide-enter-active,
.nh-banner-slide-leave-active {
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.nh-banner-slide-enter {
  transform: translateX(100%);
  opacity: 0;
}

.nh-banner-slide-leave-to {
  transform: translateX(-100%);
  opacity: 0;
}

.nh-banner-slide-leave-active {
  /* 离开时保持在原位，只改变透明度和位移 */
  position: absolute;
}

.nh-banner-fade-enter-active,
.nh-banner-fade-leave-active {
  transition: opacity 0.5s ease;
}

.nh-banner-fade-enter,
.nh-banner-fade-leave-to {
  opacity: 0;
}

.nh-banner-fade-leave-active {
  /* 离开时保持在原位 */
  position: absolute;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  #text-banner-container {
    margin: 0 10px 12px;
    min-height: 36px;
  }

  .nh-text-banner {
    padding: 0 40px;
    border-radius: 6px;
  }

  .nh-text-banner-content {
    font-size: 13px;
    gap: 6px;
  }

  .nh-text-banner-icon {
    font-size: 16px;
  }

  .nh-text-banner-close {
    right: 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  #text-banner-container {
    min-height: 32px;
  }

  .nh-text-banner {
    padding: 0 35px;
  }

  .nh-text-banner-content {
    font-size: 12px;
  }

  .nh-text-banner-text {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
