/* 老板网 · web.laobancoin.work 前台主题 */
:root {
  --app-primary: #C8161D;
  --app-primary-2: #E14534;
  --app-primary-dark: #7C1916;
  --app-accent: #FFF0F1;
  --app-accent-bar: #FFD6DA;
  --app-ink: #3A0B12;
  --app-bg: #F5F7FA;
  --app-bg-warm: #FFF7F7;
  --app-card: #FFFFFF;
  --app-card-solid: #FFFFFF;
  --app-text: #333333;
  --app-sub: #666666;
  --app-muted: #888888;
  --app-line: rgba(200, 22, 29, 0.1);
  --app-shadow: 0 4px 16px rgba(58, 11, 18, 0.08);
  --app-shadow-sm: 0 2px 8px rgba(58, 11, 18, 0.06);
  --lb-purple: linear-gradient(135deg, #6709e9, #2b36d7 45%, #0a2b83);
  --lb-red: linear-gradient(135deg, #c8161d, #e14534 55%, #a30d15);
  --lb-red-btn-shadow: 0 6px 12px rgba(200, 22, 29, 0.18);
}

html, body {
  background: linear-gradient(180deg, #f5f7fa, #fff 46%, #fff7f7) !important;
  background-color: var(--app-bg) !important;
}

a { color: var(--app-primary); }

.app-btn,
button.app-btn,
a.app-btn,
.lzw-auth-btn,
.card-btn,
.lb-pro-list .buyBtn {
  background: var(--lb-red) !important;
  color: #fff !important;
  box-shadow: var(--lb-red-btn-shadow) !important;
}

/* ========== 底部 Tab（对齐老板网五栏） ========== */
.aui-footer--laoban,
footer.aui-footer--laoban {
  height: calc(52px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #fff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04) !important;
}

.aui-footer--laoban .aui-tabBar-item,
footer.aui-footer--laoban .aui-tabBar-item {
  flex: 1;
  padding: 4px 0 2px !important;
}

.aui-footer--laoban .lb-tab-ico {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 2px;
  object-fit: contain;
}

.aui-footer--laoban .aui-tabBar-item-text {
  font-size: 10px !important;
  color: #888 !important;
}

.aui-footer--laoban .aui-tabBar-item-active .aui-tabBar-item-text {
  color: var(--app-primary) !important;
  font-weight: 600 !important;
}

.aui-footer--laoban .aui-tabBar-item--fab,
.aui-footer--laoban .fab-btn {
  display: none !important;
}

/* ========== 首页（对齐 web.laobancoin.work pages/default/index） ========== */
.lb-home-page {
  min-height: 100vh;
  padding-bottom: calc(var(--app-footer-h) + env(safe-area-inset-bottom, 0px) + 16px);
  background: #f5f7fa;
  color: #3a0b12;
}

.lb-home-page .card {
  border: 1px solid #E5ECF5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 17px rgba(58, 11, 18, 0.06);
}

.lb-dark-header {
  padding: calc(13px + env(safe-area-inset-top, 0px)) 12px 17px;
  background: linear-gradient(180deg, #24060a, #3a0b12);
  border-bottom-left-radius: 17px;
  border-bottom-right-radius: 17px;
}

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

.lb-brand-left {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}

.lb-site-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.lb-brand-name {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.lb-brand-sub {
  margin-top: 2px;
  color: #8fb7ea;
  font-size: 9.5px;
}

.lb-hero-banner {
  position: relative;
  height: 122px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 13px;
  background: #0b2a5d;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.lb-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.lb-banner-copy {
  position: relative;
  z-index: 1;
  padding: 21px 15px;
  color: #fff;
}

.lb-banner-title {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
}

.lb-banner-desc {
  margin-top: 6px;
  color: #ffe3e6;
  font-size: 12px;
  line-height: 1.45;
}

.lb-content-wrap {
  padding: 0 12px;
  margin-top: -5px;
}

.lb-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px 5px;
  padding: 14px 8px;
}

.lb-quick-item {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.lb-quick-icon {
  width: 35px;
  height: 35px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 5px 11px rgba(217, 22, 31, 0.18);
}

.lb-quick-label {
  display: block;
  font-size: 11px;
  color: #1f2d3d;
}

.lb-quick-icon.blue { background: #d9161f; }
.lb-quick-icon.indigo { background: #4569f8; }
.lb-quick-icon.teal { background: #14b8a6; }
.lb-quick-icon.red { background: #ef4444; }
.lb-quick-icon.live { background: linear-gradient(135deg, #3a0b12, #d9161f); }
.lb-quick-icon.pension { background: linear-gradient(135deg, #7a1119, #f2b94b); }

.lb-home-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}

.lb-group-action,
.lb-mini-action {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  border-radius: 13px;
  color: #fff;
  box-shadow: 0 7px 15px rgba(58, 11, 18, 0.12);
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.lb-group-action {
  background: linear-gradient(145deg, #3a0b12, #a4141e);
}

.lb-group-action::after {
  content: "老";
  position: absolute;
  right: -6px;
  top: -19px;
  color: rgba(255, 255, 255, 0.12);
  font-size: 75px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.lb-group-action .action-kicker,
.lb-group-action strong,
.lb-group-action span {
  position: relative;
  z-index: 1;
}

.lb-group-action .action-kicker {
  color: #ffd4d7;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.lb-group-action strong {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
}

.lb-group-action span {
  margin-top: 3px;
  color: #ffd6da;
  font-size: 9px;
}

.lb-mini-action strong {
  font-size: 12.5px;
  font-weight: 700;
}

.lb-mini-action span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
}

.lb-mini-action.energy { background: linear-gradient(135deg, #a25210, #ef8d15); }
.lb-mini-action.fund { background: linear-gradient(135deg, #7a1119, #e2333b); }
.lb-mini-action.stock-pledge { background: linear-gradient(135deg, #4a0c12, #d9161f); }

.lb-section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0 8px;
}

.lb-section-bar strong {
  font-size: 15px;
  font-weight: 900;
  color: #111;
}

.lb-section-bar a {
  color: #d9161f;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.lb-project-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.lb-project-empty {
  padding: 21px 12px;
  color: #9a7179;
  font-size: 12px;
  text-align: center;
}

.lb-project-card {
  position: relative;
  padding: 14px 12px;
  cursor: pointer;
}

.lb-project-cover {
  display: block;
  width: 100%;
  height: 190px;
  margin-bottom: 11px;
  border-radius: 11px;
  background: #fff0f1;
  object-fit: cover;
}

.lb-project-tag {
  position: absolute;
  right: 11px;
  top: 11px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.lb-project-tag.hot { background: #f59e0b; }
.lb-project-tag.disabled { background: #cbd5e1; }

.lb-project-title {
  padding-right: 45px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  color: #3a0b12;
}

.lb-project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.lb-project-meta > div {
  padding: 9px 5px;
  border-radius: 10px;
  background: #f5f8fc;
  text-align: center;
}

.lb-project-meta span {
  display: block;
  color: #6b7c93;
  font-size: 10px;
}

.lb-project-meta strong {
  display: block;
  margin-top: 4px;
  color: #3a0b12;
  font-size: 13px;
  font-weight: 700;
}

.lb-project-meta > div:first-child strong {
  color: #ef4444;
}

.lb-project-progress {
  height: 5px;
  margin-top: 11px;
  border-radius: 999px;
  background: #e8eef7;
  overflow: hidden;
}

.lb-project-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #d9161f, #f0444c);
  border-radius: 999px;
}

.lb-project-price {
  margin-top: 11px;
  color: #3a0b12;
  font-size: 18px;
  font-weight: 900;
}

.lb-project-price span {
  color: #6b7c93;
  font-size: 10.5px;
  font-weight: 400;
}

.lb-project-btn {
  width: 100%;
  height: 36px;
  line-height: 36px;
  margin: 10px 0 0;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #f0444c);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.lb-project-btn.disabled {
  background: #cbd5e1;
}

/* ========== 产品页（紫底 + 分类 Tab） ========== */
.lb-product-page {
  min-height: 100vh;
  padding: 12px 10px calc(var(--app-footer-h) + env(safe-area-inset-bottom, 0px) + 20px);
  background: radial-gradient(80% 50% at 20% 0, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0) 60%), var(--lb-purple);
  color: #fff;
  box-sizing: border-box;
}

.lb-product-hd {
  padding: 6px 4px 12px;
}

.lb-product-hd h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.lb-product-hd p {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: 0.85;
}

.lb-product-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff7f7);
  border: 1px solid #FFD6DA;
  box-shadow: 0 6px 13px rgba(58, 11, 18, 0.06);
}

.lb-product-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #7c1916;
  background: linear-gradient(180deg, #fff, #fff8f0);
  border: 1px solid #f2deca;
  box-shadow: 0 3px 7px rgba(119, 31, 22, 0.05);
  white-space: nowrap;
}

.lb-product-tabs a.is-active {
  background: var(--lb-red);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--lb-red-btn-shadow);
}

.lb-product-wrap {
  color: #333;
}

/* ========== ProList 产品卡片 ========== */
.lb-pro-list {
  list-style: none;
  margin: 0;
  padding: 8px 0 16px;
}

.lb-pro-list li {
  width: 95%;
  margin: 12px auto;
  position: relative;
}

.lb-pro-list .cont {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.lb-pro-list .pic {
  width: 51px;
  height: 51px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3eee6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.lb-pro-list .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-pro-list .main {
  flex: 1;
  min-width: 0;
}

.lb-pro-list .name {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  line-height: 1.35;
  margin-bottom: 8px;
}

.lb-pro-list .date {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  text-align: center;
}

.lb-pro-list .date span {
  display: block;
  font-size: 11px;
  color: #8a5a3a;
}

.lb-pro-list .date p {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.lb-pro-list .speed_box {
  height: 8px;
  background: #f3eee6;
  border-radius: 999px;
  overflow: hidden;
  width: 100%;
  max-width: 160px;
  margin-top: 8px;
}

.lb-pro-list .speed_box .percent {
  height: 100%;
  background: var(--lb-red);
  border-radius: 999px;
}

.lb-pro-list .side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.lb-pro-list .buyBtn {
  min-width: 72px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lb-pro-list .buyBtnGray {
  background: #767676 !important;
  box-shadow: none !important;
}

/* ========== 我的页（对齐 web.laobancoin.work） ========== */
.lb-profile-page {
  min-height: 100vh;
  padding: calc(15px + env(safe-area-inset-top, 0px)) 12px calc(var(--app-footer-h, 56px) + 16px);
  box-sizing: border-box;
  background: #f5f7fa;
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lb-profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lb-profile-title {
  font-size: 22px;
  font-weight: 900;
  color: #111;
}

.lb-profile-tools {
  display: flex;
  gap: 7px;
}

.lb-profile-tools a {
  padding: 5px 9px;
  border: 1px solid #ffd6da;
  border-radius: 999px;
  color: #d9161f;
  background: #fff0f1;
  font-size: 11px;
  text-decoration: none;
}

.lb-member-card {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 14px 12px 11px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #3a0b12, #8f1119 58%, #d9161f);
  box-shadow: 0 10px 22px rgba(217, 22, 31, 0.22);
}

.lb-member-watermark {
  position: absolute;
  right: -5px;
  top: 5px;
  width: 85px;
  height: 85px;
  border: 12px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.08);
  font-size: 60px;
  font-weight: 900;
  pointer-events: none;
}

.lb-member-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lb-member-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.82);
  background: #fff;
  object-fit: cover;
  flex: none;
}

.lb-member-info {
  flex: 1;
  min-width: 0;
}

.lb-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.lb-name-row strong {
  font-size: 17px;
  max-width: 160px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lb-auth-tag,
.lb-v-badge {
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.lb-auth-tag {
  color: #7a3f00;
  background: linear-gradient(135deg, #ffe8a8, #ffd06d);
}

.lb-auth-tag.is-unauth {
  color: #d9161f;
  background: #fff;
}

.lb-v-badge {
  color: #3a0b12;
  background: #ffd1d6;
}

.lb-cert-row {
  display: flex;
  gap: 6px;
  margin-top: 7px;
}

.lb-cert-row span {
  padding: 3px 7px;
  border-radius: 999px;
  color: #d9161f;
  background: #fff;
  font-size: 10px;
}

.lb-user-id {
  margin-top: 7px;
  color: #ffd1d6;
  font-size: 11px;
}

.lb-member-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 17px;
  text-align: center;
}

.lb-member-stats > div {
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.lb-member-stats > div:last-child {
  border-right: 0;
}

.lb-member-stats span {
  display: block;
  color: #ffd1d6;
  font-size: 11px;
}

.lb-member-stats strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.lb-profile-card {
  display: block;
  margin-top: 11px;
  padding: 11px;
  border: 1px solid #e5ecf5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 17px rgba(58, 11, 18, 0.06);
  color: inherit;
  text-decoration: none;
}

.lb-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.lb-section-head strong {
  font-size: 15px;
  color: #3a0b12;
}

.lb-section-head span {
  color: #d9161f;
  font-size: 11px;
}

.lb-stock-card .lb-section-head span,
.lb-stock-card .lb-section-head a {
  color: #6b7c93;
  text-decoration: none;
  font-size: 11px;
}

.lb-pledge-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.lb-pledge-logo {
  width: 41px;
  height: 41px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #3a0b12;
  font-size: 12px;
  font-weight: 900;
  flex: none;
  letter-spacing: -0.02em;
}

.lb-pledge-logo.is-code {
  font-size: 10px;
  line-height: 1.05;
  padding: 0 2px;
  text-align: center;
  word-break: break-all;
}

.lb-pledge-body {
  flex: 1;
  min-width: 0;
}

.lb-pledge-title {
  font-size: 14px;
  font-weight: 900;
}

.lb-pledge-desc {
  margin-top: 4px;
  color: #6b7c93;
  font-size: 11px;
}

.lb-pledge-status {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 5px;
  color: #d9161f;
  background: #fff0f1;
  font-size: 12px;
  font-weight: 800;
  flex: none;
  text-decoration: none;
  border: 1px solid #ffd4d7;
}

.lb-asset-card {
  position: relative;
  overflow: hidden;
  padding: 13px 11px 10px;
}

.lb-asset-art {
  position: absolute;
  right: 5px;
  top: 11px;
  width: 125px;
  height: 85px;
  object-fit: contain;
  opacity: 0.85;
  pointer-events: none;
}

.lb-asset-head {
  position: relative;
  z-index: 1;
}

.lb-section-title {
  font-size: 16px;
  font-weight: 900;
}

.lb-info-dot {
  color: #d9161f;
  font-size: 12px;
}

.lb-card-sub {
  margin-top: 4px;
  color: #6b7c93;
  font-size: 11px;
}

.lb-total-label {
  margin-top: 14px;
  color: #6b7c93;
  font-size: 12px;
}

.lb-total-value {
  margin-top: 5px;
  color: #d9161f;
  font-size: 25px;
  font-weight: 900;
}

.lb-wallet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 9px;
}

.lb-wallet-item {
  padding: 9px 3px;
  border-radius: 6px;
  text-align: center;
  background: #fafcff;
  border: 1px solid #e5ecf5;
  text-decoration: none;
  color: inherit;
}

.lb-wallet-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.lb-wallet-icon.red { background: #d9161f; }
.lb-wallet-icon.green { background: #22c55e; }
.lb-wallet-icon.blue { background: #f0444c; }
.lb-wallet-icon.orange { background: #f59e0b; }

.lb-wallet-item span {
  display: block;
  color: #333;
  font-size: 10px;
}

.lb-wallet-item strong {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 800;
}

.lb-asset-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.lb-asset-strip span {
  padding: 3.5px 6px;
  border-radius: 999px;
  color: #6b7c93;
  background: #f4f7fb;
  font-size: 9.5px;
}

.lb-fund-card {
  position: relative;
  overflow: hidden;
  border-color: #ffd3d6;
  background: linear-gradient(135deg, #fff, #fff2f3);
}

.lb-fund-ring {
  position: absolute;
  right: -27px;
  bottom: -38px;
  width: 101px;
  height: 101px;
  border: 13px solid rgba(217, 22, 31, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.lb-fund-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-top: 11px;
}

.lb-fund-label,
.lb-fund-note {
  color: #6b7c93;
  font-size: 10.5px;
}

.lb-fund-amount {
  margin-top: 4px;
  color: #d9161f;
  font-size: 21px;
  font-weight: 900;
}

.lb-fund-note {
  margin-top: 4.5px;
}

.lb-fund-level {
  flex: none;
  padding: 7px 8px;
  border-radius: 9px;
  text-align: right;
  background: #fff;
  box-shadow: 0 4px 9px rgba(88, 14, 20, 0.06);
}

.lb-fund-level span {
  display: block;
  color: #d9161f;
  font-size: 12.5px;
  font-weight: 900;
}

.lb-fund-level strong {
  display: block;
  margin-top: 4px;
  color: #6b7c93;
  font-size: 9.5px;
  font-weight: 600;
}

.lb-fund-progress {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 5px;
  margin-top: 11px;
  border-radius: 999px;
  background: #f4d9dc;
}

.lb-fund-progress > div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d9161f, #ff6570);
}

.lb-fund-caption {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin-top: 5.5px;
  color: #7a8aa0;
  font-size: 9.5px;
}

.lb-energy-card {
  background: linear-gradient(135deg, #fff, #fff9ed);
  border-color: #f6e1b0;
}

.lb-energy-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.lb-energy-main span,
.lb-energy-main strong {
  display: block;
}

.lb-energy-main span {
  color: #6b7c93;
  font-size: 10.5px;
}

.lb-energy-main strong {
  margin-top: 4px;
  color: #a85a00;
  font-size: 19px;
  font-weight: 900;
}

.lb-energy-badge {
  padding: 5px 7px;
  border-radius: 7px;
  color: #a85a00;
  background: #fff2d9;
  font-size: 9.5px;
  flex: none;
}

.lb-salary-card {
  border-color: #ffd3d6;
  background: linear-gradient(135deg, #fff, #fff4f5);
}

.lb-salary-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.lb-salary-main > div {
  padding: 8px 5px;
  border-radius: 7px;
  background: #fff;
  text-align: center;
  box-shadow: 0 4px 9px rgba(88, 14, 20, 0.05);
}

.lb-salary-main span,
.lb-salary-main strong {
  display: block;
}

.lb-salary-main span {
  color: #6b7c93;
  font-size: 10px;
}

.lb-salary-main strong {
  margin-top: 4px;
  color: #d9161f;
  font-size: 12.5px;
  font-weight: 900;
}

.lb-level-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  margin: 12px 0 27px;
  text-align: center;
}

.lb-level-line::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 12px;
  height: 2px;
  background: #eee;
}

.lb-level-node {
  position: relative;
  z-index: 1;
}

.lb-level-dot {
  width: 24px;
  height: 24px;
  line-height: 24px;
  margin: 0 auto;
  border-radius: 50%;
  display: block;
  color: #999;
  background: #e6e6e6;
  font-size: 9.5px;
  font-style: normal;
}

.lb-level-node.done .lb-level-dot {
  color: #fff;
  background: #d9161f;
}

.lb-level-node.now .lb-level-dot {
  color: #fff;
  background: #3a0b12;
  font-weight: 900;
}

.lb-level-node em {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  color: #111;
  font-size: 10px;
  font-style: normal;
}

.lb-level-tip {
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 5px;
  color: #3a0b12;
  background: #fff0f1;
  font-size: 11px;
}

.lb-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
  border-top: 1px solid #e5ecf5;
  border-left: 1px solid #e5ecf5;
}

.lb-service-grid a {
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e5ecf5;
  border-bottom: 1px solid #e5ecf5;
  text-decoration: none;
  color: #333;
}

.lb-service-grid img {
  width: 23px;
  height: 23px;
  display: block;
}

.lb-service-grid span {
  margin-top: 5px;
  font-size: 11px;
}

/* 隐藏旧版我的页样式 */
.my-page.lb-my-page,
.lb-my-page .lzw-my-hero {
  background: transparent !important;
}

/* ========== 启动页 / 登录引导 ========== */
html.lb-landing-page,
html.lb-landing-page body,
.lb-landing-page {
  margin: 0;
  padding: 0;
  background: #4a0404 !important;
  background-color: #4a0404 !important;
  color: #fff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.lb-landing {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding:
    calc(10px + env(safe-area-inset-top, 0px))
    16px
    calc(10px + env(safe-area-inset-bottom, 0px));
  background: transparent;
}

.lb-landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #4a0404;
  pointer-events: none;
}

.lb-landing-bg::before {
  content: "";
  position: absolute;
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
  width: 155%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at center, rgba(255, 88, 96, 0.42) 0%, rgba(255, 72, 82, 0.16) 20%, transparent 48%),
    radial-gradient(circle at center, transparent 32%, rgba(255, 60, 68, 0.28) 33.5%, transparent 35%),
    radial-gradient(circle at center, transparent 42%, rgba(255, 56, 64, 0.2) 43.5%, transparent 45%),
    radial-gradient(circle at center, transparent 52%, rgba(255, 56, 64, 0.14) 53.5%, transparent 55%),
    radial-gradient(circle at center, transparent 62%, rgba(255, 56, 64, 0.09) 63.5%, transparent 65%),
    radial-gradient(circle at center, transparent 72%, rgba(255, 56, 64, 0.05) 73.5%, transparent 75%);
}

.lb-landing-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background:
    linear-gradient(180deg, rgba(74, 4, 4, 0) 0%, rgba(74, 4, 4, 0.04) 18%, rgba(74, 4, 4, 0.18) 55%, rgba(74, 4, 4, 0.55) 100%),
    url('/static/index/images/laoban/landing-city-bg.png') center bottom / cover no-repeat;
}

.lb-landing-wrap {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  min-height: 100%;
}

.lb-landing-hero {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.lb-landing-glass {
  position: relative;
  width: 100%;
  padding: 28px 18px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 4, 6, 0.48);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #fff;
}

.lb-landing-version {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.lb-landing-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  padding: 6px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.26);
}

.lb-landing-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lb-landing-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 6.8vw, 28px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.06em;
}

.lb-landing-slogan {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}

.lb-landing-features {
  margin: 0 0 18px;
  font-size: 11px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
}

.lb-landing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.lb-landing-stat {
  padding: 14px 4px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lb-landing-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
}

.lb-landing-stat span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.lb-landing-white-card,
.lb-landing-actions {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: #fff !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.24);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.lb-landing-white-card {
  margin-top: 10px;
}

.lb-landing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-bottom: 12px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.lb-landing-btn.is-primary {
  color: #fff;
  border: 0;
  background: linear-gradient(180deg, #ff5c5c 0%, #e62e2e 100%);
  box-shadow: 0 5px 16px rgba(230, 46, 46, 0.34);
}

.lb-landing-btn.is-outline {
  margin-bottom: 0;
  color: #e62e2e;
  background: #fff;
  border: 1.5px solid #ffcaca;
}

.lb-landing-foot {
  margin: 16px 0 0;
  padding: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: #b0b0b0;
}

/* ========== 登录页 ========== */
html.lb-login-page,
html.lb-login-page body,
.lb-login-page {
  margin: 0;
  padding: 0;
  background: #4a0404 !important;
  background-color: #4a0404 !important;
  color: #fff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.lb-login {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding:
    calc(12px + env(safe-area-inset-top, 0px))
    16px
    calc(12px + env(safe-area-inset-bottom, 0px));
}

.lb-login-wrap {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

.lb-login-header {
  flex: 0 0 auto;
  padding: 8px 8px 20px;
  text-align: center;
  color: #fff;
}

.lb-login-header .lb-landing-logo {
  width: 82px;
  height: 82px;
  margin: 0 auto 16px;
}

.lb-login-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 6.2vw, 26px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.lb-login-slogan {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
}

.lb-login-card {
  flex: 0 0 auto;
  width: 100%;
  padding: 22px 20px 18px;
  border-radius: 16px;
  background: #fff !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.24);
  box-sizing: border-box;
}

.lb-login-field {
  margin-bottom: 12px;
}

.lb-login-field-box {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff5f5;
  border: 1px solid #ffe4e4;
  box-sizing: border-box;
}

.lb-login-field-box:focus-within {
  border-color: #ffb8b8;
  background: #fff8f8;
}

.lb-login-field-box input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #333;
}

.lb-login-field-box input::placeholder {
  color: #c8a0a0;
}

.lb-login-field-box .captcha {
  height: 34px;
  border-radius: 6px;
  margin-left: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.lb-login-field-box .get_code {
  flex-shrink: 0;
  margin-left: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: #e62e2e;
  border: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 32px;
  white-space: nowrap;
  text-decoration: none;
}

.lb-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 16px;
  font-size: 13px;
}

.lb-login-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
  color: #666;
}

.lb-login-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #e62e2e;
  cursor: pointer;
}

.lb-login-forgot {
  color: #e62e2e;
  text-decoration: none;
  font-weight: 500;
}

.lb-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #ff5c5c 0%, #e62e2e 100%);
  box-shadow: 0 5px 16px rgba(230, 46, 46, 0.34);
  cursor: pointer;
}

.lb-login-reg {
  margin: 16px 0 14px;
  text-align: center;
  font-size: 14px;
  color: #888;
}

.lb-login-reg a {
  color: #e62e2e;
  font-weight: 600;
  text-decoration: none;
}

.lb-login-agree {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #888;
}

.lb-login-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: #e62e2e;
  cursor: pointer;
}

.lb-login-agree-text label {
  cursor: pointer;
}

.lb-login-agree a {
  color: #e62e2e;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.lb-login-switch {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 13px;
  color: #bbb;
  cursor: pointer;
}

.lb-line-picker {
  padding: 8px 0 4px;
}

.lb-line-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #333;
}

.lb-line-item:last-child {
  border-bottom: 0;
}

.lb-line-item.is-current .lb-line-name {
  color: #e62e2e;
  font-weight: 600;
}

.lb-line-name {
  font-size: 15px;
}

.lb-line-delay {
  font-size: 13px;
  white-space: nowrap;
}

.lb-line-delay.is-testing {
  color: #999;
}

.lb-line-delay.is-fast {
  color: #16a34a;
}

.lb-line-delay.is-mid {
  color: #d97706;
}

.lb-line-delay.is-slow,
.lb-line-delay.is-timeout {
  color: #dc2626;
}

/* ========== 注册页 ========== */
html.lb-reg-page,
html.lb-reg-page body,
.lb-reg-page {
  margin: 0;
  padding: 0;
  background: #4a0404 !important;
  background-color: #4a0404 !important;
  color: #fff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.lb-reg {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lb-reg .lb-landing-bg::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  transform: none;
  width: 100%;
  aspect-ratio: auto;
  height: clamp(240px, 46vh, 400px);
  background:
    linear-gradient(180deg, rgba(74, 4, 4, 0) 0%, rgba(74, 4, 4, 0.12) 62%, rgba(74, 4, 4, 0.92) 100%),
    url('/static/index/images/laoban/tech-earth-hero-red.png') center top / cover no-repeat;
}

.lb-reg .lb-landing-bg::after {
  height: 62%;
  background:
    linear-gradient(180deg, rgba(74, 4, 4, 0.92) 0%, rgba(74, 4, 4, 0.28) 22%, rgba(74, 4, 4, 0.04) 42%, rgba(74, 4, 4, 0.18) 58%, rgba(74, 4, 4, 0.55) 100%),
    url('/static/index/images/laoban/landing-city-bg.png') center bottom / cover no-repeat;
}

.lb-reg-nav {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding:
    calc(8px + env(safe-area-inset-top, 0px))
    16px
    8px;
  background: #4a0404;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lb-reg-back {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(calc(-50% + env(safe-area-inset-top, 0px) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.lb-reg-nav-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.lb-reg-wrap {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding:
    0
    16px
    calc(16px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.lb-reg-hero-space {
  flex: 0 0 auto;
  min-height: clamp(108px, 30vw, 168px);
}

.lb-reg-form-card,
.lb-reg-process-card {
  flex-shrink: 0;
  width: 100%;
  padding: 22px 18px 20px;
  border-radius: 18px;
  background: #fff !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.24);
  box-sizing: border-box;
}

.lb-reg-form-card .lb-login-field {
  margin-bottom: 10px;
}

.lb-reg-form-card .lb-login-field-box {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff5f5;
  border: 1px solid #ffe4e4;
  box-shadow: none;
}

.lb-reg-form-card .lb-login-field-box:focus-within {
  border-color: #ffb8b8;
  background: #fff8f8;
  box-shadow: 0 0 0 2px rgba(230, 46, 46, 0.08);
}

.lb-reg-form-card .lb-login-field-box input {
  height: 42px;
  font-size: 14px;
}

.lb-reg-form-card .lb-login-field-box input::placeholder {
  color: #c8a0a0;
}

.lb-reg-captcha-row {
  padding-right: 8px;
}

.lb-reg-captcha-row input {
  min-width: 0;
}

.lb-reg-form-card .lb-login-field-box .captcha {
  flex-shrink: 0;
  width: 56px;
  height: 28px;
  margin-left: 6px;
  border-radius: 4px;
  cursor: pointer;
  object-fit: cover;
}

.lb-reg-captcha-refresh {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 32px;
  margin-left: 6px;
  padding: 0 12px;
  border: 1px solid #ffe4e4;
  border-radius: 8px;
  background: #fff5f5;
  color: #e62e2e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.lb-reg-agree {
  margin: 8px 0 16px;
}

.lb-reg-form-card .lb-login-btn {
  margin-top: 0;
}

.lb-reg-login-link {
  margin: 14px 0 0;
}

.lb-reg-process-card {
  padding: 18px 16px 20px;
}

.lb-reg-process-title {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  text-align: center;
  letter-spacing: 0.08em;
}

.lb-reg-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.lb-reg-step {
  flex: 1;
  text-align: center;
}

.lb-reg-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 6px;
  background: #e62e2e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(230, 46, 46, 0.28);
}

.lb-reg-step p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #666;
  font-weight: 500;
}

.lzw-auth.lb-auth {
  background: linear-gradient(180deg, #3a0b12, #7a1018 28%, #fff0f1 62%, #fff7f7) !important;
  min-height: 100vh;
}

.lb-auth .lzw-auth-brand h1,
.lb-auth .lzw-auth-brand p {
  color: #fff !important;
}

.lb-auth .lzw-auth-card {
  border: 1px solid rgba(255, 214, 218, 0.88) !important;
  box-shadow: 0 9px 21px rgba(58, 11, 18, 0.1) !important;
}

.lb-auth .lzw-auth-btn {
  background: linear-gradient(135deg, #d9161f, #b90f18) !important;
  box-shadow: 0 9px 17px rgba(217, 22, 31, 0.28) !important;
}

/* ========== 隐藏聚宝充遗留元素 ========== */
.home-page .pwb-gold-bar,
.home-page .home-quick,
.home-page .home-promo-video,
.home-page .home-more,
.home-page .home-asset-panel,
.home-page .mk-top,
.home-page .home-laoban-hero {
  display: none !important;
}

.pwb-cabinet-page .pwb-cabinet-hero,
.pwb-cabinet-page .pwb-cabinet-scenes,
.pwb-cabinet-page .pwb-cabinet-foot,
.pwb-charge-page .pwb-charge-intro {
  display: none !important;
}

.mk-cat-sidebar {
  display: none !important;
}

.mk-cat-page {
  display: block !important;
}

.mk-cat-main {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ========== 平台公告弹窗（对齐 web.laobancoin.work） ========== */
.lb-notice-ticker {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  margin: 10px 14px 0;
  padding: 0 10px;
  border: 1px solid #E5ECF5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 12px rgba(58, 11, 18, 0.043);
  cursor: pointer;
}

.lb-notice-ticker .ticker-label {
  flex: none;
  padding: 3px 6px;
  border-radius: 5px;
  color: #d9161f;
  background: #fff0f1;
  font-size: 10px;
  font-weight: 900;
}

.lb-notice-ticker .ticker-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #596b83;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lb-notice-ticker .ticker-more {
  flex: none;
  color: #d9161f;
  font-size: 17px;
  line-height: 1;
}

.lb-notice-mask {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
  background: rgba(36, 6, 10, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.lb-notice-mask.is-open { opacity: 1; }

.lb-notice-popup {
  position: relative;
  width: min(340px, 92vw);
  height: min(490px, 86vh);
  border-radius: 17px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff9fa, #fff);
  box-shadow: 0 14px 35px rgba(58, 11, 18, 0.28);
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.2, 1.1, 0.3, 1), opacity 0.28s ease;
}

.lb-notice-mask.is-open .lb-notice-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lb-notice-label {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 5;
  height: 29px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #f0444c);
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(217, 22, 31, 0.22);
}

.lb-popup-close {
  position: absolute;
  right: 9px;
  top: 9px;
  z-index: 5;
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #FFE0E3;
  border-radius: 50%;
  color: #3a0b12;
  background: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 4px 9px rgba(58, 11, 18, 0.12);
  cursor: pointer;
  padding: 0;
}

.lb-notice-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.lb-notice-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}

.lb-notice-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background: #fff9fa;
}

.lb-notice-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.lb-notice-image-wrap {
  position: relative;
  flex: none;
  width: 100%;
  height: 168px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 0, rgba(240, 68, 76, 0.16), transparent 30%),
    linear-gradient(180deg, #fff0f1, #fff7f8);
}

.lb-notice-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 38%;
  background: #fff0f1;
}

.lb-notice-text-card {
  min-height: 100%;
  padding: 56px 21px 64px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  color: #3a0b12;
  background:
    radial-gradient(circle at 88% 0, rgba(240, 68, 76, 0.16), transparent 30%),
    linear-gradient(180deg, #fff, #fff7f8);
}

.lb-notice-image-wrap + .lb-notice-text-card {
  min-height: auto;
  padding-top: 17px;
}

.lb-notice-text-card strong {
  color: #3a0b12;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
}

.lb-notice-content {
  margin-top: 12px;
  color: #62424a;
  font-size: 13.5px;
  line-height: 1.8;
}

.lb-notice-content p {
  margin: 0 0 8px;
}

.lb-notice-content p:last-child { margin-bottom: 0; }

.lb-notice-scroll.is-image-only {
  padding: 0;
  background: transparent;
}

.lb-notice-full-image-wrap {
  min-height: 0;
  padding: 0 0 58px;
  box-sizing: border-box;
  background: transparent;
  line-height: 0;
}

.lb-notice-full-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
  background: transparent;
}

/* 纯图片公告：去掉顶部留白，整页图从弹窗顶边全宽展示 */
.lb-notice-popup.is-image-only-active .lb-notice-label {
  display: none;
}

.lb-notice-popup.is-image-only-active {
  background: #fff;
}

.lb-notice-popup.is-image-only-active .lb-notice-slide,
.lb-notice-popup.is-image-only-active .lb-notice-scroll.is-image-only {
  background: #fff;
}

.lb-notice-popup.is-image-only-active .lb-notice-full-image-wrap {
  padding-top: 0;
}

.lb-notice-popup.is-image-only-active .lb-popup-close,
.lb-notice-popup.is-all-image-only .lb-popup-close {
  top: 8px;
  right: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.lb-notice-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lb-notice-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(217, 22, 31, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lb-notice-dot.is-active {
  background: #d9161f;
  transform: scale(1.25);
}

.lb-notice-actions {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 11px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 6px;
  border: 1px solid rgba(255, 224, 227, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 15px rgba(58, 11, 18, 0.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lb-notice-actions button {
  flex: 1;
  height: 29px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #f0444c);
  font-size: 11.5px;
  font-weight: 900;
  cursor: pointer;
}

.lb-notice-actions span {
  flex: none;
  min-width: 14px;
  color: #7a1119;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

/* ========== 老板币交易页（对齐 web.laobancoin.work pages/product/index） ========== */
.lb-coin-page {
  min-height: 100vh;
  padding-bottom: calc(var(--app-footer-h) + env(safe-area-inset-bottom, 0px) + 12px);
  background: linear-gradient(180deg, #fff5f6, #f5f7fa 28%, #f4f7fb);
  color: #3a0b12;
  box-sizing: border-box;
}

.lb-coin-header {
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.lb-coin-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-coin-section {
  margin: 0 10px 11px;
}

.lb-market-head {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  padding: 14px 13px 17px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 0, rgba(240, 68, 76, 0.32), transparent 35%),
    linear-gradient(135deg, #24060a, #3a0b12 58%, #d9161f);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 9px 19px rgba(58, 11, 18, 0.14);
}

.lb-pair-row {
  color: #ffe3e6;
  font-size: 14px;
  font-weight: 900;
}

.lb-price-line {
  margin-top: 6px;
  color: #12b76a;
  font-size: 24px;
  font-weight: 900;
  font-family: DIN, "SF Pro Display", sans-serif;
  line-height: 1.1;
}

.lb-price-line small {
  margin-left: 5px;
  font-size: 11px;
  font-weight: 700;
}

.lb-market-stats {
  display: grid;
  gap: 4px;
  min-width: 115px;
}

.lb-market-stats > div {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  font-size: 10px;
}

.lb-market-stats span {
  color: #afc7e8;
}

.lb-market-stats strong {
  color: #fff;
  font-weight: 700;
}

.lb-market-panel {
  margin-top: -8px;
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
  border: 1px solid #E5ECF5;
  box-shadow: 0 8px 17px rgba(58, 11, 18, 0.06);
}

.lb-chart-shell {
  padding: 8px 0 0;
}

.lb-chart-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin: 0 12px 8px;
  padding: 4px;
  border-radius: 9px;
  background: #f1f6ff;
}

.lb-chart-tab {
  height: 29px;
  border: 0;
  border-radius: 7px;
  color: #52657d;
  font-size: 12px;
  font-weight: 900;
  background: transparent;
  cursor: pointer;
}

.lb-chart-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #f0444c);
  box-shadow: 0 5px 11px rgba(217, 22, 31, 0.2);
}

.lb-ma-row {
  display: flex;
  gap: 9px;
  padding: 0 12px 5px;
  font-size: 9px;
}

.lb-ma-row .ma5 { color: #f59e0b; }
.lb-ma-row .ma10 { color: #2f80ed; }
.lb-ma-row .ma30 { color: #7c3aed; }
.lb-ma-row em { font-style: normal; font-weight: 700; }

.lb-kline-chart {
  position: relative;
  height: 320px;
  background: #fff;
}

.lb-chart-body {
  width: 100%;
  height: 100%;
}

.lb-chart-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a747a;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.72);
}

.lb-period-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 8px 12px 11px;
  background: #fff;
}

.lb-period-tabs button {
  height: 29px;
  border: 0;
  border-radius: 7px;
  color: #52657d;
  font-size: 12px;
  font-weight: 900;
  background: #f5f8fc;
  cursor: pointer;
}

.lb-period-tabs button.is-active {
  color: #fff;
  background: #d9161f;
}

.lb-trade-entry-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.lb-trade-entry-actions button {
  height: 44px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.lb-trade-entry-actions .buy {
  background: linear-gradient(135deg, #17c964, #0ea765);
  box-shadow: 0 6px 12px rgba(18, 183, 106, 0.22);
}

.lb-trade-entry-actions .sell {
  background: linear-gradient(135deg, #ff5a6a, #ef4444);
  box-shadow: 0 6px 12px rgba(239, 68, 68, 0.22);
}

.lb-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 7px;
}

.lb-section-title strong {
  display: block;
  color: #3a0b12;
  font-size: 15.5px;
  font-weight: 900;
}

.lb-section-title span {
  display: block;
  margin-top: 3px;
  color: #6b7c93;
  font-size: 10.5px;
}

.lb-section-title em {
  padding: 4px 8px;
  border-radius: 999px;
  color: #d9161f;
  background: #fff0f1;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.lb-asset-hero {
  padding: 16px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 255, 255, 0.25), transparent 34%),
    linear-gradient(135deg, #c8161d, #f0444c);
  box-shadow: 0 9px 18px rgba(217, 22, 31, 0.16);
}

.lb-asset-label {
  color: #d8ecff;
  font-size: 11.5px;
}

.lb-eye-btn {
  border: 0;
  padding: 0;
  margin-left: 2px;
  color: inherit;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.lb-asset-total {
  margin-top: 6px;
  font-size: 23px;
  font-weight: 900;
  font-family: DIN, "SF Pro Display", sans-serif;
}

.lb-asset-boss {
  margin-top: 4px;
  color: #d8ecff;
  font-size: 11.5px;
}

.lb-asset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-top: 8px;
}

.lb-asset-grid > div {
  min-height: 56px;
  padding: 10px 11px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #E5ECF5;
  box-shadow: 0 6px 13px rgba(58, 11, 18, 0.05);
  box-sizing: border-box;
}

.lb-asset-grid span {
  display: block;
  color: #52657d;
  font-size: 11px;
}

.lb-asset-grid strong {
  display: block;
  margin-top: 5px;
  color: #3a0b12;
  font-size: 15px;
  font-weight: 900;
  font-family: DIN, "SF Pro Display", sans-serif;
}

.lb-trade-mask {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  background: rgba(58, 11, 18, 0.45);
}

.lb-trade-mask[hidden] {
  display: none !important;
}

.lb-trade-popup {
  width: 100%;
  max-height: calc(100vh - 20px);
  padding: 13px 0 calc(15px + env(safe-area-inset-bottom, 0px));
  border-radius: 15px 15px 0 0;
  background: #fff;
  overflow-y: auto;
  box-shadow: 0 -9px 21px rgba(58, 11, 18, 0.16);
}

.lb-popup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 12px 11px;
  border-bottom: 1px solid #EEF2F7;
}

.lb-popup-head strong {
  display: block;
  color: #3a0b12;
  font-size: 16px;
  font-weight: 900;
}

.lb-popup-head span {
  display: block;
  margin-top: 4px;
  color: #6b7c93;
  font-size: 11px;
}

.lb-popup-close {
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: 50%;
  color: #52657d;
  background: #f5f8fc;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.lb-field-block {
  padding: 9px 12px 0;
}

.lb-field-label {
  color: #52657d;
  font-size: 12px;
}

.lb-step-input {
  margin-top: 5px;
  height: 36px;
  display: grid;
  grid-template-columns: 1fr 35px 35px;
  align-items: center;
  border-bottom: 1px solid #EEF2F7;
}

.lb-step-input.lb-price-input {
  grid-template-columns: 1fr 60px;
}

.lb-step-input input {
  border: 0;
  outline: none;
  color: #3a0b12;
  font-size: 16px;
  font-weight: 900;
  background: transparent;
}

.lb-step-btn,
.lb-price-unit {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #52657d;
  font-size: 17px;
  background: #f5f8fc;
  cursor: pointer;
}

.lb-price-unit {
  color: #9a747a;
  font-size: 10.5px;
  font-weight: 800;
  background: transparent;
  cursor: default;
}

.lb-percent-row {
  padding: 14px 12px 4px;
}

.lb-percent-line {
  height: 4px;
  border-radius: 999px;
  background: #e4eaf2;
  overflow: hidden;
}

.lb-percent-line i {
  display: block;
  height: 100%;
  background: #d9161f;
}

.lb-percent-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 7px;
  color: #9a747a;
  font-size: 10.5px;
  text-align: center;
}

.lb-percent-dots button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
  cursor: pointer;
}

.lb-percent-dots button.is-active {
  color: #d9161f;
  font-weight: 900;
}

.lb-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid #EEF2F7;
  color: #52657d;
  font-size: 12px;
}

.lb-summary-row strong {
  color: #3a0b12;
  font-size: 14px;
}

.lb-summary-row.muted strong {
  color: #6b7c93;
  font-size: 11.5px;
}

.lb-wallet-source {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  padding: 10px 12px 0;
}

.lb-wallet-source > div {
  padding: 8px;
  border-radius: 7px;
  background: #fff5f6;
}

.lb-wallet-source span {
  display: block;
  color: #8d6970;
  font-size: 10px;
}

.lb-wallet-source strong {
  display: block;
  margin-top: 4px;
  color: #3a0b12;
  font-size: 12px;
  font-family: DIN, "SF Pro Display", sans-serif;
}

.lb-trade-submit {
  width: calc(100% - 24px);
  height: 35px;
  margin: 14px 12px 0;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 900;
  background: #12b76a;
  cursor: pointer;
}

.lb-trade-submit.sell {
  background: #ef4444;
}

.lb-trade-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ========== 福利项目列表（对齐 web.laobancoin.work） ========== */
.lb-welfare-page {
  min-height: 100vh;
  padding-bottom: calc(var(--app-footer-h) + env(safe-area-inset-bottom, 0px) + 16px);
  background: #f5f7fa;
  color: #3a0b12;
  box-sizing: border-box;
}

.lb-welfare-page .card {
  border: 1px solid #e5ecf5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 17px rgba(58, 11, 18, 0.06);
}

.lb-welfare-header {
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-welfare-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-welfare-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: #eef2f7;
}

.lb-welfare-tabs a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: #666;
  background: #f8fafc;
}

.lb-welfare-tabs a.is-active {
  color: #fff;
  background: var(--lb-red);
  box-shadow: var(--lb-red-btn-shadow);
}

.lb-welfare-wrap {
  padding: 10px 12px 0;
}

.lb-welfare-list {
  display: grid;
  gap: 12px;
}

.lb-welfare-empty {
  padding: 28px 12px;
  text-align: center;
  color: #9a7179;
  font-size: 13px;
}

.lb-welfare-card {
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.lb-welfare-cover {
  display: block;
  width: 100%;
  height: auto;
  min-height: 140px;
  max-height: 210px;
  object-fit: cover;
  background: #fff0f1;
}

.lb-welfare-card-body {
  padding: 12px 12px 14px;
}

.lb-welfare-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.lb-welfare-title-row h3 {
  margin: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  color: #111;
}

.lb-welfare-hot {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  background: #f59e0b;
}

.lb-welfare-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.lb-welfare-stats > div {
  padding: 9px 5px;
  border-radius: 10px;
  background: #f5f8fc;
  text-align: center;
}

.lb-welfare-stats span {
  display: block;
  color: #6b7c93;
  font-size: 10px;
}

.lb-welfare-stats strong {
  display: block;
  margin-top: 4px;
  color: #3a0b12;
  font-size: 13px;
  font-weight: 700;
}

.lb-welfare-stats > div:first-child strong {
  color: #ef4444;
}

.lb-welfare-divider {
  height: 2px;
  margin: 12px 0 10px;
  background: linear-gradient(90deg, #d9161f, rgba(217, 22, 31, 0.15));
  border-radius: 999px;
}

.lb-welfare-price-line {
  color: #3a0b12;
  font-size: 18px;
  font-weight: 900;
}

.lb-welfare-price-line span {
  margin-left: 4px;
  color: #6b7c93;
  font-size: 10.5px;
  font-weight: 400;
}

.lb-welfare-progress {
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: #e8eef7;
  overflow: hidden;
}

.lb-welfare-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #d9161f, #f0444c);
  border-radius: 999px;
}

.lb-welfare-btn {
  width: 100%;
  height: 40px;
  line-height: 40px;
  margin-top: 12px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--lb-red);
  box-shadow: var(--lb-red-btn-shadow);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.lb-welfare-btn.is-disabled {
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}

/* ========== 福利详情页 ========== */
.lb-welfare-detail {
  min-height: 100vh;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  background: #f5f7fa;
  color: #3a0b12;
}

.lb-welfare-detail-hd {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 44px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-welfare-detail-hd .back {
  position: absolute;
  left: 12px;
  top: calc(10px + env(safe-area-inset-top, 0px));
  width: 32px;
  height: 32px;
  line-height: 30px;
  text-align: center;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
}

.lb-welfare-detail-hd h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}

.lb-welfare-detail-body {
  padding: 10px 12px 0;
}

.lb-welfare-detail .card {
  margin-bottom: 10px;
  border: 1px solid #e5ecf5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 17px rgba(58, 11, 18, 0.06);
}

.lb-welfare-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.lb-welfare-hero-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 160px;
  max-height: 240px;
  object-fit: cover;
}

.lb-welfare-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  background: rgba(71, 85, 105, 0.88);
}

.lb-welfare-summary {
  padding: 14px 12px;
}

.lb-welfare-summary h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  color: #111;
}

.lb-welfare-summary-line {
  height: 2px;
  margin: 10px 0 12px;
  background: #d9161f;
  border-radius: 999px;
}

.lb-welfare-stats--detail strong {
  font-size: 14px;
}

.lb-welfare-panel {
  padding: 14px 12px;
}

.lb-welfare-panel-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.lb-welfare-panel-hd strong {
  font-size: 15px;
  font-weight: 900;
  color: #111;
}

.lb-welfare-panel-hd span {
  color: #94a3b8;
  font-size: 11px;
}

.lb-welfare-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 13px;
}

.lb-welfare-form-row:last-child {
  border-bottom: 0;
}

.lb-welfare-form-row span {
  color: #64748b;
}

.lb-welfare-form-row em {
  font-style: normal;
  font-weight: 700;
  color: #111;
}

.lb-welfare-form-row em.is-red {
  color: #d9161f;
  font-size: 15px;
}

.lb-welfare-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.lb-welfare-stepper button {
  width: 34px;
  height: 34px;
  border: 0;
  background: #fff1f2;
  color: #d9161f;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.lb-welfare-stepper input {
  width: 44px;
  height: 34px;
  border: 0;
  border-left: 1px solid #fecdd3;
  border-right: 1px solid #fecdd3;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  background: #fff;
}

.lb-welfare-detail-content {
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
  word-break: break-word;
}

.lb-welfare-detail-content img {
  max-width: 100%;
  height: auto;
}

.lb-welfare-pays {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lb-welfare-pays li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  margin-bottom: 8px;
  border: 1px solid #e5ecf5;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
}

.lb-welfare-pays li.active {
  border-color: #d9161f;
  background: #fff5f6;
}

.lb-welfare-pays li .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
}

.lb-welfare-pays li.active .check {
  border-color: #d9161f;
  background: radial-gradient(circle at center, #d9161f 0 5px, transparent 6px);
}

.lb-welfare-pay-kf,
.lb-welfare-recharge {
  display: block;
  margin: 8px 0;
  color: #d9161f;
  font-size: 12px;
  text-decoration: none;
}

.lb-welfare-coupons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lb-welfare-coupon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid #e5ecf5;
  border-radius: 8px;
  font-size: 12px;
}

.lb-welfare-detail-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.lb-welfare-detail-pay {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.2;
}

.lb-welfare-detail-pay-label,
.lb-welfare-detail-pay-unit {
  font-weight: 400;
}

.lb-welfare-detail-pay-amt {
  margin: 0 2px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.lb-welfare-detail-btn {
  flex-shrink: 0;
  min-width: 132px;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  background: #e52e2e;
  box-shadow: 0 4px 12px rgba(229, 46, 46, 0.35);
  cursor: pointer;
}

.lb-welfare-detail-btn.is-disabled {
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}

/* 福利详情 · 确认订单底部弹层 */
body.lb-welfare-order-open {
  overflow: hidden;
}

.lb-welfare-order-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  background: rgba(58, 11, 18, 0.45);
}

.lb-welfare-order-mask.is-open {
  display: flex;
}

.lb-welfare-order-modal {
  width: 100%;
  max-width: 480px;
  max-height: min(88vh, 640px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -8px 32px rgba(58, 11, 18, 0.16);
}

.lb-welfare-order-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #eef2f7;
}

.lb-welfare-order-hd strong {
  font-size: 16px;
  font-weight: 900;
  color: #111;
}

.lb-welfare-order-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: #64748b;
  background: #f5f7fa;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.lb-welfare-order-body {
  padding: 0 16px;
}

.lb-welfare-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.lb-welfare-order-row:last-child {
  border-bottom: 0;
}

.lb-welfare-order-row span {
  flex-shrink: 0;
  color: #64748b;
}

.lb-welfare-order-row span.is-red {
  color: #d9161f;
  font-weight: 700;
}

.lb-welfare-order-row em {
  font-style: normal;
  font-weight: 700;
  color: #111;
  text-align: right;
}

.lb-welfare-order-row.is-total em {
  color: #d9161f;
  font-size: 15px;
}

/* 老板币行：默认隐藏，选中老板币支付时展开（避免 [hidden] 被 display:flex 覆盖） */
.lb-welfare-order-row.is-boss-pay {
  display: none;
}

.lb-welfare-order-row.is-boss-pay.is-show {
  display: flex;
}

.lb-welfare-order-row.is-boss-pay.is-show span,
.lb-welfare-order-row.is-boss-pay.is-show em {
  color: #d9161f;
  font-weight: 800;
}

.lb-welfare-order-row.is-boss-pay.is-show em {
  font-size: 15px;
}

.lb-welfare-order-modal.is-boss-pay-mode .lb-welfare-order-row--pwd input {
  border: 1px solid #fecdd3;
  background: #fff;
}

.lb-welfare-order-row--pay {
  align-items: center;
}

.lb-welfare-order-pay-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.lb-welfare-order-pay-tabs button {
  min-width: 72px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  background: #eff6ff;
  cursor: pointer;
  white-space: nowrap;
}

.lb-welfare-order-pay-tabs button.is-active {
  border-color: #d9161f;
  color: #d9161f;
  background: #fff;
}

.lb-welfare-order-row--pwd input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: #111;
  font-size: 13px;
  text-align: right;
  background: #f5f7fa;
}

.lb-welfare-order-row--pwd input::placeholder {
  color: #94a3b8;
}

.lb-welfare-order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
}

.lb-welfare-order-cancel,
.lb-welfare-order-confirm {
  height: 42px;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.lb-welfare-order-cancel {
  color: #2563eb;
  background: #eff6ff;
}

.lb-welfare-order-confirm {
  color: #fff;
  background: linear-gradient(180deg, #ef233c, #d9161f);
  box-shadow: 0 8px 16px rgba(217, 22, 31, 0.24);
}

/* ========== 老板风采 · 团队视频（对齐 web.laobancoin.work pages/circle/index） ========== */
.lb-style-page {
  min-height: 100vh;
  padding-bottom: calc(var(--app-footer-h) + env(safe-area-inset-bottom, 0px) + 12px);
  background: linear-gradient(180deg, #fff5f6 0%, #f5f7fa 22%, #f4f7fb 100%);
  color: #3a0b12;
  box-sizing: border-box;
}

.lb-style-header {
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: #4a0404;
}

.lb-style-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-style-hero {
  padding: 12px 12px 0;
}

.lb-style-hero-inner {
  position: relative;
  overflow: hidden;
  padding: 18px 16px 20px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #8b0f18 0%, #c8161d 42%, #d9161f 100%);
  box-shadow: 0 10px 24px rgba(200, 22, 29, 0.22);
}

.lb-style-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #8b0f18;
  font-size: 11px;
  font-weight: 800;
}

.lb-style-hero-inner h2 {
  margin: 12px 0 6px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.lb-style-hero-inner p {
  margin: 0;
  max-width: 72%;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.55;
}

.lb-style-share-btn {
  position: absolute;
  right: 14px;
  top: 18px;
  transform: none;
  min-width: 72px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #3a0b12;
  background: linear-gradient(180deg, #ffe08a 0%, #fccb5d 100%);
  font-size: 13px;
  font-weight: 900;
  line-height: 34px;
  box-shadow: 0 6px 14px rgba(58, 11, 18, 0.18);
  cursor: pointer;
}

.lb-style-hero-glow {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.lb-style-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 14px 10px;
}

.lb-style-section-head strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #3a0b12;
}

.lb-style-section-head span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
}

.lb-style-section-head em {
  flex: none;
  color: #c8161d;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.lb-style-waterfall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 10px 8px;
}

.lb-style-card {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(58, 11, 18, 0.06);
}

.lb-style-media {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 11;
  cursor: pointer;
}

.lb-style-media img,
.lb-style-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.lb-style-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.lb-style-body {
  padding: 10px 10px 12px;
}

.lb-style-title {
  display: block;
  color: #3a0b12;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.lb-style-intro {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lb-style-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: #94a3b8;
  font-size: 10px;
}

.lb-style-user {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-style-meta-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.lb-style-date {
  color: #94a3b8;
  font-size: 10px;
}

.lb-style-like {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  cursor: pointer;
}

.lb-style-like.is-liked {
  color: #c8161d;
}

.lb-style-like .ico {
  font-size: 14px;
  line-height: 1;
}

.lb-style-like strong {
  font-size: 12px;
  font-weight: 700;
}

.lb-style-empty {
  margin: 20px 12px;
  padding: 28px 16px;
  border-radius: 16px;
  text-align: center;
  background: #fff;
  box-shadow: 0 8px 20px rgba(58, 11, 18, 0.05);
}

.lb-style-empty strong {
  display: block;
  font-size: 16px;
  color: #3a0b12;
}

.lb-style-empty p {
  margin: 8px 0 16px;
  color: #64748b;
  font-size: 13px;
}

.lb-style-empty .lb-style-share-btn {
  position: static;
  transform: none;
  width: auto;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
}

.lb-style-load {
  padding: 8px 0 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
}

.lb-style-load[hidden] {
  display: none;
}

.lb-style-video-mask {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  background: rgba(0, 0, 0, 0.88);
  box-sizing: border-box;
}

.lb-style-video-mask[hidden] {
  display: none;
}

.lb-style-video-close {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lb-style-video-mask video {
  width: 100%;
  max-height: calc(100vh - 40px);
  border-radius: 8px;
  background: #000;
}

/* ========== 发布团队风采 ========== */
.lb-style-publish {
  min-height: 100vh;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  color: #3a0b12;
}

.lb-style-publish-nav {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: #4a0404;
}

.lb-style-publish-nav h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}

.lb-style-publish-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 28px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
}

.lb-style-publish-hero {
  position: relative;
  overflow: hidden;
  margin: 12px 12px 0;
  padding: 18px 16px 20px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #8b0f18 0%, #c8161d 42%, #d9161f 100%);
  box-shadow: 0 10px 24px rgba(200, 22, 29, 0.22);
}

.lb-style-publish-kicker {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 800;
}

.lb-style-publish-hero h2 {
  margin: 12px 0 6px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.lb-style-publish-hero p {
  margin: 0;
  max-width: 88%;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.55;
}

.lb-style-publish-ring {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.lb-style-publish-card {
  margin: 12px;
  padding: 14px 14px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(58, 11, 18, 0.06);
}

.lb-style-publish-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.lb-style-publish-tabs button {
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #f3f4f6;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.lb-style-publish-tabs button.is-active {
  color: #fff;
  background: linear-gradient(180deg, #ef233c, #d9161f);
}

.lb-style-publish-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.lb-style-publish-route strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.lb-style-publish-route span {
  display: block;
  margin-top: 2px;
  color: #94a3b8;
  font-size: 12px;
}

.lb-style-publish-switch {
  flex: none;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #c8161d;
  background: #fff5f5;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.lb-style-publish-panel {
  display: none;
}

.lb-style-publish-panel.is-active {
  display: block;
}

.lb-style-publish-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.lb-style-publish-label strong {
  font-size: 14px;
  font-weight: 900;
}

.lb-style-publish-label em {
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}

.lb-style-publish-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.lb-style-publish-add,
.lb-style-publish-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
}

.lb-style-publish-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px dashed #f3c4c8;
  background: #fff8f8;
  color: #c8161d;
  cursor: pointer;
}

.lb-style-publish-add span {
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}

.lb-style-publish-add em {
  font-size: 12px;
  font-style: normal;
}

.lb-style-publish-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-style-publish-photo button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.lb-style-publish-video-box {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 8px;
  padding: 0;
  border: 1px dashed #f3c4c8;
  border-radius: 12px;
  background: #fff8f8;
  overflow: hidden;
  cursor: pointer;
}

.lb-style-publish-video-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #c8161d;
}

.lb-style-publish-video-empty i {
  font-style: normal;
  font-size: 28px;
  line-height: 1;
}

.lb-style-publish-video-empty em {
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
}

.lb-style-publish-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.lb-style-publish-repick {
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c8161d;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lb-style-publish-field + .lb-style-publish-field {
  margin-top: 14px;
}

.lb-style-publish-field input,
.lb-style-publish-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #fde2e2;
  border-radius: 12px;
  background: #fff5f5;
  color: #3a0b12;
  font-size: 14px;
  outline: none;
  resize: none;
}

.lb-style-publish-field input::placeholder,
.lb-style-publish-field textarea::placeholder {
  color: #cbd5e1;
}

.lb-style-publish-submit {
  display: block;
  width: calc(100% - 24px);
  height: 48px;
  margin: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ef233c, #d9161f);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(217, 22, 31, 0.24);
  cursor: pointer;
}

.lb-style-publish-rules {
  margin: 14px 12px 0;
  padding: 16px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(58, 11, 18, 0.05);
}

.lb-style-publish-rules h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 900;
}

.lb-style-publish-rules ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lb-style-publish-rules li {
  position: relative;
  margin-top: 10px;
  padding-left: 28px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.lb-style-publish-rules li:first-child {
  margin-top: 0;
}

.lb-style-publish-rules li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #ef233c;
  font-size: 11px;
  font-weight: 800;
}

.lb-style-publish-rules ol {
  counter-reset: item;
}

/* ===== 股票质押池（对齐 web.laobancoin.work pages/pledge/pool） ===== */
.lb-pledge-pool-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(env(safe-area-inset-bottom) + 20px);
  background: #f3f4f7;
}

.lb-pledge-pool-header {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-pledge-pool-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-pledge-pool-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-pledge-pool-hero {
  position: relative;
  overflow: hidden;
  margin: 12px 12px 10px;
  padding: 16px 14px 13px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.08) 0 36px, transparent 37px),
    radial-gradient(circle at 12% 82%, rgba(255, 255, 255, 0.05) 0 28px, transparent 29px),
    linear-gradient(135deg, #94111f 0%, #4c0610 56%, #d42a39 100%);
  box-shadow: 0 11px 24px rgba(82, 7, 18, 0.28);
}

.lb-pledge-pool-glow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 214, 106, 0.24);
  filter: blur(13px);
  pointer-events: none;
}

.lb-pledge-pool-hero-top,
.lb-pledge-pool-total,
.lb-pledge-pool-total-label,
.lb-pledge-pool-hero-stats {
  position: relative;
  z-index: 1;
}

.lb-pledge-pool-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.lb-pledge-pool-hero-top h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.lb-pledge-pool-hero-top p {
  margin: 5px 0 0;
  color: #ffe2e5;
  font-size: 11px;
  line-height: 1.45;
}

.lb-pledge-pool-badge {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  color: #845500;
  background: #ffe28d;
  font-size: 11px;
  font-weight: 900;
}

.lb-pledge-pool-total {
  margin-top: 18px;
  color: #ffdd8a;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.lb-pledge-pool-total em {
  margin-left: 4px;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
}

.lb-pledge-pool-total-label {
  margin-top: 6px;
  color: #ffe2e5;
  font-size: 11px;
}

.lb-pledge-pool-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.lb-pledge-pool-hero-stats > div {
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.lb-pledge-pool-hero-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.lb-pledge-pool-hero-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  word-break: break-all;
}

.lb-pledge-pool-hero-stats strong i {
  font-style: normal;
  opacity: 0.85;
}

.lb-pledge-pool-page .lb-pledge-pool-card {
  margin: 0 12px 10px;
  padding: 14px 14px 6px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.lb-pledge-pool-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.lb-pledge-pool-card-head strong {
  font-size: 15px;
  color: #3a0b12;
}

.lb-pledge-pool-card-head span {
  color: #8b98a8;
  font-size: 11px;
}

.lb-pledge-pool-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f6;
}

.lb-pledge-pool-row:last-child {
  border-bottom: 0;
}

.lb-pledge-pool-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
}

.lb-pledge-pool-icon.is-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d9161f, #8b0000);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.lb-pledge-pool-main {
  flex: 1;
  min-width: 0;
}

.lb-pledge-pool-main strong {
  display: block;
  font-size: 14px;
  color: #3a0b12;
}

.lb-pledge-pool-main span {
  display: block;
  margin-top: 4px;
  color: #8b98a8;
  font-size: 11px;
}

.lb-pledge-pool-value {
  flex: none;
  text-align: right;
}

.lb-pledge-pool-value strong {
  display: block;
  color: #d9161f;
  font-size: 14px;
  font-weight: 900;
}

.lb-pledge-pool-value span {
  display: block;
  margin-top: 4px;
  color: #8b98a8;
  font-size: 10px;
}

.lb-pledge-pool-empty {
  padding: 28px 10px 18px;
  text-align: center;
  color: #8b98a8;
  font-size: 12px;
}

.lb-pledge-trend-item {
  padding: 8px 0 12px;
  border-bottom: 1px solid #f0f2f6;
}

.lb-pledge-trend-item:last-child {
  border-bottom: 0;
}

.lb-pledge-trend-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.lb-pledge-trend-meta strong {
  display: block;
  font-size: 14px;
  color: #3a0b12;
}

.lb-pledge-trend-meta span {
  display: block;
  margin-top: 4px;
  color: #8b98a8;
  font-size: 11px;
}

.lb-pledge-trend-price {
  text-align: right;
}

.lb-pledge-trend-price strong {
  display: block;
  color: #111;
  font-size: 16px;
  font-weight: 900;
}

.lb-pledge-trend-price span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
}

.lb-pledge-trend-price span.is-up {
  color: #d9161f;
}

.lb-pledge-trend-price span.is-down {
  color: #12b76a;
}

.lb-pledge-chart-shell {
  position: relative;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.lb-pledge-chart-body {
  width: 100%;
  height: 248px;
}

.lb-pledge-chart-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b98a8;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.88);
}

/* ===== 个人质押凭证页 ===== */
.lb-pledge-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #f3f4f7;
  padding-bottom: calc(env(safe-area-inset-bottom) + 20px);
}

.lb-pledge-header {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-pledge-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-pledge-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-pledge-page .lb-pledge-pool-card {
  margin: 12px 12px 10px;
  padding: 14px 12px 12px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.08) 0 36px, transparent 37px),
    linear-gradient(135deg, #5f1019, #24060a 58%, #120208);
  box-shadow: 0 10px 24px rgba(36, 6, 10, 0.22);
}

.lb-pledge-pool-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.lb-pledge-kicker {
  display: block;
  margin-bottom: 6px;
  color: #7fd7ff;
  font-size: 11px;
  font-weight: 700;
}

.lb-pledge-pool-top h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-pledge-badge {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #24060a;
  font-size: 11px;
  font-weight: 800;
}

.lb-pledge-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lb-pledge-stats div {
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.lb-pledge-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.lb-pledge-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  word-break: break-all;
}

.lb-pledge-list-card {
  margin: 0 12px;
  padding: 18px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  min-height: 220px;
}

.lb-pledge-cert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #f0f2f6;
}

.lb-pledge-cert-item:last-child {
  border-bottom: 0;
}

.lb-pledge-cert-icon,
.lb-pledge-empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff0f1;
  color: #d9161f;
  font-size: 18px;
  font-weight: 900;
  flex: none;
}

.lb-pledge-cert-body {
  flex: 1;
  min-width: 0;
}

.lb-pledge-cert-body strong {
  display: block;
  font-size: 14px;
  color: #3a0b12;
}

.lb-pledge-cert-body span {
  display: block;
  margin-top: 4px;
  color: #6b7c93;
  font-size: 11px;
}

.lb-pledge-cert-item em {
  flex: none;
  color: #d9161f;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.lb-pledge-empty {
  padding: 28px 10px 18px;
  text-align: center;
}

.lb-pledge-empty-icon {
  margin: 0 auto 14px;
}

.lb-pledge-empty strong {
  display: block;
  font-size: 16px;
  color: #3a0b12;
}

.lb-pledge-empty p {
  margin: 10px auto 0;
  max-width: 260px;
  color: #6b7c93;
  font-size: 12px;
  line-height: 1.7;
}

.lb-pledge-cert-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #f7f7f8;
  padding-bottom: calc(env(safe-area-inset-bottom) + 88px);
}

.lb-pledge-cert-body {
  background: #f7f7f8;
}

.lb-pledge-cert-header {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 12px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #eef0f4;
}

.lb-pledge-cert-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: #111;
}

.lb-pledge-cert-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-pledge-cert-wrap {
  padding: 14px 12px 0;
}

.lb-pledge-cert-doc {
  position: relative;
  padding: 28px 18px 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 8px 24px rgba(58, 11, 18, 0.08);
  overflow: hidden;
}

.lb-pledge-cert-doc::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 72%, rgba(200, 22, 29, 0.05), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98));
  pointer-events: none;
}

