﻿/* 顶部返回栏 */
.app-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: #fff;
  color: #1c1c20;
}

.app-head[hidden] {
  display: none;
}

.app-head-back {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.app-head-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 布局：有顶部栏 / 有 tabbar 时压缩滚动区 */
uni-app.has-apphead #pageWrapper {
  height: calc(100% - 44px);
  margin-top: 44px;
}

uni-app.has-tabbar #pageWrapper {
  height: calc(100% - 50px);
}

uni-app.has-tabbar.has-apphead #pageWrapper {
  height: calc(100% - 94px);
}

/* 原站片段的整页容器按 100vh（含导航栏）计算，这里扣掉外壳顶部栏 / tabbar；
   桌面预览时画布上下还各有 20px 留白，所以再扣 40px */
uni-app.has-apphead {
  --window-bottom: 44px;
}

uni-app.has-tabbar {
  --window-bottom: 50px;
}

uni-app.has-apphead.has-tabbar {
  --window-bottom: 94px;
}

@media (min-width: 700px) {
  uni-app.has-apphead {
    --window-bottom: 84px;
  }
  uni-app.has-tabbar {
    --window-bottom: 90px;
  }
  uni-app.has-apphead.has-tabbar {
    --window-bottom: 134px;
  }
}

/* 个别页面直接写死了 100vh，统一按外壳可视高度计算 */
#app uni-page-body .app-account-scroll-page {
  height: calc(100vh - var(--window-bottom, 0px));
  max-height: calc(100vh - var(--window-bottom, 0px));
}

#app uni-page-body .page-wrap {
  min-height: calc(100vh - var(--window-bottom, 0px));
}

/* ---------------- 通用列表与弹层 ---------------- */
.list-empty {
  padding: 46px 0 30px;
  text-align: center;
  color: #999;
  font-size: 13px;
}

.list-empty img {
  display: block;
  width: 120px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 10px;
  opacity: 0.9;
}

.tx-list {
  display: flex;
  flex-direction: column;
}

.tx-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(120, 110, 170, 0.1);
}

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

.tx-item-main {
  min-width: 0;
  flex: 1;
}

.tx-item-title {
  font-size: 15px;
  font-weight: 600;
  color: #1c1c20;
  line-height: 1.35;
  word-break: break-all;
}

.tx-item-date {
  margin-top: 4px;
  font-size: 12px;
  color: #999;
}

.tx-item-right {
  flex: none;
  margin-left: 12px;
  text-align: right;
}

.tx-item-amount {
  font-size: 17px;
  font-weight: 700;
  color: #6a52ff;
  line-height: 1.2;
}

.tx-item-badge {
  display: inline-block;
  margin-top: 5px;
  padding: 1px 8px;
  border-radius: 9px;
  border: 1px solid rgba(120, 110, 170, 0.35);
  font-size: 11px;
  color: #8b85a8;
  line-height: 16px;
}

.tx-item-badge.is-pending {
  color: #ff7a45;
  border-color: rgba(255, 122, 69, 0.5);
}

/* 日期收益的行 */
.day-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 24px;
}

.day-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(90, 66, 232, 0.06);
  cursor: pointer;
}

.day-card:active {
  opacity: 0.8;
}

.day-card-date {
  font-size: 15px;
  font-weight: 600;
  color: #1c1c20;
}

.day-card-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #9a94b5;
}

.day-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(120, 110, 170, 0.1);
  cursor: pointer;
}

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

.day-item-date {
  font-size: 15px;
  font-weight: 600;
  color: #1c1c20;
}

.day-item-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #9a94b5;
}

.day-item-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.day-item-amount {
  font-size: 17px;
  font-weight: 700;
  color: #6a52ff;
}

.day-item-arrow {
  color: #c2bcd8;
  font-size: 18px;
  line-height: 1;
}

/* 参考站的部分 uni-image 用 div 背景图渲染，基础样式会把里面的 img 设为透明；
   本项目不少图标只写了 img，这里让只含 img 的图标正常显示 */
uni-image > img:only-child {
  opacity: 1;
}

/* 项目详情页（对齐参考站 #/pages/index/detail） */
#app uni-page-body .scroll-page.detail-page {
  background: linear-gradient(180deg, #5f72e8, #7a5db8 18%, #f3f4f8 42%, #f3f4f8);
}

.detail-page .u-navbar__content {
  background: transparent !important;
}

.detail-page .u-navbar__content__title {
  color: #fff !important;
}

