body.account-page {
  min-height: 100vh;
  background: #ffffff;
  color: #191d28;
  font-family: "Pretendard Variable", Pretendard, Arial, "Apple SD Gothic Neo", sans-serif;
}

.account-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.account-page .site-width {
  width: min(100% - 32px, 1720px);
  margin-inline: auto;
}

.account-page .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #10131a;
}

.account-page .site-header__inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.account-page .site-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.account-page .site-brand__icon {
  width: 36px;
  height: 36px;
  object-fit: cover;
}

.account-page .site-brand__text {
  width: 161px;
  height: 36px;
  object-fit: cover;
}

.account-page .site-navigation {
  display: flex;
  align-items: center;
  gap: 55px;
}

.account-page .site-navigation a {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: color 160ms ease;
}

.account-page .site-navigation a:hover,
.account-page .site-navigation a:focus-visible,
.account-page .site-navigation a[aria-current="page"] {
  color: #f1bb1d;
}

.account-page .site-navigation__cta {
  padding: 17px 30px;
  border-radius: 12px;
  background: linear-gradient(110deg, #ffc000 0%, #ffa600 100%);
  box-shadow: inset 0 4px 2px rgba(255, 255, 255, 0.4);
  color: #000000 !important;
}

.account-page .site-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  font-size: 24px;
}

.account-main {
  flex: 1;
}

.account-main--login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 108px;
}

.login-stage {
  width: 100%;
}

.login-card {
  width: min(100%, 400px);
  margin: 0 auto;
  border: 1px solid #f1bb1d;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 2px 30px rgba(241, 187, 29, 0.2);
}

.find-card {
    width: min(100%, 500px);
    margin: 0 auto;
    border: 1px solid #f1bb1d;
    border-radius: 13px;
    background: #ffffff;
    
}

.login-card__brand {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 60px 40px 32px;
}

.login-card__brand img {
  display: block;
  width: 212px;
  filter: brightness(0);
}

/* 로그인 카드에서는 검정 워드마크를 사용하되 노란 리마스터 바는 원색을 유지한다. */
.login-card__brand::after {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 212px;
  aspect-ratio: 424 / 102;
  background: url("/Content/img/account/login-wordmark.png") center / 100% 100% no-repeat;
  clip-path: inset(70% 0 0);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.login-form {
  padding: 0 40px 32px;
}

.login-feedback {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff4ef;
  color: #be4f17;
  font-size: 13px;
  font-weight: 600;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  color: #222222;
  font-size: 14px;
}

.login-form input::placeholder {
  color: rgba(34, 34, 34, 0.5);
}

.login-password-field {
  position: relative;
  margin-top: 10px;
}

.login-password-field input {
  padding-right: 46px;
}

.login-password-toggle {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 18px;
  height: 18px;
  padding: 0;
  background: transparent;
  transform: translateY(-50%);
}

.login-password-toggle img {
  width: 18px;
  height: 18px;
}

.login-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #555555;
  font-size: 13px;
  line-height: 1.5;
}

.login-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.login-checkbox span[aria-hidden="true"] {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1.5px solid #bbbbbb;
  border-radius: 3px;
  background: #ffffff;
}

.login-checkbox input:checked + span {
  background: linear-gradient(180deg, #ffc000 0%, #f1bb1d 100%);
  border-color: #f1bb1d;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.login-submit {
  width: 100%;
  height: 50px;
  margin-top: 14px;
  border-radius: 4px;
  background: #ffc000;
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.013em;
}

.login-submit:hover,
.login-submit:focus-visible {
  background: #ffca2c;
}

.login-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 16px;
  color: #555555;
  font-size: 13px;
  line-height: 1.5;
}

.login-links span {
  color: #dddddd;
}

.login-links button {
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.login-links a:hover,
.login-links a:focus-visible,
.login-links button:hover,
.login-links button:focus-visible {
  color: #191d28;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-divider {
  border-top: 1px solid #f0f0f0;
}

.login-social {
  padding: 24px 40px;
  text-align: center;
}

.login-social p {
  color: #6c6c6c;
  font-size: 12px;
  line-height: 1.5;
}

.login-social__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 14px;
}

.login-social__button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #ffffff;
}

.login-social__button--google,
.login-social__button--naver {
  border: 1.5px solid #e0e0e0;
}

.login-social__button--naver {
  position: relative;
  overflow: hidden;
}

.login-social__button img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.login-social__button--naver img {
  width: 18px;
  height: 18px;
  opacity: 0;
}