.lb-pledge-cert-doc::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  width: 220px;
  height: 120px;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  background:
    linear-gradient(transparent 62%, rgba(120, 120, 120, 0.45) 62%, rgba(120, 120, 120, 0.45) 68%, transparent 68%),
    linear-gradient(90deg, transparent 18%, rgba(120, 120, 120, 0.35) 18%, rgba(120, 120, 120, 0.35) 24%, transparent 24%),
    linear-gradient(90deg, transparent 76%, rgba(120, 120, 120, 0.35) 76%, rgba(120, 120, 120, 0.35) 82%, transparent 82%);
  pointer-events: none;
}

.lb-pledge-cert-kicker {
  display: none;
}

.lb-pledge-cert-doc h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  text-align: center;
  color: #111;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.lb-pledge-cert-rows {
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

.lb-pledge-cert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #4b3428;
  font-size: 14px;
}

.lb-pledge-cert-row:last-child {
  border-bottom: 0;
}

.lb-pledge-cert-row span {
  color: #666;
}

.lb-pledge-cert-row strong {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  text-align: right;
}

.lb-pledge-cert-seal {
  position: absolute;
  right: 18px;
  bottom: 28px;
  z-index: 1;
  width: 92px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 3px solid #c8161d;
  border-radius: 50%;
  color: #c8161d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  transform: rotate(-8deg);
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.72);
}

