/* Linkhub 扩展：首页双列信息流、积分/曝光包/二级页 — 与 main.css 并存 */

/* —— 联系我们 —— */
.contact-page .contact-page-email-label {
  margin: 16px 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.contact-page .contact-page-email-wrap {
  margin: 0 0 14px;
}

.contact-page .contact-page-email-link {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  word-break: break-all;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-page .contact-page-email-link:hover {
  opacity: 0.9;
}

/* —— 信息流详情页 —— */
.listing-detail-main {
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
}
.listing-detail-card {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.listing-detail-empty {
  text-align: center;
  padding: var(--space-xl) var(--space-md) !important;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.listing-detail-empty-text {
  color: var(--text-secondary);
  margin: 0 0 16px;
  font-size: 14px;
}

/* 信息详情：与首页信息流一致的价格样式、首图封面、多图横滑、分享图标同一行 */
.listing-detail-card .card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.listing-detail-card .card-head .card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.listing-detail-card .card-head .card-price {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 12px;
  padding: 2px 8px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.25;
}

.listing-detail-meta {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 10px;
}

.listing-detail-meta-row2 {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
}

.listing-detail-meta-sep {
  opacity: 0.45;
  margin: 0 2px;
}

.listing-detail-meta-item {
  white-space: nowrap;
}

.listing-detail-meta-highlight {
  color: var(--primary);
  font-weight: 600;
}

.listing-detail-media {
  margin-bottom: 12px;
}

.listing-detail-hero {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  margin-bottom: 8px;
}

.listing-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-detail-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.listing-detail-thumb {
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  width: 72px;
  height: 54px;
  cursor: pointer;
  background: var(--bg-secondary);
}

.listing-detail-thumb:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.listing-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-detail-desc {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
  white-space: pre-wrap;
  font-size: 14px;
  margin-bottom: 12px;
}

/* 联系发布者 + 收藏/举报同一行（收藏、举报在按钮右侧） */
.listing-detail-contact-section .listing-detail-contact-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.listing-detail-contact-head .contact-btn {
  flex-shrink: 0;
}

.listing-detail-fav-report {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.listing-detail-inline-act {
  flex-direction: row;
  align-items: center;
  padding: 6px 4px;
  white-space: nowrap;
}

/* 未解锁：联系方式提示 + 分享/会员/付费按钮区域收紧，避免占满屏 */
.listing-detail-contact-section .contact-info.contact-locked {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}

.listing-detail-contact-section .contact-unlock-actions {
  margin-top: 8px;
  gap: 6px;
  max-width: min(100%, 300px);
}

.listing-detail-contact-section .contact-unlock-actions .btn {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  min-height: 0;
  line-height: 1.3;
}

/* 底栏仅分享：去掉「信息详情」文案，整块靠右、图标略大、单行 */
.listing-detail-footer.listing-detail-footer--share-only {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 14px;
  padding-top: 14px;
}

.listing-detail-footer--share-only .native-share-bar {
  margin-left: auto;
  margin-right: 0;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 10px;
  padding-bottom: 0;
}

.listing-detail-card .listing-detail-footer--share-only .native-share-label {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.listing-detail-card .listing-detail-footer--share-only .native-share-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  font-size: 18px;
  line-height: 1;
}

/* —— 首页信息流：结构容器 —— */
/* 子卡片直接参与 grid（与 demo 中 #feed 下多枚 .card 一致） */
#homeDemoListingCards {
  display: contents;
}

/* ===== 首页卡片终版（仅首页信息流） ===== */
/* 布局容器 */
#homeFeedGrid {
  /* 首页卡片局部令牌：用于微调封面角标可读性 */
  --home-card-badge-bg: rgba(15, 23, 42, 0.42);
  --home-card-gap: 10px;
  --home-card-padding: 10px;
  --home-card-radius: 18px;
  --home-card-media-radius: 8px;
  --home-card-press-scale: 0.98;
  --home-card-gap-xs: 3px;
  --home-card-gap-sm: 4px;
  --home-card-gap-md: 5px;
  --home-card-gap-lg: 8px;
  --home-card-space-top: 5px;
  --home-card-space-xs: 6px;
  --home-card-space-sm: 8px;
  --home-card-title-size: 13px;
  --home-card-price-size: 16px;
  --home-card-meta-size: 10px;
  --home-card-time-size: 10px;
  --home-card-pill-size: 9px;
  --home-card-pill-px: 6px;
  --home-card-pill-py: 2px;
  --home-card-line-tight: 1.3;
  --home-card-line-normal: 1.35;
  --home-card-footer-size: 10px;
  --home-card-action-size: 11px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--home-card-gap);
  padding: 0 0 16px;
}

#homeFeedGrid .home-minimal-feed-card,
#homeFeedGrid .home-minimal-feed-card.content-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--home-card-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  padding: var(--home-card-padding);
  margin-bottom: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  min-height: 258px;
}

#homeFeedGrid .home-minimal-feed-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

#homeFeedGrid .home-minimal-feed-card:active {
  transform: scale(var(--home-card-press-scale));
  box-shadow: var(--shadow-sm);
}

#homeFeedGrid .home-minimal-feed-card.home-card-no-media:active {
  transform: scale(0.992);
}

/* 文本信息（标题 / 价格 / 元信息） */
#homeFeedGrid .home-minimal-feed-card .card-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: var(--home-card-gap-md);
  margin-bottom: var(--home-card-gap-sm);
  order: 1;
}

#homeFeedGrid .home-minimal-feed-card .card-head .card-title {
  font-size: var(--home-card-title-size);
  font-weight: 600;
  color: var(--text-primary);
  line-height: var(--home-card-line-normal);
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#homeFeedGrid .home-minimal-feed-card .card-head .card-price {
  font-size: var(--home-card-price-size);
  font-weight: 700;
  color: var(--primary);
  line-height: var(--home-card-line-tight);
  white-space: nowrap;
  margin-top: 0;
  margin-bottom: var(--home-card-gap-sm);
}

/* 媒体区（封面 / 角标） */
#homeFeedGrid .home-minimal-feed-card .card-media {
  position: relative;
  border-radius: var(--home-card-media-radius);
  overflow: hidden;
  aspect-ratio: auto;
  height: 94px;
  margin-top: auto;
  margin-bottom: 0;
  background: var(--bg-secondary);
  order: 4;
}

#homeFeedGrid .home-minimal-feed-card.home-card-no-media {
  min-height: 258px;
}

#homeFeedGrid .home-minimal-feed-card.home-card-no-media .card-media {
  display: block;
  background: transparent;
}

#homeFeedGrid .home-minimal-feed-card.home-card-no-media .card-head .card-title {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

#homeFeedGrid .home-minimal-feed-card.home-card-no-media .card-head .card-price {
  margin-bottom: var(--home-card-gap-xs);
}

#homeFeedGrid .home-minimal-feed-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#homeFeedGrid .home-minimal-feed-card .card-badge {
  position: absolute;
  top: var(--home-card-gap-md);
  left: var(--home-card-gap-md);
  background: var(--home-card-badge-bg);
  color: var(--text-inverse);
  font-size: var(--home-card-pill-size);
  line-height: 1;
  border-radius: 999px;
  padding: var(--home-card-pill-py) var(--home-card-pill-px);
  max-width: calc(100% - (var(--home-card-gap-md) * 2));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#homeFeedGrid .home-minimal-feed-card .card-badge.badge-hot {
  background: #fee2e2;
  color: #b91c1c;
}

#homeFeedGrid .home-minimal-feed-card .card-badge.badge-rental {
  background: #ccfbf1;
  color: #0f766e;
}

#homeFeedGrid .home-minimal-feed-card .card-badge.badge-secondhand {
  background: #fef3c7;
  color: #b45309;
}

#homeFeedGrid .home-minimal-feed-card .card-badge-inline {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: var(--home-card-pill-size);
  line-height: 1;
  border-radius: 999px;
  padding: var(--home-card-pill-py) var(--home-card-pill-px);
  margin-bottom: var(--home-card-gap-xs);
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

#homeFeedGrid .home-minimal-feed-card .card-badge-inline.badge-job {
  background: #e0f2fe;
  color: #0369a1;
}

/* 元信息与时间地点 */
#homeFeedGrid .home-minimal-feed-card .card-meta-line {
  display: flex;
  align-items: center;
  gap: var(--home-card-gap-sm);
  margin-bottom: var(--home-card-gap-xs);
  font-size: var(--home-card-meta-size);
  color: var(--text-secondary);
  line-height: var(--home-card-line-tight);
  min-width: 0;
  order: 2;
}

#homeFeedGrid .home-minimal-feed-card .card-meta-line .cat-pill {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: var(--home-card-pill-size);
  line-height: 1;
  border-radius: 999px;
  padding: var(--home-card-pill-py) var(--home-card-pill-px);
  flex-shrink: 0;
}

#homeFeedGrid .home-minimal-feed-card .card-meta-line .feature-text {
  color: var(--text-tertiary);
  line-height: var(--home-card-line-tight);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#homeFeedGrid .home-minimal-feed-card .card-meta-line .tag.cat-pill,
#homeFeedGrid .home-minimal-feed-card .card-meta-line .feature-text,
#homeFeedGrid .home-minimal-feed-card .time-loc .time-loc-text {
  font-weight: 500;
}

#homeFeedGrid .home-minimal-feed-card .time-loc {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--home-card-gap-md);
  font-size: var(--home-card-time-size);
  color: var(--text-secondary);
  line-height: var(--home-card-line-tight);
  margin-bottom: var(--home-card-space-xs);
  order: 3;
}

#homeFeedGrid .home-minimal-feed-card .time-loc-text {
  color: var(--text-secondary);
}

#homeFeedGrid .home-minimal-feed-card .time-loc-part {
  display: inline-flex;
  align-items: center;
  gap: var(--home-card-gap-xs);
  min-width: 0;
  flex: 0 1 auto;
}

#homeFeedGrid .home-minimal-feed-card .time-loc-where {
  justify-content: flex-start;
}

/* 卡片底部动作区 */
#homeFeedGrid .home-minimal-feed-card .contact-section {
  margin-top: var(--home-card-space-top);
}

#homeFeedGrid .home-minimal-feed-card .contact-btn {
  padding: var(--home-card-gap-md) var(--home-card-space-sm);
  font-size: var(--home-card-action-size);
}

#homeFeedGrid .home-minimal-feed-card .contact-info {
  padding: var(--home-card-space-xs);
  font-size: var(--home-card-action-size);
  margin-top: var(--home-card-space-top);
}

#homeFeedGrid .home-minimal-feed-card .contact-unlock-actions {
  gap: var(--home-card-gap-sm);
  margin-top: var(--home-card-space-top);
}

#homeFeedGrid .home-minimal-feed-card .contact-unlock-actions .btn {
  padding: 5px var(--home-card-space-xs);
  font-size: var(--home-card-footer-size);
}

#homeFeedGrid .home-minimal-feed-card .card-footer {
  flex-direction: column;
  align-items: stretch;
  gap: var(--home-card-gap-md);
  padding-top: var(--home-card-space-xs);
  margin-top: var(--home-card-space-top);
}

#homeFeedGrid .home-minimal-feed-card .card-meta {
  font-size: var(--home-card-footer-size);
  flex-wrap: wrap;
  gap: var(--home-card-gap-md);
}

#homeFeedGrid .home-minimal-feed-card .card-actions {
  flex-wrap: wrap;
  gap: var(--home-card-space-xs);
  justify-content: space-between;
}

#homeFeedGrid .home-minimal-feed-card .native-share-bar {
  width: 100%;
  justify-content: flex-start;
  gap: var(--home-card-gap-md);
}

#homeFeedGrid .home-minimal-feed-card .native-share-btn {
  width: 28px;
  height: 28px;
}

