.cse-egg-launcher {
  position: fixed;
  z-index: 99995;
  pointer-events: none;
}

.cse-egg-button {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transform: rotate(-12deg);
  transition: transform .2s ease, filter .2s ease;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .28));
}

.cse-egg-button:hover {
  transform: rotate(-6deg) scale(1.06);
}

.cse-egg-shape,
.cse-egg-highlight,
.cse-egg-dot {
  position: absolute;
  inset: 0;
}

.cse-egg-shape {
  border-radius: 52% 52% 48% 48% / 58% 58% 42% 42%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.65), rgba(255,255,255,0) 22%),
    linear-gradient(180deg, #fff1f5 0%, #ffd4df 46%, #ffb4c8 100%);
  box-shadow:
    inset 0 -8px 16px rgba(176, 46, 95, .18),
    inset 0 8px 12px rgba(255,255,255,.4),
    0 0 0 2px rgba(255,255,255,.35);
}

.cse-egg-highlight {
  border-radius: 52% 52% 48% 48% / 58% 58% 42% 42%;
  background: linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,0) 38%);
}

.cse-egg-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  inset: auto;
}

.cse-egg-dot-1 { top: 24%; left: 26%; }
.cse-egg-dot-2 { top: 46%; right: 24%; }
.cse-egg-dot-3 { bottom: 24%; left: 42%; }

.cse-modal[hidden] { display: none !important; }

.cse-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.cse-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(4px);
}

.cse-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(92vw, 520px);
  margin: 10vh auto 0;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  text-align: center;
}

.cse-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: rgba(255,255,255,.08);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.cse-modal-icon {
  font-size: 42px;
  margin-bottom: 8px;
}

.cse-modal h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  color: #fff;
}

.cse-modal-text {
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.6;
}

.cse-modal-code-wrap {
  margin-top: 18px;
}

.cse-modal-code {
  display: inline-block;
  min-width: 200px;
  max-width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
  word-break: break-word;
}

.cse-copy-code,
.cse-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.cse-copy-code {
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: #fff;
}

.cse-modal-cta {
  background: #fff;
  color: #111;
}

html.cse-modal-open,
html.cse-modal-open body {
  overflow: hidden;
}

@media (max-width: 768px) {
  .cse-egg-launcher {
    transform: scale(.92);
    transform-origin: center;
  }

  .cse-modal-dialog {
    margin-top: 8vh;
    padding: 22px;
    border-radius: 20px;
  }
}