.lb-pledge-cert-note {
  display: none;
}

.lb-pledge-cert-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(247, 247, 248, 0), #f7f7f8 28%);
}

.lb-pledge-save-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #d9161f;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.lb-pledge-save-btn:disabled {
  opacity: 0.72;
}

.lb-pledge-cert-empty {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  color: #6b7c93;
  background: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

/* ========== 充值 / 提现（对齐 web.laobancoin.work pages/finance/*） ========== */
.lb-finance-page {
  min-height: 100vh;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(circle at 12% 0, rgba(217, 22, 31, 0.1), transparent 34%),
    linear-gradient(180deg, #f5f7fa, #fff 46%, #fff7f7);
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  box-sizing: border-box;
}

.lb-fin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(48px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 12px 0;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-fin-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-fin-back {
  position: absolute;
  left: 10px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-fin-hero {
  margin: 12px 12px 0;
  padding: 18px 16px 14px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #8b0f18 0%, #c8161d 42%, #d9161f 100%);
  box-shadow: 0 10px 24px rgba(200, 22, 29, 0.22);
}

.lb-fin-hero-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.lb-fin-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #ffe3e6;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lb-fin-hero-copy h2 {
  margin: 10px 0 6px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.lb-fin-hero-copy p {
  margin: 0;
  max-width: 92%;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.lb-fin-orbit {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.06);
}

.lb-fin-orbit span {
  font-size: 24px;
  font-weight: 900;
}

.lb-fin-balance-box {
  flex-shrink: 0;
  min-width: 96px;
  padding: 10px 12px;
  border-radius: 12px;
  text-align: right;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lb-fin-balance-box span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
}

.lb-fin-balance-box strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 900;
}

.lb-fin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.lb-fin-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #ffe3e6;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lb-fin-scroll {
  padding: 12px 12px 0;
}

.lb-fin-card {
  margin-bottom: 12px;
  padding: 16px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(255, 214, 218, 0.9);
  box-shadow: 0 8px 20px rgba(58, 11, 18, 0.05);
}

.lb-fin-card-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 900;
  color: #3a0b12;
}

.lb-fin-pay-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lb-fin-pay-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #f2e8ea;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.lb-fin-pay-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.lb-fin-pay-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lb-fin-pay-ico {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.lb-fin-pay-name {
  font-size: 14px;
  line-height: 1.45;
  color: #333;
}

