/**
 * 登入頁的樣式。
 *
 * ── 設計來源 ──
 *
 * 不是 Digits 那一頁，是**站台本身**。
 *
 * Digits 的登入畫面用 Roboto 配一整片 #f6f5f2 中性灰，那是它自己的語言；
 * 而 #f6f5f2 在這個站台其實只是頁首那一條的顏色，被它拿去當滿版背景。
 * 照抄它反而離聯盈發更遠。量過站台之後採用的是：
 *
 *   字體   Jost ＋ Noto Sans TC（站台自己用的那一套，見下方 @font-face）
 *   品牌紅 #e23f3f（站台與 Digits 剛好同一個紅，這一項不必改）
 *   底色   #f6f5f2 — 與結帳頁同一個值
 *   卡片   #fff、圓角 10px、**無陰影** — 同結帳頁的白卡
 *   文字   #242424
 *
 * ── 為什麼底色跟著結帳頁走 ──
 *
 * 登入完就會跳到結帳頁或首頁。兩頁的底色不一樣的話，那一跳看起來像
 * 換了一個網站。#f6f5f2 是站台自己的系統色：頁首那一條、結帳頁的
 * 內容區用的都是它（lyfh-checkout-tw/assets/checkout.css:25）。
 *
 * ── 版面：精簡頁首 ──
 *
 * 頁首留一條白底、logo 置中，選單／搜尋／購物車全部收掉。
 * 招牌還在，所以客人知道自己還在同一家店；但畫面上沒有任何別的東西
 * 可以按——正在輸入手機號碼的人不需要它們。
 *
 * 卡片的幾何沿用實測值（輸入列 54、按鈕 52、圓角 8），那部分本來就好用。
 */

/* ── 字體 ────────────────────────────────────────────
 *
 * 自己帶一份，不吃佈景的隊列、也不打 Google。
 *
 * 站台把 Jost 放在 uploads/2021/08/ 底下，直接指過去也會動，但那是別人的
 * 檔案：有人清理媒體庫、或換佈景時順手搬走，登入頁的字就換人了。
 * 三個字重共 85KB，抄一份進來換一個「不會被別人動到」。
 */
@font-face {
	font-family: "Jost";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url( fonts/Jost-400-Book.woff2 ) format( "woff2" );
}

@font-face {
	font-family: "Jost";
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	src: url( fonts/Jost-500-Medium.woff2 ) format( "woff2" );
}

@font-face {
	font-family: "Jost";
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url( fonts/jost-600-semi.woff2 ) format( "woff2" );
}