.project-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(106, 82, 255, 0.1);
  color: #5b48c9;
  font-size: 11px;
  line-height: 18px;
}

.teach-btn {
  flex-shrink: 0;
  margin-left: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb36b, #ff7a45);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.info-box .card-box .card .item {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  align-items: center;
  padding: 9px 0;
  border-bottom: 0.5px solid #f2f3f7;
}

.info-box .card-box .card .item:last-child {
  border-bottom: 0;
}

.info-box .card-box .card .item-name {
  font-size: 14px;
  color: #2c3344;
  font-weight: 500;
}

.info-box .card-box .card .item-price {
  color: #ff5e37;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.info-box .card-box .card .item-cycle {
  font-size: 12px;
  color: #8b90a0;
  text-align: right;
}

.detail-cell {
  border-bottom: 0.5px solid #f2f3f7;
}

.detail-cell:last-child {
  border-bottom: 0;
}

.detail-cell-head {
  display: flex;
  align-items: center;
  padding: 13px 0;
  cursor: pointer;
}

.detail-cell-icon {
  width: 36px;
  height: 36px;
  margin-right: 11px;
  border-radius: 9px;
  flex-shrink: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(40, 48, 90, 0.14);
}

.detail-cell-main {
  flex: 1;
  min-width: 0;
}

.detail-cell-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1f2c;
  line-height: 1.3;
}

.detail-cell-sub {
  margin-top: 1px;
  font-size: 11px;
  color: #8b90a0;
}

.detail-cell-arrow {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f4f4f5;
  color: #b9bcc7;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.detail-cell.on .detail-cell-arrow {
  transform: rotate(90deg);
}

.detail-cell-body {
  display: none;
  padding: 0 0 13px 47px;
  font-size: 12px;
  line-height: 1.7;
  color: #666;
}

.detail-cell.on .detail-cell-body {
  display: block;
}

/* 收益明细页的结算规则行 */
.project-rule-line {
  margin-top: -4px;
  padding: 0 0 10px;
  font-size: 11px;
  line-height: 16px;
  color: #8b85a8;
}