.lb-fin-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d8c5c8;
  flex-shrink: 0;
  position: relative;
}

.lb-fin-pay-item.is-active .lb-fin-check {
  border-color: #c8161d;
  background: #c8161d;
}

.lb-fin-pay-item.is-active .lb-fin-check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.lb-fin-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.lb-fin-amount-chip {
  height: 42px;
  border: 1px solid #ffd6da;
  border-radius: 10px;
  background: #fff7f7;
  color: #3a0b12;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.lb-fin-amount-chip.is-active {
  color: #c8161d;
  background: #fff0f1;
  border-color: #ffb8bf;
  box-shadow: inset 0 0 0 1px rgba(200, 22, 29, 0.08);
}

.lb-fin-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 0 12px;
  min-height: 48px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff8f8, #fff0f1);
  border: 1px solid #ffd6da;
}

.lb-fin-input-wrap.is-plain {
  padding-right: 12px;
}

.lb-fin-input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: #3a0b12;
  outline: none;
}

.lb-fin-unit {
  color: #c8161d;
  font-size: 14px;
  font-weight: 700;
}

.lb-fin-submit {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  background: var(--lb-red);
  box-shadow: var(--lb-red-btn-shadow);
  cursor: pointer;
}

.lb-fin-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.lb-fin-tips-card {
  margin-top: 12px;
}

