/* 英语模块付费墙与会员状态样式 */

.el-member-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #F6FBF2;
  border: 1px solid #E9F1E6;
  font-size: 13px;
  color: #2F6B3C;
  font-weight: 600;
}
.el-member-banner .el-badge-member {
  background: #9EE493;
  color: #0F1A12;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.el-member-banner .el-badge-free {
  background: #FFF3CD;
  color: #856404;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.el-member-banner .el-expire { color: #6E7681; font-weight: 500; }
.el-banner-subscribe {
  margin-left: auto;
  min-height: 34px;
  border: none;
  border-radius: 9px;
  background: #2F6B3C;
  color: #fff;
  padding: 7px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(47, 107, 60, 0.18);
}
.el-banner-subscribe:hover { background: #275B33; }
.el-banner-subscribe:focus-visible { outline: 2px solid #9EE493; outline-offset: 2px; }
@media (max-width: 640px) {
  .el-member-banner { flex-wrap: nowrap; margin-top: 8px; padding: 6px 8px; overflow: hidden; }
  .el-member-banner .el-expire { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .el-banner-subscribe { width: auto; margin-left: auto; flex-shrink: 0; padding: 6px 9px; }
}

.library-card.el-locked {
  position: relative;
}
.library-card.el-locked::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.55);
  border-radius: inherit;
  pointer-events: none;
}
.el-lock {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  z-index: 2;
  background: #23262B;
  color: #fff;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.el-free {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: #9EE493;
  color: #0F1A12;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.el-paywall-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0,0,0,0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.el-paywall-overlay.visible { display: flex; }
.el-paywall-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  text-align: center;
}
.el-paywall-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: #8B949E;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.el-paywall-close:hover { background: #F2F4F6; color: #23262B; }
.el-paywall-modal h3 {
  font-size: 20px;
  font-weight: 800;
  color: #23262B;
  margin-bottom: 12px;
}
.el-pay-desc {
  font-size: 14px;
  color: #6E7681;
  line-height: 1.6;
  margin-bottom: 16px;
}
.el-pay-meta {
  font-size: 13px;
  color: #59636E;
  margin-bottom: 20px;
}
.el-pay-btn {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: #9EE493;
  color: #0F1A12;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s;
}
.el-pay-btn:hover:not(:disabled) { background: #8CDB80; }
.el-pay-btn:disabled { background: #C8D0D8; color: #6E7681; cursor: not-allowed; }
.el-pay-hint {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
}
.el-pay-hint.ok { background: #F6FBF2; color: #2F6B3C; }
.el-pay-hint.warn { background: #FFF8E1; color: #856404; }
.el-pay-hint.err { background: #FFF3F3; color: #B84040; }
.el-pay-foot {
  margin-top: 14px;
  font-size: 12px;
  color: #9ca3af;
}
