/* YUNSHANGHUI2026 · 全民基础设施投资计划 —— 蓝色产业平台主题 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --app-primary: #1d84ff;
  --app-primary-2: #3d97ff;
  --app-primary-dark: #1565cc;
  --app-accent: #0ea5e9;
  --app-ink: #0d3a6e;
  --app-danger: #dc2626;
  --app-warn: #f59e0b;
  --app-bg: #eef2f7;
  --app-card: #ffffff;
  --app-text: #0f172a;
  --app-sub: #475569;
  --app-muted: #94a3b8;
  --app-line: #dbe4ef;
  --app-radius: 14px;
  --app-radius-sm: 8px;
  --app-radius-xs: 6px;
  --app-shadow: 0 8px 28px rgba(13, 58, 110, 0.08);
  --app-shadow-sm: 0 1px 6px rgba(0, 0, 0, 0.05);
  --app-card-solid: #ffffff;
  --app-footer-h: 72px;
  --app-nav-h: 48px;
  --app-btn-h: 44px;
  --app-btn-radius: 10px;
  --app-input-h: 42px;
  --app-input-radius: 10px;
  --app-font: "Outfit", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --app-display: "Noto Serif SC", "Songti SC", serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 80% 40% at 10% -10%, rgba(29, 132, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 35% at 100% 0%, rgba(14, 165, 233, 0.08), transparent 50%),
    linear-gradient(180deg, #f4f8fc 0%, var(--app-bg) 40%, #e8eef5 100%);
  background-attachment: fixed;
  color: var(--app-text);
  font-family: var(--app-font);
  -webkit-tap-highlight-color: transparent;
}

/* ========== 链接统一 ========== */
a {
  color: var(--app-primary);
  text-decoration: none;
}
a:active { opacity: .85; }

button { font-family: inherit; }

.app-page {
  min-height: 100vh;
  padding-bottom: calc(var(--app-footer-h) + 12px);
  background: var(--app-bg);
}
.app-page--nobar { padding-bottom: 20px; }

/* ========== 头部统一（唯一样式） ========== */
.app-nav,
.app-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--app-nav-h);
  padding: 0 48px;
  background: linear-gradient(135deg, #072858 0%, #0d3a6e 55%, #1d84ff 140%);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  font-family: var(--app-display);
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 4px 18px rgba(13, 58, 110, 0.22);
}
.app-nav .title,
.app-head .title {
  flex: 1;
  text-align: center;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 兼容：直接写文字在 .app-head 里 */
.app-head:not(:has(.title)) {
  display: block;
  line-height: var(--app-nav-h);
  padding: 0 16px;
}

.app-nav .back,
.app-head .back {
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}
.app-nav .right,
.app-head .right {
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

/* 员工积分信息：头部下方卡片，不再用渐变大头 */
.app-hero {
  background: var(--app-card);
  margin: 12px;
  border-radius: var(--app-radius);
  padding: 18px 16px;
  box-shadow: var(--app-shadow);
  color: var(--app-text);
}
.app-hero .label { font-size: 13px; color: var(--app-sub); }
.app-hero .value {
  font-size: 32px;
  font-weight: 700;
  margin: 8px 0 4px;
  color: var(--app-primary);
  letter-spacing: .5px;
}
.app-hero .desc { font-size: 13px; color: var(--app-muted); }

/* ========== 按钮统一（全局主按钮同一高度/圆角/颜色） ========== */
.app-btn,
button.app-btn,
a.app-btn,
.prod-btn,
.lingqubtn,
.invite-card-btn,
.copy,
.copy-url,
.detail-footer .app-btn,
.detail-footer button,
.money button,
.box .btn,
a.app-btn,
.bottom input[type="button"],
.bottom input[type="submit"],
.zh_data .bottom input,
.pe_data + .bottom input,
.get_code,
#get_code,
#add_withdrawal,
#edit_pass,
.re-b button,
.recharge .bottom input,
.fk-box .btn,
.pro {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: var(--app-btn-h) !important;
  min-height: var(--app-btn-h) !important;
  line-height: 1 !important;
  padding: 0 22px !important;
  border: none !important;
  outline: none !important;
  background: linear-gradient(145deg, #38bdf8, #1d84ff) !important;
  color: #fff !important;
  border-radius: var(--app-btn-radius) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(29, 132, 255, .28) !important;
  text-indent: 0 !important;
  appearance: none;
  -webkit-appearance: none;
}
.app-btn--block,
.prod-btn.app-btn--block,
button.app-btn--block,
.bottom input[type="button"],
.bottom input[type="submit"],
#add_withdrawal,
#edit_pass,
#get_code {
  display: flex !important;
  width: 70% !important;
  max-width: 280px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.copy,
.copy-url {
  width: 35% !important;
  max-width: none;
  margin: 14px auto !important;
  font-size: 15px !important;
}
.app-btn--disabled,
.app-btn:disabled,
button:disabled.app-btn,
.prod-btn.disabled,
.detail-footer button:disabled {
  background: #c0c4cc !important;
  color: #fff !important;
  cursor: not-allowed;
}
/* 状态按钮分色：立即参与(蓝) / 已满额(红) / 即将开启(橙) / 筹备中(灰蓝) / 已结束(灰) */
.app-btn.app-btn--join,
button.app-btn.app-btn--join {
  background: var(--app-primary) !important;
  color: #fff !important;
  cursor: pointer;
}
.app-btn.app-btn--full,
button.app-btn.app-btn--full,
.app-btn.app-btn--full:disabled,
button.app-btn.app-btn--full:disabled,
.detail-footer button.app-btn--full:disabled {
  background: #f56c6c !important;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 1 !important;
}
.app-btn.app-btn--soon,
button.app-btn.app-btn--soon,
.app-btn.app-btn--soon:disabled,
button.app-btn.app-btn--soon:disabled,
.detail-footer button.app-btn--soon:disabled {
  background: #e6a23c !important;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 1 !important;
}
.app-btn.app-btn--prepare,
button.app-btn.app-btn--prepare,
.app-btn.app-btn--prepare:disabled,
button.app-btn.app-btn--prepare:disabled,
.detail-footer button.app-btn--prepare:disabled {
  background: #7a8da6 !important;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 1 !important;
}
.app-btn.app-btn--reserve,
button.app-btn.app-btn--reserve {
  margin-top: 8px;
  background: #fff !important;
  color: var(--app-primary) !important;
  border: 1px solid var(--app-primary) !important;
  box-shadow: none !important;
}
.prod-actions {
  margin-top: 4px;
}
.app-btn.app-btn--ended,
button.app-btn.app-btn--ended,
.app-btn.app-btn--ended:disabled,
button.app-btn.app-btn--ended:disabled {
  background: #c0c4cc !important;
  color: #fff !important;
  cursor: not-allowed;
}
.app-btn--ghost,
.re-b a button {
  background: #eef4ff !important;
  color: var(--app-primary) !important;
  border: 1px solid var(--app-primary) !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  border-radius: 15px !important;
  width: auto !important;
  display: inline-flex !important;
}

/* ========== 输入框 / 下拉统一 ========== */
.re-b strong input[type="text"],
.re-b strong input[type="password"],
.re-b strong input[type="number"],
.re-b strong input[type="tel"],
.re-b strong select,
.pe_data ul li input[type="text"],
.pe_data ul li input[type="password"],
.pe_data ul li input[type="number"],
.pe_data ul li input[type="tel"],
.pe_data ul li select,
.whole input[type="text"],
.whole input[type="password"],
.whole input[type="number"],
.whole select,
.app-input,
.app-form input[type="text"],
.app-form input[type="password"],
.app-form input[type="number"],
.app-form select {
  box-sizing: border-box !important;
  height: var(--app-input-h) !important;
  min-height: var(--app-input-h) !important;
  line-height: calc(var(--app-input-h) - 2px) !important;
  padding: 0 12px !important;
  border: 1px solid var(--app-line) !important;
  border-radius: var(--app-input-radius) !important;
  background: #fff !important;
  color: var(--app-text) !important;
  font-size: 14px !important;
  outline: none !important;
  text-indent: 0 !important;
  appearance: none;
  -webkit-appearance: none;
}
.re-b strong select,
.pe_data ul li select,
.whole select,
.app-form select {
  background-image: linear-gradient(45deg, transparent 50%, #999 50%),
    linear-gradient(135deg, #999 50%, transparent 50%) !important;
  background-position: calc(100% - 16px) 17px, calc(100% - 10px) 17px !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
  padding-right: 28px !important;
}
.re-b strong input:focus,
.re-b strong select:focus,
.pe_data ul li input:focus,
.pe_data ul li select:focus,
.whole input:focus,
.whole select:focus,
.app-input:focus,
.app-form input:focus,
.app-form select:focus {
  border-color: var(--app-primary) !important;
  box-shadow: 0 0 0 2px rgba(29, 132, 255, 0.12);
}
.re-b strong input:disabled,
.re-b strong input[disabled] {
  background: #f7f8fa !important;
  color: var(--app-sub) !important;
  border-color: var(--app-line) !important;
}
.re-b strong label,
.pe_data ul li label {
  color: var(--app-text) !important;
  font-size: 14px !important;
  line-height: var(--app-input-h) !important;
}
.recharge {
  width: 94% !important;
  margin: 12px auto 24px !important;
}
.re-b {
  background: #fff !important;
  border-radius: var(--app-radius) !important;
  padding: 18px 14px !important;
  box-shadow: var(--app-shadow);
}
.re-b strong {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 14px !important;
  line-height: var(--app-input-h) !important;
  overflow: visible !important;
}
.re-b strong label {
  width: 30% !important;
  float: none !important;
  flex-shrink: 0;
}
.re-b strong input,
.re-b strong select {
  width: 70% !important;
  float: none !important;
  flex: 1;
}
.pe_data ul li {
  border-bottom: none !important;
  padding: 8px 0 !important;
}
.pe_data ul li input,
.pe_data ul li select {
  width: 100% !important;
  margin-top: 6px;
}
.bottom {
  text-align: center !important;
  margin-top: 8px;
}

/* ========== 卡片 / 列表 ========== */
.app-card {
  background: var(--app-card);
  margin: 12px;
  border-radius: var(--app-radius);
  padding: 14px;
  box-shadow: var(--app-shadow);
}
.app-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--app-text);
}
.app-pad { padding: 12px 12px 0; }
.app-tip {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--app-sub);
}

.app-grid4 {
  display: flex;
  background: var(--app-card);
  margin: 12px;
  border-radius: var(--app-radius);
  overflow: hidden;
  box-shadow: var(--app-shadow);
}
.app-grid4 a {
  flex: 1;
  text-align: center;
  padding: 16px 4px;
  font-size: 13px;
  color: var(--app-text) !important;
  position: relative;
  font-weight: 500;
}
.app-grid4 a + a::before {
  content: '';
  position: absolute;
  left: 0; top: 20%;
  height: 60%;
  width: 1px;
  background: var(--app-line);
}

.app-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--app-line);
}
.app-item:last-child { border-bottom: none; }
.app-item .title { font-size: 15px; font-weight: 500; color: var(--app-text); }
.app-item .sub { font-size: 12px; color: var(--app-muted); margin-top: 4px; line-height: 1.4; }
.app-item .plus { color: var(--app-primary); font-weight: 600; }

.app-tabs {
  display: flex;
  background: var(--app-card);
  margin: 12px;
  border-radius: var(--app-radius);
  overflow: hidden;
  box-shadow: var(--app-shadow);
}
.app-tabs a {
  flex: 1;
  text-align: center;
  padding: 13px 4px;
  font-size: 12px;
  color: var(--app-sub) !important;
}
.app-tabs a.on {
  color: var(--app-primary) !important;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--app-primary);
}

/* ========== 产品卡片 ========== */
.prod-list { padding: 12px 12px 0; }
.prod-card {
  position: relative;
  background: var(--app-card);
  border-radius: var(--app-radius);
  padding: 16px 14px 14px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--app-shadow);
}
.prod-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  border-style: solid;
  border-width: 14px 14px 0 0;
  border-color: var(--app-primary) transparent transparent transparent;
  z-index: 2;
}
.prod-card.has-cover {
  padding-top: 0;
}
.prod-card.has-cover::before { display: none; }
.prod-cover {
  position: relative;
  width: calc(100% + 28px);
  margin: 0 -14px 12px;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #7f1d1d 0%, #b45309 100%);
}
.prod-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}
.prod-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prod-badge {
  position: absolute;
  right: 0; top: 0;
  z-index: 3;
  background: var(--app-danger);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 0 var(--app-radius) 0 10px;
  font-weight: 600;
}
.prod-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.prod-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--app-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prod-tag {
  flex-shrink: 0;
  background: var(--app-primary);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}
.prod-status {
  font-size: 12px;
  color: var(--app-primary);
  margin-bottom: 12px;
}
.prod-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  text-align: center;
  margin-bottom: 10px;
  row-gap: 10px;
}
.prod-metrics .col { flex: 1 1 25%; min-width: 72px; }
.prod-metrics .val {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--app-text);
  margin-bottom: 4px;
}
.prod-metrics .val.rate {
  color: var(--app-primary);
  font-size: 17px;
}
.prod-metrics .label {
  display: block;
  font-size: 11px;
  color: var(--app-muted);
}
/* 折扣单独一行，避免撑高四列指标区 */
.prod-discount {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: -2px 0 10px;
  font-size: 12px;
  line-height: 1.3;
}
.prod-discount .price-old,
.meta-row .price-old {
  color: #999;
  text-decoration: line-through;
}
.prod-discount .discount-tag,
.meta-row .discount-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #c2410c;
  background: rgba(234, 88, 12, 0.12);
}
.meta-row .price-old {
  display: inline;
}
.prod-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--app-sub);
  margin-bottom: 10px;
}
.prod-countdown { color: var(--app-warn); font-weight: 500; }
.prod-open-cd {
  margin: 0 0 12px;
  padding: 12px 12px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(47,124,246,.08), rgba(255,106,0,.08));
  border: 1px solid rgba(47,124,246,.12);
  text-align: center;
}
.prod-open-cd .cd-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--app-primary);
  margin-bottom: 8px;
}
.prod-open-cd .cd-time {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  color: #333;
  font-size: 12px;
}
.prod-open-cd .cd-time em {
  display: inline-block;
  min-width: 28px;
  padding: 4px 6px;
  margin: 0 2px;
  border-radius: 6px;
  background: #fff;
  color: #e34d59;
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.prod-open-cd .cd-end {
  margin-top: 8px;
  font-size: 11px;
  color: #999;
}
.prod-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--app-sub);
}
.prod-progress .bar {
  flex: 1;
  height: 6px;
  background: #e8eef8;
  border-radius: 6px;
  overflow: hidden;
}
.prod-progress .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--app-primary-2), var(--app-primary));
  border-radius: 6px;
}
.prod-progress .pct {
  width: 48px;
  text-align: right;
  color: var(--app-primary);
  font-weight: 500;
}

