.dn-root {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  padding: 0 12px calc(14px + env(safe-area-inset-bottom));
  pointer-events: none;
}
@media (min-width: 720px) {
  .dn-root {
    justify-content: flex-end;
    padding: 0 22px 22px;
  }
}

.dn {
  position: relative;
  display: flex;
  width: min(100%, 440px);
  overflow: hidden;
  border-radius: 22px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 92, 138, 0.32), rgba(255, 92, 138, 0) 60%), radial-gradient(90% 80% at 0% 100%, rgba(246, 199, 107, 0.18), rgba(246, 199, 107, 0) 60%), linear-gradient(150deg, #3b1b42, #2a1430);
  box-shadow: 0 24px 60px -18px rgba(20, 6, 24, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  color: #fff6ee;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(120%) rotate(-2deg);
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.dn.is-in {
  opacity: 1;
  transform: none;
}
.dn.is-out {
  opacity: 0;
  transform: translateY(40%) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}
.dn__stub {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 86px;
  padding: 16px 8px;
  background: linear-gradient(180deg, #ff5c8a, #e8457a);
  color: #fff;
  text-align: center;
}
.dn__stub::after {
  content: "";
  position: absolute;
  top: 0;
  right: -5px;
  bottom: 0;
  width: 10px;
  background: radial-gradient(circle at 5px 7px, #2a1430 4px, transparent 4.5px) 0 0/10px 14px repeat-y;
}
.dn__admit {
  font: 800 0.72rem/1.05 "Poppins", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dn__heart {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.dn__heart svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  animation: dn-beat 1.4s ease-in-out infinite;
}
.dn__no {
  font: 600 0.58rem/1 "Inter", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.dn__body {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 16px 16px 14px 20px;
}
.dn__x {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 246, 238, 0.75);
  font-size: 0.72rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.dn__x:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.dn__x:focus-visible {
  outline: 2px solid #f6c76b;
  outline-offset: 2px;
}
.dn__x svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.dn__kicker {
  margin: 0 34px 4px 0;
  color: #f6c76b;
  font: 700 0.68rem/1.3 "Inter", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dn__title {
  margin: 0 26px 6px 0;
  color: #fff;
  font: 700 1.08rem/1.25 "Poppins", sans-serif;
}
.dn__text {
  margin: 0 0 12px;
  color: rgba(255, 246, 238, 0.82);
  font-size: 0.84rem;
  line-height: 1.45;
}
.dn__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.dn__yes {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6c76b, #ff8fb1);
  box-shadow: 0 10px 22px -10px rgba(255, 92, 138, 0.9);
  color: #2a1430;
  font: 700 0.86rem "Poppins", sans-serif;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
}
.dn__yes svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dn__yes:hover {
  color: #2a1430;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px #ff5c8a;
}
.dn__yes:hover svg {
  transform: translateX(3px);
}
.dn__yes:active {
  transform: scale(0.97);
}
.dn__yes:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.dn__later {
  padding: 6px 2px;
  border: 0;
  background: none;
  color: rgba(255, 246, 238, 0.6);
  font: 600 0.8rem "Inter", "Helvetica Neue", Arial, sans-serif;
  text-decoration: underline;
  text-decoration-color: rgba(255, 246, 238, 0.25);
  text-underline-offset: 3px;
  cursor: pointer;
}
.dn__later:hover {
  color: #fff6ee;
}
.dn__float {
  position: absolute;
  bottom: -10px;
  width: 10px;
  height: 10px;
  background: #ff8fb1;
  opacity: 0;
  transform: rotate(45deg);
  animation: dn-float 3.6s ease-in infinite;
  pointer-events: none;
}
.dn__float::before, .dn__float::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: inherit;
}
.dn__float::before {
  left: -5px;
}
.dn__float::after {
  top: -5px;
}
.dn__float--a {
  right: 34px;
  animation-delay: 0.4s;
}
.dn__float--b {
  right: 70px;
  width: 7px;
  height: 7px;
  background: #f6c76b;
  animation-delay: 1.6s;
}
.dn__float--b::before, .dn__float--b::after {
  width: 7px;
  height: 7px;
}
.dn__float--b::before {
  left: -3.5px;
}
.dn__float--b::after {
  top: -3.5px;
}
.dn__float--c {
  right: 18px;
  width: 6px;
  height: 6px;
  animation-delay: 2.7s;
}
.dn__float--c::before, .dn__float--c::after {
  width: 6px;
  height: 6px;
}
.dn__float--c::before {
  left: -3px;
}
.dn__float--c::after {
  top: -3px;
}
.dn[data-tier="2"] .dn__heart svg {
  animation-duration: 0.9s;
}
.dn[data-tier="3"] .dn__stub {
  background: linear-gradient(180deg, #f6c76b, #ff5c8a);
}
.dn[data-tier="3"] .dn__heart svg {
  animation: dn-beat 0.7s ease-in-out infinite;
}
.dn.is-in[data-tier="3"] {
  animation: dn-wiggle 0.6s 0.55s ease-in-out 1;
}

@keyframes dn-beat {
  0%, 100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.22);
  }
  30% {
    transform: scale(0.96);
  }
  45% {
    transform: scale(1.12);
  }
}
@keyframes dn-float {
  0% {
    opacity: 0;
    translate: 0 0;
  }
  15% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    translate: 6px -150px;
  }
}
@keyframes dn-wiggle {
  0%, 100% {
    rotate: 0deg;
  }
  25% {
    rotate: -1.6deg;
  }
  75% {
    rotate: 1.6deg;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dn {
    transition: opacity 0.2s ease;
    transform: none;
  }
  .dn.is-out {
    transform: none;
  }
  .dn__heart svg, .dn__float, .dn.is-in[data-tier="3"] {
    animation: none;
  }
}