.tk-pop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25em !important;
  opacity: 0;
  transition: opacity 0.3s ease !important;
}

.tk-pop.is-open {
  opacity: 1;
}

.tk-pop-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(40, 24, 12, 0.45) !important;
}

.tk-pop-card {
  position: relative !important;
  width: 100% !important;
  max-width: 28em !important;
  padding: 2.75em 2.25em 2.25em !important;
  border-radius: 16px !important;
  background: #fbf6ee !important;
  box-shadow: 0 24px 60px rgba(40, 24, 12, 0.35) !important;
  text-align: center !important;
  font-family: inherit !important;
  color: #3a2a1e !important;
  transform: translateY(16px) scale(0.97) !important;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1) !important;
}

.tk-pop.is-open .tk-pop-card {
  transform: translateY(0) scale(1) !important;
}

.tk-pop-leaf {
  position: absolute !important;
  pointer-events: none !important;
  height: auto !important;
  filter: drop-shadow(0 4px 4px rgba(60, 30, 10, 0.25)) !important;
}

.tk-pop-leaf-a {
  top: -26px !important;
  left: -22px !important;
  width: 74px !important;
  transform: rotate(-24deg) !important;
}

.tk-pop-leaf-b {
  top: -14px !important;
  left: 34px !important;
  width: 46px !important;
  transform: rotate(18deg) !important;
}

.tk-pop-leaf-c {
  right: -18px !important;
  bottom: -22px !important;
  width: 66px !important;
  transform: rotate(150deg) !important;
}

.tk-pop-x {
  position: absolute !important;
  top: 0.5em !important;
  right: 0.6em !important;
  width: 44px !important;
  height: 44px !important;
  border: 0 !important;
  background: transparent !important;
  color: #8a5a3a !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.tk-pop-title {
  margin: 0 0 0.5em !important;
  font-size: 2em !important;
  line-height: 1.1 !important;
  color: #9e3a12 !important;
}

.tk-pop-body {
  margin: 0 0 1.5em !important;
  font-size: 1.05em !important;
  line-height: 1.6 !important;
}

.tk-pop-btn {
  min-height: 44px !important;
  padding: 0.7em 2em !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #9e3a12 !important;
  color: #ffffff !important;
  font: inherit !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.tk-pop-btn:hover,
.tk-pop-btn:focus-visible {
  background: #7e2c0c !important;
}

.tk-pop-btn:focus {
  outline: none !important;
}

.tk-pop-btn:focus-visible,
.tk-pop-x:focus-visible {
  outline: 2px solid #9e3a12 !important;
  outline-offset: 3px !important;
}

@media (max-width: 30em) {
  .tk-pop-card {
    padding: 2.5em 1.5em 1.75em !important;
  }

  .tk-pop-title {
    font-size: 1.6em !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tk-pop,
  .tk-pop-card {
    transition: none !important;
  }
}