.lb-fin-tips {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.lb-fin-tips-title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 900;
  color: #1a1a1a;
}

.lb-fin-tips-sub {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #888;
}

.lb-fin-tips-intro {
  margin-bottom: 12px !important;
}

.lb-fin-tips-body {
  font-size: 13px;
  line-height: 1.75;
  color: #666;
}

.lb-fin-tips-body p {
  margin: 0 0 10px;
}

.lb-fin-tips-body strong {
  color: #555;
  font-weight: 700;
}

.lb-fin-tips-body ul {
  margin: 0 0 10px;
  padding-left: 1.25em;
  list-style: disc;
}

.lb-fin-tips-body li {
  margin-bottom: 4px;
}

.lb-fin-foot-link {
  padding: 8px 0 16px;
  text-align: center;
}

.lb-fin-foot-link a {
  color: #888;
  font-size: 13px;
  text-decoration: none;
}

.lb-fin-quota {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f2e8ea;
  font-size: 14px;
  color: #666;
}

.lb-fin-quota .amount {
  color: #3a0b12;
  font-size: 16px;
}

.lb-fin-quota .tag {
  margin-left: auto;
  padding: 4px 12px;
  border: 1px solid #ffd6da;
  border-radius: 999px;
  background: #fff0f1;
  color: #c8161d;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lb-fin-bank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lb-fin-bank-head strong {
  font-size: 15px;
}

.lb-fin-bank-head a {
  color: #c8161d;
  font-size: 13px;
  text-decoration: none;
}

.lb-fin-bank-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f7f0f1;
  font-size: 14px;
}

.lb-fin-bank-row:last-child {
  border-bottom: 0;
}

.lb-fin-bank-row span {
  color: #888;
  flex-shrink: 0;
}

.lb-fin-bank-row em {
  font-style: normal;
  color: #333;
  text-align: right;
  word-break: break-all;
}

.lb-fin-form {
  margin-top: 14px;
}

.lb-fin-field {
  display: block;
  margin-bottom: 14px;
}

.lb-fin-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #3a0b12;
}

.lb-fin-fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 0;
  font-size: 13px;
  color: #888;
}

.lb-fin-fee-row em {
  font-style: normal;
  color: #c8161d;
  font-weight: 900;
}

.lb-fin-empty,
.lb-fin-closed {
  text-align: center;
  padding: 28px 18px;
}

.lb-fin-empty strong,
.lb-fin-closed strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.lb-fin-empty p,
.lb-fin-closed-msg,
.lb-fin-closed-extra {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}