:root {
	--lyfh-bg: #f6f5f2;
	--lyfh-card: #fff;
	--lyfh-ink: #242424;
	--lyfh-soft: #7d7166;
	--lyfh-muted: #a99e94;
	--lyfh-faint: #b09a8d;
	--lyfh-line: rgba( 36, 36, 36, .14 );
	--lyfh-accent: #e23f3f;
	--lyfh-error: #b70000;
	--lyfh-error-line: #e00000;
	--lyfh-ok: #2f6b3a;
	--lyfh-warn: #8a6d1f;

	/*
	 * Jost 沒有中文字，中文會落到系統的 CJK 字型——站台本身就是這樣排的，
	 * 所以照抄同一組堆疊，兩邊的字面才會一致。
	 */
	--lyfh-font: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI",
		"Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

/* ── 版面 ────────────────────────────────────────────── */

/*
 * `[hidden]` 要真的藏起來。
 *
 * 獨立頁上不必寫這一條——那一頁只有我們的樣式。但疊在購物車上時，
 * 佈景與 WooCommerce 有一堆 `display: block` 的規則，權重比瀏覽器
 * 內建的 `[hidden] { display: none }` 高：整份表單的每一步會同時
 * 攤在畫面上，登入、註冊、驗證碼、找回帳號全部疊在一起。
 *
 * 這是少數 !important 站得住腳的地方：`hidden` 的意思沒有商量餘地。
 */
.lyfh-auth [hidden],
.lyfh-auth-sheet [hidden],
.lyfh-change [hidden] {
	display: none !important;
}

/*
 * ── 兩種容器 ──
 *
 * 登入頁現在是站台的一頁：頁首、頁尾、內容區都由佈景負責，我們只管
 * 中間那張卡。底色跟結帳頁用同一條規則、同一個值——客人登入完跳到
 * 結帳頁時不會覺得換了網站。
 *
 * 信箱連結的確認頁仍然是獨立版面（見 lyfh_auth_render_hardened），
 * 那時候 body 才需要自己撐起整個畫面。
 */
body.lyfh-auth-page .main-page-wrapper,
body.lyfh-auth-page .site-content {
	background-color: var(--lyfh-bg);
}

/*
 * 內容區的背景：從主視覺那個蜜桃色淡淡地收到結帳頁的底色。
 *
 * 卡片周圍的留白如果是一片平的灰，看起來像「這裡本來該有東西」；
 * 有一點漸層就讀成刻意留的。收尾停在 --lyfh-bg（#f6f5f2），
 * 所以往下接到頁尾、往後跳到結帳頁都不會有斷層。
 */
body.lyfh-auth-page .site-content {
	background-image: radial-gradient(
		120% 70% at 50% 0%,
		#fdece3 0%,
		#f8f6f2 55%,
		var(--lyfh-bg) 100%
	);
}

/* 站內頁不需要我們自己的頁首——佈景已經有一個了。 */
body.lyfh-auth-page:not(.lyfh-auth-standalone) .lyfh-auth__brand {
	display: none;
}

/*
 * ── 內容區撐滿一屏 ──
 *
 * 不撐的話，卡片只有 417px，而佈景的頁尾在桌機是 415px、手機是 1020px：
 * 頁尾會佔掉整頁的 38%（手機 61%），畫面看起來像頁尾才是主角。
 *
 * 給內容區一個「視窗高度減頁首」的下限，卡片就在完整的一屏裡置中，
 * 頁尾退到第一屏之外——那本來就是頁尾該待的位置。
 */
body.lyfh-auth-page .site-content {
	min-height: calc( 100vh - var( --wd-header-h, 88px ) );
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.lyfh-auth {
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
	padding: 8px 0 24px;
	box-sizing: border-box;

	color: var(--lyfh-ink);
	font-family: var(--lyfh-font);
	font-size: 16px;
	line-height: 1.7;
	text-align: left;
}

/* ── 獨立版面（信箱連結的確認頁）────────────────────────
 *
 * 那些頁面帶著一次性權杖，刻意不載入站台的任何資源（CSP default-src
 * 'none'），所以版面要自己撐起來。
 */
body.lyfh-auth-standalone {
	margin: 0;
	min-height: 100vh;
	background: var(--lyfh-bg);
	color: var(--lyfh-ink);
	font-family: var(--lyfh-font);
	font-size: 16px;
	line-height: 1.7;
	-webkit-text-size-adjust: 100%;

	display: flex;
	flex-direction: column;
}

.lyfh-auth-standalone .lyfh-auth__brand {
	background: #fff;
	border-bottom: 1px solid rgba( 0, 0, 0, .06 );
	padding: 13px 20px;
	text-align: center;
}

.lyfh-auth-standalone .lyfh-auth__brand img {
	display: block;
	width: auto;
	height: 46px;
	margin: 0 auto;
}

/* 沒有 logo 圖時的退路。 */
.lyfh-auth-standalone .lyfh-auth__brand a {
	color: var(--lyfh-ink);
	font-size: 1.05rem;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: 0.02em;
}

.lyfh-auth-standalone .lyfh-auth {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: none;
	padding: 32px 22px;
}

.lyfh-auth-standalone .lyfh-auth__card {
	max-width: 410px;
}

/*
 * 卡片：圓角 10px、無陰影——跟結帳頁的四張白卡同一套。
 *
 * 疊在購物車上時是另一回事，那時候它真的浮在別的內容之上，
 * 需要陰影才分得出層次（見下面 .lyfh-auth-sheet 那一段）。
 */
.lyfh-auth__card {
	width: 100%;
	max-width: 460px;
	background: var(--lyfh-card);
	border-radius: 10px;
	padding: 40px 38px 32px;
	box-sizing: border-box;
}

/* ── 文字 ────────────────────────────────────────────── */

.lyfh-auth__title {
	margin: 0 0 12px;
	font-size: 33px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--lyfh-ink);
}

.lyfh-auth__lead {
	margin: 0 0 28px;
	color: var(--lyfh-soft);
	font-size: 15.5px;
	line-height: 1.7;
}

.lyfh-auth__lead strong {
	color: var(--lyfh-ink);
	font-weight: 600;
}

/*
 * 站台與 Digits 的欄位都只有 placeholder，沒有標籤。
 *
 * placeholder 一輸入就消失，螢幕閱讀器與回頭檢查的客人都會失去線索。
 * 折衷：標籤留著，但畫得很輕，不改變版面的節奏。
 */
.lyfh-auth__label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--lyfh-soft);
}

