/* ==========================================================================
   盒子云高保真会员中心主样式表 (1:1 参考图1视觉风格)
   特点：蓝白科技质感、大圆角白底阴影卡片、多彩徽章、精美数据指标方块
   ========================================================================== */

:root {
  --boxyun-bg: #f4f6fb;
  --boxyun-card-bg: #ffffff;
  --boxyun-primary-blue: #2f65f6;
  --boxyun-deep-blue: #1e4fd6;
  --boxyun-text-main: #1e293b;
  --boxyun-text-muted: #64748b;
  --boxyun-text-light: #94a3b8;
  --boxyun-border: #edf2f7;
  --boxyun-radius: 12px;
}

.el-main.home-main {
  padding: 0 !important;
  background-color: var(--boxyun-bg);
  min-height: calc(100vh - 40px);
}

.boxyun-dashboard-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

/* ==========================================================================
   1. 顶部用户信息卡片 (图1顶部通栏)
   ========================================================================== */
.boxyun-user-card {
  background: #ffffff;
  border-radius: var(--boxyun-radius);
  padding: 24px 32px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--boxyun-border);
}

.user-profile-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.avatar-penguin-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 3px solid #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}

.avatar-penguin-circle:hover {
  transform: scale(1.05);
}

.penguin-svg {
  width: 68px;
  height: 68px;
}

