@charset "UTF-8";
/* ============================================================
   회원 (로그인 · 가입 · 인증 · 이관)
   ============================================================ */

.auth { padding-block: var(--av-gap-xl) var(--av-section); }

.auth__box {
  max-width: 520px;
  margin-inline: auto;
}
/* 가입 유형 선택은 2단이라 더 넓게 */
.join-choice ~ *, .auth .join-choice { max-width: none; }

.auth__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--av-gap-lg);
}

/* 로그인 제목은 공통 브레드크럼과 같은 높이에서 가운데 정렬한다. */
.auth--login {
  padding-block-start: var(--av-context-head-top);
}
.auth--login .auth__head {
  align-items: center;
  text-align: center;
}
.auth--login .auth__head > .av-h1 {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
.auth--login .auth__head > .av-lead {
  width: 100%;
  margin-top: 4px;
  color: var(--av-fg-muted);
  font-size: .9375rem;
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
}

.auth__legacy-note,
.auth__approval-note {
  border: 0;
}
.auth__legacy-note strong,
.auth__approval-note strong {
  font-size: 1rem;
  line-height: 1.5;
}
.auth__legacy-note span,
.auth__approval-note span {
  font-size: .875rem;
  line-height: 1.65;
}

/* .auth__grid / .auth__addr / .form-sec / .agree 는
   주문서·마이페이지에서도 쓰므로 av.css 에 있다 */

.auth__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: var(--av-gap);
  font-size: .875rem;
  color: var(--av-fg-muted);
}
.auth__links a:hover { color: var(--av-fg); }
.auth__links--triple { gap: 0; }
.auth__links--triple a {
  padding-inline: 18px;
  white-space: nowrap;
  transition: color .28s var(--av-ease);
}
.auth__links--triple a + a {
  border-inline-start: 1px solid rgba(255,255,255,.2);
}

@media (max-width: 520px) {
  .auth__links--triple a { padding-inline: 12px; }
}

/* ── 본인인증 완료 칩 ───────────────────────────────────── */
.verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin-bottom: var(--av-gap);
  border-radius: var(--av-radius-pill);
  border: 1px solid color-mix(in srgb, var(--av-success) 45%, transparent);
  background: color-mix(in srgb, var(--av-success) 10%, transparent);
  color: var(--av-success);
  font-size: .8125rem;
  font-weight: 700;
}

/* ── 가입 유형 선택 ─────────────────────────────────────── */
.join-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--av-gap);
  max-width: 820px;
  margin-inline: auto;
}
@media (max-width: 760px) { .join-choice { grid-template-columns: 1fr; } }

/* 두 카드가 같은 padding 을 써야 제목·목록의 Y 가 정확히 맞는다 */
.join-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  background: var(--av-bg-card);
  transition: border-color .25s, transform .25s var(--av-ease);
}
.join-card:hover { border-color: var(--av-accent); transform: translateY(-4px); }

.join-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--av-line-strong);
  color: var(--av-accent);
  margin-bottom: 4px;
}
.join-card__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.join-card__desc  { font-size: .9375rem; color: var(--av-fg-muted); line-height: 1.6; min-height: 3.2em; }

.join-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--av-line);
  flex: 1;
}
.join-card__list li {
  position: relative;
  padding-inline-start: 18px;
  font-size: .875rem;
  color: var(--av-fg-muted);
  line-height: 1.6;
}
.join-card__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--av-accent);
}
.join-card__cta {
  margin-top: 18px;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--av-label);
}

/* .done-mark 는 주문 완료 화면에서도 쓰므로 av.css 에 있다 */

/* Signup completion only: shared brand tones and compact button corners. */
.auth--join-done { padding-block: clamp(60px, 8vw, 100px) var(--av-section); }
.auth--join-done .auth__box { max-width: 640px; text-align: center; }
.auth--join-done .auth__head { align-items: center; margin-bottom: 32px; }
body[data-front-ui] .av-main .auth--join-done h1.av-h1 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.04em;
  word-break: keep-all;
  overflow-wrap: break-word;
  color: #121212;
}
.auth--join-done .done-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border: 0;
  background: #f8f8f8;
  color: #E60012;
}
.auth--join-done .done-mark svg { width: 32px; height: 32px; }
html[data-theme="dark"] .auth--join-done .done-mark { background: #161616; color: #fcf145; }
html[data-theme="dark"] body[data-front-ui] .av-main .auth--join-done h1.av-h1 { color: #fff; }
.join-done__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 420px);
  margin-inline: auto;
}
.auth--join-done .join-done__actions .av-btn {
  min-width: 0;
  height: 50px;
  padding-inline: 14px;
  border-radius: var(--av-radius-sm);
  font-size: .9375rem;
  font-weight: 600;
}
@media (max-width: 520px) {
  .auth--join-done .auth__head { margin-bottom: 26px; }
  .join-done__actions { gap: 10px; }
  .auth--join-done .join-done__actions .av-btn { height: 46px; padding-inline: 10px; }
}

