.container.customer-auth-screen {
  min-height: 100vh;
  padding: 2rem 1.5rem;
  position: relative;
  background-color: #fff;
  display: flex;
  justify-content: center;
}

.customer-auth-screen__content {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 1rem;
}

.customer-auth-screen__title {
  font-size: 1.6rem;
  line-height: 1.35;
  margin: 0;
}

.customer-auth-screen__summary {
  color: #6b7280;
  margin: 0.75rem 0 0;
  line-height: 1.6;
}

.customer-auth-screen__error {
  margin-top: 0.85rem;
  color: #dc2626;
}

.container.customer-auth-screen--fortune {
  --customer-auth-action-margin: 11px;
  --fortune-auth-ink: #f5edef;
  --fortune-auth-sans: "Pretendard Variable", "Pretendard", sans-serif;
  --fortune-auth-block-padding: max(78px, calc(62px + env(safe-area-inset-top, 0px)), env(safe-area-inset-bottom, 0px));
  min-height: 100dvh;
  padding: var(--fortune-auth-block-padding) max(23px, env(safe-area-inset-right, 0px))
    var(--fortune-auth-block-padding) max(23px, env(safe-area-inset-left, 0px));
  background: radial-gradient(ellipse at 50% 47%, #332839 0%, #17101f 48%, #09080b 78%);
  color: var(--fortune-auth-ink);
  color-scheme: dark;
}

:root:has(.customer-auth-screen--fortune) {
  background-color: #09080b;
  color-scheme: dark;
}

#root:has(.customer-auth-screen--fortune) {
  min-height: 100dvh;
  background-color: #09080b;
}

.customer-auth-screen--fortune .customer-auth-screen__content {
  max-width: 284px;
  padding-top: 0;
}

