@layer base {
  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  html {
    overflow: hidden;
  }
  body {
    overscroll-behavior-y: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }
  .pb-safe { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .pt-safe { padding-top: env(safe-area-inset-top, 0px); }
  .top-safe { top: env(safe-area-inset-top, 0px); }
  .pb-nav { padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px)); }
  .pb-nav-fab { padding-bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px)); }
}

::-webkit-scrollbar { display: none; }

.card-shadow {
  box-shadow: 0 4px 20px -2px rgba(94, 17, 116, 0.08), 0 2px 6px -1px rgba(43, 36, 44, 0.04);
}
.card-shadow-lg {
  box-shadow: 0 20px 38px -4px rgba(94, 17, 116, 0.18), 0 10px 16px -2px rgba(43, 36, 44, 0.08);
}
.nav-blur {
  background: rgba(255, 247, 251, 0.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(94, 17, 116, 0.08);
}
.input-focus:focus {
  outline: none;
  border-color: #5e1174;
  box-shadow: 0 0 0 3px rgba(94, 17, 116, 0.18);
}
.blur-locked {
  filter: blur(10px);
  transform: scale(1.05);
}
.toast {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 6rem;
  z-index: 80;
  background: #201921;
  color: #faedf8;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.toast.show { opacity: 1; }
.flash-stack {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
  left: 1rem;
  right: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.flash {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(32, 25, 33, 0.12);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 400ms ease, transform 400ms ease;
}
.flash.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}
.flash-error { background: #ffdad6; color: #93000a; }
.flash-success { background: #fcd7ff; color: #340043; }
.flash-info { background: #c1e8ff; color: #001e2b; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
input[type="date"],
input[type="time"] {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.filter-chip.active { background: #400052; color: #ffffff; }

/* Profile photo cropper (1:1) */
.crop-frame {
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}
.crop-circle-guide {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}
.crop-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 3;
  pointer-events: auto;
  touch-action: none;
  cursor: nwse-resize;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.crop-corner::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #fff;
  border-style: solid;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}
.crop-tl {
  top: -14px;
  left: -14px;
  cursor: nwse-resize;
}
.crop-tl::before {
  top: 10px;
  left: 10px;
  border-width: 3px 0 0 3px;
  border-radius: 3px 0 0 0;
}
.crop-tr {
  top: -14px;
  right: -14px;
  cursor: nesw-resize;
}
.crop-tr::before {
  top: 10px;
  right: 10px;
  border-width: 3px 3px 0 0;
  border-radius: 0 3px 0 0;
}
.crop-bl {
  bottom: -14px;
  left: -14px;
  cursor: nesw-resize;
}
.crop-bl::before {
  bottom: 10px;
  left: 10px;
  border-width: 0 0 3px 3px;
  border-radius: 0 0 0 3px;
}
.crop-br {
  bottom: -14px;
  right: -14px;
  cursor: nwse-resize;
}
.crop-br::before {
  bottom: 10px;
  right: 10px;
  border-width: 0 3px 3px 0;
  border-radius: 0 0 3px 0;
}
.crop-zoom-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  outline: none;
}
.crop-zoom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.crop-zoom-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
#photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
#photo-grid .photo-slot.col-span-2 {
  grid-column: span 2;
}
#photo-grid .photo-slot.row-span-2 {
  grid-row: span 2;
}
#photo-manager.photo-drop-active {
  outline: 2px dashed #5e1174;
  outline-offset: 6px;
  border-radius: 1rem;
  background: rgba(94, 17, 116, 0.04);
}
.photo-slot[data-id] { cursor: grab; }
.photo-slot.photo-dragging { opacity: 0.4; cursor: grabbing; }
.photo-slot.photo-drop-target {
  outline: 3px solid #5e1174;
  outline-offset: 2px;
  transform: scale(0.96);
  transition: transform 80ms ease;
}
.photo-ghost {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  opacity: 0.92;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(32, 25, 33, 0.35);
  transform: scale(1.05);
  margin: 0;
}

html.lightbox-open,
html.lightbox-open body {
  overflow: hidden;
}
html.lightbox-open header,
html.lightbox-open nav,
html.lightbox-open .fixed.bottom-20 {
  visibility: hidden;
}

/* Landing hero */
.landing-hero-img {
  transform: scale(1.06);
  animation: landing-kenburns 22s ease-out forwards;
}
.landing-fade {
  opacity: 0;
  transform: translateY(14px);
  animation: landing-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.landing-fade-1 { animation-delay: 80ms; }
.landing-fade-2 { animation-delay: 220ms; }
.landing-fade-3 { animation-delay: 380ms; }
.landing-brand-mark {
  animation: landing-mark-in 900ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}
@keyframes landing-kenburns {
  from { transform: scale(1.06) translateY(0); }
  to { transform: scale(1.14) translateY(-2%); }
}
@keyframes landing-rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes landing-mark-in {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: scale(1); }
}

/* Date invite bottom sheet */
.date-sheet-host {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}
.date-sheet-host.is-open {
  pointer-events: auto;
}
.date-sheet-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.date-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(32, 25, 33, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 280ms ease;
}
.date-sheet-host.is-open .date-sheet-backdrop,
.date-sheet-page .date-sheet-backdrop {
  opacity: 1;
}
.date-sheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  transform: translateY(110%);
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.date-sheet-host.is-open .date-sheet-panel {
  transform: translateY(0);
}
.date-sheet-host.is-closing .date-sheet-backdrop {
  opacity: 0;
  transition-duration: 220ms;
}
.date-sheet-host.is-closing .date-sheet-panel {
  transform: translateY(110%);
  transition-duration: 280ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes date-sheet-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes date-sheet-panel-in {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.date-sheet-animate-backdrop {
  animation: date-sheet-backdrop-in 280ms ease both;
}
.date-sheet-animate-panel {
  animation: date-sheet-panel-in 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
body.date-sheet-open {
  overflow: hidden;
}
body.date-sheet-open main {
  overflow: hidden;
}

/* Phone frame on desktop / large screens */
@media (min-width: 480px) {
  html {
    background: #2a2030;
  }
  body {
    width: 100%;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06),
      0 28px 80px rgba(0, 0, 0, 0.45);
    /* Make position:fixed children stick within the phone column */
    transform: translateZ(0);
    isolation: isolate;
  }
}

/* Filter page: nested scroll + pinned footer (overrides main overflow-y:auto) */
main.filter-page {
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  min-height: 0;
}
main.filter-page .filter-page-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}
main.filter-page .filter-page-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}
main.filter-page .filter-page-footer {
  flex: 0 0 auto;
}

/* —— Membership page —— */
.mem-topbar {
  background: rgba(255, 247, 251, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 8px rgba(32, 25, 33, 0.04);
}
.mem-icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  margin-left: -0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #201921;
  transition: background 160ms ease;
}
.mem-icon-btn:hover { background: #f7eaf5; }
.mem-icon-btn:active { transform: scale(0.96); }

.mem-page {
  background: #fff7fb;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
}
.mem-page.flex {
  display: block;
}

.mem-hero {
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  padding-bottom: 0.75rem;
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(252, 215, 255, 0.55), transparent 55%),
    radial-gradient(90% 60% at 100% 0%, rgba(255, 218, 210, 0.35), transparent 50%),
    linear-gradient(180deg, rgba(252, 215, 255, 0.22) 0%, #fff7fb 100%);
}

.mem-pass {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  color: #fff;
  padding: 1.35rem 1.25rem 1.35rem;
  min-height: auto;
  box-shadow:
    0 18px 40px -12px rgba(64, 0, 82, 0.45),
    0 4px 12px rgba(32, 25, 33, 0.08);
}
.mem-pass--plus,
.mem-pass--invite {
  background: linear-gradient(145deg, #5e1174 0%, #400052 48%, #352e36 100%);
}
.mem-pass--beta {
  background: linear-gradient(145deg, #133d4f 0%, #002736 52%, #201921 100%);
}
.mem-pass--free {
  background: linear-gradient(145deg, #6e2483 0%, #4e434f 55%, #352e36 100%);
}
.mem-pass__glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 218, 210, 0.28), transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: mem-glow 8s ease-in-out infinite alternate;
}
.mem-pass--beta .mem-pass__glow {
  background: radial-gradient(circle, rgba(165, 204, 226, 0.32), transparent 68%);
}
.mem-pass__blob {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 11rem;
  height: 11rem;
  border-radius: 60% 40% 55% 45%;
  background: rgba(137, 62, 157, 0.22);
  pointer-events: none;
  z-index: 0;
  animation: mem-blob 12s ease-in-out infinite alternate;
}
.mem-pass--beta .mem-pass__blob {
  background: rgba(129, 168, 189, 0.22);
}
.mem-pass__body { position: relative; z-index: 1; }
.mem-pass__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.mem-pass__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.mem-pass__icon {
  font-size: 20px;
  color: #ffdad2;
}
.mem-pass--beta .mem-pass__icon { color: #a5cce2; }
.mem-pass__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 218, 210, 0.9);
}
.mem-pass--beta .mem-pass__eyebrow { color: rgba(193, 232, 255, 0.9); }
.mem-pass__badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffdad2;
  backdrop-filter: blur(8px);
}
.mem-pass--beta .mem-pass__badge { color: #c1e8ff; }
.mem-pass__title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.mem-pass__sub {
  margin: 0.35rem 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(236, 223, 234, 0.92);
}
.mem-pass__alert {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 218, 210, 0.18);
  border: 1px solid rgba(255, 218, 210, 0.35);
  font-size: 12px;
  line-height: 1.35;
  color: rgba(250, 237, 248, 0.92);
}
.mem-pass__alert strong {
  display: block;
  color: #fff;
  margin-bottom: 0.15rem;
  font-size: 13px;
}
.mem-pass__meta {
  margin: 0.95rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.mem-pass__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 1.25rem;
}
.mem-pass__row-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  color: rgba(236, 223, 234, 0.82);
}
.mem-pass__row-label .material-symbols-outlined {
  font-size: 16px;
  color: #ffdad2;
}
.mem-pass--beta .mem-pass__row-label .material-symbols-outlined { color: #a5cce2; }
.mem-pass__row-value {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-align: right;
}

.mem-sections {
  position: relative;
  z-index: 0;
  margin-top: 0.75rem;
}

.mem-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 4px 18px -4px rgba(94, 17, 116, 0.1);
  transition: background 160ms ease, transform 120ms ease;
}
.mem-link:hover { background: #fdf0fb; }
.mem-link:active { transform: scale(0.99); }
.mem-link__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 131, 103, 0.22);
  color: #721c09;
  flex-shrink: 0;
}
.mem-link__text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.mem-link__title {
  font-size: 14px;
  font-weight: 600;
  color: #201921;
}
.mem-link__desc {
  font-size: 12px;
  color: #4e434f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mem-link__chevron { color: #807380; font-size: 22px; }

.mem-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.mem-section__head--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.mem-section__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #201921;
}
.mem-section__sub {
  margin: 0;
  font-size: 13px;
  color: #4e434f;
}
.mem-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #fcd7ff;
  color: #340043;
}