#homeFeedGrid .home-minimal-feed-card .native-share-label {
  font-size: var(--home-card-footer-size);
}

#homeFeedGrid .home-minimal-feed-card .action-btn.report-btn {
  font-size: var(--home-card-action-size);
  padding: var(--home-card-gap-sm) 0;
}

/* 响应式 */
@media (max-width: 559px) {
  #homeFeedGrid {
    --home-card-gap: 8px;
    --home-card-space-xs: 5px;
    --home-card-space-sm: 7px;
    --home-card-title-size: 13px;
    --home-card-price-size: 14px;
    --home-card-meta-size: 10px;
    --home-card-time-size: 9px;
  }

  #homeFeedGrid .home-minimal-feed-card .time-loc {
    flex-wrap: wrap;
    row-gap: var(--home-card-gap-md);
    column-gap: 12px;
  }
}

/* 超小屏适配 */
@media (max-width: 380px) {
  #homeFeedGrid {
    --home-card-gap: 8px;
    --home-card-space-xs: 5px;
    --home-card-space-sm: 7px;
    --home-card-title-size: 12px;
    --home-card-price-size: 13px;
    --home-card-meta-size: 9px;
    --home-card-time-size: 9px;
    --home-card-pill-size: 8px;
    --home-card-pill-px: 5px;
    padding-top: 0;
    padding-bottom: 14px;
    --home-card-radius: 12px;
    --home-card-media-radius: 7px;
  }

  #homeFeedGrid .home-minimal-feed-card {
    --home-card-padding: 9px;
    min-height: 236px;
  }

  #homeFeedGrid .home-minimal-feed-card.home-card-no-media {
    min-height: 236px;
  }

  #homeFeedGrid .home-minimal-feed-card .card-media {
    height: 82px;
  }

  #homeFeedGrid .home-minimal-feed-card .contact-btn {
    width: 100%;
    justify-content: center;
  }

  #homeFeedGrid .home-minimal-feed-card .contact-unlock-actions .btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    text-align: center;
    justify-content: center;
  }
}

/* 交互动效与点击态 */
.home-listing-card[data-hub-card="1"],
.content-card[data-demo-listing="1"] {
  cursor: pointer;
}

#homeFeedGrid .home-minimal-feed-card[data-hub-card="1"]:active {
  transform: scale(var(--home-card-press-scale));
}

#homeFeedGrid .home-minimal-feed-card.home-card-no-media[data-hub-card="1"]:active {
  transform: scale(0.992);
}

@media (prefers-reduced-motion: reduce) {
  #homeFeedGrid .home-minimal-feed-card,
  #homeFeedGrid .home-minimal-feed-card.content-card {
    transition: none;
  }

  #homeFeedGrid .home-minimal-feed-card:active,
  #homeFeedGrid .home-minimal-feed-card[data-hub-card="1"]:active {
    transform: none;
  }

  #homeFeedGrid .home-minimal-feed-card.home-card-no-media:active,
  #homeFeedGrid .home-minimal-feed-card.home-card-no-media[data-hub-card="1"]:active {
    transform: none;
  }
}

.home-listing-card[data-hub-card="1"]:not(.home-minimal-feed-card):active,
.content-card[data-demo-listing="1"]:not(.home-minimal-feed-card):active {
  transform: scale(0.985);
}

/* —— 我的页：积分 / 网格 / 曝光 / 任务 —— */
.hub-points-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.hub-points-strip .hub-points-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}
.hub-points-strip .hub-points-label {
  font-size: 12px;
  color: var(--text-secondary);
}
.hub-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.hub-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}
.hub-quick-item:active {
  transform: scale(0.97);
}
.hub-quick-item .emoji {
  font-size: 22px;
  line-height: 1;
}

.hub-quick-grid-tight {
  margin-bottom: 0;
}

/* —— 我的页顶栏：头像 + 积分 —— */
.hub-user-top-card {
  text-align: left;
  padding: var(--space-lg) !important;
}
.hub-user-top-card .login-title,
.hub-user-top-card .login-desc {
  margin-bottom: 0;
}
.hub-user-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hub-user-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.hub-user-top-left:active {
  opacity: 0.92;
}
.hub-user-avatar {
  width: 56px;
  height: 56px;
  margin: 0 !important;
  flex-shrink: 0;
  font-size: 26px !important;
}
.hub-user-text {
  min-width: 0;
}
.hub-user-title {
  font-size: 16px !important;
  font-weight: 700 !important;
}
.hub-user-desc {
  font-size: 12px !important;
  margin-top: 4px !important;
  color: var(--text-secondary) !important;
}
.hub-user-points-hit {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
  cursor: pointer;
  color: var(--primary);
  -webkit-tap-highlight-color: transparent;
}
.hub-user-points-hit:active {
  transform: scale(0.98);
}
.hub-user-points-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.hub-user-points-val {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}
.hub-user-actions {
  justify-content: flex-start !important;
  margin-top: var(--space-md);
}

.hub-exposure-card-user h3 {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* —— 认证状态列表 —— */
.hub-auth-card .card-header {
  margin-bottom: 4px;
}
.hub-auth-list {
  padding-top: 4px;
}
.hub-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.hub-auth-row:last-child {
  border-bottom: none;
}
.hub-auth-row-text {
  min-width: 0;
}
.hub-auth-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.hub-auth-status {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}
.hub-auth-status.is-ok {
  color: var(--accent);
}
.hub-verify-entry-card {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  display: block;
  border: 1px solid var(--border-light, #f1f5f9);
  border-radius: 24px;
  background: var(--card, #fff);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  padding: 12px;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.1s, border-color 0.2s;
}
.hub-verify-entry-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.hub-verify-entry-card:active {
  transform: scale(0.995);
}
.hub-verify-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.hub-verify-entry-sub {
  margin: 0;
  font-size: 12px;
}
.hub-verify-center-summary {
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}
.hub-verify-center-role,
.hub-verify-center-progress {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-primary);
}
.hub-verify-timeline {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.hub-verify-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hub-verify-timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #94a3b8;
  margin-top: 6px;
  flex-shrink: 0;
}
.hub-verify-timeline-dot.is-ok {
  background: #10b981;
}
.hub-verify-timeline-dot.is-pending {
  background: #f59e0b;
}
.hub-verify-timeline-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.hub-verify-timeline-time {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-tertiary);
}
#hubVerifyCenterPage #hubVerifyCenterMain {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 4px;
}
#hubVerifyCenterPage #hubVerifyCenterMain .content-card {
  border-radius: 18px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  padding: 14px;
  margin-bottom: 0;
}
#hubVerifyCenterPage #hubVerifyCenterMain .card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1px;
  color: var(--text-primary);
}
#hubVerifyCenterPage .hub-auth-row {
  padding: 12px 0;
}
#hubVerifyCenterPage .hub-auth-label {
  font-size: 13px;
  font-weight: 700;
}
#hubVerifyCenterPage .hub-auth-status {
  font-size: 12px;
  margin-top: 3px;
}
#hubVerifyCenterPage .hub-auth-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  margin-top: 4px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1px;
}
#hubVerifyCenterPage .hub-auth-status-badge i {
  font-size: 10px;
}
#hubVerifyCenterPage .hub-auth-status-badge.is-ok {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}
#hubVerifyCenterPage .hub-auth-status-badge.is-pending {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}
#hubVerifyCenterPage .hub-auth-status-badge.is-rejected {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}
#hubVerifyCenterPage .hub-auth-status-badge.is-waiting {
  background: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
}
#hubVerifyCenterPage .hub-auth-hint {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.5;
}
#hubVerifyCenterPage .hub-auth-go-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
#hubVerifyCenterPage .hub-auth-go-btn--mini {
  min-height: 28px;
  margin-top: 8px;
  padding: 0 10px;
  font-size: 11px;
}
#hubVerifyCenterPage .hub-verify-center-summary {
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}
#hubVerifyCenterPage .hub-verify-meta {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
}
#hubVerifyCenterPage .hub-verify-lead {
  font-size: 13px;
  line-height: 1.6;
}
#hubVerifyCenterPage .hub-verify-action-row {
  margin-top: 10px;
}
#hubVerifyCenterPage .hub-verify-expired-card {
  border: 1px solid rgba(234, 179, 8, 0.35);
  background: rgba(254, 243, 199, 0.35);
}
#hubVerifyCenterPage .hub-verify-warn-text {
  margin-top: 6px;
  font-size: 12px;
  color: #b45309;
}
#hubVerifyCenterPage .hub-verify-log-title {
  margin-bottom: 4px;
}
#hubVerifyCenterPage .hub-verify-log-item {
  margin-top: 2px;
}
@media (max-width: 380px) {
  #hubVerifyCenterPage #hubVerifyCenterMain .content-card {
    border-radius: 16px;
    padding: 12px;
  }
  #hubVerifyCenterPage .hub-auth-row {
    align-items: flex-start;
  }
}

.hub-redeem-intro {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
}
.hub-redeem-intro-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hub-redeem-bullets {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.hub-redeem-grid-wrap {
  margin-top: 4px;
}

.hub-footer-section {
  margin-bottom: var(--space-lg);
}
.hub-footer-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 4px;
  padding: 8px 0 4px;
}
.hub-footer-link {
  border: none;
  background: none;
  padding: 4px 6px;
  font-size: 12px;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.hub-footer-link:active {
  opacity: 0.75;
}
.hub-footer-dot {
  font-size: 12px;
  color: var(--text-tertiary);
  user-select: none;
}
.hub-footer-version {
  text-align: center;
  padding-top: 4px;
}

.hub-exposure-card {
  padding: 14px;
  margin-bottom: 12px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-end) 100%);
  color: var(--text-inverse);
  box-shadow: var(--shadow-md);
}
.hub-exposure-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
.hub-exposure-card p {
  font-size: 12px;
  opacity: 0.95;
  margin: 0 0 12px;
  line-height: 1.45;
}
.hub-exposure-card .btn {
  background: #fff;
  color: var(--primary);
  border: none;
  font-weight: 700;
}

.hub-task-card .hub-task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}
.hub-task-card .hub-task-row-last {
  border-bottom: none;
}
.hub-redeem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.hub-redeem-grid .btn {
  font-size: 12px;
  padding: 8px;
}

.hub-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.hub-cat-pill {
  font-size: 11px;
  padding: 8px 10px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
}
.hub-cat-pill:active {
  transform: scale(0.98);
}

