/* ===================
   Auth Pages — 로그인 · 회원가입 · 아이디/비밀번호 찾기 · 승인 대기
   카페24 디자인 샘플(ecudemo308465 · skin23) 실측값 기준 (specs/2026-10-06-auth-pages-redesign/ref/measurements.md).
   색은 CSS 변수로 열어 두었다 — 사이트별로 :root 에서 --fma-* 만 덮어쓰면 된다.
   =================== */
.fluxmember-auth {
	--fma-ink: #222;
	--fma-text: #000;
	--fma-label: #333;
	--fma-sub: #777;
	--fma-mute: #888;
	--fma-hint: #868686;
	--fma-line: #e5e5e5;
	--fma-box-line: #e0e0e0;
	--fma-placeholder: #767676;
	--fma-required: #f04a43;
	--fma-danger: #d93025;
	--fma-ok: #1a7f37;
	--fma-kakao: #fee500;
	--fma-naver: #1ec800;
	--fma-facebook: #177bf2;
	--fma-line-green: #06c755;
	--fma-radius: 4px;
	--fma-font: var(--fm-font, 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif);

	box-sizing: border-box;
	width: 100%;
	max-width: 412px; /* 본문 380 + 좌우 16 */
	margin: 40px auto 80px;
	padding: 0 16px;
	font-family: var(--fma-font);
	color: var(--fma-text);
	line-height: 1.5;
}

.fluxmember-auth *,
.fluxmember-auth *::before,
.fluxmember-auth *::after {
	box-sizing: border-box;
}

.fluxmember-auth .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* 상단 바 — ← 뒤로 / 홈 */
.fluxmember-auth__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 50px;
	margin: 0 -12px;
}

.fluxmember-auth__back,
.fluxmember-auth__home {
	display: inline-flex;
	align-items: center;
	width: 44px;
	height: 44px;
	color: var(--fma-text);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.fluxmember-auth__back { justify-content: flex-start; padding-left: 12px; }
.fluxmember-auth__home { justify-content: flex-end; padding-right: 12px; }

.fluxmember-auth__back:hover,
.fluxmember-auth__home:hover { opacity: 0.6; }

/* 제목 · 부제 */
.fluxmember-auth__head {
	margin: 30px 0 25px;
	text-align: center;
}

.fluxmember-auth__head--plain { margin-top: 24px; }

.fluxmember-auth__title {
	margin: 0 0 10px;
	padding: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: -0.4px;
	color: var(--fma-text);
	text-align: center;
}

.fluxmember-auth__sub {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 21px;
	color: var(--fma-sub);
	word-break: keep-all;
}

/* 「또는」 구분선 */
.fluxmember-auth__or {
	position: relative;
	margin: 28px 0 22px;
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	line-height: 15px;
	color: #a1a1a1;
}

.fluxmember-auth__or::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: #f0f0f0;
}

.fluxmember-auth__or span {
	position: relative;
	padding: 0 10px;
	background: #fff;
}

/* 큰 버튼 (로그인·가입·그 밖의 동작) */
.fluxmember-auth__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: var(--fma-radius);
	background: var(--fma-ink);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 50px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.fluxmember-auth__submit:hover,
.fluxmember-auth__submit:focus-visible {
	background: #000;
	color: #fff;
}

.fluxmember-auth__submit:focus-visible,
.fluxmember-auth__ghost:focus-visible,
.fluxmember-check input:focus-visible,
.fluxmember-form__input:focus-visible,
.fluxmember-pw__toggle:focus-visible,
.fluxmember-agreement__toggle:focus-visible,
.fluxmember-find__mailbtn:focus-visible,
.fluxmember-auth__util a:focus-visible,
.fluxmember-auth__tab:focus-visible {
	outline: 2px solid var(--fma-ink);
	outline-offset: 2px;
}

.fluxmember-auth__submit:disabled {
	opacity: 0.5;
	cursor: default;
}