.user-meta-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-user-name {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.user-role-tag {
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.user-badge-tag.gold {
  background: #ff4d4f;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

.user-fields-row {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  color: #475569;
}

.field-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.field-label {
  color: #64748b;
}

.field-value {
  color: #1e293b;
}

.field-value.font-bold {
  font-weight: 700;
}

.field-action {
  color: #2563eb;
  cursor: pointer;
  margin-left: 4px;
  text-decoration: none;
}

.field-action:hover {
  text-decoration: underline;
}

.cert-pill {
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.cert-pill.certified {
  background: #3b82f6;
  color: #ffffff;
}

.cert-pill.uncertified {
  background: #e2e8f0;
  color: #64748b;
  cursor: pointer;
}

.cert-pill.company-pill {
  background: #3b82f6;
  color: #ffffff;
  margin-left: 6px;
}

/* ==========================================================================
   1.5 商务红色系合规卡片公告 (新增于中排卡片上方)
   ========================================================================== */
.boxyun-compliance-banner {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 50%, #fecdd3 100%);
  border: 1px solid #fecdd3;
  border-left: 5px solid #e11d48;
  border-radius: var(--boxyun-radius);
  padding: 14px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s ease;
}

.boxyun-compliance-banner:hover {
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.12);
  border-left-color: #be123c;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e11d48;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.25);
}

.compliance-badge i {
  font-size: 14px;
}

.compliance-content {
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  color: #881337;
  text-align: left;
}

.compliance-title {
  font-weight: 800;
  color: #9f1239;
  margin-right: 6px;
}

.compliance-text {
  font-weight: 500;
  color: #4c0519;
}

.compliance-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.85);
  padding: 3px;
  border-radius: 6px;
  border: 1px solid #fda4af;
  white-space: nowrap;
}

.lang-pill-btn {
  border: none;
  background: transparent;
  color: #9f1239;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.lang-pill-btn:hover {
  color: #e11d48;
  background: #fff1f2;
}

.lang-pill-btn.active {
  background: #e11d48;
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(225, 29, 72, 0.3);
}

/* ==========================================================================
   2. 四张并排特色卡片 (图1中排)
   ========================================================================== */
.boxyun-top-cards-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.boxyun-feature-card {
  border-radius: var(--boxyun-radius);
  padding: 16px 20px;
  min-height: 140px;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 卡片 1: 余额卡片 (土豪金风格：奢华香槟金/流金质感，文字黑色加粗) */
.balance-privilege-card {
  background: linear-gradient(135deg, #fff3cf 0%, #f9e295 40%, #edd17d 70%, #f6deb0 100%);
  border: 1px solid #d4af37;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.balance-privilege-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(25deg);
  pointer-events: none;
}

.bp-balance-line {
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  margin-top: 4px;
}

.bp-balance-line .bal-label {
  color: #000000 !important;
  font-weight: 800 !important;
}

.bp-balance-line .remind-link {
  color: #1a1a1a;
  font-weight: 700;
  cursor: pointer;
  margin-left: 6px;
  text-decoration: underline;
  opacity: 0.85;
}

.bp-balance-line .remind-link:hover {
  opacity: 1;
  color: #000000;
}

.bp-amount-display {
  font-size: 18px;
  font-weight: 800;
  color: #000000;
}

.bp-amount-display .curr-symbol {
  font-size: 15px;
  font-weight: 800;
  color: #000000 !important;
}

.bp-amount-display .amount-val {
  font-size: 30px;
  font-weight: 900;
  color: #000000 !important;
  letter-spacing: -0.5px;
}

.bp-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.level-status-text {
  font-size: 13px;
  font-weight: 700;
  color: #000000 !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-boxyun-charge {
  background: linear-gradient(135deg, #18181b 0%, #09090b 100%) !important;
  border: 1px solid #3f3f46 !important;
  color: #fbbf24 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  padding: 6px 18px;
  font-weight: 800 !important;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.btn-boxyun-charge:hover {
  background: #000000 !important;
  color: #fde047 !important;
  border-color: #d4af37 !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

/* 卡片 2: 我的账号 (高亮科技蓝) */
.blue-gradient-card {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
}

.bg-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.bg-card-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.bg-card-footer-actions .action-btn-item {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.bg-card-footer-actions .action-btn-item:hover {
  opacity: 1;
  color: #ffffff;
  text-decoration: underline;
}

/* 卡片 3: 我的工单 (深宝蓝) */
.deep-blue-card {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
}

.ticket-mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.ticket-mini-item {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #ffffff;
  gap: 8px;
}

.status-tag-yellow {
  background: #eab308;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
}

.ticket-no-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-time-text {
  color: rgba(255, 255, 255, 0.8);
}

.ticket-card-bottom-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  text-align: right;
  margin-top: 6px;
}

/* 卡片 4: 最新动态 (灰白) */
.notice-feed-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.notice-card-header {
  display: flex;
  height: 100%;
  gap: 16px;
}

.header-left-feed {
  width: 70px;
  border-right: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feed-tit {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.feed-all-link {
  font-size: 11px;
  color: #2563eb;
  cursor: pointer;
}

.header-right-article {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-badge-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gold-crown {
  color: #f59e0b;
}

.article-cat {
  font-size: 12px;
  color: #64748b;
}

.article-date {
  font-size: 11px;
  color: #94a3b8;
}

/* ==========================================================================
   3. 四个统计数据方块 (图1中下部横排)
   ========================================================================== */
.boxyun-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.boxyun-stat-tile {
  background: #ffffff;
  border-radius: var(--boxyun-radius);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--boxyun-border);
  cursor: pointer;
  transition: all 0.2s;
}

.boxyun-stat-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.tile-title {
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 12px;
}

.tile-counter-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.counter-num {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}

.counter-unit {
  font-size: 13px;
  color: #64748b;
}

.tile-subtext {
  font-size: 12px;
  color: #94a3b8;
}

.icon-avatar-bg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.icon-avatar-bg.blue-soft {
  background: #eff6ff;
  color: #3b82f6;
}

.icon-avatar-bg.blue-bright {
  background: #2563eb;
  color: #ffffff;
}

/* ==========================================================================
   4. 下半部分主工作区分栏 (图1底栏)
   ========================================================================== */
.boxyun-main-split-area {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}

.split-right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.split-left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.boxyun-panel {
  background: #ffffff;
  border-radius: var(--boxyun-radius);
  border: 1px solid var(--boxyun-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.panel-header {
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.panel-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

/* 自定义产品表格 */
.boxyun-custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.boxyun-custom-table thead tr {
  background: #f1f5f9;
}

.boxyun-custom-table th {
  padding: 12px 24px;
  text-align: left;
  font-weight: 600;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}

.boxyun-custom-table td {
  padding: 14px 24px;
  color: #334155;
  border-bottom: 1px solid #f8fafc;
}

.boxyun-custom-table tr.hoverable-row:hover {
  background: #f8fafc;
  cursor: pointer;
}

.col-name.text-blue {
  color: #2563eb;
  font-weight: 600;
}

.col-due.text-red {
  color: #ef4444;
  font-weight: 600;
}

.col-due.text-orange {
  color: #d97706;
  font-weight: 600;
}

/* 联系我们卡片 (图1左下) */
.contact-panel-content {
  padding: 24px 32px;
  display: flex;
  gap: 48px;
}

.contact-left-block {
  width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.brand-blue-icon {
  font-size: 24px;
  color: #2563eb;
}

.btn-scan-contact {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-color: #bfdbfe !important;
  font-size: 12px;
  font-weight: 600;
  width: 100%;
}

.qr-sublabel {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin-top: 6px;
}

.contact-right-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.support-intro-text p {
  margin: 0 0 6px 0;
  font-size: 13px;
  color: #475569;
}

.support-promise-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 14px 18px;
  border-left: 3px solid #2563eb;
}

.promise-header-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.promise-detail {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

/* 右侧推介返利购物人插画卡片 (图1右下) */
.referral-promo-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  height: 100%;
  box-sizing: border-box;
}

.referral-illustration-wrap {
  width: 100%;
  max-width: 260px;
  margin: 20px auto 40px auto;
}

.shopping-person-svg {
  width: 100%;
  height: auto;
}

.referral-status-bar {
  background: #eff6ff;
  border-radius: 6px;
  padding: 8px 24px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

.referral-status-bar .text-link {
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
}

/* 响应式适配 */
@media (max-width: 1200px) {
  .boxyun-top-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .boxyun-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .boxyun-main-split-area {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   公告中心（首页右侧）
   ========================================================================== */
.notice-center-panel {
  display: flex;
  flex-direction: column;
}

.notice-center-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px !important;
  gap: 10px;
}

.notice-center-header .panel-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: #14171f;
  margin: 0;
}

.notice-center-header .notice-bell {
  color: #2563eb;
  font-size: 15px;
}

.notice-more-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: #2563eb;
  cursor: pointer;
  white-space: nowrap;
  padding: 3px 6px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}

.notice-more-link:hover {
  background: #eef3ff;
  color: #1d4ed8;
}

.notice-more-link i {
  font-size: 11px;
}

.notice-center-body {
  padding: 6px 8px 8px;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
}

.notice-center-body::-webkit-scrollbar {
  width: 5px;
}

.notice-center-body::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 3px;
}

.notice-center-body::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}

.notice-item {
  padding: 10px 10px 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s;
}

.notice-item:hover {
  background: #f6f9ff;
}

.notice-item-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.notice-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.notice-dot.dot-0 { background: #ef4444; }
.notice-dot.dot-1 { background: #f97316; }
.notice-dot.dot-2 { background: #10b981; }
.notice-dot.dot-3 { background: #3b82f6; }

.notice-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: #26303f;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.18s;
}

.notice-item:hover .notice-title {
  color: #1d4ed8;
}

.notice-badge-new {
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: #ef4444;
  border-radius: 3px;
  padding: 1px 4px;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.notice-item-meta {
  padding-left: 13px;
  margin-top: 3px;
}

.notice-date {
  font-size: 11px;
  color: #9aa1ad;
  font-variant-numeric: tabular-nums;
}

.notice-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 6px 4px 2px;
  padding: 9px 0;
  font-size: 12.5px;
  color: #2563eb;
  cursor: pointer;
  border-top: 1px dashed #eef2f7;
  transition: color 0.18s;
}

.notice-footer-link:hover {
  color: #1d4ed8;
}

.notice-footer-link i {
  font-size: 11px;
}

.notice-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 42px 0;
  color: #b3b9c4;
}

.notice-empty i {
  font-size: 30px;
  color: #cbd5e1;
}

.notice-empty p {
  margin: 0;
  font-size: 12.5px;
}

/* 移动端：公告中心与推荐位改用紧凑排版 */
@media (max-width: 900px) {
  .notice-center-body {
    max-height: none;
  }
  .notice-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

/* ==========================================================================
   官方 QQ 群卡片（替换原「最新动态」）
   ========================================================================== */
.qq-group-card {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 12px;
  background: linear-gradient(160deg, #fbfdff 0%, #ffffff 55%);
  border: 1px solid #e8ecf3;
}

.qq-group-card .qq-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #eef2f7;
}

.qq-group-card .qq-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.qq-group-card .qq-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(18, 183, 245, 0.25));
}

.qq-group-card .qq-head-text {
  min-width: 0;
}

.qq-group-card .qq-head-title {
  font-size: 15px;
  font-weight: 700;
  color: #14171f;
  line-height: 1.3;
}

.qq-group-card .qq-head-sub {
  margin-top: 2px;
  font-size: 11.5px;
  color: #9aa1ad;
}

.qq-group-card .qq-count {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #1296db;
  background: #e8f7ff;
  border-radius: 999px;
  padding: 3px 9px;
}

.qq-group-card .qq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0 8px;
}

.qq-group-card .qq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
}

.qq-group-card .qq-item:hover {
  background: #f2f9ff;
}

.qq-group-card .qq-item:active {
  transform: scale(0.99);
}

.qq-group-card .qq-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.qq-group-card .qq-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.qq-group-card .qq-dot-0 { background: #12b7f5; }
.qq-group-card .qq-dot-1 { background: #10b981; }
.qq-group-card .qq-dot-2 { background: #f59e0b; }

.qq-group-card .qq-name {
  font-size: 13px;
  color: #4b5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qq-group-card .qq-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qq-group-card .qq-no {
  font-size: 13.5px;
  font-weight: 700;
  color: #1296db;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
}

.qq-group-card .qq-copy {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #9aa1ad;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f4f6f9;
  transition: all 0.18s;
}

.qq-group-card .qq-item:hover .qq-copy {
  color: #fff;
  background: #12b7f5;
}

.qq-group-card .qq-copy i {
  font-size: 11px;
}

.qq-group-card .qq-card-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px dashed #eef2f7;
  font-size: 11px;
  color: #a6aeba;
  line-height: 1.5;
}

.qq-group-card .qq-card-foot i {
  font-size: 12px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .qq-group-card {
    padding: 14px;
  }
  .qq-group-card .qq-no {
    font-size: 13px;
  }
  .qq-group-card .qq-copy span,
  .qq-group-card .qq-copy {
    font-size: 10.5px;
  }
}

/* ==========================================================================
   余额卡 · 用户等级（对应截图 3 的 VIP 卡片风格）
   ========================================================================== */
.balance-privilege-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.balance-privilege-card .bp-level-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.balance-privilege-card .bp-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.balance-privilege-card .bp-level-badge i {
  font-size: 12px;
}

/* 有等级时给卡片加金色描边加强（等级色以外的统一质感） */
.balance-privilege-card.has-level {
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.balance-privilege-card .bp-level-icon {
  flex: 0 0 auto;
  font-size: 15px;
  color: rgba(180, 140, 20, 0.55);
}

.balance-privilege-card .bp-balance-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.balance-privilege-card .bal-label {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.balance-privilege-card .remind-link {
  font-size: 11.5px;
  color: #2563eb;
  cursor: pointer;
  text-decoration: none;
}

.balance-privilege-card .remind-link:hover {
  text-decoration: underline;
}

.balance-privilege-card .bp-amount-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 2px 0 0;
}

.balance-privilege-card .curr-symbol {
  font-size: 13px;
  font-weight: 600;
  color: #7c6a30;
}

.balance-privilege-card .amount-val {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

/* ---- 等级进度 ---- */
.balance-privilege-card .bp-level-progress {
  margin: 2px 0 0;
}

.balance-privilege-card .lp-text {
  font-size: 11px;
  color: #7c6a30;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.balance-privilege-card .lp-text b {
  font-weight: 700;
  color: #5c4a10;
}

.balance-privilege-card .lp-text.lp-max {
  color: #8a6d1a;
  font-weight: 600;
}

.balance-privilege-card .lp-text.lp-none {
  color: #8b7a45;
}

.balance-privilege-card .lp-bar {
  position: relative;
  height: 4px;
  margin-top: 5px;
  border-radius: 3px;
  background: rgba(140, 110, 30, 0.18);
  overflow: hidden;
}

.balance-privilege-card .lp-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: #d6c60f;
}

/* ---- 底部行 ---- */
.balance-privilege-card .bp-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.balance-privilege-card .level-status-text {
  font-size: 11.5px;
  color: #8b7a45;
  white-space: nowrap;
}

.balance-privilege-card .btn-boxyun-charge {
  height: 28px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  background: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: #f5d76e !important;
  flex-shrink: 0;
}

.balance-privilege-card .btn-boxyun-charge:hover {
  background: #333 !important;
  border-color: #333 !important;
}

/* ---- 其他三张卡同步压缩高度 ---- */
.blue-gradient-card .bg-card-center-blank,
.deep-blue-card .bg-card-center-blank {
  min-height: 0 !important;
  flex: 1 1 auto;
}

.blue-gradient-card,
.deep-blue-card {
  min-height: 140px;
  padding: 16px 20px !important;
}

.blue-gradient-card .bg-card-title,
.deep-blue-card .bg-card-title {
  font-size: 16px;
}

/* QQ 卡降高 */
.qq-group-card {
  min-height: 140px;
  padding: 14px 16px 10px !important;
}

.qq-group-card .qq-card-head {
  padding-bottom: 10px;
}

.qq-group-card .qq-logo {
  width: 32px;
  height: 32px;
}

.qq-group-card .qq-list {
  gap: 4px;
  padding: 8px 0 6px;
}

.qq-group-card .qq-item {
  padding: 7px 9px;
}

.qq-group-card .qq-card-foot {
  padding-top: 7px;
  font-size: 10.5px;
}

@media (max-width: 900px) {
  .balance-privilege-card .amount-val {
    font-size: 23px;
  }
  .boxyun-feature-card {
    padding: 14px 16px;
    min-height: 132px;
  }
}

/* ==========================================================================
   顶部四卡 · 强制等高低（原来的 .bg-card-center-blank 占位 149px 把整行撑高）
   ========================================================================== */
.boxyun-top-cards-grid {
  align-items: stretch;
}

.boxyun-top-cards-grid > .boxyun-feature-card {
  height: 168px !important;
  min-height: 168px !important;
  max-height: 168px !important;
  padding: 14px 18px !important;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* 「我的账号」卡的弹性空白：不再撑高，改为吸收剩余空间但不超过卡片 */
.blue-gradient-card .bg-card-center-blank {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
}

/* 工单卡：内容区可滚/省略 */
.deep-blue-card .ticket-mini-list {
  flex: 0 0 auto;
}

/* 余额卡：压缩各段间距 */
.balance-privilege-card {
  gap: 4px !important;
  justify-content: flex-start !important;
}

.balance-privilege-card .bp-level-row {
  margin-bottom: 0 !important;
  flex: 0 0 auto;
}

.balance-privilege-card .bp-balance-line {
  flex: 0 0 auto;
  margin-top: 2px;
}

.balance-privilege-card .bp-amount-display {
  flex: 0 0 auto;
  margin: 0 !important;
}

.balance-privilege-card .bp-level-progress {
  flex: 0 0 auto;
  margin: 0 !important;
}

.balance-privilege-card .bp-footer-row {
  flex: 0 0 auto;
  margin-top: auto !important;
}

.balance-privilege-card .amount-val {
  font-size: 24px !important;
}

/* QQ 卡：三行紧凑排列 */
.qq-group-card {
  gap: 0 !important;
}

.qq-group-card .qq-card-head {
  flex: 0 0 auto;
  padding-bottom: 8px !important;
}

.qq-group-card .qq-list {
  flex: 1 1 auto;
  gap: 2px !important;
  padding: 6px 0 4px !important;
  min-height: 0;
  overflow: hidden;
}

.qq-group-card .qq-item {
  padding: 5px 8px !important;
}

.qq-group-card .qq-card-foot {
  flex: 0 0 auto;
  padding-top: 6px !important;
  margin-top: 0 !important;
  font-size: 10px !important;
}

@media (max-width: 900px) {
  .boxyun-top-cards-grid > .boxyun-feature-card {
    height: auto !important;
    min-height: 150px !important;
    max-height: none !important;
  }
}

/* ==========================================================================
   余额卡 · 右上角等级大徽章
   ========================================================================== */
.balance-privilege-card {
  position: relative;
  overflow: hidden;
}

.balance-privilege-card .bp-level-emblem {
  position: absolute;
  top: -6px;
  right: -4px;
  width: 84px;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(180, 140, 20, 0.28));
}

/* 有徽章时，等级标签别被压住，右侧留出空间 */
.balance-privilege-card .bp-level-row {
  position: relative;
  z-index: 2;
  padding-right: 62px;
}

.balance-privilege-card .bp-level-icon {
  display: none;  /* 已有大徽章，去掉小奖杯图标 */
}

/* 内容整体压在徽章下层 */
.balance-privilege-card > .bp-balance-line,
.balance-privilege-card > .bp-amount-display,
.balance-privilege-card > .bp-level-progress,
.balance-privilege-card > .bp-footer-row {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   QQ 群卡 · 完整显示 3 个群（之前高度不够被裁掉了第 3 个）
   ========================================================================== */
.qq-group-card {
  overflow: visible !important;
}

.qq-group-card .qq-list {
  overflow: visible !important;
  flex: 0 0 auto !important;
  min-height: auto !important;
  max-height: none !important;
}

.qq-group-card .qq-item {
  flex: 0 0 auto;
}

/* 四卡高度按内容自适应（QQ 卡 3 行需要更多空间），顶部对齐 */
.boxyun-top-cards-grid {
  align-items: start !important;
}

.boxyun-top-cards-grid > .boxyun-feature-card {
  height: auto !important;
  min-height: 172px !important;
  max-height: none !important;
}

/* 「我的账号」空白块不再吃高度 */
.blue-gradient-card .bg-card-center-blank {
  flex: 1 1 auto !important;
  min-height: 40px !important;
  max-height: 60px !important;
}

@media (max-width: 900px) {
  .balance-privilege-card .bp-level-emblem {
    width: 68px;
    top: -4px;
    right: -2px;
  }
  .boxyun-top-cards-grid > .boxyun-feature-card {
    min-height: 160px !important;
  }
}

/* ==========================================================================
   统计卡 · 3D 插画图标（替换原纯色图标块）
   ========================================================================== */
.boxyun-stat-tile .tile-icon-side {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 10px;
}

.boxyun-stat-tile .stat-illus {
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 6px 14px rgba(37, 99, 235, 0.12));
}

.boxyun-stat-tile:hover .stat-illus {
  transform: translateY(-3px) scale(1.04);
}

/* 卡片高度统一，插画不撑高 */
.boxyun-stat-tile {
  min-height: 112px;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .boxyun-stat-tile .stat-illus {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 900px) {
  .boxyun-stat-tile {
    min-height: 96px;
    padding: 16px 18px !important;
  }
  .boxyun-stat-tile .stat-illus {
    width: 56px;
    height: 56px;
  }
}

/* ==========================================================================
   余额卡底部按钮组：粉色「立即购买」+ 黑色「充值」
   ========================================================================== */
.balance-privilege-card .bp-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.balance-privilege-card .btn-pink-buy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none !important;
  white-space: nowrap;
  background: linear-gradient(135deg, #ff6fa5 0%, #ff4d8d 55%, #f43f7d 100%);
  box-shadow: 0 4px 12px -3px rgba(244, 63, 125, 0.55);
  transition: transform 0.16s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border: none;
  cursor: pointer;
}

.balance-privilege-card .btn-pink-buy:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 16px -3px rgba(244, 63, 125, 0.68);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.balance-privilege-card .btn-pink-buy:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px -3px rgba(244, 63, 125, 0.6);
}

.balance-privilege-card .btn-pink-buy i {
  font-size: 12px;
}

/* 小屏时按钮组换行不挤压 */
@media (max-width: 1200px) {
  .balance-privilege-card .bp-footer-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .balance-privilege-card .btn-pink-buy {
    padding: 0 11px;
    font-size: 12px;
  }
}

/* SLA 卡片：描述已删除，改为紧凑单行 */
.support-promise-box {
  padding: 10px 16px !important;
  display: flex;
  align-items: center;
}

.support-promise-box .promise-header-title {
  margin: 0 !important;
}


/* ==========================================================================
   用户中心首页 · 移动端彻底适配（≤768px）
   ========================================================================== */
@media screen and (max-width: 768px) {

  /* ---------- 1. 全局容器：禁止横向溢出 ---------- */
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  .template,
  .el-container,
  .el-main,
  .home-main,
  .boxyun-dashboard-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .el-main.home-main,
  .el-main {
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-top: 10px !important;
    padding-bottom: 16px !important;
    margin: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* 侧边栏收起后主区要占满 */
  .el-container > .el-main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .boxyun-dashboard-container {
    padding: 0 !important;
  }

  /* 万能保险：所有卡片禁止溢出 */
  .boxyun-dashboard-container * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ---------- 2. 用户信息卡片：改为纵向堆叠 ---------- */
  .boxyun-user-card {
    padding: 16px 14px !important;
    margin-bottom: 12px !important;
    border-radius: 12px !important;
  }

  .user-profile-left {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .avatar-penguin-circle {
    width: 64px !important;
    height: 64px !important;
    flex-shrink: 0;
  }

  .penguin-svg {
    width: 56px !important;
    height: 56px !important;
  }

  .user-meta-column {
    width: 100% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 10px !important;
  }

  /* 姓名 + 等级标签：允许换行，不再挤成一条 */
  .user-title-row {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    text-align: center;
  }

  .company-user-name {
    font-size: 17px !important;
    max-width: 100% !important;
    word-break: break-all;
  }

  .user-title-row > span {
    flex-shrink: 0;
  }

  /* 字段列表：单列纵向，每个字段一行 */
  .user-fields-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .field-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    padding: 7px 10px !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    overflow: hidden !important;
  }

  .field-label {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    color: #64748b !important;
    font-size: 12px !important;
  }

  .field-value {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-all;
    font-size: 12.5px !important;
  }

  .field-action {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
    white-space: nowrap !important;
    font-size: 12px !important;
  }

  /* ---------- 3. 合规公告横幅：横排 → 纵向堆叠 ---------- */
  .boxyun-compliance-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    margin-bottom: 12px !important;
    border-left-width: 4px !important;
  }

  .boxyun-compliance-banner .compliance-badge {
    align-self: flex-start !important;
    flex: 0 0 auto !important;
  }

  .boxyun-compliance-banner .compliance-content {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.75 !important;
    text-align: left !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .boxyun-compliance-banner .compliance-title {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    word-break: break-word !important;
  }

  .boxyun-compliance-banner .compliance-text {
    display: block !important;
    font-size: 12.5px !important;
    line-height: 1.75 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  .boxyun-compliance-banner .compliance-lang-switch {
    align-self: flex-end !important;
    flex: 0 0 auto !important;
  }

  /* 通用兜底：所有 compliance 元素禁止溢出 */
  [class*="compliance"] * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ---------- 4. 顶部四卡：单列或双列 ---------- */
  .boxyun-top-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  .boxyun-top-cards-grid > .boxyun-feature-card {
    min-height: auto !important;
    padding: 14px 16px !important;
  }

  /* 余额卡：竖排更舒适 */
  .balance-privilege-card .bp-footer-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .balance-privilege-card .bp-btn-group {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
  }

  .balance-privilege-card .bp-btn-group > * {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    box-sizing: border-box !important;
  }

  .balance-privilege-card .btn-pink-buy,
  .balance-privilege-card .btn-boxyun-charge {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    height: 34px !important;
  }

  .balance-privilege-card .bp-level-emblem {
    width: 60px !important;
    top: -4px !important;
    right: -2px !important;
  }

  /* ---------- 5. 统计四卡：双列 ---------- */
  .boxyun-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .boxyun-stat-tile {
    padding: 12px 10px !important;
    min-height: 88px !important;
  }

  .boxyun-stat-tile .stat-illus {
    width: 46px !important;
    height: 46px !important;
  }

  .tile-title {
    font-size: 12.5px !important;
  }

  .counter-num {
    font-size: 20px !important;
  }

  /* ---------- 6. 主工作区：产品列表 + 右侧栏 全部单列 ---------- */
  .boxyun-main-split-area {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .split-left-column,
  .split-right-column {
    width: 100% !important;
    min-width: 0 !important;
    gap: 12px !important;
  }

  /* 产品列表表格：横向可滚动，不撑破卡片 */
  .product-table-panel .panel-body.table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .boxyun-custom-table {
    min-width: 560px;
  }

  .boxyun-custom-table th,
  .boxyun-custom-table td {
    font-size: 12px !important;
    padding: 9px 8px !important;
    white-space: nowrap;
  }

  /* ---------- 7. 联系方式卡：纵向 ---------- */
  .contact-panel-content {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .contact-left-block,
  .contact-right-block {
    width: 100% !important;
    min-width: 0 !important;
  }

  .contact-brand-title {
    justify-content: center;
  }

  /* ---------- 8. 公告中心 ---------- */
  .notice-center-body {
    max-height: none !important;
  }

  .notice-title {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* ---------- 9. QQ 群卡 ---------- */
  .qq-group-card .qq-no {
    font-size: 12.5px !important;
    letter-spacing: 0;
  }

  .qq-group-card .qq-name {
    font-size: 12px !important;
  }

  .qq-group-card .qq-copy {
    display: none !important;
  }

  .qq-group-card .qq-card-foot {
    font-size: 10px !important;
    line-height: 1.5 !important;
  }

  /* ---------- 10. 弹窗：全宽、内容可滚 ---------- */
  .fx-popup-mask {
    padding: 10px !important;
  }

  .fx-popup {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 90vh !important;
    border-radius: 12px !important;
  }

  .fx-popup-body {
    padding: 14px 14px 18px !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .fx-popup-body table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap;
  }
}

/* ---------- 超小屏（iPhone SE 等）---------- */
@media screen and (max-width: 380px) {
  .company-user-name {
    font-size: 15px !important;
  }

  .boxyun-stats-grid {
    grid-template-columns: 1fr !important;
  }

  .boxyun-stat-tile .stat-illus {
    width: 40px !important;
    height: 40px !important;
  }

  .field-item {
    font-size: 12px !important;
    padding: 6px 8px !important;
  }
}

/* ===== 移动端产品列表：表格转卡片（2026-10 追加） ===== */
@media screen and (max-width: 768px) {
  /* 隐藏表头，表格元素改为块级卡片堆叠 */
  .product-table-panel .panel-body.table-responsive {
    overflow-x: visible !important;
    padding: 0 !important;
  }

  .product-table-panel .boxyun-custom-table {
    min-width: 0 !important;
    width: 100% !important;
    display: block !important;
    border: 0 !important;
  }

  .product-table-panel .boxyun-custom-table thead {
    display: none !important;
  }

  .product-table-panel .boxyun-custom-table tbody {
    display: block !important;
    width: 100% !important;
  }

  .product-table-panel .boxyun-custom-table tr {
    display: block !important;
    position: relative;
    margin: 0 0 10px !important;
    padding: 12px 12px 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e8eef6 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  }

  .product-table-panel .boxyun-custom-table tr:last-child {
    margin-bottom: 0 !important;
  }

  .product-table-panel .boxyun-custom-table td {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: auto !important;
    padding: 5px 0 !important;
    border: 0 !important;
    font-size: 13px !important;
    line-height: 1.55;
    white-space: normal !important;
    word-break: break-all;
    text-align: right !important;
  }

  /* 用 data-label 生成左侧字段名 */
  .product-table-panel .boxyun-custom-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
    padding-right: 8px;
  }

  /* 产品名作为卡片标题：占一整行，去掉前缀 */
  .product-table-panel .boxyun-custom-table td.col-name {
    display: block !important;
    padding: 0 0 8px !important;
    margin-bottom: 6px;
    border-bottom: 1px dashed #e2e8f0 !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.45;
  }

  .product-table-panel .boxyun-custom-table td.col-name::before {
    content: none !important;
    display: none !important;
  }

  /* 空状态那一行不显示字段名 */
  .product-table-panel .boxyun-custom-table td[colspan]::before {
    content: none !important;
    display: none !important;
  }

  .product-table-panel .boxyun-custom-table td[colspan] {
    display: block !important;
    text-align: center !important;
    padding: 30px 0 !important;
  }
}

/* ===== 移动端推荐返利卡：压缩插画留白（2026-10 追加） ===== */
@media screen and (max-width: 768px) {
  .referral-promo-panel {
    padding: 18px 14px !important;
  }

  .referral-illustration-wrap {
    max-width: 150px !important;
    margin: 4px auto 14px auto !important;
  }

  .referral-status-bar {
    padding: 8px 14px !important;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   2026-11-06 会员中心首页改版
   1) 用户卡：右侧财经三联（本月消费 / 历史退款 / 累计消费）
   2) 未实名置顶横幅
   3) 我的账号卡：数据概览 + 快捷操作
   4) 推介计划卡：收益看板
   5) 账号 ID 靓号图标
   ========================================================================== */

/* ---------- 通用：v-cloak 防闪烁 ---------- */
[v-cloak] { display: none !important; }

/* ---------- 0. 用户卡布局重排 ---------- */
.boxyun-user-card .user-profile-left {
  align-items: flex-start;
  gap: 20px;
}

.boxyun-user-card .user-meta-column {
  gap: 10px;
  min-width: 0;
}

/* 标题行：姓名 + 等级 + 实名 */
.boxyun-user-card .user-title-row {
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.boxyun-user-card .company-user-name {
  font-size: 19px;
  line-height: 1.3;
}

/* 等级胶囊 */
.user-level-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px 0 5px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--lv-color, #94a3b8);
  box-shadow: 0 2px 6px -2px rgba(15, 23, 42, .35);
  white-space: nowrap;
}

.user-level-chip.is-none {
  background: #eef2f7;
  color: #7c8aa0;
  box-shadow: none;
  padding-left: 8px;
}

.user-level-chip .lv-chip-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.user-level-chip .lv-chip-icon {
  font-size: 12px;
}

/* 实名胶囊 */
.user-cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none !important;
}

.user-cert-chip.is-ok {
  color: #0f9d58;
  background: #eafaf0;
  border-color: #c6f0d7;
}

.user-cert-chip.is-todo {
  color: #d97706;
  background: #fff7e8;
  border-color: #fde3b0;
  cursor: pointer;
}

.user-cert-chip.is-todo:hover {
  background: #ffefd4;
}

.user-cert-chip.is-company {
  color: #2563eb;
  background: #eef4ff;
  border-color: #d6e2ff;
}

/* 账号 ID 区域 */
.account-id-item {
  gap: 6px;
}

.account-id-value {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: .3px;
  font-variant-numeric: tabular-nums;
}

.account-id-value.is-fancy {
  background: linear-gradient(180deg, #b45309, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 靓号图标 */
.fancy-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 18px;
  padding: 0 6px 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff6d8, #ffe3a3);
  border: 1px solid #f7d27a;
  line-height: 1;
  cursor: default;
  vertical-align: middle;
  box-shadow: 0 1px 3px rgba(217, 154, 0, .22);
}

.fancy-id-badge svg {
  display: block;
  flex: 0 0 auto;
}

.fancy-id-badge em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  color: #a35a00;
  letter-spacing: .2px;
}

.ip-loc {
  color: #94a3b8;
  font-size: 12px;
  margin-left: 4px;
  font-weight: 500;
}

/* ---------- 右侧财经三联 ---------- */











/* ---------- 未实名置顶横幅 ---------- */
.fx-cert-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(100deg, #fffaf0 0%, #fff4e2 52%, #fff8ec 100%);
  border: 1px solid #fbe2b7;
  box-shadow: 0 3px 14px -8px rgba(217, 119, 6, .38);
}

.fx-cert-topbar .fxct-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.fx-cert-topbar .fxct-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ffb648, #f08a00);
  color: #fff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px -4px rgba(240, 138, 0, .7);
}

.fx-cert-topbar .fxct-text {
  min-width: 0;
}

.fx-cert-topbar .fxct-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #8a4b00;
  line-height: 1.5;
}

.fx-cert-topbar .fxct-text p {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: #a06a26;
  line-height: 1.65;
}

.fx-cert-topbar .fxct-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, #ffa42b, #f07d00);
  box-shadow: 0 6px 16px -6px rgba(240, 125, 0, .8);
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, filter .18s ease;
}

.fx-cert-topbar .fxct-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.fx-cert-topbar .fxct-btn:active {
  transform: translateY(0);
}

/* ---------- 我的账号卡（重新设计） ---------- */
.account-board-card {
  background: #fff;
  border: 1px solid var(--boxyun-border);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 14px 16px !important;
}

.account-board-card .abc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
}

.account-board-card .abc-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.account-board-card .abc-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.account-board-card .abc-chip.is-ok {
  color: #0f9d58;
  background: #eafaf0;
}

.account-board-card .abc-chip.is-todo {
  color: #d97706;
  background: #fff7e8;
}

.account-board-card .abc-body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  align-items: center;
  margin: 8px 0;
  min-height: 0;
}

.account-board-card .abc-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 0 2px;
}

.account-board-card .abc-cell + .abc-cell {
  border-left: 1px solid #f1f5f9;
  padding-left: 10px;
}

.account-board-card .abc-cell-label {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}

.account-board-card .abc-cell-value {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}

.account-board-card .abc-cell-value em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 2px;
}

.account-board-card .abc-cell-value.is-warn {
  color: #e5484d;
}

.account-board-card .abc-actions {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-top: 9px;
  border-top: 1px solid #f1f5f9;
}

.account-board-card .abc-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 0;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #5b6b82 !important;
  background: #f7f9fd;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
}

.account-board-card .abc-act i {
  font-size: 14px;
  color: #7c92b5;
}

.account-board-card .abc-act:hover {
  background: #eef4ff;
  color: #2563eb !important;
}

.account-board-card .abc-act:hover i {
  color: #2563eb;
}

/* ---------- 推介计划卡（重新设计） ---------- */
.fx-referral-card {
  border-radius: var(--boxyun-radius);
  border: 1px solid #e6edf9;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(56, 132, 255, .10) 0%, rgba(56, 132, 255, 0) 58%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.frc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.frc-head-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.frc-logo {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(135deg, #4f8bff, #2563eb);
  box-shadow: 0 6px 14px -6px rgba(37, 99, 235, .75);
}

.frc-head-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.frc-head-text strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.frc-head-text small {
  font-size: 11.5px;
  color: #8f9cb1;
  line-height: 1.2;
}

.frc-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 21px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.frc-status.is-on {
  color: #0f9d58;
  background: #eafaf0;
}

.frc-status.is-off {
  color: #8f9cb1;
  background: #f1f5f9;
}

.frc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 4px;
  border-radius: 10px;
  background: rgba(238, 244, 255, .85);
  border: 1px solid #e4edfd;
}

.frc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.frc-stat + .frc-stat {
  border-left: 1px dashed #d9e5fa;
}

.frc-stat-num {
  font-size: 15px;
  font-weight: 800;
  color: #1d4ed8;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-variant-numeric: tabular-nums;
}

.frc-stat-label {
  font-size: 11px;
  color: #8194ae;
  white-space: nowrap;
}

.frc-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 11px;
  border-radius: 8px;
  background: #fff;
  border: 1px dashed #cfdcf3;
}

.frc-link-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.frc-copy-btn {
  flex: 0 0 auto;
  height: 24px;
  padding: 0 10px;
  border: none;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #2563eb;
  background: #eef4ff;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease;
}

.frc-copy-btn:hover {
  background: #e0ecff;
}

.frc-empty {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  font-size: 11.5px;
  color: #8f9cb1;
  line-height: 1.6;
}

.frc-empty i {
  color: #b6c2d4;
  margin-top: 2px;
}

.frc-main-btn {
  height: 34px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #4f8bff, #2563eb);
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .8);
  transition: filter .18s ease, transform .14s ease;
  white-space: nowrap;
}