/* ── 접수 안내의 서류 목록 ──────────────────────────────── */
.pending-docs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--av-gap);
  padding: 20px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
  background: var(--av-bg-card);
}
.pending-docs li {
  position: relative;
  padding-inline-start: 18px;
  font-size: .875rem;
  color: var(--av-fg-muted);
  line-height: 1.7;
}
.pending-docs li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--av-accent);
}
.pending-docs strong { color: var(--av-fg); }

/* ── 한 화면 회원가입 ───────────────────────────────────── */
.auth__box--join {
  max-width: 760px;
}

.auth__head--join {
  align-items: center;
  text-align: center;
}

.join-identity {
  margin-bottom: var(--av-gap-lg);
  padding: 24px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
  background: color-mix(in srgb, var(--av-bg-card) 82%, transparent);
}

.join-identity__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.join-identity__head .form-sec {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}

.join-identity__form {
  gap: 18px;
}

.join-identity__form > .av-btn {
  min-width: 148px;
  justify-self: end;
  margin-inline-start: auto;
}

.join-identity .verified-chip {
  width: 100%;
  margin: 0;
  border-radius: var(--av-radius-sm);
}

.join-identity__reset {
  padding: 2px 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--av-fg-muted);
  font-size: .8125rem;
  transition: color .25s var(--av-ease);
}
.join-identity__reset:hover { color: var(--av-fg); }

.join-identity__completed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.join-identity__completed > form { margin: 0; }
.join-identity__button--complete:disabled {
  opacity: .65;
  pointer-events: none;
}

.join-identity__kcp {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  border-radius: var(--av-radius-sm);
  background: #121212;
}

.join-identity__mark {
  display: grid;
  place-items: center;
  width: 92px;
  aspect-ratio: 1;
}

.join-identity__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.join-identity__mark sup {
  margin-left: 1px;
  font-size: .42em;
  vertical-align: .75em;
}

.join-identity__copy > strong {
  display: block;
  color: var(--av-fg);
  font-size: 1.0625rem;
  font-weight: 600;
}

.join-identity__copy > p {
  margin-top: 7px;
  color: var(--av-fg-muted);
  font-size: .875rem;
}

.join-identity__points {
  display: grid;
  gap: 5px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  color: var(--av-fg-muted);
  font-size: .8125rem;
}

.join-identity__points li {
  position: relative;
  padding-left: 12px;
}

.join-identity__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--av-accent);
}

.join-identity__button {
  min-width: 210px;
}

.join-identity__button[aria-busy="true"] {
  opacity: .7;
  pointer-events: none;
}

.join-identity__status:not(:empty) {
  margin-top: 10px;
  color: var(--av-accent);
}

.join-identity__privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--av-fg-dim);
  font-size: .75rem;
}

.auth__box--join form.is-auth-locked {
  opacity: .48;
  pointer-events: none;
  user-select: none;
}

body.identity-popup {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: #0a0a0a;
}

.identity-popup .auth {
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: 36px 24px;
}

.identity-popup .auth__head {
  align-items: center;
  text-align: center;
}

.identity-popup__complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 24px;
  text-align: center;
}

.identity-popup__check {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--av-accent);
  color: #fff;
}

.identity-popup__complete h1 { font-size: 1.5rem; font-weight: 600; }
.identity-popup__complete p { margin: 10px 0 26px; color: var(--av-fg-muted); }
.identity-popup__complete .av-btn { min-width: 190px; }

.auth__box--join input[readonly] {
  color: var(--av-fg-muted);
  cursor: default;
}

