.evt-dialog {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 1.25rem;
  font-family: inherit;
}

.evt-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(48, 28, 44, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.evt-dialog__panel {
  position: relative;
  z-index: 1;
  justify-self: center;
  align-self: center;
  width: min(58rem, 100%);
  max-height: 80dvh;
  min-height: 0;
  margin: auto;
  overflow: hidden;
  border-radius: 1.85rem;
  background: #fff;
  color: #24182c;
  box-shadow:
    0 1.6rem 4.5rem rgba(70, 16, 52, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.7);
}

.evt-dialog__close {
  position: absolute;
  z-index: 5;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  outline: none;
  border-radius: 999px;
  background: #fff;
  color: #2c2433;
  box-shadow: 0 0.45rem 1.2rem rgba(40, 16, 36, 0.18);
  cursor: pointer;
}

.evt-dialog__close:hover,
.evt-dialog__close:focus,
.evt-dialog__close:focus-visible,
.evt-dialog__close:active {
  border: none;
  outline: none;
  box-shadow: 0 0.45rem 1.2rem rgba(40, 16, 36, 0.18);
  color: #e50098;
}

.evt-dialog .icon {
  display: block;
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.evt-dialog__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(13.5rem, 0.72fr);
  gap: 1.6rem;
  align-items: center;
  box-sizing: border-box;
  max-height: 80dvh;
  overflow: auto;
  padding: 1.7rem 1.45rem 1.85rem 1.7rem;
}

.evt-dialog__grid:not(:has(.evt-dialog__media)) {
  grid-template-columns: 1fr;
}

.evt-dialog__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.evt-dialog__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.9rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: #ffe4f4;
  color: #e50098;
  font-size: 0.82rem;
  font-weight: 700;
}

.evt-dialog__title,
.evt-dialog__accent {
  margin: 0;
  max-width: 16em;
  font-size: clamp(1.35rem, 2.1vw, 1.72rem);
  font-weight: 800;
  line-height: 1.45;
}

.evt-dialog__title {
  color: #1d1624;
}

.evt-dialog__accent {
  color: #e50098;
}

.evt-dialog__desc {
  max-width: 28rem;
  margin-top: 0.75rem;
  color: #7a7384;
  font-size: 0.92rem;
  line-height: 1.85;
}

.evt-dialog__desc > :first-child {
  margin-top: 0;
}

.evt-dialog__desc > :last-child {
  margin-bottom: 0;
}

.evt-dialog__count {
  margin-top: 1.15rem;
}

.evt-dialog__count-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  color: #2a2433;
  font-size: 0.95rem;
  font-weight: 700;
}

.evt-dialog__count-label .icon {
  color: #e50098;
}

.evt-dialog__units {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.evt-dialog__unit {
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 4.35rem;
  min-height: 4.7rem;
  padding: 0.45rem 0.35rem 0.35rem;
  border: 1px solid #f8d7ea;
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 0.55rem 1.3rem rgba(229, 0, 152, 0.08);
}

.evt-dialog__unit b {
  color: #e50098;
  font-size: 1.55rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.evt-dialog__unit span {
  margin-top: 0.15rem;
  color: #9a93a4;
  font-size: 0.75rem;
}

.evt-dialog__colon {
  display: flex;
  align-items: center;
  align-self: stretch;
  margin: 0;
  color: #e50098;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.evt-dialog__actions {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.evt-dialog__cta,
.evt-dialog__later {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.evt-dialog__cta {
  padding: 0.7rem 1.45rem;
  border: 0;
  background: #e50098;
  color: #fff;
  box-shadow: 0 0.7rem 1.4rem rgba(229, 0, 152, 0.32);
}

.evt-dialog__cta:hover {
  color: #fff;
  background: #d0008a;
}

.evt-dialog__later {
  padding: 0.65rem 1.25rem;
  border: 1px solid #f0e8ee;
  background: #fff;
  color: #3a3344;
  box-shadow: 0 0.35rem 0.9rem rgba(40, 16, 36, 0.05);
}

.evt-dialog__later:hover {
  border-color: #f3c3e2;
  color: #e50098;
}

.evt-dialog__media {
  position: relative;
  z-index: 2;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 1.35rem;
  background: #fde8f4;
  box-shadow: 0 1rem 2.2rem rgba(229, 0, 152, 0.2);
}

.evt-dialog__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  .evt-dialog {
    padding: 1rem;
  }

  .evt-dialog__panel,
  .evt-dialog__grid {
    max-height: 80dvh;
  }

  .evt-dialog__grid {
    grid-template-columns: 1fr;
    padding: 2.6rem 1rem 1.4rem;
  }

  .evt-dialog__media {
    order: -1;
    max-height: 14rem;
    aspect-ratio: 4 / 3;
  }

  .evt-dialog__unit {
    min-width: 0;
    flex: 1;
  }
}