/* —— 二级页通用 —— */
.hub-subpage .hub-sub-h1 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
}
.hub-price-pill {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hub-pack-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 10px;
  background: var(--card);
}
.hub-pack-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
}
.hub-pack-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.hub-slider-row {
  margin: 12px 0;
}
.hub-slider-row label {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
}
.hub-wallet-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hub-wallet-tabs button {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  font-size: 12px;
  cursor: pointer;
}
.hub-wallet-tabs button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.hub-ledger-line {
  font-size: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

/* —— 我的钱包页（线框：余额/积分/交易 Tab/会员与曝光订单） —— */
.wallet-page-main {
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
}
.wallet-summary-card {
  padding: 14px 16px !important;
  margin-bottom: 16px !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wallet-bal-row,
.wallet-pts-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.wallet-bal-main,
.wallet-pts-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
.wallet-label {
  font-size: 14px;
  color: var(--text-secondary);
}
.wallet-amt-cny {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.wallet-pts-star {
  font-size: 16px;
  line-height: 1;
}
.wallet-pts-num {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.wallet-inline-btn {
  flex-shrink: 0;
  font-size: 13px !important;
  padding: 8px 14px !important;
}
.wallet-section-title {
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--text-primary);
  line-height: 1.4;
}
.wallet-section-hint {
  font-weight: 400;
  font-size: 13px;
  color: var(--text-secondary);
}
.wallet-ledger-tabs {
  margin-bottom: 8px;
}
.wallet-ledger-list {
  min-height: 48px;
}
.wallet-ledger-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 8px 10px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}
.wallet-ledger-date {
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.wallet-ledger-mid {
  color: var(--text-primary);
  min-width: 0;
  word-break: break-word;
}
.wallet-ledger-amt {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.wallet-ledger-amt.is-income {
  color: var(--accent);
}
.wallet-ledger-amt.is-expense {
  color: var(--danger);
}
.wallet-ledger-empty {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 16px 4px;
  margin: 0;
}
.wallet-sub-orders {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wallet-sub-empty {
  text-align: center;
  padding: 16px !important;
}
.wallet-sub-empty-text {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.wallet-sub-cta {
  margin-top: 0;
}
.wallet-order-card {
  padding: 14px !important;
}
.wallet-order-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.wallet-order-card-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}
.wallet-order-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 360px) {
  .wallet-ledger-row {
    grid-template-columns: 84px 1fr auto;
    gap: 6px;
  }
}

/* —— 分享与邀请中心 —— */
.share-invite-main {
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.share-invite-overview-strip {
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, var(--primary) 14%, var(--border, #e2e8f0));
  background: linear-gradient(145deg, #ffffff 0%, color-mix(in oklab, var(--primary) 8%, #ffffff) 100%);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  padding: 12px 13px !important;
}
.share-invite-overview-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.share-invite-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.share-invite-overview-item {
  border-radius: 10px;
  border: 1px solid var(--border-light, #e2e8f0);
  background: #ffffff;
  padding: 8px 6px;
  text-align: center;
}
.share-invite-overview-item span {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.2;
}
.share-invite-overview-item b {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.share-invite-block {
  padding: 14px 16px !important;
  margin-bottom: 0 !important;
  border-radius: 16px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  background: #ffffff;
}
.share-invite-section-head {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.1px;
}
.share-invite-card-status {
  min-height: 26px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  margin: -2px 0 10px;
}
.share-invite-card-status i {
  font-size: 11px;
}
.share-invite-card-status.is-live {
  border-color: #7dd3fc;
  background: #f0f9ff;
  color: #0369a1;
}
.share-invite-card-status.is-warn {
  border-color: #fcd34d;
  background: #fffbeb;
  color: #b45309;
}
.share-invite-card-status.is-ok {
  border-color: #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
}
.share-invite-card-status.is-neutral {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #475569;
}
.share-invite-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.share-invite-kpi-item {
  border-radius: 10px;
  border: 1px solid var(--border-light, #e2e8f0);
  background: #f8fafc;
  padding: 8px 10px;
}
.share-invite-kpi-item span {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.2;
}
.share-invite-kpi-item b {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  line-height: 1;
  color: var(--text-primary);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.share-invite-log-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  flex-wrap: wrap;
}
.share-invite-log-chip {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
}
.share-invite-log-chip.is-active {
  color: #0f766e;
  border-color: #99f6e4;
  background: #f0fdfa;
}
.share-invite-list {
  border: 1px solid var(--border-light, #f1f5f9);
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
  margin-bottom: 12px;
  padding: 8px;
}
.share-invite-time-group + .share-invite-time-group {
  margin-top: 8px;
}
.share-invite-time-group__head {
  width: 100%;
  min-height: 26px;
  padding: 0 2px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  border: none;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.share-invite-time-group__head em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
}
.share-invite-time-group__head i {
  font-size: 10px;
  color: #94a3b8;
  transition: transform 0.18s ease;
}
.share-invite-time-group__head b {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.share-invite-time-group__body {
  display: block;
}
.share-invite-time-group.is-collapsed .share-invite-time-group__body {
  display: none;
}
.share-invite-time-group.is-collapsed .share-invite-time-group__head {
  padding-bottom: 2px;
}
.share-invite-time-group.is-collapsed .share-invite-time-group__head i {
  transform: rotate(-90deg);
}
.share-invite-list-item {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  margin-bottom: 6px;
}
.share-invite-list-item:last-child {
  margin-bottom: 0;
}
.share-invite-list-main {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 6px;
}
.share-invite-list-main i {
  margin-top: 2px;
  color: var(--primary);
  font-size: 12px;
}
.share-invite-list-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-secondary);
}
.share-invite-stars {
  font-weight: 700;
  color: var(--warning);
}
.share-invite-list-date {
  font-variant-numeric: tabular-nums;
}
.share-invite-empty {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  padding: 18px 10px;
  line-height: 1.5;
  text-align: center;
  border-radius: 10px;
  border: 1px dashed #cbd5e1;
  background: #ffffff;
}
.share-invite-light-share {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
}
.share-invite-quota-track {
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin: 2px 0 10px;
}
.share-invite-quota-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d9488 0%, #14b8a6 100%);
}
.share-invite-light-share-tip,
.share-invite-light-share-stats {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0 0 8px;
}
.share-invite-light-share-tip {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.share-invite-light-share-tip i {
  color: #0284c7;
  font-size: 12px;
  margin-top: 2px;
}
.share-invite-antifraud {
  font-size: 11px;
  color: var(--danger);
  margin: 8px 0 0;
  line-height: 1.4;
}
.share-invite-code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-light, #f1f5f9);
}
.share-invite-code-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.share-invite-code-value {
  font-size: 15px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  letter-spacing: 0.02em;
}
.share-invite-copy-code-btn {
  min-height: 34px;
  font-size: 12px !important;
  font-weight: 700;
  border-radius: 10px;
  padding: 0 12px !important;
}
.share-invite-stats-line {
  font-size: 13px;
  color: var(--text-primary);
  margin: 0 0 12px;
  font-weight: 600;
  line-height: 1.5;
}
.share-invite-link-line {
  margin: 0 0 10px;
  border-radius: 10px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  padding: 7px 9px;
  font-size: 11px;
  color: #475569;
  line-height: 1.35;
  word-break: break-all;
}
.share-invite-pull-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}
.share-invite-pull-kpi {
  border-radius: 10px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  padding: 8px 9px;
}
.share-invite-pull-kpi span {
  display: block;
  font-size: 11px;
  color: #64748b;
  line-height: 1.2;
}
.share-invite-pull-kpi b {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.share-invite-invite-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
#shareInvitePage .share-invite-invite-actions .btn {
  min-height: 36px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
#shareInvitePage .share-invite-invite-actions .btn:active {
  transform: translateY(1px) scale(0.99);
}
#shareInvitePage .share-invite-invite-actions .btn.btn-primary {
  box-shadow: 0 6px 14px color-mix(in oklab, var(--primary) 28%, transparent);
}
.share-invite-action-note {
  margin: 10px 0 0;
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}
.share-invite-benefits-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.55;
}
.share-invite-benefits-list li {
  margin-bottom: 8px;
  border-radius: 10px;
  border: 1px solid var(--border-light, #e2e8f0);
  background: #f8fafc;
  padding: 8px 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.share-invite-benefits-list li i {
  margin-top: 2px;
  color: var(--primary);
}
.share-invite-benefits-progress {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.share-invite-benefits-progress b {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.share-invite-benefit-task.is-done {
  border-color: #99f6e4;
  background: #f0fdfa;
}
.share-invite-benefit-task.is-done i {
  color: #0f766e;
}
.share-invite-helped-total {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 12px 0 0;
}
.share-invite-helped-kpi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 10px;
}
.share-invite-helped-kpi span {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.share-invite-helped-kpi b {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
@media (max-width: 380px) {
  #shareInvitePage .share-invite-overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  #shareInvitePage .share-invite-overview-item b {
    font-size: 14px;
  }
  #shareInvitePage .share-invite-kpi-grid {
    gap: 6px;
  }
  #shareInvitePage .share-invite-kpi-item {
    padding: 7px 8px;
  }
  #shareInvitePage .share-invite-kpi-item b {
    font-size: 14px;
  }
  #shareInvitePage .share-invite-pull-kpi b {
    font-size: 14px;
  }
  #shareInvitePage .share-invite-invite-actions {
    grid-template-columns: 1fr 1fr;
  }
  #shareInvitePage .share-invite-invite-actions .btn {
    font-size: 10px;
    min-height: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #shareInvitePage .share-invite-invite-actions .btn {
    transition: none;
  }
  #shareInvitePage .share-invite-invite-actions .btn:active {
    transform: none;
  }
}

.hub-fav-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}

/* —— 我的发布页 —— */
.hub-my-posts-more-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 20px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  color: var(--text-primary);
}
.hub-my-posts-more-btn:active {
  transform: scale(0.96);
  opacity: 0.9;
}

.my-posts-main {
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
}

.my-posts-filter-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-primary);
  padding: 10px 0 12px;
  margin: 0 -4px 8px;
  border-bottom: 1px solid var(--border-light);
}
.my-posts-filter-inner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.my-posts-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
  padding-top: 6px;
}
.my-posts-filter-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.my-posts-filter-chip {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}
.my-posts-filter-chip.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.my-posts-filter-chip:active {
  transform: scale(0.97);
}

.my-posts-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px !important;
  margin-bottom: 12px;
}

.my-posts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.my-post-card {
  padding: 14px !important;
  margin-bottom: 0 !important;
}
.my-post-card-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.35;
  color: var(--text-primary);
}
.my-post-card-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.my-post-card-price {
  font-weight: 700;
  color: var(--danger);
  font-size: 14px;
}
.my-posts-meta-sep {
  opacity: 0.45;
  user-select: none;
}
.my-posts-tag-hot {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: var(--warning-light);
  color: #B45309;
  border: 1px solid var(--warning);
}
.my-post-card-stats {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}
.my-post-card-stats--draft {
  color: #64748b;
  line-height: 1.5;
}
.my-post-card-stats--metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.my-post-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--border-light, #e2e8f0);
  background: #f8fafc;
  font-size: 11px;
  color: #475569;
}
.my-post-stat-chip i {
  color: var(--primary, #0d9488);
  font-size: 11px;
}
.my-post-stat-chip b {
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.my-post-card-status {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}
.my-posts-top {
  color: var(--primary);
  font-weight: 600;
}
.my-posts-top-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  border: 1px solid #a5f3fc;
  font-size: 11px;
  font-weight: 700;
}
.my-post-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.my-posts-action-btn {
  flex: 1 1 calc(50% - 4px);
  min-width: 72px;
  font-size: 12px !important;
  padding: 8px 6px !important;
}
.my-post-card-delete {
  margin-top: 10px;
  width: 100%;
  border: none;
  background: none;
  font-size: 12px;
  color: var(--danger);
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 0;
}
.my-post-card-delete:active {
  opacity: 0.8;
}

#myPostsPage .my-posts-filter-bar {
  background: transparent;
  padding: 8px 0 10px;
  margin: 0 0 8px;
  border-bottom: none;
}
#myPostsPage .my-posts-filter-inner {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  padding: 8px 10px;
}
#myPostsPage .my-posts-filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}
#myPostsPage .my-posts-filter-chip {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
#myPostsPage .my-posts-toolbar {
  border-radius: 14px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  padding: 10px !important;
}
#myPostsPage .my-post-card {
  border-radius: 16px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  padding: 14px 13px !important;
}
#myPostsPage .my-post-card-stats,
#myPostsPage .my-post-card-status {
  font-size: 12px;
  line-height: 1.5;
}
#myPostsPage .my-posts-action-btn {
  min-height: 34px;
  border-radius: 10px;
  font-weight: 700;
}
#myPostsPage .my-post-card-actions {
  gap: 10px;
}
#myPostsPage .my-post-card-status b {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
}
#myPostsPage .my-posts-toolbar .btn {
  min-height: 36px;
  border-radius: 10px;
  font-weight: 700;
}
#myPostsPage .my-posts-toolbar-btn {
  font-size: 12px;
  padding: 0 10px !important;
}
#myPostsPage .my-post-card-delete {
  font-weight: 600;
}
@media (max-width: 380px) {
  #myPostsPage .my-post-card-stats--metrics {
    gap: 5px;
  }
  #myPostsPage .my-post-stat-chip {
    font-size: 10px;
    padding: 0 7px;
  }
}