.frc-main-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.frc-main-btn:active {
  transform: translateY(0);
}

/* 右侧栏：推介卡贴在公告下面，不再撑满整列 */
.split-right-column .fx-referral-card {
  flex: 0 0 auto;
}

/* ---------- 响应式：中屏 ---------- */
@media screen and (max-width: 1500px) {
}

@media screen and (max-width: 1300px) {
  .boxyun-user-card .user-profile-left { flex-wrap: wrap; }
}

/* ---------- 响应式：移动端 ---------- */
@media screen and (max-width: 768px) {
  .fx-cert-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
  }
  .fx-cert-topbar .fxct-text strong { font-size: 13px; }
  .fx-cert-topbar .fxct-text p { font-size: 12px; }
  .fx-cert-topbar .fxct-btn {
    width: 100%;
    justify-content: center;
    height: 36px;
  }


  /* 账号卡移动端：与其它卡同高自适应 */
  .account-board-card { padding: 14px 16px !important; }
  .account-board-card .abc-cell-value { font-size: 14px; }

  .fancy-id-badge em { display: none; }
  .fancy-id-badge { padding: 0 3px; }

  .fx-referral-card { padding: 14px; gap: 10px; }
  .frc-stat-num { font-size: 14px; }
}

@media screen and (max-width: 380px) {
}
/* ==========================================================================
   2026-11-06 会员中心首页改版
   1) 用户卡：右侧财经三联（本月消费 / 历史退款 / 累计消费）
   2) 未实名置顶横幅
   3) 我的账号卡：数据概览 + 快捷操作
   4) 推介计划卡：收益看板
   5) 账号 ID 靓号图标
   ========================================================================== */