/* ── 輸入 ────────────────────────────────────────────── */

.lyfh-auth__input {
	display: block;
	width: 100%;
	height: 54px;
	box-sizing: border-box;
	margin: 0 0 8px;
	padding: 0 16px;
	border: 1px solid var(--lyfh-line);
	border-radius: 8px;
	background: var(--lyfh-card);
	color: var(--lyfh-ink);

	/* 17px；同時也在 iOS 不自動縮放的 16px 下限之上。 */
	font-family: inherit;
	font-size: 17px;
	font-weight: 400;
	line-height: 52px;

	transition: border-color .15s ease, box-shadow .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.lyfh-auth__input::placeholder {
	color: #b3a89e;
	opacity: 1;
}

.lyfh-auth__input:focus {
	outline: none;
	border-color: var(--lyfh-accent);
	box-shadow: 0 0 0 3px rgba( 226, 63, 63, .13 );
}

.lyfh-auth__input[aria-invalid="true"] {
	border-color: var(--lyfh-error-line);
}

/* 手機號碼：等寬數字，10 碼看起來才不會參差。 */
.lyfh-auth__input[type="tel"] {
	font-variant-numeric: tabular-nums;
	letter-spacing: .04em;
}

/* 驗證碼：單一個置中欄位，不是分格的。 */
.lyfh-auth__input--code {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 0.4em;
	text-indent: 0.4em;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.lyfh-auth__hint,
.lyfh-auth__field-note {
	margin: 0 0 20px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--lyfh-muted);
}

.lyfh-auth__field-note {
	color: var(--lyfh-warn);
}

/* ── 按鈕 ────────────────────────────────────────────── */

.lyfh-auth__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;

	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: var(--lyfh-accent);
	color: #fff;

	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity .15s ease;
}

.lyfh-auth__button::after {
	content: "\2192";
	font-weight: 400;
	opacity: .75;
}

.lyfh-auth__button:hover:not(:disabled) {
	opacity: .9;
}

.lyfh-auth__button:disabled {
	opacity: .55;
	cursor: default;
}

/* 送出中：箭頭換成轉圈，客人才知道按下去有反應。 */
.lyfh-auth__button[aria-busy="true"]::after {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid rgba( 255, 255, 255, .45 );
	border-top-color: #fff;
	border-radius: 50%;
	opacity: 1;
	animation: lyfh-spin .7s linear infinite;
}

@keyframes lyfh-spin {
	to { transform: rotate( 360deg ); }
}

@media ( prefers-reduced-motion: reduce ) {
	.lyfh-auth__button[aria-busy="true"]::after { animation: none; }

	.lyfh-auth__input,
	.lyfh-auth__button { transition: none; }
}

/* 次要動作（重新傳送、改用其他號碼）。 */
.lyfh-auth__link {
	display: block;
	width: 100%;
	margin: 14px 0 0;
	padding: 4px;
	border: 0;
	background: none;
	color: var(--lyfh-ink);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
}