.lb-fin-link {
  display: inline-block;
  margin-top: 14px;
  color: #c8161d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* ========== 提现页（对齐 web.laobancoin.work pages/finance/withdraw） ========== */
.lb-withdraw-page {
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

.lb-fin-hero--withdraw {
  position: relative;
  overflow: hidden;
  margin: 12px 12px 0;
  padding: 17px 15px 14px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(214, 232, 255, 0.3), transparent 34%),
    linear-gradient(135deg, #3a0b12 0%, #8f1119 58%, #d9161f 100%);
  box-shadow: 0 12px 26px rgba(217, 22, 31, 0.2);
}

.lb-fin-hero--withdraw::after {
  content: "";
  position: absolute;
  right: -27px;
  bottom: -36px;
  width: 125px;
  height: 125px;
  border: 17px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.lb-fin-hero--withdraw .lb-fin-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 235px;
}

.lb-fin-hero--withdraw .lb-fin-hero-title {
  margin: 11px 0 0;
  font-size: 21px;
  line-height: 1.24;
  font-weight: 900;
}

.lb-fin-hero--withdraw .lb-fin-hero-desc {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(214, 232, 255, 0.92);
}

.lb-fin-hero-amount {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  margin-top: 12px;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lb-fin-hero-amount span {
  color: #ffe3e6;
  font-size: 11px;
}

.lb-fin-hero-amount strong {
  margin-top: 4px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.lb-fin-hero--withdraw .lb-fin-tags {
  position: relative;
  z-index: 1;
  margin-top: 11px;
}

.lb-fin-withdraw-card {
  padding: 15px;
  border: 1px solid #ffd6da;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 9px 21px rgba(58, 11, 18, 0.08);
}

.lb-withdraw-page .lb-fin-quota {
  min-height: 43px;
  color: #3a0b12;
  border-bottom-color: #e5ecf5;
}

.lb-withdraw-page .lb-fin-quota .amount {
  flex: 1;
  min-width: 0;
  color: #d9161f;
  font-size: 18px;
  font-weight: 700;
}

.lb-withdraw-page .lb-fin-quota .tag {
  border: 0;
  border-radius: 999px;
  background: #fff0f1;
  color: #d9161f;
}

.lb-withdraw-page .lb-fin-bank-head strong {
  color: #3a0b12;
  font-weight: 900;
}

.lb-withdraw-page .lb-fin-bank-head a {
  text-decoration: underline;
}

.lb-withdraw-page .lb-fin-bank-row {
  border-bottom-color: #e5ecf5;
}

.lb-withdraw-page .lb-fin-bank-row span {
  color: #6b7c93;
}

.lb-withdraw-page .lb-fin-bank-row em {
  color: #d9161f;
}

.lb-withdraw-page .lb-fin-label {
  color: #111;
}

.lb-withdraw-page .lb-fin-input-wrap {
  height: 46px;
}

.lb-withdraw-page .lb-fin-input-wrap input {
  height: 46px;
}

.lb-withdraw-page .lb-fin-unit {
  color: #111;
}

.lb-withdraw-page .lb-fin-submit {
  margin-top: 15px;
  background: linear-gradient(135deg, #d9161f, #b90f18);
  box-shadow: 0 9px 18px rgba(217, 22, 31, 0.24);
}

.lb-withdraw-page .lb-fin-tips {
  border-top-color: #e5ecf5;
}

.lb-withdraw-page .lb-fin-tips-title {
  color: #3a0b12;
}

.lb-withdraw-page .lb-fin-tips-body {
  color: #333;
}

.lb-fin-no-bank {
  padding: 30px 0 6px;
  text-align: center;
}

.lb-fin-bind-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #f3b7bc;
  border-radius: 20px;
  background: #fff5f6;
  color: #d9161f;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

/* ========== 混合基金 / 战略国债 / 团队工资详情（对齐 web.laobancoin.work） ========== */
.lb-mixed-nav,
.lb-mixed-page .lb-mixed-nav,
.lb-energy-page .lb-mixed-nav,
.lb-salary-page .lb-mixed-nav,
.lb-pension-page .lb-mixed-nav {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  height: 44px;
  margin-bottom: 8px;
  padding: env(safe-area-inset-top, 0px) 12px 0;
  color: #fff;
}

.lb-mixed-back {
  width: 29px;
  height: 29px;
  line-height: 26px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 27px;
  font-weight: 300;
  text-align: center;
  text-decoration: none;
}

.lb-mixed-nav h1,
.lb-mixed-page .lb-mixed-nav h1,
.lb-energy-page .lb-mixed-nav h1,
.lb-salary-page .lb-mixed-nav h1,
.lb-pension-page .lb-mixed-nav h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.lb-mixed-nav-ph {
  width: 29px;
  height: 29px;
}

.lb-mixed-page,
.lb-energy-page,
.lb-salary-page,
.lb-pension-page {
  min-height: 100vh;
  padding: 0 12px calc(24px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  color: #531521;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lb-mixed-page,
.lb-salary-page {
  background: linear-gradient(180deg, #4a0812 0%, #8c101e 28%, #fff5f6 28%, #fff 100%);
}

.lb-energy-page {
  padding-top: 8px;
  background: linear-gradient(180deg, #4a0812 0%, #8e101e 40%, #fff6f6 40%, #fff 100%);
}

.lb-mixed-hero,
.lb-salary-hero {
  position: relative;
  overflow: hidden;
  padding: 16px 14px 13px;
  border: 1px solid rgba(255, 218, 151, 0.58);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #94111f 0%, #4c0610 56%, #d42a39 100%);
  box-shadow: 0 11px 24px rgba(82, 7, 18, 0.28);
}

.lb-mixed-ring,
.lb-salary-glow {
  position: absolute;
  pointer-events: none;
}

.lb-mixed-ring {
  right: -50px;
  top: -58px;
  width: 143px;
  height: 143px;
  border: 18px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.lb-salary-glow {
  right: 18px;
  bottom: 18px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 214, 106, 0.24);
  filter: blur(13px);
}

.lb-mixed-hero-top,
.lb-mixed-total,
.lb-mixed-total-label,
.lb-mixed-hero-stats,
.lb-salary-hero-copy,
.lb-salary-pocket,
.lb-salary-hero-stats {
  position: relative;
  z-index: 1;
}

.lb-mixed-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.lb-mixed-hero h2,
.lb-salary-hero h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.lb-mixed-hero p,
.lb-salary-hero p {
  margin: 5px 0 0;
  color: #ffe2e5;
  font-size: 11px;
  line-height: 1.45;
}

.lb-mixed-badge {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  color: #845500;
  background: #ffe28d;
  font-size: 11px;
  font-weight: 900;
}

.lb-mixed-total {
  margin-top: 19px;
  color: #ffdd8a;
  font-size: 29px;
  line-height: 1;
  font-weight: 900;
}

.lb-mixed-total-label {
  margin-top: 6px;
  color: #ffe2e5;
  font-size: 11px;
}

.lb-mixed-hero-stats,
.lb-salary-hero-stats {
  display: grid;
  gap: 5px;
  margin-top: 14px;
}

.lb-mixed-hero-stats {
  grid-template-columns: repeat(3, 1fr);
}

.lb-salary-hero-stats {
  grid-template-columns: repeat(2, 1fr);
}

.lb-mixed-hero-stats > div,
.lb-salary-hero-stats > div {
  padding: 8px 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
}

.lb-mixed-hero-stats span,
.lb-salary-hero-stats span {
  display: block;
  color: #ffd7da;
  font-size: 9px;
}

.lb-mixed-hero-stats strong,
.lb-salary-hero-stats strong {
  display: block;
  margin-top: 4px;
  color: #ffdd8a;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.lb-salary-kicker {
  color: #ffdadf;
  font-size: 10px;
  font-weight: 800;
}

.lb-salary-hero h2 {
  margin-top: 5px;
}

.lb-salary-pocket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 13px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 220, 140, 0.16));
}

.lb-salary-pocket.is-muted {
  background: rgba(255, 255, 255, 0.1);
}

.lb-salary-pocket > span {
  color: #ffe3e6;
  font-size: 11px;
  font-weight: 800;
}

.lb-salary-pocket-amt {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.lb-salary-pocket-amt strong {
  color: #ffdd8a;
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
}

.lb-salary-pocket-amt em {
  color: #ffe9eb;
  font-size: 10px;
  font-style: normal;
}

.lb-mixed-card {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #ffe0e3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 15px rgba(101, 14, 27, 0.08);
}

.lb-mixed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.lb-mixed-head strong {
  font-size: 15px;
  font-weight: 900;
}

.lb-mixed-head span {
  color: #9a747c;
  font-size: 10px;
  text-align: right;
}

.lb-mixed-progress {
  overflow: hidden;
  height: 7px;
  margin-top: 12px;
  border-radius: 999px;
  background: #f8e3e5;
}

.lb-mixed-progress > div {
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #c91527, #f24b5a);
  transition: width 0.3s;
}

.lb-mixed-progress-cap {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: #9a747c;
  font-size: 10px;
}

.lb-mixed-level-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-top: 11px;
}

.lb-mixed-level-item {
  padding: 9px;
  border: 1px solid #f3e3e5;
  border-radius: 10px;
  background: #fff9fa;
}

.lb-mixed-level-item.is-active {
  border-color: #ffbec3;
  background: #fff4f5;
}

.lb-mixed-level-top {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  color: #8c6870;
  font-size: 11px;
}

.lb-mixed-level-top strong {
  color: #531521;
  font-size: 12px;
}

.lb-mixed-level-item.is-active .lb-mixed-level-top strong,
.lb-mixed-level-item.is-active .lb-mixed-level-state {
  color: #d9161f;
}

.lb-mixed-level-range {
  margin-top: 6px;
  color: #76515a;
  font-size: 10px;
}

.lb-mixed-level-state {
  margin-top: 5px;
  color: #a58b91;
  font-size: 9px;
}

.lb-mixed-record {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #f8eaeb;
}

.lb-mixed-record:last-child {
  border-bottom: 0;
}

.lb-mixed-record-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  color: #d9161f;
  background: #fff0f1;
  font-size: 12px;
  font-weight: 900;
}

.lb-mixed-record-icon.is-reward {
  color: #a05b00;
  background: #fff4d6;
}

.lb-mixed-record-main {
  min-width: 0;
  flex: 1;
}

.lb-mixed-record-main strong,
.lb-mixed-record-main span,
.lb-mixed-record-value strong,
.lb-mixed-record-value span {
  display: block;
}

.lb-mixed-record-main strong {
  overflow: hidden;
  color: #531521;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lb-mixed-record-main span,
.lb-mixed-record-value span {
  margin-top: 4px;
  color: #9a747c;
  font-size: 9px;
}

.lb-mixed-record-value {
  flex: none;
  text-align: right;
}

.lb-mixed-record-value strong,
.lb-mixed-record-money {
  color: #d9161f;
  font-size: 12px;
  font-weight: 900;
}

.lb-mixed-empty {
  padding: 18px 4px 21px;
  color: #9a747c;
  font-size: 11px;
  text-align: center;
}

.lb-mixed-explain-text {
  margin-top: 10px;
  color: #76515a;
  font-size: 11px;
  line-height: 1.75;
  white-space: pre-line;
}

.lb-energy-hero {
  position: relative;
  overflow: hidden;
  padding: 15px 13px 13px;
  border: 1px solid rgba(255, 218, 151, 0.58);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #8f101d 0%, #4d0610 67%, #d32735 100%);
  box-shadow: 0 10px 23px rgba(81, 7, 18, 0.28);
}

.lb-energy-hero::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -43px;
  width: 165px;
  height: 165px;
  border: 1px solid rgba(255, 221, 153, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(229, 62, 77, 0.42);
}

.lb-energy-hero h2,
.lb-energy-label,
.lb-energy-total,
.lb-energy-stats {
  position: relative;
  z-index: 1;
}

.lb-energy-hero h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
}

.lb-energy-label {
  margin-top: 17px;
  color: #ffe3e5;
  font-size: 11px;
}

.lb-energy-total {
  margin-top: 5px;
  color: #ffdc8a;
  font-size: 29px;
  font-weight: 900;
}

.lb-energy-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 14px;
}

.lb-energy-stats > div {
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.lb-energy-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.lb-energy-stats span,
.lb-energy-stats strong {
  display: block;
}

.lb-energy-stats span {
  color: #ffe3e5;
  font-size: 10px;
}

.lb-energy-stats strong {
  margin-top: 5px;
  color: #ffdc8a;
  font-size: 14px;
  font-weight: 900;
}

.lb-energy-card {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #ffe2e4;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(101, 14, 27, 0.1);
}

.lb-energy-card h3 {
  margin: 0;
  color: #531521;
  font-size: 15px;
  font-weight: 900;
}

.lb-energy-intro {
  margin: 9px 0 0;
  color: #76515a;
  font-size: 11px;
  line-height: 1.75;
}

.lb-energy-rule {
  display: flex;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid #f7e8e9;
  color: #76515a;
  font-size: 11px;
  line-height: 1.55;
}

.lb-energy-rule:last-child {
  border-bottom: 0;
}

.lb-energy-rule span {
  flex: none;
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  color: #fff;
  background: #cc1628;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
}

.lb-energy-rule p {
  margin: 0;
}

.lb-salary-notice-title {
  color: #531521;
  font-size: 15px;
  font-weight: 900;
}

.lb-salary-notice-text {
  margin: 8px 0 0;
  color: #76515a;
  font-size: 11px;
  line-height: 1.65;
}

.lb-salary-notice-text strong {
  color: #d9161f;
  font-weight: 900;
}

.lb-salary-table {
  overflow: hidden;
  margin-top: 11px;
  border: 1px solid #f4e2e4;
  border-radius: 11px;
}

.lb-salary-row {
  display: grid;
  grid-template-columns: 1fr 75px;
  align-items: center;
  min-height: 46px;
  padding: 0 10px;
  border-bottom: 1px solid #f7eaec;
  background: #fff;
}

.lb-salary-row:last-child {
  border-bottom: 0;
}

.lb-salary-row.is-head {
  min-height: 37px;
  color: #d9161f;
  background: #fff1f3;
  font-size: 11px;
  font-weight: 900;
}

.lb-salary-row.is-active {
  background: #fff7f8;
}

.lb-salary-row strong,
.lb-salary-row span {
  display: block;
}

.lb-salary-row strong {
  color: #531521;
  font-size: 11px;
}

.lb-salary-row span {
  margin-top: 3px;
  color: #9a747c;
  font-size: 9px;
}

.lb-salary-row em {
  color: #d9161f;
  font-size: 14px;
  font-weight: 900;
  font-style: normal;
  text-align: right;
}

.lb-salary-page {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.lb-pension-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  background: #f3f4f7;
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lb-pension-top {
  position: relative;
  overflow: hidden;
  margin: 0 -12px 0;
  padding: 0 12px 18px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #24060a 0%, #4a0812 38%, #8c101e 100%);
}

.lb-pension-top::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -36px;
  width: 150px;
  height: 150px;
  border: 16px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.lb-pension-top .lb-mixed-nav {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: #fff;
}

.lb-pension-top .lb-mixed-back {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
}

.lb-pension-top .lb-salary-hero {
  position: relative;
  z-index: 1;
  padding: 0 2px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.lb-pension-top .lb-salary-glow {
  display: none;
}

.lb-pension-top .lb-salary-kicker {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
}

.lb-pension-top .lb-salary-hero h2 {
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.15;
}

.lb-pension-top .lb-salary-hero p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
}

.lb-pension-top .lb-salary-pocket {
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.lb-pension-top .lb-salary-pocket.is-muted {
  background: rgba(255, 255, 255, 0.1);
}

.lb-pension-top .lb-salary-pocket-amt strong {
  font-size: 22px;
}

.lb-pension-top .lb-salary-hero-stats {
  margin-top: 8px;
}

.lb-pension-top .lb-salary-hero-stats > div {
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.lb-pension-top .lb-salary-hero-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
}

.lb-pension-top .lb-salary-hero-stats strong {
  margin-top: 5px;
  font-size: 13px;
}

.lb-pension-top + .lb-mixed-card {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

.lb-salary-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -6px 15px rgba(82, 7, 18, 0.08);
  backdrop-filter: blur(7px);
}

.lb-salary-receive {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(90deg, #d9161f, #f0444c);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 7px 14px rgba(217, 22, 31, 0.25);
}

.lb-salary-receive.is-disabled {
  color: #64748b;
  background: #cbd5e1;
  box-shadow: none;
}

/* ========== 账变明细（对齐 web.laobancoin.work） ========== */
.lb-ledger-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  background: #f3f4f7;
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lb-ledger-header {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-ledger-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-ledger-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-ledger-hero {
  margin: 12px 12px 10px;
  padding: 18px 16px 16px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(135deg, #94111f 0%, #5f1019 48%, #d42a39 100%);
  box-shadow: 0 10px 24px rgba(82, 7, 18, 0.24);
}

.lb-ledger-hero h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-ledger-hero p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.55;
}

.lb-ledger-card {
  margin: 0 12px;
  padding: 14px 14px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  min-height: 280px;
}

.lb-ledger-panel {
  min-height: 200px;
}

.lb-ledger-panel.is-empty .lb-ledger-panel-inner,
.lb-ledger-panel.is-empty {
  border-radius: 12px;
}

.lb-ledger-panel.is-empty {
  padding: 10px;
  border: 1px dashed #e8d5d8;
  border-radius: 12px;
  background: #fff9fa;
}

.lb-ledger-empty {
  padding: 36px 12px 28px;
  text-align: center;
}

.lb-ledger-empty strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #7a2433;
}

.lb-ledger-empty span {
  display: block;
  margin-top: 10px;
  color: #8a98a8;
  font-size: 12px;
  line-height: 1.7;
}

.lb-ledger-list {
  display: block;
}

.lb-ledger-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f6;
}

.lb-ledger-item:last-child {
  border-bottom: 0;
}

.lb-ledger-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lb-ledger-item-top strong {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 900;
  color: #3a0b12;
}

.lb-ledger-amt {
  flex: none;
  font-size: 15px;
  font-weight: 900;
}

.lb-ledger-amt.plus {
  color: #16a34a;
}

.lb-ledger-amt.minus {
  color: #d9161f;
}

.lb-ledger-amt.muted {
  color: #8a98a8;
  font-size: 13px;
  font-weight: 700;
}

.lb-ledger-desc {
  margin: 6px 0 0;
  color: #6b7c93;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
}

.lb-ledger-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: #8a98a8;
  font-size: 11px;
}

.lb-ledger-item-meta b {
  color: #6b7c93;
  font-weight: 700;
}

.lb-ledger-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 4px;
}

.lb-ledger-page-btn {
  min-width: 72px;
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #b8c3cf;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lb-ledger-page-btn:not(:disabled) {
  background: #94a3b8;
}

.lb-ledger-page-btn:disabled {
  opacity: 0.72;
  cursor: default;
}

.lb-ledger-page-info {
  min-width: 48px;
  text-align: center;
  color: #6b7c93;
  font-size: 13px;
  font-weight: 700;
}

.lb-ledger-panel.is-loading {
  opacity: 0.62;
  pointer-events: none;
}

/* ========== 订单中心（对齐 web.laobancoin.work） ========== */
.lb-order-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  background: #f3f4f7;
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lb-order-header {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-order-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-order-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-order-hero {
  margin: 12px 12px 10px;
  padding: 18px 16px 16px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(135deg, #94111f 0%, #5f1019 48%, #d42a39 100%);
  box-shadow: 0 10px 24px rgba(82, 7, 18, 0.24);
}

.lb-order-hero h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-order-hero p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.55;
}

.lb-order-card {
  margin: 0 12px;
  padding: 14px 14px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  min-height: 320px;
}

.lb-order-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #f0e4e6;
}

.lb-order-tab {
  flex: 1;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3a0b12;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.lb-order-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #d42a39 0%, #94111f 100%);
  box-shadow: 0 6px 14px rgba(148, 17, 31, 0.28);
}

.lb-order-panel {
  min-height: 200px;
}

.lb-order-panel.is-empty {
  padding: 10px;
  border: 1px dashed #e8d5d8;
  border-radius: 12px;
  background: #fff9fa;
}

.lb-order-empty {
  padding: 36px 12px 28px;
  text-align: center;
}

.lb-order-empty strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #7a2433;
}

.lb-order-empty span {
  display: block;
  margin-top: 10px;
  color: #8a98a8;
  font-size: 12px;
  line-height: 1.7;
}

.lb-order-list {
  display: block;
}

.lb-order-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f6;
}

.lb-order-item:last-child {
  border-bottom: 0;
}

.lb-order-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.lb-order-item-top strong {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 900;
  color: #3a0b12;
  line-height: 1.45;
}

.lb-order-status {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.lb-order-status.is-active {
  color: #b45309;
  background: #fff7ed;
}

.lb-order-status.is-expired {
  color: #64748b;
  background: #f1f5f9;
}

.lb-order-item-amt {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 900;
  color: #d9161f;
}

.lb-order-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: #8a98a8;
  font-size: 11px;
}

.lb-order-item-meta b {
  color: #6b7c93;
  font-weight: 700;
}

.lb-order-item-time {
  margin-top: 6px;
  color: #8a98a8;
  font-size: 11px;
}

.lb-order-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 4px;
}

.lb-order-page-btn {
  min-width: 72px;
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #b8c3cf;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lb-order-page-btn:not(:disabled) {
  background: #94a3b8;
}

.lb-order-page-btn:disabled {
  opacity: 0.72;
  cursor: default;
}

.lb-order-page-info {
  min-width: 48px;
  text-align: center;
  color: #6b7c93;
  font-size: 13px;
  font-weight: 700;
}

.lb-order-panel.is-loading {
  opacity: 0.62;
  pointer-events: none;
}

/* ========== 我的团队（对齐 web.laobancoin.work pages/user/team） ========== */
.lb-team-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  background:
    radial-gradient(90% 46% at 18% 0, rgba(217, 22, 31, 0.14) 0, rgba(217, 22, 31, 0) 62%),
    linear-gradient(180deg, #f5f9ff, #f5f7fa 45%, #fff);
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lb-team-header {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-team-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-team-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-team-hero {
  margin: 12px 12px 0;
  padding: 17px 15px 16px;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(240, 68, 76, 0.36), transparent 34%),
    linear-gradient(135deg, #24060a, #3a0b12 56%, #d9161f);
  box-shadow: 0 9px 21px rgba(58, 11, 18, 0.18);
}

.lb-team-hero h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-team-hero p {
  margin: 6px 0 0;
  color: #ffe3e6;
  font-size: 12px;
  line-height: 1.55;
}

.lb-team-stats-card,
.lb-team-member-section {
  margin: 12px 12px 0;
  padding: 14px;
  border: 1px solid #e5ecf5;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 17px rgba(58, 11, 18, 0.06);
}

.lb-team-reward-card {
  background: linear-gradient(180deg, #fff, #fff7f7);
}

.lb-team-stats-head,
.lb-team-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lb-team-stats-label,
.lb-team-section-subtitle {
  color: #6b7c93;
  font-size: 11px;
}

.lb-team-stats-value {
  margin-top: 4px;
  color: #d9161f;
  font-size: 21px;
  font-weight: 900;
}

.lb-team-stats-scroll,
.lb-team-level-scroll {
  margin-top: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lb-team-stats-scroll::-webkit-scrollbar,
.lb-team-level-scroll::-webkit-scrollbar {
  display: none;
}

.lb-team-stats-track,
.lb-team-level-track {
  display: inline-flex;
  gap: 8px;
  min-width: 100%;
  padding-bottom: 2px;
}

.lb-team-stats-item {
  flex: 0 0 92px;
  min-width: 0;
  padding: 11px 9px;
  border-radius: 10px;
  text-align: center;
  background: #fff7f7;
  border: 1px solid #e5ecf5;
}

.lb-team-item-value {
  color: #3a0b12;
  font-size: 15px;
  font-weight: 900;
}

.lb-team-item-label {
  margin-top: 4px;
  color: #6b7c93;
  font-size: 11px;
}

.lb-team-section-title {
  color: #3a0b12;
  font-size: 16px;
  font-weight: 900;
}

.lb-team-level-scroll {
  padding: 4px;
  border-radius: 12px;
  background: #eaf0f8;
  border: 1px solid #e5ecf5;
}

.lb-team-level-tab {
  flex: 0 0 78px;
  height: 35px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #55708f;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.lb-team-level-tab.is-active {
  color: #fff;
  background: #d9161f;
  box-shadow: 0 6px 12px rgba(217, 22, 31, 0.18);
}

.lb-team-panel {
  margin-top: 11px;
  min-height: 180px;
}

.lb-team-panel.is-empty {
  padding: 10px;
  border: 1px dashed #cfe2ff;
  border-radius: 12px;
  background: #fff7f7;
}

.lb-team-empty {
  padding: 35px 12px 28px;
  text-align: center;
}

.lb-team-empty strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #3a0b12;
}

.lb-team-empty span {
  display: block;
  margin-top: 7px;
  color: #6b7c93;
  font-size: 12px;
  line-height: 1.7;
}

.lb-team-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.lb-team-member-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 12px;
  border: 1px solid #e5ecf5;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fff7f7);
}

.lb-team-member-main {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 9px;
}

.lb-team-member-avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  line-height: 34px;
  border-radius: 11px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #3a0b12, #d9161f);
  font-size: 15px;
  font-weight: 900;
}

.lb-team-member-info {
  flex: 1;
  min-width: 0;
}

.lb-team-member-name {
  color: #3a0b12;
  font-size: 14px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-team-member-account {
  margin-top: 4px;
  color: #6b7c93;
  font-size: 11px;
  word-break: break-all;
}

.lb-team-member-data {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 0 0 75px;
}

.lb-team-data-pill {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  color: #d9161f;
  background: #fff0f1;
  font-size: 10px;
  font-weight: 800;
}

.lb-team-data-pill.red {
  color: #ef4444;
}

.lb-team-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 4px;
}

.lb-team-page-btn {
  min-width: 72px;
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #b8c3cf;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lb-team-page-btn:not(:disabled) {
  background: #94a3b8;
}

.lb-team-page-btn:disabled {
  opacity: 0.72;
  cursor: default;
}

.lb-team-page-info {
  min-width: 48px;
  text-align: center;
  color: #6b7c93;
  font-size: 13px;
  font-weight: 700;
}

.lb-team-panel.is-loading {
  opacity: 0.62;
  pointer-events: none;
}

/* ========== 邀请好友（对齐 web.laobancoin.work pages/user/invite） ========== */
.lb-invite-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  background: #f3f4f7;
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lb-invite-header {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-invite-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-invite-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-invite-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 12px 0;
  padding: 16px 14px 15px;
  border-radius: 15px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(240, 68, 76, 0.36), transparent 34%),
    linear-gradient(135deg, #24060a, #3a0b12 56%, #d9161f);
  box-shadow: 0 9px 21px rgba(58, 11, 18, 0.18);
}

.lb-invite-hero-logo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lb-invite-hero-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.lb-invite-hero-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.lb-invite-hero-copy h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-invite-kicker {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 700;
}

.lb-invite-hero-copy p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.55;
}

.lb-invite-hero-ring {
  position: absolute;
  right: -18px;
  top: -18px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  opacity: 0.7;
  pointer-events: none;
}

.lb-invite-qr-card,
.lb-invite-detail-card {
  margin: 12px 12px 0;
  padding: 14px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.lb-invite-qr-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.lb-invite-qr-title strong {
  display: block;
  color: #d9161f;
  font-size: 16px;
  font-weight: 900;
}

.lb-invite-qr-title span {
  display: block;
  margin-top: 4px;
  color: #6b7c93;
  font-size: 11px;
}

.lb-invite-tag {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  color: #d9161f;
  background: #fff0f1;
  font-size: 11px;
  font-weight: 800;
}

.lb-invite-qr-frame {
  display: block;
  width: 100%;
  margin: 14px auto 2px;
  padding: 14px;
  border: 1px solid rgba(217, 22, 31, 0.14);
  border-radius: 14px;
  background: #fff7f7;
  cursor: pointer;
}

.lb-invite-qr-frame #lbInviteQr,
.lb-invite-qr-frame #lbInviteQr img,
.lb-invite-qr-frame #lbInviteQr canvas {
  display: block;
  width: 188px !important;
  height: 188px !important;
  margin: 0 auto;
}

.lb-invite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lb-invite-row-main {
  flex: 1;
  min-width: 0;
}

.lb-invite-label {
  display: block;
  color: #6b7c93;
  font-size: 11px;
}

.lb-invite-code {
  display: block;
  margin-top: 4px;
  color: #3a0b12;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.lb-invite-link {
  margin: 4px 0 0;
  color: #3a0b12;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}

.lb-invite-row-link {
  align-items: flex-start;
}

.lb-invite-row-link .lb-invite-copy {
  margin-top: 18px;
}

.lb-invite-divider {
  height: 1px;
  margin: 14px 0;
  background: #edf2f7;
}

.lb-invite-copy {
  flex: 0 0 auto;
  min-width: 58px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #94111f);
  box-shadow: 0 6px 14px rgba(217, 22, 31, 0.22);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.lb-invite-preview {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.lb-invite-preview-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}

.lb-invite-preview-body {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(calc(100vw - 48px), 320px);
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: #fff;
  transform: translate(-50%, -50%);
  text-align: center;
}

.lb-invite-preview-title {
  color: #3a0b12;
  font-size: 16px;
  font-weight: 900;
}

.lb-invite-preview-qr {
  margin: 16px auto 14px;
  padding: 12px;
  width: fit-content;
  border-radius: 14px;
  background: #fff7f7;
  border: 1px solid rgba(217, 22, 31, 0.14);
}

.lb-invite-preview-qr img,
.lb-invite-preview-qr canvas {
  display: block;
  width: 220px !important;
  height: 220px !important;
}

.lb-invite-preview-close {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #94111f);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

body.lb-invite-preview-open {
  overflow: hidden;
}

/* ========== 老板网数字证书（对齐 web.laobancoin.work pages/certificate/digital） ========== */
.lb-dcert-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  background:
    radial-gradient(circle at 50% 0, rgba(217, 22, 31, 0.22), transparent 36%),
    linear-gradient(180deg, #071731, #3a0b12 42%, #f5f7fa 42%, #fff);
  color: #3a0b12;
  font-family: "PingFang SC", "HarmonyOS Sans", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

.lb-dcert-header {
  position: relative;
  z-index: 2;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 10px;
  text-align: center;
  color: #fff;
  background: transparent;
}

.lb-dcert-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-dcert-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-dcert-wrap {
  position: relative;
  z-index: 1;
  padding: 0 12px 12px;
}

.lb-dcert-card {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  min-height: 82dvh;
  padding: 15px 14px 17px;
  border: 0.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
}

.lb-dcert-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 22, 31, 0.07) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(217, 22, 31, 0.07) 0.5px, transparent 0.5px);
  background-size: 17px 17px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 54%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 54%);
  pointer-events: none;
}

.lb-dcert-card-top,
.lb-dcert-title-block,
.lb-dcert-seal,
.lb-dcert-info,
.lb-dcert-note {
  position: relative;
  z-index: 1;
}

.lb-dcert-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lb-dcert-badge-icon {
  width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #3a0b12, #d9161f);
  font-size: 11px;
  font-weight: 900;
}

.lb-dcert-status {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.lb-dcert-status.pending {
  color: #d9161f;
  background: #fff0f1;
}

.lb-dcert-status.active {
  color: #1b7a4a;
  background: #e8f7ef;
}

.lb-dcert-title-block {
  margin-top: 22px;
  text-align: center;
}

.lb-dcert-title-block h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: #3a0b12;
  letter-spacing: 0.02em;
}

.lb-dcert-title-block p {
  margin: 6px 0 0;
  color: #6b7c93;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.lb-dcert-seal {
  display: flex;
  justify-content: center;
  margin: 26px 0 21px;
}

.lb-dcert-seal-ring {
  width: 105px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(217, 22, 31, 0.24);
  background: radial-gradient(circle, rgba(217, 22, 31, 0.14), rgba(255, 255, 255, 0.88));
  box-shadow:
    inset 0 0 0 9px rgba(217, 22, 31, 0.06),
    0 11px 24px rgba(217, 22, 31, 0.16);
}

.lb-dcert-seal-core {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #3a0b12, #d9161f);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.lb-dcert-info {
  position: relative;
  padding: 5px 12px;
  border: 0.5px solid #ffd6da;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
}

.lb-dcert-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 0.5px solid #eef2f7;
  font-size: 12px;
  line-height: 1.5;
}

.lb-dcert-row:last-of-type {
  border-bottom: 0;
}

.lb-dcert-row span {
  flex: 0 0 auto;
  color: #6b7c93;
}

.lb-dcert-row strong {
  flex: 1;
  text-align: right;
  color: #3a0b12;
  font-size: 12.5px;
  font-weight: 700;
  word-break: break-all;
}

.lb-dcert-row strong.lb-dcert-cert-no {
  color: #d9161f;
  font-size: 11.5px;
}

.lb-dcert-note {
  margin-top: 14px;
  padding: 11px;
  border-radius: 12px;
  color: #52657d;
  background: #f1f6ff;
  font-size: 11.5px;
  line-height: 1.7;
}

/* ========== 实名认证（对齐 web.laobancoin.work pages/user/realname） ========== */
.lb-realname-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  background:
    radial-gradient(circle at 12% 0, rgba(217, 22, 31, 0.08), transparent 34%),
    linear-gradient(180deg, #fff5f6, #fff 42%, #fff7f7);
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lb-realname-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(48px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 12px 0;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-realname-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-realname-back {
  position: absolute;
  left: 10px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-realname-hero {
  margin: 12px 12px 0;
  padding: 18px 16px 14px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #8b0f18 0%, #c8161d 42%, #d9161f 100%);
  box-shadow: 0 10px 24px rgba(200, 22, 29, 0.22);
}

.lb-realname-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #ffe3e6;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lb-realname-hero h2 {
  margin: 10px 0 6px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-realname-hero p {
  margin: 0;
  color: #ffe3e6;
  font-size: 12px;
  line-height: 1.65;
}

.lb-realname-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.lb-realname-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lb-realname-scroll {
  padding: 12px;
}

.lb-realname-card {
  margin-bottom: 12px;
  padding: 14px 14px 16px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 18px rgba(58, 11, 18, 0.06);
}

.lb-realname-card-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.lb-realname-card-head strong {
  color: #c8161d;
  font-size: 15px;
  font-weight: 900;
}

.lb-realname-card-head span {
  color: #8a97a8;
  font-size: 11px;
}

.lb-realname-field {
  display: block;
  margin-bottom: 12px;
}

.lb-realname-field:last-child {
  margin-bottom: 0;
}

.lb-realname-label {
  display: block;
  margin-bottom: 8px;
  color: #c8161d;
  font-size: 13px;
  font-weight: 800;
}

.lb-realname-field input {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  padding: 0 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff8f8, #fff0f1);
  color: #3a0b12;
  font-size: 14px;
  outline: none;
}

.lb-realname-field input::placeholder {
  color: #b8a5a8;
}

.lb-realname-field input[readonly] {
  color: #6b7c93;
}

.lb-realname-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lb-realname-upload-label {
  margin-bottom: 8px;
  color: #c8161d;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.lb-realname-upload-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1.45;
  padding: 0;
  border: 1.5px dashed #ffb8bf;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff8f8, #fff0f1);
  overflow: hidden;
  cursor: pointer;
}

.lb-realname-upload-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #c8161d;
}

.lb-realname-upload-empty i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-style: normal;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  background: rgba(200, 22, 29, 0.08);
}

.lb-realname-upload-empty em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.lb-realname-upload-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-realname-upload-tip {
  margin: 12px 0 0;
  color: #8a97a8;
  font-size: 11px;
  line-height: 1.6;
}

.lb-realname-reupload {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  color: #c8161d;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.lb-realname-status {
  margin-bottom: 12px;
}

.lb-realname-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.lb-realname-status-badge.pending {
  color: #c8161d;
  background: #fff0f1;
  border: 1px solid #ffd6da;
}

.lb-realname-status-badge.active {
  color: #1b7a4a;
  background: #e8f7ef;
  border: 1px solid rgba(27, 122, 74, 0.18);
}

.lb-realname-tips {
  margin: 0;
  padding-left: 18px;
  color: #6b7c93;
  font-size: 12px;
  line-height: 1.75;
}

.lb-realname-tips li + li {
  margin-top: 4px;
}

.lb-realname-submit {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #d9161f, #c8161d 58%, #a81218);
  box-shadow: 0 10px 22px rgba(200, 22, 29, 0.24);
  cursor: pointer;
}

.lb-realname-page.is-readonly .lb-realname-upload-box {
  cursor: zoom-in;
}

.lb-realname-preview {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lb-realname-preview[hidden] {
  display: none !important;
}

.lb-realname-preview-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.lb-realname-preview-body {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
}

.lb-realname-preview-body img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  border-radius: 12px;
}

body.lb-realname-preview-open {
  overflow: hidden;
}

/* ===== 绑定银行卡（对齐 pages/setting/bank） ===== */
.lb-bank-page {
  min-height: 100vh;
  background: radial-gradient(circle at 16% 0, rgba(217, 22, 31, 0.14), transparent 34%),
    linear-gradient(180deg, #f5f7fa, #fff 44%, #fff7f7);
  color: #3a0b12;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.lb-bank-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 12px;
  background: #5b0f15;
  color: #fff;
}

.lb-bank-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.lb-bank-back {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
}

.lb-bank-scroll {
  padding: 12px 12px 20px;
}

.lb-bank-hero {
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: radial-gradient(circle at 100% 0, rgba(214, 232, 255, 0.26), transparent 34%),
    linear-gradient(135deg, #3a0b12, #8f1119 58%, #d9161f);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 22px rgba(217, 22, 31, 0.2);
  color: #fff;
}

.lb-bank-kicker {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: #ffe3e6;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(214, 232, 255, 0.58);
}

.lb-bank-hero h2 {
  margin: 12px 0 8px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.lb-bank-hero p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(214, 232, 255, 0.92);
}

.lb-bank-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.lb-bank-hero-tags span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: #d9161f;
  background: #fff0f1;
  border: 1px solid #ffd6da;
}

.lb-bank-preview {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: radial-gradient(circle at 100% 0, rgba(214, 232, 255, 0.26), transparent 34%),
    linear-gradient(135deg, #3a0b12, #8f1119 58%, #d9161f);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 22px rgba(217, 22, 31, 0.18);
  color: #fff;
}

.lb-bank-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.lb-bank-preview-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: #d9161f;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #ffd6da;
}

.lb-bank-preview-name {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
}

.lb-bank-preview-no {
  margin-top: 10px;
  font-size: 18px;
  letter-spacing: 1px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.lb-bank-preview-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.lb-bank-card,
.lb-bank-tips-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #ffd6da;
  box-shadow: 0 8px 19px rgba(58, 11, 18, 0.08);
}

.lb-bank-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.lb-bank-card-head strong {
  font-size: 16px;
  color: #d9161f;
}

.lb-bank-card-head span {
  font-size: 12px;
  color: #6b7c93;
}

.lb-bank-field {
  display: block;
  margin-bottom: 14px;
}

.lb-bank-field:last-child {
  margin-bottom: 0;
}

.lb-bank-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #8f2a2a;
}

.lb-bank-field input {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #ffd6da;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff8f8, #fff0f1);
  color: #3a0b12;
  font-size: 15px;
  outline: none;
}

.lb-bank-field input::placeholder {
  color: #b08a8f;
}

.lb-bank-field input[readonly] {
  color: #666;
}

.lb-bank-picker {
  display: block;
  position: relative;
}

.lb-bank-select-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}

.lb-bank-picker-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #ffd6da;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff8f8, #fff0f1);
  cursor: pointer;
}