.my-posts-empty {
  text-align: center;
  padding: var(--space-xl) var(--space-md) !important;
}
.my-posts-empty-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

/* —— 我的收藏页 —— */
.hub-fav-edit-btn {
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 4px;
  cursor: pointer;
  font-family: inherit;
}
.hub-fav-edit-btn:active {
  opacity: 0.75;
}

#myFavoritesPage .my-posts-filter-bar {
  background: transparent;
  padding: 8px 0 10px;
  margin: 0 0 8px;
  border-bottom: none;
}
#myFavoritesPage .my-posts-filter-inner {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  padding: 8px 10px;
}
#myFavoritesPage .my-posts-filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}
#myFavoritesPage .my-posts-filter-chip {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
#myFavoritesPage .hub-fav-edit-btn {
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--primary) 32%, white);
  background: color-mix(in oklab, var(--primary) 10%, white);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 13px;
  transition: all 0.18s ease;
}
#myFavoritesPage .hub-fav-edit-btn i {
  pointer-events: none;
}
#myFavoritesPage .hub-fav-edit-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px color-mix(in oklab, var(--primary) 32%, transparent);
}
#myFavoritesPage .fav-card {
  border-radius: 16px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  padding: 11px !important;
}
#myFavoritesPage .fav-card-title {
  font-size: 14px;
  line-height: 1.4;
}
#myFavoritesPage .fav-card-sub {
  font-size: 12px;
}
#myFavoritesPage .fav-card-price {
  font-size: 13px;
}
#myFavoritesPage .fav-card-actions {
  gap: 7px;
}
#myFavoritesPage .fav-card-act {
  min-height: 32px;
  border-radius: 10px;
  font-size: 12px !important;
  font-weight: 700;
  padding: 0 8px !important;
}
#myFavoritesPage .fav-card-actions .btn-secondary {
  border-color: #cbd5e1;
}
#myFavoritesPage .fav-card-actions .btn-primary {
  box-shadow: 0 5px 12px color-mix(in oklab, var(--primary) 20%, transparent);
}
#myFavoritesPage .my-favorites-bulk-bar .content-card {
  border-radius: 14px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
#myFavoritesPage .my-favorites-bulk-bar .btn {
  min-height: 36px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.fav-page-main {
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
}

.hub-favorites-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 520px) {
  .hub-favorites-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

.fav-page-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-xl) var(--space-md) !important;
}
.fav-page-empty-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklab, var(--primary) 12%, white);
  color: var(--primary);
  font-size: 18px;
}
.fav-page-empty-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.fav-page-summary {
  grid-column: 1 / -1;
  padding: 10px 12px !important;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, var(--primary) 12%, var(--border, #e2e8f0));
  background: linear-gradient(150deg, #fff 0%, color-mix(in oklab, var(--primary) 7%, white) 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.fav-page-summary-item {
  text-align: center;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border-light, #e2e8f0);
  padding: 7px 5px 8px;
}
.fav-page-summary-label {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.2;
}
.fav-page-summary-value {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.fav-card {
  padding: 10px !important;
  margin-bottom: 0 !important;
  position: relative;
}
.fav-card.is-edit {
  padding-left: 36px !important;
}
.fav-card-edit-label {
  position: absolute;
  left: 10px;
  top: 12px;
  z-index: 2;
}
.fav-card-edit-check {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.fav-card-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 520px) {
  .fav-card-inner {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
  }
}

.fav-card-media {
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
}
.fav-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (min-width: 520px) {
  .fav-card-media {
    width: 124px;
  }
  .fav-card-media img {
    width: 124px;
    height: 94px;
    aspect-ratio: auto;
  }
}

.fav-card-ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-secondary), var(--border-light));
}
@media (min-width: 520px) {
  .fav-card-ph {
    width: 124px;
    height: 94px;
    aspect-ratio: auto;
  }
}

.fav-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fav-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.fav-card-badge {
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #334155;
  border: 1px solid #dbe3f3;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.fav-card-badge.is-guide {
  background: #effcf7;
  border-color: #cdeede;
  color: #0f766e;
}
.fav-card-badge.is-post {
  background: #eef6ff;
  border-color: #d7e6ff;
  color: #1d4ed8;
}
.fav-card-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fav-card-sub {
  font-size: 11px;
  color: var(--text-secondary);
}
.fav-card-price {
  font-weight: 700;
  color: var(--danger);
  font-size: 12px;
}
.fav-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.fav-card-act {
  font-size: 11px !important;
  padding: 7px 8px !important;
}

.my-favorites-bulk-bar {
  display: none;
  position: sticky;
  bottom: calc(12px + env(safe-area-inset-bottom));
  margin-top: 12px;
  padding-top: 8px;
}
.my-favorites-bulk-bar.is-visible {
  display: block;
}

@media (max-width: 380px) {
  #myFavoritesPage .my-posts-filter-inner {
    padding: 7px 8px;
  }
  #myFavoritesPage .my-posts-filter-chip {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }
  .fav-page-summary {
    padding: 8px 9px !important;
    gap: 6px;
  }
  .fav-page-summary-value {
    font-size: 14px;
  }
  .fav-card-badge {
    min-height: 20px;
    padding: 0 7px;
    font-size: 10px;
  }
  #myFavoritesPage .fav-card-act {
    min-height: 30px;
    font-size: 11px !important;
    padding: 0 7px !important;
  }
}

/* —— 我的评论页 —— */
.my-comments-page-main {
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
}
.my-comments-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 12px;
  line-height: 1.4;
}
.my-comments-page-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.my-comments-card {
  padding: 12px 14px !important;
  margin-bottom: 0 !important;
  position: relative;
}
.my-comments-card.is-edit {
  padding-left: 40px !important;
}
.my-comments-edit-label {
  position: absolute;
  left: 12px;
  top: 14px;
  z-index: 2;
}
.my-comments-edit-check {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.my-comments-primary {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 8px;
  word-break: break-word;
}
.my-comments-ctx {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.my-comments-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.my-comments-likes {
  color: var(--text-secondary);
}
.my-comments-act-sep {
  opacity: 0.5;
}
.my-comments-card.is-edit .my-comments-actions {
  display: none;
}
.my-comments-empty {
  text-align: center;
  padding: var(--space-xl) var(--space-md) !important;
}
.my-comments-empty-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

#myCommentsPage .my-comments-subtitle {
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  font-size: 12px;
  font-weight: 600;
}
#myCommentsPage .hub-fav-edit-btn {
  min-height: 34px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 700;
}
#myCommentsPage .my-comments-card {
  border-radius: 16px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  padding: 13px 13px !important;
}
#myCommentsPage .my-comments-primary {
  font-size: 14px;
  line-height: 1.55;
}
#myCommentsPage .my-comments-ctx {
  font-size: 12px;
  line-height: 1.5;
}
#myCommentsPage .my-comments-actions {
  font-size: 12px;
  gap: 8px 10px;
}
#myCommentsPage .my-comments-likes {
  font-weight: 600;
}
#myCommentsPage .my-comments-actions .mini-btn {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 11px;
  font-weight: 700;
}
#myCommentsPage .my-comments-actions .my-comments-del-btn {
  color: #0f766e;
  border-color: #99f6e4;
  background: #f0fdfa;
}
#myCommentsPage .my-comments-actions .my-comments-report-btn {
  color: #b45309;
  border-color: #fde68a;
  background: #fffbeb;
}
#myCommentsPage .my-favorites-bulk-bar .content-card {
  border-radius: 14px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

#myBadgesPage .hub-badge-wall-row__status {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
#myBadgesPage .hub-badge-view-all {
  border-radius: 12px;
  font-weight: 700;
}
#myBadgesPage .hub-badge-wall-extra {
  border-radius: 12px;
  border: 1px solid var(--border-light, #f1f5f9);
  background: #f8fafc;
}

#shareInvitePage .share-invite-light-share .btn {
  min-height: 36px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}
#shareInvitePage .share-invite-benefits-list li {
  margin-bottom: 8px;
}

/* —— 攻略广场卡片：收藏 —— */
.guide-post-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--border-light);
}

/* —— 我的攻略中心页 —— */
.my-guides-center-main {
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
}

.my-guides-center-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}
.my-guides-center-tab {
  flex: 1;
  padding: 12px 10px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-fast);
}
.my-guides-center-tab.is-active {
  background: var(--primary);
  color: #fff;
}
.my-guides-center-tab:not(.is-active):active {
  opacity: 0.85;
}

.my-guides-center-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: stretch;
}
.my-guides-center-list > .my-guide-hub-empty {
  grid-column: 1 / -1;
}

.my-guide-hub-empty {
  text-align: center;
  padding: var(--space-xl) var(--space-md) !important;
}
.my-guide-hub-empty-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

/* ==================== 国际化 Teal UI 细节覆盖 ==================== */
.listing-detail-card .card-head .card-price {
  background: var(--primary);
  color: var(--text-inverse);
  border-radius: 999px;
}

.listing-detail-meta,
.listing-detail-card .card-meta-line,
.listing-detail-card .time-loc,
.listing-detail-card .time-loc-text {
  color: var(--text-secondary);
}

.listing-detail-meta-highlight {
  color: var(--primary);
}

.listing-detail-hero,
.listing-detail-card .card-media {
  background: var(--bg-secondary);
}

.listing-detail-thumb,
.listing-detail-card .card-meta-line .cat-pill {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.listing-detail-card .card-head .card-title,
.listing-detail-card .card-title {
  color: var(--text-primary);
}

/* ==================== 我的页（Hub Profile v2） ==================== */
.hub-profile-main .text-muted {
  color: var(--text-secondary);
  font-size: 13px;
}
.hub-profile-hero-card .hub-user-top-row {
  display: none;
}
.hub-profile-hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.hub-profile-hero-left {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.hub-member-badge {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}
.hub-member-badge--guest,
.hub-member-badge--normal {
  background: var(--bg-secondary);
  color: var(--text-secondary);
}
.hub-member-badge--premium {
  background: var(--primary);
  color: #fff;
}
.hub-member-badge--vip {
  background: var(--warning-light);
  color: #b45309;
  border: 1px solid #f59e0b;
}
.hub-profile-points-block {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.hub-profile-points-hero {
  flex: 1;
  min-width: 0;
  border: none;
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.hub-profile-points-hero-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.hub-profile-points-hero-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}
.hub-profile-points-mini {
  align-self: center;
  flex-shrink: 0;
}
.hub-profile-task-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.hub-profile-task-btn {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  border-radius: 999px;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.hub-profile-task-btn:active {
  transform: scale(0.98);
}
.hub-profile-cta-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.hub-profile-link-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--border);
}
.hub-profile-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 14px;
}
.hub-profile-link-sub {
  margin-top: 6px;
  font-size: 12px;
}
.hub-badge-ok {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary-hover);
}
.hub-profile-grid-card {
  padding: 12px 10px 14px;
}
.hub-profile-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 6px;
  text-align: center;
}
.hub-profile-icon-item {
  border: none;
  background: transparent;
  padding: 6px 2px;
  cursor: pointer;
  font-size: 11px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hub-profile-icon-item i {
  font-size: 22px;
  color: var(--primary);
}
.hub-profile-icon-emoji {
  font-size: 22px;
  line-height: 1;
}
.hub-profile-correction-btn {
  margin-top: 12px;
}

/* ==================== 我的页 v3 布局（仅 #userPage，对齐设计稿） ==================== */
#userPage.hub-profile-page-v3 .hub-profile-header-container {
  padding-left: calc(var(--space-lg, 16px) + env(safe-area-inset-left, 0px));
  padding-right: calc(var(--space-lg, 16px) + env(safe-area-inset-right, 0px));
}
#userPage.hub-profile-page-v3 .hub-profile-top-header {
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
}
#userPage.hub-profile-page-v3 .hub-profile-header-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  min-height: 40px;
}
#userPage.hub-profile-page-v3 .hub-profile-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
#userPage.hub-profile-page-v3 .hub-profile-header-icon {
  border: none;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  font-size: 20px;
  color: var(--text-secondary, #64748b);
  cursor: pointer;
  line-height: 1;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#userPage.hub-profile-page-v3 .hub-profile-lang-btn {
  min-height: 44px;
  padding: 0 12px;
  flex-shrink: 0;
}
#userPage.hub-profile-page-v3 .hub-profile-header-icon:active {
  opacity: 0.75;
  background: rgba(15, 23, 42, 0.06);
}

