/* 升级会员页 — 无底栏、横滑套餐、固定开通条 */
body.wb-uc.wb-uc-upgrade-page{
  --wb-tabbar-height: 0px !important;
  --uc-vip-shell-max: var(--wb-app-shell-max, 960px);
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  overflow-x: hidden !important;
  max-width: 100%;
  width: 100%;
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
}
html:has(body.wb-uc-upgrade-page){
  overflow-x: hidden;
}
body.wb-uc.wb-uc-upgrade-page .myui-nav__tabbar.wb-bottom-tabbar,
body.wb-uc-upgrade-page .wb-bottom-tabbar{
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.wb-uc.wb-uc-upgrade-page .myui-foot,
body.wb-uc.wb-uc-upgrade-page .container{
  max-width: 100%;
  overflow-x: hidden;
}
.wb-uc-upgrade-page .uc-container.uc-vip{
  width: min(var(--uc-vip-shell-max), 100%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 8px;
  padding-bottom: 20px;
  box-sizing: border-box;
  overflow-x: clip;
}
.uc-vip-empty{
  margin: 24px 0;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* 用户信息 */
.uc-vip-user{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0 10px;
}
.uc-vip-user__face.uc-avatar,
.uc-vip-user__face.uc-avatar.uc-avatar--lg{
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 20px;
  border: 0 !important;
  background:
    linear-gradient(145deg, #dbeafe 0%, #e0e7ff 55%, #ede9fe 100%) !important;
  box-shadow: none !important;
  overflow: hidden;
}
.uc-vip-user__face.uc-avatar img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: default;
  background: transparent;
}
.uc-vip-user__info{ flex: 1 1 auto; min-width: 0; }
.uc-vip-user__name{
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--uc-text, #0f172a);
}
.uc-vip-user__tip{
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--uc-muted, #64748b);
  line-height: 1.4;
}
.uc-vip-user__meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--uc-muted, #64748b);
}
.uc-vip-user__meta .uc-pill--level{
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2px;
  gap: 5px;
  white-space: nowrap;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.uc-vip-user__meta .uc-pill--level i{
  font-size: 11px;
  opacity: 1;
}
.uc-vip-user__meta .uc-pill--vip{
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 58%, #f59e0b 100%);
  color: #92400e !important;
}
.uc-vip-user__meta .uc-pill--vip i{ color: #92400e !important; }
.uc-vip-user__meta .uc-pill--member{
  background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
  color: #1e40af !important;
}
.uc-vip-user__meta .uc-pill--member i{ color: #1e40af !important; }
.uc-vip-user__meta .uc-pill--normal{
  background: #f1f5f9;
  color: #475569 !important;
}
.uc-vip-user__meta .uc-pill--normal i{ color: #64748b !important; }
.uc-vip-user__expire{
  font-style: normal;
  color: var(--uc-muted, #64748b);
}
.uc-vip-user__points{
  font-weight: 600;
  color: var(--uc-text, #0f172a);
}
html.theme-dark .uc-vip-user__meta .uc-pill--member{
  background: linear-gradient(135deg, rgba(59,130,246,.28), rgba(14,165,233,.2));
  color: #bfdbfe !important;
}
html.theme-dark .uc-vip-user__meta .uc-pill--member i{ color: #bfdbfe !important; }
html.theme-dark .uc-vip-user__meta .uc-pill--normal{
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.88) !important;
}
html.theme-dark .uc-vip-user__meta .uc-pill--normal i{ color: rgba(255,255,255,.8) !important; }
html.theme-dark .uc-vip-user__expire{ color: rgba(255,255,255,.55); }
html.theme-dark .uc-vip-user__points{ color: rgba(255,255,255,.88); }
body.wb-uc a.uc-vip-user__recharge,
body.wb-uc button.uc-vip-user__recharge{
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  background: #2563eb;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* 横滑套餐：无外框，按级别配色，选中放大居中 */
.uc-vip-plans{
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.uc-vip-plans__scroll{
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 14px 4px 18px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  contain: content;
}
.uc-vip-plans__scroll::-webkit-scrollbar{ display: none; }

.uc-vip-plan{
  --plan-fg: #1e3a8a;
  --plan-fg-soft: #64748b;
  --plan-bg: #e8eef9;
  --plan-bg-2: #f4f7fc;
  --plan-accent: #2563eb;
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: min(58vw, 228px);
  min-width: 200px;
  height: auto;
  min-height: 108px;
  padding: 14px 14px 12px;
  border: 0 !important;
  outline: none;
  border-radius: 16px;
  background: linear-gradient(120deg, var(--plan-bg) 0%, var(--plan-bg-2) 55%, var(--plan-bg) 100%);
  color: var(--plan-fg);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: center;
  transform: scale(.94);
  transform-origin: center center;
  opacity: .78;
  box-shadow: none !important;
  transition: transform .32s cubic-bezier(.22,.82,.28,1), opacity .28s ease;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  box-sizing: border-box;
  will-change: transform, opacity;
  overflow: hidden;
}
.uc-vip-plan:focus,
.uc-vip-plan:focus-visible{
  outline: none;
  box-shadow: none !important;
}
.uc-vip-plan.is-active{
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}
.uc-vip-plans__scroll{
  scroll-behavior: smooth;
}
.uc-vip-plan--week{
  --plan-fg: #065f46;
  --plan-fg-soft: #047857;
  --plan-bg: #d1fae5;
  --plan-bg-2: #ecfdf5;
  --plan-accent: #059669;
}
.uc-vip-plan--month{
  --plan-fg: #5b21b6;
  --plan-fg-soft: #7c3aed;
  --plan-bg: #ede9fe;
  --plan-bg-2: #f5f3ff;
  --plan-accent: #7c3aed;
}
.uc-vip-plan--season{
  --plan-fg: #075985;
  --plan-fg-soft: #0284c7;
  --plan-bg: #e0f2fe;
  --plan-bg-2: #f0f9ff;
  --plan-accent: #0284c7;
}
.uc-vip-plan--year{
  --plan-fg: #92400e;
  --plan-fg-soft: #d97706;
  --plan-bg: #fef3c7;
  --plan-bg-2: #fffbeb;
  --plan-accent: #d97706;
}
.uc-vip-plan--permanent{
  --plan-fg: #9f1239;
  --plan-fg-soft: #e11d48;
  --plan-bg: #ffe4e6;
  --plan-bg-2: #fff1f2;
  --plan-accent: #e11d48;
}
.uc-vip-plan.is-active.uc-vip-plan--week{
  background: linear-gradient(115deg, #059669 0%, #10b981 55%, #34d399 100%);
  color: #fff;
}
.uc-vip-plan.is-active.uc-vip-plan--month{
  background: linear-gradient(115deg, #6d28d9 0%, #7c3aed 50%, #a855f7 100%);
  color: #fff;
}
.uc-vip-plan.is-active.uc-vip-plan--season{
  background: linear-gradient(115deg, #0369a1 0%, #0284c7 50%, #38bdf8 100%);
  color: #fff;
}
.uc-vip-plan.is-active.uc-vip-plan--year{
  background: linear-gradient(115deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
  color: #fff;
}
.uc-vip-plan.is-active.uc-vip-plan--permanent{
  background: linear-gradient(115deg, #be123c 0%, #e11d48 50%, #fb7185 100%);
  color: #fff;
}

.uc-vip-plan__tag{
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: var(--plan-accent);
}
.uc-vip-plan.is-active .uc-vip-plan__tag{
  background: rgba(255,255,255,.28);
  color: #fff;
}
.uc-vip-plan__body{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.uc-vip-plan__main{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}
.uc-vip-plan__side{
  flex: 0 0 auto;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  max-width: 42%;
  padding-top: 4px;
}
.uc-vip-plan__side.is-on{
  display: flex;
}
.uc-vip-plan__deco{
  position: absolute;
  right: -24px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.28), transparent 68%);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.uc-vip-plan.is-active .uc-vip-plan__deco{
  opacity: .65;
}
.uc-vip-plan__name{
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .02em;
}
.uc-vip-plan__price{
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.uc-vip-plan__now{
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.uc-vip-plan__price b,
.uc-vip-plan__now b{
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--plan-accent);
}
.uc-vip-plan.is-active .uc-vip-plan__price b,
.uc-vip-plan.is-active .uc-vip-plan__now b{ color: #fff; }
.uc-vip-plan__price em,
.uc-vip-plan__now em{
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: var(--plan-fg-soft);
}
.uc-vip-plan.is-active .uc-vip-plan__price em,
.uc-vip-plan.is-active .uc-vip-plan__now em{ color: rgba(255,255,255,.85); }
.uc-vip-plan__origin{
  font-size: 11px;
  line-height: 1.2;
  color: var(--plan-fg-soft);
  text-decoration: line-through;
  opacity: .75;
}
.uc-vip-plan.is-active .uc-vip-plan__origin{
  color: rgba(255,255,255,.72);
  opacity: 1;
}
.uc-vip-plan__cd{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15,23,42,.12);
  line-height: 1.15;
  text-align: center;
}
.uc-vip-plan.is-active .uc-vip-plan__cd{
  background: rgba(255,255,255,.2);
}
.uc-vip-plan__cd[hidden]{ display: none !important; }
.uc-vip-plan__cd-time{
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: #e64340;
}
.uc-vip-plan.is-active .uc-vip-plan__cd-time{ color: #fff; }
.uc-vip-plan__cd-label{
  font-size: 10px;
  color: #c0392b;
  opacity: .95;
  white-space: nowrap;
}
.uc-vip-plan.is-active .uc-vip-plan__cd-label{ color: rgba(255,255,255,.9); }
.uc-vip-plan__meta,
.uc-vip-plan__group{
  display: block;
  font-size: 11px;
  line-height: 1.35;
  color: var(--plan-fg-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.uc-vip-plan.is-active .uc-vip-plan__meta,
.uc-vip-plan.is-active .uc-vip-plan__group{ color: rgba(255,255,255,.82); }
.uc-vip-plan__group{ display: none; }

/* 特权 */
.uc-vip-priv{ margin-top: 10px; }
.uc-vip-priv__title{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--uc-text, #0f172a);
}
.uc-vip-priv__title b{
  color: #2563eb;
  font-weight: 500;
}
.uc-vip-priv__grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
}
.uc-vip-priv__grid li{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.uc-vip-priv__grid i{
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #2563eb;
  background: rgba(37,99,235,.1);
}
.uc-vip-priv__grid span{
  font-size: 13px;
  font-weight: 500;
  color: var(--uc-text, #0f172a);
  line-height: 1.35;
}

/* 底部：左侧金额 + 右侧立即开通 */
.uc-vip-bar{
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 120;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: min(var(--uc-vip-shell-max, var(--wb-app-shell-max, 960px)), 100%);
  max-width: 100%;
  margin: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 -4px 16px rgba(15,23,42,.06);
}
.uc-vip-bar__price{
  flex: 1 1 auto;
  min-width: 0;
}
.uc-vip-bar__label{
  display: block;
  font-size: 12px;
  color: #64748b;
  line-height: 1.2;
}
.uc-vip-bar__amount{
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 2px;
  font-weight: 500;
  color: #2563eb;
}
.uc-vip-bar__amount b{
  font-size: 18px;
  line-height: 1;
  letter-spacing: -.03em;
}
.uc-vip-bar__amount em{
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: #64748b;
}
.uc-vip-bar.is-short .uc-vip-bar__amount{ color: #ea580c; }
.uc-vip-bar__btn{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #2563eb;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  white-space: nowrap;
}
.uc-vip-bar.is-short .uc-vip-bar__btn{ background: #ea580c; }
.uc-vip-bar__btn:disabled{
  opacity: .55;
  cursor: not-allowed;
}
.uc-vip-bar__btn.is-loading{ opacity: .8; }
.uc-vip-bar__btn:active:not(:disabled){ transform: translateY(1px); }

/* 暗色 */
html.theme-dark .uc-vip-user__name{ color: rgba(255,255,255,.94); }
html.theme-dark .uc-vip-user__tip,
html.theme-dark .uc-vip-user__meta{ color: rgba(255,255,255,.55); }
html.theme-dark .uc-vip-user__meta span{ color: rgba(255,255,255,.88); }
html.theme-dark .uc-vip-plan{
  opacity: .65;
}
html.theme-dark .uc-vip-plan.is-active{ opacity: 1; }
html.theme-dark .uc-vip-priv__title{ color: rgba(255,255,255,.92); }
html.theme-dark .uc-vip-priv__grid span{ color: rgba(255,255,255,.88); }
html.theme-dark .uc-vip-priv__grid i{
  color: #93c5fd;
  background: rgba(37,99,235,.2);
}
html.theme-dark .uc-vip-bar{
  background: #0f172a;
  box-shadow: 0 -4px 16px rgba(0,0,0,.35);
}
html.theme-dark .uc-vip-bar__label,
html.theme-dark .uc-vip-bar__amount em{ color: rgba(255,255,255,.55); }
html.theme-dark .uc-vip-bar__amount{ color: #93c5fd; }

@media (min-width: 640px){
  .uc-vip-plan{ width: 140px; }
  .uc-vip-plans__scroll{
    gap: 12px;
    padding: 18px 0 22px;
  }
  .uc-vip-priv__grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px){
  .uc-vip-plans__scroll{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    overflow: visible;
    scroll-snap-type: none;
    touch-action: manipulation;
  }
  .uc-vip-plan{
    width: auto;
    min-width: 0;
    transform: none;
    opacity: .85;
  }
  .uc-vip-plan.is-active{
    transform: none;
    opacity: 1;
    outline: 2px solid var(--plan-accent);
    outline-offset: 0;
  }
}

/* 充值底部抽屉 */
body.uc-recharge-sheet-open{ overflow:hidden; }
.uc-recharge-sheet{
  position:fixed;
  inset:0;
  z-index:220;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  --wallet-primary:var(--uc-primary,#2563eb);
  --wallet-primary-2:var(--uc-primary-2,#4f46e5);
  --wallet-surface:var(--uc-surface,#fff);
  --wallet-surface-2:var(--uc-surface-2,#f8fafc);
  --wallet-text:var(--uc-text,#0f172a);
  --wallet-muted:var(--uc-muted,#64748b);
  --wallet-border:var(--uc-border,rgba(15,23,42,.1));
}
.uc-recharge-sheet[hidden]{ display:none !important; }
.uc-recharge-sheet__mask{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.48);
}
.uc-recharge-sheet__panel{
  position:relative;
  z-index:1;
  width:min(var(--uc-vip-shell-max, 960px), 100%);
  max-height:min(86vh, 720px);
  display:flex;
  flex-direction:column;
  border-radius:18px 18px 0 0;
  background:#fff;
  box-shadow:0 -12px 40px rgba(15,23,42,.18);
  padding-bottom:env(safe-area-inset-bottom, 0px);
  animation:ucRechargeSheetIn .24s ease both;
}
@keyframes ucRechargeSheetIn{
  from{ transform:translateY(24px); opacity:.6; }
  to{ transform:none; opacity:1; }
}
.uc-recharge-sheet__handle{
  width:36px;
  height:4px;
  margin:8px auto 0;
  border-radius:999px;
  background:rgba(148,163,184,.55);
}
.uc-recharge-sheet__head{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  padding:10px 44px 8px;
}
.uc-recharge-sheet__head strong{
  font-size:15px;
  font-weight:500;
  color:#0f172a;
}
.uc-recharge-sheet__close{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:32px;
  height:32px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#94a3b8;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.uc-recharge-sheet__body{
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  padding:4px 16px 12px;
  -webkit-overflow-scrolling:touch;
}
.uc-recharge-sheet__amount-label{
  display:block;
  font-size:12px;
  color:#64748b;
  margin-bottom:6px;
}
.uc-recharge-sheet__amount-row{
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:12px;
  background:#f8fafc;
}
.uc-recharge-sheet__amount-row em{
  font-style:normal;
  font-size:16px;
  font-weight:500;
  color:#0f172a;
}
.uc-recharge-sheet__amount-row input{
  flex:1;
  min-width:0;
  border:0;
  outline:none;
  background:transparent;
  font-size:20px;
  font-weight:500;
  color:#0f172a;
}
.uc-recharge-sheet__hint{
  margin:8px 0 10px;
  font-size:12px;
  color:#64748b;
  line-height:1.4;
}
.uc-recharge-sheet__hint b{ color:#2563eb; }
.uc-recharge-sheet__quick{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}
.uc-recharge-sheet__chip{
  min-width:64px;
  height:32px;
  padding:0 12px;
  border:0;
  border-radius:999px;
  background:#f1f5f9;
  color:#334155;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.uc-recharge-sheet__chip.is-active{
  background:#2563eb;
  color:#fff;
}
.uc-recharge-sheet__methods{
  list-style:none;
  margin:0 0 10px;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.uc-recharge-sheet__method{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:52px;
  padding:10px 12px;
  border-radius:12px;
  background:#f8fafc;
  cursor:pointer;
}
.uc-recharge-sheet__method.is-disabled{
  opacity:.45;
  cursor:not-allowed;
}
.uc-recharge-sheet__method.is-active{
  background:rgba(37,99,235,.08);
  box-shadow:inset 0 0 0 1.5px #2563eb;
}
.uc-recharge-sheet__method-ico{
  width:34px;
  height:34px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#2563eb;
  font-size:16px;
}
.uc-recharge-sheet__method-name{
  flex:1;
  min-width:0;
  font-size:14px;
  font-weight:650;
  color:#0f172a;
}
.uc-recharge-sheet__method-check{
  width:20px;
  height:20px;
  border-radius:50%;
  border:2px solid #cbd5e1;
  box-sizing:border-box;
}
.uc-recharge-sheet__method.is-active .uc-recharge-sheet__method-check{
  border-color:#2563eb;
  background:
    radial-gradient(circle at center, #2563eb 0 45%, transparent 46%),
    #fff;
}
.uc-recharge-sheet__sub{
  margin-bottom:10px;
}
.uc-recharge-sheet__sub select{
  width:100%;
  height:40px;
  border:0;
  border-radius:10px;
  padding:0 12px;
  background:#f1f5f9;
  color:#0f172a;
  font-size:14px;
}
.uc-recharge-sheet__tips{
  margin-top:4px;
  padding:10px 12px;
  border-radius:12px;
  background:#f8fafc;
}
.uc-recharge-sheet__tips strong{
  display:block;
  margin-bottom:6px;
  font-size:12px;
  color:#334155;
}
.uc-recharge-sheet__tips p{
  margin:0 0 4px;
  font-size:11px;
  line-height:1.45;
  color:#64748b;
}
.uc-recharge-sheet__foot{
  padding:10px 16px 12px;
  border-top:1px solid rgba(148,163,184,.2);
}
.uc-recharge-sheet__pay{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:40px;
  border:0;
  border-radius:999px;
  background:#2563eb;
  color:#fff;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
}
.uc-recharge-sheet__pay:disabled{ opacity:.6; cursor:not-allowed; }
.uc-recharge-sheet__cs{
  margin:8px 0 0;
  text-align:center;
  font-size:12px;
  color:#94a3b8;
}
.uc-recharge-sheet__cs a{
  color:#2563eb !important;
  font-weight:500;
  text-decoration:none;
}
html.theme-dark .uc-recharge-sheet__panel{ background:#0d1020; }
html.theme-dark .uc-recharge-sheet__head strong,
html.theme-dark .uc-recharge-sheet__method-name,
html.theme-dark .uc-recharge-sheet__amount-row em,
html.theme-dark .uc-recharge-sheet__amount-row input{ color:rgba(255,255,255,.92); }
html.theme-dark .uc-recharge-sheet__amount-row,
html.theme-dark .uc-recharge-sheet__method,
html.theme-dark .uc-recharge-sheet__tips,
html.theme-dark .uc-recharge-sheet__chip{ background:rgba(255,255,255,.06); color:rgba(255,255,255,.82); }
html.theme-dark .uc-recharge-sheet__chip.is-active{ background:#2563eb; color:#fff; }
html.theme-dark .uc-recharge-sheet__method-ico{ background:rgba(255,255,255,.08); }
html.theme-dark .uc-recharge-sheet__sub select{ background:rgba(255,255,255,.08); color:rgba(255,255,255,.9); }
html.theme-dark .uc-recharge-sheet__foot{ border-top-color:rgba(255,255,255,.1); }


/* 原生充值抽屉内容区 */
.uc-recharge-sheet__body{
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  -webkit-overflow-scrolling:touch;
  padding:4px 12px 12px;
  max-height:none;
}
.uc-recharge-sheet__modes{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 12px;
  padding:0 2px;
}
.uc-recharge-sheet__mode{
  flex:1;
  border:0;
  border-radius:999px;
  padding:8px 10px;
  font-size:13px;
  font-weight:500;
  color:#64748b;
  background:#f1f5f9;
  cursor:pointer;
}
.uc-recharge-sheet__mode.is-active{
  color:#fff;
  background:#2563eb;
}
.uc-recharge-sheet__pane.is-hidden{ display:none !important; }
.uc-recharge-sheet__empty{
  padding:28px 12px;
  text-align:center;
  color:#64748b;
  font-size:13px;
}
.uc-recharge-sheet__input{
  display:block;
  width:100%;
  margin:0 0 10px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  padding:12px 14px;
  font-size:14px;
  background:#fff;
}
.uc-recharge-offline .wb-offline-step-main,
.uc-recharge-offline .wb-offline-form{
  margin:0;
  padding:0;
}
.uc-recharge-offline .wb-offline-form{ display:none; flex-direction:column; }
.uc-recharge-offline .wb-offline-form.is-visible{ display:flex; }
.uc-recharge-sheet__panel{
  max-height:min(92vh, 780px);
  display:flex;
  flex-direction:column;
  min-height:0;
}
.uc-recharge-sheet__cs{
  flex:0 0 auto;
  margin:0 16px 10px;
}
.uc-recharge-sheet .wb-offline-continue,
.uc-recharge-sheet #btn_submit_offline{
  width:100%;
  min-height:44px;
  border:0;
  border-radius:12px;
  font-size:15px;
  font-weight:750;
  box-shadow:none;
}
/* 升级会员充值弹层：步骤互斥显示；内容滚、操作钮钉在弹层底部 */
.uc-recharge-sheet__body{
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  -webkit-overflow-scrolling:touch;
  max-height:none;
}
.uc-recharge-sheet__modes{
  flex:0 0 auto;
}
.uc-recharge-sheet__pane[data-pane="offline"]:not(.is-hidden),
.uc-recharge-sheet .uc-recharge-offline{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.uc-recharge-sheet .wb-offline-step-main{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.uc-recharge-sheet .wb-offline-step-main.is-hidden,
body.wb-offline-confirm-open .uc-recharge-sheet .wb-offline-step-main{
  display:none!important;
}
.uc-recharge-sheet .wb-offline-form.is-visible{
  flex:1 1 auto;
  min-height:0;
  display:flex!important;
  flex-direction:column;
  overflow:hidden;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.uc-recharge-sheet .wb-offline-step-main__body,
.uc-recharge-sheet .wb-offline-form__body{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding-bottom:12px!important;
}
.uc-recharge-sheet #offline_info,
.uc-recharge-sheet .wb-offline-receive-info,
.uc-recharge-sheet .wb-offline-pay-card,
.uc-recharge-sheet .wb-offline-transfer-block{
  overflow:visible;
  flex-shrink:0;
}
.uc-recharge-sheet .wb-offline-step-main__bar,
.uc-recharge-sheet .wb-offline-form__bar{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  z-index:3!important;
  flex:0 0 auto;
  margin:0!important;
  padding:10px 0 8px!important;
  background:#fff!important;
  box-shadow:0 -10px 24px rgba(15,23,42,.06);
}
html.theme-dark .uc-recharge-sheet .wb-offline-step-main__bar,
html.theme-dark .uc-recharge-sheet .wb-offline-form__bar{
  background:#0d1020!important;
  box-shadow:0 -10px 24px rgba(0,0,0,.35);
}
.uc-recharge-sheet__cs{
  margin:0 16px calc(8px + env(safe-area-inset-bottom, 0px))!important;
}
/* 非线下 pane 仍允许整区滚动 */
.uc-recharge-sheet__pane[data-pane="online"]:not(.is-hidden),
.uc-recharge-sheet__pane[data-pane="card"]:not(.is-hidden){
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.uc-vip-priv__tier{margin-left:.35em;font-style:normal;font-size:11px;opacity:.7}

/* 推广免充值：紧凑横条 */
.uc-vip-promo{
  margin: 2px 0 10px;
  padding: 12px 2px;
  border-radius: 0;
  background: transparent;
  border: 0;
  contain: content;
}
.uc-vip-promo__main{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 0;
  box-shadow: none;
}
.uc-vip-promo__text{
  flex:1 1 auto;
  min-width:0;
}
.uc-vip-promo__badge{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-bottom:2px;
  padding:1px 7px;
  border-radius:999px;
  font-size:10px;
  font-weight:600;
  color:#c2410c;
  background:rgba(234,88,12,.12);
}
.uc-vip-promo__title{
  display:block;
  margin:0;
  font-size:13px;
  font-weight:700;
  line-height:1.3;
  color:#9a3412;
}
.uc-vip-promo__stat{
  margin:3px 0 0;
  font-size:11px;
  line-height:1.35;
  color:#c2410c;
  opacity:.9;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.uc-vip-promo__stat b{font-weight:700}
.uc-vip-promo__cta{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:#fff!important;
  text-decoration:none!important;
  background:#ea580c;
  white-space:nowrap;
}
.uc-vip-promo__tiers{
  display:flex;
  gap:6px;
  margin-top:8px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  touch-action:pan-x pan-y;
}
.uc-vip-promo__tiers::-webkit-scrollbar{display:none}
.uc-vip-promo__chip{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:3px 8px;
  border-radius:999px;
  font-size:10px;
  color:#9a3412;
  background:rgba(255,255,255,.55);
  border:0;
  white-space:nowrap;
}
.uc-vip-promo__chip em{
  font-style:normal;
  font-weight:700;
  color:#c2410c;
}
html.theme-dark .uc-vip-promo{
  background: transparent;
  border: 0;
}
html.theme-dark .uc-vip-promo__main{
  background: linear-gradient(135deg, rgba(124,45,18,.38), rgba(154,52,18,.22));
  border: 0;
}
html.theme-dark .uc-vip-promo__title,
html.theme-dark .uc-vip-promo__stat{color:#fed7aa}
html.theme-dark .uc-vip-promo__chip{
  background:rgba(15,23,42,.35);
  border:0;
  color:#fed7aa;
}
html.theme-dark .uc-vip-promo__chip em{color:#fdba74}
html.theme-dark .uc-vip-promo__cta{background:#c2410c}