/* ========== 详情 ========== */
.detail-shell {
  background: var(--app-bg);
  min-height: 100vh;
  padding-bottom: 24px;
}
.detail-card {
  background: var(--app-card);
  margin: 12px;
  border-radius: var(--app-radius);
  padding: 16px;
  box-shadow: var(--app-shadow);
}
.detail-card h2 {
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--app-text);
}
.detail-card h2:first-child { margin-top: 0; }
.phase-box .main { font-size: 18px; font-weight: 700; color: var(--app-text); }
.phase-box .sub { font-size: 14px; color: var(--app-primary); margin-top: 6px; font-weight: 500; }
.meta-row { font-size: 13px; color: var(--app-sub); margin: 8px 0; line-height: 1.5; }
.dir-list { padding: 4px 0 8px; }
.dir-item { font-size: 14px; color: var(--app-text); line-height: 28px; }
.dir-item i { color: var(--app-primary); margin-right: 6px; font-style: normal; font-weight: 700; }
.detail-content { font-size: 14px; color: var(--app-sub); line-height: 1.7; padding-top: 4px; }
.detail-content img { max-width: 100%; height: auto; }
.detail-content a { color: var(--app-primary); }
.detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--app-line);
}
.detail-footer .price { font-size: 14px; color: var(--app-sub); }
.detail-footer .price i {
  font-style: normal;
  color: var(--app-primary);
  font-size: 22px;
  font-weight: 700;
  margin: 0 2px;
}

.level-item { padding: 14px 0; border-bottom: 1px solid var(--app-line); }
.level-item:last-child { border-bottom: none; }
.level-item.cur {
  background: #f5f9ff;
  margin: 0 -14px;
  padding: 14px;
  border-radius: var(--app-radius-sm);
  border-bottom-color: transparent;
}
.level-item .name { font-size: 15px; font-weight: 600; }
.level-item .sub { font-size: 12px; color: var(--app-muted); margin-top: 4px; }
.rank-no { width: 28px; color: var(--app-primary); font-weight: 700; }
.rank-score { color: var(--app-text); font-weight: 600; }

/* ========== 弹窗统一（layer.mobile + vant） ========== */
.layui-m-layerbtn {
  background: var(--app-primary) !important;
  border: none !important;
}
.layui-m-layerbtn span[yes],
.layui-m-layerbtn span[no] {
  color: #ffffff !important;
  border: none !important;
}
.layui-m-layerbtn span[no] {
  background: #eef4ff !important;
  color: var(--app-primary) !important;
}
.layui-m-layerchild {
  border-radius: 12px !important;
  overflow: hidden;
}
.layui-m-layerchild h3 {
  padding: 0 16px !important;
  height: 48px !important;
  line-height: 48px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--app-text) !important;
  background: #fff !important;
  border-bottom: 1px solid var(--app-line) !important;
  text-align: center !important;
}
.layui-m-layercont {
  padding: 20px 18px !important;
  line-height: 1.6 !important;
  text-align: center !important;
  color: var(--app-sub) !important;
  font-size: 14px !important;
}
/* toast：深底必须配白字，避免被上面的 layercont 深色字覆盖 */
.layui-m-layer-msg {
  background: rgba(20, 24, 32, .88) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.28) !important;
}
.layui-m-layer-msg .layui-m-layercont {
  color: #ffffff !important;
  padding: 12px 18px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

.van-dialog {
  border-radius: 12px !important;
  overflow: hidden;
}
.van-dialog__header {
  font-weight: 600 !important;
  color: var(--app-text) !important;
}
.van-dialog__message {
  color: var(--app-text) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}
.van-dialog__cancel,
.van-dialog__cancel.van-button--default,
.van-dialog__cancel .van-button__text {
  background: #fff !important;
  border-color: transparent !important;
  color: #666 !important;
}
.van-dialog__confirm,
.van-dialog__confirm.van-button--default,
.van-button--default.van-dialog__confirm,
.van-dialog__confirm .van-button__text,
.van-button--round.van-dialog__confirm,
.van-button--round.van-button--default.van-dialog__confirm {
  background: var(--app-primary) !important;
  border-color: var(--app-primary) !important;
  color: #fff !important;
}

/* 底部导航（全局统一，覆盖旧页杂色样式） */
.aui-footer,
footer.aui-footer {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  height: var(--app-footer-h) !important;
  min-height: var(--app-footer-h) !important;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom)) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  background: rgba(255, 255, 255, 0.96) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--app-line) !important;
  box-shadow: 0 -6px 24px rgba(13, 58, 110, 0.08) !important;
}
.aui-footer:after,
footer.aui-footer:after {
  display: none !important;
  content: none !important;
  border: none !important;
}
.aui-footer .aui-tabBar-item,
footer.aui-footer .aui-tabBar-item,
.aui-tabBar-item {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 0 2px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  color: #8a97a8 !important;
  background: transparent !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.aui-footer .aui-tabBar-item img,
footer.aui-footer .aui-tabBar-item img,
.aui-tabBar-item img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 0 3px !important;
}
.aui-footer .aui-tabBar-item-text,
footer.aui-footer .aui-tabBar-item-text,
.aui-tabBar-item-text {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: #8a97a8 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.aui-footer .aui-tabBar-item-active .aui-tabBar-item-text,
footer.aui-footer .aui-tabBar-item-active .aui-tabBar-item-text,
.aui-tabBar-item-active .aui-tabBar-item-text {
  color: var(--app-primary) !important;
  font-weight: 600 !important;
}
.footer-bar-item {
  height: var(--app-footer-h) !important;
}

/* 兼容旧页蓝头 */
.head .hgj,
.hgj {
  background: var(--app-primary) !important;
  color: #fff !important;
}

/* Vant 导航/标签统一 */
.van-nav-bar {
  background: var(--app-primary) !important;
}
.van-nav-bar__title,
.van-nav-bar .van-icon,
.van-nav-bar__text,
.van-nav-bar__arrow {
  color: #fff !important;
}
.van-hairline--bottom::after { border-bottom-width: 0 !important; }
.van-tabs__nav--card {
  margin: 12px !important;
  border-color: var(--app-primary) !important;
  border-radius: 10px !important;
}
.van-tabs__nav--card .van-tab {
  color: var(--app-primary) !important;
  border-color: var(--app-primary) !important;
}
.van-tabs__nav--card .van-tab.van-tab--active {
  background: var(--app-primary) !important;
  color: #fff !important;
}
.van-cell { background: #fff; }
.van-pull-refresh { min-height: 60vh; background: var(--app-bg); }

.layui-layer-btn .layui-layer-btn0 {
  background: var(--app-primary) !important;
  border-color: var(--app-primary) !important;
  border-radius: var(--app-btn-radius) !important;
  height: var(--app-btn-h) !important;
  line-height: var(--app-btn-h) !important;
}

/* 列表记录卡片 */
.record {
  width: auto !important;
  margin: 12px !important;
  background: transparent !important;
  padding: 0 !important;
}
.record .item,
.record ul li {
  background: #fff !important;
  border-radius: 12px !important;
  margin-bottom: 10px !important;
  box-shadow: var(--app-shadow);
  border: none !important;
}
body.loading,
.wrapper {
  background: var(--app-bg) !important;
  min-height: 100vh;
}

/* ========== 底部滚动选择器（类原生） ========== */
.app-select {
  box-sizing: border-box !important;
  display: block !important;
  width: 70% !important;
  flex: 1;
  min-width: 0;
  height: var(--app-input-h) !important;
  min-height: var(--app-input-h) !important;
  line-height: calc(var(--app-input-h) - 2px) !important;
  padding: 0 28px 0 12px !important;
  border: 1px solid var(--app-line) !important;
  border-radius: var(--app-input-radius) !important;
  background: #fff !important;
  color: var(--app-text) !important;
  font-size: 14px !important;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}
.app-select::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(45deg);
}
.app-select.is-placeholder { color: var(--app-muted) !important; }
.app-select.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}
select.app-select-native { display: none !important; }

/* 通用表单区：底部选择触发器与 input 对齐 */
.cm-field .app-select,
.sub-field .app-select,
.form-field .app-select {
  width: 100%;
  box-sizing: border-box;
}

/* 表单行内选择器：铺满右侧 */
.bank-row .app-select,
.pass-row .app-select,
.set-row .app-select,
.pe_data li .app-select,
.pe_data .app-select {
  width: auto !important;
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  padding-left: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  line-height: 44px !important;
  border-radius: 0 !important;
}
.bank-row .app-select::after,
.pass-row .app-select::after,
.set-row .app-select::after,
.pe_data li .app-select::after {
  right: 0;
}

.app-picker-mask {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease;
}
.app-picker-mask.show {
  opacity: 1;
  visibility: visible;
}
.app-picker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
  border-radius: 14px 14px 0 0;
  transform: translateY(100%);
  transition: transform .25s ease;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
}
.app-picker.show { transform: translateY(0); }
.app-picker-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid #f0f0f0;
}
.app-picker-hd .cancel {
  color: #999;
  font-size: 15px;
  min-width: 48px;
}
.app-picker-hd .title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
.app-picker-hd .ok {
  color: var(--app-primary);
  font-size: 15px;
  font-weight: 600;
  min-width: 48px;
  text-align: right;
}
.app-picker-bd {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.app-picker-wheel {
  height: 220px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y mandatory;
  margin: 0 !important;
  padding: 88px 0 !important;
  list-style: none !important;
  scrollbar-width: none;
}
.app-picker-wheel::-webkit-scrollbar { display: none; }
.app-picker-wheel li,
ul.app-picker-wheel li {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  line-height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  text-align: center !important;
  font-size: 17px !important;
  color: #333 !important;
  scroll-snap-align: center;
  list-style: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box !important;
  float: none !important;
}
.app-picker-wheel li.active,
ul.app-picker-wheel li.active {
  color: var(--app-primary) !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  text-align: center !important;
}
.app-picker-indicator {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 44px;
  margin-top: -22px;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  background: rgba(47, 124, 246, 0.04);
  pointer-events: none;
  border-radius: 8px;
}
.app-picker-mask-grad {
  position: absolute;
  left: 0;
  right: 0;
  height: 88px;
  pointer-events: none;
  z-index: 1;
}
.app-picker-mask-grad.top {
  top: 0;
  background: linear-gradient(to bottom, #fff 20%, rgba(255,255,255,0));
}
.app-picker-mask-grad.bottom {
  bottom: 0;
  background: linear-gradient(to top, #fff 20%, rgba(255,255,255,0));
}

/* 支付方式推荐角标：贴在卡片右上边，一眼可见 */
.fee-pay,
.pay-type ul li,
.detail-pay ul li,
.pay-types{
  position: relative;
}
.fee-pay.is-rec,
.pay-type ul li.is-rec,
.detail-pay ul li.is-rec,
.pay-types.is-rec{
  border-color: #ff7a18 !important;
  box-shadow: 0 0 0 1px rgba(255,122,24,.18);
}
.pay-rec{
  position: absolute;
  top: -10px;
  right: 12px;
  z-index: 3;
  display: inline-block;
  margin: 0;
  padding: 3px 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .5px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a1a 0%, #ff3b30 100%);
  border-radius: 10px 10px 10px 4px;
  box-shadow: 0 3px 8px rgba(255, 59, 48, .4);
  pointer-events: none;
  white-space: nowrap;
}
.pay-rec::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 4px 0 0;
  border-color: #c62828 transparent transparent transparent;
}

/* ========== YUNSHANGHUI 全民基建计划组件 ========== */
@keyframes yunshanghui-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes yunshanghui-glow {
  0%, 100% { opacity: .45; }
  50% { opacity: .85; }
}
@keyframes yunshanghui-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.yunshanghui-brand {
  font-family: var(--app-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.yunshanghui-rise { animation: yunshanghui-rise .55s ease both; }
.yunshanghui-rise-2 { animation: yunshanghui-rise .65s .08s ease both; }
.yunshanghui-rise-3 { animation: yunshanghui-rise .7s .16s ease both; }

/* ========== 头图轮播（首页 / 登录） ========== */
.site-head-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0a2f6b;
  box-shadow: 0 14px 32px rgba(13, 58, 110, 0.18);
}
.site-head-carousel--home {
  margin: 0 14px;
}
.site-head-carousel--auth {
  border-radius: 0;
  box-shadow: none;
}
.site-head-carousel-swiper,
.site-head-carousel-swiper .swiper-wrapper,
.site-head-carousel-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
.site-head-carousel--home .site-head-carousel-swiper {
  height: 196px;
}
.site-head-carousel--auth .site-head-carousel-swiper {
  height: 220px;
}
.site-head-carousel-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0d3a6e;
}
.site-head-carousel-slide img,
.site-head-carousel-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-head-carousel-slide--ph {
  background: linear-gradient(135deg, #041a3d 0%, #1565cc 55%, #38bdf8 100%);
}
.site-head-carousel-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  text-align: center;
  color: #fff;
  font-family: var(--app-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}
.site-head-carousel-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 10px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(4, 26, 61, 0.82));
}
.site-head-carousel .swiper-pagination {
  bottom: 8px !important;
}
.site-head-carousel .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}
.site-head-carousel .swiper-pagination-bullet-active {
  width: 18px;
  border-radius: 999px;
  background: #fff;
}