.lb-bank-picker-text {
  font-size: 15px;
  color: #3a0b12;
}

.lb-bank-picker-arrow {
  color: #d9161f;
  font-size: 18px;
  line-height: 1;
}

.lb-bank-area-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lb-bank-tips-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.lb-bank-tips-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #b90f18);
}

.lb-bank-tips-head strong {
  font-size: 15px;
  color: #d9161f;
}

.lb-bank-tips-card p {
  margin: 0;
  padding: 2px 0;
  font-size: 13px;
  line-height: 1.65;
  color: #6b7c93;
}

.lb-bank-submit {
  display: block;
  width: 100%;
  margin-top: 16px;
  height: 48px;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #b90f18);
  box-shadow: 0 7px 14px rgba(217, 22, 31, 0.18);
}

.lb-bank-submit:disabled {
  opacity: 0.65;
}

/* ===== 修改密码（对齐 pages/setting/password） ===== */
.lb-pass-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #f3f4f7;
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

.lb-pass-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-pass-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-pass-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-pass-scroll {
  padding: 12px 12px 20px;
}

.lb-pass-hero {
  position: relative;
  padding: 16px 16px 18px;
  border-radius: 16px;
  color: #fff;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 10px
    ),
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.14), transparent 36%),
    linear-gradient(135deg, #94111f 0%, #5f1019 48%, #d42a39 100%);
  box-shadow: 0 10px 24px rgba(82, 7, 18, 0.24);
}

.lb-pass-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lb-pass-hero h2 {
  margin: 10px 0 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.lb-pass-hero:not(:has(.lb-pass-kicker)) h2 {
  margin-top: 0;
}

.lb-pass-hero p {
  margin: 0;
  max-width: 280px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

.lb-pass-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.lb-pass-hero-tags span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lb-pass-card,
.lb-pass-tips-card {
  margin-top: 12px;
  padding: 14px 14px 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.lb-pass-card-head {
  margin-bottom: 10px;
}

.lb-pass-card-head strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #d9161f;
}

.lb-pass-card-head span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #8a96a8;
}

.lb-pass-field {
  display: block;
  margin-bottom: 14px;
}

.lb-pass-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #3a0b12;
}

.lb-pass-account {
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #3a0b12;
  background: #f5f0eb;
  border: 1px solid #ece4dc;
}

.lb-pass-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  color: #3a0b12;
  background: #fff;
  box-sizing: border-box;
  outline: none;
}

.lb-pass-field input::placeholder {
  color: #b0bac7;
}

.lb-pass-tips-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.lb-pass-tips-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #b90f18);
}

.lb-pass-tips-head strong {
  font-size: 15px;
  color: #d9161f;
}

.lb-pass-tips-card p {
  margin: 0;
  padding: 2px 0;
  font-size: 13px;
  line-height: 1.65;
  color: #6b7c93;
}

.lb-pass-submit {
  display: block;
  width: 100%;
  margin-top: 16px;
  height: 48px;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #b90f18);
  box-shadow: 0 8px 18px rgba(217, 22, 31, 0.22);
}

/* ========== 安全中心（对齐 web.laobancoin.work pages/setting/index） ========== */
.lb-security-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  background: #f3f4f7;
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lb-security-header {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-security-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-security-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-security-hero {
  position: relative;
  margin: 12px 12px 10px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  color: #fff;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 10px
    ),
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.14), transparent 36%),
    linear-gradient(135deg, #94111f 0%, #5f1019 48%, #d42a39 100%);
  box-shadow: 0 10px 24px rgba(82, 7, 18, 0.24);
}

.lb-security-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lb-security-hero-body {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.lb-security-hero-body h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.lb-security-hero-body p {
  margin: 8px 0 0;
  max-width: 240px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.55;
}

.lb-security-watermark {
  flex-shrink: 0;
  margin-top: -4px;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  user-select: none;
}

.lb-security-card {
  margin: 0 12px 12px;
  padding: 14px 14px 4px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.lb-security-section-head {
  margin-bottom: 6px;
}

.lb-security-section-head strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #d9161f;
}

.lb-security-section-head span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #8a96a8;
}

.lb-security-list {
  display: flex;
  flex-direction: column;
}

.lb-security-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #eef1f5;
}

.lb-security-item:last-child {
  border-bottom: none;
}

.lb-security-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 17px;
  font-weight: 900;
}

.lb-security-icon.is-red {
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #b90f18);
  box-shadow: 0 4px 10px rgba(217, 22, 31, 0.18);
}

.lb-security-icon.is-pink {
  color: #d9161f;
  background: #fff0f1;
}

.lb-security-text {
  flex: 1;
  min-width: 0;
}

.lb-security-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #3a0b12;
}

.lb-security-item.is-link .lb-security-text strong {
  color: #d9161f;
}

.lb-security-text em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: #8a96a8;
}

.lb-security-arrow {
  flex-shrink: 0;
  color: #c5cdd8;
  font-size: 22px;
  line-height: 1;
}

.lb-security-links-card {
  padding-top: 4px;
}

.lb-security-list.is-compact .lb-security-item {
  padding: 13px 0;
}

.lb-security-logout-wrap {
  margin: 18px 12px 0;
}

.lb-security-logout {
  display: block;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #d9161f, #b90f18);
  box-shadow: 0 8px 18px rgba(217, 22, 31, 0.22);
}

.lb-security-doc {
  margin: 12px;
  padding: 18px 16px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.lb-security-doc h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: #3a0b12;
}

.lb-security-doc h3 {
  margin: 16px 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: #d9161f;
}

.lb-security-doc p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #5f6d82;
}

/* ========== 用户协议 / 政策文档页 ========== */
html.lb-agreement-page,
html.lb-agreement-page body,
.lb-agreement-page {
  margin: 0;
  padding: 0;
  background: #4a0404 !important;
  background-color: #4a0404 !important;
  color: #fff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.lb-agreement {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
}

.lb-agreement > .lb-landing-bg {
  z-index: 0;
}

.lb-agreement-hero,
.lb-agreement-content {
  position: relative;
}

.lb-agreement-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding:
    calc(8px + env(safe-area-inset-top, 0px))
    16px
    8px;
  background: rgba(58, 2, 2, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lb-agreement-back {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(calc(-50% + env(safe-area-inset-top, 0px) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.lb-agreement-nav-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.lb-agreement-hero {
  position: relative;
  z-index: 1;
  margin: 14px 14px 12px;
  padding: 16px 18px 18px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, #c41e2a 0%, #8b1018 52%, #e62e2e 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.lb-agreement-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.lb-agreement-hero-title {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.lb-agreement-hero-sub {
  margin: 8px 0 0;
  max-width: 260px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.lb-agreement-hero-date {
  margin: 10px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
}

.lb-agreement-ring {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.04),
    0 0 0 28px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.lb-agreement-content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  margin: 0 14px;
  padding: 18px 16px 22px;
  border-radius: 16px;
  background: #fff !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
}

.lb-agreement-content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.lb-agreement-content-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.lb-agreement-bar {
  flex-shrink: 0;
  width: 4px;
  height: 18px;
  margin-top: 2px;
  border-radius: 999px;
  background: #e62e2e;
}

.lb-agreement-content-title strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.3;
}

.lb-agreement-content-title span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #9aa3b2;
  line-height: 1.4;
}

.lb-agreement-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #e62e2e;
  background: #fff0f0;
}

.lb-agreement-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lb-agreement-section h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: #e62e2e;
  line-height: 1.45;
}

.lb-agreement-section p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #4a5568;
}

.lb-agreement-section a {
  color: #e62e2e;
  text-decoration: none;
}

