.saved-profile-sheet {
  box-sizing: border-box;
  position: fixed;
  inset: auto 0 0;
  width: min(100%, 430px);
  max-width: 100%;
  max-height: 90dvh;
  margin: 0 auto;
  padding: 13px 24px max(22px, env(safe-area-inset-bottom));
  border: 1px solid #e7cdd5;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: radial-gradient(at 100% 0, #fae5e8, transparent 65%), #fff8f4;
  color: #49333d;
  font-family: "Pretendard Variable", sans-serif;
  box-shadow: 0 -12px 45px #26162020;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.saved-profile-sheet::backdrop {
  background: #24192380;
}
.saved-profile-sheet * {
  box-sizing: border-box;
}
.saved-handle {
  width: 38px;
  height: 4px;
  border-radius: 5px;
  background: #e7cdd5;
  margin: 0 auto 24px;
}
.saved-profile-sheet h2 {
  font-size: 23px;
  letter-spacing: -0.8px;
  line-height: 1.4;
  margin: 0 0 8px;
}
.saved-sub {
  font-size: 12px;
  line-height: 1.6;
  color: #957783;
  margin: 0 0 23px;
}
.saved-close {
  position: absolute;
  right: 16px;
  top: 18px;
  border: 0;
  background: none;
  color: #987985;
  font-size: 23px;
  padding: 3px 6px;
  cursor: pointer;
}
.saved-people {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.saved-person {
  position: relative;
  border: 1px solid #e7cdd5;
  border-left: 3px solid #d89eaf;
  border-radius: 15px;
  padding: 14px 15px;
  background: #fffdfb;
}
.saved-person-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.saved-person-head strong {
  font-size: 17px;
  letter-spacing: -0.5px;
}
.saved-badge {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #f8e7ed;
  color: #a35d76;
}
.saved-change {
  margin-left: auto;
  padding: 3px 0;
  border: 0;
  background: none;
  color: #957783;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.saved-details {
  font-size: 12px;
  color: #957783;
  margin: 7px 0 0;
  line-height: 1.7;
}
.saved-check {
  position: absolute;
  bottom: 18px;
  right: 15px;
  color: #b26c84;
  font-size: 15px;
}
.saved-chooser {
  display: block;
  margin-top: 12px;
  border: 1px solid #e7cdd5;
  background: #fffdfb;
  color: #49333d;
  width: 100%;
  padding: 9px;
  border-radius: 8px;
  font:
    12px "Pretendard Variable",
    sans-serif;
}
.saved-chooser[hidden] {
  display: none;
}
.saved-continue {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 16px 10px;
  margin-top: 20px;
  background: #b26c84;
  color: #fffaf7;
  font:
    650 15px "Pretendard Variable",
    sans-serif;
  letter-spacing: -0.3px;
  cursor: pointer;
}
.saved-new {
  display: block;
  background: none;
  border: 0;
  margin: 14px auto 0;
  padding: 5px;
  color: #957783;
  font:
    12px "Pretendard Variable",
    sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.saved-profile-sheet button:focus-visible,
.saved-chooser:focus-visible {
  outline: 3px solid #b26c84;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  .saved-profile-sheet[open] {
    animation: saved-rise 0.22s ease-out;
  }
  @keyframes saved-rise {
    from {
      transform: translateY(35px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}