/* ---------- 通用：v-cloak 防闪烁 ---------- */
[v-cloak] { display: none !important; }

/* ---------- 0. 用户卡布局重排 ---------- */
.boxyun-user-card .user-profile-left {
  align-items: flex-start;
  gap: 20px;
}

.boxyun-user-card .user-meta-column {
  gap: 10px;
  min-width: 0;
}

/* 标题行：姓名 + 等级 + 实名 */
.boxyun-user-card .user-title-row {
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.boxyun-user-card .company-user-name {
  font-size: 19px;
  line-height: 1.3;
}

/* 等级胶囊 */
.user-level-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px 0 5px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--lv-color, #94a3b8);
  box-shadow: 0 2px 6px -2px rgba(15, 23, 42, .35);
  white-space: nowrap;
}

.user-level-chip.is-none {
  background: #eef2f7;
  color: #7c8aa0;
  box-shadow: none;
  padding-left: 8px;
}

.user-level-chip .lv-chip-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.user-level-chip .lv-chip-icon {
  font-size: 12px;
}

/* 实名胶囊 */
.user-cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none !important;
}

.user-cert-chip.is-ok {
  color: #0f9d58;
  background: #eafaf0;
  border-color: #c6f0d7;
}

.user-cert-chip.is-todo {
  color: #d97706;
  background: #fff7e8;
  border-color: #fde3b0;
  cursor: pointer;
}