/* ========== 首页 · Portal 布局（蓝 · 头图轮播） ========== */
.home-portal {
  background: linear-gradient(180deg, #e8f2ff 0%, #f4f7fb 28%, var(--app-bg) 100%);
}
.home-portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 8px;
}
.home-portal-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.home-portal-topbar-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(29, 132, 255, 0.15);
}
.home-portal-topbar-logo img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}
.home-portal-topbar-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.home-portal-topbar-text strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--app-ink);
}
.home-portal-topbar-text span {
  font-size: 11px;
  color: var(--app-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-portal-topbar-msg {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--app-primary);
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.22);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(29, 132, 255, 0.08);
}
.home-portal-head {
  padding-bottom: 4px;
}
.home-portal-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 14px 0;
  padding: 9px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.12);
  box-shadow: 0 6px 18px rgba(13, 58, 110, 0.06);
}
.home-portal-notice-ico {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}
.home-portal-notice-scroll {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--app-sub);
}
.home-portal-body {
  padding: 12px 14px 0;
}
.home-portal-wallet {
  padding: 16px 14px 14px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0a2f6b 0%, #1565cc 52%, #1d84ff 100%);
  box-shadow: 0 16px 36px rgba(13, 58, 110, 0.22);
  margin-bottom: 14px;
}
.home-portal-wallet-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.home-portal-wallet-label {
  margin: 0 0 4px;
  font-size: 11px;
  opacity: 0.85;
}
.home-portal-wallet-sum {
  margin: 0;
  font-family: var(--app-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.home-portal-wallet-top a {
  font-size: 12px;
  color: #dbeafe;
  text-decoration: none;
  white-space: nowrap;
}
.home-portal-wallet-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.home-portal-wallet-stats div {
  padding: 8px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
}
.home-portal-wallet-stats span {
  display: block;
  font-size: 10px;
  opacity: 0.82;
  margin-bottom: 4px;
}
.home-portal-wallet-stats strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  word-break: break-all;
}
.home-portal-wallet-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.home-portal-wallet-actions a {
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #0d3a6e;
  background: #fff;
}
.home-portal-wallet-actions a:nth-child(2) {
  background: rgba(255, 255, 255, 0.88);
}
.home-portal-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  margin: 0 -2px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.home-portal-pills::-webkit-scrollbar {
  display: none;
}
.home-portal-pill {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 10px 8px 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.1);
  box-shadow: 0 8px 20px rgba(13, 58, 110, 0.06);
  text-decoration: none;
  color: var(--app-text);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
.home-portal-pill-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 6px;
  border-radius: 13px;
  font-size: 17px;
  font-weight: 700;
  font-family: var(--app-display);
  color: #fff;
}
.home-portal-pill-ico.v1 { background: linear-gradient(145deg, #1d84ff, #1565cc); }
.home-portal-pill-ico.v2 { background: linear-gradient(145deg, #0ea5e9, #0284c7); }
.home-portal-pill-ico.v3 { background: linear-gradient(145deg, #6366f1, #4338ca); }
.home-portal-pill-ico.v4 { background: linear-gradient(145deg, #14b8a6, #0d9488); }
.home-portal-pill-ico.v5 { background: linear-gradient(145deg, #3b82f6, #1d4ed8); }
.home-portal-pill-ico.v6 { background: linear-gradient(145deg, #60a5fa, #2563eb); }
.home-portal-pill-ico.v7 { background: linear-gradient(145deg, #38bdf8, #0ea5e9); }
.home-portal-pill-ico.v8 { background: linear-gradient(145deg, #818cf8, #4f46e5); }
.home-portal-panel {
  margin-bottom: 14px;
  padding: 14px 12px 6px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.1);
  box-shadow: 0 10px 28px rgba(13, 58, 110, 0.07);
}
.home-portal-panel-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding: 0 2px;
}
.home-portal-panel-hd h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--app-ink);
  font-family: var(--app-display);
}
.home-portal-panel-hd span,
.home-portal-panel-hd a {
  font-size: 12px;
  color: var(--app-primary);
  font-weight: 600;
  text-decoration: none;
}
.home-portal-panel-hd--loose {
  margin: 0 14px 10px;
  padding: 0;
}
.home-portal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  border-top: 1px solid #eef2f7;
  text-decoration: none;
  color: inherit;
}
.home-portal-row:first-of-type {
  border-top: 0;
}
.home-portal-row-main {
  flex: 1;
  min-width: 0;
}
.home-portal-row-main strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--app-ink);
  margin-bottom: 3px;
}
.home-portal-row-main strong em {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 6px;
  font-style: normal;
  font-size: 10px;
  color: #fff;
  background: #ef4444;
  vertical-align: middle;
}
.home-portal-row-main p {
  margin: 0;
  font-size: 11px;
  color: var(--app-muted);
  line-height: 1.45;
}
.home-portal-row-go {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--app-primary);
  background: #eef6ff;
}
.home-portal-hot {
  margin: 0 14px 14px;
}
.home-portal-news {
  margin-left: 14px;
  margin-right: 14px;
}

/* ========== 首页 · Nexus 布局（沉浸式轮播 + Bento） ========== */
.home-nexus {
  padding-bottom: calc(var(--app-footer-h) + 20px);
  background: #0b1f3f;
}
.home-nexus-hero {
  position: relative;
}
.site-head-carousel--nexus {
  border-radius: 0;
  box-shadow: none;
}
.site-head-carousel--nexus .site-head-carousel-swiper {
  height: min(42vh, 320px);
}
.site-head-carousel--nexus .swiper-pagination-bullet-active {
  border-radius: 0;
}
.site-head-carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 26, 61, 0.08) 0%, rgba(4, 26, 61, 0.45) 100%);
  pointer-events: none;
}
.home-nexus-hero-float {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  pointer-events: none;
}
.home-nexus-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  pointer-events: auto;
}
.home-nexus-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.home-nexus-logo img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}
.home-nexus-logo--head {
  width: auto;
  height: 42px;
  max-width: min(56vw, 220px);
  padding: 4px 10px;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.home-nexus-logo--head img {
  width: auto;
  height: 34px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.home-nexus-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.home-nexus-brand-text strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.home-nexus-brand-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-nexus-msg {
  pointer-events: auto;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.home-nexus-body {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  padding: 0 14px 8px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, #f8fbff 0%, var(--app-bg) 120px);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.18);
}
.home-nexus-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.12);
  box-shadow: 0 6px 18px rgba(13, 58, 110, 0.06);
}
.home-nexus-ticker-tag {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1d84ff, #1565cc);
}
.home-nexus-ticker-text {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--app-sub);
}
.home-nexus-balance {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.35), transparent 55%),
    linear-gradient(135deg, #041a3d 0%, #0d3a6e 45%, #1d84ff 100%);
  box-shadow: 0 16px 36px rgba(4, 26, 61, 0.28);
}
.home-nexus-balance-main .lab {
  margin: 0 0 4px;
  font-size: 11px;
  opacity: 0.85;
}
.home-nexus-balance-main .sum {
  margin: 0 0 8px;
  font-family: var(--app-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.home-nexus-balance-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 10px;
  opacity: 0.88;
}
.home-nexus-balance-ops {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.home-nexus-balance-ops a {
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #0d3a6e;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.home-nexus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.home-nexus-grid--six {
  grid-template-columns: repeat(3, 1fr);
}
.home-nexus-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px 10px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--app-text);
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.08);
  box-shadow: 0 8px 20px rgba(13, 58, 110, 0.05);
}
.home-nexus-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none;
}
.home-nexus-tile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-nexus-tile-label {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}
.home-nexus-section-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0 2px;
}
.home-nexus-section-hd h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--app-ink);
  font-family: var(--app-display);
}
.home-nexus-section-hd span,
.home-nexus-section-hd a {
  font-size: 12px;
  color: var(--app-primary);
  font-weight: 600;
  text-decoration: none;
}
.home-nexus-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.home-nexus-service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 148px;
  padding: 0 0 12px;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.1);
  box-shadow: 0 14px 32px rgba(13, 58, 110, 0.08);
  overflow: hidden;
}
.home-nexus-service-cover {
  height: 72px;
  overflow: hidden;
}
.home-nexus-service-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-nexus-service-card strong,
.home-nexus-service-card p {
  padding: 0 12px;
}
.home-nexus-service-card .ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1d84ff, #1565cc);
  margin-bottom: 4px;
}
.home-nexus-service-card strong {
  font-size: 14px;
  color: var(--app-ink);
}
.home-nexus-service-card p {
  margin: 0;
  font-size: 11px;
  color: var(--app-muted);
  line-height: 1.45;
}
.home-nexus-feed {
  margin-bottom: 12px;
  padding: 14px 12px 8px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.08);
  box-shadow: 0 8px 22px rgba(13, 58, 110, 0.05);
}
.home-nexus-feed-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 2px;
  border-top: 1px solid #eef2f7;
  text-decoration: none;
  color: inherit;
}
.home-nexus-feed-item:first-of-type {
  border-top: 0;
}
.home-nexus-feed-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(29, 132, 255, 0.12);
}
.home-nexus-feed-item .title {
  font-size: 13px;
  font-weight: 600;
  color: var(--app-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-nexus-feed-item .time {
  font-size: 10px;
  color: var(--app-muted);
  white-space: nowrap;
}

/* Nexus · 底部导航浮岛 */
.aui-footer--nexus,
footer.aui-footer--nexus {
  left: 12px !important;
  right: 12px !important;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  width: auto !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 6px 8px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(29, 132, 255, 0.14) !important;
  box-shadow: 0 12px 32px rgba(13, 58, 110, 0.18) !important;
}
.aui-footer--nexus .aui-tabBar-item-active .aui-tabBar-item-text {
  color: var(--app-primary-dark) !important;
}

/* Nexus · 我的页 */
.my-page--nexus {
  background: linear-gradient(180deg, #e8f2ff 0%, var(--app-bg) 220px);
}
.my-page--nexus .yunshanghui-my-hero {
  border-radius: 0 0 28px 28px;
  margin-bottom: 4px;
  box-shadow: 0 12px 28px rgba(13, 58, 110, 0.12);
}
.my-page--nexus .yunshanghui-asset-board,
.my-page--nexus .yunshanghui-quick,
.my-page--nexus .yunshanghui-menu-block {
  border-radius: 18px;
  border: 1px solid rgba(29, 132, 255, 0.08);
  box-shadow: 0 8px 22px rgba(13, 58, 110, 0.05);
}

/* Nexus · 登录注册 */
.yunshanghui-auth--nexus {
  min-height: 100vh;
  background: #0b1f3f;
}
.yunshanghui-auth-nexus-head {
  position: relative;
  color: #fff;
}
.yunshanghui-auth-nexus-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 20px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 26, 61, 0.4) 0%, rgba(4, 26, 61, 0.05) 50%, rgba(4, 26, 61, 0.55) 100%);
}
.yunshanghui-auth-nexus-bar,
.yunshanghui-auth-nexus-title {
  pointer-events: auto;
}
.yunshanghui-auth-nexus-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.yunshanghui-auth-nexus-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.yunshanghui-auth--nexus .yunshanghui-auth-site-logo {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.yunshanghui-auth--nexus .yunshanghui-auth-brand-text strong {
  color: #fff;
  font-size: 15px;
}
.yunshanghui-auth--nexus .yunshanghui-auth-brand-text span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
}
.yunshanghui-auth-nexus-title h1 {
  margin: 0 0 6px;
  font-family: var(--app-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}
.yunshanghui-auth-nexus-title p {
  margin: 0;
  max-width: 22em;
  font-size: 12px;
  line-height: 1.55;
  opacity: 0.92;
}
.yunshanghui-auth-nexus-body {
  position: relative;
  z-index: 3;
  margin-top: -32px;
  padding: 0 16px 12px;
}
.yunshanghui-auth-sheet--nexus {
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(4, 26, 61, 0.22);
  border: 1px solid rgba(29, 132, 255, 0.1);
}
.yunshanghui-auth-legal--nexus {
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 16px 16px;
}

/* 内页顶栏 · Nexus 圆角 */
#app .pn-page .pn-nav,
#app .sub-page .app-nav {
  border-radius: 0 0 18px 18px;
  box-shadow: 0 8px 24px rgba(13, 58, 110, 0.12);
}

.yunshanghui-hero {
  position: relative;
  overflow: hidden;
  color: #f4f7f8;
  background: linear-gradient(160deg, #041a3d 0%, #0d3a6e 48%, #1565cc 100%);
  padding: 28px 20px 34px;
  min-height: 42vh;
}
.yunshanghui-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.yunshanghui-hero-bg .swiper,
.yunshanghui-hero-bg .swiper-wrapper,
.yunshanghui-hero-bg .swiper-slide {
  width: 100%;
  height: 100%;
}
.yunshanghui-hero-bg .swiper-slide {
  background: #0d3a6e center/cover no-repeat;
}
.yunshanghui-hero-bg img,
.yunshanghui-hero-bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* 轻微底图，可读性靠文字提亮 + 中等遮罩 */
  filter: brightness(.88) saturate(1.08);
}
.yunshanghui-hero-bg .swiper-pagination {
  bottom: 18px !important;
  z-index: 4;
}
.yunshanghui-hero-bg .swiper-pagination-bullet {
  background: rgba(255,255,255,.55);
  opacity: 1;
}
.yunshanghui-hero-bg .swiper-pagination-bullet-active {
  background: #93c5fd;
}
/* 独立遮罩层（不依赖伪元素，避免被 Swiper 盖住） */
.yunshanghui-hero-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,20,32,.52) 0%, rgba(8,20,32,.38) 42%, rgba(8,20,32,.58) 100%);
}
.yunshanghui-hero::before {
  content: none;
}
.yunshanghui-hero::after {
  content: none;
}
.yunshanghui-hero-inner { position: relative; z-index: 3; color: #fff; }
.yunshanghui-hero.has-bg .yunshanghui-hero-kicker {
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 8px rgba(0,0,0,.85);
}
.yunshanghui-hero.has-bg .yunshanghui-hero-title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.85);
}
.yunshanghui-hero.has-bg .yunshanghui-hero-title em {
  color: #93c5fd;
  text-shadow: 0 2px 14px rgba(0,0,0,.75);
}
.yunshanghui-hero.has-bg .yunshanghui-hero-desc {
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 10px rgba(0,0,0,.85);
}
.yunshanghui-hero.has-bg .yunshanghui-btn--primary {
  background: linear-gradient(135deg, #1d84ff, #38bdf8);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.yunshanghui-hero.has-bg .yunshanghui-btn--ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.7);
}
.yunshanghui-hero-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: none;
  color: rgba(244,247,248,.88);
  margin-bottom: 10px;
}
.yunshanghui-hero-title {
  margin: 0 0 8px;
  font-family: var(--app-display);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}
.yunshanghui-hero-title em {
  font-style: normal;
  color: #7dd3fc;
}
.yunshanghui-hero-desc {
  margin: 0;
  max-width: 20em;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(244,247,248,.78);
}
.yunshanghui-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.yunshanghui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.yunshanghui-btn:active { transform: scale(.97); }
.yunshanghui-btn--primary {
  background: linear-gradient(135deg, #d4a017, #d4924f);
  color: #fff;
  box-shadow: 0 8px 20px rgba(56,189,248,.35);
}
.yunshanghui-btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.yunshanghui-btn--solid {
  background: linear-gradient(135deg, var(--app-primary), var(--app-primary-2));
  color: #fff;
  box-shadow: 0 8px 18px rgba(29,132,255,.28);
}

.yunshanghui-account {
  margin: -28px 14px 14px;
  position: relative;
  z-index: 2;
  background: var(--app-card);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--app-shadow);
  border: 1px solid rgba(29,132,255,.08);
}
.yunshanghui-account-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.yunshanghui-account-hd h3 {
  margin: 0;
  font-family: var(--app-display);
  font-size: 16px;
  font-weight: 700;
}
.yunshanghui-account-hd span {
  font-size: 12px;
  color: var(--app-primary);
  font-weight: 600;
}
.yunshanghui-account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.yunshanghui-account-cell {
  background: linear-gradient(180deg, #f4f8f8, #eef4f4);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
}
.yunshanghui-account-cell .lab {
  display: block;
  font-size: 11px;
  color: var(--app-muted);
  margin-bottom: 6px;
}
.yunshanghui-account-cell .val {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--app-ink);
  word-break: break-all;
}
.yunshanghui-account-ops {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.yunshanghui-account-ops a,
.yunshanghui-account-ops button {
  flex: 1;
  height: 36px;
  border-radius: 10px;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.yunshanghui-op-main {
  background: var(--app-primary);
  color: #fff;
}
.yunshanghui-op-sub {
  background: #e8f4ff;
  color: var(--app-primary-dark);
}

.yunshanghui-section {
  margin: 0 14px 14px;
  background: var(--app-card);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--app-shadow);
}
.yunshanghui-section-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}
.yunshanghui-section-hd h3 {
  margin: 0;
  font-family: var(--app-display);
  font-size: 17px;
  font-weight: 700;
}
.yunshanghui-section-hd p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--app-muted);
}
.yunshanghui-section-hd a {
  font-size: 12px;
  color: var(--app-primary);
  font-weight: 600;
  white-space: nowrap;
}

