.sm-startup-intro {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--tblr-body-bg, #f6f8fb);
  animation: sm-startup-exit 420ms ease 1180ms forwards;
}

.sm-startup-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  animation: sm-startup-card-in 520ms cubic-bezier(.2, .8, .2, 1) both;
}

.sm-startup-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--tblr-primary, #206bc4);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 18px 48px rgb(0 0 0 / 14%);
  animation: sm-startup-mark 760ms cubic-bezier(.2, .9, .2, 1) both;
}

.sm-startup-title {
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 750;
  letter-spacing: -.025em;
}

.sm-startup-subtitle {
  color: var(--tblr-secondary-color, #667085);
  font-size: .95rem;
}

@keyframes sm-startup-mark {
  0% { opacity: 0; transform: scale(.72) rotate(-4deg); }
  58% { opacity: 1; transform: scale(1.06) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes sm-startup-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sm-startup-exit {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.sm-easter-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 6000;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 15px;
  border: 1px solid var(--tblr-border-color, #dce1e7);
  border-radius: 12px;
  background: var(--tblr-bg-surface, #fff);
  color: var(--tblr-body-color, #182433);
  box-shadow: 0 14px 44px rgb(0 0 0 / 16%);
  font-size: .92rem;
  opacity: 0;
  transform: translateY(8px);
  animation: sm-easter-toast-in 180ms ease forwards;
}

.sm-easter-toast.is-leaving {
  animation: sm-easter-toast-out 180ms ease forwards;
}

@keyframes sm-easter-toast-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sm-easter-toast-out {
  to { opacity: 0; transform: translateY(8px); }
}

.sm-easter-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6200;
  width: 27px;
  height: 35px;
  pointer-events: none;
  transform-origin: 3px 3px;
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / 32%));
}

.sm-easter-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: polygon(0 0, 0 86%, 22% 65%, 39% 100%, 54% 92%, 37% 58%, 72% 56%);
}

.sm-easter-cursor::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #111827;
  clip-path: polygon(0 0, 0 78%, 21% 59%, 39% 94%, 47% 89%, 30% 53%, 65% 51%);
}

.sm-easter-cursor.is-clicking {
  scale: .82;
  transition: scale 90ms ease;
}

.sm-easter-cursor.is-leaving {
  opacity: 0;
  transition: opacity 220ms ease;
}

.sm-easter-focus-pulse {
  animation: sm-easter-input-pulse 620ms ease;
}

@keyframes sm-easter-input-pulse {
  0%, 100% { box-shadow: inherit; }
  38% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--tblr-primary, #206bc4) 24%, transparent); }
}

.sm-easter-diagnostics {
  position: fixed;
  inset: 0;
  z-index: 6100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgb(0 0 0 / 48%);
}

.sm-easter-diagnostics-card {
  width: min(560px, 100%);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 14px;
  background: #10151d;
  color: #dce7f3;
  box-shadow: 0 24px 80px rgb(0 0 0 / 38%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.sm-easter-diagnostics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.sm-easter-diagnostics-head strong {
  font-size: .9rem;
}

.sm-easter-diagnostics-close {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: .72;
}

.sm-easter-diagnostics-body {
  display: grid;
  gap: 7px;
  padding: 18px 16px 20px;
  font-size: .88rem;
  line-height: 1.55;
}

.sm-easter-diagnostics-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.sm-easter-diagnostics-note {
  margin-top: 10px;
  color: #98a9bc;
  font-size: .78rem;
}

@media (prefers-reduced-motion: reduce) {
  .sm-startup-intro {
    animation-duration: 1ms;
    animation-delay: 180ms;
  }

  .sm-startup-card,
  .sm-startup-mark,
  .sm-easter-toast,
  .sm-easter-toast.is-leaving,
  .sm-easter-focus-pulse {
    animation-duration: 1ms;
  }
}