.mem-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.mem-perk {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 3px 14px -4px rgba(94, 17, 116, 0.08);
}
.mem-perk__ico {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mem-perk__ico .material-symbols-outlined { font-size: 18px; }
.mem-perk__ico--rain { background: #133d4f; color: #81a8bd; }
.mem-perk__ico--heart { background: #a13e28; color: #fff; }
.mem-perk__ico--cafe { background: #ecdfea; color: #400052; }
.mem-perk__ico--send { background: #5e1174; color: #fff; }
.mem-perk__ico--hike { background: #002736; color: #fff; }
.mem-perk__copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.mem-perk__title {
  font-size: 14px;
  font-weight: 600;
  color: #201921;
}
.mem-perk__desc {
  font-size: 12px;
  line-height: 1.35;
  color: #4e434f;
}
.mem-perk__check {
  font-size: 18px;
  color: #5e1174;
  flex-shrink: 0;
}

.mem-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.mem-tier {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 3px 14px -4px rgba(94, 17, 116, 0.08);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.mem-tier:has(:checked) {
  background: #fdf0fb;
  border-color: rgba(94, 17, 116, 0.35);
  box-shadow: 0 0 0 3px rgba(94, 17, 116, 0.1);
}
.mem-tier__radio {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #ecdfea;
  flex-shrink: 0;
  position: relative;
  transition: background 160ms ease;
}
.mem-tier:has(:checked) .mem-tier__radio { background: #400052; }
.mem-tier:has(:checked) .mem-tier__radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: #fff;
}
.mem-tier__main { flex: 1; min-width: 0; }
.mem-tier__hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 12px;
  color: #4e434f;
}
.mem-tier--beta:has(:checked) {
  background: #f0f7fa;
  border-color: rgba(19, 61, 79, 0.35);
  box-shadow: 0 0 0 3px rgba(19, 61, 79, 0.1);
}
.mem-tier--beta:has(:checked) .mem-tier__radio { background: #133d4f; }
.mem-tier--beta:has(:checked) .mem-tier__price strong { color: #133d4f; }
.mem-tier--beta .mem-tier__tag:not(.mem-tier__tag--mute) {
  background: #c1e8ff;
  color: #001e2b;
}
.mem-tier__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 14px;
  font-weight: 600;
  color: #201921;
}
.mem-tier__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #fd8367;
  color: #721c09;
}
.mem-tier__tag--mute {
  background: #ecdfea;
  color: #4e434f;
}
.mem-tier:has(:checked) .mem-tier__tag--mute {
  background: #fcd7ff;
  color: #340043;
}
.mem-tier__price {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.mem-tier__price strong {
  font-size: 16px;
  font-weight: 700;
  color: #201921;
}
.mem-tier:has(:checked) .mem-tier__price strong { color: #5e1174; }
.mem-tier__price small {
  font-size: 11px;
  color: #807380;
}

.mem-btn {
  width: 100%;
  height: 3rem;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, opacity 160ms ease, background 160ms ease;
}
.mem-btn:active { transform: scale(0.98); }
.mem-btn--primary {
  background: #5e1174;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(94, 17, 116, 0.45);
}
.mem-btn--accent {
  background: #fd8367;
  color: #721c09;
  box-shadow: 0 8px 20px -6px rgba(161, 62, 40, 0.35);
}
.mem-btn--ghost {
  background: #f7eaf5;
  color: #201921;
}
.mem-btn--danger {
  background: transparent;
  color: #ba1a1a;
  border: 1px solid rgba(186, 26, 26, 0.22);
}
.mem-btn--danger:hover { background: #ffdad6; }

.mem-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.25rem;
}
.mem-footnote {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: #4e434f;
}
.mem-help {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 12px;
  color: #807380;
}
.mem-help a {
  color: #5e1174;
  font-weight: 600;
  text-decoration: none;
}
.mem-help a:hover { text-decoration: underline; }

.mem-rise {
  opacity: 0;
  animation: mem-rise 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.mem-rise-2 { animation-delay: 90ms; }
.mem-rise-3 { animation-delay: 160ms; }
.mem-rise-4 { animation-delay: 230ms; }

@keyframes mem-rise {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes mem-glow {
  from { transform: translate(0, 0) scale(1); opacity: 0.85; }
  to { transform: translate(-8%, 6%) scale(1.08); opacity: 1; }
}
@keyframes mem-blob {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(12deg) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .mem-rise,
  .mem-pass__glow,
  .mem-pass__blob {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}