.yunshanghui-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.yunshanghui-mode {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 12px 10px 12px;
  min-height: 118px;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background-color: #1d84ff;
  background-image: url('/static/index/images/mode_licai_bg.png?v=20260802mode');
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 16px rgba(13, 58, 110, 0.12);
}
.yunshanghui-mode--licai {
  background-color: #1d84ff;
  background-image: url('/static/index/images/mode_licai_bg.png?v=20260802mode');
  box-shadow: 0 6px 16px rgba(13, 58, 110, 0.14);
}
.yunshanghui-mode--zn {
  background-color: #1b3f6a;
  background-image: url('/static/index/images/mode_zn_bg.png?v=20260802mode');
  box-shadow: 0 6px 16px rgba(27, 63, 106, 0.16);
}
.yunshanghui-mode--ai {
  background-color: #8b5a12;
  background-image: url('/static/index/images/mode_ai_bg.png?v=20260802mode');
  box-shadow: 0 6px 16px rgba(139, 90, 18, 0.16);
}
.yunshanghui-mode .tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 20px;
  font-size: 10px;
  font-weight: 700;
  padding: 0 7px;
  border-radius: 5px;
  background: rgba(255,255,255,.18);
  margin: 0 0 8px;
}
.yunshanghui-mode .main {
  flex: 1;
  min-width: 0;
  width: 100%;
}
.yunshanghui-mode h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--app-display);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.yunshanghui-mode p {
  margin: 0;
  font-size: 10px;
  line-height: 1.4;
  color: rgba(255,255,255,.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yunshanghui-mode .go {
  position: static;
  margin-top: 10px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  opacity: .92;
  white-space: nowrap;
}

.yunshanghui-notice {
  margin: 0 14px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--app-shadow);
  cursor: pointer;
}
.yunshanghui-notice .tag {
  flex-shrink: 0;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--app-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.yunshanghui-notice .scroll {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  color: var(--app-text);
}
.yunshanghui-notice .more {
  flex-shrink: 0;
  color: var(--app-primary);
  font-size: 12px;
}

.yunshanghui-alloc {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yunshanghui-alloc-row {
  display: grid;
  grid-template-columns: 64px 1fr 40px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.yunshanghui-alloc-row .name { color: var(--app-sub); font-weight: 600; }
.yunshanghui-alloc-bar {
  height: 8px;
  border-radius: 4px;
  background: #e7eef0;
  overflow: hidden;
}
.yunshanghui-alloc-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  transform-origin: left;
  animation: yunshanghui-line .8s ease both;
}
.yunshanghui-alloc-bar i.b1 { width: 70%; background: var(--app-primary); }
.yunshanghui-alloc-bar i.b2 { width: 20%; background: #2f6b8a; }
.yunshanghui-alloc-bar i.b3 { width: 10%; background: var(--app-accent); }
.yunshanghui-alloc-row .pct { text-align: right; color: var(--app-ink); font-weight: 700; }

.yunshanghui-news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--app-line);
  cursor: pointer;
}
.yunshanghui-news-item:last-child { border-bottom: 0; }
.yunshanghui-news-item .name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.yunshanghui-news-item .time {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--app-muted);
}

/* 底部 Tab 图标（CSS） */
.tab-ico {
  width: 24px;
  height: 24px;
  margin: 0 0 3px;
  display: block;
  position: relative;
  opacity: .55;
}
.aui-tabBar-item-active .tab-ico { opacity: 1; }
.tab-ico::before,
.tab-ico::after {
  content: '';
  position: absolute;
  box-sizing: border-box;
}
.tab-ico { color: #8a9aa5; }
.aui-tabBar-item-active .tab-ico { color: var(--app-primary); }
.tab-ico--home::before {
  left: 3px; right: 3px; bottom: 2px; height: 14px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px 2px 3px 3px;
}
.tab-ico--home::after {
  left: 50%; top: 1px;
  width: 12px; height: 12px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}
.tab-ico--bond::before {
  left: 4px; right: 4px; top: 5px; bottom: 4px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.tab-ico--bond::after {
  left: 7px; right: 7px; top: 10px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 4px 0 currentColor;
}
.tab-ico--fund::before {
  left: 3px; top: 4px;
  width: 18px; height: 16px;
  border: 2px solid currentColor;
  border-radius: 3px 3px 9px 9px;
}
.tab-ico--fund::after {
  left: 9px; top: 2px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tab-ico--share::before {
  left: 5px; top: 3px;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-radius: 2px;
  transform: rotate(45deg);
}
.tab-ico--me::before {
  left: 7px; top: 2px;
  width: 10px; height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.tab-ico--me::after {
  left: 3px; bottom: 1px;
  width: 18px; height: 9px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.tab-ico--otc::before {
  left: 2px; top: 6px;
  width: 20px; height: 12px;
  border: 2px solid currentColor;
  border-radius: 6px;
}
.tab-ico--otc::after {
  left: 8px; top: 9px;
  width: 8px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tab-ico--coin::before {
  left: 3px; right: 3px; top: 4px; bottom: 8px;
  border: 2px solid currentColor;
  border-radius: 4px;
}
.tab-ico--coin::after {
  left: 6px; right: 6px; bottom: 3px; height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 -10px 0 currentColor;
}
.tab-ico--welfare::before {
  left: 4px; right: 4px; top: 5px; height: 3px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
  border-radius: 1px;
}
.tab-ico--welfare::after {
  left: 7px; top: 3px;
  width: 10px; height: 10px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}
.tab-ico--style::before {
  left: 5px; top: 3px;
  width: 14px; height: 10px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.tab-ico--style::after {
  left: 9px; top: 13px;
  width: 6px; height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.aui-footer--nexus .aui-tabBar-item-text {
  font-size: 10px;
}

.aui-footer .aui-tabBar-item,
footer.aui-footer .aui-tabBar-item,
.aui-tabBar-item {
  color: #8a9aa5 !important;
}
.aui-footer .aui-tabBar-item-active,
footer.aui-footer .aui-tabBar-item-active,
.aui-tabBar-item-active {
  color: var(--app-primary) !important;
}

/* 产品页导语条 */
.yunshanghui-prod-intro {
  margin: 12px 12px 0;
  padding: 14px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(29,132,255,.12), rgba(56,189,248,.08)),
    #fff;
  border: 1px solid rgba(29,132,255,.12);
}
.yunshanghui-prod-intro h2 {
  margin: 0 0 6px;
  font-family: var(--app-display);
  font-size: 16px;
}
.yunshanghui-prod-intro p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--app-sub);
}

.prod-tag { background: var(--app-primary) !important; border-radius: 4px !important; }
.prod-metrics .val.rate { color: var(--app-accent) !important; }

/* 建设账户 · 我的 */
.yunshanghui-my-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 18px 48px;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 70% at 92% 8%, rgba(56,189,248,.32), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(29,132,255,.35), transparent 50%),
    linear-gradient(155deg, #041a3d 0%, #0d3a6e 48%, #1565cc 100%);
}
.yunshanghui-my-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  pointer-events: none;
}
.yunshanghui-my-user {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.yunshanghui-my-avatar-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
}
.yunshanghui-my-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  outline: none;
  background: transparent;
  box-shadow: none;
  display: block;
}
.yunshanghui-my-name {
  font-family: var(--app-display);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.yunshanghui-my-level {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--app-font);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(232,176,106,.25);
  border: 1px solid rgba(232,176,106,.5);
}
.yunshanghui-my-account {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: .02em;
  opacity: .78;
}
.yunshanghui-my-actions { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; }
.yunshanghui-chip {
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.yunshanghui-chip.hot {
  background: var(--app-accent);
  border-color: var(--app-accent);
}
.yunshanghui-chip { position: relative; }
.yunshanghui-msg-dot {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #1d84ff;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(13,58,110,.35);
}
.yunshanghui-msg-badge {
  display: inline-block;
  margin-left: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #1d84ff;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
  vertical-align: middle;
}
.yunshanghui-op-sub { position: relative; }
.yunshanghui-op-sub .yunshanghui-msg-dot {
  top: -4px;
  right: -2px;
}
.yunshanghui-quick a { position: relative; }
.yunshanghui-quick .txt { position: relative; display: inline-block; }
.yunshanghui-quick .yunshanghui-msg-dot {
  top: -8px;
  right: -12px;
}

.yunshanghui-my-balance {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}
.yunshanghui-my-balance .lab {
  font-size: 12px;
  letter-spacing: .08em;
  opacity: .72;
}
.yunshanghui-my-balance .amt {
  margin-top: 6px;
  font-family: var(--app-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.yunshanghui-my-balance .amt em {
  font-style: normal;
  font-size: 16px;
  margin-right: 4px;
  opacity: .8;
}
.yunshanghui-my-balance-ops {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.yunshanghui-my-balance-ops a {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
}
.yunshanghui-my-balance-ops .op-main {
  background: linear-gradient(135deg, #d4a017, #d4924f);
  box-shadow: 0 6px 16px rgba(56,189,248,.3);
}
.yunshanghui-my-balance-ops .op-sub {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
}

.yunshanghui-asset-board {
  margin: -28px 14px 14px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.yunshanghui-asset-cell {
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: var(--app-shadow);
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  cursor: default;
}
.yunshanghui-asset-cell.is-link { cursor: pointer; }
.yunshanghui-asset-cell .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.yunshanghui-asset-cell .lab {
  font-size: 12px;
  color: var(--app-sub);
}
.yunshanghui-asset-cell .go {
  font-size: 11px;
  font-weight: 600;
  color: var(--app-primary);
}
.yunshanghui-asset-cell .val {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--app-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.yunshanghui-asset-cell .val small {
  font-size: 12px;
  font-weight: 500;
  color: var(--app-muted);
  margin-left: 2px;
}
.yunshanghui-asset-cell.span2 {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  min-height: 64px;
  gap: 12px;
}
.yunshanghui-asset-cell.span2 .val { margin-top: 0; margin-left: auto; }
.yunshanghui-frozen {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--app-danger);
  background: #fdecea;
}

.yunshanghui-quick {
  display: flex;
  gap: 8px;
  margin: 0 14px 14px;
}
.yunshanghui-quick a {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
  color: var(--app-text);
  box-shadow: var(--app-shadow);
}
.yunshanghui-quick a:active { transform: scale(.98); }
.yunshanghui-quick .mark {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #1d84ff, #1565cc);
}
.yunshanghui-quick a:nth-child(2) .mark {
  background: linear-gradient(145deg, #d4a017, #8a5428);
}
.yunshanghui-quick a:nth-child(3) .mark {
  background: linear-gradient(145deg, #38bdf8, #1d84ff);
}
.yunshanghui-quick a:nth-child(4) .mark {
  background: linear-gradient(145deg, #2f7cf6, #1a4f9c);
}
.yunshanghui-quick .mark svg,
.yunshanghui-menu-ico svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.yunshanghui-quick .txt {
  display: block;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yunshanghui-menu-block {
  margin: 0 14px 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--app-shadow);
  overflow: hidden;
}
.yunshanghui-menu-hd {
  padding: 14px 16px 6px;
  font-family: var(--app-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--app-ink);
}
.yunshanghui-menu-hd span {
  display: block;
  margin-top: 2px;
  font-family: var(--app-font);
  font-size: 11px;
  font-weight: 400;
  color: var(--app-muted);
}
.yunshanghui-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid #f3e9eb;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.yunshanghui-menu-item:first-of-type { border-top: 0; }
.yunshanghui-menu-item:active { background: #f7fafb; }
.yunshanghui-menu-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-primary-dark);
  background: linear-gradient(145deg, #e8f4ff, #f3efe8);
}
.yunshanghui-menu-ico svg {
  width: 18px;
  height: 18px;
}
.yunshanghui-menu-ico.yunshanghui-menu-ico-img {
  background: transparent;
}
.yunshanghui-menu-ico.yunshanghui-menu-ico-img img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}
.yunshanghui-menu-item .name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--app-text);
}
.yunshanghui-menu-item .arrow {
  color: var(--app-muted);
  font-size: 16px;
  line-height: 1;
}
.yunshanghui-menu-item.danger .name { color: var(--app-danger); }
.yunshanghui-menu-item.danger .yunshanghui-menu-ico {
  color: var(--app-danger);
  background: #fdecea;
}

/* 兼容旧类名 */
.yunshanghui-ledger { display: none; }
.yunshanghui-grid { display: none; }
.yunshanghui-mini {
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  background: #e8f4ff;
  color: var(--app-primary-dark);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  border: 0;
  cursor: pointer;
}

/* Auth — 前台 H5 登录/注册/找回（Neo 浅色编辑布局） */
#app .page-shell--auth {
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #eef2f7;
}

.yunshanghui-auth--neo {
  --auth-ink: #0f172a;
  --auth-accent: #1d84ff;
  --auth-accent-soft: #e8f2ff;
  --auth-line: #e2e8f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: var(--auth-ink);
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef1f6 42%, #e8edf5 100%);
}

.yunshanghui-auth-mesh {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

.yunshanghui-auth-mesh::before,
.yunshanghui-auth-mesh::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.yunshanghui-auth-mesh::before {
  width: 220px;
  height: 220px;
  top: -40px;
  right: -30px;
  background: radial-gradient(circle, #93c5fd 0%, transparent 70%);
}

.yunshanghui-auth-mesh::after {
  width: 180px;
  height: 180px;
  bottom: 18%;
  left: -50px;
  background: radial-gradient(circle, #c4b5fd 0%, transparent 70%);
}

.yunshanghui-auth-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 20px 10px;
}

.yunshanghui-auth-topbar--logo-only {
  justify-content: center;
}

.yunshanghui-auth-site-logo {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.yunshanghui-auth-topbar--logo-only .yunshanghui-auth-site-logo {
  flex: none;
  justify-content: center;
}

.yunshanghui-auth-site-logo img {
  display: block;
  max-height: 52px;
  max-width: min(240px, 72vw);
  width: auto;
  height: auto;
  object-fit: contain;
}

.yunshanghui-auth-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.yunshanghui-auth-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--auth-line);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.yunshanghui-auth-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.yunshanghui-auth-avatar-fallback {
  font-family: var(--app-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--auth-accent);
}

.yunshanghui-auth-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.yunshanghui-auth-brand-text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.yunshanghui-auth-brand-text span {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yunshanghui-auth-toplink {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--auth-accent);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--auth-accent-soft);
}

.yunshanghui-auth-body {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 8px 20px calc(env(safe-area-inset-bottom, 0px) + 16px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.yunshanghui-auth-body--compact {
  gap: 16px;
}

.yunshanghui-auth-hero {
  text-align: left;
  padding-top: 6px;
}

.yunshanghui-auth-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
}

.yunshanghui-auth-hero h1 {
  margin: 0 0 10px;
  font-family: var(--app-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.yunshanghui-auth-tagline {
  margin: 0;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.yunshanghui-auth-stats {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.yunshanghui-auth-stats li {
  margin: 0;
  padding: 12px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--auth-line);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.yunshanghui-auth-stats em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--auth-ink);
}

.yunshanghui-auth-stats span {
  font-size: 10px;
  color: #64748b;
}

.yunshanghui-auth-sheet {
  background: #fff;
  border-radius: 28px;
  padding: 22px 20px 20px;
  border: 1px solid var(--auth-line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 48px rgba(15, 23, 42, 0.08);
}

.yunshanghui-auth-sheet-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--auth-line);
}

.yunshanghui-auth-sheet-head h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.yunshanghui-auth-sheet-head p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.yunshanghui-auth--neo .yunshanghui-field {
  margin-bottom: 14px;
}

.yunshanghui-auth--neo .yunshanghui-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.04em;
}

.yunshanghui-field-hint {
  margin: 5px 0 0;
  padding: 0 2px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  color: #9aa3a8;
  letter-spacing: 0.01em;
}

.yunshanghui-auth--neo .yunshanghui-field-box {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 4px 0 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--auth-line);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.yunshanghui-auth--neo .yunshanghui-field-box:focus-within {
  border-color: var(--auth-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.yunshanghui-auth-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yunshanghui-field-ico {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  margin-right: 6px;
  border-radius: 11px;
  background: linear-gradient(155deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid rgba(37, 99, 235, 0.14);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.yunshanghui-auth-stat-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(155deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.yunshanghui-auth-stat-ico .yunshanghui-auth-icon {
  width: 19px;
  height: 19px;
}

.yunshanghui-auth--neo .yunshanghui-field-box:focus-within .yunshanghui-field-ico {
  border-color: rgba(37, 99, 235, 0.35);
  color: #1d4ed8;
  background: #fff;
}

.yunshanghui-auth--neo .yunshanghui-field-box input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--auth-ink);
}

.yunshanghui-auth--neo .yunshanghui-auth-btn {
  margin-top: 6px;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #1565cc 0%, #1d84ff 55%, #3d97ff 100%);
  box-shadow: 0 16px 32px rgba(21, 101, 204, 0.28);
  cursor: pointer;
}

.yunshanghui-auth--neo .yunshanghui-auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.yunshanghui-auth--neo .yunshanghui-auth-links {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}

.yunshanghui-auth--neo .yunshanghui-auth-links a {
  color: var(--auth-accent);
  font-weight: 600;
  text-decoration: none;
}

.yunshanghui-auth-legal {
  position: relative;
  z-index: 1;
  padding: 10px 24px calc(env(safe-area-inset-bottom, 0px) + 16px);
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.55;
}

/* Auth Portal · 头图轮播 + 表单卡片 */
.yunshanghui-auth--portal {
  min-height: 100vh;
  background: linear-gradient(180deg, #e8f2ff 0%, #f4f7fb 35%, var(--app-bg) 100%);
}
.yunshanghui-auth--portal.yunshanghui-auth--neo {
  background: linear-gradient(180deg, #e8f2ff 0%, #f4f7fb 35%, var(--app-bg) 100%);
}
.yunshanghui-auth-portal-head {
  position: relative;
  color: #fff;
}
.yunshanghui-auth-portal-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 16px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 26, 61, 0.35) 0%, rgba(4, 26, 61, 0.08) 42%, rgba(4, 26, 61, 0.55) 100%);
}
.yunshanghui-auth-portal-bar,
.yunshanghui-auth-portal-title {
  pointer-events: auto;
}
.yunshanghui-auth-portal-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.yunshanghui-auth-portal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.yunshanghui-auth--portal .yunshanghui-auth-site-logo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.yunshanghui-auth--portal .yunshanghui-auth-site-logo img {
  max-height: 32px;
  max-width: 32px;
}
.yunshanghui-auth--portal .yunshanghui-auth-brand-text strong {
  color: #fff;
  font-size: 15px;
}
.yunshanghui-auth--portal .yunshanghui-auth-brand-text span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
}
.yunshanghui-auth-toplink--hero {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.yunshanghui-auth-portal-title h1 {
  margin: 0 0 6px;
  font-family: var(--app-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}
.yunshanghui-auth-portal-title p {
  margin: 0;
  max-width: 20em;
  font-size: 12px;
  line-height: 1.55;
  opacity: 0.92;
}
.yunshanghui-auth-portal-body {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  padding: 0 16px 8px;
}
.yunshanghui-auth-sheet--portal {
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(13, 58, 110, 0.14);
  border: 1px solid rgba(29, 132, 255, 0.08);
}
.yunshanghui-auth-legal--hub {
  color: #94a3b8;
  padding-top: 4px;
}

/* 非 neo 页仍可使用通用 field（其它会员页） */
.yunshanghui-field { margin-bottom: 12px; }
.yunshanghui-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--app-sub);
}
.yunshanghui-field-box {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  background: #f2f6f6;
  border: 1px solid #dde6e7;
}
.yunshanghui-field-box input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
}

.yunshanghui-splash {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 32px 28px 48px;
  overflow: hidden;
  background-color: #1d84ff;
  background-image: url('/static/index/images/notice_flag.jpg?v=20260801wall');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.yunshanghui-splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(80,0,0,.08) 0%, rgba(80,0,0,.18) 55%, rgba(60,0,0,.35) 100%);
  pointer-events: none;
}
.yunshanghui-splash .mark,
.yunshanghui-splash h1,
.yunshanghui-splash p,
.yunshanghui-splash .bar {
  position: relative;
  z-index: 1;
}
.yunshanghui-splash .mark {
  width: min(240px, 62vw);
  height: auto;
  border-radius: 0;
  display: block;
  background: none;
  border: none;
  box-shadow: none;
  animation: yunshanghui-rise .6s ease both;
}
.yunshanghui-splash .mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.4));
}
.yunshanghui-splash h1 {
  margin: 22px 0 8px;
  font-family: var(--app-display);
  font-size: 28px;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
  animation: yunshanghui-rise .7s .1s ease both;
}
.yunshanghui-splash p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.88);
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
  animation: yunshanghui-rise .75s .18s ease both;
}
.yunshanghui-splash .bar {
  margin-top: 36px;
  width: 120px;
  height: 3px;
  border-radius: 2px;
  background: rgba(0,0,0,.28);
  overflow: hidden;
  animation: yunshanghui-rise .8s .25s ease both;
}
.yunshanghui-splash .bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #ffde00, #d4a017);
  animation: yunshanghui-load 1.1s ease infinite;
}
@keyframes yunshanghui-load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(320%); }
}

.yunshanghui-banner {
  margin: 0 14px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--app-shadow);
}
.yunshanghui-banner .swiper { width: 100%; height: 150px; }
.yunshanghui-banner img,
.yunshanghui-banner video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.home-page, .my-page, .app-page {
  background: transparent;
}