#userPage.hub-profile-page-v3 .hub-profile-main {
  padding-top: 4px;
  padding-bottom: 40px;
}

#userPage.hub-profile-page-v3 .hub-profile-glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
#userPage.hub-profile-page-v3 .hub-user-top-card {
  padding: 16px !important;
}

#userPage.hub-profile-page-v3 .hub-profile-hero-top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
#userPage.hub-profile-page-v3 .hub-profile-hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
#userPage.hub-profile-page-v3 .hub-profile-hero-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
#userPage.hub-profile-page-v3 .hub-user-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#userPage.hub-profile-page-v3 .hub-user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-end) 100%);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--card);
}
#userPage.hub-profile-page-v3 #profileAvatarEmoji {
  font-size: 32px;
  line-height: 1;
}
#userPage.hub-profile-page-v3 .hub-user-title {
  font-size: clamp(18px, 4.6vw, 24px) !important;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
#userPage.hub-profile-page-v3 .hub-user-desc {
  margin-top: 0 !important;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  font-size: 12px !important;
  color: var(--text-secondary) !important;
}
#userPage.hub-profile-page-v3 .hub-user-desc::before {
  content: "✍️";
  margin-right: 6px;
  font-size: 12px;
}
#userPage.hub-profile-page-v3 .hub-member-badge {
  background: var(--primary-light);
  color: var(--primary-hover);
  border-radius: var(--radius-full);
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
}
#userPage.hub-profile-page-v3 .hub-profile-points-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
  max-width: none;
  width: 100%;
}
#userPage.hub-profile-page-v3 .hub-profile-points-hero {
  display: grid;
  grid-template-areas:
    "label"
    "num";
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  text-align: left;
  min-width: 0;
  padding: 20px 20px 16px;
  border-radius: var(--radius-xl);
  position: relative;
  color: var(--text-inverse);
}
#userPage.hub-profile-page-v3 .hub-profile-points-hero::before {
  content: "";
  display: block;
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 54px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}
#userPage.hub-profile-page-v3 .hub-profile-points-hero-num {
  grid-area: num;
  font-size: clamp(40px, 8.2vw, 52px);
  font-weight: 800;
  line-height: 1;
  color: var(--text-inverse);
  font-variant-numeric: tabular-nums;
  padding-bottom: 58px;
}
#userPage.hub-profile-page-v3 .hub-profile-points-hero-label {
  grid-area: label;
  margin-top: 0;
  font-size: 13px;
  line-height: 1.35;
  max-width: none;
  color: rgba(255, 255, 255, 0.86);
}
#userPage.hub-profile-page-v3 .hub-profile-points-hero-cta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-inverse);
  letter-spacing: 0.01em;
}
#userPage.hub-profile-page-v3 .hub-profile-cta-row {
  display: flex;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 0;
}
#userPage.hub-profile-page-v3 .hub-profile-cta-row .btn {
  min-height: 44px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
#userPage.hub-profile-page-v3 .hub-profile-cta-row .btn:active {
  transform: translateY(1px);
  opacity: 0.92;
}
#userPage.hub-profile-page-v3 .hub-profile-cta-row .btn-secondary {
  border: 1px solid var(--primary);
  background: var(--card);
  color: var(--primary);
}
#userPage.hub-profile-page-v3 .hub-profile-cta-row .btn-primary {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--text-inverse);
}
#userPage.hub-profile-page-v3 .hub-profile-task-card {
  border-radius: 24px;
  padding: 14px 12px;
  border: 1px solid var(--border-light, #f1f5f9);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}
#userPage.hub-profile-page-v3 .hub-profile-task-strip {
  margin-bottom: 0;
}
#userPage.hub-profile-page-v3 .hub-profile-task-btn {
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid transparent;
}

/* 身份预览条（与演示稿 identity-switch 一致） */
#userPage.hub-profile-page-v3 section.hub-profile-identity-wrap.user-profile-section {
  margin-bottom: 8px;
}
#userPage.hub-profile-page-v3 .hub-profile-identity-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 40px;
  border: 1px solid var(--border-light, #f1f5f9);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
#userPage.hub-profile-page-v3 .hub-profile-identity-btn {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--text-primary, #1e293b);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
#userPage.hub-profile-page-v3 .hub-profile-identity-btn:active {
  opacity: 0.88;
}
#userPage.hub-profile-page-v3 .hub-profile-identity-btn--active {
  background: var(--primary, #0d9488);
  color: #fff;
  border-color: var(--primary, #0d9488);
}

/* 会员到期行（延续上方视觉规则） */
#userPage.hub-profile-page-v3 .hub-profile-hero-expiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border-light, #f1f5f9);
  box-shadow: var(--shadow-xs);
  font-size: 14px;
  color: var(--text-primary);
}
#userPage.hub-profile-page-v3 .hub-profile-hero-expiry-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}
#userPage.hub-profile-page-v3 .hub-profile-hero-expiry-label::before {
  content: "\f133";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  color: var(--primary, #0d9488);
  background: color-mix(in oklab, var(--primary, #0d9488) 14%, #ffffff);
}
#userPage.hub-profile-page-v3 .hub-profile-hero-expiry-val {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: var(--primary-lighter);
  color: var(--primary-hover);
  font-weight: 600;
  font-size: 13px;
  text-align: right;
}

#userPage.hub-profile-page-v3 .hub-guest-browse-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 18px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  padding: 10px 12px;
}
#userPage.hub-profile-page-v3 .hub-guest-browse-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
#userPage.hub-profile-page-v3 .hub-guest-browse-sub {
  margin: 3px 0 0;
  font-size: 11px;
  color: #475569;
}
#userPage.hub-profile-page-v3 .hub-guest-browse-btn {
  min-height: 0;
  padding: 7px 12px;
  font-size: 12px;
  white-space: nowrap;
}

/* 核心服务四宫格 */
#userPage.hub-profile-page-v3 .hub-profile-core-card {
  border-radius: 24px;
  padding: 16px 14px;
  border: 1px solid var(--border-light, #f1f5f9);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light, #f1f5f9);
  box-shadow: var(--shadow-xs);
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-btn {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, #ffffff 100%);
  padding: 12px 14px;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-btn:hover {
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.2);
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-btn--biz {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 64%);
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-btn--data {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-btn--verify {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 64%);
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-btn--mall {
  background: linear-gradient(135deg, #ccfbf1 0%, #ffffff 64%);
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-btn--biz .hub-profile-member-entry-icon {
  background: #dbeafe;
  color: #1d4ed8;
}
#userPage.hub-profile-page-v3 .hub-profile-verify-row-card .hub-profile-member-entry-icon {
  background: #dcfce7;
  color: #047857;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-btn--mall .hub-profile-member-entry-icon {
  background: #99f6e4;
  color: #0f766e;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-btn--mall .hub-profile-member-entry-title {
  font-weight: 800;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-btn--mall .hub-profile-member-entry-sub {
  color: #0f766e;
  font-weight: 600;
}
#userPage.hub-profile-page-v3 .hub-profile-mall-row-card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
#userPage.hub-profile-page-v3 .hub-profile-mall-entry-card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-right--stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 58px;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-left {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-light);
  flex-shrink: 0;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: 0.1px;
  font-family: inherit;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-title.hub-profile-core-label,
#userPage.hub-profile-page-v3 .hub-profile-member-entry-title.card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1px;
  color: var(--text-primary);
  font-family: inherit;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-sub {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary);
  font-family: inherit;
  font-weight: 500;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-right {
  color: var(--text-tertiary, #94a3b8);
  flex-shrink: 0;
  font-size: 14px;
  min-width: 18px;
  text-align: right;
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-btn:active {
  transform: scale(0.985);
}
#userPage.hub-profile-page-v3 .hub-profile-member-entry-icon i {
  font-size: 13px;
}
@media (max-width: 380px) {
  #userPage.hub-profile-page-v3 .hub-profile-member-entry-btn {
    padding: 11px 12px;
    min-height: 62px;
  }
  #userPage.hub-profile-page-v3 .hub-profile-member-entry-title {
    font-size: 14px;
  }
  #userPage.hub-profile-page-v3 .hub-profile-member-entry-sub {
    font-size: 11px;
  }
}
#userPage.hub-profile-page-v3 .hub-profile-core-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 8px;
}
#userPage.hub-profile-page-v3 .hub-profile-core-svc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  text-align: center;
  min-height: 92px;
  transition: opacity 0.15s, transform 0.1s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
#userPage.hub-profile-page-v3 .hub-profile-core-svc:active {
  transform: scale(0.98);
}
#userPage.hub-profile-page-v3 .hub-profile-core-svc:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
#userPage.hub-profile-page-v3 .hub-profile-core-svc--locked {
  opacity: 0.52;
  cursor: not-allowed;
}
#userPage.hub-profile-page-v3 .hub-profile-core-emoji {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  font-size: 16px;
  line-height: 1;
}
#userPage.hub-profile-page-v3 .hub-profile-core-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1px;
  color: var(--text-primary);
}
#userPage.hub-profile-page-v3 .hub-profile-core-lock {
  display: none;
  font-size: 11px;
  line-height: 1;
}
#userPage.hub-profile-page-v3 .hub-profile-core-svc--locked .hub-profile-core-lock {
  display: block;
  color: #ef4444;
}

/* 内容管理四宫格 */
#userPage.hub-profile-page-v3 .hub-profile-chub-card {
  border-radius: 18px;
  padding: 14px 12px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
#userPage.hub-profile-page-v3 .hub-profile-content-hub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
#userPage.hub-profile-page-v3 .hub-profile-chub-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 86px;
  padding: 10px 6px;
  border: 1px solid var(--border-light, #f1f5f9);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}
#userPage.hub-profile-page-v3 .hub-profile-chub-item:active {
  transform: scale(0.985);
}
#userPage.hub-profile-page-v3 .hub-profile-chub-item:hover {
  border-color: rgba(13, 148, 136, 0.28);
  box-shadow: 0 6px 12px rgba(13, 148, 136, 0.08);
}
#userPage.hub-profile-page-v3 .hub-profile-chub-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary-light, #ccfbf1);
  font-size: 15px;
  color: var(--primary, #0d9488);
}
#userPage.hub-profile-page-v3 .hub-profile-chub-item span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

/* 积分商城折扣角标：无折扣为浅底，有会员折扣为品牌色 */
#userPage.hub-profile-page-v3 .hub-profile-mall-discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--primary, #0d9488);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
#userPage.hub-profile-page-v3 .hub-profile-mall-discount-pill.hub-profile-mall-discount-pill--muted {
  background: #f1f5f9;
  color: var(--text-primary, #1e293b);
}