/* 원본 PNG의 비대칭 투명 여백을 제거하고 실제 심볼을 버튼 중앙에 고정한다. */
.login-social__button--naver::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  background: #03c75a;
  color: #ffffff;
  content: "N";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.site-footer {
  background: #f3f0e7;
  padding: 60px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-footer__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(100%, 600px);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.site-footer__links a {
  color: #30333d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.site-footer__links span {
  width: 1px;
  height: 11px;
  background: #bcbdc3;
}

.site-footer__copy {
  color: #5d5f68;
  font-size: 12px;
  line-height: 1.4;
}

.site-footer__copy p + p {
  margin-top: 3px;
}

.site-footer__copy span {
  margin-left: 12px;
}

.site-footer__dragonfly {
  width: 96px;
}

.site-footer__ratings {
  display: flex;
  align-items: flex-end;
  gap: 17px;
}

.site-footer__icons {
  display: flex;
  gap: 6px;
}

.site-footer__icon-shell {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border-radius: 999px;
  background: #ffffff;
}

.site-footer__icon-shell img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.site-footer__badge {
  width: 98px;
}

.account-toast-region {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  gap: 8px;
}

.account-toast {
  max-width: min(320px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 10px;
  background: #191d28;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.account-recovery-modal[hidden] {
  display: none;
}

.account-recovery-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
}

.account-recovery-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: default;
}

.account-recovery-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(500px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    color: #202532;
    box-shadow: 0 2px 30px rgba(241, 187, 29, 0.2);
}

.account-recovery-modal__dialog:focus {
  outline: none;
}

.account-recovery-modal__header {
  display: flex;
  flex: none;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #252c3b;
  color: #ffffff;
}

.account-recovery-modal__header h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.account-recovery-modal__close {
  position: relative;
  width: 32px;
  height: 32px;
  margin-right: -8px;
  padding: 0;
  background: transparent;
}

.account-recovery-modal__close::before,
.account-recovery-modal__close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1.5px;
  border-radius: 99px;
  background: #c4c8d0;
  content: "";
}

.account-recovery-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.account-recovery-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.account-recovery-modal__close:hover::before,
.account-recovery-modal__close:hover::after,
.account-recovery-modal__close:focus-visible::before,
.account-recovery-modal__close:focus-visible::after {
  background: #ffffff;
}

.account-recovery-modal__body {
  padding: 24px 32px 32px;
  overflow-y: auto;
}

.account-recovery-modal__brand {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 26px 32px 22px;
  background: #10131a;
}