/* ========== 二级页统一（入账/推荐/记录/资料） ========== */
.sub-page {
  min-height: 100vh;
  padding-bottom: 40px;
  background:
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(29,132,255,.08), transparent 50%),
    linear-gradient(180deg, #f8f2f3 0%, var(--app-bg) 45%, #efe6e8 100%);
}
.sub-page .app-nav {
  background: transparent;
  box-shadow: none;
  position: relative;
}
.sub-top {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-bottom: 48px;
  background-color: #1d84ff;
  background-image:
    linear-gradient(165deg, rgba(13,58,110,.55) 0%, rgba(29,132,255,.28) 48%, rgba(154,15,36,.62) 100%),
    url('/static/index/images/notice_flag.jpg?v=20260801wall');
  background-size: cover;
  background-position: center top;
}
.sub-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 90% 0%, rgba(255,222,0,.18), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(80,0,0,.2));
  pointer-events: none;
}
.sub-hero-inner {
  position: relative;
  z-index: 1;
  padding: 6px 20px 0;
  animation: yunshanghui-rise .55s ease both;
}
.sub-hero-inner .kicker {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.sub-hero-inner h1 {
  margin: 8px 0 6px;
  font-family: var(--app-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.sub-hero-inner p {
  margin: 0;
  max-width: 20em;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
}
/* 兼容旧 sub-hero */
.sub-hero {
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.sub-sheet {
  position: relative;
  z-index: 2;
  margin: -28px 0 0;
  padding: 8px 0 8px;
  min-height: 40vh;
  background: linear-gradient(180deg, #f4f7f8 0%, var(--app-bg) 120px);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 30px rgba(13,58,110,.12);
  animation: yunshanghui-rise .65s .06s ease both;
}
.sub-sheet::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  margin: 8px auto 10px;
  border-radius: 2px;
  background: rgba(13,58,110,.12);
}
.sub-block {
  margin: 0 14px 12px;
  padding: 16px 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(13,58,110,.05);
  border: 1px solid rgba(213,222,228,.65);
}
.sub-block-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--app-display);
  color: var(--app-ink);
}
.sub-block-title span {
  font-family: var(--app-font);
  font-size: 12px;
  font-weight: 400;
  color: var(--app-muted);
}
.sub-card {
  margin: 0 14px 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(13,58,110,.05);
  border: 1px solid rgba(213,222,228,.65);
  overflow: hidden;
}
.sub-card-pad { padding: 16px 14px; }
.sub-card-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--app-display);
  color: var(--app-ink);
}
.sub-tip {
  margin: 0 14px 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(29,132,255,.08);
  border-left: 3px solid var(--app-primary);
  color: var(--app-primary-dark);
  font-size: 13px;
  line-height: 1.6;
}
.sub-tip.warn {
  background: rgba(56,189,248,.1);
  border-left-color: var(--app-accent);
  color: #8a4b16;
}
.sub-empty {
  padding: 56px 16px;
  text-align: center;
  color: var(--app-muted);
  font-size: 14px;
}
.sub-empty::before {
  content: '';
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(29,132,255,.15), rgba(56,189,248,.12));
  box-shadow: inset 0 0 0 1px rgba(29,132,255,.12);
}
.sub-actions {
  margin: 8px 14px 0;
  position: sticky;
  bottom: 12px;
  z-index: 5;
}
.sub-actions .app-btn {
  width: 100% !important;
  max-width: none;
  min-height: 48px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 24px rgba(29,132,255,.28);
}
.sub-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.sub-chip {
  width: auto;
  height: 44px;
  border-radius: 12px;
  background: #faf3f4;
  color: var(--app-primary-dark);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease;
}
.sub-chip:active { transform: scale(.97); }
.sub-chip.on {
  background: linear-gradient(145deg, #1d84ff, #1565cc);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(29,132,255,.25);
}
.sub-amount-box {
  margin-top: 18px;
  padding: 16px 12px 6px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #f0f7ff, #fff);
  border: 1px dashed rgba(29,132,255,.22);
  text-align: center;
}
.sub-amount-box .label {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--app-muted);
  margin-bottom: 6px;
}
.sub-amount-box .val {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--app-accent);
  font-weight: 700;
}
.sub-amount-box input {
  width: 150px;
  border: none !important;
  outline: none;
  background: transparent;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--app-display);
  color: var(--app-accent);
  padding: 0;
  text-indent: 0 !important;
}
.sub-amount-box .unit { font-size: 15px; }
.sub-row {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid #f3e9eb;
}
.sub-row:last-child { border-bottom: none; }
.sub-row label {
  width: 88px;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--app-muted);
}
.sub-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: none !important;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--app-ink);
  padding: 0;
  text-indent: 0 !important;
  box-shadow: none !important;
}
.sub-row input::placeholder { color: #bbb; font-weight: 400; }
.sub-row input[readonly] { color: var(--app-muted); font-weight: 400; }
.sub-tabs {
  display: flex;
  margin: 0 14px 12px;
  padding: 4px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(13,58,110,.05);
  border: 1px solid rgba(213,222,228,.65);
}
.sub-tab {
  flex: 1;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--app-sub);
  border-radius: 11px;
  cursor: pointer;
  user-select: none;
  transition: background .15s ease, color .15s ease;
}
.sub-tab.on {
  background: linear-gradient(135deg, var(--app-primary), var(--app-primary-2));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(29,132,255,.25);
}
.sub-list {
  margin: 0 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(13,58,110,.05);
  border: 1px solid rgba(213,222,228,.65);
}
.sub-item {
  position: relative;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 15px 14px 15px 16px;
  border-bottom: 1px solid #f3e9eb;
}
.sub-item:last-child { border-bottom: 0; }
.sub-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--app-primary), rgba(56,189,248,.85));
  opacity: .85;
}
.sub-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.sub-item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--app-ink);
  line-height: 1.4;
}
.sub-item-amt {
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 700;
  font-family: var(--app-display);
  color: var(--app-accent);
  font-variant-numeric: tabular-nums;
}
.sub-item-amt.plus { color: #1f7a45; }
.sub-item-amt.minus { color: var(--app-danger); }
.sub-item-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 12px;
  color: var(--app-muted);
}
.sub-item-meta span b {
  font-weight: 500;
  color: var(--app-sub);
}
.sub-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: #fdecea;
  color: var(--app-danger);
}
.sub-badge.ok {
  background: #e8f4ff;
  color: var(--app-primary-dark);
}
.sub-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3e9eb;
  margin: 0;
  border-radius: 0;
  background: transparent;
}
.sub-person:last-child { border-bottom: 0; padding-bottom: 2px; }
.sub-person:first-child { padding-top: 2px; }
.sub-person img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  background: #e8f4ff;
  flex-shrink: 0;
  border: 1px solid rgba(29,132,255,.12);
}
.sub-person .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--app-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sub-person .time {
  margin-top: 4px;
  font-size: 12px;
  color: var(--app-muted);
}
.sub-stat {
  display: flex;
  margin: 0 14px 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(13,58,110,.05);
  border: 1px solid rgba(213,222,228,.65);
  overflow: hidden;
}
.sub-stat .cell {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  border-right: 1px solid #f3e9eb;
  position: relative;
}
.sub-stat .cell:last-child { border-right: 0; }
.sub-stat .lab {
  font-size: 12px;
  color: var(--app-muted);
  margin-bottom: 6px;
}
.sub-stat .val {
  font-size: 22px;
  font-weight: 700;
  font-family: var(--app-display);
  color: var(--app-primary);
}