/* 数据预览 / 锁定卡片 */
#userPage.hub-profile-page-v3 .hub-profile-data-preview-root {
  margin: 0;
}
#userPage.hub-profile-page-v3 .hub-profile-data-preview-card,
#userPage.hub-profile-page-v3 .hub-profile-data-locked-card {
  border-radius: 24px;
  padding: 16px 18px;
  border: 1px solid var(--border-light, #f1f5f9);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  background: #ffffff;
}
#userPage.hub-profile-page-v3 .hub-profile-data-locked-card {
  background: #fef3c7;
  border-color: #fde68a;
  cursor: pointer;
  text-align: left;
}
#userPage.hub-profile-page-v3 .hub-profile-data-preview-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#userPage.hub-profile-page-v3 .hub-profile-data-preview-title i {
  color: var(--primary, #0d9488);
  font-size: 14px;
}
#userPage.hub-profile-page-v3 .hub-profile-data-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}
#userPage.hub-profile-page-v3 .hub-profile-data-kpi {
  border-radius: 12px;
  border: 1px solid var(--border-light, #e2e8f0);
  background: #f8fafc;
  padding: 8px 4px;
}
#userPage.hub-profile-page-v3 .hub-profile-data-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
#userPage.hub-profile-page-v3 .hub-profile-data-insights {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  display: grid;
  gap: 6px;
}
#userPage.hub-profile-page-v3 .hub-profile-data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0 10px;
}
#userPage.hub-profile-page-v3 .hub-profile-data-row span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#userPage.hub-profile-page-v3 .hub-profile-data-row span:first-child i {
  color: var(--primary, #0d9488);
  font-size: 12px;
}
#userPage.hub-profile-page-v3 .hub-profile-data-row span:last-child {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-weight: 700;
}
#userPage.hub-profile-page-v3 .hub-profile-data-locked-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}
#userPage.hub-profile-page-v3 .hub-profile-data-more {
  margin-top: 14px;
  min-height: 38px;
  border-radius: 12px;
  font-weight: 700;
}

/* 编辑资料页 */
#hubEditProfilePage .hub-edit-profile-main {
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
}
#hubEditProfilePage .hub-edit-profile-card {
  border-radius: 18px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05);
  padding: 14px;
}
#hubEditProfilePage .hub-edit-avatar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border-light, #e2e8f0);
  background: #f8fafc;
  margin-bottom: 12px;
}
#hubEditProfilePage .hub-edit-avatar-preview {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  overflow: hidden;
}
#hubEditProfilePage .hub-edit-avatar-preview.has-image {
  border-color: #99f6e4;
}
#hubEditProfilePage .hub-edit-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#hubEditProfilePage .hub-edit-avatar-meta {
  flex: 1;
  min-width: 0;
}
#hubEditProfilePage .hub-edit-avatar-title {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
#hubEditProfilePage .hub-edit-avatar-sub {
  margin: 0;
  font-size: 11px;
}
#hubEditProfilePage .hub-edit-avatar-btn {
  min-height: 32px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
}
#hubEditProfilePage .hub-edit-field-label {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}
#hubEditProfilePage .hub-edit-bio {
  min-height: 80px;
  resize: vertical;
}
#hubEditProfilePage .hub-edit-account-box {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-light, #e2e8f0);
  background: #f8fafc;
  padding: 10px;
}
#hubEditProfilePage .hub-edit-account-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
#hubEditProfilePage .hub-edit-account-row {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}
#hubEditProfilePage .hub-edit-account-row + .hub-edit-account-row {
  border-top: 1px dashed #e2e8f0;
}
#hubEditProfilePage .hub-edit-account-row b {
  color: var(--text-primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
#hubEditProfilePage .hub-edit-profile-note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.45;
}
#hubEditProfilePage .hub-edit-profile-save {
  margin-top: 16px;
  min-height: 40px;
  border-radius: 12px;
  font-weight: 700;
}

/* 设置卡片底部法律行 */
#userPage.hub-profile-page-v3 .hub-profile-settings-legal {
  text-align: center;
  padding: 14px 8px 6px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.5;
}
#userPage.hub-profile-page-v3 .hub-profile-settings-legal-link {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: inherit;
  color: #64748b;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#userPage.hub-profile-page-v3 .hub-profile-settings-legal-copy {
  margin-top: 6px;
  color: #94a3b8;
}

#userPage.hub-profile-page-v3 .hub-profile-link-card {
  border-radius: 24px;
  padding: 16px 18px;
  border: 1px solid var(--border-light, #f1f5f9);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

#userPage.hub-profile-page-v3 .hub-profile-mall-preview {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
}
#userPage.hub-profile-page-v3 .hub-profile-mall-points-block {
  margin-bottom: 14px;
  padding-bottom: 2px;
}
#userPage.hub-profile-page-v3 .hub-profile-mall-points-hero {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
#userPage.hub-profile-page-v3 .hub-profile-mall-points-hero .hub-profile-points-hero-num {
  font-size: clamp(36px, 7.8vw, 48px);
}
#userPage.hub-profile-page-v3 .hub-profile-mall-points-hero .hub-profile-points-hero-label {
  font-size: 12px;
}
#userPage.hub-profile-page-v3 .hub-profile-mall-points-hero .hub-profile-points-hero-cta {
  font-size: 13px;
}
#userPage.hub-profile-page-v3 .hub-profile-mall-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}
#userPage.hub-profile-page-v3 .hub-profile-mall-title i {
  color: var(--primary, #0d9488);
  margin-right: 8px;
}
#userPage.hub-profile-page-v3 .hub-profile-mall-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--primary, #0d9488);
  color: #fff;
  font-size: 12px;
}
#userPage.hub-profile-page-v3 .hub-profile-mall-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
#userPage.hub-profile-page-v3 .hub-profile-mall-scroll::-webkit-scrollbar {
  display: none;
}
#userPage.hub-profile-page-v3 .hub-profile-mall-chip {
  flex: 0 0 auto;
  min-width: 96px;
  border: 1px solid var(--border-light, #f1f5f9);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 10px 10px;
  text-align: center;
  cursor: pointer;
  font: inherit;
  box-shadow: var(--shadow-xs);
}
#userPage.hub-profile-page-v3 .hub-profile-mall-chip span {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
#userPage.hub-profile-page-v3 .hub-profile-mall-chip strong {
  font-size: 15px;
  color: var(--primary, #0d9488);
  font-weight: 700;
}
#userPage.hub-profile-page-v3 .hub-profile-mall-more {
  min-height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary, #0d9488);
  background: var(--card);
  color: var(--primary, #0d9488);
  font-weight: 600;
}
@media (max-width: 380px) {
  #userPage.hub-profile-page-v3 .hub-profile-mall-preview {
    padding: 14px 12px;
  }
  #userPage.hub-profile-page-v3 .hub-profile-mall-points-hero {
    padding: 16px 14px 14px;
  }
  #userPage.hub-profile-page-v3 .hub-profile-mall-scroll {
    gap: 8px;
  }
  #userPage.hub-profile-page-v3 .hub-profile-mall-chip {
    min-width: 88px;
    padding: 9px 8px;
  }
}

#userPage.hub-profile-page-v3 .hub-profile-icon-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 8px;
}
#userPage.hub-profile-page-v3 .hub-profile-grid-card {
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item {
  min-height: 86px;
  padding: 10px 7px;
  border: 1px solid var(--border-light, #f1f5f9);
  border-radius: 14px;
  background: #ffffff;
  justify-content: center;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item:hover {
  border-color: rgba(13, 148, 136, 0.28);
  box-shadow: 0 6px 12px rgba(13, 148, 136, 0.08);
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item:active {
  transform: scale(0.985);
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary-light, #ccfbf1);
  color: var(--primary, #0d9488);
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.03);
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item--posts i {
  background: #dbeafe;
  color: #1d4ed8;
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item--favorites i {
  background: #ede9fe;
  color: #6d28d9;
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item--comments i {
  background: #e0f2fe;
  color: #0369a1;
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item--badges i {
  background: #fef3c7;
  color: #b45309;
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item--invite i {
  background: #dcfce7;
  color: #166534;
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1.3;
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item-correction {
  border: 1px solid #93c5fd;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.12);
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item-correction i {
  color: #2563eb;
  background: #dbeafe;
}
#userPage.hub-profile-page-v3 .hub-profile-icon-item-correction span {
  font-weight: 700;
  color: #1e3a8a;
}
@media (max-width: 380px) {
  #userPage.hub-profile-page-v3 .hub-profile-icon-grid {
    gap: 8px 6px;
  }
  #userPage.hub-profile-page-v3 .hub-profile-icon-item {
    min-height: 78px;
    padding: 8px 5px;
    gap: 6px;
  }
  #userPage.hub-profile-page-v3 .hub-profile-icon-item i {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  #userPage.hub-profile-page-v3 .hub-profile-icon-item span {
    font-size: 11px;
    line-height: 1.25;
  }
}

#userPage.hub-profile-page-v3 .hub-profile-verify-card {
  border-radius: 24px;
  border: 1px solid var(--border-light, #f1f5f9);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

#hubDevTestPage .hub-dev-test-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
#hubDevTestPage .hub-dev-test-role-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
#hubDevTestPage .hub-dev-test-role-btn {
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--card);
  color: var(--text-primary);
  min-height: 40px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
#hubDevTestPage .hub-dev-test-role-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-hover);
}

#userPage.hub-profile-page-v3 .hub-profile-settings-card {
  border-radius: 18px;
  padding: 6px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
#userPage.hub-profile-page-v3 .hub-profile-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  gap: 10px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
  border-radius: 12px;
  transition: background-color 0.18s ease;
}
#userPage.hub-profile-page-v3 .hub-profile-settings-row:hover {
  background: #f8fafc;
}
#userPage.hub-profile-page-v3 .hub-profile-settings-row + .hub-profile-settings-row {
  border-top: 1px solid var(--border-light, #f1f5f9);
}
#userPage.hub-profile-page-v3 .hub-profile-settings-row i:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary-light, #ccfbf1);
  color: var(--primary, #0d9488);
  margin-right: 8px;
  font-size: 12px;
}
#userPage.hub-profile-page-v3 .hub-profile-settings-meta {
  font-size: 12px;
  margin-right: 6px;
  font-weight: 500;
}

/* 设置卡底部：合规链接紧贴「开发者测试入口」下方（与全局底栏法律条互斥显示） */
#userPage.hub-profile-page-v3 .hub-profile-legal-inline {
  margin: 4px 0 0;
  padding: 12px 6px 12px;
  border-top: 1px solid var(--border-light, #f1f5f9);
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-tertiary, #64748b);
  border-radius: 0 0 12px 12px;
  background: rgba(248, 250, 252, 0.72);
}
#userPage.hub-profile-page-v3 .hub-profile-legal-inline .global-legal-footer__inner {
  justify-content: center;
  gap: 4px 6px;
  max-width: 100%;
}

#userPage.hub-profile-page-v3 #hubDevIdentityStrip .hub-profile-dev-identity {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  background: #fff;
  border-radius: 40px;
  padding: 10px 12px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
#userPage.hub-profile-page-v3 #hubDevIdentityStrip .hub-dev-identity-btns {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
#userPage.hub-profile-page-v3 #hubDevIdentityStrip .hub-dev-identity-btn {
  border-radius: 999px;
  font-weight: 500;
  font-size: 12px;
}

#userPage.hub-profile-page-v3 .hub-footer-section {
  text-align: center;
}
#userPage.hub-profile-page-v3 .hub-footer-inline {
  justify-content: center;
  flex-wrap: wrap;
}
#userPage.hub-profile-page-v3 .hub-footer-version {
  color: #94a3b8;
  font-size: 12px;
}

