#cloe-dark .cloe-plan-actions {
  display: grid;
  gap: 10px;
}

#cloe-dark .cloe-plan-actions .button {
  width: 100%;
  min-height: 52px;
  padding: 14px 17px;
  gap: 15px;
  font-size: 14px;
  text-align: left;
}

#cloe-dark .cloe-purchase-dialog {
  position: fixed;
  width: min(530px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: clamp(22px, 4vw, 34px);
  overflow-y: auto;
  border: 1px solid #67938d;
  border-radius: 25px;
  color: var(--ink);
  background: radial-gradient(ellipse at 100% 0, #29595166, transparent 62%), var(--surface);
  box-shadow: 0 24px 75px #0009, inset 0 1px 0 #ffffff24;
}

#cloe-dark .cloe-purchase-dialog::backdrop {
  background: #070f1acc;
  backdrop-filter: blur(7px);
}

#cloe-dark .cloe-purchase-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #5e7b83;
  border-radius: 50%;
  color: var(--ink);
  background: #ffffff0b;
}

#cloe-dark .cloe-purchase-label {
  min-height: 24px;
  margin: 2px 47px 10px 0;
  color: var(--mint-light);
  font-size: 14px;
  font-weight: 650;
}

#cloe-dark .cloe-purchase-dialog h2 {
  margin: 0 35px 10px 0;
  font-size: clamp(27px, 5vw, 34px);
  font-weight: 550;
  line-height: 1.14;
  letter-spacing: -.8px;
}

#cloe-dark .cloe-purchase-intro,
#cloe-dark .cloe-purchase-success p {
  color: var(--muted);
  line-height: 1.6;
}

#cloe-dark .cloe-purchase-form {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

#cloe-dark .cloe-purchase-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

#cloe-dark .cloe-purchase-form label span {
  color: var(--muted);
  font-weight: 400;
}

#cloe-dark .cloe-purchase-form input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 9px 12px;
  border: 1px solid #59767f;
  border-radius: 10px;
  color: var(--ink);
  background: #0b1723;
  font-size: 16px;
}

#cloe-dark .cloe-purchase-form input:focus-visible {
  outline: 2px solid var(--mint-light);
  outline-offset: 2px;
}

#cloe-dark .cloe-purchase-optional {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 3px;
}

#cloe-dark .cloe-purchase-optional label { margin-bottom: 7px; }
#cloe-dark .cloe-purchase-privacy { margin-top: 6px; color: var(--muted); font-size: 14px; }
#cloe-dark .cloe-purchase-feedback { color: #ffd1cc; font-size: 14px; }
#cloe-dark .cloe-purchase-progress { color: var(--mint-light); font-size: 14px; }
#cloe-dark .cloe-purchase-send { width: 100%; margin-top: 6px; }
#cloe-dark .cloe-purchase-send:disabled { opacity: .66; cursor: wait; }

#cloe-dark .cloe-purchase-success { padding: 12px 0 2px; }
#cloe-dark .cloe-purchase-success .button { margin-top: 20px; }
#cloe-dark .cloe-purchase-check {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 18px;
  border: 1px solid #8bdebd;
  border-radius: 50%;
  color: var(--mint-light);
  background: #1ec58e1a;
  font-size: 22px;
}

@media (max-width: 420px) {
  #cloe-dark .cloe-purchase-optional { grid-template-columns: 1fr; }
}
