/* AI 扣费确认弹层 — 阳调不透明风格
 * SSOT: 用户/iching-shared/ai-billing-confirm.css
 * z-index 11100 > legalModal (11000) > ai-modal (10050) > topbar (z-index 3)
 */
.aibc-overlay {
  position: fixed;
  inset: 0;
  z-index: 11100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top, 1rem) 1rem env(safe-area-inset-bottom, 1rem);
}

.aibc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 15, 7, 0.6);
  backdrop-filter: blur(2px);
}

.aibc-box {
  position: relative;
  z-index: 1;
  width: min(400px, 92vw);
  background: #fffcf5;
  border: 1px solid rgba(21, 20, 18, 0.14);
  border-radius: 6px;
  padding: 1.4rem 1.35rem 1.2rem;
  box-shadow: 0 4px 24px rgba(26, 20, 16, 0.14);
}

.aibc-title {
  font-family: var(--font-serif, "Noto Serif SC", serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #151412;
  margin: 0 0 0.75rem;
  text-align: center;
}

.aibc-cost {
  font-size: 0.88rem;
  color: #3d342c;
  line-height: 1.65;
  margin: 0 0 0.2rem;
  text-align: center;
}

.aibc-desc {
  font-size: 0.78rem;
  color: #5c4f42;
  line-height: 1.6;
  margin: 0.35rem 0 0;
  text-align: center;
}

.aibc-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.1rem;
}

.aibc-btn {
  min-height: 44px;
  min-width: 88px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-family: var(--font-serif, "Noto Serif SC", serif);
  letter-spacing: 0.1em;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid rgba(21, 20, 18, 0.2);
  transition: background 0.15s, color 0.15s;
}

.aibc-btn--cancel {
  background: #f5ede0;
  color: #5c4f42;
}

.aibc-btn--cancel:hover {
  background: #ede0cc;
  color: #3d342c;
}

.aibc-btn--confirm {
  background: #151412;
  color: #fdf8f0;
  border-color: #151412;
}

.aibc-btn--confirm:hover {
  background: #3d342c;
  border-color: #3d342c;
}

.aibc-btn:focus-visible {
  outline: 2px solid #c9a84c;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .aibc-backdrop {
    backdrop-filter: none;
  }
}