/* ========== 认购页（国债 / 基建基金 / 全民持股） ========== */
.buy-page {
  padding-bottom: 88px;
}
.buy-page .sub-sheet {
  padding-bottom: 24px;
}
.buy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
}
.buy-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--app-primary-dark);
  background: rgba(29,132,255,.1);
  border: 1px solid rgba(29,132,255,.14);
}
.buy-tag.accent {
  color: #8a4b16;
  background: rgba(56,189,248,.12);
  border-color: rgba(56,189,248,.22);
}
.buy-content {
  font-size: 14px;
  color: var(--app-sub);
  line-height: 1.75;
  word-break: break-word;
}
.buy-content img { max-width: 100%; height: auto; border-radius: 8px; }
.buy-content p { margin: 0 0 .6em; }
.buy-content p:last-child { margin-bottom: 0; }
.buy-params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.buy-param {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0f7ff, #fff);
  border: 1px solid rgba(213,222,228,.8);
}
.buy-param.wide { grid-column: 1 / -1; }
.buy-param-ico {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29,132,255,.1);
  color: var(--app-primary);
}
.buy-param-ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.buy-param-ico.accent {
  background: rgba(56,189,248,.12);
  color: var(--app-accent);
}
.buy-param .lab {
  font-size: 11px;
  color: var(--app-muted);
  line-height: 1.3;
  margin-bottom: 3px;
}
.buy-param .val {
  font-size: 14px;
  font-weight: 600;
  color: var(--app-ink);
  line-height: 1.35;
  word-break: break-all;
}
.buy-param .val small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: var(--app-muted);
}
.buy-progress {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(29,132,255,.18);
}
.buy-progress .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--app-muted);
}
.buy-progress .head b {
  font-size: 14px;
  font-weight: 700;
  color: var(--app-primary);
  font-family: var(--app-display);
}
.buy-progress .bar {
  height: 8px;
  border-radius: 8px;
  background: #f0e4e6;
  overflow: hidden;
}
.buy-progress .bar i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, #1d84ff, #38bdf8);
  transition: width .4s ease;
}
.buy-dirs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.buy-dir {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f0f7ff;
  font-size: 14px;
  font-weight: 500;
  color: var(--app-ink);
}
.buy-dir i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29,132,255,.12);
  color: var(--app-primary);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.buy-kf {
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--app-accent);
  text-decoration: underline;
}
.buy-page .pay-type { padding-top: 0; }
.buy-page .pay-type ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: visible;
}
.buy-page .pay-type ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  height: auto;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 1.5px solid #efe6e8;
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
  color: var(--app-ink);
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.buy-page .pay-type ul li.is-rec { margin-top: 6px; }
.buy-page .pay-type ul li .type {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.buy-page .pay-type ul li .type i {
  display: inline-block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background-size: 28px 24px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.buy-page .pay-type ul li .type span {
  font-size: 15px;
  font-weight: 500;
  color: var(--app-ink);
}
.buy-page .pay-type ul li i.check {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid #c5ced6;
  background: transparent !important;
  box-sizing: border-box;
}
.buy-page .pay-type ul li.active {
  border-color: var(--app-primary);
  background: #eef7f6;
  color: var(--app-primary);
}
.buy-page .pay-type ul li.active .type span { color: var(--app-primary-dark); }
.buy-page .pay-type ul li.active i.check {
  border-color: var(--app-primary);
  background:
    radial-gradient(circle at center, var(--app-primary) 0 5px, transparent 5.5px),
    #fff !important;
  box-shadow: inset 0 0 0 2px #fff;
}
.buy-page .pay-type ul li.is-rec {
  border-color: #ff7a18 !important;
  box-shadow: 0 0 0 1px rgba(255,122,24,.12);
}
.buy-page .pay-rec {
  top: -9px;
  right: 14px;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 8px 8px 8px 3px;
}
.buy-page .pay-balance-extra {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.buy-page .pay-balance-extra .hint {
  font-size: 11px;
  color: var(--app-muted);
  font-weight: 400;
}
.buy-recharge-link {
  display: block;
  margin-top: 12px;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1d84ff, #1565cc);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(29,132,255,.25);
}
.buy-coupons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.buy-coupon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #efe6e8;
  background: #f0f7ff;
  font-size: 13px;
  color: var(--app-ink);
  cursor: pointer;
}
.buy-coupon input { accent-color: var(--app-primary); }
.buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(213,222,228,.9);
  box-shadow: 0 -8px 24px rgba(13,58,110,.08);
}
.buy-bar-price {
  flex: 1;
  min-width: 0;
}
.buy-bar-price .lab {
  display: block;
  font-size: 11px;
  color: var(--app-muted);
  margin-bottom: 2px;
}
.buy-bar-price .num {
  font-size: 22px;
  font-weight: 700;
  font-family: var(--app-display);
  color: var(--app-accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.buy-bar-price .num em {
  font-style: normal;
  font-size: 13px;
  margin-right: 1px;
}
.buy-bar-price .disc {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--app-muted);
}
.buy-bar-price .disc s { margin-right: 4px; }
.buy-bar-price .disc b {
  font-weight: 600;
  color: #c2410c;
}
.buy-bar .app-btn {
  flex-shrink: 0;
  min-width: 128px;
  min-height: 46px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(29,132,255,.28);
}
.buy-bar .app-btn:disabled,
.buy-bar .app-btn.is-off {
  opacity: .45;
  box-shadow: none;
  pointer-events: none;
}

/* ========== 平台公告弹窗（圆角卡片 + 头图/正文 + 翻页） ========== */
.yunshanghui-notice-mask {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .22s ease;
}
.yunshanghui-notice-mask.is-open { opacity: 1; }
.yunshanghui-notice-card {
  position: relative;
  width: min(392px, 100%);
  max-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .35);
  transform: translateY(16px) scale(.97);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2, 1.05, .3, 1), opacity .28s ease;
}
.yunshanghui-notice-mask.is-open .yunshanghui-notice-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.yunshanghui-notice-card--portal {
  padding-bottom: 14px;
}
.yunshanghui-notice-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .12);
}
.yunshanghui-notice-close:active { opacity: .85; transform: scale(.96); }
.yunshanghui-notice-hero {
  position: relative;
  flex-shrink: 0;
  line-height: 0;
  background: #0f172a;
}
.yunshanghui-notice-hero--solo {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.yunshanghui-notice-hero-img {
  display: block;
  width: 100%;
  height: auto;
}
.yunshanghui-notice-hero--solo .yunshanghui-notice-hero-img {
  object-fit: contain;
}
.yunshanghui-notice-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--app-primary), var(--app-primary-dark));
  box-shadow: 0 4px 12px rgba(29, 132, 255, .35);
}
.yunshanghui-notice-badge--inline {
  position: relative;
  top: auto;
  left: auto;
  display: inline-block;
  margin: 16px 0 0 16px;
}
.yunshanghui-notice-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--app-ink, #1e293b);
  text-align: left;
  background: #fff;
}
.yunshanghui-notice-body--portal {
  max-height: min(36vh, 280px);
}
.yunshanghui-notice-body > div { color: inherit; }
.yunshanghui-notice-body p {
  margin: 0 0 .65em;
  color: var(--app-ink, #1e293b);
  font-size: 13px;
  line-height: 1.72;
}
.yunshanghui-notice-body p:last-child { margin-bottom: 0; }
.yunshanghui-notice-body strong { color: var(--app-primary-dark, #1565cc); font-weight: 700; }
.yunshanghui-notice-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  margin: 6px 0;
}
.yunshanghui-notice-body a { color: var(--app-primary); }
.yunshanghui-notice-dots {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px 4px;
}
.yunshanghui-notice-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: transform .15s ease, background .15s ease;
}
.yunshanghui-notice-dot.is-active {
  background: var(--app-primary);
  transform: scale(1.25);
}
.yunshanghui-notice-buy-link {
  display: block;
  margin: 0 auto 6px;
  padding: 4px 12px;
  border: 0;
  background: transparent;
  color: var(--app-primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.yunshanghui-notice-pager {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px 4px;
}
.yunshanghui-notice-pager-sep {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}
.yunshanghui-notice-pager-btn {
  min-width: 108px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(145deg, var(--app-primary-2), var(--app-primary) 45%, var(--app-primary-dark));
  box-shadow: 0 8px 20px rgba(29, 132, 255, .28);
  transition: transform .12s ease, opacity .15s ease, background .15s ease;
}
.yunshanghui-notice-pager .yunshanghui-notice-pager-btn:first-child:not(:disabled) {
  color: var(--app-primary-dark);
  background: #e8f3ff;
  box-shadow: none;
}
.yunshanghui-notice-pager-btn:disabled {
  opacity: .38;
  cursor: not-allowed;
  box-shadow: none;
}
.yunshanghui-notice-pager-btn:not(:disabled):active {
  transform: scale(.98);
  opacity: .92;
}

/* ========== 资讯列表 / 详情 ========== */
.news-page.sub-page {
  padding-bottom: calc(var(--app-footer-h) + 24px);
}
.news-page.sub-page.is-detail {
  padding-bottom: 36px;
}
.news-feed {
  margin: 0 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(13,58,110,.05);
  border: 1px solid rgba(213,222,228,.65);
}
.news-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid #f3e9eb;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s ease;
}
.news-row:last-child { border-bottom: 0; }
.news-row:active { background: #f0f7ff; }
.news-row .thumb {
  width: 92px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  background: #e8f4ff;
  display: block;
}
.news-row .main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news-row .ttl {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--app-ink);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.news-row .ttl .mark {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  margin-top: -2px;
  height: 18px;
  line-height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(29,132,255,.12);
  color: var(--app-primary-dark);
}
.news-row .ttl .mark.hot {
  background: rgba(56,189,248,.14);
  color: #8a4b16;
}
.news-row .meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--app-muted);
}
.news-row .meta .go {
  flex-shrink: 0;
  color: var(--app-primary);
  font-weight: 600;
}
.news-pager {
  margin: 0 14px 12px;
  padding: 14px 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(13,58,110,.05);
  border: 1px solid rgba(213,222,228,.65);
}
.news-pager .info {
  text-align: center;
  font-size: 12px;
  color: var(--app-muted);
  margin-bottom: 12px;
}
.news-pager .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.news-pager a,
.news-pager span.disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
  text-decoration: none;
  box-sizing: border-box;
}
.news-pager a {
  background: linear-gradient(145deg, #1d84ff, #1565cc);
  color: #fff;
  font-weight: 600;
}
.news-pager span.disabled {
  background: #f3e9eb;
  color: #a0a7b3;
}
.news-pager .page-num {
  min-width: 88px;
  background: #faf3f4;
  color: var(--app-ink);
  font-weight: 600;
}

.news-article {
  margin: 0 14px 12px;
  padding: 18px 16px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(13,58,110,.05);
  border: 1px solid rgba(213,222,228,.65);
  animation: yunshanghui-rise .55s ease both;
}
.news-article .ttl {
  margin: 0;
  font-family: var(--app-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--app-ink);
  line-height: 1.4;
  word-break: break-word;
}
.news-article .meta {
  margin-top: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f3e9eb;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  color: var(--app-muted);
}
.news-article .meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.news-article .meta span::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--app-primary);
  opacity: .7;
}
.news-article .body {
  margin-top: 16px;
  font-size: 15px;
  color: var(--app-ink);
  line-height: 1.8;
  word-break: break-word;
}
.news-article .body img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 12px auto;
  border-radius: 10px;
}
.news-article .body p { margin: 0 0 12px; }
.news-article .body video,
.news-article .body iframe { max-width: 100%; }
.news-article .body table {
  width: 100% !important;
  display: block;
  overflow-x: auto;
}
.news-article .body a { color: var(--app-primary); }