.user-cert-chip.is-todo:hover {
  background: #ffefd4;
}

.user-cert-chip.is-company {
  color: #2563eb;
  background: #eef4ff;
  border-color: #d6e2ff;
}

/* 账号 ID 区域 */
.account-id-item {
  gap: 6px;
}

.account-id-value {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: .3px;
  font-variant-numeric: tabular-nums;
}

.account-id-value.is-fancy {
  background: linear-gradient(180deg, #b45309, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 靓号图标 */
.fancy-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 18px;
  padding: 0 6px 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff6d8, #ffe3a3);
  border: 1px solid #f7d27a;
  line-height: 1;
  cursor: default;
  vertical-align: middle;
  box-shadow: 0 1px 3px rgba(217, 154, 0, .22);
}

.fancy-id-badge svg {
  display: block;
  flex: 0 0 auto;
}

.fancy-id-badge em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  color: #a35a00;
  letter-spacing: .2px;
}

.ip-loc {
  color: #94a3b8;
  font-size: 12px;
  margin-left: 4px;
  font-weight: 500;
}

/* ---------- 右侧财经三联 ---------- */











/* ---------- 未实名置顶横幅 ---------- */
.fx-cert-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(100deg, #fffaf0 0%, #fff4e2 52%, #fff8ec 100%);
  border: 1px solid #fbe2b7;
  box-shadow: 0 3px 14px -8px rgba(217, 119, 6, .38);
}