/* 我的勋章墙 */
.hub-badges-main {
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hub-badge-wall {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#myBadgesPage .hub-badge-overview {
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, var(--primary) 14%, var(--border, #e2e8f0));
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  background: linear-gradient(145deg, #ffffff 0%, color-mix(in oklab, var(--primary) 8%, #ffffff) 100%);
  padding: 12px 13px;
}
#myBadgesPage .hub-badge-overview__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
#myBadgesPage .hub-badge-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
#myBadgesPage .hub-badge-overview__item {
  border-radius: 10px;
  border: 1px solid var(--border-light, #e2e8f0);
  background: #ffffff;
  text-align: center;
  padding: 8px 6px;
}
#myBadgesPage .hub-badge-overview__item span {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.2;
}
#myBadgesPage .hub-badge-overview__item b {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  line-height: 1;
  color: var(--text-primary);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.hub-badge-wall-row {
  padding: 13px 12px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05);
  text-align: left;
}

.hub-badge-wall-row:last-of-type {
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.hub-badge-wall-row__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hub-badge-wall-row__emoji {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  background: linear-gradient(150deg, #ecfeff 0%, #f0fdfa 100%);
  border: 1px solid #bae6fd;
  color: #0f766e;
}

.hub-badge-wall-row__emoji i {
  line-height: 1;
}

.hub-badge-wall-row__name {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 5px;
  color: var(--text-primary);
  letter-spacing: 0.1px;
}

.hub-badge-wall-row__cond {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.hub-badge-wall-row__perk {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #0f172a;
}

.hub-badge-wall-row__progress {
  margin-top: 9px;
}
.hub-badge-wall-row__meter {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.hub-badge-wall-row__meter > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d9488 0%, #14b8a6 100%);
}
.hub-badge-wall-row__progress-text {
  margin: 6px 0 0;
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.hub-badge-wall-row__status {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.hub-badge-wall-row__status i {
  font-size: 12px;
}
#myBadgesPage .hub-badge-wall-row__status.is-earned {
  color: #0f766e;
  background: #ccfbf1;
  border: 1px solid #99f6e4;
}
#myBadgesPage .hub-badge-wall-row__status.is-pending {
  color: #0f766e;
  background: #e6fffa;
  border: 1px solid #a7f3d0;
}

.hub-badge-view-all {
  margin-top: 2px;
  min-height: 42px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
}

.hub-badge-wall-extra {
  margin-top: 0;
  padding: 12px 13px;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: left;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 12px;
  border: 1px solid var(--border-light, #e2e8f0);
  line-height: 1.55;
}
#myBadgesPage .hub-badge-wall-extra::before {
  content: "TIP";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 18px;
  border-radius: 999px;
  margin-right: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #0f766e;
  background: #ccfbf1;
  border: 1px solid #99f6e4;
  vertical-align: middle;
}

@media (max-width: 380px) {
  #myBadgesPage .hub-badge-overview__grid {
    gap: 6px;
  }
  #myBadgesPage .hub-badge-overview__item b {
    font-size: 14px;
  }
  #myBadgesPage .hub-badge-wall-row {
    padding: 11px 10px;
  }
  #myBadgesPage .hub-badge-wall-row__head {
    gap: 10px;
  }
  #myBadgesPage .hub-badge-wall-row__emoji {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 14px;
  }
  #myBadgesPage .hub-badge-wall-row__name {
    font-size: 15px;
  }
  #myBadgesPage .hub-badge-wall-row__cond,
  #myBadgesPage .hub-badge-wall-row__perk {
    font-size: 12px;
  }
  #myBadgesPage .hub-badge-wall-row__progress-text {
    font-size: 10px;
  }
}
.hub-tg-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: 999px;
  padding: 4px 14px;
  margin-top: 8px;
}
.hub-tg-input {
  border: none;
  background: transparent;
  flex: 1;
  padding: 10px 4px;
  outline: none;
  font-size: 15px;
}
.hub-tg-code-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
  flex-wrap: wrap;
}
.hub-tg-code-cell {
  width: 40px;
  height: 48px;
  text-align: center;
  font-size: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
#hubProfileDataCenterPage #hubProfileDataCenterMain {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 4px;
}
#hubProfileDataCenterPage #hubProfileDataCenterMain .content-card {
  border-radius: 18px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  padding: 14px;
  margin-bottom: 0;
}
#hubProfileDataCenterPage #hubProfileDataCenterMain .card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1px;
  color: var(--text-primary);
}
#hubProfileDataCenterPage #hubProfileDataCenterMain .text-muted {
  font-size: 13px;
  line-height: 1.5;
}
#hubProfileDataCenterPage .hub-data-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
#hubProfileDataCenterPage .hub-data-kpi-item {
  min-height: 84px;
  border-radius: 14px;
  border: 1px solid var(--border-light, #f1f5f9);
  background: #f8fafc;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
}
#hubProfileDataCenterPage .hub-data-kpi-value {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-primary, #0f172a);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
#hubProfileDataCenterPage .hub-data-trend-placeholder {
  margin-top: 10px;
  height: 96px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.35) 0%, rgba(204, 251, 241, 0.55) 100%);
}
#hubProfileDataCenterPage .hub-data-hotline {
  margin-top: 8px;
}
#hubProfileDataCenterPage .hub-data-export-row {
  display: flex;
  gap: 8px;
}
#hubProfileDataCenterPage .hub-data-export-row .btn {
  flex: 1;
}
#hubProfileDataCenterPage .hub-data-upsell-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #f59e0b !important;
  cursor: pointer;
}
#hubProfileDataCenterPage .hub-data-upsell-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #92400e;
}
.hub-merchant-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px;
  margin: 2px 0 14px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  scrollbar-width: none;
}
.hub-merchant-tabs::-webkit-scrollbar {
  display: none;
}
.hub-merchant-tab {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.hub-merchant-tab.active {
  background: linear-gradient(135deg, var(--primary, #0d9488) 0%, var(--primary-hover, #0f766e) 100%);
  border-color: var(--primary, #0d9488);
  color: #fff;
}
.hub-merchant-tab:active {
  transform: scale(0.98);
}
.hub-merchant-tab[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.hub-merchant-panel {
  display: none;
}
.hub-merchant-panel.active {
  display: block;
}
#hubMerchantHubPage .content-card {
  border-radius: 18px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  padding: 14px 14px;
  margin-bottom: 12px;
}
#hubMerchantHubPage .card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1px;
  color: var(--text-primary);
}
#hubMerchantHubPage .text-muted {
  font-size: 13px;
  line-height: 1.5;
}
#hubMerchantHubPage .hub-auth-row {
  padding: 10px 0;
  border-bottom-color: var(--border-light, #f1f5f9);
}
#hubMerchantHubPage .btn {
  min-height: 40px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}
#hubMerchantHubPage .btn-primary {
  background: linear-gradient(135deg, var(--primary, #0d9488) 0%, var(--primary-hover, #0f766e) 100%);
  border-color: var(--primary, #0d9488);
}
#hubMerchantHubPage .btn-secondary {
  border-color: var(--border, #e2e8f0);
}
#hubMerchantHubPage .form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
#hubMerchantHubPage .form-input,
#hubMerchantHubPage .form-textarea {
  border-radius: 12px;
  border: 1px solid var(--border, #e2e8f0);
  background: #ffffff;
}
#hubMerchantHubPage .hub-merchant-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
#hubMerchantHubPage .hub-merchant-kpi-card {
  min-height: 84px;
  padding: 12px 8px;
  border-radius: 14px;
  border: 1px solid var(--border-light, #f1f5f9);
  background: #f8fafc;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
#hubMerchantHubPage .hub-merchant-kpi-value {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-primary, #0f172a);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
#hubMerchantHubPage .hub-merchant-action-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
#hubMerchantHubPage .hub-merchant-action-row .btn {
  flex: 1;
}
@media (max-width: 380px) {
  #hubProfileDataCenterPage .hub-data-kpi-grid {
    grid-template-columns: 1fr;
  }
  #hubProfileDataCenterPage .hub-data-export-row {
    flex-direction: column;
  }
  .hub-merchant-tabs {
    gap: 6px;
    padding: 5px;
  }
  .hub-merchant-tab {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }
  #hubMerchantHubPage .hub-merchant-kpi-grid {
    grid-template-columns: 1fr;
  }
  #hubMerchantHubPage .hub-merchant-action-row {
    flex-direction: column;
  }
}
.hub-settings-row {
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 14px;
  background: #fff;
}
.hub-settings-row i:first-child {
  color: var(--primary);
  margin-right: 8px;
}

.hub-about-card {
  text-align: center;
  padding: 28px 20px 32px;
}
.hub-about-version {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary, #1e293b);
}
.hub-about-copy {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.hub-privacy-option {
  display: block;
  margin: 8px 0;
  font-size: 14px;
  cursor: pointer;
}

/* 开发模式：我的页演示身份切换 */
.hub-dev-identity-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 10px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 16px;
}
.hub-dev-identity-hint {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #b45309;
  text-transform: uppercase;
}
.hub-dev-identity-btns {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.hub-dev-identity-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.hub-dev-identity-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.hub-dev-identity-btn:active {
  transform: scale(0.98);
}

/* —— 会员中心（hubMemberHubPage）原型样式 —— */
#hubMemberHubPage {
  position: relative;
}
#hubMemberHubMain {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 4px;
}
#hubMemberHubMain > .hub-mh-section {
  margin-bottom: 0;
}
.hub-mh-help-btn {
  background: none;
  border: none;
  padding: 6px 8px;
  font-size: 18px;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}