.customer-auth-screen--fortune .customer-auth-screen__title {
  color: inherit;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.customer-auth-screen--fortune .customer-auth-screen__summary {
  color: #cabfca;
  margin: 9px 0 0;
  font: 400 0.875rem/1.65 var(--fortune-auth-sans);
  word-break: keep-all;
}

.customer-auth-screen--fortune .customer-auth-button:first-of-type {
  --customer-auth-action-margin: 30px;
}

.customer-auth-screen--fortune .customer-auth-button > button {
  min-height: 53px;
  padding: 10px 12px;
  border-radius: 13px;
  font: 600 0.9375rem/1.35 var(--fortune-auth-sans);
}

.customer-auth-screen--fortune .customer-auth-screen__back {
  position: absolute;
  z-index: 2;
  inset: calc(16px + env(safe-area-inset-top, 0px)) auto auto max(16px, env(safe-area-inset-left, 0px));
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #64566a;
  border-radius: 15px;
  background: #18131d;
  color: var(--fortune-auth-ink);
}

.customer-auth-screen--fortune button:focus-visible {
  outline: 2px solid #dfc9e6;
  outline-offset: 3px;
}

.customer-auth-screen--fortune .customer-auth-screen__error {
  color: #ffb4ae;
}

.customer-auth-screen--callback .customer-auth-screen__title {
  font-size: 1.5rem;
  word-break: keep-all;
  text-wrap: balance;
}

.customer-auth-screen__waiting {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.customer-auth-screen__waiting > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dac5db;
}

.customer-auth-screen__waiting > i:nth-child(2) { background: #9caebd; }
.customer-auth-screen__waiting > i:nth-child(3) { background: #c9b99b; }

@media (prefers-reduced-motion: no-preference) {
  .customer-auth-screen__waiting > i { animation: customer-auth-wait 1.25s ease-in-out 2 alternate; }
  .customer-auth-screen__waiting > i:nth-child(2) { animation-delay: 120ms; }
  .customer-auth-screen__waiting > i:nth-child(3) { animation-delay: 240ms; }
}

@keyframes customer-auth-wait { from { opacity: .48; } to { opacity: 1; } }

.my-page {
  --my-page-ink: #232832;
  --my-page-muted: #6b7079;
  --my-page-surface: #f5f6f8;
  --my-page-accent: #c95042;
  inline-size: 100%;
  min-block-size: 100svh;
  background: #fff;
  color: var(--my-page-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  text-align: start;
}
.my-page *, .my-page *::before, .my-page *::after { box-sizing: border-box; }
.my-page h1, .my-page h2, .my-page p { margin: 0; }
.my-page button { font: inherit; border: 0; box-shadow: none; }
.my-page button:hover { transform: none; filter: none; }
.my-page button:focus-visible, .my-page a:focus-visible {
  outline: 3px solid var(--my-page-accent); outline-offset: 3px;
}
.my-page svg { flex-shrink: 0; }
.my-page__header {
  position: relative; isolation: isolate; padding: 6px 22px 38px;
  background: #101320; color: #fff;
}
.my-page__header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4;
  background: url("/assets/home-night-sky-qWq_-z_P.webp") center 30% / cover no-repeat;
}
.my-page__top { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; min-block-size: 48px; }
.my-page .my-page__back {
  display: grid; place-items: center; inline-size: 44px; block-size: 44px;
  padding: 0; background: transparent; color: #fff;
}
.my-page__logo { justify-self: center; display: block; inline-size: 74px; }
.my-page__logo img { display: block; inline-size: 74px; block-size: 28px; object-fit: contain; }
.my-page__account { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block-start: 12px; }
.my-page__identity { min-inline-size: 0; }
.my-page h1 { font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -.7px; color: inherit; }
.my-page .my-page__name { margin-block-start: 10px; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.my-page__name span { color: #d0cbd2; font-weight: 400; margin-inline-start: 4px; }
.my-page .my-page__email { margin-block-start: 4px; color: #c5c2cc; font-size: 12px; overflow-wrap: anywhere; }
.my-page__avatar { inline-size: 64px; block-size: 64px; border-radius: 20px; flex-shrink: 0; background: #ffffff0c; }
.my-page__avatar img { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; padding: 3px; }
.my-page__main {
  position: relative; margin-block-start: -18px; border-radius: 24px 24px 0 0;
  padding: 26px 20px 24px; background: #fff; display: grid; gap: 26px;
}
.my-page__section { min-inline-size: 0; }
.my-page__section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-end: 12px; }
.my-page h2 { color: var(--my-page-ink); font-size: 18px; line-height: 1.4; font-weight: 700; letter-spacing: -.55px; }
.my-page h2 > span { color: var(--my-page-accent); margin-inline-start: 5px; font-size: 15px; font-weight: 600; }
.my-page__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.my-page__list li { min-inline-size: 0; }
.my-page .my-page__order {
  inline-size: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) 14px;
  align-items: center; gap: 14px; padding: 16px; background: var(--my-page-surface);
  border-radius: 18px; color: var(--my-page-ink); text-align: start;
}
.my-page__order > svg, .my-page__profile > svg, .my-page__menu-row > svg { inline-size: 15px; block-size: 15px; color: #747b87; }
.my-page__order:disabled { opacity: 1; cursor: default; }
.my-page__art { display: grid; place-items: center; inline-size: 64px; block-size: 82px; border-radius: 13px; background: #eaedf2; }
.my-page__art--romance { background: #f1e9f1; }
.my-page__art--self { background: #e8eee8; }
.my-page__art--compatibility { background: #eee8f5; }
.my-page__art img { display: block; inline-size: 54px; block-size: 70px; object-fit: contain; }
.my-page__order-copy { display: grid; justify-items: start; gap: 5px; min-inline-size: 0; }
.my-page__order-copy strong { font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: -.4px; overflow-wrap: anywhere; }
.my-page__state { display: inline-flex; padding: 3px 7px; border-radius: 5px; font-size: 11px; line-height: 1.4; font-weight: 600; }
.my-page__state--ready { color: #42705d; background: #edf4ef; }
.my-page__state--pending { color: #7e5f2c; background: #f7f0e3; }
.my-page__state--error { color: #b42338; background: #fff0f2; }
.my-page__meta { color: var(--my-page-muted); font-size: 11px; overflow-wrap: anywhere; }
.my-page__read { display: flex; gap: 4px; align-items: center; padding-block-start: 5px; color: var(--my-page-accent); font-size: 12px; font-weight: 600; }
.my-page__read svg { inline-size: 14px; block-size: 14px; }
.my-page__order:disabled .my-page__read { color: var(--my-page-muted); font-weight: 400; }
.my-page .my-page__small-action {
  display: flex; align-items: center; gap: 3px; inline-size: auto; min-block-size: 44px;
  padding: 8px 0 8px 8px; background: transparent; color: var(--my-page-accent); font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.my-page__small-action svg { inline-size: 14px; block-size: 14px; }
.my-page .my-page__section-note { color: var(--my-page-muted); font-size: 12px; line-height: 1.6; margin: -7px 0 12px; }
.my-page__list--profiles { gap: 8px; }
.my-page .my-page__profile {
  display: flex; align-items: center; gap: 12px; inline-size: 100%; padding: 16px 14px;
  background: var(--my-page-surface); border-radius: 18px; color: var(--my-page-ink); text-align: start;
}
.my-page__profile-symbol { display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 12px; background: #e9ecf1; color: #747b87; flex-shrink: 0; }
.my-page__profile-symbol svg { inline-size: 18px; block-size: 18px; }
.my-page__profile-copy { display: grid; gap: 5px; flex: 1; min-inline-size: 0; }
.my-page__profile-copy strong { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.my-page__profile-copy > span { font-size: 11px; color: var(--my-page-muted); }
.my-page__relation { font-size: 11px; padding: 2px 5px; font-weight: 400; color: #606773; background: #e9ecf1; border-radius: 4px; }
.my-page .my-page__menu-row {
  inline-size: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 17px 14px; margin-block-start: 8px; border-radius: 18px;
  color: var(--my-page-ink); background: var(--my-page-surface); text-align: start;
}
.my-page__section > h2 { margin-block-end: 12px; }
.my-page__menu-label { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.my-page__menu-label > svg { inline-size: 18px; block-size: 18px; color: #747b87; }
.my-page__menu-label strong { font-size: 14px; font-weight: 600; }
.my-page__account-bottom { padding: 14px 2px 0; }
.my-page__account-bottom button { inline-size: auto; min-block-size: 44px; padding: 8px 0; background: transparent; color: var(--my-page-muted); font-size: 11px; }
.my-page .my-page__empty, .my-page .my-page__error { padding: 20px 16px; border-radius: 18px; background: var(--my-page-surface); color: var(--my-page-muted); font-size: 13px; line-height: 1.6; }
.my-page .my-page__error { color: #b42338; background: #fff0f2; }
@media (max-width: 360px) {
  .my-page__main { padding-inline: 15px; }
  .my-page__header { padding-inline: 17px; }
  .my-page .my-page__order { gap: 11px; padding: 14px; grid-template-columns: 54px minmax(0, 1fr) 12px; }
  .my-page__art { inline-size: 54px; block-size: 78px; }
}
@media (prefers-reduced-motion: reduce) { .my-page button { transition: none; } }

.customer-bottom-nav {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px;
  padding: .22rem 1rem calc(.26rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box; z-index: 170; background: rgba(255,255,255,.98);
}
.customer-bottom-nav__items { display: grid; grid-template-columns: repeat(var(--nav-count), minmax(0, 1fr)); gap: .7rem; }
.customer-bottom-nav__items button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .14rem;
  min-height: 30px; border-radius: 18px; color: #6b7280; background: transparent; box-shadow: none;
}
.customer-bottom-nav__items [aria-current="page"] { color: #111827; }
.customer-bottom-nav__icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
.customer-bottom-nav__label { font-size: .72rem; font-weight: var(--customer-bottom-nav-font-weight, 800); white-space: nowrap; }
.customer-bottom-nav--floating {
  bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 40px); max-width: 440px;
  padding: 2px 12px; background: #ffffff; border-radius: 19px;
  border: 1px solid #e5e7eb; box-shadow: 0 8px 28px #1b090933;
}
.customer-bottom-nav--floating button { min-height: 44px; border-radius: 0; color: #7c8390; }
.customer-bottom-nav--floating button:hover { transform: none; background: transparent; }
.customer-bottom-nav--floating .customer-bottom-nav__icon,
.customer-bottom-nav--floating .customer-bottom-nav__icon svg { width: 23px; height: 23px; }
.customer-bottom-nav--floating [aria-current="page"] .customer-bottom-nav__icon { color: #c74c40; }
.customer-bottom-nav--floating button:focus-visible { outline: 2px solid #a14335; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .customer-bottom-nav button { transition: none; } }

.my-page { padding-bottom: calc(46px + env(safe-area-inset-bottom, 0px)); }