.fx-cert-topbar .fxct-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.fx-cert-topbar .fxct-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ffb648, #f08a00);
  color: #fff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px -4px rgba(240, 138, 0, .7);
}

.fx-cert-topbar .fxct-text {
  min-width: 0;
}

.fx-cert-topbar .fxct-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #8a4b00;
  line-height: 1.5;
}

.fx-cert-topbar .fxct-text p {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: #a06a26;
  line-height: 1.65;
}

.fx-cert-topbar .fxct-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, #ffa42b, #f07d00);
  box-shadow: 0 6px 16px -6px rgba(240, 125, 0, .8);
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, filter .18s ease;
}

.fx-cert-topbar .fxct-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.fx-cert-topbar .fxct-btn:active {
  transform: translateY(0);
}

/* ---------- 我的账号卡（重新设计） ---------- */
.account-board-card {
  background: #fff;
  border: 1px solid var(--boxyun-border);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 14px 16px !important;
}

.account-board-card .abc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
}

.account-board-card .abc-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.account-board-card .abc-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.account-board-card .abc-chip.is-ok {
  color: #0f9d58;
  background: #eafaf0;
}

.account-board-card .abc-chip.is-todo {
  color: #d97706;
  background: #fff7e8;
}

.account-board-card .abc-body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  align-items: center;
  margin: 8px 0;
  min-height: 0;
}

.account-board-card .abc-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 0 2px;
}

.account-board-card .abc-cell + .abc-cell {
  border-left: 1px solid #f1f5f9;
  padding-left: 10px;
}

.account-board-card .abc-cell-label {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}

.account-board-card .abc-cell-value {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}

.account-board-card .abc-cell-value em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 2px;
}

.account-board-card .abc-cell-value.is-warn {
  color: #e5484d;
}

.account-board-card .abc-actions {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-top: 9px;
  border-top: 1px solid #f1f5f9;
}

.account-board-card .abc-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 0;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #5b6b82 !important;
  background: #f7f9fd;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
}

.account-board-card .abc-act i {
  font-size: 14px;
  color: #7c92b5;
}

.account-board-card .abc-act:hover {
  background: #eef4ff;
  color: #2563eb !important;
}

.account-board-card .abc-act:hover i {
  color: #2563eb;
}

/* ---------- 推介计划卡（重新设计） ---------- */
.fx-referral-card {
  border-radius: var(--boxyun-radius);
  border: 1px solid #e6edf9;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(56, 132, 255, .10) 0%, rgba(56, 132, 255, 0) 58%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.frc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.frc-head-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.frc-logo {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(135deg, #4f8bff, #2563eb);
  box-shadow: 0 6px 14px -6px rgba(37, 99, 235, .75);
}

.frc-head-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.frc-head-text strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.frc-head-text small {
  font-size: 11.5px;
  color: #8f9cb1;
  line-height: 1.2;
}

.frc-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 21px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.frc-status.is-on {
  color: #0f9d58;
  background: #eafaf0;
}

.frc-status.is-off {
  color: #8f9cb1;
  background: #f1f5f9;
}

.frc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 4px;
  border-radius: 10px;
  background: rgba(238, 244, 255, .85);
  border: 1px solid #e4edfd;
}

.frc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.frc-stat + .frc-stat {
  border-left: 1px dashed #d9e5fa;
}

.frc-stat-num {
  font-size: 15px;
  font-weight: 800;
  color: #1d4ed8;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-variant-numeric: tabular-nums;
}

.frc-stat-label {
  font-size: 11px;
  color: #8194ae;
  white-space: nowrap;
}

.frc-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 11px;
  border-radius: 8px;
  background: #fff;
  border: 1px dashed #cfdcf3;
}

.frc-link-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.frc-copy-btn {
  flex: 0 0 auto;
  height: 24px;
  padding: 0 10px;
  border: none;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #2563eb;
  background: #eef4ff;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease;
}

.frc-copy-btn:hover {
  background: #e0ecff;
}

