.soudaMemoryShareGuide-backdrop {
  position: fixed;
  z-index: 22500;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding:
    max(16px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  background: rgb(17 24 39 / 76%);
}

.soudaMemoryShareGuide-backdrop[hidden] { display: none; }

.soudaMemoryShareGuide-dialog {
  width: min(100%, 440px);
  max-height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  padding: clamp(22px, 7vw, 32px);
  border: 3px solid #d16b71;
  border-radius: 24px;
  color: #4f292d;
  background: linear-gradient(180deg, #fff 0%, #fff1f1 100%);
  box-shadow: 0 18px 50px rgb(0 0 0 / 34%);
  text-align: center;
}

.soudaMemoryShareGuide-eyebrow {
  margin: 0;
  color: #985057;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.soudaMemoryShareGuide-icon {
  margin-top: 8px;
  font-size: clamp(2.7rem, 15vw, 4.2rem);
  line-height: 1;
}

.soudaMemoryShareGuide-title {
  margin: 12px 0 0;
  color: #7a393f;
  font-size: clamp(1.35rem, 6vw, 1.8rem);
}

.soudaMemoryShareGuide-description {
  margin: 18px 0 0;
  font-weight: 700;
  line-height: 1.7;
}

.soudaMemoryShareGuide-note {
  margin: 12px 0 0;
  color: #70484b;
  font-size: .92rem;
  line-height: 1.6;
}

.soudaMemoryShareGuide-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.soudaMemoryShareGuide-createButton,
.soudaMemoryShareGuide-laterButton {
  min-height: 48px;
  padding: 10px 20px;
  border: 2px solid #9b4d54;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.soudaMemoryShareGuide-createButton { color: #fff; background: #a95159; }
.soudaMemoryShareGuide-laterButton { color: #7a393f; background: #fff; }

.soudaMemoryShareGuide-createButton:focus-visible,
.soudaMemoryShareGuide-laterButton:focus-visible {
  outline: 3px solid #1d70b8;
  outline-offset: 3px;
}

body.soudaMemoryShareGuide-isModalOpen { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .soudaMemoryShareGuide-dialog { animation: soudaMemoryShareGuideEnter 180ms ease-out both; }

  @keyframes soudaMemoryShareGuideEnter {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}