/* ========== 抽奖中心（对齐 web.laobancoin.work pages/gift/lottery） ========== */
.lb-lottery-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px calc(env(safe-area-inset-bottom, 0px) + 35px);
  box-sizing: border-box;
  background:
    radial-gradient(circle at 80% 0, rgba(234, 55, 65, 0.34), transparent 26%),
    linear-gradient(180deg, #4a0812 0%, #8d101e 34%, #fff5f6 34%, #fff 100%);
  color: #4a1820;
  font-family: "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", sans-serif;
}

.lb-lottery-topbar {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  height: 32px;
  color: #fff;
}

.lb-lottery-back-btn {
  display: flex;
  align-items: center;
  width: 32px;
  height: 32px;
  text-decoration: none;
}

.lb-lottery-back-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.lb-lottery-page-title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.lb-lottery-top-actions {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
}

.lb-lottery-top-action {
  border: 0;
  padding: 0;
  background: none;
  color: #ffe0e2;
  font-size: 11px;
  font-weight: 800;
}

.lb-lottery-hero-banner {
  position: relative;
  overflow: hidden;
  height: 145px;
  margin-top: 10px;
  border: 0.5px solid rgba(255, 218, 124, 0.5);
  border-radius: 15px;
  box-shadow: 0 10px 21px rgba(82, 7, 18, 0.28);
}

.lb-lottery-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-lottery-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(73, 6, 15, 0.88), rgba(73, 6, 15, 0.22));
}

.lb-lottery-hero-copy {
  position: relative;
  z-index: 1;
  padding: 24px 15px;
  color: #fff;
}

.lb-lottery-hero-title {
  margin: 0;
  color: #ffe09a;
  font-size: 23px;
  font-weight: 900;
}

.lb-lottery-hero-subtitle {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 900;
}

.lb-lottery-hero-desc {
  margin: 9px 0 0;
  color: #ffe0e2;
  font-size: 10.5px;
}

.lb-lottery-chance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: -8px;
  padding: 11.5px 12px;
  border: 0.5px solid #ffdadf;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(102, 14, 27, 0.08);
  position: relative;
  z-index: 2;
}

.lb-lottery-chance-main span,
.lb-lottery-chance-main strong {
  display: block;
}

.lb-lottery-chance-label {
  color: #8c6870;
  font-size: 10.5px;
}

.lb-lottery-chance-main strong {
  margin-top: 3.5px;
  color: #d7192a;
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
}

.lb-lottery-chance-main strong em {
  font-size: 11px;
  font-style: normal;
}

.lb-lottery-chance-tip {
  max-width: 130px;
  color: #9a747c;
  font-size: 10px;
  line-height: 1.45;
  text-align: right;
}

.lb-lottery-draw-panel,
.lb-lottery-source-card {
  margin-top: 10px;
  padding: 12px 10px 10px;
  border: 0.5px solid #ffe0e3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(101, 14, 27, 0.08);
}

.lb-lottery-panel-title {
  margin: 0;
  color: #531521;
  font-size: 15px;
  font-weight: 900;
}

.lb-lottery-prize-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(82px, 1fr));
  gap: 7px;
  margin-top: 11px;
  padding: 8px;
  border-radius: 12px;
  background: #fff5f6;
}

.lb-lottery-prize-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 3px 5px;
  box-sizing: border-box;
  border: 0;
  border-radius: 10px;
  color: #888;
  background: #fff;
  box-shadow: 0 2px 8px rgba(101, 14, 27, 0.08);
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.lb-lottery-prize-icon,
.lb-lottery-prize-cover {
  display: block;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.lb-lottery-prize-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #b01020, #ef4352);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.lb-lottery-prize-cover {
  object-fit: contain;
}

.lb-lottery-prize-text {
  display: -webkit-box;
  max-width: 94%;
  min-height: 2.2em;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.2;
  color: #888;
  text-align: center;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lb-lottery-prize-item.is-active,
.lb-lottery-prize-item.is-winner {
  transform: scale(1.04);
  border-color: #f6c655;
  color: #9a6100;
  background: linear-gradient(145deg, #fff9df, #fff0b9);
  box-shadow: 0 0 0 2px rgba(255, 213, 97, 0.25), 0 6px 13px rgba(216, 158, 22, 0.25);
}

.lb-lottery-prize-item.is-active .lb-lottery-prize-icon,
.lb-lottery-prize-item.is-winner .lb-lottery-prize-icon {
  color: #845000;
  background: linear-gradient(135deg, #f4b734, #ffe89a);
}

.lb-lottery-prize-item.is-active .lb-lottery-prize-text,
.lb-lottery-prize-item.is-winner .lb-lottery-prize-text {
  color: #9a6100;
  font-weight: 800;
}

.lb-lottery-prize-item.is-winner {
  animation: lb-lottery-winner-pulse 0.75s infinite alternate;
}

@keyframes lb-lottery-winner-pulse {
  0% {
    box-shadow: 0 0 0 1.5px rgba(255, 213, 97, 0.24), 0 5px 11px rgba(216, 158, 22, 0.2);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(255, 213, 97, 0.44), 0 8px 16px rgba(216, 158, 22, 0.38);
  }
}

.lb-lottery-draw-cell {
  grid-area: 2 / 2;
  position: relative;
  min-width: 0;
  min-height: 0;
  border-radius: 10px;
}

.lb-lottery-draw-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  background: linear-gradient(145deg, #ff5a6a, #ed3544 55%, #d7192a);
  box-shadow:
    inset 0 0 0 1px rgba(255, 230, 155, 0.76),
    0 0 16px rgba(237, 53, 68, 0.38),
    0 5px 10px rgba(169, 14, 29, 0.28);
}

.lb-lottery-draw-center::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 0.5px solid rgba(255, 224, 147, 0.45);
  border-radius: 7px;
  pointer-events: none;
}

.lb-lottery-draw-light {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 95, 0.28) 0%, rgba(255, 214, 95, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.lb-lottery-draw-center strong,
.lb-lottery-draw-center .lb-lottery-draw-sub {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
}

.lb-lottery-draw-center strong {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.lb-lottery-draw-center .lb-lottery-draw-sub {
  font-size: 9px;
  line-height: 1.2;
  opacity: 0.92;
}

.lb-lottery-draw-center:disabled {
  opacity: 0.65;
}

.lb-lottery-source-card {
  padding-bottom: 3px;
}

.lb-lottery-source-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lb-lottery-source-row {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 0.5px solid #f8e8e9;
  color: #76515a;
  font-size: 11px;
}

.lb-lottery-source-row:last-child {
  border-bottom: 0;
}

.lb-lottery-source-row strong {
  flex-shrink: 0;
  color: #c81729;
  font-size: 10.5px;
  font-weight: 800;
  text-align: right;
}

.lb-lottery-source-row.is-done span {
  color: #94a3b8;
}

.lb-lottery-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  display: none;
  padding: 12px;
  box-sizing: border-box;
  background: rgba(42, 3, 10, 0.66);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lb-lottery-mask.is-open {
  display: flex;
}

.lb-lottery-sheet-mask.is-open {
  align-items: flex-end;
  justify-content: center;
}

.lb-lottery-win-overlay.is-open {
  align-items: center;
  justify-content: center;
}

.lb-lottery-sheet {
  width: 100%;
  max-height: 78vh;
  overflow: auto;
  padding: 15px 13px 13px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.lb-lottery-sheet-title {
  margin: 0 0 12px;
  color: #531521;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.lb-lottery-rule-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lb-lottery-rule-row {
  display: flex;
  gap: 7px;
  padding: 10.5px 0;
  border-bottom: 0.5px solid #f8eaeb;
  color: #76515a;
  font-size: 11.5px;
  line-height: 1.6;
}

.lb-lottery-rule-row:last-child {
  border-bottom: 0;
}

.lb-lottery-rule-row span {
  flex: none;
  width: 17px;
  height: 17px;
  line-height: 17px;
  border-radius: 50%;
  color: #fff;
  background: #d0182a;
  font-size: 9.5px;
  text-align: center;
  font-weight: 900;
}

.lb-lottery-sheet-btn,
.lb-lottery-win-confirm {
  width: 100%;
  height: 41px;
  margin-top: 12px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #a90e1d, #ef3b4a);
  font-size: 14px;
  font-weight: 900;
}

.lb-lottery-record-sheet {
  min-height: 195px;
}

.lb-lottery-record-empty {
  padding: 27px 0;
  color: #9a747c;
  font-size: 11.5px;
  text-align: center;
}

.lb-lottery-record-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lb-lottery-record-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  padding: 10.5px 0;
  border-bottom: 0.5px solid #f8eaeb;
}

.lb-lottery-record-row:last-child {
  border-bottom: 0;
}

.lb-lottery-record-row strong,
.lb-lottery-record-row span {
  display: block;
}

.lb-lottery-record-row strong {
  color: #531521;
  font-size: 12.5px;
}

.lb-lottery-record-row span {
  margin-top: 4px;
  color: #9a747c;
  font-size: 9.5px;
}

.lb-lottery-record-row em {
  flex: none;
  font-style: normal;
  color: #16a667;
  font-size: 10.5px;
  font-weight: 900;
}

.lb-lottery-win-card {
  width: 305px;
  max-width: 88vw;
  padding: 19px 15px 15px;
  border: 1px solid #ffe18b;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(155deg, #8c0c19, #3f050b);
  box-shadow: 0 0 0 5px rgba(255, 210, 83, 0.12), 0 15px 35px rgba(0, 0, 0, 0.36);
  text-align: center;
}

.lb-lottery-win-spark {
  color: #ffe391;
  font-size: 18px;
  font-weight: 900;
}

.lb-lottery-gift-box-char {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 59px;
  height: 59px;
  margin: 14px auto 10px;
  border-radius: 17px;
  color: #7b4a00;
  background: linear-gradient(145deg, #ffe89d, #e7a521);
  box-shadow: 0 0 17px rgba(255, 212, 82, 0.56);
  font-size: 27px;
  font-weight: 900;
}

.lb-lottery-win-sublabel {
  color: #ffe0e2;
  font-size: 11px;
}

.lb-lottery-win-prize {
  margin-top: 5px;
  color: #ffe18b;
  font-size: 17.5px;
  font-weight: 900;
}

.lb-lottery-win-desc {
  margin-top: 8px;
  color: #ffe3e5;
  font-size: 11px;
  line-height: 1.55;
}

.lb-lottery-draw-again {
  display: block;
  width: 100%;
  margin-top: 11px;
  border: 0;
  padding: 0;
  background: none;
  color: #ffe18b;
  font-size: 11.5px;
  font-weight: 700;
}


/* ========== 每日签到（对齐 web.laobancoin.work pages/user/signin） ========== */
.lb-signin-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  background:
    radial-gradient(90% 46% at 18% 0, rgba(217, 22, 31, 0.12) 0, rgba(217, 22, 31, 0) 62%),
    linear-gradient(180deg, #f5f9ff, #f5f7fa 45%, #fff);
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lb-signin-header {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-signin-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-signin-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-signin-hero {
  position: relative;
  overflow: hidden;
  margin: 12px 12px 0;
  padding: 16px 16px 18px;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(240, 68, 76, 0.36), transparent 34%),
    linear-gradient(135deg, #24060a, #3a0b12 56%, #d9161f);
  box-shadow: 0 9px 21px rgba(58, 11, 18, 0.18);
}

.lb-signin-hero-ring {
  position: absolute;
  right: -18px;
  top: -18px;
  width: 92px;
  height: 92px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.lb-signin-kicker {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
}

.lb-signin-hero h2 {
  margin: 10px 0 0;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-signin-desc {
  margin-top: 10px;
}

.lb-signin-desc p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  line-height: 1.55;
}

.lb-signin-action {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff4d57, #d9161f 58%, #a30f18);
  box-shadow: 0 8px 18px rgba(217, 22, 31, 0.28);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lb-signin-action.is-disabled,
.lb-signin-action:disabled {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.lb-signin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 12px 12px 0;
  padding: 14px 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.lb-signin-stat {
  position: relative;
  text-align: center;
}

.lb-signin-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 28px;
  background: #edf0f5;
  transform: translateY(-50%);
}

.lb-signin-stat strong {
  display: block;
  color: #d9161f;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.lb-signin-stat span {
  display: block;
  margin-top: 6px;
  color: #8b95a5;
  font-size: 11px;
}

.lb-signin-card {
  margin: 12px 12px 0;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.lb-signin-card-title {
  color: #1f2937;
  font-size: 15px;
  font-weight: 900;
}

.lb-signin-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.lb-signin-data-item {
  padding: 12px 10px;
  border-radius: 10px;
  background: #fff3f4;
}

.lb-signin-data-item.is-wide {
  grid-column: 1 / -1;
}

.lb-signin-data-item span {
  display: block;
  color: #8b95a5;
  font-size: 11px;
}

.lb-signin-data-item strong {
  display: block;
  margin-top: 6px;
  color: #d9161f;
  font-size: 14px;
  font-weight: 800;
}

.lb-signin-note {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f3f6;
}

.lb-signin-note-label {
  flex: none;
  color: #8b95a5;
  font-size: 11px;
  line-height: 1.6;
}

.lb-signin-note-copy strong {
  display: block;
  color: #1f2937;
  font-size: 13px;
  font-weight: 800;
}

.lb-signin-note-copy p {
  margin: 4px 0 0;
  color: #8b95a5;
  font-size: 11px;
  line-height: 1.55;
}

.lb-signin-calendar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.lb-signin-calendar-sub {
  margin-top: 4px;
  color: #8b95a5;
  font-size: 11px;
}

.lb-signin-calendar-sub em {
  color: #d9161f;
  font-style: normal;
  font-weight: 800;
}

.lb-signin-calendar-badge {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  color: #d9161f;
  background: #fff0f1;
  font-size: 10px;
  font-weight: 700;
}

.lb-signin-week-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.lb-signin-week-row span {
  text-align: center;
  color: #8b95a5;
  font-size: 11px;
  font-weight: 700;
}

.lb-signin-day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.lb-signin-day {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 8px;
  color: #64748b;
  background: #fff5f6;
  font-size: 12px;
  font-weight: 700;
}

.lb-signin-day.is-empty {
  background: transparent;
}

.lb-signin-day.is-today {
  color: #d9161f;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #d9161f;
}

.lb-signin-day.is-today-signed,
.lb-signin-day.is-signed {
  color: #fff;
  background: linear-gradient(135deg, #ff6670, #d9161f);
}

.lb-signin-day.is-today-signed {
  box-shadow: inset 0 0 0 1.5px #d9161f;
}

/* ========== 进群有礼（对齐 web.laobancoin.work 首页进群入口） ========== */
.lb-group-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  background:
    radial-gradient(90% 46% at 18% 0, rgba(217, 22, 31, 0.12) 0, rgba(217, 22, 31, 0) 62%),
    linear-gradient(180deg, #f5f9ff, #f5f7fa 45%, #fff);
  color: #3a0b12;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lb-group-header {
  position: relative;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #24060a, #3a0b12);
}

.lb-group-header h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-group-back {
  position: absolute;
  left: 10px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.lb-group-hero {
  position: relative;
  margin: 12px 12px 0;
  padding: 18px 16px 16px;
  border-radius: 15px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(240, 68, 76, 0.36), transparent 34%),
    linear-gradient(135deg, #24060a, #3a0b12 56%, #d9161f);
  box-shadow: 0 9px 21px rgba(58, 11, 18, 0.18);
}

.lb-group-kicker {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 700;
}

.lb-group-hero h2 {
  margin: 10px 0 0;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lb-group-hero-ring {
  position: absolute;
  right: -18px;
  top: -18px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.lb-group-card {
  margin: 12px;
  padding: 18px 16px 20px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.lb-group-qr-main {
  text-align: center;
}

.lb-group-qr-btn,
.lb-group-qr-secondary-btn {
  display: block;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lb-group-qr-btn img,
.lb-group-qr-btn #lbGroupQrMain,
.lb-group-qr-btn #lbGroupQrMain img,
.lb-group-qr-btn #lbGroupQrMain canvas {
  display: block;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.lb-group-scan-tip {
  margin: 12px 0 4px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.lb-group-expire {
  margin: 0 0 16px;
  color: #94a3b8;
  font-size: 12px;
}

.lb-group-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  text-align: center;
}

.lb-group-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.lb-group-brand strong {
  color: #1f2937;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.lb-group-links {
  margin-bottom: 16px;
  color: #334155;
  font-size: 13px;
  line-height: 1.7;
}

.lb-group-link-row {
  margin-bottom: 8px;
  word-break: break-all;
}

.lb-group-link-row span {
  color: #475569;
  font-weight: 600;
}

.lb-group-link-row a {
  color: #2563eb;
  text-decoration: underline;
}

.lb-group-assistant {
  margin-top: 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.lb-group-desc {
  margin-bottom: 18px;
  color: #475569;
  font-size: 13px;
  line-height: 1.75;
}

.lb-group-desc p {
  margin: 0 0 8px;
}

.lb-group-desc p:last-child {
  margin-bottom: 0;
}

.lb-group-qr-secondary {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.lb-group-qr-secondary-btn {
  position: relative;
}

.lb-group-qr-secondary-btn > img {
  display: block;
  width: 132px;
  height: 132px;
  border-radius: 8px;
}

.lb-group-qr-secondary-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  padding: 2px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.lb-group-qr-secondary-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lb-group-preview {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.lb-group-preview-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.lb-group-preview-body {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(86vw, 320px);
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.lb-group-preview-title {
  margin-bottom: 12px;
  text-align: center;
  color: #1f2937;
  font-size: 16px;
  font-weight: 800;
}

.lb-group-preview-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.lb-group-preview-qr img,
.lb-group-preview-qr canvas {
  display: block;
  width: 260px !important;
  height: 260px !important;
}

.lb-group-preview-close {
  display: block;
  width: 100%;
  margin-top: 14px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff6670, #d9161f);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

body.lb-group-preview-open {
  overflow: hidden;
}