.frc-empty {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  font-size: 11.5px;
  color: #8f9cb1;
  line-height: 1.6;
}

.frc-empty i {
  color: #b6c2d4;
  margin-top: 2px;
}

.frc-main-btn {
  height: 34px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #4f8bff, #2563eb);
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .8);
  transition: filter .18s ease, transform .14s ease;
  white-space: nowrap;
}

.frc-main-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.frc-main-btn:active {
  transform: translateY(0);
}

/* 右侧栏：推介卡贴在公告下面，不再撑满整列 */
.split-right-column .fx-referral-card {
  flex: 0 0 auto;
}

/* ---------- 响应式：中屏 ---------- */
@media screen and (max-width: 1500px) {
}

@media screen and (max-width: 1300px) {
  .boxyun-user-card .user-profile-left { flex-wrap: wrap; }
}

/* ---------- 响应式：移动端 ---------- */
@media screen and (max-width: 768px) {
  .fx-cert-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
  }
  .fx-cert-topbar .fxct-text strong { font-size: 13px; }
  .fx-cert-topbar .fxct-text p { font-size: 12px; }
  .fx-cert-topbar .fxct-btn {
    width: 100%;
    justify-content: center;
    height: 36px;
  }


  /* 账号卡移动端：与其它卡同高自适应 */
  .account-board-card { padding: 14px 16px !important; }
  .account-board-card .abc-cell-value { font-size: 14px; }

  .fancy-id-badge em { display: none; }
  .fancy-id-badge { padding: 0 3px; }

  .fx-referral-card { padding: 14px; gap: 10px; }
  .frc-stat-num { font-size: 14px; }
}

@media screen and (max-width: 380px) {
}

/* ==========================================================================
   2026-11-06 二次修正
   1) 顶部四卡强制等高（账号卡是 grid 单项，必须拉伸到行高）
   2) 账号卡内容竖向铺开，避免底部大片空白
   3) 靓号徽标加大，ID 旁更显眼
   ========================================================================== */
.boxyun-top-cards-grid {
  align-items: stretch !important;
}

.boxyun-top-cards-grid > .boxyun-feature-card {
  align-self: stretch !important;
}

.boxyun-top-cards-grid > .boxyun-feature-card.account-board-card {
  align-self: stretch !important;
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
}


/* 账号卡与其余三卡统一到同一行高：吸收 QQ 卡多出来的高度 */
.boxyun-top-cards-grid {
  grid-auto-rows: 1fr;
}

.account-board-card .abc-cell {
  gap: 6px;
}

.account-board-card .abc-cell-label {
  font-size: 12px;
  color: #8f9cb1;
}

.account-board-card .abc-cell-value {
  font-size: 19px;
  letter-spacing: .2px;
}

.account-board-card .abc-cell-value em {
  font-size: 11px;
}

.account-board-card .abc-actions {
  padding-top: 10px;
}

.account-board-card .abc-act {
  padding: 9px 0;
  font-size: 12px;
  gap: 4px;
}

.account-board-card .abc-act i {
  font-size: 15px;
}

/* 靓号徽标：加大、去掉外框更清爽 */
.fancy-id-badge {
  height: 19px;
  padding: 0 7px 0 5px;
  gap: 3px;
  background: linear-gradient(135deg, #fffbe8, #ffe9a8);
  border-color: #f6cd68;
  box-shadow: 0 2px 6px rgba(217, 154, 0, .28);
}

.fancy-id-badge svg {
  width: 14px;
  height: 14px;
}

.fancy-id-badge em {
  font-size: 11px;
  letter-spacing: .3px;
}

.account-id-value {
  font-size: 15px;
}

@media screen and (max-width: 768px) {
  .boxyun-top-cards-grid > .account-board-card {
    height: auto !important;
  }
  .account-board-card .abc-cell-value {
    font-size: 15px;
  }
}

/* ==========================================================================
   2026-11-06 · 我的账号消费看板（v4）
   设计要点：
   - 三项金额为主体，标签 + 金额 + 对比脚注构成三行节奏
   - 数字用 clamp() 自适应，长金额不溢出
   - 环比涨红跌绿（国内习惯），退款用琥珀色区别于消费
   - 竖分隔用渐变细线，不用硬边框，避免"表格感"
   ========================================================================== */

/* ---------- 卡片骨架 ---------- */
.boxyun-top-cards-grid {
  grid-auto-rows: 1fr;
}

.boxyun-top-cards-grid > .boxyun-feature-card {
  align-self: stretch !important;
}

.boxyun-top-cards-grid > .boxyun-feature-card.account-board-card {
  align-self: stretch !important;
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  padding: 15px 17px 13px !important;
  gap: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--boxyun-border);
  transition: box-shadow .22s cubic-bezier(.16,1,.3,1);
}

/* ---------- 头部 ---------- */
.account-board-card .abc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
}

.account-board-card .abc-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -.1px;
}

.account-board-card .abc-title-icon {
  font-size: 14px;
  color: #b3c0d3;
}

.account-board-card .abc-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 21px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease;
}

.account-board-card .abc-chip.is-ok {
  color: #0f9d58;
  background: #edfaf3;
  border-color: #c9f0d9;
}

.account-board-card .abc-chip.is-todo {
  color: #c2740a;
  background: #fff8e9;
  border-color: #fbe3b2;
  cursor: pointer;
}

.account-board-card .abc-chip.is-todo:hover {
  background: #fff1d5;
}

/* ---------- 三项金额 ---------- */
.account-board-card .abc-body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  align-items: center;
  gap: 0;
  margin: 6px 0 0;
  min-height: 0;
}

.account-board-card .abc-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 0 10px;
  position: relative;
}

.account-board-card .abc-cell:first-child {
  padding-left: 1px;
}

.account-board-card .abc-cell + .abc-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: linear-gradient(180deg, rgba(226,232,240,0), #e6edf6 22%, #e6edf6 78%, rgba(226,232,240,0));
}

/* 标签 */
.account-board-card .abc-cell-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: .1px;
  white-space: nowrap;
  line-height: 1.2;
}

.account-board-card .abc-cell-label i {
  font-size: 11px;
  color: #bcccdf;
}

