.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    calc(var(--dialog-safe-margin, 20px) + var(--app-safe-top, 0px))
    calc(var(--dialog-safe-margin, 20px) + var(--app-safe-right, 0px))
    calc(var(--dialog-safe-margin, 20px) + var(--app-safe-bottom, 0px))
    calc(var(--dialog-safe-margin, 20px) + var(--app-safe-left, 0px));
  background: rgba(0, 0, 0, 0.45);
}

.dialog {
  width: 100%;
  max-width: var(--dialog-max-width, 380px);
  border-radius: var(--responsive-card-radius, 32px);
  background: var(--color-page-background, #ffffff);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  padding:
    var(--responsive-card-padding-lg, 28px)
    var(--responsive-card-padding, 20px)
    var(--responsive-card-padding, 20px);
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, 10.741vw, 58px);
  height: clamp(52px, 10.741vw, 58px);
  margin-bottom: var(--page-section-gap, 16px);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff67e0 0%, #f657a0 100%);
  color: #ffffff;
  font-size: clamp(28px, 5.926vw, 32px);
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(247, 89, 168, 0.28);
}

.title {
  margin: 0 0 clamp(7px, 1.481vw, 8px);
  color: var(--color-text-foreground, #171717);
  font-size: var(--responsive-page-title, 22px);
  font-weight: 700;
  line-height: 1.2;
}

.content {
  margin: 0;
  color: #393939;
  font-size: var(--responsive-body, 14px);
  line-height: 1.5;
}

.button {
  width: 100%;
  min-height: var(--responsive-control-height, 48px);
  margin-top: var(--page-section-gap-lg, 22px);
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(269deg, #ff67e0 0%, rgba(254, 104, 224, 0.5) 20%, rgba(252, 105, 223, 0.79) 66%, #f96ade 100%),
    linear-gradient(#f657a0, #f657a0);
  background-blend-mode: normal, normal;
  box-shadow: 0 5px 7px rgba(247, 89, 168, 0.31);
  color: #ffffff;
  cursor: pointer;
  font-size: var(--responsive-body, 16px);
  font-weight: 700;
}

.button:active {
  transform: translateY(1px);
}
