/* 图形验证码行隐藏（不依赖 :has，兼容微信 WebView） */
.ly-hide-image-captcha,
.captcha:not(.captcha-sms),
uni-view.captcha:not(.captcha-sms) {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* 登录页字号加大（中老年） */
.login .header .title,
.login .container .header .title {
  font-size: 1.75rem !important;
}
.login .form-item--input,
.login .form-item input,
.login uni-input {
  font-size: 1.125rem !important;
}
.login .captcha-sms,
.login .login-button {
  font-size: 1.125rem !important;
  min-height: 48px !important;
}

.balance-card .entry-balance-big,
.big-entry-item.balance-card .entry-balance-big {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #e54d42 !important;
  margin-top: 6px !important;
  line-height: 1.3 !important;
}
.big-entry-item.balance-card {
  background: linear-gradient(135deg, #fff7e6, #ffe8cc) !important;
}
.my-logout,
.logout-btn {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.ly-no-avatar-upload,
.ly-no-avatar-upload * {
  pointer-events: none !important;
}

/* 登录白屏兜底层 */
#ly-login-failsafe {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #fff;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
#ly-login-failsafe.show {
  display: block;
}
#ly-login-failsafe .ly-lf-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 24px 40px;
  box-sizing: border-box;
}
#ly-login-failsafe .ly-lf-title {
  font-size: 28px;
  font-weight: 800;
  color: #191919;
  line-height: 1.3;
}
#ly-login-failsafe .ly-lf-sub {
  margin-top: 10px;
  margin-bottom: 28px;
  font-size: 16px;
  color: #888;
  line-height: 1.4;
}
#ly-login-failsafe .ly-lf-input {
  width: 100%;
  box-sizing: border-box;
  height: 52px;
  padding: 0 14px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 18px;
  margin-bottom: 14px;
  background: #fff;
  color: #222;
}
#ly-login-failsafe .ly-lf-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
#ly-login-failsafe .ly-lf-row .ly-lf-input {
  flex: 1;
  margin-bottom: 0;
}
#ly-login-failsafe .ly-lf-code {
  flex: 0 0 auto;
  min-width: 120px;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: #fff1f0;
  color: #e54d42;
  font-size: 16px;
  font-weight: 700;
  padding: 0 12px;
}
#ly-login-failsafe .ly-lf-code:disabled {
  opacity: 0.6;
}
#ly-login-failsafe .ly-lf-login {
  width: 100%;
  height: 54px;
  margin-top: 10px;
  border: 0;
  border-radius: 27px;
  background: linear-gradient(to right, #fa2209, #ff6335);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 4px;
}
#ly-login-failsafe .ly-lf-login:disabled {
  opacity: 0.65;
}
#ly-login-failsafe .ly-lf-tip {
  margin-top: 14px;
  min-height: 24px;
  font-size: 16px;
  line-height: 1.4;
}