/* 金额 */
.account-board-card .abc-cell-value {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-size: clamp(12px, 1.02vw, 16.5px);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -.35px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.account-board-card .abc-cur {
  font-style: normal;
  font-size: .66em;
  font-weight: 700;
  color: #9aa8bc;
  letter-spacing: 0;
  transform: translateY(-1px);
}

.account-board-card .abc-cell.is-total .abc-cell-value {
  color: #1d4ed8;
}

.account-board-card .abc-cell.is-total .abc-cur {
  color: #7f9bd8;
}

.account-board-card .abc-cell.is-refund .abc-cell-value {
  color: #b45309;
}

.account-board-card .abc-cell.is-refund .abc-cur {
  color: #c68b45;
}

/* 脚注：环比 / 单数 / 退款笔数 */
.account-board-card .abc-cell-sub {
  display: block;
  max-width: 100%;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 13px;
}

.account-board-card .abc-cell-sub i {
  font-size: 10px;
  display: inline;
  margin-right: 1px;
  vertical-align: baseline;
}

.account-board-card .abc-cell-sub.is-up { color: #e5484d; }
.account-board-card .abc-cell-sub.is-down { color: #12a150; }
.account-board-card .abc-cell-sub.is-flat { color: #8f9cb1; }
.account-board-card .abc-cell-sub.is-muted { color: #a7b2c2; font-weight: 500; }
.account-board-card .abc-cell-sub.is-refunded { color: #c2740a; }

/* ---------- 快捷操作 ---------- */
.account-board-card .abc-actions {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-top: 10px;
  margin-top: 9px;
  border-top: 1px solid #f1f5f9;
}

.account-board-card .abc-act {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 2px;
  height: 30px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b !important;
  background: #f7f9fd;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .14s ease;
}

.account-board-card .abc-act i {
  font-size: 12px;
  color: #94a6bd;
  transition: color .18s ease;
}

.account-board-card .abc-act:hover {
  background: #edf3ff;
  color: #2563eb !important;
}

.account-board-card .abc-act:hover i {
  color: #2563eb;
}

.account-board-card .abc-act:active {
  transform: scale(.97);
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1500px) {
  .account-board-card .abc-cell { padding: 0 8px; }
  .account-board-card .abc-cell-value { font-size: 15px; }
  .account-board-card .abc-cell-sub { font-size: 10px; }
}

@media screen and (max-width: 1280px) {
  .account-board-card .abc-cell-value { font-size: 14px; }
  .account-board-card .abc-cell-sub { font-size: 9.5px; }
}

@media screen and (max-width: 768px) {
  .boxyun-top-cards-grid > .boxyun-feature-card.account-board-card {
    height: auto !important;
    min-height: 0 !important;
    padding: 14px 13px 12px !important;
  }
  .account-board-card .abc-body {
    grid-template-columns: 1fr 1fr 1fr;
    flex: 0 0 auto;
    margin: 15px 0 0;
    gap: 0;
  }
  .account-board-card .abc-cell {
    padding: 0 7px;
  }
  .account-board-card .abc-cell:first-child {
    padding-left: 1px;
  }
  .account-board-card .abc-cell-value {
    font-size: clamp(12px, 3.6vw, 15px);
  }
  .account-board-card .abc-cell-label {
    font-size: 11px;
  }
  .account-board-card .abc-cell-sub {
    font-size: 10px;
    white-space: normal;
    overflow: visible;
  }
  .account-board-card .abc-actions {
    margin-top: 14px;
    padding-top: 11px;
  }
  .account-board-card .abc-act {
    height: 34px;
    font-size: 11px;
  }
}

@media screen and (max-width: 340px) {
  /* 极窄屏：两列网格，不要退化成单列长条 */
  .account-board-card .abc-body {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px 0 !important;
    align-items: start !important;
  }

  /* 第一列（本月消费）左贴边，第二列保留分隔线 */
  .account-board-card .abc-cell {
    padding: 0 9px !important;
  }
  .account-board-card .abc-cell:first-child {
    padding-left: 1px !important;
  }

  /* 第三个（历史退款）换到第二行，不再画竖向分隔 */
  .account-board-card .abc-cell:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 1px !important;
    padding-top: 12px !important;
    margin-top: 2px;
    border-top: 1px dashed #eef2f8;
  }
  .account-board-card .abc-cell:nth-child(3)::before {
    display: none !important;
  }
}

/* ---------- 动效：尊重系统偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .account-board-card,
  .account-board-card .abc-act,
  .account-board-card .abc-chip {
    transition: none !important;
  }
}

/* ==========================================================================
   移动端账号卡 · 纵向节奏兜底（放在最后，确保覆盖前面所有历史规则）
   目标：标题 → 数据 → 操作按钮 紧凑排列，不留大面积空白
   ========================================================================== */
@media screen and (max-width: 768px) {
  .boxyun-top-cards-grid > .boxyun-feature-card.account-board-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 13px 13px 11px !important;
    justify-content: flex-start !important;
  }

  .boxyun-top-cards-grid > .boxyun-feature-card.account-board-card .abc-body {
    flex: 0 0 auto !important;
    margin: 14px 0 0 !important;
    align-items: start !important;
    grid-auto-rows: auto;
  }

  .boxyun-top-cards-grid > .boxyun-feature-card.account-board-card .abc-actions {
    flex: 0 0 auto !important;
    margin-top: 13px !important;
    padding-top: 11px !important;
  }
}

/* ==========================================================================
   窄屏账号卡 · 对齐校准
   问题：单列/两列时，单元格内边距与标题左边距不一致，分隔线又铺满整行，
         视觉上"块"与"标题"对不齐。
   做法：统一以卡片内容区左边缘为基准线（--abc-edge），
         标题、金额、按钮、分隔线全部对齐同一条线。
   ========================================================================== */
@media screen and (max-width: 768px) {
  .account-board-card {
    --abc-edge: 0px;
  }

  /* 所有单元格内边距以基准线为准，第一列紧贴基准线 */
  .account-board-card .abc-body .abc-cell {
    padding-left: 0 !important;
  }

  .account-board-card .abc-body .abc-cell + .abc-cell {
    padding-left: 10px !important;
  }

  /* 竖分隔线：从单元格内容起点开始，不外溢 */
  .account-board-card .abc-cell + .abc-cell::before {
    left: 0 !important;
    top: 14% !important;
    height: 72% !important;
  }
}

@media screen and (max-width: 340px) {
  /* 两列布局：第三块独占一行，虚线从基准线起、到内容右边缘止 */
  .account-board-card .abc-body .abc-cell:nth-child(3) {
    padding-left: 0 !important;
    padding-top: 13px !important;
    margin-top: 1px !important;
    border-top: 1px dashed #e9eff7 !important;
  }

  /* 第二行两个块都不画竖线 */
  .account-board-card .abc-cell:nth-child(3)::before {
    display: none !important;
  }
}

/* ==========================================================================
   窄屏竖分隔线 · 与内容块等高对齐
   原实现用 top:12% / height:76% 的百分比，在内容高度不同的窄屏下会显得悬空、过短。
   改为：单元格自身 flex 居中，分隔线用 top/bottom 撑满内容高度。
   ========================================================================== */
@media screen and (max-width: 768px) {
  .account-board-card .abc-body .abc-cell {
    justify-content: flex-start;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .account-board-card .abc-cell + .abc-cell::before {
    top: 0 !important;
    bottom: 0 !important;
    height: auto !important;
    background: linear-gradient(180deg, rgba(226,232,240,0), #e3eaf4 18%, #e3eaf4 82%, rgba(226,232,240,0)) !important;
  }
}

/* ==========================================================================
   移动端账号卡 · 解除等高拉伸
   问题：≤768px 时四张卡变成同一列网格，grid 默认 stretch，
         账号卡被拉到与最高的「官方交流群」同等高度（235px），
         而内容只需约 120px，底部空出 100px+ 的空白。
   做法：移动端账号卡脱离 stretch，按内容自适应高度。
   ========================================================================== */
@media screen and (max-width: 768px) {
  .boxyun-top-cards-grid {
    grid-auto-rows: auto !important;
    align-items: start !important;
  }

  .boxyun-top-cards-grid > .boxyun-feature-card,
  .boxyun-top-cards-grid > .boxyun-feature-card.account-board-card {
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .account-board-card .abc-body {
    flex: 0 0 auto !important;
  }

  .account-board-card .abc-actions {
    margin-top: 12px !important;
  }
}

/* ==========================================================================
   账号卡 · 三列宽度与文案自适应（2026-11-06）
   问题：金额变成 47.90 这类多位数后，环比文案被 ellipsis 截成「较上月 -1…」
   做法：列宽按内容分配（minmax + fr），副标题允许收缩但优先显示完整数字
   ========================================================================== */
.account-board-card .abc-body {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
}

.account-board-card .abc-cell-sub {
  font-size: 10.5px;
  letter-spacing: -.2px;
  white-space: nowrap;
}

/* 极窄时允许副标题缩字号而不是截断 */
@media screen and (max-width: 1500px) {
  .account-board-card .abc-cell-sub { font-size: 10px; letter-spacing: -.3px; }
  .account-board-card .abc-cell-value { font-size: 15px; }
}

@media screen and (max-width: 768px) {
  .account-board-card .abc-cell-sub {
    font-size: 10px;
    letter-spacing: -.3px;
  }
}

/* ==========================================================================
   移动端 · 固定顶栏避让（2026-11-06）
   问题：.el-header 移动端为 position:fixed，高度 1rem（≤750px，随 rem 基准缩放）。
         而本文件前面的移动端块把 .el-main 的 padding-top 写成 10px !important，
         覆盖了 common.css 里预留的 1.66rem → 用户卡头像被顶栏压住一半。
   做法：用 --fx-header-h 统一表达顶栏高度，主区顶部留「顶栏 + 8px」间距。
   ========================================================================== */
@media screen and (max-width: 750px) {
  :root {
    --fx-header-h: 1rem;
  }
}

@media screen and (min-width: 751px) and (max-width: 768px) {
  :root {
    --fx-header-h: 40px;
  }
}

@media screen and (max-width: 768px) {
  .el-main.home-main,
  .el-main {
    padding-top: calc(var(--fx-header-h, 40px) + 8px) !important;
  }
}
