/* 免费额度用尽 · 引导闲鱼购买
 * 弹窗固定浅色底 + 深色字；内部重置 --text/--muted，避免继承页面深色主题导致白底看不清 */
.sf-quota-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.sf-quota-modal {
  width: min(100%, 22rem);
  padding: 1.25rem 1.35rem 1.1rem;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  color-scheme: light;
  --text: #0f172a;
  --muted: #64748b;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(15, 118, 110, 0.18);
}

.sf-quota-modal p {
  margin: 0 0 1rem;
  line-height: 1.65;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
}

.sf-quota-modal-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-bottom: 0.85rem;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  background: #0f766e;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.sf-quota-modal-link:hover {
  filter: brightness(1.06);
}

.sf-quota-modal-close {
  display: block;
  width: 100%;
  padding: 0.55rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-size: 0.9rem;
  cursor: pointer;
}

.sf-quota-modal-close:hover {
  color: #0f172a;
}

.sf-quota-pay-tip {
  margin: 0 0 0.75rem !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  color: #b45309 !important;
}

.sf-quota-pay-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.sf-quota-pay-btn {
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 118, 110, 0.35);
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.sf-quota-pay-btn.primary {
  background: #0f766e;
  color: #fff;
  border-color: #0f766e;
}

.sf-quota-pay-btn:hover {
  filter: brightness(1.04);
}