.auth__box--join .av-btn:disabled {
  opacity: .42;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .join-identity { padding: 20px 16px; }
  .join-identity__kcp { grid-template-columns: 1fr; padding: 20px; }
  .join-identity__mark { width: 68px; font-size: 1.5rem; }
  .join-identity__button { width: 100%; min-width: 0; }
  .join-identity__privacy { align-items: flex-start; line-height: 1.55; }
  .join-identity__head { gap: 12px; }
  .join-identity__form > .av-btn { width: 100%; }
}

/* ── 회원가입 약관 아코디언 ────────────────────────────── */
.agree__item {
  display: flex;
  flex-direction: column;
}

.agree__row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.agree__row .av-check {
  flex: 0 1 auto;
}

.agree__toggle {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #E60012;
  cursor: pointer;
  transition: opacity .24s var(--av-ease);
}

.agree__toggle::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 8px solid currentColor;
  transition: transform .28s var(--av-ease);
  transform-origin: 4px 5px;
}

.agree__toggle:hover,
.agree__toggle:focus-visible {
  color: #E60012;
  opacity: .78;
}

.agree__toggle[aria-expanded="true"]::before {
  transform: rotate(-90deg);
}

.agree__content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .34s var(--av-ease), opacity .26s ease;
}

.agree__content-inner {
  min-height: 0;
  overflow: hidden;
  color: var(--av-fg-muted);
  font-size: .8125rem;
  line-height: 1.72;
}

.agree__content-inner > *:first-child {
  margin-top: 0;
}

.agree__content-inner h3 {
  color: var(--av-fg);
  font-size: .875rem;
  font-weight: 700;
}

.agree__content-inner p + p {
  margin-top: 10px;
}

.agree__content-inner strong {
  color: var(--av-fg);
  font-weight: 600;
}

.agree__item.is-open .agree__content {
  grid-template-rows: 1fr;
  opacity: 1;
}

.agree__item.is-open .agree__content-inner {
  padding: 14px 0 6px 26px;
}

