/* Egg hotspot and entry dialog. The hunt page clock is styled with the page. */
.egg-title-end {
  white-space: nowrap;
}
.egg-title-text {
  position: relative;
  z-index: 1;
  background: #f6f3e9;
}
.egg-turkey {
  position: relative;
  z-index: 0;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0 0 0 -16px;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  vertical-align: -6px;
  cursor: pointer;
}
.egg-turkey svg {
  display: block;
  width: 100%;
  height: 100%;
}
.egg-turkey:focus-visible {
  z-index: 2;
  outline: 3px solid #bf4431;
  outline-offset: 2px;
}

.egg-hotspot-slot {
  position: relative;
  display: inline-block;
  flex: none;
  max-width: 100%;
  line-height: 0;
}
.egg-hotspot-slot.is-stretch,
.egg-hotspot-slot.is-stretch img {
  display: block;
  width: 100%;
  height: auto;
}
.egg-hotspot {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.egg-decoy {
  cursor: pointer;
}
.egg-typo-heading,
.egg-decoy-hit {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  cursor: pointer;
}
.egg-footer-mark {
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin: 0 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  vertical-align: -6px;
  cursor: pointer;
}
.egg-footer-mark svg {
  display: block;
  width: 22px;
  height: 22px;
}
.egg-readout-host {
  position: relative;
}
.egg-readout {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  min-width: 44px;
  min-height: 28px;
  padding: 2px 6px;
  border: 1px solid #7ec8ea;
  border-radius: 4px;
  background: #102033;
  color: #d7f6ff;
  font: 700 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.egg-badge {
  position: absolute;
  z-index: 4;
  right: calc(100% - 28px);
  top: -52px;
  width: 112px;
  height: 144px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  cursor: pointer;
  filter: drop-shadow(0 8px 10px rgba(21, 62, 47, 0.38));
}
.egg-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* Inset sits inside the host. The default perch above is unchanged. */
.egg-badge.is-inset {
  left: 12px;
  right: auto;
  top: auto;
  bottom: 12px;
  width: 88px;
  height: 114px;
}
.egg-hotspot:focus-visible,
.egg-typo-heading:focus-visible,
.egg-decoy-hit:focus-visible,
.egg-footer-mark:focus-visible,
.egg-readout:focus-visible,
.egg-badge:focus-visible {
  outline: 3px solid #bf4431;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .egg-badge {
    left: auto;
    right: 6px;
    top: auto;
    bottom: calc(100% - 12px);
    width: 76px;
    height: 98px;
  }
  .egg-badge.is-inset {
    left: 8px;
    right: auto;
    top: auto;
    bottom: 8px;
    width: 68px;
    height: 88px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .egg-turkey,
  .egg-badge {
    animation: egg-peek 3.2s ease-in-out infinite;
  }
  @keyframes egg-peek {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }
}

.egg-dialog {
  border: 1px solid var(--line, #d5dac9);
  border-radius: 16px;
  background: var(--panel, #fffdf7);
  color: var(--ink, #183e2f);
  width: min(34rem, calc(100% - 2rem));
  max-width: 34rem;
  padding: 22px 22px 18px;
}
.egg-dialog::backdrop {
  background: rgba(24, 62, 47, 0.45);
}
.egg-dialog h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.5px;
}
.egg-dialog label {
  display: block;
  margin: 14px 0;
  font-size: 14px;
  font-weight: 700;
}
.egg-dialog input[type="email"],
.egg-dialog input[type="text"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 44px;
  padding: 8px 10px;
  font-weight: 400;
}
.egg-optional {
  font-weight: 400;
  color: var(--muted, #526355);
}
.egg-check,
.egg-dialog label.egg-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0;
  font-weight: 400;
}
.egg-dialog .egg-check label {
  display: inline;
  margin: 0;
  font-weight: 400;
}
.egg-dialog input[type="checkbox"] {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  flex: none;
  border-radius: 3px;
  accent-color: #183e2f;
  background: #fffdf7;
}
.egg-fine {
  margin: 8px 0 14px;
  color: var(--muted, #526355);
  font-size: 13px;
  line-height: 1.5;
}
.egg-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.egg-alert {
  margin: 0 0 12px;
  color: #8d3d2e;
  font-size: 14px;
}
.egg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.egg-dialog .button {
  text-decoration: none;
}
.egg-result-copy, #egg-result-copy {
  font-size: 16px;
  line-height: 1.6;
}