/* 公告 / 弹窗富文本排版（后台编辑器 HTML） */
.rich-html {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.rich-html > *:first-child { margin-top: 0 !important; }
.rich-html > *:last-child { margin-bottom: 0 !important; }
.rich-html h1,
.rich-html h2,
.rich-html h3,
.rich-html h4 {
  margin: 1.1em 0 .55em;
  font-family: var(--app-display);
  font-weight: 700;
  color: var(--app-ink);
  line-height: 1.35;
}
.rich-html h1 { font-size: 1.35em; }
.rich-html h2 { font-size: 1.22em; }
.rich-html h3 { font-size: 1.1em; }
.rich-html h4 { font-size: 1em; }
.rich-html ul,
.rich-html ol {
  margin: .65em 0 .85em;
  padding-left: 1.35em;
}
.rich-html li {
  margin: .35em 0;
  line-height: 1.75;
}
.rich-html ul { list-style: disc; }
.rich-html ol { list-style: decimal; }
.rich-html blockquote {
  margin: .85em 0;
  padding: 10px 12px;
  border-left: 3px solid rgba(29,132,255,.35);
  border-radius: 0 10px 10px 0;
  background: #f0f7ff;
  color: var(--app-sub);
  font-size: .96em;
}
.rich-html hr {
  margin: 1em 0;
  border: 0;
  border-top: 1px solid #f3e9eb;
}
.rich-html pre,
.rich-html code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .92em;
}
.rich-html pre {
  margin: .85em 0;
  padding: 10px 12px;
  overflow-x: auto;
  border-radius: 10px;
  background: #f6f7f9;
  line-height: 1.55;
}
.rich-html table {
  width: 100% !important;
  max-width: 100%;
  margin: .85em 0;
  border-collapse: collapse;
  font-size: .94em;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.rich-html th,
.rich-html td {
  padding: 8px 10px;
  border: 1px solid #eceff3;
  vertical-align: top;
  word-break: break-word;
}
.rich-html th {
  background: #faf3f4;
  font-weight: 700;
  color: var(--app-ink);
}
.rich-html video,
.rich-html iframe {
  max-width: 100%;
  display: block;
  margin: 12px auto;
  border-radius: 10px;
}
.yunshanghui-notice-body.rich-html {
  font-size: 14.5px;
  line-height: 1.88;
  letter-spacing: .02em;
}
.yunshanghui-notice-body.rich-html .notice-inner,
.yunshanghui-notice-body.rich-html > div {
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  font-family: inherit !important;
}
.yunshanghui-notice-body.rich-html span,
.yunshanghui-notice-body.rich-html font {
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}
.yunshanghui-notice-body.rich-html p,
.yunshanghui-notice-body.rich-html .notice-p,
.yunshanghui-notice-body.rich-html p.notice-body {
  margin: 0 0 .78em !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: var(--app-ink);
  word-break: break-word;
}
.yunshanghui-notice-body.rich-html p.notice-body,
.yunshanghui-notice-body.rich-html p[style*="text-indent"] {
  text-align: left !important;
  text-indent: 2em !important;
}
.yunshanghui-notice-body.rich-html p.notice-salutation {
  margin: 0 0 .55em !important;
  text-align: left !important;
  text-indent: 0 !important;
  font-weight: 600;
  color: var(--app-ink);
}
.yunshanghui-notice-body.rich-html p.notice-doc-title,
.yunshanghui-notice-body.rich-html p.notice-align-center.notice-doc-title {
  margin: 0 0 .65em !important;
  text-align: center !important;
  text-indent: 0 !important;
  font-weight: 700 !important;
  font-size: 15.5px !important;
  line-height: 1.38 !important;
  color: var(--app-primary-dark) !important;
}
.yunshanghui-notice-body.rich-html p.notice-disclaimer {
  margin: .35em 0 .2em !important;
  text-align: center !important;
  text-indent: 0 !important;
  font-size: 13px !important;
  line-height: 1.62 !important;
  font-weight: 600;
  color: #9a1f2e !important;
}
.yunshanghui-notice-body.rich-html p.notice-doc-no,
.yunshanghui-notice-body.rich-html p.notice-align-right.notice-doc-no {
  margin: -.15em 0 .65em !important;
  text-align: right !important;
  text-indent: 0 !important;
  font-size: 12px !important;
  color: var(--app-muted) !important;
}
.yunshanghui-notice-body.rich-html p.notice-sec,
.yunshanghui-notice-body.rich-html p[style*="font-weight:700"]:not(.notice-body):not(.notice-disclaimer),
.yunshanghui-notice-body.rich-html p[style*="font-weight: 700"]:not(.notice-body):not(.notice-disclaimer) {
  margin: 1.12em 0 .5em !important;
  padding: 6px 0 6px 11px;
  border-left: 3px solid rgba(29, 132, 255, .5);
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.42 !important;
  color: var(--app-primary-dark) !important;
  text-align: left !important;
  text-indent: 0 !important;
  background: linear-gradient(90deg, rgba(29, 132, 255, .06), transparent 72%);
}
.yunshanghui-notice-body.rich-html p.notice-sec:first-child,
.yunshanghui-notice-body.rich-html p.notice-doc-title:first-child,
.yunshanghui-notice-body.rich-html p.notice-align-center:first-child {
  margin-top: 0 !important;
}
.yunshanghui-notice-body.rich-html p.notice-item {
  margin: 0 0 .52em !important;
  padding-left: 0;
  text-align: left !important;
  text-indent: 2em !important;
  color: var(--app-ink);
}
.yunshanghui-notice-body.rich-html p.notice-sign,
.yunshanghui-notice-body.rich-html p.notice-align-right.notice-sign {
  margin: 1em 0 0 !important;
  text-align: right !important;
  text-indent: 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: var(--app-muted) !important;
}
.yunshanghui-notice-body.rich-html p.notice-align-center:not(.notice-body):not(.notice-disclaimer):not(.notice-doc-title) {
  text-indent: 0 !important;
  text-align: center !important;
}
.yunshanghui-notice-body.rich-html p.notice-align-right:not(.notice-doc-no):not(.notice-sign) {
  text-indent: 0 !important;
  text-align: right !important;
  font-size: 12px;
  color: var(--app-muted);
}
.yunshanghui-notice-body.rich-html p[style*="text-align:center"]:not(.notice-body),
.yunshanghui-notice-body.rich-html p[style*="text-align: center"]:not(.notice-body) {
  text-indent: 0 !important;
  text-align: center !important;
}
.yunshanghui-notice-body.rich-html p[style*="text-align:right"]:not(.notice-body),
.yunshanghui-notice-body.rich-html p[style*="text-align: right"]:not(.notice-body) {
  text-indent: 0 !important;
  text-align: right !important;
}

.news-adjacent {
  margin: 0 14px 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(13,58,110,.05);
  border: 1px solid rgba(213,222,228,.65);
  overflow: hidden;
}
.news-adjacent a,
.news-adjacent .off {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid #f3e9eb;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-all;
}
.news-adjacent a:last-child,
.news-adjacent .off:last-child { border-bottom: 0; }
.news-adjacent a { color: var(--app-ink); }
.news-adjacent a:active { background: #f0f7ff; }
.news-adjacent .off { color: var(--app-muted); background: #fafbfc; }
.news-adjacent .lab {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--app-primary);
}
.news-adjacent .off .lab { color: var(--app-muted); }
.news-adjacent .actions {
  display: flex;
  gap: 0;
  border-top: 1px solid #f3e9eb;
}
.news-adjacent .actions a {
  flex: 1;
  text-align: center;
  border-bottom: 0;
  border-right: 1px solid #f3e9eb;
  padding: 12px 8px;
  font-weight: 600;
  color: var(--app-primary-dark);
  background: #f0f7ff;
}
.news-adjacent .actions a:last-child { border-right: 0; }
.news-adjacent .actions a:active { background: #e8f4ff; }

/* ========== Vue 会员首页：沿用旧版 HTML 红金 yunshanghui-* 布局（勿覆盖为黄色 MK 主题） ========== */

/* ========== 商城式布局（MK，其它页备用） ========== */
.mk-layout {
  --mk-yellow: #FFD100;
  --mk-yellow-dark: #FFB300;
  --mk-red: #FF3B30;
  background: #EBEBEB !important;
}

.mk-layout::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-top, 0px);
  background: #FFD100;
  z-index: 99;
  pointer-events: none;
}
.mk-top {
  background: linear-gradient(180deg, #FFD100 0%, #FFD100 72%, #EBEBEB 100%);
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 16px;
}
.mk-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 2px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #2A2A2A;
  text-decoration: none;
}
.mk-loc::after {
  content: '\25BE';
  font-size: 12px;
  opacity: .7;
}
.mk-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mk-search {
  flex: 1;
  display: flex;
  align-items: center;
  height: 40px;
  background: #fff;
  border-radius: var(--app-radius);
  overflow: hidden;
  box-shadow: var(--app-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.mk-search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0 14px;
  font-size: 14px;
  background: transparent;
  min-width: 0;
}
.mk-search button {
  flex-shrink: 0;
  height: 32px;
  margin: 4px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--app-btn-radius);
  background: #FFD100;
  color: #2A2A2A;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.mk-scan {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--app-radius-sm);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  box-shadow: var(--app-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.mk-banner {
  margin: -6px 14px 14px;
  border-radius: var(--app-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--app-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.mk-banner .swiper-slide img,
.mk-banner .swiper-slide video {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.mk-banner .swiper-pagination-bullet-active {
  background: #FFD100 !important;
}

.mk-section {
  margin: 0 14px 14px;
}
.mk-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.mk-section-hd h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #2A2A2A;
  letter-spacing: 0;
}
.mk-section-hd span,
.mk-section-hd a {
  font-size: 12px;
  color: #999;
  text-decoration: none;
}

.mk-shops {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mk-shops::-webkit-scrollbar { display: none; }
.mk-shop-card {
  flex: 0 0 108px;
  background: #fff;
  border-radius: var(--app-radius);
  padding: 12px 10px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--app-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.mk-shop-card .ico {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: var(--app-radius-sm);
  background: #FFF8D6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.mk-shop-card .ico img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  border-radius: 13px;
}
.mk-shop-card .name {
  font-size: 13px;
  font-weight: 700;
  color: #2A2A2A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-shop-card .tag {
  margin-top: 4px;
  font-size: 10px;
  color: #FF3B30;
  font-weight: 600;
}

.mk-flash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mk-flash-item {
  background: #fff;
  border-radius: var(--app-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--app-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.mk-flash-item .pic {
  aspect-ratio: 1 / 1;
  background: #FFF8D6 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.mk-flash-item .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mk-flash-item .info {
  padding: 8px 10px 10px;
}
.mk-flash-item .title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mk-flash-item .price {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  color: #FF3B30;
}
.mk-flash-item .price small {
  font-size: 11px;
  font-weight: 500;
}

/* ── 我的页：优惠券/积分/余额统计条 ── */
.mk-profile-stats {
  display: flex;
  margin: -28px 14px 14px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--app-radius, 14px);
  box-shadow: var(--app-shadow-sm, 0 2px 10px rgba(13, 58, 110, 0.06));
  border: 1px solid rgba(29, 132, 255, 0.08);
  overflow: hidden;
}
.mk-profile-stats a {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid rgba(29, 132, 255, 0.06);
}
.mk-profile-stats a:last-child { border-right: 0; }
.mk-profile-stats .num {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--app-ink, #1c1c1c);
  font-family: var(--app-display);
  font-variant-numeric: tabular-nums;
}
.mk-profile-stats .lab {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--app-muted, #999);
}

/* ── 我的页：快捷功能四宫格 ── */
.mk-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 0 14px 14px;
  padding: 12px 8px;
  background: #fff;
  border-radius: var(--app-radius, 14px);
  box-shadow: var(--app-shadow-sm, 0 2px 10px rgba(13, 58, 110, 0.06));
  border: 1px solid rgba(29, 132, 255, 0.08);
}
.mk-feature-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--app-ink, #333);
}
.mk-feature-grid .ico {
  width: 42px;
  height: 42px;
  border-radius: var(--app-radius-sm, 10px);
  background: linear-gradient(145deg, rgba(29, 132, 255, 0.08), rgba(56, 189, 248, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.mk-feature-grid .ico img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}
.mk-feature-grid .txt {
  font-size: 11px;
  text-align: center;
  line-height: 1.2;
  color: var(--app-sub, #666);
}

/* 有统计条时资产面板不再上移重叠 */
.mk-profile-stats ~ .yunshanghui-asset-board {
  margin-top: 0;
}

.my-page {
  min-height: 100vh;
  padding-bottom: calc(var(--app-footer-h, 56px) + 16px);
  background: var(--app-bg, #f7f4f4);
}

/* ── 认购页：左侧分类 + 产品列表 ── */
.mk-cat-page {
  display: flex;
  align-items: flex-start;
  margin: 12px 14px 0;
  min-height: 0;
  background: transparent;
  border-radius: var(--app-radius, 14px);
  overflow: hidden;
}
.mk-cat-sidebar {
  flex: 0 0 80px;
  background: #fff;
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(29, 132, 255, 0.08);
  border-right: 0;
  overflow: hidden;
}
.mk-cat-nav {
  display: block;
  padding: 14px 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--app-muted, #888);
  text-decoration: none;
  border-left: 3px solid transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.mk-cat-nav:active {
  background: rgba(29, 132, 255, 0.06);
}
.mk-cat-nav.is-active {
  background: #f0f7ff;
  color: var(--app-primary);
  border-left-color: var(--app-primary);
  font-weight: 700;
}
.mk-cat-main {
  flex: 1;
  min-width: 0;
  padding: 0 0 12px 10px;
  background: transparent;
}

/* ── 合作页（底部导航 Tab） ── */
.hezu-page {
  min-height: 100vh;
  padding-bottom: calc(var(--app-footer-h, 56px) + 12px);
  background: var(--app-bg, #f7f4f4);
}
.hezu-hero {
  position: relative;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) 18px 32px;
  background:
    radial-gradient(ellipse 55% 70% at 92% 8%, rgba(56, 189, 248, 0.32), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(29, 132, 255, 0.35), transparent 50%),
    linear-gradient(155deg, #041a3d 0%, #0d3a6e 48%, #1565cc 100%);
  overflow: hidden;
}
.hezu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hezu-hero-inner {
  position: relative;
  z-index: 1;
  padding: 4px 2px 0;
}
.hezu-hero-inner .kicker {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}
.hezu-hero-inner h1 {
  margin: 8px 0 6px;
  font-size: 26px;
  font-family: var(--app-display);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.hezu-hero-inner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 300px;
}
.hezu-body {
  margin-top: -12px;
  position: relative;
  z-index: 2;
  padding: 0 14px 16px;
}
.hezu-item {
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.1);
  box-shadow: 0 6px 20px rgba(13, 58, 110, 0.06);
}
.hezu-item img,
.hezu-img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  background: #faf3f4;
}
.hezu-cap {
  padding: 10px 14px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--app-ink);
  font-family: var(--app-display);
}
.hezu-empty {
  padding: 56px 24px;
  text-align: center;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed rgba(29, 132, 255, 0.18);
}
.hezu-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--app-muted, #99a6b8);
}
.hezu-viewer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.hezu-viewer.show {
  display: flex;
}
.hezu-viewer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ═══════════════════════════════════════
   Orbit · 账户页（居中身份 + 保险库卡 + 磁贴）
   产品 / 子页仍为 Atlas
   ═══════════════════════════════════════ */
.my-page--orbit {
  position: relative;
  background: #f4f7fc;
  padding-bottom: calc(var(--app-footer-h) + 20px);
  overflow-x: hidden;
}
.orbit-my-hero {
  position: relative;
  z-index: 1;
  margin: 0 0 -36px;
  height: 160px;
  overflow: hidden;
}
.orbit-my-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.orbit-my-bg {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: -120px;
  width: 140%;
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 80%, rgba(29, 132, 255, 0.22) 0%, transparent 62%);
}
.orbit-my-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 4px;
}
.orbit-my-nav-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.orbit-my-nav-actions { display: flex; gap: 8px; }
.orbit-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: #1d84ff;
  fill: none;
  stroke-width: 1.8;
}
.orbit-icon-btn em {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  padding: 0 4px;
  border-radius: 999px;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  background: #ef4444;
  color: #fff;
}
.orbit-my-identity {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8px 20px 4px;
}
.orbit-my-avatar-wrap {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d84ff, #93c5fd);
  box-shadow: 0 14px 32px rgba(29, 132, 255, 0.28);
}
.orbit-my-avatar {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #fff;
  display: block;
}
.orbit-my-name {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--app-ink, #0f172a);
  line-height: 1.35;
}
.orbit-my-lvl {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
  background: rgba(29, 132, 255, 0.12);
  color: #1d84ff;
}
.orbit-my-phone {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--app-muted, #64748b);
}
.orbit-vault {
  position: relative;
  z-index: 2;
  margin: 16px 16px 0;
  padding: 18px 16px 14px;
  border-radius: 22px;
  color: #e2e8f0;
  background: linear-gradient(160deg, #0b1220 0%, #132238 45%, #1a3a6b 100%);
  box-shadow: 0 20px 44px rgba(11, 18, 32, 0.35);
}
.orbit-vault-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.75;
}
.orbit-vault-sum {
  margin: 6px 0 0;
  font-size: 34px;
  font-weight: 800;
  font-family: var(--app-display);
  letter-spacing: -0.03em;
  color: #fff;
}
.orbit-vault-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.orbit-vault-split span {
  display: block;
  font-size: 10px;
  opacity: 0.72;
}
.orbit-vault-split strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.orbit-vault-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.orbit-vault-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.orbit-vault-btn--primary {
  background: #1d84ff;
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 132, 255, 0.45);
}
.orbit-vault-btn--line {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.orbit-stat-rail {
  display: flex;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0 16px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.orbit-stat-rail::-webkit-scrollbar { display: none; }
.orbit-stat-chip {
  flex: 0 0 auto;
  min-width: 108px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.1);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
}
.orbit-stat-chip.is-static { background: #eef4ff; }
.orbit-stat-chip .k {
  display: block;
  font-size: 10px;
  color: var(--app-muted, #64748b);
}
.orbit-stat-chip .v {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--app-ink, #0f172a);
}
.orbit-stat-chip .v small { font-size: 11px; font-weight: 600; }
.orbit-stat-chip .hint,
.orbit-stat-chip .go {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.35;
  color: #1d84ff;
}
.orbit-dock {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 12px 16px 0;
  padding: 12px 10px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.orbit-dock a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--app-ink, #334155);
  text-decoration: none;
}
.orbit-dock img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(29, 132, 255, 0.22);
}
.orbit-tile-ico-img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.orbit-block {
  margin: 16px 16px 0;
}
.orbit-block-last { margin-bottom: 12px; }
.orbit-block-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.orbit-block-hd h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--app-ink, #0f172a);
}
.orbit-block-hd span {
  font-size: 11px;
  color: var(--app-muted, #94a3b8);
}
.orbit-mosaic {
  display: grid;
  gap: 10px;
}
.orbit-mosaic--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.orbit-mosaic--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.orbit-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 88px;
  padding: 14px 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
}
.orbit-tile--wide { grid-column: span 2; flex-direction: row; align-items: center; min-height: 72px; }
.orbit-tile--compact {
  min-height: 96px;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
}
.orbit-tile.is-muted { opacity: 0.55; pointer-events: none; }
.orbit-tile-ico {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  flex-shrink: 0;
}
.orbit-tile-ico.c1 { background: linear-gradient(145deg, #1d84ff, #1565cc); }
.orbit-tile-ico.c2 { background: linear-gradient(145deg, #38bdf8, #0ea5e9); }
.orbit-tile-ico.c3 { background: linear-gradient(145deg, #6366f1, #4338ca); }
.orbit-tile-ico.c4 { background: linear-gradient(145deg, #14b8a6, #0d9488); }
.orbit-tile-ico.c5 { background: linear-gradient(145deg, #f59e0b, #d97706); }
.orbit-tile-ico.c6 { background: linear-gradient(145deg, #3b82f6, #1d4ed8); }
.orbit-tile-ico.c7 { background: linear-gradient(145deg, #64748b, #475569); }
.orbit-tile-ico.c8 { background: linear-gradient(145deg, #0ea5e9, #0369a1); }
.orbit-tile-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.orbit-tile-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--app-ink, #0f172a);
}
.orbit-tile-text small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--app-muted, #94a3b8);
}
.orbit-tile--compact .orbit-tile-text strong { font-size: 11px; }
.orbit-logout {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: 1px dashed rgba(220, 38, 38, 0.35);
  border-radius: 14px;
  background: rgba(254, 242, 242, 0.6);
  color: #dc2626;
  font-size: 14px;
  font-weight: 700;
}

/* 产品页 · Atlas */
.buy-atlas-page {
  min-height: 100vh;
  background: #eef2f8;
  padding-bottom: calc(var(--app-footer-h) + 12px);
}
.atlas-buy-head {
  position: relative;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 16px;
  color: #fff;
  overflow: hidden;
}
.atlas-buy-head-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0a2a5c 0%, #1d84ff 100%);
  background-size: cover;
  background-position: center;
  border-radius: 0 0 26px 26px;
}
.atlas-buy-head-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(4, 26, 61, 0.72) 0%, rgba(29, 132, 255, 0.55) 100%);
}
.buy-atlas--charge .atlas-buy-head-bg::after {
  background: linear-gradient(145deg, rgba(8, 47, 73, 0.78) 0%, rgba(14, 165, 233, 0.5) 100%);
}
.buy-atlas--equity .atlas-buy-head-bg::after {
  background: linear-gradient(145deg, rgba(49, 46, 129, 0.82) 0%, rgba(99, 102, 241, 0.52) 100%);
}
.atlas-buy-kicker,
.atlas-buy-title,
.atlas-buy-desc,
.atlas-buy-tabs { position: relative; z-index: 1; }
.atlas-buy-kicker { margin: 0; font-size: 11px; letter-spacing: 0.12em; opacity: 0.85; }
.atlas-buy-title { margin: 6px 0 0; font-size: 24px; font-weight: 800; font-family: var(--app-display); }
.atlas-buy-desc { margin: 8px 0 0; max-width: 26em; font-size: 12px; line-height: 1.55; opacity: 0.92; }
.atlas-buy-tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.atlas-buy-tab {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
}
.atlas-buy-tab.on {
  background: #fff;
  color: #0a2a5c;
  border-color: #fff;
}
.atlas-buy-media {
  margin: -8px 14px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(13, 58, 110, 0.12);
}
.atlas-buy-list { padding: 12px 14px 0; display: flex; flex-direction: column; gap: 10px; }
.atlas-sku {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.1);
  box-shadow: 0 8px 22px rgba(13, 58, 110, 0.06);
}
.atlas-sku-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e8f2ff;
  min-height: 88px;
}
.atlas-sku-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atlas-sku-badge,
.atlas-sku-reserved {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(29, 132, 255, 0.92);
}
.atlas-sku-reserved { top: auto; bottom: 6px; background: rgba(16, 185, 129, 0.92); }
.atlas-sku-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.atlas-sku-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.atlas-sku-top h3 { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; }
.atlas-sku-top .tag {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: #e8f2ff;
  color: #1565cc;
}
.atlas-sku-sub { margin: 0; font-size: 11px; color: var(--app-muted); line-height: 1.4; }
.atlas-sku-hint {
  font-size: 11px;
  color: #b45309;
  padding: 4px 8px;
  border-radius: 8px;
  background: #fffbeb;
}
.atlas-sku-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--app-muted);
}
.atlas-sku-stats b { color: var(--app-ink); margin-right: 2px; }
.atlas-sku-meta { font-size: 11px; color: var(--app-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.atlas-sku-progress {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: #e8f2ff;
  overflow: hidden;
}
.atlas-sku-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1d84ff, #38bdf8);
}
.atlas-sku-progress span {
  position: absolute;
  right: 0;
  top: -16px;
  font-size: 10px;
  color: var(--app-muted);
}
.atlas-sku-action { display: flex; align-items: center; }
.atlas-sku-btn {
  border: none;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.atlas-sku-btn.primary { background: linear-gradient(135deg, #1d84ff, #1565cc); color: #fff; }
.atlas-sku-btn.outline { background: #fff; color: #1565cc; border: 1px solid rgba(29, 132, 255, 0.35); }
.atlas-sku-btn.reserved { background: #ecfdf5; color: #047857; }
.atlas-sku-btn.disabled { background: #f1f5f9; color: #94a3b8; }

/* 子页 · Atlas */
.atlas-sub-page {
  min-height: 100vh;
  background: #eef2f8;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
.atlas-sub-head {
  position: relative;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 18px;
  color: #fff;
  overflow: hidden;
}
.atlas-sub-head-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a2a5c 0%, #1d84ff 100%);
  border-radius: 0 0 24px 24px;
}
.atlas-sub-nav,
.atlas-sub-hint { position: relative; z-index: 1; }
.atlas-sub-nav { display: flex; align-items: center; gap: 12px; }
.atlas-sub-back {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 22px;
  text-decoration: none;
}
.atlas-sub-meta .k { font-size: 10px; letter-spacing: 0.14em; opacity: 0.82; }
.atlas-sub-meta .t { font-size: 18px; font-weight: 800; margin-top: 2px; }
.atlas-sub-hint { margin: 10px 0 0; font-size: 12px; line-height: 1.55; opacity: 0.9; max-width: 28em; }
.atlas-sub-body { padding: 12px 16px 0; }
.atlas-sub-note {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.55;
  color: #0a2a5c;
  background: rgba(29, 132, 255, 0.1);
  border: 1px solid rgba(29, 132, 255, 0.15);
}
.atlas-form-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.1);
  box-shadow: 0 10px 26px rgba(13, 58, 110, 0.06);
  overflow: hidden;
}
.atlas-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  min-height: 54px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}
.atlas-field:last-child { border-bottom: none; }
.atlas-field .lab {
  width: 72px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--app-muted);
}
.atlas-field input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  text-align: right;
  font-size: 15px;
  font-weight: 500;
  color: var(--app-ink);
}
.atlas-field input[readonly] { color: var(--app-muted); }
.atlas-sub-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  min-height: 48px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1d84ff, #1565cc);
  box-shadow: 0 10px 24px rgba(29, 132, 255, 0.28);
}
.atlas-sub-submit:disabled { opacity: 0.5; box-shadow: none; }

/* ═══════════════════════════════════════
   我的 · Hub 布局（资产卡 + 混合基金 + 等级）
   ═══════════════════════════════════════ */
.my-page--hub {
  min-height: 100vh;
  padding-bottom: calc(var(--app-footer-h, 72px) + env(safe-area-inset-bottom, 0px) + 24px);
  background: #eef2f8;
}
.my-page--hub--custom-bg {
  background-attachment: scroll;
}
.my-page--hub--custom-bg .hub-top-title {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}
.hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 8px;
}
.hub-top-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--app-ink, #0f172a);
}
.hub-top-actions { display: flex; gap: 8px; }
.hub-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid rgba(29, 132, 255, 0.15);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.hub-pill-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: var(--app-primary, #1d84ff);
  opacity: 0.92;
}
.hub-pill-ico .hub-mini-icon {
  width: 14px;
  height: 14px;
}

.hub-mini-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hub-user-card {
  margin: 0 14px 12px;
  padding: 16px 14px 0;
  border-radius: 18px;
  background: linear-gradient(145deg, #0d3a6e 0%, #1565cc 52%, #1d84ff 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(29, 132, 255, 0.28);
}
.hub-user-main { display: flex; gap: 12px; align-items: center; }
.hub-avatar-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  padding: 4px;
}
.hub-avatar {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.hub-user-meta { flex: 1; min-width: 0; }
.hub-user-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.hub-phone {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hub-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.hub-badge--muted { background: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.92); }
.hub-badge--ok { background: rgba(16, 185, 129, 0.35); }
.hub-badge--lvl { background: rgba(255, 255, 255, 0.22); }
.hub-user-sub {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  opacity: 0.88;
}
.hub-lvl-tag {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.15);
}
.hub-user-stats {
  display: flex;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hub-stat {
  flex: 1;
  padding: 12px 6px 14px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.hub-stat:last-child { border-right: 0; }
.hub-stat.is-static { cursor: default; }
.hub-stat-v {
  display: block;
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hub-stat-v small { font-size: 11px; font-weight: 600; margin-left: 2px; }
.hub-stat-k {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.82;
}

.hub-card {
  margin: 0 14px 12px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(29, 132, 255, 0.08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}
.hub-card--mixed-fund {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #eef6ff 0%, #dceeff 52%, #cfe5ff 100%);
  border-color: rgba(29, 132, 255, 0.2);
  box-shadow: 0 10px 26px rgba(29, 132, 255, 0.1);
}
.hub-card--mixed-fund::before {
  content: '';
  position: absolute;
  top: -48px;
  right: -36px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 132, 255, 0.28) 0%, rgba(29, 132, 255, 0) 68%);
  pointer-events: none;
  z-index: 0;
}
.hub-card--mixed-fund::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, transparent 0%, rgba(21, 101, 204, 0.08) 100%);
  pointer-events: none;
  z-index: 0;
}
.hub-card--mixed-fund > * {
  position: relative;
  z-index: 1;
}
.hub-card--mixed-fund--custom-bg {
  border-color: rgba(29, 132, 255, 0.22);
}
.hub-card--mixed-fund--custom-bg::before,
.hub-card--mixed-fund--custom-bg::after {
  opacity: 0.4;
}
.hub-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.hub-card-hd h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--app-ink, #0f172a);
}
.hub-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--app-primary, #1d84ff);
  text-decoration: none;
}
.hub-muted {
  margin: 0;
  font-size: 12px;
  color: var(--app-muted, #94a3b8);
}
.hub-stock-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hub-stock-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(29, 132, 255, 0.08);
  border: 1px solid rgba(29, 132, 255, 0.12);
  color: var(--app-primary, #1d84ff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hub-stock-ico .hub-mini-icon {
  width: 22px;
  height: 22px;
}
.hub-stock-text { flex: 1; min-width: 0; }
.hub-stock-text strong { font-size: 14px; color: var(--app-ink); }
.hub-stock-text p {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--app-muted);
  line-height: 1.4;
}
.hub-stock-state {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
}
.hub-stock-state.is-ready { color: var(--app-primary); }

.hub-assets-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.hub-assets-hd h2 { margin: 0; font-size: 16px; font-weight: 800; }
.hub-assets-hd p {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--app-muted);
}
.hub-assets-total-k {
  margin: 12px 0 4px;
  font-size: 12px;
  color: var(--app-muted);
}
.hub-assets-total-v {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
  color: var(--app-primary);
  font-variant-numeric: tabular-nums;
}
.hub-asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.hub-asset-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 12px;
  background: #f8fafc;
  text-decoration: none;
  color: inherit;
}
.hub-asset-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.hub-asset-ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hub-asset-cell .k { font-size: 10px; color: var(--app-muted); text-align: center; line-height: 1.2; }
.hub-asset-cell .v {
  font-size: 12px;
  font-weight: 700;
  color: var(--app-ink);
  font-variant-numeric: tabular-nums;
}
.hub-asset-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px;
  border-radius: 12px;
  background: #f1f5f9;
  scrollbar-width: none;
}
.hub-asset-tabs::-webkit-scrollbar { display: none; }
.hub-asset-tab {
  flex: 1 0 auto;
  min-width: max-content;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.hub-asset-tab.is-active {
  background: #fff;
  color: var(--app-primary);
  border-color: rgba(29, 132, 255, 0.18);
  box-shadow: 0 4px 12px rgba(29, 132, 255, 0.12);
}
.hub-asset-panel {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(29, 132, 255, 0.06), rgba(14, 165, 233, 0.04));
  border: 1px solid rgba(29, 132, 255, 0.1);
}
.hub-asset-panel-k {
  margin: 0;
  font-size: 11px;
  color: var(--app-muted);
}
.hub-asset-panel-v {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--app-primary);
  font-variant-numeric: tabular-nums;
}
.hub-asset-panel-h {
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.45;
  color: #64748b;
}

.hub-fund-body {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.hub-fund-main { flex: 1; min-width: 0; }
.hub-fund-sum {
  margin: 4px 0 6px;
  font-size: 26px;
  font-weight: 800;
  color: var(--app-primary);
  font-variant-numeric: tabular-nums;
}
.hub-fund-tip {
  margin: 8px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  line-height: 1.45;
  color: #64748b;
}
.hub-fund-tip-tag {
  flex-shrink: 0;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(29, 132, 255, 0.12);
  color: var(--app-primary);
  font-size: 10px;
  font-weight: 800;
}
.hub-fund-side {
  flex-shrink: 0;
  width: 78px;
  padding: 10px 8px;
  border-radius: 12px;
  background: linear-gradient(160deg, #e0f2fe, #dbeafe);
  border: 1px solid rgba(29, 132, 255, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.hub-fund-side-k { font-size: 11px; font-weight: 800; color: #0369a1; }
.hub-fund-side-v { font-size: 10px; color: #475569; line-height: 1.2; }
.hub-fund-side-amt {
  font-size: 12px;
  font-weight: 800;
  color: var(--app-primary);
  font-variant-numeric: tabular-nums;
}
.hub-fund-progress-wrap { margin-top: 14px; }
.hub-fund-progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.hub-fund-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d84ff, #38bdf8);
  transition: width 0.35s ease;
}
.hub-fund-progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 10px;
  color: var(--app-muted);
}
.hub-fund-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(29, 132, 255, 0.08);
  font-size: 11px;
  color: var(--app-muted);
}

.hub-bond-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hub-bond-seal {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(29, 132, 255, 0.08);
  border: 1px solid rgba(29, 132, 255, 0.12);
  color: var(--app-primary, #1d84ff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hub-bond-seal .hub-mini-icon {
  width: 24px;
  height: 24px;
}
.hub-bond-sum {
  margin: 4px 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--app-primary);
  font-variant-numeric: tabular-nums;
}
.hub-bond-sub { margin: 0; font-size: 11px; color: var(--app-muted); }
.hub-bond-badge {
  margin-left: auto;
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(29, 132, 255, 0.08);
  color: #0369a1;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  max-width: 88px;
  text-align: center;
}

.hub-promo-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hub-promo-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(29, 132, 255, 0.06);
  font-size: 12px;
}
.hub-promo-list li:last-child { border-bottom: 0; }
.hub-promo-list .lab { color: var(--app-ink); font-weight: 600; }
.hub-promo-list .prog { color: var(--app-primary); font-weight: 700; }
.hub-promo-list .reward { font-size: 11px; color: #f59e0b; font-weight: 600; }
.hub-promo-list .reward.is-done { color: #16a34a; }
.hub-promo-note {
  margin: 8px 0 0;
  font-size: 10px;
  color: var(--app-muted);
  line-height: 1.45;
}

.hub-salary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.hub-salary-cell {
  padding: 12px 8px;
  border-radius: 12px;
  background: rgba(29, 132, 255, 0.06);
  text-align: center;
}
.hub-salary-cell .k {
  display: block;
  font-size: 10px;
  color: var(--app-muted);
  line-height: 1.3;
}
.hub-salary-cell .v {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--app-primary);
}

.hub-level-rail {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 2px;
  overflow-x: auto;
  padding: 8px 2px 4px;
  scrollbar-width: none;
}
.hub-level-rail::-webkit-scrollbar { display: none; }
.hub-level-track {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 26px;
  height: 3px;
  border-radius: 999px;
  background: #e2e8f0;
  z-index: 0;
  pointer-events: none;
}
.hub-level-track-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d84ff, #38bdf8);
  transition: width 0.35s ease;
}
.hub-level-node {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 46px;
  text-align: center;
}
.hub-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}
.hub-level-badge.is-unlocked {
  background: linear-gradient(145deg, #1d84ff, #1565cc);
  border-color: rgba(255, 255, 255, 0.35);
}
.hub-level-ico {
  display: block;
  width: 14px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.hub-level-ico--lock {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}
.hub-level-badge.is-unlocked .hub-level-ico--star {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2l2.9 6.1 6.6.6-5 4.3 1.5 6.5L12 16.9 5.9 19.5 7.4 13 2.5 8.7l6.6-.6L12 2z'/%3E%3C/svg%3E");
}
.hub-level-node.is-unlocked .name { color: var(--app-primary); }
.hub-level-node.is-current .hub-level-badge {
  box-shadow: 0 0 0 3px rgba(29, 132, 255, 0.22);
}
.hub-level-node .name {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 800;
  color: var(--app-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hub-level-tip {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(29, 132, 255, 0.08);
  border-left: 3px solid var(--app-primary);
  font-size: 11px;
  line-height: 1.5;
  color: #334155;
}

.hub-util-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
}
.hub-util-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border: none;
  background: transparent;
  font-size: 11px;
  color: var(--app-sub, #475569);
  cursor: pointer;
}
.hub-util-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 132, 255, 0.07);
  border: 1px solid rgba(29, 132, 255, 0.1);
  color: var(--app-primary, #1d84ff);
  box-shadow: 0 2px 8px rgba(29, 132, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hub-util-item:active .hub-util-ico {
  transform: scale(0.96);
  background: rgba(29, 132, 255, 0.12);
  border-color: rgba(29, 132, 255, 0.18);
}
.hub-util-ico .hub-mini-icon {
  width: 22px;
  height: 22px;
}
.hub-assets-deco {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(29, 132, 255, 0.08);
  border: 1px solid rgba(29, 132, 255, 0.1);
  color: var(--app-primary, #1d84ff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hub-assets-deco .hub-mini-icon {
  width: 22px;
  height: 22px;
}

.hub-logout {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  border: 1px dashed rgba(29, 132, 255, 0.25);
  border-radius: 12px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--app-muted);
}