.hub-mh-help-btn:active {
  opacity: 0.75;
}
.hub-mh-section {
  background: #fff;
  border-radius: 18px;
  padding: 16px 15px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  border: 1px solid var(--border);
}
.hub-mh-section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: 0.1px;
  color: var(--text-primary);
}
.hub-mh-section-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--primary-lighter, #ccfbf1);
  color: var(--primary, #0d9488);
  font-size: 12px;
}
.hub-mh-flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.hub-mh-flex-row + .hub-mh-flex-row {
  margin-top: 10px;
}
.hub-mh-flex-row > span:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}
.hub-mh-flex-row > span:last-child {
  color: var(--text-primary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.hub-mh-section .text-muted {
  font-size: 13px;
  line-height: 1.5;
}
.hub-mh-inline-icon {
  margin-right: 6px;
  color: var(--primary, #0d9488);
  font-size: 12px;
}
.hub-mh-entry-title {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  color: var(--text-primary);
}
.hub-mh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 20px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.15px;
  white-space: nowrap;
}
.hub-mh-badge-muted {
  background: #f1f5f9;
  color: #1e293b;
}
.hub-mh-badge-ok {
  background: #ccfbf1;
  color: #0f766e;
}
.hub-mh-badge-warn {
  background: #fef3c7;
  color: #b45309;
}
.hub-mh-badge-vip {
  background: var(--primary);
  color: #fff;
}
.hub-mh-switch-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  cursor: pointer;
}
.hub-mh-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
}
.hub-mh-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.hub-mh-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #cbd5e1;
  border-radius: 24px;
  transition: 0.2s;
}
.hub-mh-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}
.hub-mh-switch input:checked + .hub-mh-slider {
  background: var(--primary);
}
.hub-mh-switch input:checked + .hub-mh-slider::before {
  transform: translateX(24px);
}
.hub-mh-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.hub-mh-btn-row .btn {
  flex: 1;
}
.hub-mh-section > .btn,
.hub-mh-section > .hub-mh-btn-outline {
  margin-top: 10px;
}
.hub-mh-section > .hub-mh-flex-row + .btn,
.hub-mh-section > .hub-mh-flex-row + .hub-mh-btn-outline {
  margin-top: 12px;
}
.hub-mh-section > p {
  margin-top: 8px;
}
.hub-mh-section > p:last-child {
  margin-bottom: 0;
}
.hub-mh-mt {
  margin-top: 16px;
}
.hub-mh-mt-sm {
  margin-top: 8px;
}
.hub-mh-compare-entry {
  cursor: pointer;
}
.hub-mh-compare-entry .text-muted {
  margin-top: 4px;
  font-size: 13px;
}
.hub-mh-points-entry {
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.hub-mh-points-entry:hover,
.hub-mh-points-entry:focus-visible {
  border-color: var(--primary, #0d9488);
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.12);
  outline: none;
}
.hub-mh-points-large {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary, #0d9488);
  line-height: 1.15;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.hub-mh-merchant-teaser {
  cursor: pointer;
  border-color: rgba(13, 148, 136, 0.35);
}
.hub-mh-merchant-teaser:hover {
  border-color: var(--primary, #0d9488);
}
.hub-mh-exposure-entry {
  background: linear-gradient(135deg, #0ea5a4 0%, #14b8a6 100%);
  border-color: rgba(15, 118, 110, 0.25);
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}
.hub-mh-exposure-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.2px;
}
.hub-mh-exposure-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 11px;
}
.hub-mh-exposure-desc {
  margin: 10px 0 14px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
.hub-mh-exposure-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
.hub-mh-exposure-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.hub-mh-exposure-hint {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.35;
}
.hub-mh-exposure-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 12px;
}
.hub-mh-exposure-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 12px;
}
.hub-mh-exposure-plan strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.hub-mh-exposure-plan--recommended {
  position: relative;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.2);
}
.hub-mh-exposure-plan--recommended em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f766e;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.hub-mh-exposure-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hub-mh-exposure-btn {
  min-height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #0f766e;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  flex: 1;
}
.hub-mh-exposure-btn:active {
  transform: scale(0.98);
}
.hub-mh-exposure-btn--ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}
@media (max-width: 380px) {
  #hubMemberHubMain {
    gap: 10px;
  }
  .hub-mh-exposure-title {
    font-size: 16px;
  }
  .hub-mh-exposure-desc {
    font-size: 12px;
  }
  .hub-mh-exposure-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .hub-mh-exposure-actions {
    flex-direction: column;
  }
  .hub-mh-exposure-btn {
    width: 100%;
  }
}
.hub-mh-shop-header {
  margin-bottom: 12px;
  padding: 4px 0 8px;
}
.hub-mh-shop-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.hub-mh-shop-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hub-mh-shop-label {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}
.hub-mh-shop-total {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  background: var(--primary-lighter);
  color: var(--primary-hover);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.hub-mh-product-item {
  background: var(--bg-secondary, #f8fafc);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border-color, #e2e8f0);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hub-mh-product-item:hover {
  border-color: rgba(13, 148, 136, 0.28);
  box-shadow: 0 6px 12px rgba(13, 148, 136, 0.08);
}
.hub-mh-product-name {
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0.1px;
  color: var(--text-primary);
}
.hub-mh-product-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}
.hub-mh-points-cost {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary, #0d9488);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.hub-mh-shop-note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.hub-mh-modal-root {
  position: relative;
}
.hub-mh-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.hub-mh-modal-overlay.is-hidden {
  display: none !important;
}
.hub-mh-modal-card {
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  width: 100%;
  max-width: 340px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}
.hub-mh-modal-card-wide {
  max-width: 380px;
}
.hub-mh-modal-title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
}
.hub-mh-modal-desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
}
.hub-mh-modal-panel {
  background: #f8fafc;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}
.hub-mh-plan-card {
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.hub-mh-plan-card.hub-mh-plan-selected {
  border-color: var(--primary);
  background: #f0fdf4;
}
.hub-mh-plan-desc {
  margin: 8px 0 0;
  font-size: 12px;
}
.hub-mh-price-lg {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.hub-mh-tag-hot {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  background: #fef3c7;
  color: #b45309;
}
.hub-mh-compare-table-wrap {
  overflow-x: auto;
  margin-bottom: 4px;
}
.hub-mh-compare-tbl {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}
.hub-mh-compare-tbl th,
.hub-mh-compare-tbl td {
  border: 1px solid var(--border);
  padding: 8px 6px;
  text-align: center;
}
.hub-mh-compare-tbl th:first-child,
.hub-mh-compare-tbl td:first-child {
  text-align: left;
}
.hub-mh-compare-tbl th {
  background: #f8fafc;
  font-weight: 600;
}

#hubMemberHubPage .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1px;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
#hubMemberHubPage .btn i {
  font-size: 13px;
}
#hubMemberHubPage .btn.btn-full {
  width: 100%;
}
#hubMemberHubPage .btn:active {
  transform: scale(0.985);
}
#hubMemberHubPage .btn-primary {
  border: 1px solid var(--primary, #0d9488);
  background: linear-gradient(135deg, var(--primary, #0d9488) 0%, var(--primary-hover, #0f766e) 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.18);
}
#hubMemberHubPage .btn-primary:hover {
  box-shadow: 0 8px 16px rgba(13, 148, 136, 0.24);
}
#hubMemberHubPage .btn-secondary {
  border: 1px solid var(--border, #e2e8f0);
  background: #ffffff;
  color: var(--text-primary, #0f172a);
}
#hubMemberHubPage .btn-secondary:hover {
  border-color: var(--primary, #0d9488);
  color: var(--primary, #0d9488);
  background: #f8fffe;
}

.hub-mh-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  background: #fff;
  color: var(--primary, #0d9488);
  border: 1.5px solid var(--primary, #0d9488);
  min-height: 40px;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.hub-mh-btn-outline:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.hub-mh-btn-outline:not(:disabled):active {
  transform: scale(0.99);
}
.hub-mh-btn-outline:not(:disabled):hover {
  background: #f0fdfa;
}
.hub-mh-link-inline {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 6px 0 0;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.hub-mh-link-inline:hover {
  color: var(--primary, #0d9488);
}
.hub-mh-section-warn {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #f59e0b;
}
.hub-mh-shop-product-list {
  margin-bottom: 4px;
}
@media (max-width: 380px) {
  .hub-mh-section {
    border-radius: 16px;
    padding: 14px 12px;
  }
  .hub-mh-section-title {
    font-size: 15px;
    gap: 6px;
  }
  .hub-mh-flex-row {
    font-size: 13px;
  }
  .hub-mh-section .text-muted {
    font-size: 12px;
  }
}

/* 攻略：底部分享浮层 — 与信息详情同款 SVG 渠道栏（40px 圆钮 + 横向滚动） */
.guide-native-share-dock {
  position: fixed;
  inset: 0;
  z-index: 6000;
  pointer-events: none;
  visibility: hidden;
}
.guide-native-share-dock.is-open {
  pointer-events: auto;
  visibility: visible;
}
.guide-native-share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.guide-native-share-dock.is-open .guide-native-share-backdrop {
  opacity: 1;
}
.guide-native-share-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate3d(-50%, 100%, 0);
  width: min(480px, 100vw);
  max-height: min(46vh, 380px);
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 10px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 36px rgba(15, 23, 42, 0.14);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.guide-native-share-dock.is-open .guide-native-share-panel {
  transform: translate3d(-50%, 0, 0);
}
.guide-native-share-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.guide-native-share-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.guide-native-share-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.guide-native-share-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.guide-native-share-card-skin.listing-detail-card {
  box-shadow: none;
  border: none;
  margin: 0;
  padding: 0;
  background: transparent;
}
.guide-native-share-footer.listing-detail-footer--share-only {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.guide-native-share-card-skin .listing-detail-footer--share-only .native-share-bar {
  margin-left: 0;
  justify-content: flex-start;
}
.guide-native-share-card-skin.listing-detail-card .listing-detail-footer--share-only .native-share-label {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #475569);
}
.guide-native-share-card-skin.listing-detail-card .listing-detail-footer--share-only .native-share-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  font-size: 18px;
  line-height: 1;
}

/* ==================== 设置页面优化样式 ==================== */
.hub-settings-page-container {
    background-color: #f5f7fa;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: calc(100vh - 60px);
}

.hub-settings-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    background-color: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 0 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.hub-settings-card:active {
    background-color: #f9fafb;
    transform: scale(0.99);
}

.hub-settings-card .hub-icon-security,
.hub-settings-card .hub-icon-privacy,
.hub-settings-card .hub-icon-notification,
.hub-settings-card .hub-icon-logout {
    position: absolute;
    left: 16px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.hub-icon-security { color: #14b8a6; }
.hub-icon-privacy { color: #22c55e; }
.hub-icon-notification { color: #3b82f6; }
.hub-icon-logout { color: #ef4444; }

.hub-settings-text {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.hub-settings-card-logout .hub-settings-text {
    color: #ef4444;
}

.hub-settings-arrow {
    position: absolute;
    right: 16px;
    font-size: 14px;
    color: #9ca3af;
}

.hub-settings-card-logout .hub-settings-arrow {
    display: none;
}

/* —— 会员套餐页（Creem 风格 · /pricing） —— */
#pricingPage .hub-pricing-page-main {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
#pricingPage .hub-pricing-mount {
    margin-bottom: 14px;
}
#pricingPage .hub-pricing-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    background: linear-gradient(105deg, rgba(94, 106, 210, 0.12) 0%, rgba(94, 106, 210, 0.04) 55%, transparent 100%);
    border: 1px solid rgba(94, 106, 210, 0.22);
}
#pricingPage .hub-pricing-trust-creem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: #5e6ad2;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}
#pricingPage .hub-pricing-trust-msg {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
    flex: 1;
    min-width: 0;
}
#pricingPage .hub-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 4px;
}
@media (min-width: 520px) {
    #pricingPage .hub-pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}
#pricingPage .hub-pricing-card {
    position: relative;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--card);
    padding: 16px 14px 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
#pricingPage .hub-pricing-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
    border-radius: 3px 0 0 3px;
}
#pricingPage .hub-pricing-card--premium::before {
    background: #5e6ad2;
}
#pricingPage .hub-pricing-card--vip::before {
    background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 100%);
}
#pricingPage .hub-pricing-card-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}
#pricingPage .hub-pricing-card-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}
#pricingPage .hub-pricing-card-price {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
#pricingPage .hub-pricing-card-price small {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 2px;
}
#pricingPage .hub-pricing-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.55;
}
#pricingPage .hub-pricing-card li + li {
    margin-top: 4px;
}
#pricingPage .hub-pricing-disclaimer {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-tertiary);
}
#pricingPage .hub-pricing-status-card {
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-xl);
}
#pricingPage .hub-pricing-status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}
#pricingPage .hub-pricing-status-label {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-tertiary);
}
#pricingPage .hub-pricing-status-value {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}
#pricingPage .hub-pricing-points-card {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: var(--radius-xl);
}
#pricingPage .hub-pricing-intro {
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-secondary);
}
#pricingPage .hub-pricing-slider-wrap {
    margin-top: 4px;
}
#pricingPage .hub-pricing-slider-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
#pricingPage .hub-pricing-range {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    appearance: none;
    background: var(--border-light);
    outline: none;
}
#pricingPage .hub-pricing-range::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #5e6ad2;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
    cursor: pointer;
}
#pricingPage .hub-pricing-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #5e6ad2;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
    cursor: pointer;
}
#pricingPage .hub-pricing-slider-out {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
}
#pricingPage .hub-pricing-checkout-btn {
    margin-top: 4px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 700;
    border: none;
    background: linear-gradient(180deg, #6b77d9 0%, #5e6ad2 55%, #4d57b8 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(94, 106, 210, 0.35);
}
#pricingPage .hub-pricing-checkout-btn:active {
    transform: scale(0.99);
    opacity: 0.96;
}