.lyfh-auth__link:hover:not(:disabled) {
	color: var(--lyfh-accent);
}

.lyfh-auth__link:disabled {
	color: var(--lyfh-muted);
	font-weight: 400;
	cursor: default;
}

/* ── 提示 ────────────────────────────────────────────── */

/*
 * 錯誤是一行置中的深紅字，不是有底色的方塊——沿用原本那一頁的處理。
 * 成功與提醒仍給淡底色：它們不是「出錯」，用同一個樣子會混淆。
 */
.lyfh-auth__alert {
	margin: 16px 0 0;
	font-size: 14.5px;
	line-height: 1.7;
	text-align: center;
}

.lyfh-auth__alert--error {
	color: var(--lyfh-error);
}

.lyfh-auth__alert--ok {
	padding: 12px 14px;
	border-radius: 10px;
	background: #edf5ec;
	color: var(--lyfh-ok);
}

.lyfh-auth__alert--warn {
	padding: 12px 14px;
	border-radius: 10px;
	background: #fbf5e3;
	color: var(--lyfh-warn);
}

/* ── 卡片內的補充連結 ────────────────────────────────── */

.lyfh-auth__legacy {
	margin: 18px 0 0;
	text-align: center;
	font-size: 14px;
	color: var(--lyfh-muted);
}

.lyfh-auth__legacy a,
.lyfh-auth__legacy button {
	margin-left: 4px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--lyfh-ink);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.lyfh-auth__legacy a:hover,
.lyfh-auth__legacy button:hover {
	color: var(--lyfh-accent);
}

/* 卡片外面那一行：字更小、更淡，不跟卡片裡的內容搶。 */
.lyfh-auth__legacy--outside {
	max-width: 410px;
	margin: 16px 0 0;
	font-size: 13px;
	color: var(--lyfh-faint);
}

.lyfh-auth__legacy--outside a {
	font-size: 13.5px;
	color: var(--lyfh-soft);
}

/*
 * 按鈕有時候是 <a>（例如「前往我的帳號」）。
 * <a> 沒有按鈕的預設排版，底線與文字顏色要自己來。
 */
a.lyfh-auth__button,
.lyfh-auth a.lyfh-auth__button {
	text-decoration: none;
	color: #fff;
}

.lyfh-auth__support {
	margin-top: 20px;
	padding: 0 20px 24px;
	text-align: center;
	font-size: 12.5px;
	color: var(--lyfh-faint);
}

.lyfh-auth__support a {
	color: var(--lyfh-faint);
	font-weight: 600;
	text-decoration: none;
}

/* ── Turnstile 的容器 ──
 *
 * 它在所有 step 之外、alert 之上（page.php），所以永遠落在每一步最後一顆
 * 按鈕的底下。站主實測：緊接著「改用其他號碼」那種沒有邊框的文字連結時，
 * 方塊像黏在文字上。用上方的留白加一條淡分隔線把它從按鈕群切開——
 * 它是「這一步的門檻」，不是「這一步的一部分」。
 */
.lyfh-auth__turnstile-slot {
	margin: 24px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--lyfh-line);
}

.lyfh-auth__turnstile-slot:empty {
	display: none;
}

/* 隱藏由 show() 依 data-needs-turnstile 決定。 */
.lyfh-auth__turnstile-slot[hidden] {
	display: none;
}

.lyfh-auth-turnstile {
	margin: 0;
}

/* ── 疊在購物車上（T1）────────────────────────────────
 *
 * 同一份卡片，換一個容器：手機從底部升起，桌機置中。
 * 文案與獨立頁一字不差——客人從哪個入口進來，看到的都是同一件事。
 */

.lyfh-auth-sheet {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba( 45, 42, 38, .52 );
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow-y: auto;
}

.lyfh-auth-sheet .lyfh-auth {
	padding: 0;
	align-items: flex-end;
}