/* 多档项目的分档结算卡片 */
.plan-settle {
  margin: 0 15px 10px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  box-sizing: border-box;
}
.plan-settle-title {
  font-size: 12px;
  color: #8b85a8;
  line-height: 18px;
  margin-bottom: 6px;
}
.plan-settle-row {
  display: flex;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
  color: #3d3a55;
}
.ps-name { flex: 1; min-width: 0; }
.ps-calc { color: #918ba6; font-size: 12px; margin-right: 12px; }
.ps-amt { font-weight: 600; color: #5a3fd6; }

/* 团队卡片（对齐参考站 .itemInfo，团队页与团队成员页共用） */
.itemInfo {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border: 0.5px solid rgba(106, 82, 255, 0.06);
  box-shadow: 0 5px 14px rgba(90, 66, 232, 0.07), 0 1px 4px rgba(90, 66, 232, 0.03);
}

.mi-top { display: flex; align-items: flex-start; margin-bottom: 12px; }

.mi-avatar-wrap {
  position: relative;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(106, 82, 255, 0.1);
  overflow: hidden;
}

.mi-avatar { width: 100%; height: 100%; border-radius: 50%; background: #eee; display: block; }
.mi-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mi-avatar.blurred { filter: blur(12px) opacity(90%); -webkit-filter: blur(12px) opacity(90%); }

.mi-body { flex: 1; min-width: 0; padding-left: 10px; position: relative; }
.mi-name {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: #1c1c20;
  padding-right: 91px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mi-tags { height: 27px; padding-right: 91px; display: flex; align-items: center; }
.mi-status-dot { width: 9px; height: 9px; margin-right: 4px; flex-shrink: 0; display: block; }
.mi-status-text { font-size: 11px; color: #666; margin-right: 8px; flex-shrink: 0; }
.mi-relation { width: 27px; height: 14px; flex-shrink: 0; display: block; }
.mi-status-dot img,
.mi-relation img,
.mi-contact-icon img,
.mi-tip img { width: 100%; height: 100%; display: block; object-fit: contain; }

.mi-meta { display: flex; align-items: center; font-size: 11px; color: #666; }
.mi-meta-id { flex-shrink: 0; }
.mi-meta-split { width: 1px; height: 10px; background: #e5e5e5; margin: 0 6px; flex-shrink: 0; }
.mi-meta-date { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mi-contact {
  position: absolute;
  right: 0;
  top: 0;
  width: 81px;
  height: 29px;
  background: #f4f4f5;
  border-radius: 222px;
  border: 0.5px solid #efeff0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  cursor: pointer;
}
.mi-contact-icon { width: 22px; height: 22px; flex-shrink: 0; display: block; }
.mi-contact-text { font-size: 12px; color: #d4d4d8; margin-left: 1px; }

.mi-stats {
  background: linear-gradient(180deg, #f7f5ff, #f7f7f8);
  height: 66px;
  border-radius: 8px;
  padding: 0 6px;
  border: 0.5px solid rgba(106, 82, 255, 0.04);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.mi-stat { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 10px; box-sizing: border-box; min-width: 0; }
.mi-stat-label-row { display: flex; align-items: center; margin-top: 1px; }
.mi-stat-label { font-size: 12px; color: #999; }
.mi-tip { width: 11px; height: 11px; margin-left: 4px; flex-shrink: 0; display: block; }
.mi-stat-num { line-height: 28px; font-weight: 600; font-size: 16px; color: #1a1a1a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-stat-split { width: 1px; height: 41px; flex-shrink: 0; background: linear-gradient(180deg, rgba(237, 233, 232, 0.3), rgba(237, 233, 232, 0.7), rgba(237, 233, 232, 0.29)); }

/* 团队成员行 */
.member-row {
  display: flex;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(120, 110, 170, 0.1);
}

.member-row:last-child {
  border-bottom: 0;
}

.member-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8f77ff, #6a52ff);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-right: 10px;
}

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

.member-name {
  font-size: 14px;
  font-weight: 600;
  color: #1c1c20;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-sub {
  margin-top: 2px;
  font-size: 11px;
  color: #9a94b5;
}

.member-val {
  flex: none;
  text-align: right;
  margin-left: 10px;
}

.member-val strong {
  display: block;
  font-size: 14px;
  color: #6a52ff;
}

.member-val span {
  font-size: 11px;
  color: #9a94b5;
}

/* 项目关键词行 */
.kw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(120, 110, 170, 0.1);
  cursor: pointer;
}

.kw-row:last-child {
  border-bottom: 0;
}

.kw-row-main {
  min-width: 0;
}

.kw-row-name {
  font-size: 15px;
  font-weight: 600;
  color: #1c1c20;
  word-break: break-all;
}

.kw-row-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #9a94b5;
}

.kw-row-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kw-row-amount {
  font-size: 16px;
  font-weight: 700;
  color: #6a52ff;
}

/* 通用弹窗 */
.app-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 10, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.app-modal {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(40, 30, 90, 0.3);
}

.app-modal-title {
  padding: 20px 20px 0;
  font-size: 16px;
  font-weight: 700;
  color: #1c1c20;
  text-align: center;
}

.app-modal-body {
  padding: 12px 20px 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #6f698c;
  text-align: center;
}

.app-modal-actions {
  display: flex;
  border-top: 1px solid #f0eef8;
}

.app-modal-actions button {
  flex: 1;
  height: 46px;
  border: 0;
  background: #fff;
  font-size: 15px;
  color: #6f698c;
  cursor: pointer;
}

.app-modal-actions button.primary {
  color: #6a52ff;
  font-weight: 600;
}

.app-modal-actions button + button {
  border-left: 1px solid #f0eef8;
}

/* 表单补丁 */
.form-patch {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-patch input,
.form-patch textarea,
.form-patch select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e7e3f5;
  background: #faf9ff;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  color: #1c1c20;
  outline: none;
}

.form-patch textarea {
  min-height: 88px;
  resize: vertical;
}

.form-submit-btn {
  height: 44px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #8f77ff, #6a52ff);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* 关键词状态标签 */
.kw-status {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 4px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 16px;
}

.kw-status.ok {
  color: #14b866;
  background: rgba(20, 184, 102, 0.1);
}

.kw-status.pending {
  color: #ff7a45;
  background: rgba(255, 122, 69, 0.1);
}

/* 收益报表：片段自带导航条按原站白底深色返回箭头显示 */
body.pages-my-sub-earnings_report .nav {
  background: #fff;
}

body.pages-my-sub-earnings_report .nav-back img {
  filter: invert(1) brightness(0.25);
}

/* 日历格子按原站卡片式间距、月份切换按钮做成灰色圆形 */
body.pages-my-sub-earnings_report .cal-grid--day {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

body.pages-my-sub-earnings_report .cal-cell--day {
  width: auto;
  margin: 0;
  border-radius: 8px;
}

body.pages-my-sub-earnings_report .cal-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f4f4f7;
}

body.pages-my-sub-earnings_report .cal-arrow img {
  width: 12px;
  height: 12px;
}

/* 日期收益 / 关键词明细：对齐原站截图 */
body.pages-my-sub-earnings_keyword_days .header-eyebrow.is-range {
  padding: 0;
  background: transparent;
  color: #928fa3;
  font-size: 12px;
  font-weight: 400;
}

body.pages-my-sub-earnings_keyword_days .header-title .title-part {
  font-size: 17px;
  font-weight: 700;
}

body.pages-my-sub-earnings_keyword_days .header-tags .tag {
  color: #7d6ad9;
}

body.pages-my-sub-earnings_day_keywords .header-title .title-part,
body.pages-my-sub-earnings_day_keywords .transaction-item .rule-name {
  font-size: 15px;
}

.project-head .project-logo {
  width: 24px;
  height: 24px;
  margin-right: 7px;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
  flex: none;
}

body.pages-my-sub-earnings_day_keywords .header-title .title-part {
  font-weight: 700;
}

/* 首页在线客服浮动按钮：片段里的 translateY 是按 390x794 手机屏写死的，
   在桌面预览（画布更矮）会掉出画布底部，这里改为贴画布右下角、位于 tabbar 上方 */
body.pages-projects-projects .advisor-movable-area {
  width: 100% !important;
  height: 100% !important;
}

body.pages-projects-projects .advisor-float {
  transform: none !important;
  position: absolute;
  top: auto;
  left: auto;
  right: 14px;
  bottom: 64px;
}

/* 页面内部可点击元素 */
.channel-card,
.func-item,
.feature-item,
.guide-action,
.amount-all,
.balance-link,
.withdraw-btn,
.search-btn,
.range-chip,
.mode-item,
.cat-tab,
.mask-btn {
  cursor: pointer;
}

/* ============ 个人中心（1:1 对齐参考站） ============ */
@font-face {
  font-family: uniicons;
  src: url('../user_center/uniicons.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.uc-page {
  min-height: 100%;
  padding-bottom: 70px;
  background: linear-gradient(#eff6ff, #f5f7fb 140px, #f5f7fb);
  color: #333;
}

.uc-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

.uc-hero {
  padding: 20px 25px 25px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.uc-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.uc-avatar {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

.uc-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-user {
  flex: 1;
  min-width: 0;
  color: #fff;
}

.uc-name {
  margin-bottom: 3px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.uc-sub {
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.92;
}

.uc-verified {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 0.8px solid rgba(37, 99, 235, 0.25);
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40b0;
  font-size: 11px;
  line-height: 1.2;
}

.uc-card {
  position: relative;
  z-index: 2;
  margin: -17px 9px 0;
  padding: 13px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  box-shadow: 0 7px 17px rgba(8, 13, 28, 0.16);
}

.uc-stat {
  position: relative;
  text-align: center;
}

.uc-stat + .uc-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  width: 1px;
  height: 56%;
  background: #eef0f4;
}

.uc-num {
  color: #000;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.uc-label {
  margin-top: 2px;
  color: #2f3848;
  font-size: 12px;
  font-weight: 400;
}

.uc-banner {
  position: relative;
  height: 100px;
  margin: 10px 10px 0;
  overflow: hidden;
  background: #1f3b73;
}

.uc-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s;
}

.uc-slide.on {
  opacity: 1;
}

.uc-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.uc-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.uc-dots i.on {
  width: 10px;
  border-radius: 3px;
  background: #fff;
}

.uc-grid {
  margin: 10px 10px 0;
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px 5px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(22, 28, 45, 0.08);
}

.uc-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.uc-ico {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
}

.uc-glyph {
  font-family: uniicons;
  font-style: normal;
  font-size: 26px;
  line-height: 1;
  color: #fff;
}

.uc-cell > span:last-child {
  margin-top: 8px;
  line-height: 1.2;
  text-align: center;
}

.uc-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 7px;
  height: 7px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #ef4444;
}

.uc-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  display: flex;
  height: 50px;
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
}

.uc-tab {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  background: none;
  cursor: pointer;
}

.uc-tab img {
  display: block;
  width: 24px;
  height: 24px;
}

.uc-tab span {
  color: #94a3b8;
  font-size: 10px;
  line-height: 1.2;
}

.uc-tab.on span {
  color: #2563eb;
}

.uc-badge {
  position: absolute;
  top: 2px;
  left: calc(50% + 4px);
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 7px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  line-height: 14px;
  text-align: center;
}