/* 테두리 버튼 */
.fluxmember-auth__ghost {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	margin-top: 10px;
	border: 1px solid var(--fma-ink);
	border-radius: var(--fma-radius);
	background: #fff;
	color: var(--fma-ink);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.fluxmember-auth__ghost:hover { background: #f7f7f7; color: var(--fma-ink); }

.fluxmember-auth.fluxmember-social-terms .fluxmember-form__agreements { margin-bottom: 24px; }

/* 소셜 보류 화면(약관·연결·이미 가입 안내) — 테마 헤더가 화면 위에 떠 있어도 제목이 가리지 않게 하고,
   로그인 화면 카드(폭 400·버튼 56·모서리 12)와 같은 모양으로 맞춘다. 색·모서리는 테마 토큰(--fx-*)이 있으면 그것을, 없으면 --fma-* 를 쓴다.
   --fm-pending-offset 은 fluxmember-auth.js 가 떠 있는(fixed) 헤더 높이로 맞추고, 스크립트가 없으면 아래 기본값을 쓴다.
   밝은 면: 테마가 어두운 면이어도 카드 글자가 읽히도록 main 자체를 밝게 칠한다(--fx-bg 가 없으면 시스템 Canvas). */
.fluxmember-social-pending {
	--fmp-radius: var(--fx-radius-m, 12px);
	--fmp-ink: var(--fx-k1, var(--fma-ink, #222));
	box-sizing: border-box;
	min-height: 60vh;
	padding: var(--fm-pending-offset, 88px) 0 24px;
	background: var(--fx-bg, Canvas);
}

.fluxmember-social-pending .fluxmember-auth { max-width: 432px; /* 카드 400 + 좌우 16 */ }

.fluxmember-social-pending .fluxmember-auth__submit {
	height: 56px;
	border-radius: var(--fmp-radius);
	background: var(--fmp-ink);
	line-height: 1;
	font-size: 17px;
}

.fluxmember-social-pending .fluxmember-auth__submit:hover,
.fluxmember-social-pending .fluxmember-auth__submit:focus-visible { background: var(--fx-k2, #000); }

.fluxmember-social-pending .fluxmember-auth__ghost,
.fluxmember-social-pending .fluxmember-auth__submit.fluxmember-auth__submit--ghost {
	height: 52px;
	margin-top: 12px;
	border: 1px solid var(--fmp-ink);
	border-radius: var(--fmp-radius);
	background: transparent;
	color: var(--fmp-ink);
	line-height: 1;
}

.fluxmember-social-pending .fluxmember-auth__ghost:hover,
.fluxmember-social-pending .fluxmember-auth__submit.fluxmember-auth__submit--ghost:hover { background: var(--fx-paper-2, #f7f7f7); color: var(--fmp-ink); }

/* 비밀번호 칸: 밑줄형 대신 로그인 화면처럼 1px 테두리 칸 */
.fluxmember-social-pending .fluxmember-form__field { display: block; margin: 0 0 16px; }
.fluxmember-social-pending .fluxmember-form--line .fluxmember-form__input {
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid var(--fma-box-line);
	/* 로그인 화면 입력 칸(--fx-login-field-edge = 글자색 50%)과 같은 옅은 테두리 */
	border-color: color-mix(in srgb, var(--fx-k1, #111) 50%, transparent);
	border-radius: var(--fmp-radius);
	background: var(--fx-card, transparent);
	font-size: 16px;
}

/* 소셜 버튼: 로그인 화면(테마)과 같은 모서리·글자. 네이버는 브랜드 초록 리터럴(테마도 같은 값, 플러그인 기본 #1ec800 과 다름) */
.fluxmember-social-pending .fluxmember-social-btn { border-radius: var(--fmp-radius); font-size: 16px; font-weight: 700; }
.fluxmember-social-pending .fluxmember-social-btn--naver { background: #03c75a; }

/* 보조 버튼 (취소·연결하지 않음): 주 버튼 아래 12px, 흰 배경 + 1px 보더 */
.fluxmember-auth__submit.fluxmember-auth__submit--ghost {
	margin-top: 12px;
	border: 1px solid var(--fma-ink);
	background: #fff;
	color: var(--fma-ink);
}

.fluxmember-auth__submit.fluxmember-auth__submit--ghost:hover,
.fluxmember-auth__submit.fluxmember-auth__submit--ghost:focus-visible {
	background: #f7f7f7;
	color: var(--fma-ink);
}

/* 아이디 찾기 · 비밀번호 찾기 · 회원가입 */
.fluxmember-auth__util {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin: 25px 0 23px;
	padding: 0;
	list-style: none;
}

.fluxmember-auth__util li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fluxmember-auth__util li + li { margin-left: 24px; }

.fluxmember-auth__util li + li::before {
	content: '';
	position: absolute;
	left: -12px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 10px;
	background: #ddd;
}

.fluxmember-auth__util a {
	display: inline-block;
	padding: 2px 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 18px;
	color: var(--fma-mute);
	text-decoration: none;
	transition: color 0.2s ease;
}

.fluxmember-auth__util a.is-strong { color: var(--fma-text); }
.fluxmember-auth__util a:hover { color: var(--fma-text); text-decoration: underline; }

/* 맨 아래 한 줄 */
.fluxmember-auth__foot {
	margin: 28px 0 0;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	color: var(--fma-mute);
}

.fluxmember-auth__foot a {
	margin-left: 6px;
	color: var(--fma-text);
	font-weight: 600;
	text-decoration: none;
}

.fluxmember-auth__foot a:hover { text-decoration: underline; }

/* 탭 (아이디 찾기 | 비밀번호 찾기) */
.fluxmember-auth__tabs {
	display: flex;
	margin: 0 0 24px;
	border-bottom: 1px solid var(--fma-line);
}

.fluxmember-auth__tab {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	margin-bottom: -1px;
	border-bottom: 2px solid transparent;
	font-size: 15px;
	font-weight: 600;
	color: var(--fma-mute);
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.fluxmember-auth__tab:hover { color: var(--fma-text); }

.fluxmember-auth__tab.is-active {
	border-bottom-color: var(--fma-ink);
	color: var(--fma-text);
}

/* ===================
   폼 공통
   =================== */
.fluxmember-auth .fluxmember-form { margin: 0; }

.fluxmember-auth .fluxmember-form__group { margin: 0 0 18px; }

.fluxmember-auth .fluxmember-form__label {
	display: block;
	margin: 0;
	padding: 6px 0 5px;
	font-size: 14px;
	font-weight: 650;
	line-height: 22px;
	color: var(--fma-label);
}

.fluxmember-auth .fluxmember-required {
	margin-left: -2px; /* 라벨 글자 뒤 공백(약 4px)을 감안해 레퍼런스의 별 위치(글자 끝 +2px)에 맞춘다 */
	font-size: 12px;
	font-weight: 700;
	color: var(--fma-required);
	vertical-align: 2px;
}

.fluxmember-auth .fluxmember-form__input {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 2px 15px;
	border: 1px solid var(--fma-box-line);
	border-radius: var(--fma-radius);
	background-color: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 40px;
	color: var(--fma-text);
	transition: border-color 0.2s ease;
}

.fluxmember-auth .fluxmember-form__input::placeholder { color: var(--fma-placeholder); opacity: 1; }
.fluxmember-auth .fluxmember-form__input:hover { border-color: #bdbdbd; }
.fluxmember-auth .fluxmember-form__input:focus { border-color: var(--fma-ink); outline: none; }

.fluxmember-auth .fluxmember-form__input--short { width: auto; flex: 1; }

.fluxmember-auth .fluxmember-form__textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--fma-box-line);
	border-radius: var(--fma-radius);
	font-family: inherit;
	font-size: 13px;
	color: var(--fma-text);
}

.fluxmember-auth select.fluxmember-form__input {
	padding-right: 36px;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23222' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	cursor: pointer;
}

.fluxmember-auth .fluxmember-form__hint {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 22px;
	color: var(--fma-hint);
}

.fluxmember-auth .fluxmember-form__input-group {
	display: flex;
	gap: 8px;
}

.fluxmember-auth .fluxmember-form__input-group .fluxmember-btn {
	flex-shrink: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--fma-ink);
	border-radius: var(--fma-radius);
	background: #fff;
	color: var(--fma-ink);
	font-size: 13px;
	font-weight: 600;
}

.fluxmember-auth .fluxmember-form__input-group .fluxmember-btn:hover { background: #f7f7f7; }

.fluxmember-auth .fluxmember-form__radio-group,
.fluxmember-auth .fluxmember-form__checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* 폼 메시지 */
.fluxmember-auth .fluxmember-form__message {
	margin: 14px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	word-break: keep-all;
}

.fluxmember-auth .fluxmember-form__message.is-error { color: var(--fma-danger); }
.fluxmember-auth .fluxmember-form__message.is-success { color: var(--fma-ok); }

/* 가입 자체 검증(S8): 비어 있는 칸 표시 + 칸 아래 한 줄 안내 */
.fluxmember-auth .fluxmember-form__input[aria-invalid="true"] { border-color: var(--fma-danger); }
.fluxmember-auth .fluxmember-form__error { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--fma-danger); word-break: keep-all; }
.fluxmember-auth .fluxmember-form__error[hidden] { display: none; }

/* 안내 박스 */
.fluxmember-auth .fluxmember-notice {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--fma-line);
	border-left-width: 1px;
	border-radius: var(--fma-radius);
	background: #fafafa;
	font-size: 13px;
	line-height: 1.5;
	color: var(--fma-label);
	word-break: keep-all;
}

.fluxmember-auth .fluxmember-notice p { margin: 0; }
.fluxmember-auth .fluxmember-notice--success { border-color: #c7e3cd; background: #f3faf5; color: var(--fma-ok); }
.fluxmember-auth .fluxmember-notice--warning { border-color: #f1c9c5; background: #fdf5f4; color: var(--fma-danger); }

/* 로그인: 밑줄만 있는 입력 */
.fluxmember-form--line .fluxmember-form__field {
	display: block;
	margin: 0 0 10px;
}

.fluxmember-form--line .fluxmember-form__input {
	height: 50px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--fma-line);
	border-radius: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 48px;
}

.fluxmember-form--line .fluxmember-form__input:hover { border-bottom-color: #bdbdbd; }
.fluxmember-form--line .fluxmember-form__input:focus { border-bottom-color: var(--fma-ink); }

.fluxmember-auth__keep {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 20px;
	margin: 20px 0 28px;
	font-size: 13px;
	font-weight: 500;
}

.fluxmember-auth__secure {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--fma-text);
}

/* 체크박스 — 정사각 15px · 1px 검정 선 · 직각 (레퍼런스 실측) */
.fluxmember-check {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	min-height: 32px;
	font-size: 14px;
	font-weight: 500;
	line-height: 32px;
	color: var(--fma-label);
	cursor: pointer;
}

.fluxmember-check input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	margin: 0;
	padding: 0;
	border: 1px solid #000;
	border-radius: 0;
	background-color: #fff;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 11px 11px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.fluxmember-check input[type="checkbox"]:checked {
	background-color: var(--fma-ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.2 6.3l2.4 2.4 5.2-5.4' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fluxmember-check--all span { font-weight: 650; color: var(--fma-text); }

/* 비밀번호 보기 토글 */
.fluxmember-pw { position: relative; }

.fluxmember-pw .fluxmember-form__input { padding-right: 44px; }

.fluxmember-pw__toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #666;
	cursor: pointer;
	transition: color 0.2s ease;
}

.fluxmember-pw__toggle:hover { color: var(--fma-text); }
.fluxmember-pw__toggle[aria-pressed="true"] .fluxmember-pw__slash { display: none; }

/* 휴대폰: 앞자리 선택 + 두 칸 */
.fluxmember-phone {
	display: flex;
	align-items: center;
	gap: 6px;
}

.fluxmember-phone__a { flex: 0 0 128px; width: 128px; }
.fluxmember-phone__b,
.fluxmember-phone__c { flex: 1 1 0; min-width: 0; width: auto; }
.fluxmember-phone__dash { color: var(--fma-mute); font-size: 13px; }

/* 약관 */
.fluxmember-auth .fluxmember-form__agreements {
	margin: 8px 0 0;
	padding: 0;
	background: none;
	border-radius: 0;
}

.fluxmember-agree__desc {
	margin: 4px 0 0;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--fma-line);
	font-size: 12px;
	line-height: 1.5;
	color: var(--fma-hint);
	word-break: keep-all;
}

.fluxmember-agree__list { padding-top: 8px; }

.fluxmember-agreement { margin: 0; }

.fluxmember-agreement__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 33px;
}

.fluxmember-form--box .fluxmember-auth__submit { margin-top: 40px; }

.fluxmember-agreement__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 33px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--fma-label);
	cursor: pointer;
}

.fluxmember-agreement__toggle:hover { background: none; color: var(--fma-text); }

.fluxmember-agreement__arrow { transition: transform 0.2s ease; }
.fluxmember-agreement__toggle[aria-expanded="true"] .fluxmember-agreement__arrow { transform: rotate(180deg); }

.fluxmember-agreement__content {
	margin: 4px 0 8px;
	overflow: hidden;
}

.fluxmember-agreement__content[hidden] { display: none; }

.fluxmember-agreement__body {
	max-height: 160px;
	overflow-y: auto;
	padding: 12px 14px;
	background: #fafafa;
	border: 1px solid var(--fma-line);
	border-radius: var(--fma-radius);
	font-size: 12px;
	line-height: 1.7;
	color: var(--fma-sub);
}

.fluxmember-agreement__body h1,
.fluxmember-agreement__body h2,
.fluxmember-agreement__body h3,
.fluxmember-agreement__body h4 {
	margin: 12px 0 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fma-text);
}

.fluxmember-agreement__body h1:first-child,
.fluxmember-agreement__body h2:first-child,
.fluxmember-agreement__body h3:first-child { margin-top: 0; }

.fluxmember-agreement__body p { margin: 0 0 8px; }

.fluxmember-agreement__body ul,
.fluxmember-agreement__body ol {
	margin: 0 0 8px;
	padding-left: 18px;
}

.fluxmember-agreement__body::-webkit-scrollbar { width: 4px; }
.fluxmember-agreement__body::-webkit-scrollbar-track { background: transparent; }
.fluxmember-agreement__body::-webkit-scrollbar-thumb { background: var(--fma-line); border-radius: 2px; }

/* ===================
   아이디 찾기 결과
   =================== */
.fluxmember-find__result {
	text-align: center;
}

.fluxmember-find__result[hidden] { display: none; }

.fluxmember-find__label {
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--fma-sub);
}

.fluxmember-find__id {
	margin: 6px 0 0;
	padding: 20px 0;
	border-bottom: 1px solid var(--fma-line);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.04em;
	color: var(--fma-text);
	word-break: break-all;
	font-variant-numeric: tabular-nums;
}

.fluxmember-find__note {
	margin: 12px 0 28px;
	font-size: 12px;
	color: var(--fma-hint);
}

.fluxmember-find__mail {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--fma-line);
}

.fluxmember-find__mail p {
	margin: 0;
	font-size: 13px;
	color: var(--fma-sub);
}

.fluxmember-find__mailbtn {
	min-height: 44px;
	margin: 4px 0 0;
	padding: 0 8px;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--fma-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.fluxmember-find__mailbtn:disabled { opacity: 0.5; cursor: default; }

/* ===================
   소셜 버튼 (폭 가득 · 높이 52 · 직각 4px)
   =================== */
.fluxmember-auth .fluxmember-social-login {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.fluxmember-social-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	padding: 0 48px;
	border: 1px solid transparent;
	border-radius: var(--fma-radius, 4px);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: filter 0.2s ease, background-color 0.2s ease;
}

.fluxmember-social-btn__icon {
	position: absolute;
	top: 50%;
	left: 18px;
	display: flex;
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
}

.fluxmember-social-btn__icon svg {
	display: block;
	max-width: 20px;
	max-height: 20px;
}

.fluxmember-social-btn:hover { filter: brightness(0.95); }

.fluxmember-social-btn:focus-visible {
	outline: 2px solid #222;
	outline-offset: 2px;
}

.fluxmember-social-btn--kakao { background: #fee500; color: #222; }
.fluxmember-social-btn--naver { background: #1ec800; color: #fff; }
.fluxmember-social-btn--facebook { background: #177bf2; color: #fff; }
.fluxmember-social-btn--google { background: #fff; border-color: #bcbcbc; color: #000; }
.fluxmember-social-btn--apple { background: #fff; border-color: #000; color: #000; }
.fluxmember-social-btn--line { background: #06c755; color: #fff; }

.fluxmember-social-btn--kakao:hover { color: #222; }
.fluxmember-social-btn--naver:hover,
.fluxmember-social-btn--facebook:hover,
.fluxmember-social-btn--line:hover { color: #fff; }
.fluxmember-social-btn--google:hover,
.fluxmember-social-btn--apple:hover { color: #000; background: #f7f7f7; filter: none; }

/* 회원가입 화면: 소셜 아래 입력과 간격 */
.fluxmember-register .fluxmember-social-login { margin-bottom: 30px; }

/* ===================
   승인 대기 · 거절 안내
   =================== */
.fluxmember-pending { text-align: center; }

.fluxmember-pending .fluxmember-auth__head { margin-bottom: 28px; }
.fluxmember-pending .fluxmember-auth__foot { margin-top: 20px; }

.fluxmember-wait {
	--fmw-line: #e5e5e5;
	--fmw-dash: #cfcfcf;
	--fmw-accent: var(--fma-ink, #222);

	position: relative;
	width: min(260px, 100%);
	margin: 28px auto 8px;
	padding-bottom: 20px;
}

.fluxmember-wait__card {
	position: relative;
	display: grid;
	gap: 18px;
	padding: 20px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--fmw-line), 0 20px 40px -20px rgba(17, 17, 17, 0.28);
	text-align: left;
	animation: fmw-float 3.2s ease-in-out infinite;
}

.fluxmember-wait__ground {
	position: absolute;
	left: 14%;
	right: 14%;
	bottom: 0;
	height: 14px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(17, 17, 17, 0.14), transparent);
	animation: fmw-ground 3.2s ease-in-out infinite;
}

.fluxmember-wait__who {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fluxmember-wait__names { display: grid; gap: 7px; flex: 1; }
.fluxmember-wait__rows { display: grid; gap: 10px; padding-right: 36px; }

/* 뼈대 조각 — 점선 윤곽으로 시작해 채워지는 일을 반복한다(진행률이 아니라 꾸밈). */
.fluxmember-wait__avatar,
.fluxmember-wait__line {
	display: block;
	background: transparent;
	outline: 1px dashed var(--fmw-dash);
	outline-offset: -1px;
}

.fluxmember-wait__avatar { --c: #222; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; animation: fmw-fill-a 7s ease infinite; }
.fluxmember-wait__line { height: 8px; border-radius: 99px; }
.fluxmember-wait__line--name { --c: #222; width: 62%; animation: fmw-fill-a 7s ease infinite; }
.fluxmember-wait__line--sub { --c: #d6d6d6; width: 40%; animation: fmw-fill-a 7s ease infinite; }
.fluxmember-wait__line--r1 { --c: #e5e5e5; width: 92%; animation: fmw-fill-b 7s ease infinite; }
.fluxmember-wait__line--r2 { --c: #e5e5e5; width: 78%; animation: fmw-fill-c 7s ease infinite; }
.fluxmember-wait__line--r3 { --c: #e5e5e5; width: 54%; animation: fmw-fill-c 7s ease infinite; animation-delay: 0.2s; }

/* 승인 도장 — 아직 찍히지 않은 점선 원 */
.fluxmember-wait__stamp {
	position: absolute;
	right: -14px;
	bottom: -16px;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #fff;
	color: var(--fmw-accent);
	box-shadow: 0 6px 14px -6px rgba(17, 17, 17, 0.25);
}

.fluxmember-wait__stamp::before {
	content: '';
	position: absolute;
	inset: 3px;
	border: 2px dashed currentColor;
	border-radius: 50%;
	animation: fmw-spin 14s linear infinite;
}

.fluxmember-wait__stamp svg { position: relative; animation: fmw-breathe 1.8s ease-in-out infinite; }
.fluxmember-wait__cross { display: none; }

/* 거절 — 움직임을 멈추고 ×로 */
.fluxmember-pending[data-fm-state="rejected"] .fluxmember-wait { --fmw-accent: #d93025; }
.fluxmember-pending[data-fm-state="rejected"] .fluxmember-wait__card,
.fluxmember-pending[data-fm-state="rejected"] .fluxmember-wait__ground { animation: none; }
.fluxmember-pending[data-fm-state="rejected"] .fluxmember-wait__card { opacity: 0.85; }
.fluxmember-pending[data-fm-state="rejected"] .fluxmember-wait__avatar,
.fluxmember-pending[data-fm-state="rejected"] .fluxmember-wait__line { animation: none; background-color: var(--c); outline-color: transparent; }
.fluxmember-pending[data-fm-state="rejected"] .fluxmember-wait__stamp::before { animation: none; border-style: solid; }
.fluxmember-pending[data-fm-state="rejected"] .fluxmember-wait__stamp svg { animation: none; }
.fluxmember-pending[data-fm-state="rejected"] .fluxmember-wait__tick { display: none; }
.fluxmember-pending[data-fm-state="rejected"] .fluxmember-wait__cross { display: inline; }

@keyframes fmw-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fmw-ground { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(0.88); opacity: 0.7; } }
@keyframes fmw-spin { to { transform: rotate(360deg); } }
@keyframes fmw-breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes fmw-fill-a { 0%, 4% { background-color: transparent; outline-color: var(--fmw-dash); } 12%, 92% { background-color: var(--c); outline-color: transparent; } 100% { background-color: transparent; outline-color: var(--fmw-dash); } }
@keyframes fmw-fill-b { 0%, 22% { background-color: transparent; outline-color: var(--fmw-dash); } 30%, 92% { background-color: var(--c); outline-color: transparent; } 100% { background-color: transparent; outline-color: var(--fmw-dash); } }
@keyframes fmw-fill-c { 0%, 40% { background-color: transparent; outline-color: var(--fmw-dash); } 48%, 92% { background-color: var(--c); outline-color: transparent; } 100% { background-color: transparent; outline-color: var(--fmw-dash); } }

/* 모션 축소: 멈추고 다 채운 모습으로 둔다 */
@media (prefers-reduced-motion: reduce) {
	.fluxmember-wait *,
	.fluxmember-wait *::before { animation: none !important; transition: none !important; }
	.fluxmember-wait__avatar,
	.fluxmember-wait__line { background-color: var(--c); outline-color: transparent; }
}

/* ===================
   그 밖에 (마이페이지 등에서 같이 쓰는 것)
   =================== */
.fluxmember-already-logged-in,
.fluxmember-registration-closed,
.fluxmember-login-required {
	text-align: center;
	padding: 60px 20px;
	color: var(--fm-text-secondary);
}

.fluxmember-messages__item,
.fluxmember-notifications__item {
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	padding: 16px;
	margin-bottom: 12px;
	background: var(--fm-bg-white);
}

.fluxmember-messages__item.is-unread,
.fluxmember-notifications__item.is-unread {
	border-left: 3px solid var(--fm-primary);
	background: rgba(37, 99, 235, 0.02);
}

.fluxmember-messages__meta,
.fluxmember-notifications__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	font-size: 13px;
	color: var(--fm-text-secondary);
}

.fluxmember-messages__from {
	font-weight: 600;
	color: var(--fm-text);
}

.fluxmember-messages__title {
	font-weight: 600;
	margin-bottom: 8px;
}

.fluxmember-messages__content,
.fluxmember-notifications__content {
	font-size: 14px;
	color: var(--fm-text);
	line-height: 1.6;
}

/* ===================
   Responsive
   =================== */
@media (max-width: 480px) {
	.fluxmember-auth { margin-top: 16px; margin-bottom: 56px; }

	/* 16px 미만이면 iOS 가 입력 때 화면을 확대한다 */
	.fluxmember-auth .fluxmember-form__input,
	.fluxmember-form--line .fluxmember-form__input { font-size: 16px; }

	.fluxmember-phone__a { flex-basis: 96px; width: 96px; }

	.fluxmember-agreement__body { max-height: 120px; }

	/* 글자 링크 터치 영역 44px (모양은 그대로, 세로 여백으로 키우고 바깥 간격을 줄여 줄 높이를 지킨다) */
	.fluxmember-auth__util { margin: 12px 0 10px; }
	.fluxmember-auth__util a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }

	.fluxmember-auth__foot { margin-top: 14px; }
	.fluxmember-auth__foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
	.fluxmember-pending .fluxmember-auth__foot { margin-top: 8px; }

	.fluxmember-auth__util li + li { margin-left: 20px; }
	.fluxmember-auth__util li + li::before { left: -10px; }

	.fluxmember-social-btn { padding: 0 40px; }
}

/* 가입 휴대폰 문자 인증(2.12.0) — 기존 입력 그룹·힌트 스타일을 그대로 쓰고 상태 색만 맞춘다. */
.fluxmember-auth .fluxmember-phone-verify { margin-top: 8px; }
.fluxmember-auth .fluxmember-phone-verify .fluxmember-form__input-group[hidden] { display: none; }
.fluxmember-auth .fluxmember-phone-verify__code { margin-top: 8px; }
.fluxmember-auth .fluxmember-phone-verify .fluxmember-form__input-group .fluxmember-form__input { flex: 1 1 0; min-width: 0; }
.fluxmember-auth .fluxmember-form__hint.is-error { color: var(--fma-danger); }
.fluxmember-auth .fluxmember-form__hint.is-success { color: var(--fma-ok); }

/* 별명 「자동 생성」 버튼 — 입력칸 아래 작은 글자 버튼(터치 영역 44px) */
.fluxmember-nick-auto {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--fma-label);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}
