#im-exit-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
#im-exit-overlay.im-visible {
  display: flex;
}
#im-exit-popup {
  background: #fff;
  border-radius: 12px;
  max-width: 480px;
  width: calc(100% - 32px);
  padding: 40px 32px 32px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: imPopIn .28s cubic-bezier(.19,1,.22,1);
}
@keyframes imPopIn {
  from { transform: scale(.88); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
#im-exit-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none; border: none;
  font-size: 1.4rem; cursor: pointer;
  color: #888; line-height: 1;
}
#im-exit-popup .im-emoji { font-size: 2.4rem; margin-bottom: 8px; }
#im-exit-popup h2 {
  font-size: 1.45rem; font-weight: 700;
  margin: 0 0 8px; color: #1a1a1a;
}
#im-exit-popup p {
  color: #555; font-size: .95rem; margin: 0 0 22px;
}
#im-coupon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f4f4f4;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 22px;
}
#im-coupon-code {
  font-size: 1.5rem; font-weight: 800;
  letter-spacing: .08em; color: #1a1a1a;
}
#im-copy-btn {
  background: none; border: 1.5px solid #bbb;
  border-radius: 6px; padding: 4px 10px;
  font-size: .78rem; cursor: pointer;
  color: #555; transition: all .2s;
}
#im-copy-btn:hover { border-color: #f66249; color: #f66249; }
#im-copy-btn.copied { border-color: #28a745; color: #28a745; }
#im-exit-cta {
  display: block; width: 100%;
  background: #f66249; color: #fff !important;
  border: none; border-radius: 8px;
  padding: 14px 20px;
  font-size: 1rem; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: background .2s;
  margin-bottom: 12px;
  font-family: inherit;
}
#im-exit-cta:hover { background: #e04f38; color: #fff !important; }
#im-exit-fine {
  font-size: .75rem; color: #aaa; margin: 0;
}