/* Login member type switch and Cafe24 bridge button */
.auth-type-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
  margin: 0 0 8px;
  padding: 4px;
  border: 1px solid #E60012;
  border-radius: 10px;
  background: transparent;
  isolation: isolate;
}
.auth-type-toggle::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 4px;
  width: calc(50% - 6px);
  height: calc(100% - 8px);
  border: 0;
  border-radius: 7px;
  background: #E60012;
  box-sizing: border-box;
  transform: translateX(0);
  transition: transform .38s cubic-bezier(.22, .8, .28, 1);
}
.auth-type-toggle:has(input[value="BUSINESS"]:checked)::before {
  transform: translateX(calc(100% + 4px));
}
.auth-type-toggle label {
  position: relative;
  z-index: 1;
  min-width: 0;
  cursor: pointer;
}
.auth-type-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.auth-type-toggle span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255,255,255,.62);
  font-size: .9375rem;
  font-weight: 700;
  transition: color .28s var(--av-ease);
}
.auth-type-toggle input:checked + span { color: #fff; }
.auth-type-toggle input:focus-visible + span {
  outline: 2px solid #E60012;
  outline-offset: -4px;
}
.auth-type-toggle label:hover span { color: #fff; }

.auth__cafe24 {
  border-color: transparent;
  background: #e0e0e0;
  color: #E60012;
  font-weight: 700;
  transition: background-color .25s var(--av-ease), color .25s var(--av-ease);
}
.auth__cafe24:hover {
  border-color: transparent;
  background: #d4d4d4;
  color: #E60012;
}


/* Login-only chromeless toolbar; form keeps the previous vertical position. */
.auth--login .auth__head--login-tools {
  position: relative;
  min-height: 44px;
}
.auth-login-toolbar {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 18px);
  width: min(calc(100vw - var(--av-gutter) * 2), var(--av-container-narrow));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  transform: translateX(-50%);
}
.auth-login-back {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #121212;
  cursor: pointer;
  transition: color .22s var(--av-ease);
}
.auth-login-back:hover { color: #E60012; }
.auth-login-toolbar__logo {
  position: relative;
  display: block;
  width: 160px;
  aspect-ratio: 430 / 114;
}
.auth-login-toolbar__logo-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .36s var(--av-ease);
}
.auth-login-toolbar__logo-img--light { opacity: 1; }
.auth-login-toolbar__logo-img--dark { opacity: 0; }
html[data-theme="dark"] .auth-login-toolbar__logo-img--light { opacity: 0; }
html[data-theme="dark"] .auth-login-toolbar__logo-img--dark { opacity: 1; }
html[data-theme="dark"] .auth-login-back { color: #fff; }
html[data-theme="dark"] .auth-login-back:hover { color: #E60012; }
.auth-login-toolbar .auth-login-theme {
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  justify-self: end;
  align-items: flex-start;
  flex: none;
}

/* Compact member type switch without an inset gutter. */
.auth--login .auth-type-toggle {
  width: min(100%, 400px);
  margin: 0 auto 8px;
  padding: 0;
  gap: 0;
}
.auth--login .auth-type-toggle::before {
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  border-radius: 8px;
}
.auth--login .auth-type-toggle:has(input[value="BUSINESS"]:checked)::before {
  transform: translateX(100%);
}

@media (max-width: 900px) {
  .auth-login-toolbar { bottom: calc(100% + 16px); }
  .auth-login-toolbar__logo { width: 136px; }
  .auth-login-back { width: 38px; height: 36px; }
}


/* Login page refinement: toolbar alignment, radios, Cafe24 and social login. */
.auth--login .auth__head--login-tools { min-height: 22px; margin-bottom: 12px; }
.auth--login .auth-login-toolbar { bottom: calc(100% + 8px); width: 100%; align-items: start; }
.auth--login .auth-login-back { width: 42px; height: 42px; padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; }
.auth--login .auth-login-back svg { width: 30px; height: 30px; }
.auth--login .auth-type-toggle { display: flex; justify-content: center; width: auto; margin: 0 auto 10px; padding: 0; gap: 34px; border: 0; border-radius: 0; background: transparent; isolation: auto; }
.auth--login .auth-type-toggle::before { content: none; display: none; }
.auth--login .auth-type-toggle label { display: inline-flex; align-items: center; min-width: 0; }
.auth--login .auth-type-toggle span { position: relative; min-height: auto; padding: 2px 0 2px 27px; border-radius: 0; color: rgba(18,18,18,.7); font-size: .9375rem; line-height: 20px; }
.auth--login .auth-type-toggle span::before,
.auth--login .auth-type-toggle span::after { content: ""; position: absolute; border-radius: 50%; box-sizing: border-box; }
.auth--login .auth-type-toggle span::before { left: 0; top: 50%; width: 19px; height: 19px; border: 1.5px solid rgba(18,18,18,.48); transform: translateY(-50%); transition: border-color .2s var(--av-ease); }
.auth--login .auth-type-toggle span::after { left: 5px; top: 50%; width: 9px; height: 9px; background: #E60012; opacity: 0; transform: translateY(-50%) scale(.55); transition: opacity .18s var(--av-ease), transform .18s var(--av-ease); }
.auth--login .auth-type-toggle input:checked + span { color: #121212; }
.auth--login .auth-type-toggle input:checked + span::before { border-color: #E60012; }
.auth--login .auth-type-toggle input:checked + span::after { opacity: 1; transform: translateY(-50%) scale(1); }
.auth--login .auth-type-toggle input:focus-visible + span { outline: 0; }
.auth--login .auth-type-toggle input:focus-visible + span::before { outline: 2px solid rgba(230,0,18,.25); outline-offset: 3px; }
.auth--login .auth-type-toggle label:hover span { color: #121212; }
html[data-theme="dark"] .auth--login .auth-type-toggle span { color: rgba(255,255,255,.7); }
html[data-theme="dark"] .auth--login .auth-type-toggle span::before { border-color: rgba(255,255,255,.5); }
html[data-theme="dark"] .auth--login .auth-type-toggle input:checked + span { color: #fff; }
html[data-theme="dark"] .auth--login .auth-type-toggle input:checked + span::before { border-color: #E60012; }
html[data-theme="dark"] .auth--login .auth-type-toggle label:hover span { color: #fff; }
.auth--login form.av-stack { gap: var(--av-gap); }
.auth--login .auth__cafe24 { margin-top: -5px; border-color: transparent; background: #f8f8f8; color: #E60012; }
.auth--login .auth__cafe24:hover { border-color: transparent; background: #eeeeee; color: #E60012; }
.auth-social-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; width: 100%; margin-top: 28px; color: rgba(18,18,18,.55); }
.auth-social-divider span { height: 1px; background: rgba(18,18,18,.18); }
.auth-social-divider strong { font-size: .875rem; font-weight: 500; white-space: nowrap; }
.auth-social-actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.auth-social-button { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; box-shadow: none; cursor: pointer; transition: filter .22s var(--av-ease); }
.auth-social-button:hover { filter: brightness(.94); }
.auth-social-button svg { width: 25px; height: 25px; }
.auth-social-button--google { border: 1px solid rgba(18,18,18,.14); background: #fff; }
.auth-social-google { color: #4285f4; font-family: Arial, sans-serif; font-size: 1.45rem; font-weight: 700; line-height: 1; }
.auth-social-button--kakao { background: #fee500; color: #191919; }
.auth-social-button--kakao svg { fill: currentColor; }
.auth-social-button--naver { background: #03c75a; color: #fff; }
.auth-social-button--naver svg { fill: currentColor; }
html[data-theme="dark"] .auth-social-divider { color: rgba(255,255,255,.55); }
html[data-theme="dark"] .auth-social-divider span { background: rgba(255,255,255,.18); }
@media (max-width: 900px) {
  .auth--login .auth-login-toolbar { bottom: calc(100% + 7px); }
  .auth--login .auth-login-back svg { width: 28px; height: 28px; }
}


/* Login page polish: checked state, social assets and spacing. */
.auth--login .auth-login-toolbar .auth-login-theme {
  transform: translateY(6px);
}
.auth--login .auth-type-toggle {
  gap: 38px;
}
.auth--login .auth-type-toggle span {
  padding-left: 31px;
  font-size: 1rem;
  line-height: 22px;
}
.auth--login .auth-type-toggle span::before {
  width: 22px;
  height: 22px;
}
.auth--login .auth-type-toggle span::after {
  left: 8px;
  top: 48%;
  width: 6px;
  height: 11px;
  border: 0;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  background: transparent;
  transform: translateY(-55%) rotate(45deg) scale(.65);
}
.auth--login .auth-type-toggle input:checked + span {
  color: #E60012 !important;
}
.auth--login .auth-type-toggle input:checked + span::before {
  border-color: #E60012;
  background: #E60012;
}
.auth--login .auth-type-toggle input:checked + span::after {
  opacity: 1;
  transform: translateY(-55%) rotate(45deg) scale(1);
}
.auth--login .auth__links--triple a {
  padding-inline: 13px;
}
.auth--login .auth-social-divider {
  margin-top: 34px;
  color: #121212;
}
.auth--login .auth-social-divider strong {
  font-size: 1rem;
}
.auth--login .auth-social-actions {
  gap: 18px;
  margin-top: 20px;
}
.auth--login .auth-social-button {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.auth--login .auth-social-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
html[data-theme="dark"] .auth--login .auth-social-divider {
  color: #fff;
}
@media (max-width: 520px) {
  .auth--login .auth__links--triple a { padding-inline: 10px; }
  .auth--login .auth-social-button { width: 50px; height: 50px; }
}


/* Login divider and member-type hover alignment refinement. */
.auth--login .auth-social-divider {
  margin-top: 44px;
}
.auth--login .auth-social-divider span {
  align-self: center;
  transform: translateY(1px);
}
.auth--login .auth-type-toggle label:hover span,
html[data-theme="dark"] .auth--login .auth-type-toggle label:hover span {
  color: #E60012 !important;
}


/* Login utility-link separators by theme. */
.auth--login .auth__links--triple a + a {
  border-inline-start-color: rgba(18,18,18,.18);
}
html[data-theme="dark"] .auth--login .auth__links--triple a + a {
  border-inline-start-color: rgba(255,255,255,.2);
}

/* Personal join page: align the whole form group with the global breadcrumb top. */
.auth--join {
  padding-block-start: var(--av-context-head-top);
}

/* Personal signup: compact, centered age notice and single-column fields. */
.auth__box--personal { max-width: 640px; }
.join-personal-form .auth__grid { grid-template-columns: minmax(0,1fr); }
.join-personal-form :is(.auth__grid--password, .auth__grid--name) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.join-personal-form .auth__grid > .av-field { min-width: 0; }
html[data-theme] body[data-front-ui] .auth--join .join-age-note {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  align-items: center;
  gap: 16px;
  padding: 20px 30px 20px 22px;
  margin-bottom: var(--av-gap-lg);
  border: 0;
  border-radius: var(--av-radius-sm);
  background: #f8f8f8 !important;
  color: #121212;
}
html[data-theme="dark"] body[data-front-ui] .auth--join .join-age-note {
  background: #161616 !important;
  color: #fff;
}
.join-age-note img { width: 82px; height: 82px; flex: 0 0 82px; object-fit: contain; }
.join-age-note strong { font-size: 1.125rem; line-height: 1.45; color: inherit; }
html[data-theme] body[data-front-ui] .auth--join .join-identity--compact {
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}
.join-identity--compact > form { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.join-identity--compact .join-identity__kcp { grid-template-columns: minmax(0,1fr); }
.join-identity--compact .join-identity__button {
  width: auto;
  min-width: 104px;
  border-radius: var(--av-radius-sm);
}
.join-identity--compact .join-identity__hint,
.join-personal-form > .join-identity__hint { font-size: .875rem; font-weight: 400; color: var(--av-fg-muted); }
.join-identity--compact .join-identity__hint { margin-top: 10px; }
.join-personal-form > .join-identity__hint { margin: 0; }
@media (max-width: 520px) {
  .join-identity--compact .join-identity__button { width: 96px; min-width: 0; }
}
.join-identity--compact .join-identity__button--complete,
.join-identity--compact .join-identity__button[aria-busy="true"] {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}
html[data-theme] body[data-front-ui] .join-personal-form > .agree {
  margin: 0;
  padding: 0;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}
.join-personal-form > .agree > legend { padding-inline: 0; }
.join-personal-fields, .join-personal-form .join-address { min-width: 0; margin: 0; padding: 0; border: 0; }
.join-id-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.join-personal-form :is(.join-id-row .av-btn, .av-address__search, .join-submit) { border-radius: var(--av-radius-sm); }
.join-id-row .av-btn { height: 50px; }
.join-personal-form .join-submit { align-self: center; width: min(100%,240px); }
.join-personal-form [data-join-error] {
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #E60012;
}
.join-personal-form [data-join-error][hidden] { display: none !important; }
html[data-theme="dark"] .join-personal-form [data-join-error] { color: #fcf145; }
.join-personal-form input, .join-personal-form [data-join-error] {
  scroll-margin-block: 180px 40px;
}
[data-login-id-status]:empty { display: none; }
.join-personal-form [data-login-id-status] { color: var(--av-label); }
.auth__box--personal .join-section-title {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid var(--av-fg);
  color: var(--av-fg);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}
.join-personal-form > .join-section-title { margin-bottom: 0; }
.auth__box--personal .join-section-title--receiving { margin-top: 24px; margin-bottom: 8px; }
html[data-theme] body[data-front-ui] .auth--join .join-identity--compact .join-identity__kcp {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}
.join-personal-form .agree .av-check { align-items: center; gap: 12px; }
.join-personal-form .agree .av-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent !important;
  box-shadow: none;
  color: var(--av-fg);
  /* Align the box with the visible Korean glyphs, not just their line box. */
  align-self: center;
  transform: translateY(-1px);
  cursor: pointer;
}
html[data-theme="light"] .join-personal-form .agree .av-check input[type="checkbox"]:checked {
  border-color: #E60012;
  background: #E60012 !important;
  color: #fff;
}
html[data-theme="dark"] .join-personal-form .agree .av-check input[type="checkbox"]:checked {
  border-color: #fcf145;
  background: #fcf145 !important;
  color: #121212;
}
.join-personal-form .agree .av-check input[type="checkbox"]::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
  opacity: 0;
}
.join-personal-form .agree .av-check input[type="checkbox"]:checked::before { opacity: 1; }
.join-personal-form .agree .av-check input[type="checkbox"]:indeterminate::before {
  height: 0;
  border-left: 0;
  transform: none;
  opacity: 1;
}
.join-personal-form .agree .av-check input[type="checkbox"]:focus-visible { outline: 2px solid var(--av-fg); outline-offset: 3px; }
.join-personal-form .agree__row { align-items: center; gap: 2px; }
.join-personal-form .agree__toggle {
  flex: 0 0 20px;
  width: 20px;
  height: 26px;
  align-self: center;
}
.join-personal-form .agree__toggle::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
}
.join-personal-form .agree__toggle[aria-expanded="true"]::before {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.join-personal-form .agree__content { margin-left: 30px; }
.join-personal-form .agree__item.is-open .agree__content-inner { padding-left: 0; }
html[data-theme="light"] .join-personal-form .agree__row :is(.av-check strong, .agree__toggle) { color: #E60012; }
html[data-theme="dark"] .join-personal-form .agree__row :is(.av-check strong, .agree__toggle) { color: #fcf145; }
.join-personal-form .agree .av-check span { font-size: 1rem; line-height: 1.5; }
.join-personal-form .join-agree-all {
  align-self: flex-start;
  cursor: pointer;
}
.join-personal-form .agree .join-agree-all span { color: var(--av-fg); font-weight: 600; }
/* Signup fields keep the same surface and ink for typing, saved passwords and autofill. */
.join-personal-form .av-email-error {
  font-size: .8125rem;
  font-weight: 400;
  line-height: inherit;
}
html[data-theme="light"] .join-personal-form .av-email-error { color: #E60012; }
html[data-theme="dark"] .join-personal-form .av-email-error { color: #fcf145; }
.join-personal-form {
  --join-input-bg: #f8f8f8;
  --join-input-ink: #121212;
}
html[data-theme="dark"] .join-personal-form {
  --join-input-bg: #161616;
  --join-input-ink: #fff;
}
html[data-theme] body[data-front-ui] .join-personal-form .av-input {
  --av-autofill-bg: var(--join-input-bg);
  border: 0 !important;
  outline: none;
  background: var(--join-input-bg) !important;
  color: var(--join-input-ink) !important;
  -webkit-text-fill-color: var(--join-input-ink) !important;
  caret-color: var(--join-input-ink) !important;
  box-shadow: none;
  opacity: 1;
}
html[data-theme] body[data-front-ui] .join-personal-form .av-input::placeholder {
  color: var(--av-fg-dim);
  -webkit-text-fill-color: var(--av-fg-dim);
  opacity: 1;
}
html[data-theme] body[data-front-ui] .join-personal-form .av-input:-webkit-autofill,
html[data-theme] body[data-front-ui] .join-personal-form .av-input:-webkit-autofill:hover,
html[data-theme] body[data-front-ui] .join-personal-form .av-input:-webkit-autofill:focus,
html[data-theme] body[data-front-ui] .join-personal-form .av-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--join-input-bg) inset !important;
  box-shadow: 0 0 0 1000px var(--join-input-bg) inset !important;
  -webkit-text-fill-color: var(--join-input-ink) !important;
  transition: none;
}
html[data-theme] body[data-front-ui] .join-personal-form .av-input:autofill {
  background: var(--join-input-bg) !important;
  color: var(--join-input-ink) !important;
  box-shadow: 0 0 0 1000px var(--join-input-bg) inset !important;
  transition: none;
}
@media (max-width: 600px) {
  html[data-theme] body[data-front-ui] .auth--join .join-age-note { gap: 12px; padding: 18px 16px; }
  .join-age-note img { width: 60px; height: 60px; flex-basis: 60px; }
  .join-age-note strong { font-size: .9375rem; }
  .join-id-row .av-btn { padding-inline: 14px; }
}

/* Restored business entry points use the current signup palette and spacing. */
.auth--join-choice .join-choice { max-width: 820px; }
html[data-theme] body[data-front-ui] .auth--join-choice .join-card {
  border: 0;
  border-radius: var(--av-radius-sm);
  background: #f8f8f8;
  color: #121212;
  transition: background-color .2s;
}
html[data-theme] body[data-front-ui] .auth--join-choice .join-card:hover { background: #efefef; transform: none; }
html[data-theme="dark"] body[data-front-ui] .auth--join-choice .join-card { background: #161616; color: #fff; }
html[data-theme="dark"] body[data-front-ui] .auth--join-choice .join-card:hover { background: #222; }
.join-business-notice { margin-bottom: var(--av-gap-lg); font-size: .875rem; line-height: 1.7; color: var(--av-fg-muted); }
.join-business-notice a { color: var(--av-label); text-decoration: underline; overflow-wrap: anywhere; }
.auth__box--business .join-personal-fields > .join-section-title { margin-top: 16px; margin-bottom: 0; }
.auth--join-pending .av-btn { border-radius: var(--av-radius-sm); }

/* Existing-member mail recovery follows the account-find layout. */
.auth--legacy-login .auth-legacy-return { color: #E60012; transition: opacity .15s ease; }
[data-theme="dark"] .auth--legacy-login .auth-legacy-return { color: #fcf145; }
.auth--legacy-login .auth-legacy-return:hover { opacity: .75; }