.lyfh-auth-sheet .lyfh-auth__card {
	position: relative;
	max-width: 460px;
	border-radius: 22px 22px 0 0;
	padding: 12px 22px 26px;
	box-shadow: 0 -14px 44px rgba( 0, 0, 0, .28 );
}

/* 往下滑就能關的握把。純視覺，真正的出口是 ✕ 與 Esc。 */
.lyfh-auth-sheet .lyfh-auth__grip {
	display: block;
	width: 42px;
	height: 4px;
	margin: 0 auto 18px;
	border-radius: 99px;
	background: rgba( 36, 36, 36, .16 );
}

.lyfh-auth__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba( 36, 36, 36, .06 );
	color: var(--lyfh-soft);
	font-family: inherit;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}

.lyfh-auth__close:hover {
	background: rgba( 36, 36, 36, .11 );
}

/* 「購物車裡的東西都幫您留著」——這個情境下客人真正在擔心的事。 */
.lyfh-auth__keep {
	margin: 16px 0 0;
	text-align: center;
	font-size: 13px;
	color: var(--lyfh-muted);
}

@media ( min-width: 620px ) {
	.lyfh-auth-sheet {
		align-items: center;
		padding: 22px;
	}

	.lyfh-auth-sheet .lyfh-auth {
		align-items: center;
	}

	.lyfh-auth-sheet .lyfh-auth__card {
		max-width: 410px;
		border-radius: 16px;
		padding: 30px 26px 22px;
		box-shadow: 0 24px 64px rgba( 0, 0, 0, .32 );
	}

	.lyfh-auth-sheet .lyfh-auth__grip {
		display: none;
	}
}

/* 購物車頂端的提醒：關掉面板之後，要求變成一句話而不是一道牆。 */
.lyfh-auth-notice {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 18px 0;
	padding: 14px 16px;
	border-radius: 12px;
	border-left: 4px solid var(--lyfh-accent);
	background: var(--lyfh-bg);
	font-family: var(--lyfh-font);
}

.lyfh-auth-notice__text {
	flex: 1;
	font-size: 13.5px;
	line-height: 1.7;
	color: #8a6a58;
}

.lyfh-auth-notice__text b {
	display: block;
	color: var(--lyfh-ink);
	font-weight: 600;
	font-size: 14.5px;
}

/*
 * 它是 <a> 而不是 <button>——按下去是「去購物車帶著參數重載一次」，
 * 那是導覽，不是動作。所以對齊要自己來，按鈕的排版不會自動套用。
 */