.account-recovery-modal__brand img:first-child {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.account-recovery-modal__brand img:last-child {
  width: 168px;
  object-fit: contain;
}

/* 단계 제목이 없는 본문은 첫 문단이 바로 오므로 위쪽 여백을 넉넉히 둡니다. */
.account-recovery-modal__body--intro {
  padding-top: 36px;
}

.account-recovery-modal__body[hidden] {
  display: none;
}

.account-recovery-modal__step-title {
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6e8ee;
  color: #191d28;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.account-recovery-modal__step-title + .account-recovery-modal__field {
  margin-top: 0;
}

.account-recovery-modal__lead {
  display: block;
  color: #303541;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.account-recovery-modal__lead + .account-recovery-modal__hint {
  margin-top: 14px;
}

.account-recovery-modal__hint {
  color: #9ba0aa;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -0.025em;
}

.account-recovery-modal__owner {
  margin-top: 26px;
  color: #191d28;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.025em;
}

.account-recovery-modal__owner strong {
  color: #4a4ee0;
  font-weight: 700;
}

.account-recovery-modal__owner b {
  font-weight: 700;
}

.account-recovery-modal__verification {
  display: grid;
  width: 100%;
  height: 120px;
  margin-top: 24px;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid #dfe2e8;
  border-radius: 10px;
  background: #f8f9fc;
  color: #181c25;
  font-size: 15px;
  font-weight: 700;
}

.account-recovery-modal__verification:hover,
.account-recovery-modal__verification:focus-visible {
  border-color: #f1bb1d;
  background: #fffaf0;
}

.account-recovery-modal__verification svg {
  width: 21px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.account-recovery-modal__notice {
  margin-top: 25px;
  color: #a9adb6;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.account-recovery-modal__input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ddd7c8;
  border-radius: 8px;
  background: #ffffff;
  color: #222222;
  font-size: 14px;
}

.account-recovery-modal__field {
  margin-top: 30px;
}

.account-recovery-modal__label {
  display: block;
  color: #191d28;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.account-recovery-modal__label + .account-recovery-modal__hint {
  margin-top: 8px;
}

.account-recovery-modal__field .account-recovery-modal__input {
  margin-top: 12px;
}

.account-recovery-modal__input::placeholder {
  color: #c4c7cd;
}

.account-recovery-modal__input:focus {
  border-color: #f1bb1d;
  outline: 2px solid rgba(241, 187, 29, 0.22);
  outline-offset: 1px;
}

.account-recovery-accounts {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  list-style: none;
}

.account-recovery-account {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid #b9bdc7;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.account-recovery-account:hover,
.account-recovery-account:focus-within {
  border-color: #8f94a1;
}

.account-recovery-account input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.account-recovery-account__mark {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid #b9bdc7;
  border-radius: 50%;
  background: #ffffff;
}

.account-recovery-account input:checked + .account-recovery-account__mark {
  border-color: #3b3ce0;
  background: #3b3ce0;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.account-recovery-account input:focus-visible + .account-recovery-account__mark {
  outline: 2px solid rgba(59, 60, 224, 0.35);
  outline-offset: 2px;
}

.account-recovery-account__id {
  color: #191d28;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.account-recovery-account__date {
  margin-left: auto;
  color: #9ba0aa;
  font-size: 13px;
  letter-spacing: -0.025em;
}

.account-recovery-rules {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #f1f2f5;
  color: #4d525d;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: -0.025em;
}

.account-recovery-rules__title {
  color: #191d28;
  font-weight: 700;
}

.account-recovery-rules ul {
  margin: 2px 0 12px;
  padding-left: 12px;
  list-style: none;
}

.account-recovery-rules ul:last-child {
  margin-bottom: 0;
}

.account-recovery-rules li {
  position: relative;
  padding-left: 10px;
}

.account-recovery-rules li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "\00b7";
}

.account-recovery-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.account-recovery-modal__button {
  height: 48px;
  border: 1px solid #c9ccd4;
  border-radius: 8px;
  background: #ffffff;
  color: #191d28;
  font-size: 15px;
  font-weight: 700;
}

.account-recovery-modal__button:hover,
.account-recovery-modal__button:focus-visible {
  border-color: #9ba0aa;
  background: #f6f7f9;
}

.account-recovery-modal__button--primary {
  border-color: #ffbd13;
  background: #ffbd13;
  color: #121212;
}

.account-recovery-modal__button--primary:hover,
.account-recovery-modal__button--primary:focus-visible {
  border-color: #ffca36;
  background: #ffca36;
}

.account-recovery-modal__feedback {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff7df;
  color: #765800;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

body.is-login-recovery-open {
  overflow: hidden;
}

@media (max-width: 1279px) {
  .account-page .site-navigation {
    gap: 28px;
  }

  .account-page .site-navigation a {
    font-size: 16px;
  }

  .account-main--login {
    padding: 56px 0 72px;
  }
}

@media (max-width: 899px) {
  .account-page .site-header__inner {
    min-height: 60px;
  }

  .account-page .site-brand__icon {
    width: 28px;
    height: 28px;
  }

  .account-page .site-brand__text {
    width: 116px;
    height: 26px;
  }

  .account-page .site-menu-button {
    display: grid;
    place-items: center;
  }

  .account-page .site-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 16px 18px;
    background: #10131a;
  }

  .account-page .site-navigation a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
  }

  .account-page .site-navigation__cta {
    margin-top: 12px;
    text-align: center;
  }

  .account-main--login {
    padding: 40px 0 56px;
  }

  .login-card {
    width: min(100%, 360px);
  }

  .login-card__brand,
  .login-form,
  .login-social {
    padding-inline: 20px;
  }

  .site-footer {
    padding: 40px 0;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__copy span {
    display: block;
    margin: 3px 0 0;
  }
}

@media (max-width: 520px) {
  .account-recovery-modal {
    padding: 16px;
  }

  .account-recovery-modal__dialog {
    width: min(100%, 420px);
    max-height: calc(100vh - 32px);
    border-radius: 10px;
  }

  .account-recovery-modal__header {
    min-height: 52px;
    padding-inline: 20px;
  }

  .account-recovery-modal__brand {
    padding: 22px 20px 18px;
  }

  .account-recovery-modal__brand img:last-child {
    width: 148px;
  }

  .account-recovery-modal__body {
    padding: 20px 20px 24px;
  }

  .account-recovery-modal__body--intro {
    padding-top: 28px;
  }

  .account-recovery-modal__verification {
    height: 112px;
  }

  .account-recovery-account {
    min-height: 60px;
    padding-inline: 16px;
  }

  .account-recovery-modal__actions {
    margin-top: 28px;
  }
}