.lyfh-auth-notice__button {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 8px;
	background: var(--lyfh-accent);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.lyfh-auth-notice__button:hover {
	color: #fff;
	opacity: .9;
}

@media ( max-width: 560px ) {
	.lyfh-auth-notice {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.lyfh-auth-notice__button {
		width: 100%;
	}
}

/* ── 跟佈景搶回按鈕 ──────────────────────────────────
 *
 * 疊在購物車上時，Woodmart 有這麼一條：
 *
 *   :is( .btn, .button, button, [type=submit], [type=button] ) {
 *       position: relative; display: inline-flex;
 *       border-radius: var(--btn-brd-radius, 0);
 *       color: var(--btn-color, #3E3E3E);
 *       background-color: var(--btn-bgcolor, #F3F3F3);
 *   }
 *
 * `:is()` 取的是括號裡**最高**的那一個權重，也就是一個 class：(0,1,0)。
 * 跟我們的 .lyfh-auth__button 完全一樣。同權重時比的是順序，而佈景的
 * 樣式表排在我們後面——所以贏的是它：紅色按鈕變成灰色，
 * 而 position:relative 把絕對定位的 ✕ 從右上角推回文字流裡。
 *
 * 獨立頁上不會有這個問題（那一頁只有我們的樣式），但購物車頁不能清空
 * 佈景——它本來就是站台的一頁。
 *
 * 解法是把權重提高一級（(0,2,0)），不是灑 !important：
 * 後者會連我們自己之後想覆蓋的地方一起擋掉。
 * 只重新宣告那條規則真的會動到的五個屬性。
 */
/*
 * 輸入框也要搶回來。
 *
 * 佈景給 input 的高度是 42px；我們要的是 54（跟按鈕的 52 配成一組，
 * 而且 17px 的字在 42px 裡會擠）。跟按鈕同樣的處理：權重提高一級，
 * 只重宣告會被蓋掉的那幾個屬性。
 */
.lyfh-auth .lyfh-auth__input {
	height: 54px;
	padding: 0 16px;
	border: 1px solid var(--lyfh-line);
	border-radius: 8px;
	background-color: var(--lyfh-card);
	font-size: 17px;
	line-height: 52px;
}

.lyfh-auth .lyfh-auth__input:focus {
	border-color: var(--lyfh-accent);
}

.lyfh-auth .lyfh-auth__input--code {
	font-size: 26px;
	line-height: 52px;
}

.lyfh-auth .lyfh-auth__button {
	position: static;
	display: flex;
	border-radius: 8px;
	background-color: var(--lyfh-accent);
	color: #fff;
}

.lyfh-auth .lyfh-auth__close {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: rgba( 36, 36, 36, .06 );
	color: var(--lyfh-soft);
}

.lyfh-auth .lyfh-auth__link {
	position: static;
	display: block;
	border-radius: 0;
	background-color: transparent;
	color: var(--lyfh-ink);
}

.lyfh-auth .lyfh-auth__link:disabled {
	color: var(--lyfh-muted);
}

.lyfh-auth .lyfh-auth__legacy button {
	position: static;
	display: inline;
	border-radius: 0;
	background-color: transparent;
	color: var(--lyfh-ink);
}

/* ── 手機 ────────────────────────────────────────────── */

@media ( max-width: 480px ) {
	.lyfh-auth {
		padding: 8px 0 20px;
	}

	.lyfh-auth__card {
		padding: 30px 24px 24px;
	}

	.lyfh-auth__title {
		font-size: 28px;
	}

	.lyfh-auth__brand img {
		height: 38px;
	}
}

/* ── 佈景的頁面標題列 ────────────────────────────────
 *
 * Woodmart 會在內容區上面放一條大標題加麵包屑（「登入或註冊 / Home /
 * 登入或註冊」）。卡片裡本來就有標題，外面再放一次是重複的，而且那個
 * H1 的尺寸會壓過真正要做的事。
 *
 * 佈景的 `_woodmart_title` meta 對這一頁沒有作用（試過），所以用 CSS
 * 收掉——範圍只有我們自己的頁面。
 */
body.lyfh-auth-page .wd-page-title {
	display: none;
}

/*
 * 標題列拿掉之後要把上方的空間補回來。
 *
 * 那一塊本來順便把內容推到黏性頁首下面。直接隱藏的話，卡片會被頁首
 * 蓋住上緣——標題只剩下半截。
 */
body.lyfh-auth-page .site-content,
body.lyfh-auth-page .main-page-wrapper {
	padding-top: 48px;
}

@media ( max-width: 768px ) {
	body.lyfh-auth-page .site-content,
	body.lyfh-auth-page .main-page-wrapper {
		padding-top: 28px;
	}
}

/* ── 我的帳號裡的「更換手機號碼」──────────────────────
 *
 * 它跟登入頁共用同一組元件，但它住在佈景的表單裡，不是我們自己的
 * 版面。所以只補「位置」相關的幾條：不要撐滿整個內容區、按鈕之間
 * 留一點距離。顏色與尺寸沿用上面的規則。
 */
.lyfh-change {
	max-width: 420px;
	margin: 8px 0 0;
	padding: 0;
}

.lyfh-change .lyfh-auth__button {
	margin-top: 4px;
}

.lyfh-change .lyfh-auth__hint {
	margin: 12px 0 0;
}

.lyfh-change .lyfh-auth__alert {
	text-align: left;
}
